@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');

:root {
    --bg: #f8f5f0;
    --bg-deep: #efe8df;
    --surface: #ffffff;
    --surface-warm: #fffaf4;
    --surface-soft: #f4eee7;
    --ink: #211512;
    --ink-2: #493834;
    --muted: #776762;
    --muted-2: #a0928c;
    --line: #e8ded5;
    --line-strong: #d9cabf;
    --primary: #8b3f34;
    --primary-2: #aa5a49;
    --primary-dark: #5d251f;
    --primary-soft: #f7e5df;
    --gold: #d5a85d;
    --gold-soft: #fbefd5;
    --success: #27805d;
    --success-soft: #e5f5ee;
    --warning: #a36c1e;
    --warning-soft: #fff1d5;
    --danger: #b64242;
    --danger-soft: #fdeaea;
    --info: #376f91;
    --info-soft: #e8f2f8;
    --admin-bg: #f3f5f7;
    --admin-sidebar: #1c1716;
    --shadow-xs: 0 2px 8px rgba(44, 26, 20, .04);
    --shadow-sm: 0 10px 30px rgba(44, 26, 20, .07);
    --shadow: 0 24px 70px rgba(44, 26, 20, .11);
    --shadow-lg: 0 40px 100px rgba(36, 20, 15, .16);
    --radius-xs: 10px;
    --radius-sm: 14px;
    --radius: 20px;
    --radius-lg: 28px;
    --radius-xl: 38px;
    --container: 1200px;
    --header-h: 82px;
    --ease: cubic-bezier(.2, .8, .2, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; }
body {
    margin: 0;
    min-height: 100vh;
    color: var(--ink);
    background: var(--bg);
    font-family: "DM Sans", ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
body.no-scroll { overflow: hidden; }
::selection { color: #fff; background: var(--primary); }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; }
button { color: inherit; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p { margin-top: 0; }
h1, h2, h3, h4 { line-height: 1.13; letter-spacing: -.03em; }
p:last-child { margin-bottom: 0; }
code { padding: 2px 7px; border-radius: 7px; color: var(--primary-dark); background: var(--primary-soft); font-size: .86em; }
.container { width: min(calc(100% - 40px), var(--container)); margin-inline: auto; }
.narrow-container { width: min(calc(100% - 40px), 900px); }
.muted { color: var(--muted); }
.icon { width: 1.15em; height: 1.15em; flex: 0 0 auto; }
.skip-link { position: fixed; left: 16px; top: -70px; z-index: 1000; padding: 10px 15px; border-radius: 10px; color: #fff; background: var(--ink); transition: top .2s ease; }
.skip-link:focus { top: 14px; }

.ambient-bg { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.ambient-bg span { position: absolute; border-radius: 50%; filter: blur(10px); opacity: .5; }
.ambient-bg span:nth-child(1) { width: 380px; height: 380px; top: 5%; left: -220px; background: radial-gradient(circle, rgba(205, 157, 104, .17), transparent 68%); }
.ambient-bg span:nth-child(2) { width: 520px; height: 520px; top: 35%; right: -340px; background: radial-gradient(circle, rgba(147, 68, 54, .09), transparent 68%); }
.ambient-bg span:nth-child(3) { width: 440px; height: 440px; bottom: -260px; left: 28%; background: radial-gradient(circle, rgba(213, 168, 93, .09), transparent 68%); }

/* Brand */
.brand { display: inline-flex; align-items: center; gap: 12px; min-width: 0; }
.brand-symbol { position: relative; width: 45px; height: 45px; display: grid; place-items: center; overflow: hidden; border-radius: 15px; color: #fff; background: linear-gradient(145deg, #2d1c18, #7f3b31); box-shadow: 0 10px 25px rgba(83, 37, 29, .22); }
.brand-symbol .icon { position: relative; z-index: 2; width: 24px; height: 24px; }
.brand-symbol-ring { position: absolute; width: 40px; height: 40px; top: -18px; right: -15px; border: 1px solid rgba(255,255,255,.27); border-radius: 50%; }
.brand-copy { display: grid; line-height: 1.05; }
.brand-copy strong { font-size: 1.08rem; font-weight: 700; letter-spacing: -.035em; }
.brand-copy small { margin-top: 5px; color: var(--muted); font-size: .68rem; font-weight: 600; letter-spacing: .02em; }
.brand-centered { width: 100%; justify-content: center; margin-bottom: 24px; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 90; min-height: var(--header-h); border-bottom: 1px solid transparent; background: rgba(248, 245, 240, .76); backdrop-filter: blur(18px) saturate(140%); transition: background .25s ease, box-shadow .25s ease, border-color .25s ease; }
.site-header.is-scrolled { border-color: rgba(232, 222, 213, .8); background: rgba(255, 253, 250, .92); box-shadow: 0 8px 30px rgba(42, 23, 17, .05); }
.header-inner { min-height: var(--header-h); display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 28px; }
.desktop-nav { display: flex; align-items: center; justify-content: center; gap: 30px; }
.desktop-nav a { position: relative; padding: 9px 0; color: var(--ink-2); font-size: .9rem; font-weight: 650; }
.desktop-nav a::after { content: ""; position: absolute; left: 50%; bottom: 2px; width: 0; height: 2px; border-radius: 999px; background: var(--primary); transform: translateX(-50%); transition: width .22s var(--ease); }
.desktop-nav a:hover, .desktop-nav a.is-active { color: var(--primary); }
.desktop-nav a:hover::after, .desktop-nav a.is-active::after { width: 18px; }
.header-actions { position: relative; display: flex; align-items: center; justify-content: flex-end; gap: 10px; }
.header-login { padding: 10px 13px; color: var(--ink-2); font-size: .9rem; font-weight: 700; }
.header-primary-action { display: inline-flex; align-items: center; gap: 7px; min-height: 42px; padding: 9px 14px; border-radius: 12px; color: #fff; background: var(--ink); font-size: .84rem; font-weight: 700; transition: .2s ease; }
.header-primary-action:hover { background: var(--primary-dark); transform: translateY(-1px); }
.account-trigger { display: inline-flex; align-items: center; gap: 10px; padding: 5px 8px 5px 5px; border: 1px solid var(--line); border-radius: 14px; background: rgba(255,255,255,.78); cursor: pointer; transition: .2s ease; }
.account-trigger:hover { border-color: var(--line-strong); box-shadow: var(--shadow-xs); }
.account-trigger-copy { display: grid; min-width: 78px; text-align: left; line-height: 1.15; }
.account-trigger-copy strong { font-size: .78rem; }
.account-trigger-copy small { margin-top: 3px; color: var(--muted); font-size: .65rem; }
.account-chevron { color: var(--muted); transition: transform .2s ease; }
.account-trigger[aria-expanded="true"] .account-chevron { transform: rotate(180deg); }
.avatar { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 12px; color: #fff; background: linear-gradient(145deg, var(--primary), var(--primary-dark)); font-size: .72rem; font-weight: 800; letter-spacing: -.02em; }
.avatar-lg { width: 46px; height: 46px; border-radius: 15px; font-size: .84rem; }
.avatar-gradient { background: linear-gradient(145deg, #b56b4d, #6a2d25); }
.account-popover { position: absolute; top: calc(100% + 13px); right: 0; width: 290px; z-index: 95; padding: 10px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.98); box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(-8px) scale(.98); transform-origin: top right; transition: .2s var(--ease); }
.account-popover.is-open { opacity: 1; visibility: visible; transform: none; }
.account-popover-head { display: flex; align-items: center; gap: 12px; margin-bottom: 7px; padding: 10px; border-bottom: 1px solid var(--line); }
.account-popover-head > span:last-child { display: grid; min-width: 0; line-height: 1.25; }
.account-popover-head strong { font-size: .87rem; }
.account-popover-head small { max-width: 180px; margin-top: 3px; overflow: hidden; color: var(--muted); font-size: .72rem; text-overflow: ellipsis; white-space: nowrap; }
.account-popover > a { display: flex; align-items: center; gap: 10px; padding: 10px 11px; border-radius: 10px; color: var(--ink-2); font-size: .82rem; font-weight: 650; }
.account-popover > a:hover { color: var(--primary); background: var(--surface-soft); }
.account-popover .account-logout { margin-top: 5px; color: var(--danger); border-top: 1px solid var(--line); border-radius: 0 0 10px 10px; }
.menu-toggle { display: none; width: 44px; height: 44px; place-items: center; border: 1px solid var(--line); border-radius: 13px; background: rgba(255,255,255,.8); cursor: pointer; }
.menu-toggle .icon { width: 22px; height: 22px; }
.menu-close-icon { display: none; }
.menu-toggle[aria-expanded="true"] .menu-open-icon { display: none; }
.menu-toggle[aria-expanded="true"] .menu-close-icon { display: block; }
.mobile-menu { display: none; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 9px; min-height: 46px; padding: 11px 19px; border: 1px solid transparent; border-radius: 13px; font-weight: 700; font-size: .9rem; line-height: 1; cursor: pointer; transition: transform .2s var(--ease), box-shadow .2s ease, color .2s ease, background .2s ease, border-color .2s ease; }
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0) scale(.985); }
.btn:focus-visible { outline: 3px solid rgba(139,63,52,.2); outline-offset: 2px; }
.btn .icon { width: 18px; height: 18px; }
.btn-sm { min-height: 42px; padding: 10px 15px; border-radius: 12px; font-size: .82rem; }
.btn-lg { min-height: 54px; padding: 14px 24px; border-radius: 15px; font-size: .96rem; }
.btn-block { width: 100%; }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--primary-2), var(--primary-dark)); box-shadow: 0 12px 26px rgba(120, 52, 41, .21); }
.btn-primary:hover { box-shadow: 0 17px 35px rgba(89, 35, 28, .27); }
.btn-secondary { color: var(--ink); border-color: var(--line); background: var(--surface-soft); }
.btn-secondary:hover { border-color: var(--line-strong); background: #ede3da; }
.btn-ghost { color: var(--ink-2); border-color: var(--line); background: rgba(255,255,255,.65); }
.btn-ghost:hover { color: var(--primary); border-color: #d5b8ad; background: #fff; }
.btn-light { color: var(--ink); background: #fff; box-shadow: 0 14px 30px rgba(0,0,0,.16); }
.btn-danger-outline { color: var(--danger); border-color: #e9bcbc; background: transparent; }
.btn-danger-outline:hover { background: var(--danger-soft); }
.btn.is-loading { position: relative; pointer-events: none; color: transparent !important; }
.btn.is-loading::after { content: ""; position: absolute; width: 18px; height: 18px; border: 2px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
.btn-secondary.is-loading::after, .btn-ghost.is-loading::after { border-color: rgba(32,21,18,.2); border-top-color: var(--ink); }
@keyframes spin { to { transform: rotate(360deg); } }

/* Flash */
.flash-stack { position: fixed; top: 94px; left: 50%; z-index: 250; width: min(calc(100% - 32px), 520px); display: grid; gap: 9px; transform: translateX(-50%); pointer-events: none; }
.admin-shell .flash-stack { top: 78px; }
.flash { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 11px; padding: 13px 14px; border: 1px solid transparent; border-radius: 15px; background: #fff; box-shadow: 0 18px 45px rgba(31,17,13,.14); font-size: .86rem; font-weight: 650; pointer-events: auto; animation: toast-in .35s var(--ease) both; }
.flash-icon { width: 30px; height: 30px; display: grid; place-items: center; border-radius: 10px; }
.flash button { width: 30px; height: 30px; display: grid; place-items: center; border: 0; border-radius: 8px; color: inherit; background: transparent; cursor: pointer; opacity: .55; }
.flash button:hover { background: rgba(0,0,0,.05); opacity: 1; }
.flash-success { color: #176346; border-color: #bee5d3; background: #f5fffa; }
.flash-success .flash-icon { background: var(--success-soft); }
.flash-error { color: #982f2f; border-color: #f0c7c7; background: #fff8f8; }
.flash-error .flash-icon { background: var(--danger-soft); }
.flash-info { color: #2b607e; border-color: #c9e0ec; background: #f7fcff; }
.flash-info .flash-icon { background: var(--info-soft); }
@keyframes toast-in { from { opacity: 0; transform: translateY(-14px) scale(.98); } }

/* Typography helpers */
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 14px; color: var(--primary); font-size: .71rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 20px; height: 1px; background: currentColor; opacity: .65; }
.eyebrow-light { color: #efcf9b; }
.section { position: relative; padding: 105px 0; }
.section-sm { padding: 72px 0; }
.section-heading { max-width: 690px; margin-bottom: 43px; }
.section-heading.centered { margin-inline: auto; text-align: center; }
.section-heading.centered .eyebrow { justify-content: center; }
.section-heading h1, .section-heading h2 { margin-bottom: 14px; font-family: "Playfair Display", Georgia, serif; font-size: clamp(2.2rem, 4vw, 3.55rem); font-weight: 700; }
.section-heading p { color: var(--muted); font-size: 1.03rem; }
.row-heading { max-width: none; display: flex; align-items: flex-end; justify-content: space-between; gap: 25px; margin-bottom: 20px; }
.row-heading h2 { margin-bottom: 5px; font-family: inherit; font-size: 1.45rem; }
.row-heading p { margin: 0; font-size: .88rem; }

/* Public hero */
.hero { position: relative; overflow: hidden; min-height: calc(100vh - var(--header-h)); display: grid; align-items: center; padding: 70px 0 95px; }
.hero::after { content: ""; position: absolute; inset: auto 0 0; height: 130px; background: linear-gradient(transparent, var(--bg)); pointer-events: none; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1.02fr) minmax(430px, .98fr); align-items: center; gap: clamp(45px, 7vw, 100px); }
.hero-copy { position: relative; z-index: 2; }
.hero-badge { display: inline-flex; align-items: center; gap: 9px; margin-bottom: 23px; padding: 8px 12px 8px 9px; border: 1px solid rgba(139,63,52,.16); border-radius: 999px; color: var(--primary-dark); background: rgba(255,255,255,.68); box-shadow: var(--shadow-xs); font-size: .73rem; font-weight: 700; }
.hero-badge span:first-child { width: 25px; height: 25px; display: grid; place-items: center; border-radius: 50%; color: #fff; background: var(--primary); }
.hero h1 { max-width: 770px; margin-bottom: 25px; font-family: "Playfair Display", Georgia, serif; font-size: clamp(3.5rem, 6.5vw, 6.3rem); font-weight: 700; line-height: .96; letter-spacing: -.065em; }
.hero h1 em { color: var(--primary); font-weight: 600; }
.hero-copy > p { max-width: 630px; margin-bottom: 31px; color: var(--muted); font-size: clamp(1rem, 1.5vw, 1.16rem); line-height: 1.78; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 20px; margin-top: 27px; }
.hero-trust-item { display: flex; align-items: center; gap: 8px; color: var(--ink-2); font-size: .78rem; font-weight: 650; }
.hero-trust-item span { width: 23px; height: 23px; display: grid; place-items: center; border-radius: 50%; color: var(--success); background: var(--success-soft); }
.hero-trust-item .icon { width: 14px; height: 14px; }
.hero-social-proof { display: flex; align-items: center; gap: 12px; margin-top: 28px; padding-top: 24px; border-top: 1px solid var(--line); }
.proof-avatars { display: flex; }
.proof-avatars span { width: 32px; height: 32px; display: grid; place-items: center; margin-left: -7px; border: 2px solid var(--bg); border-radius: 50%; color: #fff; background: linear-gradient(145deg, #a8604e, #5e2a23); font-size: .63rem; font-weight: 800; }
.proof-avatars span:first-child { margin-left: 0; }
.hero-social-proof p { margin: 0; color: var(--muted); font-size: .77rem; line-height: 1.35; }
.hero-social-proof strong { color: var(--ink); }

.hero-visual { position: relative; min-height: 590px; display: grid; place-items: center; }
.hero-visual-stage { position: relative; width: min(100%, 520px); aspect-ratio: .88; display: grid; place-items: center; }
.hero-glow { position: absolute; width: 82%; aspect-ratio: 1; border-radius: 50%; background: radial-gradient(circle at 42% 34%, #f9e8ce 0, #d39b72 48%, #9b5545 100%); box-shadow: inset 20px 0 70px rgba(255,255,255,.32), 0 60px 100px rgba(85,39,28,.2); }
.hero-orbit { position: absolute; width: 92%; aspect-ratio: 1; border: 1px solid rgba(139,63,52,.14); border-radius: 50%; animation: orbit 22s linear infinite; }
.hero-orbit::before, .hero-orbit::after { content: ""; position: absolute; width: 14px; height: 14px; border: 5px solid var(--bg); border-radius: 50%; background: var(--gold); }
.hero-orbit::before { top: 9%; left: 18%; }
.hero-orbit::after { right: 10%; bottom: 18%; width: 10px; height: 10px; background: var(--primary); }
@keyframes orbit { to { transform: rotate(360deg); } }
.cup-card { position: relative; z-index: 3; width: 295px; height: 380px; display: grid; align-content: center; justify-items: center; border: 1px solid rgba(255,255,255,.72); border-radius: 150px 150px 32px 32px; background: linear-gradient(160deg, rgba(255,255,255,.88), rgba(255,249,242,.61)); box-shadow: 0 35px 75px rgba(54,26,19,.2); backdrop-filter: blur(15px); transform: rotate(-2deg); animation: cup-float 5.5s ease-in-out infinite; }
@keyframes cup-float { 0%,100% { transform: translateY(0) rotate(-2deg); } 50% { transform: translateY(-10px) rotate(1deg); } }
.cup-illustration { position: relative; width: 172px; height: 135px; margin-top: 22px; }
.cup-bowl { position: absolute; inset: 20px 17px 0 0; border-radius: 13px 13px 55px 55px; background: linear-gradient(160deg, #fff, #eadfd5); box-shadow: inset -14px -12px 25px rgba(121,81,64,.13), 0 22px 35px rgba(67,32,23,.16); }
.cup-bowl::before { content: ""; position: absolute; left: 10px; right: 10px; top: 5px; height: 22px; border-radius: 50%; background: radial-gradient(ellipse, #2d160f 0, #5e3023 58%, #e5d4c6 61%, #fff 71%); }
.cup-handle { position: absolute; top: 43px; right: 0; width: 52px; height: 61px; border: 13px solid #f2e9e1; border-left: 0; border-radius: 0 32px 32px 0; box-shadow: 8px 9px 18px rgba(74,38,28,.1); }
.cup-saucer { position: absolute; left: 7px; right: 7px; bottom: -9px; height: 22px; border-radius: 50%; background: linear-gradient(180deg, #fff, #ddd0c6); box-shadow: 0 13px 19px rgba(63,29,20,.14); }
.steam-line { position: absolute; top: -24px; width: 7px; height: 52px; border: 2px solid rgba(92,48,36,.34); border-width: 0 0 0 2px; border-radius: 50%; filter: blur(.2px); animation: steam 3s ease-in-out infinite; }
.steam-line:nth-child(1) { left: 58px; }
.steam-line:nth-child(2) { left: 91px; height: 62px; animation-delay: .8s; }
.steam-line:nth-child(3) { left: 121px; animation-delay: 1.5s; }
@keyframes steam { 0%,100% { opacity: .15; transform: translateY(6px) scaleX(.7); } 50% { opacity: .7; transform: translateY(-9px) scaleX(1.3); } }
.cup-card-label { max-width: 190px; margin-top: 28px; text-align: center; }
.cup-card-label small { display: block; margin-bottom: 4px; color: var(--primary); font-size: .65rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.cup-card-label strong { font-family: "Playfair Display", Georgia, serif; font-size: 1.32rem; line-height: 1.25; }
.floating-card { position: absolute; z-index: 5; min-width: 175px; display: flex; align-items: center; gap: 11px; padding: 13px 15px; border: 1px solid rgba(255,255,255,.75); border-radius: 16px; background: rgba(255,255,255,.84); box-shadow: 0 20px 45px rgba(52,25,18,.14); backdrop-filter: blur(16px); animation: card-float 5s ease-in-out infinite; }
.floating-card-icon { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; color: var(--primary); background: var(--primary-soft); }
.floating-card-icon.gold { color: #8f5d17; background: var(--gold-soft); }
.floating-card > span:last-child { display: grid; line-height: 1.2; }
.floating-card strong { font-size: .82rem; }
.floating-card small { margin-top: 4px; color: var(--muted); font-size: .67rem; }
.floating-card-one { top: 74px; left: -8px; animation-delay: .8s; }
.floating-card-two { right: -5px; bottom: 95px; animation-delay: 1.8s; }
@keyframes card-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

/* Public sections */
.logo-strip { padding: 23px 0; border-block: 1px solid var(--line); background: rgba(255,255,255,.43); }
.logo-strip-inner { display: flex; align-items: center; justify-content: center; gap: clamp(20px, 5vw, 58px); color: var(--muted); font-size: .76rem; font-weight: 700; }
.logo-strip-inner > span { display: flex; align-items: center; gap: 8px; }
.logo-strip-inner .icon { color: var(--primary); }
.steps-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: steps; }
.step-card { position: relative; min-height: 310px; padding: 31px; overflow: hidden; border: 1px solid var(--line); border-radius: var(--radius-lg); background: rgba(255,255,255,.72); box-shadow: var(--shadow-xs); transition: transform .28s var(--ease), box-shadow .28s ease, border-color .28s ease; }
.step-card:hover { transform: translateY(-7px); border-color: #d9c2b6; box-shadow: var(--shadow); }
.step-card::after { content: attr(data-step); position: absolute; right: 16px; bottom: -30px; color: rgba(139,63,52,.055); font-family: "Playfair Display", serif; font-size: 9rem; font-weight: 700; line-height: 1; }
.step-icon { width: 58px; height: 58px; display: grid; place-items: center; margin-bottom: 51px; border-radius: 18px; color: var(--primary); background: var(--primary-soft); box-shadow: inset 0 0 0 1px rgba(139,63,52,.08); }
.step-icon .icon { width: 27px; height: 27px; }
.step-no { position: absolute; top: 32px; right: 31px; color: var(--muted-2); font-size: .73rem; font-weight: 800; letter-spacing: .12em; }
.step-card h3 { margin-bottom: 10px; font-size: 1.17rem; }
.step-card p { position: relative; z-index: 2; margin: 0; color: var(--muted); font-size: .9rem; }
.feature-split { display: grid; grid-template-columns: .9fr 1.1fr; align-items: center; gap: clamp(55px, 8vw, 110px); }
.feature-visual { position: relative; min-height: 580px; display: grid; place-items: center; }
.phone-mockup { position: relative; z-index: 2; width: 310px; padding: 12px; border: 1px solid rgba(255,255,255,.6); border-radius: 42px; background: #211714; box-shadow: 0 45px 90px rgba(48,24,18,.25); transform: rotate(-4deg); }
.phone-screen { min-height: 575px; overflow: hidden; border-radius: 32px; background: var(--bg); }
.phone-top { height: 35px; display: flex; justify-content: center; align-items: flex-start; padding-top: 8px; }
.phone-notch { width: 90px; height: 18px; border-radius: 999px; background: #211714; }
.phone-app-head { display: flex; align-items: center; justify-content: space-between; padding: 12px 18px 18px; }
.phone-app-head strong { font-size: .83rem; }
.phone-avatar { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 10px; color: #fff; background: var(--primary); font-size: .62rem; font-weight: 800; }
.phone-card { margin: 0 13px 12px; padding: 16px; border: 1px solid var(--line); border-radius: 18px; background: #fff; box-shadow: var(--shadow-xs); }
.phone-card.main { color: #fff; background: linear-gradient(145deg, #6a2d25, #2c1a16); }
.phone-card small { display: block; margin-bottom: 7px; color: inherit; opacity: .68; font-size: .59rem; text-transform: uppercase; letter-spacing: .1em; }
.phone-card strong { display: block; margin-bottom: 10px; font-size: .93rem; }
.phone-card p { margin: 0; font-size: .68rem; line-height: 1.5; opacity: .76; }
.phone-progress { height: 5px; margin-top: 15px; overflow: hidden; border-radius: 999px; background: rgba(255,255,255,.15); }
.phone-progress span { display: block; width: 72%; height: 100%; border-radius: inherit; background: var(--gold); }
.phone-list { display: grid; gap: 8px; margin: 12px 13px; }
.phone-list-item { display: flex; align-items: center; gap: 10px; padding: 11px; border: 1px solid var(--line); border-radius: 13px; background: #fff; }
.phone-list-icon { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 9px; color: var(--primary); background: var(--primary-soft); }
.phone-list-copy { flex: 1; display: grid; line-height: 1.15; }
.phone-list-copy strong { font-size: .64rem; }
.phone-list-copy small { margin-top: 4px; color: var(--muted); font-size: .55rem; }
.feature-visual::before { content: ""; position: absolute; width: 430px; height: 430px; border-radius: 50%; background: radial-gradient(circle, #f3d9ba, #c57c61); box-shadow: 0 40px 80px rgba(104,49,37,.15); }
.feature-float { position: absolute; z-index: 3; padding: 13px 15px; border: 1px solid var(--line); border-radius: 15px; background: rgba(255,255,255,.91); box-shadow: var(--shadow); backdrop-filter: blur(12px); }
.feature-float strong { display: block; font-size: .79rem; }
.feature-float small { display: block; margin-top: 3px; color: var(--muted); font-size: .65rem; }
.feature-float.one { top: 85px; right: 5px; }
.feature-float.two { left: 0; bottom: 90px; }
.feature-copy h2 { max-width: 640px; margin-bottom: 18px; font-family: "Playfair Display", Georgia, serif; font-size: clamp(2.5rem, 4.3vw, 4.25rem); }
.feature-copy > p { max-width: 600px; margin-bottom: 30px; color: var(--muted); font-size: 1rem; }
.feature-list { display: grid; gap: 12px; }
.feature-list-item { display: grid; grid-template-columns: 44px 1fr; gap: 14px; padding: 16px; border: 1px solid transparent; border-radius: 15px; transition: .22s ease; }
.feature-list-item:hover { border-color: var(--line); background: rgba(255,255,255,.62); transform: translateX(5px); }
.feature-list-icon { width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; color: var(--primary); background: var(--primary-soft); }
.feature-list-item h3 { margin: 2px 0 5px; font-size: .98rem; }
.feature-list-item p { margin: 0; color: var(--muted); font-size: .84rem; }
.section-dark { overflow: hidden; color: #fff; background: radial-gradient(circle at 80% 10%, rgba(191,121,80,.23), transparent 32%), linear-gradient(145deg, #1d1210, #3d211c 60%, #572b24); }
.section-dark::before { content: ""; position: absolute; width: 500px; height: 500px; left: -280px; bottom: -300px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; box-shadow: 0 0 0 80px rgba(255,255,255,.015), 0 0 0 160px rgba(255,255,255,.01); }
.premium-showcase { display: grid; grid-template-columns: 1fr .9fr; align-items: center; gap: clamp(50px, 8vw, 110px); }
.premium-copy h2 { max-width: 620px; margin-bottom: 18px; font-family: "Playfair Display", Georgia, serif; font-size: clamp(2.65rem, 4.8vw, 4.7rem); }
.premium-copy > p { max-width: 590px; margin-bottom: 27px; color: rgba(255,255,255,.67); font-size: 1rem; }
.premium-benefits { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 29px; }
.premium-benefits span { display: inline-flex; align-items: center; gap: 7px; padding: 8px 11px; border: 1px solid rgba(255,255,255,.1); border-radius: 999px; color: rgba(255,255,255,.83); background: rgba(255,255,255,.045); font-size: .74rem; font-weight: 600; }
.premium-benefits .icon { color: var(--gold); }
.chat-preview { position: relative; padding: 20px; border: 1px solid rgba(255,255,255,.12); border-radius: 28px; background: rgba(255,255,255,.07); box-shadow: 0 40px 90px rgba(0,0,0,.25); backdrop-filter: blur(16px); }
.chat-preview::before { content: ""; position: absolute; inset: -1px; z-index: -1; border-radius: inherit; background: linear-gradient(135deg, rgba(255,255,255,.2), transparent 40%); }
.chat-head { display: flex; align-items: center; gap: 11px; padding: 2px 3px 18px; border-bottom: 1px solid rgba(255,255,255,.1); }
.chat-head > div { display: grid; }
.chat-head strong { font-size: .84rem; }
.chat-head small { color: rgba(255,255,255,.48); font-size: .67rem; }
.chat-online { width: 8px; height: 8px; margin-left: auto; border-radius: 50%; background: #5ad89f; box-shadow: 0 0 0 5px rgba(90,216,159,.09); }
.bubble { max-width: 84%; margin-top: 15px; padding: 13px 15px; border-radius: 16px; font-size: .78rem; line-height: 1.55; }
.bubble-admin { border-radius: 16px 16px 16px 4px; color: #443029; background: #fff; }
.bubble-user { margin-left: auto; border-radius: 16px 16px 4px 16px; background: linear-gradient(145deg, #b76850, #7e372d); }
.chat-typing { width: 48px; display: flex; justify-content: center; gap: 4px; margin-top: 15px; padding: 12px; border-radius: 14px 14px 14px 4px; background: rgba(255,255,255,.09); }
.chat-typing i { width: 5px; height: 5px; border-radius: 50%; background: rgba(255,255,255,.55); animation: typing 1.2s infinite; }
.chat-typing i:nth-child(2) { animation-delay: .2s; }
.chat-typing i:nth-child(3) { animation-delay: .4s; }
@keyframes typing { 0%,60%,100% { transform: translateY(0); opacity: .4; } 30% { transform: translateY(-4px); opacity: 1; } }
.chat-limit { margin-top: 18px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.09); color: rgba(255,255,255,.47); font-size: .67rem; text-align: center; }
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testimonial-card { padding: 27px; border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.76); box-shadow: var(--shadow-xs); }
.testimonial-stars { margin-bottom: 18px; color: var(--gold); letter-spacing: 3px; }
.testimonial-card > p { min-height: 94px; color: var(--ink-2); font-family: "Playfair Display", serif; font-size: 1.05rem; line-height: 1.55; }
.testimonial-user { display: flex; align-items: center; gap: 10px; padding-top: 17px; border-top: 1px solid var(--line); }
.testimonial-user > span:last-child { display: grid; line-height: 1.2; }
.testimonial-user strong { font-size: .8rem; }
.testimonial-user small { margin-top: 3px; color: var(--muted); font-size: .66rem; }
.faq-wrap { display: grid; grid-template-columns: .72fr 1.28fr; gap: clamp(45px, 8vw, 100px); }
.faq-intro h2 { margin-bottom: 17px; font-family: "Playfair Display", serif; font-size: clamp(2.4rem, 4vw, 3.8rem); }
.faq-intro p { color: var(--muted); }
.faq-list { display: grid; gap: 10px; }
.faq-item { border: 1px solid var(--line); border-radius: 16px; background: rgba(255,255,255,.68); overflow: hidden; }
.faq-question { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 19px 21px; border: 0; background: transparent; text-align: left; cursor: pointer; font-weight: 700; }
.faq-question span:last-child { width: 28px; height: 28px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 9px; color: var(--primary); background: var(--primary-soft); transition: transform .2s ease; }
.faq-item.is-open .faq-question span:last-child { transform: rotate(45deg); }
.faq-answer { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .3s var(--ease); }
.faq-answer > div { overflow: hidden; }
.faq-answer p { margin: 0; padding: 0 21px 20px; color: var(--muted); font-size: .88rem; }
.faq-item.is-open .faq-answer { grid-template-rows: 1fr; }
.cta-panel { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 50px; padding: 50px 54px; border-radius: var(--radius-xl); color: #fff; background: linear-gradient(135deg, #6a2d25, #2c1915); box-shadow: var(--shadow); }
.cta-panel::after { content: ""; position: absolute; width: 300px; height: 300px; right: -130px; top: -150px; border: 1px solid rgba(255,255,255,.1); border-radius: 50%; box-shadow: 0 0 0 60px rgba(255,255,255,.02), 0 0 0 120px rgba(255,255,255,.015); }
.cta-panel > div { position: relative; z-index: 2; }
.cta-panel h2 { margin-bottom: 10px; font-family: "Playfair Display", serif; font-size: clamp(2rem, 4vw, 3.5rem); }
.cta-panel p { max-width: 650px; color: rgba(255,255,255,.65); }
.cta-panel .btn { position: relative; z-index: 2; flex: 0 0 auto; }

/* Footer */
.site-footer { padding: 70px 0 25px; color: #d7cbc6; background: #19110f; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .65fr .65fr 1fr; gap: 45px; padding-bottom: 45px; }
.site-footer .brand-symbol { box-shadow: none; }
.site-footer .brand-copy strong { color: #fff; }
.site-footer .brand-copy small { color: #8e807b; }
.footer-brand p { max-width: 330px; margin: 19px 0 0; color: #8e807b; font-size: .83rem; }
.footer-column { display: grid; align-content: start; gap: 10px; }
.footer-column strong { margin-bottom: 6px; color: #fff; font-size: .78rem; }
.footer-column a { color: #9b8c87; font-size: .78rem; transition: color .2s ease; }
.footer-column a:hover { color: #fff; }
.footer-disclaimer { display: flex; align-items: flex-start; gap: 10px; padding: 16px; border: 1px solid rgba(255,255,255,.08); border-radius: 14px; background: rgba(255,255,255,.035); }
.footer-disclaimer span { width: 30px; height: 30px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 9px; color: #e6bd7c; background: rgba(230,189,124,.08); }
.footer-disclaimer p { margin: 0; color: #8e807b; font-size: .7rem; line-height: 1.55; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.07); color: #786b67; font-size: .69rem; }
.member-footer { padding: 34px 0 100px; color: var(--muted); font-size: .7rem; }
.member-footer .container { display: flex; justify-content: space-between; gap: 20px; padding-top: 22px; border-top: 1px solid var(--line); }
.mobile-bottom-nav { display: none; }

/* Auth */
.auth-section { min-height: calc(100vh - var(--header-h)); display: grid; align-items: stretch; padding: 36px 0 60px; }
.auth-layout { display: grid; grid-template-columns: .92fr 1.08fr; min-height: 690px; overflow: hidden; border: 1px solid var(--line); border-radius: 34px; background: #fff; box-shadow: var(--shadow); }
.auth-side { position: relative; overflow: hidden; display: flex; flex-direction: column; justify-content: flex-end; padding: 60px; color: #fff; background: radial-gradient(circle at 20% 15%, rgba(218,163,103,.27), transparent 34%), linear-gradient(145deg, #6e3027, #241512 72%); }
.auth-side::before { content: ""; position: absolute; width: 470px; height: 470px; left: -250px; top: -230px; border: 1px solid rgba(255,255,255,.09); border-radius: 50%; box-shadow: 0 0 0 70px rgba(255,255,255,.018), 0 0 0 140px rgba(255,255,255,.012); }
.auth-side::after { content: "☕"; position: absolute; right: -30px; top: 70px; font-size: 190px; filter: grayscale(1); opacity: .09; transform: rotate(-18deg); }
.auth-side > * { position: relative; z-index: 2; }
.auth-side .eyebrow { color: #efc98f; }
.auth-side h1 { max-width: 520px; margin-bottom: 19px; font-family: "Playfair Display", serif; font-size: clamp(2.7rem, 4vw, 4.2rem); }
.auth-side > p { max-width: 500px; color: rgba(255,255,255,.64); font-size: .96rem; }
.auth-points { display: grid; gap: 11px; margin-top: 29px; }
.auth-points span { display: flex; align-items: center; gap: 9px; color: rgba(255,255,255,.78); font-size: .8rem; font-weight: 600; }
.auth-points span::before { content: "✓"; width: 23px; height: 23px; display: grid; place-items: center; border-radius: 8px; color: #2f211c; background: #eecb91; font-size: .7rem; font-weight: 900; }
.mini-testimonial { max-width: 440px; margin-top: 34px; padding: 17px 19px; border: 1px solid rgba(255,255,255,.09); border-radius: 16px; background: rgba(255,255,255,.05); backdrop-filter: blur(10px); }
.mini-testimonial > span { color: var(--gold); font-family: Georgia, serif; font-size: 2rem; line-height: .5; }
.mini-testimonial p { margin: 8px 0 0; color: rgba(255,255,255,.74); font-family: "Playfair Display", serif; font-size: .93rem; }
.auth-card { display: grid; align-content: center; padding: clamp(42px, 7vw, 84px); background: #fff; }
.auth-card > h2, .auth-card > h1 { margin-bottom: 9px; font-family: "Playfair Display", serif; font-size: 2rem; }
.auth-card > .muted { margin-bottom: 27px; font-size: .86rem; }
.auth-switch { margin: 22px 0 0; color: var(--muted); font-size: .79rem; text-align: center; }
.auth-switch a { color: var(--primary); font-weight: 750; }
.auth-security { display: flex; align-items: center; justify-content: center; gap: 7px; margin-top: 18px; color: var(--muted-2); font-size: .68rem; }
.auth-security .icon { color: var(--success); }
.auth-page { display: grid; min-height: 100vh; place-items: center; padding: 25px; background: radial-gradient(circle at 15% 10%, rgba(199,139,94,.18), transparent 30%), var(--bg); }
.auth-wrap { width: min(100%, 510px); }
.install-card { border: 1px solid var(--line); border-radius: 28px; box-shadow: var(--shadow); }
.success-icon { width: 75px; height: 75px; display: grid; place-items: center; margin: 0 auto 20px; border-radius: 25px; color: var(--success); background: var(--success-soft); font-size: 2rem; font-weight: 800; }

/* Forms */
.form-stack { display: grid; gap: 17px; }
.compact-form { gap: 12px; }
.field { display: grid; gap: 8px; }
.field > span { color: var(--ink-2); font-size: .76rem; font-weight: 700; }
.field > span em { color: var(--muted); font-size: .68rem; font-style: normal; font-weight: 500; }
.field input, .field select, .field textarea, .message-form textarea, .filter-bar select, .search-field input { width: 100%; border: 1px solid var(--line); outline: 0; color: var(--ink); background: #fff; transition: border-color .18s ease, box-shadow .18s ease, background .18s ease; }
.field input, .field select { min-height: 50px; padding: 11px 14px; border-radius: 13px; }
.field textarea { min-height: 125px; padding: 14px; border-radius: 14px; resize: vertical; line-height: 1.65; }
.field input::placeholder, .field textarea::placeholder, .message-form textarea::placeholder, .search-field input::placeholder { color: #b5aaa5; }
.field input:focus, .field select:focus, .field textarea:focus, .message-form textarea:focus, .filter-bar select:focus, .search-field input:focus { border-color: rgba(139,63,52,.52); box-shadow: 0 0 0 4px rgba(139,63,52,.08); }
.field input:disabled { color: var(--muted); background: var(--surface-soft); cursor: not-allowed; }
.field-help { color: var(--muted); font-size: .69rem; line-height: 1.45; }
.input-wrap { position: relative; }
.input-wrap input { padding-right: 48px; }
.password-toggle { position: absolute; top: 50%; right: 7px; width: 36px; height: 36px; display: grid; place-items: center; border: 0; border-radius: 10px; color: var(--muted); background: transparent; transform: translateY(-50%); cursor: pointer; }
.password-toggle:hover { color: var(--primary); background: var(--surface-soft); }
.password-toggle .icon { width: 18px; height: 18px; }
.password-toggle .eye-off { display: none; }
.password-toggle.is-visible .eye { display: none; }
.password-toggle.is-visible .eye-off { display: block; }
.form-card, .panel-card, .data-card { border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,255,255,.88); box-shadow: var(--shadow-xs); }
.form-card { padding: 30px; }
.form-card > h2 { margin-bottom: 20px; font-size: 1.2rem; }
.form-divider { position: relative; margin: 2px 0; text-align: center; }
.form-divider::before { content: ""; position: absolute; left: 0; right: 0; top: 50%; height: 1px; background: var(--line); }
.form-divider span { position: relative; padding: 0 10px; color: var(--muted); background: #fff; font-size: .68rem; }
.check-row { display: flex; align-items: flex-start; gap: 10px; cursor: pointer; }
.check-row input { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 2px; accent-color: var(--primary); }
.check-row span { color: var(--muted); font-size: .76rem; }
.validation-list { display: grid; gap: 7px; margin-bottom: 18px; padding: 14px; border: 1px solid #f1c4c4; border-radius: 14px; color: #972f2f; background: #fff6f6; font-size: .8rem; font-weight: 600; }
.validation-list div { display: flex; gap: 7px; }
.validation-list div::before { content: "•"; }
.char-counter { display: block; margin-top: -2px; color: var(--muted-2); font-size: .65rem; text-align: right; }
.two-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.editor-submit { display: flex; align-items: center; justify-content: space-between; gap: 25px; padding-top: 5px; }
.editor-submit small { max-width: 520px; color: var(--muted); font-size: .71rem; }
.danger-form { margin-top: 15px; padding-top: 15px; border-top: 1px solid var(--line); }
.danger-form button { border: 0; color: var(--danger); background: transparent; font-size: .73rem; font-weight: 700; cursor: pointer; }

/* Member dashboard */
.dashboard-section { min-height: calc(100vh - var(--header-h)); padding: 50px 0 70px; }
.dashboard-hero { display: flex; align-items: flex-end; justify-content: space-between; gap: 35px; margin-bottom: 29px; }
.dashboard-hero h1 { margin-bottom: 8px; font-family: "Playfair Display", Georgia, serif; font-size: clamp(2.5rem, 4.5vw, 4rem); }
.dashboard-hero p { margin: 0; color: var(--muted); }
.dashboard-hero-actions { display: flex; align-items: center; gap: 10px; }
.dashboard-banner { position: relative; overflow: hidden; display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 30px; margin-bottom: 24px; padding: 26px 29px; border-radius: 23px; color: #fff; background: radial-gradient(circle at 85% 0, rgba(232,184,111,.24), transparent 35%), linear-gradient(135deg, #5d2922, #211411); box-shadow: var(--shadow-sm); }
.dashboard-banner::after { content: "☕"; position: absolute; right: 120px; bottom: -45px; font-size: 130px; opacity: .05; transform: rotate(-12deg); }
.dashboard-banner-copy { position: relative; z-index: 2; }
.dashboard-banner-copy small { display: block; margin-bottom: 6px; color: #e7bf83; font-size: .66rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.dashboard-banner-copy strong { display: block; margin-bottom: 5px; font-size: 1.05rem; }
.dashboard-banner-copy span { color: rgba(255,255,255,.61); font-size: .76rem; }
.dashboard-banner .btn { position: relative; z-index: 2; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.user-stats { margin-bottom: 42px; }
.stat-card { position: relative; overflow: hidden; min-height: 145px; display: flex; flex-direction: column; justify-content: space-between; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.84); box-shadow: var(--shadow-xs); transition: .24s var(--ease); }
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); }
.stat-card > span:first-child { color: var(--muted); font-size: .71rem; font-weight: 700; }
.stat-card strong { margin: 12px 0 5px; font-size: 2rem; line-height: 1; letter-spacing: -.055em; }
.stat-card small { color: var(--muted); font-size: .67rem; }
.stat-icon { position: absolute; top: 17px; right: 17px; width: 35px; height: 35px; display: grid; place-items: center; border-radius: 11px; color: var(--primary); background: var(--primary-soft); }
.stat-icon .icon { width: 17px; height: 17px; }
.premium-stat { color: #fff; border-color: transparent; background: linear-gradient(145deg, #5c2a23, #271714); }
.premium-stat > span:first-child, .premium-stat small { color: rgba(255,255,255,.58); }
.premium-stat .stat-icon { color: #d9a95d; background: rgba(217,169,93,.13); }
.reading-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 17px; }
.reading-filters { display: flex; gap: 8px; overflow-x: auto; scrollbar-width: none; }
.reading-filters::-webkit-scrollbar { display: none; }
.filter-chip { flex: 0 0 auto; padding: 8px 13px; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); background: rgba(255,255,255,.68); font-size: .71rem; font-weight: 700; cursor: pointer; }
.filter-chip.is-active, .filter-chip:hover { color: #fff; border-color: var(--ink); background: var(--ink); }
.reading-list { display: grid; gap: 12px; }
.reading-card { position: relative; display: grid; grid-template-columns: 105px minmax(0,1fr) auto; align-items: center; gap: 19px; padding: 13px 16px 13px 13px; border: 1px solid var(--line); border-radius: 19px; background: rgba(255,255,255,.84); box-shadow: var(--shadow-xs); transition: transform .24s var(--ease), box-shadow .24s ease, border-color .24s ease; }
.reading-card:hover { transform: translateY(-3px); border-color: #d7c0b5; box-shadow: var(--shadow-sm); }
.reading-thumb { position: relative; width: 105px; height: 92px; overflow: hidden; display: grid; place-items: center; border-radius: 14px; color: var(--primary); background: var(--primary-soft); font-size: 2rem; }
.reading-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s var(--ease); }
.reading-card:hover .reading-thumb img { transform: scale(1.06); }
.reading-progress-ring { position: absolute; right: 7px; bottom: 7px; width: 30px; height: 30px; display: grid; place-items: center; border: 3px solid rgba(255,255,255,.8); border-radius: 50%; color: #fff; background: var(--primary); font-size: .53rem; font-weight: 800; box-shadow: 0 4px 12px rgba(0,0,0,.15); }
.reading-main { min-width: 0; }
.reading-topline { display: flex; align-items: center; gap: 10px; margin-bottom: 7px; }
.reading-topline h3 { margin: 0; font-size: .96rem; }
.reading-main > p { max-width: 680px; margin: 0 0 10px; overflow: hidden; color: var(--muted); font-size: .78rem; text-overflow: ellipsis; white-space: nowrap; }
.reading-meta { display: flex; flex-wrap: wrap; gap: 14px; color: var(--muted-2); font-size: .67rem; }
.reading-meta span { display: inline-flex; align-items: center; gap: 5px; }
.reading-meta .icon { width: 13px; height: 13px; }
.reading-arrow { width: 38px; height: 38px; display: grid; place-items: center; border-radius: 12px; color: var(--primary); background: var(--primary-soft); transition: .2s var(--ease); }
.reading-card:hover .reading-arrow { color: #fff; background: var(--primary); transform: translateX(3px); }
.empty-state { padding: 65px 25px; border: 1px dashed var(--line-strong); border-radius: 24px; background: rgba(255,255,255,.55); text-align: center; }
.empty-icon { width: 75px; height: 75px; display: grid; place-items: center; margin: 0 auto 20px; border-radius: 25px; color: var(--primary); background: var(--primary-soft); font-size: 2.2rem; }
.empty-state h3 { margin-bottom: 8px; font-size: 1.25rem; }
.empty-state p { max-width: 440px; margin: 0 auto 22px; color: var(--muted); font-size: .86rem; }

/* Badges */
.badge { display: inline-flex; align-items: center; justify-content: center; gap: 5px; width: fit-content; padding: 5px 9px; border-radius: 999px; font-size: .62rem; font-weight: 800; letter-spacing: .015em; white-space: nowrap; }
.badge::before { content: ""; width: 5px; height: 5px; border-radius: 50%; background: currentColor; opacity: .75; }
.badge-warning { color: #936119; background: var(--warning-soft); }
.badge-info { color: #2e6787; background: var(--info-soft); }
.badge-success { color: #1d7552; background: var(--success-soft); }
.badge-neutral { color: #6f6561; background: #eee9e5; }
.badge-premium { color: #744a0f; background: linear-gradient(135deg, #f8dda7, #e9bc6d); }

/* Upload */
.page-back { margin-bottom: 21px; }
.page-back a { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .77rem; font-weight: 700; }
.page-back a:hover { color: var(--primary); }
.upload-form-card { padding: clamp(25px, 5vw, 47px); border-radius: 27px; }
.upload-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 30px; margin-bottom: 31px; }
.upload-header .section-heading { margin: 0; }
.upload-steps { display: flex; align-items: center; gap: 6px; padding: 6px; border-radius: 999px; background: var(--surface-soft); }
.upload-steps span { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 50%; color: var(--muted); font-size: .68rem; font-weight: 800; }
.upload-steps span.is-active { color: #fff; background: var(--primary); }
.upload-zone { position: relative; min-height: 255px; display: grid; place-items: center; padding: 30px; overflow: hidden; border: 1.5px dashed #cdb9ad; border-radius: 20px; background: linear-gradient(145deg, #fff, #fbf5ef); text-align: center; cursor: pointer; transition: .24s var(--ease); }
.upload-zone:hover, .upload-zone.is-dragover { border-color: var(--primary); background: var(--primary-soft); transform: translateY(-2px); }
.upload-zone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload-zone-content { position: relative; z-index: 2; display: grid; justify-items: center; }
.upload-icon { width: 64px; height: 64px; display: grid; place-items: center; margin-bottom: 17px; border-radius: 20px; color: var(--primary); background: #fff; box-shadow: var(--shadow-sm); }
.upload-icon .icon { width: 28px; height: 28px; }
.upload-zone strong { margin-bottom: 6px; font-size: .97rem; }
.upload-zone small { max-width: 480px; color: var(--muted); font-size: .72rem; }
.upload-zone-hint { display: inline-flex; align-items: center; gap: 5px; margin-top: 12px; padding: 6px 9px; border-radius: 999px; color: var(--primary); background: #fff; font-size: .65rem; font-weight: 700; }
.preview-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 11px; }
.preview-grid:empty { display: none; }
.preview-item { position: relative; aspect-ratio: 1; overflow: hidden; border: 1px solid var(--line); border-radius: 15px; background: var(--surface-soft); animation: preview-in .3s var(--ease) both; }
.preview-item img { width: 100%; height: 100%; object-fit: cover; }
.preview-item > span { position: absolute; left: 7px; bottom: 7px; width: 25px; height: 25px; display: grid; place-items: center; border-radius: 8px; color: #fff; background: rgba(31,18,14,.75); backdrop-filter: blur(6px); font-size: .63rem; font-weight: 800; }
.preview-remove { position: absolute; top: 7px; right: 7px; width: 29px; height: 29px; display: grid; place-items: center; border: 0; border-radius: 9px; color: #fff; background: rgba(31,18,14,.72); backdrop-filter: blur(6px); cursor: pointer; }
.preview-remove:hover { background: var(--danger); }
.preview-remove .icon { width: 14px; height: 14px; }
@keyframes preview-in { from { opacity: 0; transform: scale(.92); } }
.upload-guides { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 5px; }
.upload-guide { display: flex; align-items: center; gap: 10px; padding: 12px; border: 1px solid var(--line); border-radius: 13px; background: var(--surface-warm); }
.upload-guide > span { width: 32px; height: 32px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 10px; color: var(--success); background: var(--success-soft); }
.upload-guide strong { display: block; font-size: .7rem; }
.upload-guide small { display: block; margin-top: 2px; color: var(--muted); font-size: .61rem; }

/* Reading detail */
.reading-detail-section { padding-top: 38px; }
.detail-header { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-bottom: 22px; padding: 24px 27px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.7); }
.detail-title-row { display: flex; align-items: center; flex-wrap: wrap; gap: 11px; }
.detail-title-row h1 { margin: 0; font-family: "Playfair Display", serif; font-size: 2.25rem; }
.detail-header p, .admin-detail-header p { margin: 6px 0 0; color: var(--muted); font-size: .76rem; }
.completed-mark { display: inline-flex; align-items: center; gap: 7px; padding: 9px 12px; border-radius: 999px; color: var(--success); background: var(--success-soft); font-size: .72rem; font-weight: 800; }
.status-timeline { display: grid; grid-template-columns: repeat(3, 1fr); margin-bottom: 23px; padding: 18px 20px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.67); }
.status-step { position: relative; display: flex; align-items: center; gap: 10px; color: var(--muted-2); }
.status-step:not(:last-child)::after { content: ""; position: absolute; left: calc(50% + 24px); right: -5px; top: 17px; height: 2px; background: var(--line); }
.status-step.is-done:not(:last-child)::after { background: var(--primary); }
.status-step-dot { position: relative; z-index: 2; width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; border: 2px solid var(--line); border-radius: 50%; background: #fff; font-size: .68rem; font-weight: 800; }
.status-step.is-done, .status-step.is-active { color: var(--ink); }
.status-step.is-done .status-step-dot, .status-step.is-active .status-step-dot { color: #fff; border-color: var(--primary); background: var(--primary); }
.status-step.is-active .status-step-dot { box-shadow: 0 0 0 5px rgba(139,63,52,.09); }
.status-step-copy { display: grid; line-height: 1.2; }
.status-step-copy strong { font-size: .72rem; }
.status-step-copy small { margin-top: 3px; color: var(--muted); font-size: .6rem; }
.detail-grid { display: grid; grid-template-columns: 330px minmax(0, 1fr); align-items: start; gap: 20px; }
.sticky-card { position: sticky; top: 103px; }
.panel-card { padding: 23px; }
.panel-card > h3 { margin-bottom: 17px; font-size: .96rem; }
.gallery-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.gallery-item { position: relative; aspect-ratio: 1; overflow: hidden; padding: 0; border: 0; border-radius: 13px; background: var(--surface-soft); cursor: zoom-in; }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s var(--ease), filter .35s ease; }
.gallery-item:hover img { transform: scale(1.07); filter: brightness(.82); }
.gallery-item > span, .admin-gallery button > span { position: absolute; left: 7px; bottom: 7px; width: 25px; height: 25px; display: grid; place-items: center; border-radius: 8px; color: #fff; background: rgba(25,15,12,.7); font-size: .61rem; font-weight: 800; backdrop-filter: blur(5px); }
.note-box { margin-top: 15px; padding: 15px; border-radius: 14px; background: var(--surface-soft); }
.note-box > span { display: block; margin-bottom: 6px; color: var(--muted); font-size: .64rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.note-box p { margin: 0; color: var(--ink-2); font-size: .76rem; white-space: pre-line; }
.detail-content { display: grid; gap: 17px; }
.waiting-card, .result-intro { position: relative; overflow: hidden; padding: clamp(32px, 6vw, 55px); border: 1px solid var(--line); border-radius: 25px; background: radial-gradient(circle at 90% 0, rgba(214,168,94,.14), transparent 34%), linear-gradient(145deg, #fff, #f8eee6); box-shadow: var(--shadow-xs); }
.waiting-card { text-align: center; }
.waiting-card::before { content: ""; position: absolute; width: 220px; height: 220px; right: -130px; bottom: -140px; border: 1px solid rgba(139,63,52,.09); border-radius: 50%; box-shadow: 0 0 0 45px rgba(139,63,52,.025); }
.waiting-animation { position: relative; width: 88px; height: 88px; display: grid; place-items: center; margin: 0 auto 24px; border-radius: 28px; color: var(--primary); background: #fff; box-shadow: var(--shadow-sm); font-size: 2.2rem; animation: waiting-float 3s ease-in-out infinite; }
.waiting-animation::after { content: ""; position: absolute; inset: -8px; border: 1px solid rgba(139,63,52,.13); border-radius: 33px; animation: waiting-pulse 2.3s ease-out infinite; }
@keyframes waiting-float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
@keyframes waiting-pulse { from { opacity: .7; transform: scale(.94); } to { opacity: 0; transform: scale(1.2); } }
.waiting-card h2, .result-intro h2 { margin-bottom: 12px; font-family: "Playfair Display", serif; font-size: clamp(2rem, 4vw, 3rem); }
.waiting-card > p { max-width: 650px; margin: 0 auto; color: var(--muted); font-size: .88rem; }
.progress-track { width: min(100%, 510px); height: 9px; margin: 29px auto 0; padding: 2px; overflow: hidden; border-radius: 999px; background: #e9dcd2; }
.progress-track span { display: block; width: 30%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--primary), var(--gold)); animation: progress-shimmer 2.5s ease-in-out infinite alternate; }
.progress-track span.progress-review { width: 68%; }
@keyframes progress-shimmer { from { filter: brightness(.93); transform: translateX(-2%); } to { filter: brightness(1.12); transform: translateX(2%); } }
.waiting-estimate { display: inline-flex; align-items: center; gap: 6px; margin-top: 14px; color: var(--muted); font-size: .68rem; font-weight: 650; }
.waiting-estimate .icon { width: 14px; height: 14px; color: var(--primary); }
.result-intro { color: #fff; background: radial-gradient(circle at 85% 0, rgba(224,176,104,.23), transparent 32%), linear-gradient(145deg, #6a3027, #241512); }
.result-intro .eyebrow { color: #efca8d; }
.result-intro p { max-width: 700px; margin: 0; color: rgba(255,255,255,.62); font-size: .82rem; }
.result-sections { display: grid; gap: 11px; }
.result-card { display: grid; grid-template-columns: 48px 1fr auto; gap: 17px; padding: 22px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.83); box-shadow: var(--shadow-xs); }
.result-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 15px; color: var(--primary); background: var(--primary-soft); }
.result-icon .icon { width: 22px; height: 22px; }
.result-card h3 { margin: 3px 0 8px; font-size: .98rem; }
.result-card p { margin: 0; color: #5d4d47; font-size: .82rem; white-space: pre-line; }
.result-toggle { display: none; width: 34px; height: 34px; place-items: center; border: 0; border-radius: 10px; color: var(--muted); background: var(--surface-soft); cursor: pointer; }
.messages-panel { padding: 26px; border: 1px solid var(--line); border-radius: 22px; background: rgba(255,255,255,.87); box-shadow: var(--shadow-xs); }
.messages-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 20px; }
.messages-head .eyebrow { margin-bottom: 5px; }
.messages-head h2 { margin: 0; font-size: 1.32rem; }
.quota-pill { display: inline-flex; align-items: center; gap: 6px; padding: 7px 10px; border-radius: 999px; color: #714a16; background: var(--gold-soft); font-size: .66rem; font-weight: 800; }
.premium-lock { position: relative; overflow: hidden; display: flex; align-items: flex-start; gap: 17px; padding: 23px; border-radius: 17px; color: #fff; background: radial-gradient(circle at 100% 0, rgba(222,178,107,.23), transparent 34%), linear-gradient(145deg, #4d2821, #1f1311); }
.premium-lock::after { content: ""; position: absolute; width: 160px; height: 160px; right: -90px; bottom: -100px; border: 1px solid rgba(255,255,255,.08); border-radius: 50%; box-shadow: 0 0 0 35px rgba(255,255,255,.02); }
.premium-lock > div:last-child { position: relative; z-index: 2; }
.premium-lock h3 { margin-bottom: 7px; font-size: 1rem; }
.premium-lock p { margin-bottom: 15px; color: rgba(255,255,255,.62); font-size: .76rem; }
.lock-icon { width: 49px; height: 49px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 15px; color: #513024; background: #e7bd7a; }
.info-box, .quota-exhausted { display: flex; align-items: flex-start; gap: 9px; padding: 14px; border-radius: 13px; color: var(--info); background: var(--info-soft); font-size: .75rem; font-weight: 650; }
.quota-exhausted { color: #7d561c; background: var(--warning-soft); }
.message-thread { display: grid; gap: 14px; max-height: 570px; overflow: auto; padding: 4px 3px 20px; scrollbar-width: thin; scrollbar-color: var(--line-strong) transparent; }
.message-row { display: flex; align-items: flex-end; gap: 8px; }
.message-row.from-user { flex-direction: row-reverse; }
.message-avatar { width: 32px; height: 32px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 11px; color: #fff; background: var(--ink); font-size: .67rem; font-weight: 800; }
.message-bubble { max-width: 78%; padding: 12px 14px; border-radius: 15px 15px 15px 4px; background: var(--surface-soft); }
.from-user .message-bubble { border-radius: 15px 15px 4px 15px; color: #fff; background: linear-gradient(145deg, var(--primary-2), var(--primary-dark)); }
.message-author { display: flex; justify-content: space-between; gap: 25px; margin-bottom: 5px; font-size: .65rem; }
.message-author span { opacity: .58; }
.message-bubble p { margin: 0; font-size: .77rem; white-space: pre-line; }
.thread-empty { padding: 23px; border: 1px dashed var(--line-strong); border-radius: 13px; color: var(--muted); text-align: center; font-size: .77rem; }
.message-form { display: grid; gap: 9px; margin-top: 4px; padding-top: 17px; border-top: 1px solid var(--line); }
.message-form textarea { min-height: 95px; padding: 13px; border-radius: 13px; resize: vertical; line-height: 1.55; }
.message-form-footer { display: flex; align-items: center; justify-content: space-between; gap: 15px; }
.message-form-footer small { color: var(--muted); font-size: .67rem; }
.lightbox { position: fixed; inset: 0; z-index: 400; display: grid; place-items: center; padding: 55px; background: rgba(18,10,8,.91); backdrop-filter: blur(12px); animation: fade-in .2s ease; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: min(1150px, 92vw); max-height: 86vh; border-radius: 18px; box-shadow: 0 40px 120px rgba(0,0,0,.55); animation: zoom-in .25s var(--ease); }
.lightbox button { position: fixed; top: 22px; right: 24px; width: 47px; height: 47px; display: grid; place-items: center; border: 1px solid rgba(255,255,255,.18); border-radius: 15px; color: #fff; background: rgba(255,255,255,.07); cursor: pointer; }
@keyframes fade-in { from { opacity: 0; } }
@keyframes zoom-in { from { opacity: 0; transform: scale(.96); } }

/* Profile */
.profile-identity { display: flex; align-items: center; gap: 15px; margin-bottom: 25px; padding: 20px; border: 1px solid var(--line); border-radius: 18px; background: rgba(255,255,255,.7); }
.profile-identity .avatar { width: 58px; height: 58px; border-radius: 18px; font-size: 1rem; }
.profile-identity-copy { display: grid; }
.profile-identity-copy strong { font-size: 1.02rem; }
.profile-identity-copy small { margin-top: 4px; color: var(--muted); font-size: .74rem; }
.profile-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.membership-card { position: relative; overflow: hidden; display: flex; align-items: center; justify-content: space-between; gap: 30px; margin-top: 17px; padding: 28px; border: 1px solid var(--line); border-radius: 20px; background: rgba(255,255,255,.84); }
.membership-card.is-premium { color: #fff; border-color: transparent; background: radial-gradient(circle at 90% 0, rgba(222,178,107,.24), transparent 35%), linear-gradient(145deg, #5c2922, #211411); }
.membership-card::after { content: ""; position: absolute; width: 200px; height: 200px; right: -120px; bottom: -130px; border: 1px solid currentColor; border-radius: 50%; opacity: .06; box-shadow: 0 0 0 40px currentColor; }
.membership-card > div { position: relative; z-index: 2; }
.membership-card h2 { margin-bottom: 7px; font-size: 1.25rem; }
.membership-card p { margin: 0; color: var(--muted); font-size: .8rem; }
.membership-card.is-premium p { color: rgba(255,255,255,.62); }
.membership-badge { position: relative; z-index: 2; padding: 9px 12px; border-radius: 999px; color: #71470c; background: linear-gradient(135deg, #f8dda7, #dfaa51); font-size: .65rem; font-weight: 900; letter-spacing: .08em; }

/* Admin shell */
.admin-shell { background: var(--admin-bg); }
.admin-shell .ambient-bg { display: none; }
.admin-app { min-height: 100vh; }
.admin-sidebar { position: fixed; inset: 0 auto 0 0; z-index: 160; width: 270px; display: flex; flex-direction: column; padding: 19px 15px; color: #fff; background: radial-gradient(circle at 10% 0, rgba(171,91,66,.18), transparent 30%), var(--admin-sidebar); }
.admin-sidebar-head { display: flex; align-items: center; justify-content: space-between; padding: 2px 5px 22px; }
.brand-admin .brand-copy strong { color: #fff; }
.brand-admin .brand-copy small { color: #7f726e; }
.brand-admin .brand-symbol { width: 42px; height: 42px; border-radius: 14px; box-shadow: none; }
.sidebar-close { display: none; width: 38px; height: 38px; place-items: center; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; color: #b7aaa5; background: rgba(255,255,255,.04); }
.admin-nav { display: grid; align-content: start; gap: 5px; flex: 1; }
.admin-nav-label { margin: 19px 11px 7px; color: #675b58; font-size: .61rem; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.admin-nav a { position: relative; display: flex; align-items: center; gap: 12px; min-height: 46px; padding: 10px 12px; border-radius: 13px; color: #9f928d; font-size: .8rem; font-weight: 650; transition: .18s ease; }
.admin-nav a .icon { width: 19px; height: 19px; }
.admin-nav a:hover { color: #fff; background: rgba(255,255,255,.05); }
.admin-nav a.is-active { color: #fff; background: linear-gradient(90deg, rgba(160,74,58,.32), rgba(160,74,58,.08)); }
.admin-nav a.is-active::before { content: ""; position: absolute; left: 0; width: 3px; height: 20px; border-radius: 999px; background: #c8785c; }
.admin-sidebar-foot { display: flex; align-items: center; gap: 9px; padding: 12px; border: 1px solid rgba(255,255,255,.07); border-radius: 15px; background: rgba(255,255,255,.035); }
.admin-profile-mini { min-width: 0; display: flex; align-items: center; gap: 10px; flex: 1; }
.admin-profile-mini > span:last-child { min-width: 0; display: grid; line-height: 1.2; }
.admin-profile-mini strong { max-width: 125px; overflow: hidden; color: #eee8e5; font-size: .72rem; text-overflow: ellipsis; white-space: nowrap; }
.admin-profile-mini small { margin-top: 4px; color: #796e6a; font-size: .6rem; }
.sidebar-logout { width: 34px; height: 34px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 10px; color: #8d7e79; }
.sidebar-logout:hover { color: #fff; background: rgba(255,255,255,.06); }
.admin-canvas { min-height: 100vh; margin-left: 270px; display: flex; flex-direction: column; }
.admin-topbar { position: sticky; top: 0; z-index: 100; height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 0 30px; border-bottom: 1px solid #e2e6e9; background: rgba(255,255,255,.88); backdrop-filter: blur(15px); }
.admin-menu-toggle { display: none; width: 40px; height: 40px; place-items: center; border: 1px solid #dfe3e6; border-radius: 12px; background: #fff; }
.admin-topbar-title { display: grid; line-height: 1.18; }
.admin-topbar-title small { color: #8b9297; font-size: .61rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.admin-topbar-title strong { margin-top: 3px; color: #23282b; font-size: .87rem; }
.admin-topbar-actions { display: flex; align-items: center; gap: 12px; }
.topbar-quick { display: flex; align-items: center; gap: 7px; padding: 8px 11px; border: 1px solid #e1e5e8; border-radius: 11px; color: #596166; background: #fff; font-size: .68rem; font-weight: 700; }
.topbar-quick:hover { color: var(--primary); border-color: #d9bcb2; }
.topbar-avatar { width: 35px; height: 35px; display: grid; place-items: center; border-radius: 11px; color: #fff; background: linear-gradient(145deg, var(--primary-2), var(--primary-dark)); font-size: .65rem; font-weight: 800; }
.admin-main { flex: 1; }
.admin-section { min-height: calc(100vh - 70px); padding: 32px 0 60px; background: transparent; }
.admin-section .container { width: min(calc(100% - 50px), 1320px); }
.admin-footer { display: flex; justify-content: space-between; gap: 20px; padding: 18px 30px; border-top: 1px solid #e0e4e7; color: #92999e; font-size: .62rem; }
.admin-sidebar-overlay { display: none; }
.admin-hero { align-items: center; margin-bottom: 24px; }
.admin-hero h1 { color: #252a2d; font-family: inherit; font-size: 2rem; font-weight: 700; letter-spacing: -.045em; }
.admin-hero p { font-size: .8rem; }
.admin-actions { display: flex; gap: 9px; }
.admin-stats { margin-bottom: 20px; }
.admin-stats .stat-card { min-height: 132px; border-color: #e0e4e7; border-radius: 16px; box-shadow: none; }
.admin-stats .stat-card strong { color: #22272a; font-size: 1.8rem; }
.admin-dashboard-grid { display: grid; grid-template-columns: minmax(0,1.45fr) minmax(310px,.55fr); align-items: start; gap: 17px; }
.admin-section .panel-card, .admin-section .form-card, .admin-section .data-card { border-color: #e0e4e7; border-radius: 17px; box-shadow: none; }
.panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; margin-bottom: 17px; }
.panel-head h2 { margin-bottom: 4px; color: #252a2d; font-size: 1.05rem; }
.panel-head p { margin: 0; color: #8a9297; font-size: .69rem; }
.panel-head > a { color: var(--primary); font-size: .68rem; font-weight: 750; }
.admin-reading-table { display: grid; }
.admin-reading-row { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid #edf0f2; transition: .18s ease; }
.admin-reading-row:first-child { border-top: 0; }
.admin-reading-row:hover { padding-inline: 7px; border-radius: 12px; background: #f7f8f9; }
.admin-thumb { width: 47px; height: 47px; display: grid; place-items: center; flex: 0 0 auto; overflow: hidden; border-radius: 12px; color: var(--primary); background: var(--primary-soft); }
.admin-thumb img { width: 100%; height: 100%; object-fit: cover; }
.admin-reading-info { min-width: 0; display: grid; flex: 1; line-height: 1.25; }
.admin-reading-info strong { overflow: hidden; color: #313639; font-size: .74rem; text-overflow: ellipsis; white-space: nowrap; }
.admin-reading-info span { margin-top: 4px; overflow: hidden; color: #92999e; font-size: .62rem; text-overflow: ellipsis; white-space: nowrap; }
.empty-compact { padding: 27px; border: 1px dashed #d8dde0; border-radius: 12px; color: #8a9297; text-align: center; font-size: .72rem; }
.compact-list { display: grid; gap: 5px; }
.compact-list a { display: grid; grid-template-columns: auto 1fr auto; align-items: center; gap: 9px; padding: 9px; border-radius: 11px; }
.compact-list a:hover { background: #f5f7f8; }
.avatar-sm { width: 34px; height: 34px; display: grid; place-items: center; border-radius: 10px; color: #fff; background: linear-gradient(145deg, var(--primary-2), var(--primary-dark)); font-size: .62rem; font-weight: 800; }
.compact-list a > span:nth-child(2) { display: grid; line-height: 1.2; }
.compact-list strong { color: #383e41; font-size: .69rem; }
.compact-list small { margin-top: 3px; color: #959ca1; font-size: .58rem; }
.compact-list b { color: #a7adb1; font-size: .75rem; }
.filter-bar { display: flex; align-items: center; gap: 9px; margin-bottom: 14px; padding: 12px; border: 1px solid #e0e4e7; border-radius: 15px; background: #fff; }
.search-field { min-width: 250px; display: flex; align-items: center; gap: 8px; flex: 1; padding-left: 12px; border: 1px solid #e0e4e7; border-radius: 11px; background: #fff; }
.search-field > span { color: #939a9e; }
.search-field .icon { width: 17px; height: 17px; }
.search-field input { min-height: 42px; padding: 9px 9px 9px 0; border: 0; border-radius: 0; box-shadow: none !important; }
.filter-bar select { width: auto; min-width: 165px; min-height: 42px; padding: 8px 12px; border-radius: 11px; }
.data-card { overflow: hidden; }
.data-table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; color: #41484c; font-size: .71rem; }
.data-table th { padding: 13px 15px; border-bottom: 1px solid #e5e9eb; color: #939a9e; background: #fafbfb; font-size: .58rem; font-weight: 800; letter-spacing: .06em; text-align: left; text-transform: uppercase; white-space: nowrap; }
.data-table td { padding: 13px 15px; border-bottom: 1px solid #edf0f2; vertical-align: middle; }
.data-table tbody tr:last-child td { border-bottom: 0; }
.data-table tbody tr:hover { background: #fafbfb; }
.table-user { display: grid; min-width: 160px; line-height: 1.2; }
.table-user strong { color: #31373a; font-size: .72rem; }
.table-user small { margin-top: 4px; color: #92999e; font-size: .61rem; }
.block-small { display: block; margin-top: 4px; color: #92999e; font-size: .58rem; }
.inline-small { color: #8d959a; font-size: .6rem; }
.align-right { text-align: right; }
.table-action { color: var(--primary); font-size: .65rem; font-weight: 750; white-space: nowrap; }
.table-empty { padding: 35px !important; color: #949ca0; text-align: center; }
.status-dot-label { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.status-dot { width: 7px; height: 7px; border-radius: 50%; background: #c0c5c8; }
.status-dot.active { background: var(--success); box-shadow: 0 0 0 4px rgba(39,128,93,.08); }
.admin-detail-header { display: flex; align-items: center; justify-content: space-between; gap: 25px; margin-bottom: 20px; padding: 20px 23px; border: 1px solid #e0e4e7; border-radius: 17px; background: #fff; }
.admin-detail-header h1 { margin: 0; color: #252a2d; font-size: 1.7rem; }
.admin-reading-layout { display: grid; grid-template-columns: 300px minmax(0,1fr); align-items: start; gap: 17px; }
.admin-reading-sidebar { display: grid; gap: 15px; }
.admin-reading-sidebar .sticky-card { top: 88px; }
.admin-gallery { display: grid; grid-template-columns: repeat(2,1fr); gap: 7px; }
.admin-gallery button { position: relative; aspect-ratio: 1; overflow: hidden; padding: 0; border: 0; border-radius: 11px; background: #edf0f2; cursor: zoom-in; }
.admin-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s var(--ease); }
.admin-gallery button:hover img { transform: scale(1.07); }
.admin-reading-main { display: grid; gap: 17px; }
.result-editor textarea { min-height: 150px; }
.draft-notice { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 13px 15px; border: 1px solid #ead4a8; border-radius: 12px; color: #70511f; background: #fff8e9; }
.draft-notice > span:first-child { display: grid; line-height: 1.25; }
.draft-notice strong { font-size: .72rem; }
.draft-notice small { margin-top: 3px; color: #9a7b48; font-size: .6rem; }
.draft-actions { display: flex; gap: 6px; }
.draft-actions button { padding: 7px 9px; border: 1px solid #e1c58e; border-radius: 9px; color: #70511f; background: #fff; font-size: .62rem; font-weight: 750; cursor: pointer; }
.draft-actions button:last-child { color: var(--danger); border-color: #eccaca; }
.admin-messages { border-color: #e0e4e7; box-shadow: none; }
.membership-inline { display: flex; align-items: center; gap: 7px; margin-bottom: 16px; padding: 9px 11px; border-radius: 10px; color: #71797e; background: #f5f7f8; font-size: .65rem; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: #bcc2c5; }
.dot.active { background: var(--success); box-shadow: 0 0 0 4px rgba(39,128,93,.08); }
.user-admin-grid { display: grid; grid-template-columns: minmax(0,1fr) 330px; align-items: start; gap: 17px; }
.user-admin-grid > aside { display: grid; gap: 15px; }
.profile-stats { grid-template-columns: repeat(3,1fr); margin-bottom: 17px; }
.profile-stats .stat-card { min-height: 115px; }
.small-stat { font-size: .95rem !important; line-height: 1.35 !important; }
.account-state { margin-top: 0; }

/* Reveal animation */
[data-reveal] { opacity: 0; transform: translateY(22px); transition: opacity .65s var(--ease), transform .65s var(--ease); }
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal-delay="1"] { transition-delay: .08s; }
[data-reveal-delay="2"] { transition-delay: .16s; }
[data-reveal-delay="3"] { transition-delay: .24s; }

/* Responsive */
@media (max-width: 1120px) {
    .header-inner { grid-template-columns: 1fr auto; }
    .desktop-nav { display: none; }
    .hero-grid { grid-template-columns: 1fr .82fr; gap: 35px; }
    .hero h1 { font-size: clamp(3.3rem, 7vw, 5.4rem); }
    .hero-visual { min-height: 530px; }
    .floating-card-one { left: -18px; }
    .floating-card-two { right: -18px; }
    .feature-split { gap: 45px; }
    .footer-grid { grid-template-columns: 1.3fr .7fr .7fr; }
    .footer-disclaimer { grid-column: 1 / -1; }
    .admin-sidebar { width: 240px; }
    .admin-canvas { margin-left: 240px; }
    .admin-dashboard-grid { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
    :root { --header-h: 72px; }
    .container { width: min(calc(100% - 30px), var(--container)); }
    .header-inner { min-height: var(--header-h); }
    .brand-copy small { display: none; }
    .header-primary-action, .account-trigger, .header-login, .header-actions > .btn { display: none; }
    .menu-toggle { display: grid; }
    .mobile-menu { display: grid; grid-template-rows: 0fr; overflow: hidden; border-top: 1px solid transparent; background: rgba(255,253,250,.97); backdrop-filter: blur(18px); transition: grid-template-rows .3s var(--ease), border-color .3s ease; }
    .mobile-menu.is-open { grid-template-rows: 1fr; border-color: var(--line); }
    .mobile-menu-inner { min-height: 0; overflow: hidden; display: grid; gap: 5px; }
    .mobile-menu.is-open .mobile-menu-inner { padding-top: 13px; padding-bottom: 18px; }
    .mobile-menu a { display: flex; align-items: center; gap: 11px; padding: 12px; border-radius: 12px; color: var(--ink-2); font-size: .85rem; font-weight: 700; }
    .mobile-menu a:hover { color: var(--primary); background: var(--surface-soft); }
    .mobile-account { display: flex; align-items: center; gap: 11px; margin-bottom: 6px; padding: 11px; border-radius: 14px; background: var(--surface-soft); }
    .mobile-account > span:last-child { display: grid; line-height: 1.2; }
    .mobile-account strong { font-size: .8rem; }
    .mobile-account small { margin-top: 4px; color: var(--muted); font-size: .65rem; }
    .mobile-menu-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; margin-top: 8px; }
    .mobile-menu-actions .btn { display: inline-flex; }
    .hero { min-height: auto; padding: 75px 0 90px; }
    .hero-grid { grid-template-columns: 1fr; }
    .hero-copy { text-align: center; }
    .hero-copy > p { margin-inline: auto; }
    .hero-actions, .hero-trust, .hero-social-proof { justify-content: center; }
    .hero h1 { max-width: 760px; margin-inline: auto; }
    .hero-visual { min-height: 560px; }
    .steps-grid { grid-template-columns: 1fr; }
    .step-card { min-height: auto; }
    .step-icon { margin-bottom: 35px; }
    .feature-split, .premium-showcase, .faq-wrap { grid-template-columns: 1fr; }
    .feature-copy { order: -1; }
    .feature-visual { min-height: 530px; }
    .premium-showcase { gap: 45px; }
    .testimonial-grid { grid-template-columns: 1fr; }
    .testimonial-card > p { min-height: auto; }
    .cta-panel { align-items: flex-start; flex-direction: column; }
    .footer-grid { grid-template-columns: 1.3fr .7fr .7fr; }
    .auth-layout { grid-template-columns: 1fr; }
    .auth-side { min-height: 420px; padding: 45px; }
    .auth-card { padding: 50px; }
    .stats-grid { grid-template-columns: repeat(2,1fr); }
    .detail-grid { grid-template-columns: 1fr; }
    .sticky-card { position: static; }
    .detail-sidebar .panel-card { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
    .detail-sidebar .panel-card > h3 { grid-column: 1 / -1; }
    .detail-sidebar .note-box { margin-top: 0; }
    .profile-grid { grid-template-columns: 1fr; }
    .admin-sidebar { width: 275px; transform: translateX(-105%); transition: transform .3s var(--ease); box-shadow: 20px 0 60px rgba(0,0,0,.2); }
    .admin-sidebar.is-open { transform: none; }
    .sidebar-close { display: grid; }
    .admin-sidebar-overlay { position: fixed; inset: 0; z-index: 150; display: block; background: rgba(12,15,17,.5); opacity: 0; visibility: hidden; transition: .25s ease; }
    .admin-sidebar-overlay.is-open { opacity: 1; visibility: visible; }
    .admin-canvas { margin-left: 0; }
    .admin-menu-toggle { display: grid; }
    .admin-topbar { padding-inline: 20px; }
    .admin-section .container { width: min(calc(100% - 30px), 1320px); }
    .admin-reading-layout, .user-admin-grid { grid-template-columns: 1fr; }
    .admin-reading-sidebar { grid-template-columns: 1fr 1fr; }
    .admin-reading-sidebar .sticky-card { position: static; }
}

@media (max-width: 680px) {
    .container, .narrow-container { width: min(calc(100% - 24px), var(--container)); }
    .brand-symbol { width: 40px; height: 40px; border-radius: 13px; }
    .brand-symbol .icon { width: 21px; height: 21px; }
    .brand-copy strong { font-size: .96rem; }
    .flash-stack { top: 78px; }
    .section { padding: 76px 0; }
    .hero { padding: 55px 0 65px; }
    .hero h1 { font-size: clamp(3rem, 15vw, 4.5rem); }
    .hero-copy > p { font-size: .94rem; }
    .hero-actions { display: grid; grid-template-columns: 1fr; }
    .hero-actions .btn { width: 100%; }
    .hero-trust { gap: 10px 15px; }
    .hero-trust-item { font-size: .69rem; }
    .hero-social-proof { align-items: flex-start; text-align: left; }
    .hero-visual { min-height: 480px; margin-top: -15px; }
    .hero-visual-stage { width: 100%; }
    .hero-glow { width: 85%; }
    .cup-card { width: 235px; height: 315px; border-radius: 120px 120px 26px 26px; }
    .cup-illustration { transform: scale(.82); }
    .cup-card-label { margin-top: 15px; }
    .floating-card { min-width: 145px; padding: 10px 11px; }
    .floating-card-icon { width: 32px; height: 32px; }
    .floating-card-one { top: 55px; left: -3px; }
    .floating-card-two { right: -3px; bottom: 65px; }
    .logo-strip-inner { justify-content: flex-start; overflow-x: auto; padding-bottom: 3px; scrollbar-width: none; }
    .logo-strip-inner > span { flex: 0 0 auto; }
    .section-heading h1, .section-heading h2 { font-size: 2.4rem; }
    .step-card { padding: 25px; }
    .feature-visual { min-height: 450px; }
    .feature-visual::before { width: 330px; height: 330px; }
    .phone-mockup { width: 245px; }
    .phone-screen { min-height: 460px; }
    .feature-float.one { right: -2px; top: 55px; }
    .feature-float.two { left: -2px; bottom: 62px; }
    .premium-copy h2, .feature-copy h2 { font-size: 2.65rem; }
    .chat-preview { padding: 15px; }
    .faq-question { padding: 17px; font-size: .85rem; }
    .faq-answer p { padding: 0 17px 17px; }
    .cta-panel { padding: 35px 26px; border-radius: 27px; }
    .cta-panel .btn { width: 100%; }
    .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px 20px; }
    .footer-brand { grid-column: 1 / -1; }
    .footer-disclaimer { grid-column: 1 / -1; }
    .footer-bottom { flex-direction: column; gap: 6px; }
    .auth-section { padding: 15px 0 40px; }
    .auth-layout { min-height: 0; border-radius: 24px; }
    .auth-side { min-height: 330px; padding: 32px 27px; }
    .auth-side h1 { font-size: 2.55rem; }
    .auth-side::after { top: 30px; font-size: 130px; }
    .auth-card { padding: 33px 25px; }
    .dashboard-section { padding: 34px 0 65px; }
    .dashboard-hero { align-items: flex-start; flex-direction: column; margin-bottom: 22px; }
    .dashboard-hero h1 { font-size: 2.65rem; }
    .dashboard-hero .btn { width: 100%; }
    .dashboard-hero-actions { width: 100%; }
    .dashboard-banner { grid-template-columns: 1fr; padding: 23px; }
    .dashboard-banner .btn { width: 100%; }
    .stats-grid { gap: 10px; }
    .stat-card { min-height: 125px; padding: 17px; }
    .stat-card strong { font-size: 1.65rem; }
    .row-heading { align-items: flex-start; flex-direction: column; }
    .reading-toolbar { align-items: stretch; flex-direction: column; }
    .reading-card { grid-template-columns: 80px minmax(0,1fr); gap: 13px; padding: 11px; }
    .reading-thumb { width: 80px; height: 80px; }
    .reading-arrow { display: none; }
    .reading-topline { align-items: flex-start; justify-content: space-between; gap: 7px; }
    .reading-main > p { display: none; }
    .reading-meta { gap: 8px; }
    .member-footer { padding-bottom: 105px; }
    .member-footer .container { flex-direction: column; gap: 5px; }
    .mobile-bottom-nav { position: fixed; left: 10px; right: 10px; bottom: max(10px, env(safe-area-inset-bottom)); z-index: 110; height: 66px; display: grid; grid-template-columns: 1fr 1fr 1fr; align-items: center; padding: 7px 12px; border: 1px solid rgba(232,222,213,.9); border-radius: 21px; background: rgba(255,255,255,.93); box-shadow: 0 18px 50px rgba(43,24,18,.18); backdrop-filter: blur(16px); }
    .mobile-bottom-nav > a { display: grid; justify-items: center; gap: 3px; color: var(--muted); font-size: .58rem; font-weight: 700; }
    .mobile-bottom-nav > a .icon { width: 19px; height: 19px; }
    .mobile-bottom-nav > a.is-active { color: var(--primary); }
    .mobile-bottom-nav .bottom-nav-create { position: relative; top: -14px; }
    .bottom-nav-create > span { width: 49px; height: 49px; display: grid; place-items: center; border: 4px solid var(--bg); border-radius: 17px; color: #fff; background: linear-gradient(145deg, var(--primary-2), var(--primary-dark)); box-shadow: 0 9px 20px rgba(112,46,37,.3); }
    .bottom-nav-create small { font-size: .58rem; }
    .upload-form-card { padding: 23px 18px; }
    .upload-header { flex-direction: column; }
    .upload-steps { align-self: flex-start; }
    .upload-zone { min-height: 225px; padding: 25px 18px; }
    .preview-grid { grid-template-columns: repeat(2, 1fr); }
    .upload-guides { grid-template-columns: 1fr; }
    .detail-header { align-items: flex-start; flex-direction: column; padding: 20px; }
    .status-timeline { grid-template-columns: 1fr; gap: 14px; padding: 17px; }
    .status-step:not(:last-child)::after { left: 16px; right: auto; top: 33px; bottom: -14px; width: 2px; height: auto; }
    .detail-sidebar .panel-card { grid-template-columns: 1fr; }
    .detail-sidebar .panel-card > h3 { grid-column: auto; }
    .gallery-grid { grid-template-columns: repeat(4,1fr); }
    .waiting-card, .result-intro { padding: 32px 22px; }
    .result-card { grid-template-columns: 42px minmax(0,1fr) auto; padding: 17px; }
    .result-icon { width: 42px; height: 42px; }
    .result-card p { max-height: 0; overflow: hidden; opacity: 0; transition: max-height .35s var(--ease), opacity .25s ease, margin .25s ease; }
    .result-card.is-open p { max-height: 2000px; margin-top: 4px; opacity: 1; }
    .result-toggle { display: grid; }
    .result-card.is-open .result-toggle { transform: rotate(180deg); }
    .messages-panel { padding: 20px 16px; }
    .messages-head { align-items: flex-start; flex-direction: column; }
    .message-bubble { max-width: 88%; }
    .message-form-footer { align-items: stretch; flex-direction: column; }
    .message-form-footer .btn { width: 100%; }
    .premium-lock { flex-direction: column; }
    .profile-grid { gap: 12px; }
    .membership-card { align-items: flex-start; flex-direction: column; }
    .two-fields { grid-template-columns: 1fr; }
    .editor-submit { align-items: stretch; flex-direction: column; }
    .editor-submit .btn { width: 100%; }
    .lightbox { padding: 20px; }
    .admin-topbar { height: 64px; padding-inline: 13px; }
    .admin-topbar-title small { display: none; }
    .topbar-quick { display: none; }
    .admin-section { padding: 22px 0 45px; }
    .admin-section .container { width: min(calc(100% - 20px), 1320px); }
    .admin-hero { align-items: flex-start; flex-direction: column; }
    .admin-hero h1 { font-size: 1.65rem; }
    .admin-actions { width: 100%; }
    .admin-actions .btn { flex: 1; }
    .admin-stats { grid-template-columns: repeat(2,1fr); }
    .admin-stats .stat-card { min-height: 112px; }
    .filter-bar { align-items: stretch; flex-direction: column; }
    .search-field { min-width: 0; }
    .filter-bar select, .filter-bar .btn { width: 100%; }
    .data-card { overflow: visible; border: 0 !important; background: transparent; }
    .data-table-wrap { overflow: visible; }
    .data-table, .data-table tbody { display: grid; gap: 10px; }
    .data-table thead { display: none; }
    .data-table tr { display: grid; grid-template-columns: 1fr 1fr; gap: 9px; padding: 15px; border: 1px solid #e0e4e7; border-radius: 14px; background: #fff; }
    .data-table td { display: block; padding: 0; border: 0; }
    .data-table td::before { content: attr(data-label); display: block; margin-bottom: 3px; color: #9aa1a5; font-size: .53rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
    .data-table td:first-child::before { display: none; }
    .data-table td:first-child { grid-column: 1 / -1; padding-bottom: 9px; border-bottom: 1px solid #edf0f2; }
    .data-table td.align-right { grid-column: 1 / -1; padding-top: 9px; border-top: 1px solid #edf0f2; text-align: left; }
    .data-table .table-empty { grid-column: 1 / -1; }
    .admin-reading-layout { gap: 12px; }
    .admin-reading-sidebar { grid-template-columns: 1fr; }
    .admin-detail-header { align-items: flex-start; flex-direction: column; }
    .admin-detail-header .btn { width: 100%; }
    .user-admin-grid { gap: 12px; }
    .profile-stats { grid-template-columns: 1fr 1fr; }
    .profile-stats .stat-card:last-child { grid-column: 1 / -1; }
    .form-card, .panel-card { padding: 19px; }
    .admin-footer { flex-direction: column; gap: 3px; padding: 16px; }
}

@media (max-width: 390px) {
    .stats-grid { grid-template-columns: 1fr; }
    .stat-card { min-height: 105px; }
    .admin-stats, .profile-stats { grid-template-columns: 1fr; }
    .profile-stats .stat-card:last-child { grid-column: auto; }
    .floating-card { min-width: 130px; }
    .floating-card strong { font-size: .71rem; }
    .floating-card small { font-size: .59rem; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
    [data-reveal] { opacity: 1; transform: none; }
}
