*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --mgq: #1a1a2e;
    --gux: #f8fafc;
    --npk: #ffffff;
    --oxi: #4a4a68;
    --xdr: #6c63ff;
    --lbv: #1a1a2e;
    --qjb: #1a1a2e;
    --zkp: #94a3b8;
    --edy: #1a1a2e;
    --dxt: 0.7;
    --jcw: #6c63ff;
    --fsd: #ff6584;
    --gfq: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--gfq); color: var(--oxi); line-height: 1.7; font-size: 1.05rem; background: var(--npk); }
img { max-width: 100%; height: auto; }
a { color: var(--xdr); text-decoration: none; }
a:hover { opacity: 0.8; }

.fapmatch-fr-eqt {
    position: relative;
    z-index: 100;
    padding: 15px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fapmatch-fr-ncm { font-size: 1.4rem; font-weight: 700; }
.fapmatch-fr-ncm a { display: flex; align-items: center; text-decoration: none; }
.fapmatch-fr-ncm img { display: block; }

.fapmatch-fr-gku {
    display: flex;
    align-items: center;
    gap: 25px;
}
.fapmatch-fr-gku a { font-size: 0.95rem; font-weight: 500; transition: opacity 0.2s; }
.fapmatch-fr-gku a:hover { opacity: 0.8; }

.fapmatch-fr-rhm { position: relative; }
.fapmatch-fr-pur { position: relative; }

.fapmatch-fr-vvm {
    display: flex; align-items: center; gap: 5px;
    background: rgba(255,255,255,0.12); border: 1px solid currentColor;
    color: inherit; font-size: 0.85rem; font-weight: 600;
    padding: 5px 12px; border-radius: 6px; cursor: pointer;
    transition: all 0.2s; font-family: inherit;
}
.fapmatch-fr-vvm:hover { background: rgba(255,255,255,0.2); }
.fapmatch-fr-vua { transition: transform 0.2s; }
.fapmatch-fr-pur.fapmatch-fr-tmw .fapmatch-fr-vua { transform: rotate(180deg); }

.fapmatch-fr-yfk {
    display: none; position: absolute; top: calc(100% + 6px); right: 0;
    background: var(--npk); border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    list-style: none; margin: 0; padding: 6px 0;
    min-width: 70px; z-index: 300; max-height: 240px; overflow-y: auto;
}
.fapmatch-fr-pur.fapmatch-fr-tmw .fapmatch-fr-yfk { display: block; }
.fapmatch-fr-yfk li a { display: block; padding: 6px 16px; color: var(--oxi); font-size: 0.85rem; font-weight: 600; text-align: center; transition: background 0.15s; }
.fapmatch-fr-yfk li a:hover { background: var(--gux); opacity: 1; color: var(--oxi); }
.fapmatch-fr-yfk li a.fapmatch-fr-aaa { color: var(--xdr); }

.fapmatch-fr-rzb .fapmatch-fr-vvm { font-size: 1rem; padding: 8px 18px; }
.fapmatch-fr-rzb .fapmatch-fr-yfk { position: static; box-shadow: none; background: rgba(255,255,255,0.1); border-radius: 8px; margin-top: 8px; max-height: 200px; }
.fapmatch-fr-rzb .fapmatch-fr-yfk li a { color: inherit; font-size: 1rem; }
.fapmatch-fr-rzb .fapmatch-fr-yfk li a:hover { background: rgba(255,255,255,0.1); }
.fapmatch-fr-rzb .fapmatch-fr-yfk li a.fapmatch-fr-aaa { color: var(--xdr); }

.fapmatch-fr-vxb {
    display: none; background: none; border: none; cursor: pointer;
    padding: 10px; position: fixed; top: 15px; right: 15px; z-index: 210;
}
.fapmatch-fr-vxb span { display: block; width: 26px; height: 3px; border-radius: 2px; transition: all 0.3s ease; }
.fapmatch-fr-vxb span + span { margin-top: 5px; }
.fapmatch-fr-vxb.fapmatch-fr-ezs span:nth-child(1) { transform: rotate(45deg) translate(4px, 7px); }
.fapmatch-fr-vxb.fapmatch-fr-ezs span:nth-child(2) { opacity: 0; }
.fapmatch-fr-vxb.fapmatch-fr-ezs span:nth-child(3) { transform: rotate(-45deg) translate(4px, -7px); }

.fapmatch-fr-rzb {
    display: none; position: fixed; inset: 0; z-index: 200;
    flex-direction: column; align-items: center; justify-content: center; gap: 30px;
}
.fapmatch-fr-rzb.fapmatch-fr-tsp { display: flex; }
.fapmatch-fr-ypo {
    position: absolute; top: 15px; right: 15px; background: none;
    border: none; font-size: 2.5rem; cursor: pointer; padding: 5px 12px;
    line-height: 1; z-index: 211;
}
.fapmatch-fr-ypo:hover { opacity: 0.7; }
.fapmatch-fr-rzb a { font-size: 1.4rem; font-weight: 600; transition: opacity 0.2s; }
.fapmatch-fr-rzb a:hover { opacity: 0.7; }
.fapmatch-fr-rzb .fapmatch-fr-rhm { font-size: 1rem; }
.fapmatch-fr-rzb .fapmatch-fr-rhm a { font-size: 1rem; padding: 5px 10px; }

.fapmatch-fr-hax {
    position: relative; width: 100%; min-height: 100vh;
    display: flex; align-items: center; justify-content: center;
    text-align: center; background-color: var(--mgq);
    background-size: cover; background-position: center; overflow: hidden;
}
.fapmatch-fr-hax::before {
    content: ''; position: absolute; inset: 0; z-index: 1;
    background: var(--pnc, var(--edy));
    opacity: var(--siy, var(--dxt));
}

.fapmatch-fr-kru { position: relative; z-index: 2; max-width: 600px; width: 100%; padding: 40px 20px; }
.fapmatch-fr-ygh { color: var(--gux); font-size: calc(1.6rem + 1.5vw); font-weight: 800; line-height: 1.2; margin-bottom: 10px; display: block; }
.fapmatch-fr-vwd { color: rgba(248,250,252,0.8); font-size: 1.1rem; font-weight: 400; margin-bottom: 35px; line-height: 1.5; }
.fapmatch-fr-dlb { color: var(--gux); font-size: 1.3rem; font-weight: 700; margin-bottom: 25px; }

.fapmatch-fr-ims { display: flex; flex-direction: row; justify-content: center; align-items: flex-start; gap: 50px; margin-bottom: 25px; }
a.fapmatch-fr-vjo, .fapmatch-fr-vjo { display: flex; flex-direction: column; align-items: center; gap: 12px; text-decoration: none; transition: transform 0.3s ease; width: auto; max-width: 120px; }
.fapmatch-fr-vjo:hover { transform: scale(1.08); opacity: 1; }

.fapmatch-fr-irf {
    width: 100px; height: 100px; border-radius: 50%; overflow: hidden;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 8px 30px rgba(0,0,0,0.3); transition: box-shadow 0.3s ease;
}
.fapmatch-fr-vjo:nth-child(1) .fapmatch-fr-irf { background: var(--jcw); }
.fapmatch-fr-vjo:nth-child(2) .fapmatch-fr-irf { background: var(--fsd); }
.fapmatch-fr-vjo:hover .fapmatch-fr-irf { box-shadow: 0 12px 40px rgba(0,0,0,0.4); }
.fapmatch-fr-irf img { width: 50px; height: 50px; object-fit: contain; border-radius: 0; }
.fapmatch-fr-gbd { font-size: 42px; line-height: 1; }
.fapmatch-fr-zey { color: var(--gux); font-size: 0.95rem; font-weight: 600; display: block; text-align: center; }
.fapmatch-fr-nhz { color: rgba(248,250,252,0.7); font-size: 0.95rem; font-weight: 400; line-height: 1.5; }

.fapmatch-fr-rye { position: absolute; bottom: 30px; left: 50%; transform: translateX(-50%); z-index: 2; animation: _kzwj 2s infinite; }
.fapmatch-fr-rye svg { width: 30px; height: 30px; fill: none; stroke: rgba(248,250,252,0.6); stroke-width: 2; }
@keyframes _kzwj {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

.fapmatch-fr-eww { display: flex; flex-direction: column; }
.fapmatch-fr-eww > .fapmatch-fr-hax { order: 1; }
.fapmatch-fr-eww > .fapmatch-fr-twt { order: 2; }
.fapmatch-fr-eww > .fapmatch-fr-wcm { order: 3; }

.fapmatch-fr-twt {
    max-width: 720px;
    margin-inline: auto;
    padding: 80px 24px 60px;
    text-align: center;
}
.fapmatch-fr-wmk {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    color: var(--xdr);
}
.fapmatch-fr-twt > h1 {
    font-size: 2.4rem;
    font-weight: 800;
    color: var(--lbv);
    line-height: 1.2;
    letter-spacing: -0.015em;
    margin-bottom: 40px;
    max-width: 18ch;
    margin-inline: auto;
}
.fapmatch-fr-smm {
    text-align: left;
    font-size: 1.06rem;
}
.fapmatch-fr-smm > p:first-of-type {
    font-size: 1.2rem;
    line-height: 1.75;
    color: var(--lbv);
    font-weight: 500;
    border-top: 1px solid #e5e7eb;
    border-bottom: 1px solid #e5e7eb;
    padding: 22px 0;
    margin-bottom: 34px;
}
.fapmatch-fr-smm h2 {
    font-size: 1.55rem;
    font-weight: 800;
    margin: 52px 0 18px;
    color: var(--lbv);
    text-align: center;
    letter-spacing: -0.01em;
}
.fapmatch-fr-smm h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin: 32px 0 12px;
    color: var(--lbv);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}
.fapmatch-fr-smm p {
    margin-bottom: 18px;
    line-height: 1.85;
}
.fapmatch-fr-smm ul, .fapmatch-fr-smm ol {
    list-style: none;
    margin: 0 0 22px;
    padding: 0;
}
.fapmatch-fr-smm ul li, .fapmatch-fr-smm ol li {
    position: relative;
    padding: 10px 0 10px 34px;
    border-bottom: 1px dashed #e5e7eb;
    line-height: 1.6;
}
.fapmatch-fr-smm ul li::before {
    content: '';
    position: absolute;
    left: 6px;
    top: 18px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--xdr);
}
.fapmatch-fr-smm ol {
    counter-reset: eeilist;
}
.fapmatch-fr-smm ol li {
    counter-increment: eeilist;
}
.fapmatch-fr-smm ol li::before {
    content: counter(eeilist, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 10px;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--xdr);
    letter-spacing: 0.05em;
}
.fapmatch-fr-smm blockquote {
    position: relative;
    padding: 26px 18px 20px;
    margin: 38px 0;
    font-size: 1.22rem;
    font-weight: 500;
    font-style: italic;
    color: var(--lbv);
    text-align: center;
    line-height: 1.55;
}
.fapmatch-fr-smm blockquote::before {
    content: '\201C';
    display: block;
    font-size: 3.4rem;
    font-weight: 700;
    font-style: normal;
    line-height: 0.7;
    color: var(--xdr);
    margin-bottom: 6px;
}
.fapmatch-fr-smm blockquote::after {
    content: '';
    display: block;
    width: 70px;
    height: 2px;
    margin: 18px auto 0;
    background: var(--xdr);
    opacity: 0.4;
}
.fapmatch-fr-smm img {
    border-radius: 10px;
    margin: 22px 0;
}

.fapmatch-fr-wcm {
    max-width: 760px;
    margin-inline: auto;
    padding: 10px 24px 70px;
    display: block;
}
.fapmatch-fr-dzl {
    text-align: center;
    margin-bottom: 36px;
    padding: 34px 20px;
    background: linear-gradient(180deg, #f7f7ff 0%, transparent 100%);
    border-radius: 18px;
}
.fapmatch-fr-dzl .fapmatch-fr-wmk {
    display: inline-block;
    background: var(--xdr);
    color: #fff;
    padding: 5px 12px;
    border-radius: 100px;
    letter-spacing: 0.2em;
    font-size: 0.65rem;
}
.fapmatch-fr-wcm > .fapmatch-fr-dzl > h2 {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--lbv);
    margin-top: 14px;
    letter-spacing: -0.01em;
}
.fapmatch-fr-wzy {
    list-style: none;
    counter-reset: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 14px;
}
.fapmatch-fr-jvb {
    background: #fff;
    border: 1px solid #ecedf2;
    border-left: 3px solid var(--xdr);
    border-radius: 10px;
    transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.fapmatch-fr-jvb:hover {
    border-left-color: var(--fsd);
    box-shadow: 0 10px 28px -14px rgba(108, 99, 255, 0.35);
    transform: translateY(-1px);
}
.fapmatch-fr-jvb details {
    padding: 0;
}
.fapmatch-fr-jvb details > summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 24px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 18px;
    font-size: 1.02rem;
    font-weight: 600;
    color: var(--lbv);
    line-height: 1.4;
}
.fapmatch-fr-jvb details > summary::-webkit-details-marker { display: none; }
.fapmatch-fr-kaa {
    font-family: 'Courier New', monospace;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--xdr);
    letter-spacing: 0.08em;
    padding: 4px 9px;
    background: rgba(108, 99, 255, 0.08);
    border-radius: 4px;
}
.fapmatch-fr-tur { min-width: 0; }
.fapmatch-fr-duv {
    position: relative;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}
.fapmatch-fr-duv::before,
.fapmatch-fr-duv::after {
    content: '';
    position: absolute;
    inset: 0;
    margin: auto;
    background: var(--xdr);
    transition: transform 0.25s ease;
}
.fapmatch-fr-duv::before { width: 14px; height: 2px; }
.fapmatch-fr-duv::after { width: 2px; height: 14px; }
.fapmatch-fr-jvb details[open] .fapmatch-fr-duv::after { transform: scaleY(0); }
.fapmatch-fr-jvb details[open] .fapmatch-fr-kaa {
    background: var(--xdr);
    color: #fff;
}
.fapmatch-fr-jwp {
    padding: 4px 24px 22px 63px;
    border-top: 1px dashed #ecedf2;
    margin-top: 0;
    animation: fapmatch-fr-waj 0.25s ease;
}
.fapmatch-fr-jwp p {
    margin: 14px 0 0;
    line-height: 1.75;
    color: var(--oxi);
    font-size: 0.98rem;
}
@keyframes fapmatch-fr-waj {
    from { opacity: 0; transform: translateY(-4px); }
    to { opacity: 1; transform: translateY(0); }
}

.fapmatch-fr-ncf {
    background: var(--qjb);
    color: var(--zkp);
    padding: 36px 24px;
}
.fapmatch-fr-ncf > .fapmatch-fr-wju {
    max-width: 820px;
    margin-inline: auto;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    gap: 16px;
}
.fapmatch-fr-ncf p {
    font-size: 0.9rem;
    margin: 0;
}
.fapmatch-fr-ncf a { color: var(--zkp); }
.fapmatch-fr-wtl {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 18px;
}
.fapmatch-fr-wtl a {
    font-size: 0.8rem;
    transition: opacity 0.2s;
}
.fapmatch-fr-wtl a:hover { opacity: 0.7; }

@media (max-width: 768px) {
    .fapmatch-fr-eqt { padding: 10px 15px !important; }
    .fapmatch-fr-gku { display: none !important; }
    .fapmatch-fr-vxb { display: flex; flex-direction: column; }
    .fapmatch-fr-ygh { font-size: 1.6rem; }
    .fapmatch-fr-vwd { font-size: 0.95rem; margin-bottom: 25px; }
    .fapmatch-fr-dlb { font-size: 1.1rem; margin-bottom: 20px; }
    .fapmatch-fr-ims { gap: 35px; }
    .fapmatch-fr-irf { width: 85px; height: 85px; }
    .fapmatch-fr-irf img { width: 40px; height: 40px; }
    .fapmatch-fr-gbd { font-size: 36px; }
    .fapmatch-fr-nhz { font-size: 0.85rem; }
    .fapmatch-fr-eqt .fapmatch-fr-ncm img { height: 35px !important; width: auto !important; }
    .fapmatch-fr-twt { padding: 45px 16px 35px; }
    .fapmatch-fr-twt > header > h1 { font-size: 1.7rem; }
    .fapmatch-fr-smm h2 { font-size: 1.45rem; }
    .fapmatch-fr-wcm { padding: 0 16px 40px; }
    .fapmatch-fr-ncf > .fapmatch-fr-wju { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}
