/* /root/anifehras_v2/frontend_v3_draft/css/pusula.css */
/* AniFehras Ön Yüz V3 «البوصلة» */

@property --hc {
    syntax: '<color>';
    inherits: true;
    initial-value: #4a8f6b;
}

:root {
    --s1: #12161e;
    --s2: #1a1f2a;
    --line: #252c39;
    --tx: #e9edf4;
    --mu: #8d97a9;
    --anime: #3b82f6;
    --manga: #ff6a2b;
    --drama: #a855f7;
    --ok: #22c55e;
    --no: #f43f5e;
    --gold: #fbbf24;
    --hc: #4a8f6b;
    --r: 12px;
    transition: --hc 0.9s ease;
}

.ic {
    width: 20px;
    height: 20px;
    flex: none;
    fill: none;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* Hide default app-bar on home page to use Pusula top bar */
body[data-page="0"] .app-bar {
    display: none !important;
}

/* Home page layout container */
#page-home {
    padding: 0 !important;
}

.pusula-wrap {
    max-width: 520px;
    margin: 0 auto;
    position: relative;
    min-height: 100vh;
    background: transparent;
    overflow-x: clip;
}

@media (max-width: 540px) {
    .pusula-wrap {
        max-width: 100%;
    }
}

/* 1. Header (Top Bar) */
.hdr {
    position: sticky;
    top: 0;
    z-index: 20;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background: rgba(11, 13, 18, 0.75);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.brand {
    display: flex;
    align-items: center;
    gap: 9px;
    font-family: 'Changa', var(--font-display);
    font-weight: 800;
    font-size: 18px;
    color: var(--tx);
    text-decoration: none;
}

.brand svg {
    width: 34px;
    height: 34px;
    flex: none;
}

.hb {
    display: flex;
    gap: 8px;
}

.ib {
    width: 40px;
    height: 40px;
    border-radius: var(--r);
    display: grid;
    place-items: center;
    background: var(--s1);
    border: 1px solid var(--line);
    color: var(--tx);
    cursor: pointer;
    transition: background 0.15s, border-color 0.15s, transform 0.1s;
}

.ib:active {
    transform: scale(0.95);
}

.ib svg {
    width: 19px;
    height: 19px;
    stroke: var(--tx);
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

/* 2. Hero */
.hero {
    position: relative;
    padding: 16px 16px 26px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: -40px 0 0;
    z-index: 0;
    will-change: transform;
    background: radial-gradient(120% 70% at 85% 0%, color-mix(in srgb, var(--hc) 70%, transparent) 0%, transparent 62%),
                radial-gradient(90% 55% at 0% 35%, color-mix(in srgb, var(--hc) 32%, transparent), transparent 72%);
    pointer-events: none;
}

.hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(115deg, rgba(255, 255, 255, 0.04) 0 2px, transparent 2px 15px);
    -webkit-mask-image: linear-gradient(#000, transparent 80%);
    mask-image: linear-gradient(#000, transparent 80%);
}

.hero::after {
    content: '';
    position: absolute;
    inset: auto 0 0;
    height: 90px;
    background: linear-gradient(transparent, var(--bg-deep, #0b0d12));
    z-index: 0;
    pointer-events: none;
}

.hero-in {
    position: relative;
    z-index: 1;
}

.feat {
    display: flex;
    gap: 8px;
    align-items: stretch;
}

.feat-main {
    flex: 1;
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 0;
    background: none;
    border: 0;
    min-width: 0;
    text-align: right;
    cursor: pointer;
    color: inherit;
    transition: transform 0.15s;
}

.feat-main:active {
    transform: scale(0.98);
}

.hf-tx {
    flex: 1;
    min-width: 0;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.hf-tx b {
    font-size: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: anywhere;
    word-break: break-word;
    font-family: 'Cairo', sans-serif;
    color: var(--tx);
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.5);
    unicode-bidi: plaintext;
    text-align: start;
    line-height: 1.3;
}

.hf-tx small {
    color: #c9d1de;
    font-size: 12px;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.hf-k {
    font-size: 11px;
    font-weight: 700;
    color: #c9d1de;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
}

.dice {
    width: 48px;
    min-height: 44px;
    background: none;
    border: 0;
    display: grid;
    place-items: center;
    cursor: pointer;
    color: #fff;
    transition: transform 0.15s;
    user-select: none;
}

.dice .ic {
    width: 26px;
    height: 26px;
    filter: drop-shadow(0 1px 6px rgba(0, 0, 0, 0.5));
}

.dice.spin {
    animation: pusula-spin 0.6s ease;
}

@keyframes pusula-spin {
    to { transform: rotate(360deg); }
}

.q {
    font-size: 27px;
    margin: 26px 0 4px;
    font-family: 'Changa', var(--font-display);
    line-height: 1.3;
    color: var(--tx);
}

.stat {
    font-size: 12.5px;
    color: #c3cad6;
    margin-bottom: 16px;
}

.door {
    display: flex;
    align-items: center;
    gap: 14px;
    width: 100%;
    padding: 16px;
    border-radius: var(--r);
    margin-bottom: 10px;
    background: none;
    border: 1px solid rgba(255, 255, 255, 0.16);
    transition: transform 0.15s, border-color 0.3s;
    text-align: right;
    cursor: pointer;
    color: inherit;
}

.door:active {
    transform: scale(0.98);
}

.door.yes {
    background: var(--accent, #3b82f6);
    border-color: transparent;
    color: #ffffff;
    box-shadow: 0 8px 24px -10px rgba(59, 130, 246, 0.5);
}

.door.yes .dtx b {
    color: #ffffff;
}

.door.yes .dtx small {
    color: rgba(255, 255, 255, 0.9);
}

.door.yes .di {
    color: #ffffff;
}

.door.yes .arw {
    color: rgba(255, 255, 255, 0.85);
}

.di {
    width: 26px;
    height: 26px;
    color: color-mix(in srgb, var(--hc) 55%, #fff);
}

.dtx {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.dtx b {
    font-family: 'Changa', var(--font-display);
    font-size: 18px;
    font-weight: 700;
    color: var(--tx);
}

.dtx small {
    color: var(--mu);
    font-size: 12.5px;
}

.arw {
    width: 20px;
    height: 20px;
    color: var(--mu);
}

.mine {
    display: flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    font-size: 13px;
    color: #c3cad6;
    margin-top: 2px;
}

.mine .link {
    margin-inline-start: auto;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
}

.mine .link .ic {
    width: 16px;
    height: 16px;
}

/* Posters */
.po {
    position: relative;
    aspect-ratio: 2/3;
    border-radius: var(--r);
    overflow: hidden;
    flex: none;
    background: linear-gradient(90deg, var(--s1), var(--s2), var(--s1));
    background-size: 200% 100%;
    animation: pusula-sh 1.2s infinite;
}

.po img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 1;
}

.po::after {
    display: none;
}

.po .wm {
    display: none !important;
}

.po .pt {
    display: none !important;
}

.po .td {
    position: absolute;
    top: 6px;
    left: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.35);
}

.t-anime { background: var(--anime); }
.t-manga { background: var(--manga); }
.t-drama { background: var(--drama); }

.po.xs { width: 44px; font-size: 9px; }
.po.xs .pt { display: none; }
.po.sm { width: 60px; font-size: 11px; }
.po.sm .pt { display: none; }
.po.md { width: 96px; }

.skel {
    background: linear-gradient(90deg, var(--s1), var(--s2), var(--s1));
    background-size: 200% 100%;
    animation: pusula-sh 1.2s infinite;
}
.skel::after { display: none; }
@keyframes pusula-sh { to { background-position: -200% 0; } }

/* App logos */
.als {
    display: inline-flex;
    align-items: center;
}

.al {
    width: 22px;
    height: 22px;
    border-radius: calc(var(--r) / 2);
    display: inline-grid;
    place-items: center;
    font-size: 8.5px;
    font-weight: 800;
    color: #fff;
    background: var(--a, var(--s2));
    border: 2px solid var(--bg-deep, #0b0d12);
    margin-inline-start: -6px;
    direction: ltr;
    overflow: hidden;
    flex: none;
}

.als .al:first-child {
    margin-inline-start: 0;
}

.al img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    border-radius: calc(var(--r) / 2);
}

.als .more {
    margin-inline-start: 6px;
    font-size: 11.5px;
    font-weight: 700;
    color: var(--mu);
}

.al.lg {
    width: 42px;
    height: 42px;
    border-radius: var(--r);
    font-size: 13px;
    margin: 0;
    border: 0;
}

.al.lg img {
    border-radius: var(--r);
}

/* Sections */
.sec {
    padding: 22px 16px 6px;
}

.sec-h {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 12px;
    gap: 10px;
}

.sec-h h2 {
    font-size: 19px;
    font-family: 'Changa', var(--font-display);
    color: var(--tx);
}

.sec-h small {
    font-size: 11.5px;
    color: var(--mu);
}

.rv {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.6s, transform 0.6s;
}

.rv.in {
    opacity: 1;
    transform: none;
}

/* 5. Countdown */
.cd {
    position: relative;
}

.cd-top {
    display: flex;
    gap: 12px;
    align-items: center;
    min-width: 0;
}

.cd-tx,
.cd-top > div:not(.po) {
    flex: 1;
    min-width: 0;
    max-width: 100%;
}

.cd-top b {
    font-size: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: anywhere;
    word-break: break-word;
    color: var(--tx);
    font-family: 'Cairo', sans-serif;
    unicode-bidi: plaintext;
    text-align: start;
    line-height: 1.35;
}

.cd-top small {
    color: var(--mu);
    font-size: 12px;
}

.dg {
    direction: ltr;
    margin: 14px 0 6px;
    text-align: center;
    font-family: 'Changa', var(--font-display);
    font-weight: 800;
    font-size: 46px;
    font-variant-numeric: tabular-nums;
    line-height: 1.1;
    color: var(--tx);
}

.dg i {
    font-style: normal;
    color: var(--mu);
    padding: 0 4px;
}

.cd-note {
    font-size: 11.5px;
    color: var(--mu);
    text-align: center;
}

.cd-bot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid var(--line);
    font-size: 12.5px;
    color: #c3cad6;
    gap: 12px;
}

.cd-future-note {
    font-size: 11.5px;
    color: var(--mu);
    line-height: 1.45;
    flex: 1;
}

.link {
    color: var(--anime);
    font-weight: 700;
    font-size: 13px;
    background: none;
    border: 0;
    cursor: pointer;
    white-space: nowrap;
    flex-shrink: 0;
}

/* 6. Strip (The ONLY horizontal scroll area) */
.strip {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding: 0 16px 8px;
    margin: 0 -16px;
    scrollbar-width: none;
    -webkit-overflow-scrolling: touch;
}

.strip::-webkit-scrollbar {
    display: none;
}

.scard {
    flex: none;
    width: 156px;
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: 0;
    text-align: right;
    cursor: pointer;
    color: inherit;
    min-width: 0;
}

.wide {
    position: relative;
    aspect-ratio: 16/10;
    border-radius: var(--r);
    overflow: hidden;
    background: linear-gradient(90deg, var(--s1), var(--s2), var(--s1));
    background-size: 200% 100%;
    animation: pusula-sh 1.2s infinite;
}

.wide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: relative;
    z-index: 1;
}

.wide .wm {
    display: none !important;
}

.scard b {
    font-size: 13px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    overflow-wrap: anywhere;
    word-break: break-word;
    color: var(--tx);
    unicode-bidi: plaintext;
    text-align: start;
    line-height: 1.3;
    max-width: 100%;
}

.scard small {
    font-size: 11px;
    color: var(--mu);
    margin-top: -4px;
}

/* 7. Tabs + Picks Grid */
.tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-bottom: 1px solid var(--line);
    margin-bottom: 14px;
}

.tab {
    text-align: center;
    padding: 12px 0;
    min-height: 44px;
    font-weight: 700;
    font-size: 14px;
    color: var(--mu);
    position: relative;
    background: none;
    border: 0;
    cursor: pointer;
    transition: color 0.2s;
}

.tab.on {
    color: var(--tx);
}

.tab.on::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 25%;
    right: 25%;
    height: 2px;
    background: var(--tc, var(--anime));
}

.grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px 10px;
}

.gi {
    display: flex;
    flex-direction: column;
    gap: 3px;
    min-width: 0;
    animation: pusula-pop 0.35s both;
    background: none;
    border: 0;
    text-align: right;
    cursor: pointer;
    color: inherit;
}

.gi .po {
    width: 100%;
}

.gt {
    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    color: var(--tx);
    unicode-bidi: plaintext;
    text-align: start;
}

.skl {
    height: 10px;
    border-radius: var(--r);
    margin-top: 6px;
    width: 80%;
}

.sc {
    font-size: 11px;
    color: var(--gold);
    font-weight: 700;
}

.sc.no {
    color: var(--mu);
    font-weight: 600;
}

@keyframes pusula-pop {
    from { opacity: 0; transform: scale(0.94); }
}

.reroll {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    margin: 10px auto 0;
    padding: 0 12px;
    background: none;
    border: 0;
    font-weight: 700;
    font-size: 13.5px;
    color: color-mix(in srgb, var(--hc) 55%, #fff);
    cursor: pointer;
    transition: transform 0.1s;
}

.reroll .ic {
    width: 18px;
    height: 18px;
}

.reroll:active {
    transform: scale(0.96);
}

/* 8. Accordions & Telegram */
.acc {
    background: var(--s1);
    border: 1px solid var(--line);
    border-radius: var(--r);
    margin-bottom: 10px;
    overflow: hidden;
}

.acc summary {
    list-style: none;
    padding: 14px 16px;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: var(--tx);
    font-family: 'Changa', var(--font-display);
    font-size: 15px;
}

.acc summary::-webkit-details-marker {
    display: none;
}

.acc summary::after {
    content: '+';
    font-size: 20px;
    color: var(--mu);
    transition: transform 0.25s;
}

.acc[open] summary::after {
    transform: rotate(45deg);
}

.acc-b {
    padding: 0 16px 14px;
    font-size: 13.5px;
    color: #c3cad6;
}

.steps {
    display: grid;
    gap: 10px;
}

.steps div {
    display: flex;
    gap: 10px;
    align-items: flex-start;
}

.steps i {
    flex: none;
    min-width: 20px;
    font-style: normal;
    font-weight: 800;
    font-size: 14px;
    color: var(--anime);
}

.tg {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    border-top: 1px solid var(--line);
}

.tg:first-child {
    border-top: 0;
}

.tg span {
    flex: 1;
    font-weight: 600;
    font-size: 14px;
    color: var(--tx);
}

.tg a, .tg button {
    font-size: 12.5px;
    font-weight: 700;
    color: #38bdf8;
    padding: 10px 4px;
    background: none;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    display: inline-block;
}

.foot {
    padding: 26px 16px 40px;
    text-align: center;
    font-size: 11.5px;
    color: var(--mu);
}

/* Scrim & Bottom Sheet Modal */
.scrim {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.65);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 250;
}

.scrim.on {
    opacity: 1;
    pointer-events: auto;
}

.sheet {
    position: fixed;
    bottom: 0;
    left: 50%;
    width: min(100%, 460px);
    transform: translate(-50%, 105%);
    transition: transform 0.38s cubic-bezier(0.2, 0.85, 0.25, 1);
    max-height: 90vh;
    overflow-y: auto;
    background: #121620;
    border-radius: var(--r) var(--r) 0 0;
    border-top: 1px solid var(--line);
    z-index: 260;
    padding: 6px 16px calc(24px + env(safe-area-inset-bottom));
    box-shadow: 0 -8px 30px rgba(0, 0, 0, 0.4);
}

.sheet.on {
    transform: translate(-50%, 0);
}

.handle {
    width: 42px;
    height: 4px;
    border-radius: var(--r);
    background: #323a49;
    margin: 6px auto 12px;
}

.x {
    position: absolute;
    top: 6px;
    left: 6px;
    width: 44px;
    height: 44px;
    background: none;
    display: grid;
    place-items: center;
    z-index: 3;
    border: 0;
    color: var(--mu);
    cursor: pointer;
}

/* App Picker */
.pick {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 12px 0;
}

.pk {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 4px 10px;
    background: none;
    border: 0;
    font-size: 11.5px;
    font-weight: 600;
    text-align: center;
    position: relative;
    cursor: pointer;
    color: var(--tx);
}

.pk.on {
    color: var(--ok);
}

.pk.on .al {
    box-shadow: 0 0 0 2px var(--ok);
}

.pk .cat {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 6px;
    height: 6px;
    border-radius: 50%;
}

.ghost {
    display: block;
    width: 100%;
    text-align: center;
    min-height: 44px;
    padding: 11px;
    color: var(--mu);
    font-size: 13px;
    border: 0;
    background: none;
    cursor: pointer;
}

/* Search Overlay */
.so {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 50%;
    width: min(100%, 460px);
    transform: translateX(-50%);
    background: var(--bg-deep, #0b0d12);
    z-index: 240;
    display: none;
    flex-direction: column;
}

.so.on {
    display: flex;
    animation: pusula-fadeup 0.25s ease;
}

@keyframes pusula-fadeup {
    from { opacity: 0; transform: translate(-50%, 12px); }
}

.so-top {
    display: flex;
    gap: 8px;
    align-items: center;
    padding: 10px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.so-field {
    position: relative;
    flex: 1;
    min-width: 0;
}

.so-top input {
    width: 100%;
    height: 50px;
    border-radius: var(--r);
    background: var(--s1);
    border: 1.5px solid var(--line);
    color: var(--tx);
    font: 600 16px 'Cairo', sans-serif;
    padding: 0 14px;
    padding-inline-end: 46px;
    outline: none;
    direction: rtl;
    text-align: right;
    -webkit-appearance: none;
    appearance: none;
}

.so-top input::-webkit-search-cancel-button {
    -webkit-appearance: none;
    display: none;
}

.so-clear {
    position: absolute;
    top: 3px;
    inset-inline-end: 3px;
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    background: none;
    border: 0;
    color: var(--mu);
    cursor: pointer;
}

.so-clear[hidden] {
    display: none;
}

.so-top input:focus {
    border-color: var(--anime);
}

.myb {
    margin: 0 16px;
    min-height: 44px;
    border-bottom: 1px solid var(--line);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12.5px;
    color: #c3cad6;
    white-space: nowrap;
    overflow: hidden;
}

.myb .ic {
    width: 16px;
    height: 16px;
}

.myb button {
    margin-inline-start: auto;
    color: var(--anime);
    font-weight: 700;
    background: none;
    border: 0;
    cursor: pointer;
}

.myb .set {
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    color: var(--tx);
    font-weight: 700;
    background: none;
    border: 0;
    cursor: pointer;
}

#soBody {
    flex: 1;
    overflow-y: auto;
    padding: 8px 16px 40px;
}

.try {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}

.try button {
    padding: 6px 13px;
    border-radius: var(--r);
    background: var(--s1);
    border: 1px solid var(--line);
    font-size: 13px;
    color: var(--tx);
    cursor: pointer;
}

.hint {
    font-size: 12px;
    color: var(--mu);
    margin-top: 14px;
}

.sr {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 11px 4px;
    border-bottom: 1px solid var(--line);
    background: none;
    border-top: 0;
    border-left: 0;
    border-right: 0;
    text-align: right;
    cursor: pointer;
    color: var(--tx);
}

.sr-tx {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
}

.sr-tx b {
    font-size: 14.5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    unicode-bidi: plaintext;
    text-align: start;
}

.sr-tx small {
    font-size: 11.5px;
    color: var(--mu);
    display: flex;
    align-items: center;
    gap: 6px;
}

.dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    display: inline-block;
}

.found {
    font-size: 12px;
    font-weight: 700;
    color: #c3cad6;
    margin-top: 3px;
}

.found .ok, .big .ok { color: var(--ok); }
.found .no, .big .no { color: var(--no); }
.found .idx, .big .idx { color: #38bdf8; }

.sr.top {
    padding: 14px 4px;
    align-items: flex-start;
}

.big {
    font-family: 'Changa', var(--font-display);
    font-size: 17px;
    font-weight: 700;
    margin-top: 4px;
}

.big small {
    display: block;
    font-family: 'Cairo', sans-serif;
    font-size: 12px;
    color: var(--mu);
    font-weight: 600;
}

.nores {
    text-align: center;
    padding: 40px 10px;
    font-weight: 700;
    font-size: 16px;
    color: var(--tx);
}

.nores small {
    display: block;
    color: var(--mu);
    font-weight: 600;
    margin-top: 4px;
    font-size: 13px;
}

/* Quiz */
.qz {
    animation: pusula-slide 0.3s ease;
}

@keyframes pusula-slide {
    from { opacity: 0; transform: translateX(-18px); }
}

.qz-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 30px;
}

.qback {
    font-size: 13px;
    font-weight: 700;
    color: var(--anime);
    background: none;
    border: 0;
    cursor: pointer;
}

.dots {
    display: flex;
    gap: 6px;
}

.dots i {
    width: 8px;
    height: 8px;
    border-radius: var(--r);
    background: var(--s2);
    transition: all 0.3s;
}

.dots i.cur {
    width: 24px;
    background: var(--tx);
}

.dots i.done {
    background: var(--hc);
}

.qq {
    font-size: 24px;
    margin: 18px 0 14px;
    font-family: 'Changa', var(--font-display);
    color: var(--tx);
}

.qopts {
    display: grid;
}

.qopts.two {
    grid-template-columns: 1fr 1fr;
}

.qo {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 4px;
    background: none;
    border: 0;
    border-bottom: 1px solid var(--line);
    font-weight: 700;
    font-size: 16px;
    transition: color 0.2s;
    color: var(--tx);
    cursor: pointer;
    text-align: right;
}

.qo:active {
    color: color-mix(in srgb, var(--hc) 55%, #fff);
}

.qopts.two .qo {
    justify-content: center;
    text-align: center;
    padding: 16px 8px;
    font-size: 14.5px;
}

.rhead {
    font-size: 20px;
    margin: 4px 0 8px;
    font-family: 'Changa', var(--font-display);
    color: var(--tx);
}

.chips {
    font-size: 12.5px;
    color: var(--mu);
    margin-bottom: 10px;
}

.relax {
    font-size: 12px;
    color: var(--gold);
    margin-bottom: 10px;
}

.rc {
    display: flex;
    gap: 12px;
    width: 100%;
    padding: 14px 0;
    background: none;
    border: 0;
    border-bottom: 1px solid var(--line);
    animation: pusula-pop 0.35s both;
    text-align: right;
    cursor: pointer;
    color: var(--tx);
}

.rc-tx {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.rc-tx b {
    font-size: 15.5px;
    font-family: 'Changa', var(--font-display);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    unicode-bidi: plaintext;
    text-align: start;
}

[dir="auto"] {
    unicode-bidi: plaintext;
    text-align: start;
}

.rc-tx small {
    font-size: 12px;
    color: var(--mu);
}

.rc-apps {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #c3cad6;
    margin-top: 2px;
}

.rc-go {
    margin-top: auto;
    color: var(--anime);
    font-weight: 700;
    font-size: 13px;
}

.btnrow {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 4px;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 13px;
    border-radius: var(--r);
    font-weight: 800;
    text-align: center;
    font-size: 14px;
    border: 0;
    cursor: pointer;
}

.btn .ic {
    width: 18px;
    height: 18px;
}

.btn.pri {
    background: var(--tx);
    color: #0b0d12;
}

.btn.sec {
    background: none;
    color: var(--mu);
}

/* Detail page additions (§6) */
.vd {
    --vc: var(--mu);
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: space-between;
    padding: 4px 12px;
    border-inline-start: 3px solid var(--vc);
    margin-bottom: 8px;
}

.vd b {
    display: block;
    font-size: 14.5px;
    color: var(--vc);
}

.vd small {
    display: block;
    font-size: 12px;
    color: #c3cad6;
}

.vd.ok {
    --vc: var(--ok);
}

.vd.no {
    --vc: var(--no);
}

.vd.idx {
    --vc: #38bdf8;
}

.vd-open {
    flex: none;
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--ok);
    text-decoration: none;
}

.detail-section.detail-apps-section {
    background: none !important;
    border: 0 !important;
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    border-radius: 0 !important;
    padding: 0 !important;
}

#detail-apps {
    gap: 0;
}

#detail-apps .app-row,
#detail-apps .app-row:hover {
    background: none;
    border: 0;
    border-bottom: 1px solid var(--line);
    border-radius: 0;
    padding: 12px 0;
}

#detail-apps .app-row:last-child {
    border-bottom: 0;
}

#detail-apps .app-row.mine-row {
    background: none !important;
    border-color: var(--line) !important;
}

.app-row-name em {
    font-style: normal;
    font-size: 11px;
    color: var(--ok);
    margin-inline-start: 6px;
}

@media (prefers-reduced-motion: reduce) {
    *, ::before, ::after {
        animation: none !important;
        transition: none !important;
    }
}
