@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,500;1,600&display=swap');:root{--bg:#f7f5f0;--ink:#201e1a;--muted:#817d74;--gold:#b18a4c;--line:#e7e2d8;--card:#fffefa}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:'DM Sans',sans-serif}
.ambient{position:fixed;inset:0;pointer-events:none;opacity:.25;background:radial-gradient(ellipse at 80% 0%,#eadfc9,transparent 35%),radial-gradient(ellipse at 0% 70%,#eee7d9,transparent 32%)}
.topbar{height:82px;display:flex;align-items:center;justify-content:space-between;padding:0 max(calc((100vw - 1160px)/2),5%);border-bottom:1px solid #e8e3d9;background:#faf9f5e8;backdrop-filter:blur(14px);position:sticky;top:0;z-index:5}
.brand{display:flex;align-items:center;gap:10px;text-decoration:none;color:var(--ink);font:19px 'Playfair Display';letter-spacing:2px}
.brand img{width:48px;height:48px;object-fit:cover;border-radius:50%;mix-blend-mode:multiply}
.brand small{display:block;font:8px 'DM Sans';letter-spacing:2px;color:var(--muted);margin-top:5px}
.topbar nav{display:flex;gap:28px;align-items:center}
.topbar nav a{font-size:13px;text-decoration:none;color:#777168}
.topbar nav a.active{color:#1b1916}
.topbar nav .nav-admin{border:1px solid #d8cbb4;padding:10px 15px;border-radius:30px;color:#6f542d}
.wrap{max-width:1160px;margin:auto;padding:0 28px;position:relative}
.hero{padding:92px 0 70px;max-width:760px;animation:rise .7s both}
.eyebrow{font-size:10px;letter-spacing:2.5px;font-weight:700;color:#9a7845;display:flex;align-items:center;gap:9px}
.eyebrow i{width:22px;height:1px;background:var(--gold)}h1,h2,h3{font-family:'Playfair Display',serif;font-weight:500}h1{font-size:clamp(42px,6vw,72px);line-height:1.08;letter-spacing:-2px;margin:20px 0}h1 em,.page-title em{color:var(--gold)}
.hero>p,.lead{color:#777168;line-height:1.8;max-width:530px;font-size:15px}
.hero-stats{display:flex;gap:52px;margin-top:43px}
.hero-stats div,.summary-strip div{display:flex;flex-direction:column;gap:5px}
.hero-stats strong,.summary-strip strong{font:30px 'Playfair Display'}
.hero-stats span,.summary-strip span{font-size:11px;color:var(--muted)}
.section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin:22px 0 25px}
.section-head h2{font-size:30px;margin:8px 0 0}
.searchbox{border:1px solid var(--line);background:#fffefa;border-radius:30px;padding:11px 16px;color:#a58b62;min-width:240px}
.searchbox input{border:0;outline:0;background:transparent;font:13px 'DM Sans';width:85%}
.story-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.story-card{background:var(--card);border:1px solid var(--line);border-radius:12px;overflow:hidden;transition:.3s;animation:rise .55s both}
.story-card:hover{transform:translateY(-5px);box-shadow:0 18px 40px #40331b12}
.cover{height:170px;background:linear-gradient(135deg,#29251f,#514532);display:flex;align-items:center;justify-content:center;color:#d7bc8d;font:italic 52px 'Playfair Display';position:relative}
.cover:before,.cover:after{content:'';position:absolute;border:1px solid #b69a6a55;border-radius:50%;width:210px;height:210px}
.cover:after{width:160px;height:160px}
.cover span{z-index:1}
.story-body{padding:22px}
.genre{font-size:9px;letter-spacing:1.7px;text-transform:uppercase;color:#a17d48;font-weight:700}
.story-body h3{font-size:23px;line-height:1.25;margin:11px 0}
.story-body p{font-size:12px;color:#817d74;line-height:1.7;min-height:42px}
.story-meta{display:flex;justify-content:space-between;border-top:1px solid var(--line);padding-top:15px;margin-top:18px;color:#777168;font-size:11px}
.story-meta b{color:#3b352a}
.btn{border:0;border-radius:30px;padding:12px 18px;font:600 12px 'DM Sans';cursor:pointer;transition:.2s}
.btn:hover{transform:translateY(-2px)}
.primary{background:#24211c;color:#fff}
.ghost{background:transparent;border:1px solid #d8d0c2;color:#554a39}
.vote-btn{width:100%;margin-top:17px}
.inner{padding-top:65px}
.page-title{font-size:clamp(40px,5vw,62px);margin-bottom:12px}
.summary-strip{display:flex;gap:70px;padding:28px 32px;background:#fffefa;border:1px solid var(--line);border-radius:12px;margin:35px 0 45px}
.summary-strip strong{font-size:34px}
.results{display:grid;gap:14px}
.result-card{background:#fffefa;border:1px solid var(--line);border-radius:10px;padding:20px 23px}
.result-top{display:flex;justify-content:space-between;gap:12px}
.result-top h3{font-size:20px;margin:0 0 8px}
.stars{color:#b18a4c;letter-spacing:2px}
.rating-num{font:22px 'Playfair Display'}
.vote-message{margin:14px 0 0;padding:12px 15px;background:#f8f5ee;border-radius:7px;color:#686157;font-size:13px;line-height:1.6}
.vote-by{font-size:11px;color:#8d877c;margin-top:10px}
.modal{position:fixed;inset:0;background:#171512a8;z-index:20;display:grid;place-items:center;padding:20px;backdrop-filter:blur(5px)}
.hidden{display:none!important}
.modal-card{background:#fffefa;width:min(100%,510px);max-height:92vh;overflow:auto;border-radius:16px;padding:34px;position:relative;animation:rise .3s both}
.close{position:absolute;right:20px;top:17px;border:0;background:none;font-size:28px;color:#8a8378;cursor:pointer}
.modal-card h2{font-size:31px;margin:12px 0 5px}
.muted{color:var(--muted);font-size:12px;line-height:1.6}form label{display:block;font-size:11px;font-weight:700;margin:17px 0 7px;color:#514b42}form input,form textarea,form select,.section-head select{width:100%;border:1px solid #e4ded3;background:#fff;border-radius:7px;padding:12px 13px;font:13px 'DM Sans';outline:none;color:#332f29}form input:focus,form textarea:focus{border-color:#b18a4c}
.two{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.rating{display:flex;gap:3px;flex-wrap:wrap}
.rating button{border:0;background:none;font-size:27px;color:#d9d3c8;cursor:pointer;padding:0 3px}
.rating button.selected{color:#b18a4c}
.rating-caption{display:flex;justify-content:space-between;margin-top:4px;color:#8b7654;font-size:11px}
.optional,.rating-caption small{color:#aaa195;font-size:10px}
.full{width:100%;margin-top:22px;padding:15px}
.full span{float:right}
.fineprint{text-align:center;color:#a39b90;font-size:10px;margin:12px 0 0}footer{border-top:1px solid var(--line);margin-top:80px;padding:25px 0 35px;color:#a29b90;font-size:10px}
.toast{position:fixed;bottom:24px;left:50%;transform:translate(-50%,20px);opacity:0;background:#24211c;color:white;padding:13px 20px;border-radius:30px;font-size:12px;z-index:50;transition:.25s;pointer-events:none}
.toast.show{opacity:1;transform:translate(-50%,0)}
.notice{padding:16px 19px;border:1px solid #e1d3b9;background:#f4eee2;border-radius:9px;color:#6c5b3d;font-size:12px;line-height:1.7;margin:28px 0}
.admin-layout{display:grid;grid-template-columns:190px 1fr;gap:28px;margin-top:35px}
.admin-side{display:flex;flex-direction:column;gap:8px}
.side-tab{text-align:left;padding:13px 15px;border:0;background:transparent;color:#777168;border-radius:7px;font:12px 'DM Sans';cursor:pointer}
.side-tab.active{background:#eae3d6;color:#4f3e24;font-weight:700}
.admin-content{background:#fffefa;border:1px solid var(--line);border-radius:12px;padding:25px;min-width:0}
.admin-content h2{font-size:27px;margin:0}
.admin-story{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:16px 0;border-bottom:1px solid var(--line)}
.admin-story h3{font-size:18px;margin:0 0 5px}
.admin-story p{font-size:11px;color:var(--muted);margin:0}
.mini-actions{display:flex;gap:7px}
.mini-actions button{border:1px solid var(--line);background:white;border-radius:20px;padding:7px 11px;font-size:10px;cursor:pointer}
.mini-actions .delete{color:#a24b3f}
.editor{background:#f8f6f1;border:1px solid var(--line);border-radius:10px;padding:22px;margin-top:22px}
.editor h3{font-size:24px;margin:0}
.actions{display:flex;justify-content:flex-end;gap:10px;margin-top:20px}
.backup-actions{display:flex;gap:10px;flex-wrap:wrap;margin:20px 0}
.file-label{display:inline-flex;align-items:center;cursor:pointer}
.file-label input{display:none}
.data-status{font-size:11px;color:var(--muted);margin:15px 0}
.json-preview{white-space:pre-wrap;word-break:break-all;max-height:240px;overflow:auto;background:#24211c;color:#e7d8b9;padding:16px;border-radius:8px;font-size:10px}
.admin-vote{padding:13px 0;border-bottom:1px solid var(--line);font-size:12px}
.admin-vote small{color:var(--muted)}
.empty{padding:35px;text-align:center;color:#9a9388;font-size:13px;border:1px dashed #dcd4c6;border-radius:10px}
.empty b{display:block;font:22px 'Playfair Display';color:#5c5140;margin-bottom:8px}@keyframes rise{from{opacity:0;transform:translateY(15px)}to{opacity:1;transform:translateY(0)}}
@media(max-width:760px){.topbar{height:70px;padding:0 17px}
.brand img{width:40px;height:40px}
.brand{font-size:15px}
.topbar nav{gap:13px}
.topbar nav a{font-size:11px}
.topbar nav .nav-admin{padding:8px 10px}
.wrap{padding:0 18px}
.hero{padding:65px 0 50px}
.hero-stats{gap:25px}
.hero-stats strong{font-size:25px}
.hero-stats span{font-size:9px}
.story-grid{grid-template-columns:repeat(2,1fr);gap:13px}
.cover{height:130px}
.story-body{padding:16px}
.story-body h3{font-size:19px}
.section-head{align-items:flex-start;flex-direction:column}
.searchbox{width:100%}
.summary-strip{gap:22px;padding:22px 18px;justify-content:space-between}
.summary-strip strong{font-size:27px}
.summary-strip span{font-size:9px}
.admin-layout{grid-template-columns:1fr;gap:12px}
.admin-side{flex-direction:row;overflow:auto}
.side-tab{white-space:nowrap}
.admin-content{padding:17px}
.admin-story{align-items:flex-start}
.mini-actions{flex-direction:column}
.modal-card{padding:28px 21px}
.result-card{padding:17px}
.two{gap:8px}}
@media(max-width:420px){.story-grid{grid-template-columns:1fr}
.cover{height:155px}
.topbar nav{gap:9px}
.topbar nav a{font-size:10px}
.brand small{font-size:7px}
.hero-stats{gap:18px}
.hero-stats strong{font-size:23px}
.summary-strip{gap:13px}
.summary-strip strong{font-size:24px}}
/* Logo baru dengan latar putih, tetap tampil utuh */
.brand{gap:0;letter-spacing:0}
.brand img{width:112px;height:70px;object-fit:contain;border-radius:0;mix-blend-mode:normal;display:block}
.brand span{display:none}
.theme-toggle{width:36px;height:36px;border:1px solid var(--line);border-radius:50%;background:var(--card);color:var(--ink);font-size:17px;cursor:pointer;display:grid;place-items:center;transition:.2s}
.theme-toggle:hover{transform:rotate(15deg);border-color:var(--gold)}
html[data-theme="dark"]{--bg:#171613;--ink:#f0ece4;--muted:#aaa295;--gold:#d0aa6d;--line:#39352d;--card:#24221d}
html[data-theme="dark"] body{background:var(--bg);color:var(--ink)}
html[data-theme="dark"] .ambient{opacity:.12}
html[data-theme="dark"] .topbar{background:#1b1a17ed;border-color:var(--line)}
html[data-theme="dark"] .topbar nav a{color:#bdb5a8}
html[data-theme="dark"] .topbar nav a.active{color:#fff}
html[data-theme="dark"] .story-card,html[data-theme="dark"] .result-card,html[data-theme="dark"] .summary-strip,html[data-theme="dark"] .admin-content,html[data-theme="dark"] .modal-card{background:var(--card);border-color:var(--line)}
html[data-theme="dark"] .story-body p,html[data-theme="dark"] .hero>p,html[data-theme="dark"] .lead,html[data-theme="dark"] .muted{color:#b1aa9e}
html[data-theme="dark"] .story-meta{border-color:var(--line);color:#b7afa2}
html[data-theme="dark"] .story-meta b,html[data-theme="dark"] .hero-stats strong,html[data-theme="dark"] .summary-strip strong{color:#f0ece4}
html[data-theme="dark"] .searchbox,html[data-theme="dark"] form input,html[data-theme="dark"] form textarea,html[data-theme="dark"] form select,html[data-theme="dark"] .section-head select{background:#1c1b18;border-color:var(--line);color:#eee8dc}
html[data-theme="dark"] .searchbox input{color:#eee8dc}
html[data-theme="dark"] .side-tab{color:#b8b0a4}
html[data-theme="dark"] .side-tab.active{background:#3a3328;color:#f2dfbd}
html[data-theme="dark"] .admin-story,html[data-theme="dark"] .admin-vote{border-color:var(--line)}
html[data-theme="dark"] .mini-actions button,html[data-theme="dark"] .ghost{background:#24221d;border-color:#51493b;color:#e4d6bd}
html[data-theme="dark"] .notice{background:#30291f;border-color:#625137;color:#e1c99f}
html[data-theme="dark"] .editor,html[data-theme="dark"] .vote-message{background:#302d26;border-color:var(--line);color:#d4ccbf}
html[data-theme="dark"] footer{border-color:var(--line)}
html[data-theme="dark"] .close{color:#d6cbbb}
html[data-theme="dark"] .rating button{color:#665f53}
html[data-theme="dark"] .rating button.selected{color:#d0aa6d}
html[data-theme="dark"] .empty{border-color:#51493b;color:#b2a99b}
html[data-theme="dark"] .empty b{color:#e5d9c6}
@media(max-width:760px){.brand img{width:88px;height:58px}
.theme-toggle{width:33px;height:33px;flex:0 0 33px}}

/* ===== Logo berlatar putih ===== */
.brand img{width:92px;height:69px;object-fit:contain;background:#fff;border:1px solid #eee8dd;border-radius:9px;padding:2px;mix-blend-mode:normal}
html[data-theme="dark"] .brand img{border-color:#d4c4aa;background:#fff}

/* ===== Thumbnail story: kartu dan panel admin ===== */
.cover.has-image{background:#e8ded0;overflow:hidden}
.cover.has-image:before,.cover.has-image:after{display:none}
.cover-image{display:block;width:100%;height:100%;object-fit:cover;object-position:center;position:absolute;inset:0}
.cover .cover-placeholder{position:relative;z-index:1}
.admin-story-main{display:flex;align-items:center;gap:14px;min-width:0}
.admin-story-cover{width:76px;height:68px;flex:0 0 76px;border-radius:9px;overflow:hidden;background:linear-gradient(130deg,#322a20,#a18a69);display:grid;place-items:center;color:#ffe6b6;font:italic 28px 'Playfair Display';border:1px solid #e6ded2}
.admin-story-cover img{width:100%;height:100%;object-fit:cover;display:block}
.admin-story-info{min-width:0}
.admin-story-info h3{overflow-wrap:anywhere}
.thumbnail-control{border:1px dashed #d4c5ac;border-radius:12px;padding:16px;background:#fffdf9;display:grid;grid-template-columns:minmax(160px,260px) 1fr;gap:17px;align-items:start}
.thumbnail-preview{aspect-ratio:16/9;min-height:145px;background:linear-gradient(130deg,#29251f,#68543a);border-radius:9px;overflow:hidden;position:relative;display:flex;align-items:center;justify-content:center;text-align:center;color:#eddbb8}
.thumbnail-preview img{display:block;width:100%;height:100%;object-fit:cover;position:absolute;inset:0}
.thumbnail-placeholder{display:grid;gap:8px;place-items:center;padding:12px;line-height:1.5;font-size:11px}
.thumbnail-placeholder strong{font:italic 29px 'Playfair Display'}
.thumbnail-controls{display:flex;flex-direction:column;gap:10px;align-items:flex-start}
.thumbnail-controls .btn{display:inline-flex;align-items:center;justify-content:center}
.thumbnail-controls input[type=file]{width:100%;padding:10px;background:#fff;font-size:11px}
.thumbnail-hint{margin:0;line-height:1.6;color:var(--muted);font-size:11px}
.thumbnail-status{font-size:11px;line-height:1.6;color:#917142;margin:0;overflow-wrap:anywhere}
.thumbnail-error{color:#a24b3f}
.editor button:disabled{opacity:.5;cursor:not-allowed;transform:none}
#storyEditor{scroll-margin-top:105px}
html[data-theme="dark"] .thumbnail-control{background:#29261f;border-color:#594c39}
html[data-theme="dark"] .thumbnail-controls input[type=file]{background:#23211d;color:#ede3d4;border-color:#4c4134}
html[data-theme="dark"] .admin-story-cover{border-color:#554937}
@media(max-width:760px){.brand img{width:80px;height:57px}
.thumbnail-control{grid-template-columns:1fr}
.thumbnail-preview{max-width:380px}
.admin-story-cover{width:60px;height:60px;flex-basis:60px}
.admin-story-main{gap:9px}}
@media(max-width:420px){.admin-story{flex-wrap:wrap}
.mini-actions{flex-direction:row;margin-left:70px}}

/* ===== Beranda brand / identitas Lapak Fiksi ===== */
a{color:inherit}
.btn-link{display:inline-flex;align-items:center;justify-content:center;gap:15px;text-decoration:none;text-align:center}
.btn-link:hover{transform:translateY(-2px)}
.brand-hero{display:grid;grid-template-columns:1.08fr .92fr;gap:64px;align-items:center;min-height:650px;padding:77px 0 83px}
.brand-hero-copy{animation:rise .7s both}
.brand-hero h1{font-size:clamp(45px,5.6vw,74px);line-height:1.1;max-width:660px;margin:22px 0 27px}
.brand-hero-copy>p{font-size:14px;line-height:1.95;color:var(--muted);max-width:550px;margin:0 0 15px}
.brand-actions{display:flex;align-items:center;gap:25px;flex-wrap:wrap;margin-top:30px}
.brand-actions .btn{padding:15px 23px}
.brand-text-link,.back-link{font-size:12px;text-decoration:none;color:var(--gold);font-weight:700}
.brand-text-link:hover,.back-link:hover{text-decoration:underline}
.brand-mini-stats{display:flex;gap:45px;margin-top:49px;padding-top:23px;border-top:1px solid var(--line)}
.brand-mini-stats div{display:flex;flex-direction:column;gap:6px}
.brand-mini-stats strong{font:32px 'Playfair Display';color:var(--ink)}
.brand-mini-stats span{font-size:11px;color:var(--muted)}
.brand-art{background:linear-gradient(150deg,#efe6d7 0%,#f7f2e9 60%,#e8ddca 100%);border:1px solid #dcd2bf;border-radius:190px 190px 22px 22px;padding:42px 28px 22px;min-height:500px;display:flex;flex-direction:column;justify-content:center;box-shadow:15px 25px 70px #42301d14;position:relative;animation:rise .85s .09s both}
.brand-art:before{content:'✧';position:absolute;top:55px;right:46px;color:#b18a4c;font-size:27px}
.brand-art-inner{display:flex;justify-content:center;align-items:center;max-width:420px;margin:auto;background:#fff;border-radius:190px 190px 16px 16px;box-shadow:0 15px 42px #6b523b16;overflow:hidden}
.brand-art-inner img{width:100%;height:auto;display:block;object-fit:contain}
.brand-art-note{text-align:center;font:italic 14px 'Playfair Display';color:#8c724e;letter-spacing:.5px;margin-top:24px}
.brand-about{padding:75px 0 83px;border-top:1px solid var(--line);border-bottom:1px solid var(--line);scroll-margin-top:95px}
.brand-about-grid{display:grid;grid-template-columns:.85fr 1.15fr;gap:75px;align-items:start;margin-top:20px}
.brand-about-grid h2{font-size:clamp(33px,4vw,52px);line-height:1.18;margin:0}
.brand-about-grid h2 em,.brand-how h2 em,.brand-cta h2 em{color:var(--gold)}
.brand-about-grid p{font-size:14px;color:var(--muted);line-height:2;margin:0 0 18px}
.brand-values{padding:80px 0 88px}
.brand-values .section-head{margin-top:0;margin-bottom:29px}
.value-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.value-card{padding:36px 29px 30px;border:1px solid var(--line);border-radius:14px;background:var(--card)}
.value-icon{width:53px;height:53px;border:1px solid #e5d2b7;border-radius:50%;display:grid;place-items:center;color:var(--gold);font-size:28px}
.value-card h3{font-size:23px;margin:23px 0 12px}
.value-card p{font-size:12px;line-height:1.85;color:var(--muted);margin:0}
.brand-how{padding:74px 0 84px;display:grid;grid-template-columns:.8fr 1.2fr;gap:70px;border-top:1px solid var(--line)}
.brand-how h2{font-size:clamp(32px,3.4vw,44px);line-height:1.25;margin:20px 0}
.steps-grid{display:grid;gap:4px}
.step{display:flex;gap:20px;border-bottom:1px solid var(--line);padding:12px 0 24px;margin-bottom:10px}
.step>span{font:italic 24px 'Playfair Display';color:var(--gold);padding-top:4px}
.step h3{font-size:19px;margin:0 0 7px}
.step p{font-size:12px;color:var(--muted);line-height:1.85;margin:0}
.brand-cta{text-align:center;border-radius:20px;background:linear-gradient(115deg,#2e281e,#4c3c29);color:#fff;padding:61px 24px 66px;margin-top:4px}
.brand-cta .eyebrow{display:block;color:#cfad75}
.brand-cta h2{font-size:clamp(30px,4.3vw,49px);margin:16px auto 14px;max-width:660px}
.brand-cta p{font-size:13px;color:#e1d7c6;line-height:1.8;margin:0 auto 28px;max-width:540px}
.brand-cta .primary{background:#f2e7d2;color:#302719}

/* ===== Daftar cerita / voting ===== */
.catalog-filters{display:flex;gap:12px;align-items:center}
.catalog-filters .searchbox{min-width:310px;display:flex;align-items:center;gap:9px;padding:10px 16px}
.catalog-filters .searchbox input{width:100%;min-width:0}
.catalog-filters select{width:auto;min-width:155px;background:var(--card);border:1px solid var(--line);padding:11px 14px;border-radius:22px;color:var(--ink);font:12px 'DM Sans';cursor:pointer}
.story-cover-link{display:block;text-decoration:none}
.story-card .btn-link{width:100%;margin-top:17px}
.catalog-empty{grid-column:1/-1}
.catalog-bottom-link{text-align:center;margin:37px 0 0;font-size:12px;color:var(--muted)}
.catalog-bottom-link a{color:var(--gold);font-weight:700;text-decoration:none}

/* ===== Halaman vote khusus satu judul ===== */
.back-link{display:inline-flex;margin-bottom:34px}
.vote-detail{display:grid;grid-template-columns:1.04fr .96fr;gap:55px;align-items:start}
.vote-story .eyebrow{margin-bottom:22px}
.detail-cover{border:1px solid var(--line);border-radius:14px;overflow:hidden;background:#30291f;max-height:380px}
.detail-cover-visual{height:345px;background:linear-gradient(130deg,#29251f,#514532);position:relative;display:flex;justify-content:center;align-items:center;color:#d7bc8d;font:italic 80px 'Playfair Display'}
.detail-cover-visual:before,.detail-cover-visual:after{content:'';border:1px solid #b69a6a55;border-radius:50%;height:280px;width:280px;position:absolute}
.detail-cover-visual:after{height:215px;width:215px}
.detail-cover-visual.has-image:before,.detail-cover-visual.has-image:after{display:none}
.detail-cover-visual .cover-placeholder{z-index:1}
.vote-story .genre{margin-top:27px}
.detail-title{font-size:clamp(35px,4.2vw,56px);margin:13px 0 13px;line-height:1.13}
.detail-author{font-size:12px;color:var(--gold);font-weight:700;margin:0 0 19px}
.detail-synopsis{font-size:14px;line-height:1.95;color:var(--muted);white-space:pre-wrap}
.detail-vote-stats{display:flex;gap:42px;padding:21px 0;margin:26px 0 13px;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}
.detail-vote-stats>div{display:flex;flex-direction:column;gap:5px}
.detail-vote-stats strong{font:29px 'Playfair Display'}
.detail-vote-stats span{font-size:11px;color:var(--muted)}
.vote-form-panel{background:var(--card);border:1px solid var(--line);padding:33px;border-radius:16px;position:sticky;top:110px;box-shadow:0 16px 38px #30241c0a}
.vote-form-panel h2{font-size:34px;margin:12px 0 6px}
.vote-form-panel .rating{margin-top:8px}
.vote-success{padding:24px;border:1px solid #d8c6a7;border-radius:12px;background:#f7f0e3;color:#62502d;margin-top:25px}
.vote-success strong{font:24px 'Playfair Display';display:block}
.vote-success p{font-size:12px;line-height:1.8;margin:12px 0 20px}
.vote-not-found{margin-top:20px;padding:55px}
.result-story-link{display:inline-block;text-decoration:none;color:var(--gold);font-size:11px;font-weight:700;margin-top:15px}
.rating-num small{font:11px 'DM Sans';color:#999}

html[data-theme="dark"] .brand-art{background:linear-gradient(145deg,#403629,#231f1a);border-color:#5d4d38}
html[data-theme="dark"] .brand-art-note{color:#d0ac76}
html[data-theme="dark"] .value-card,html[data-theme="dark"] .vote-form-panel{background:var(--card);border-color:var(--line)}
html[data-theme="dark"] .catalog-filters select{background:var(--card);color:var(--ink);border-color:var(--line)}
html[data-theme="dark"] .vote-success{background:#352d20;color:#e6d3ae;border-color:#68573d}
html[data-theme="dark"] .detail-cover{border-color:var(--line)}
html[data-theme="dark"] .brand-cta{border:1px solid #65543a}
html[data-theme="dark"] form label{color:#d7cbbb}

@media(max-width:970px){
  .brand-hero{gap:35px;min-height:0;padding:65px 0}
  .brand-art{min-height:420px;padding:25px 20px 20px}
  .brand-about-grid,.brand-how{gap:35px}
  .catalog-filters .searchbox{min-width:220px}
  .vote-detail{gap:28px}
}
@media(max-width:760px){
  .brand-hero{grid-template-columns:1fr;padding:55px 0 65px;gap:32px}
  .brand-hero h1{font-size:clamp(40px,9vw,60px)}
  .brand-art{min-height:0;max-width:510px;width:100%;margin:auto;border-radius:22px;padding:26px}
  .brand-art-inner{border-radius:15px;max-width:350px}
  .brand-about{padding:60px 0}
  .brand-about-grid,.brand-how{grid-template-columns:1fr;gap:20px}
  .value-grid{grid-template-columns:1fr;gap:12px}
  .value-card{padding:23px}
  .value-icon{width:42px;height:42px;font-size:23px}
  .value-card h3{margin:14px 0 8px}
  .brand-values{padding:60px 0}
  .brand-how{padding:55px 0;gap:5px}
  .brand-cta{padding:40px 18px}
  .catalog-filters{width:100%}
  .catalog-filters .searchbox{flex:1;min-width:0}
  .catalog-filters select{min-width:140px}
  .vote-detail{grid-template-columns:1fr;gap:35px}
  .vote-form-panel{position:static;padding:25px}
  .detail-cover-visual{height:285px}
}
@media(max-width:480px){
  .topbar nav{gap:8px}
  .topbar nav a{font-size:10px}
  .brand-actions{gap:18px}
  .brand-mini-stats{gap:27px}
  .catalog-filters{flex-direction:column;align-items:stretch}
  .catalog-filters .searchbox{width:100%;min-width:0}
  .catalog-filters select{width:100%}
  .detail-cover-visual{height:220px}
  .vote-form-panel{padding:20px 17px}
}
@media(max-width:360px){
  .topbar{padding:0 10px}
  .topbar nav{gap:5px}
  .topbar nav a{font-size:9px}
  .brand img{width:64px;height:50px}
  .theme-toggle{width:29px;height:29px;flex-basis:29px}
  .summary-strip{gap:7px;padding:18px 11px}
  .summary-strip strong{font-size:22px}
}

/* ===== Sampul portrait: SELURUH gambar selalu terlihat, tanpa cropping ===== */
.story-card .cover { height:auto; aspect-ratio:2/3; overflow:hidden; }
.cover.has-image, .detail-cover-visual.has-image { background:#eee9df; }
.cover-image { position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center; }
.admin-story-cover { width:64px;height:96px;flex:0 0 64px; background:#eee9df; }
.admin-story-cover img { width:100%;height:100%;object-fit:contain;object-position:center; }
.thumbnail-control { grid-template-columns:minmax(165px,245px) 1fr; }
.thumbnail-preview { aspect-ratio:2/3;max-width:250px;min-height:280px;background:#eee9df; }
.thumbnail-preview img { position:absolute;inset:0;width:100%;height:100%;object-fit:contain;object-position:center; }
.detail-cover { max-height:none;background:#eee9df; }
.detail-cover-visual { height:auto;aspect-ratio:2/3;max-height:none; }
.detail-cover-visual .cover-image { object-fit:contain; }
.detail-cover-visual.has-image:before,.detail-cover-visual.has-image:after { display:none; }
html[data-theme="dark"] .cover.has-image,
html[data-theme="dark"] .detail-cover-visual.has-image,
html[data-theme="dark"] .thumbnail-preview,
html[data-theme="dark"] .admin-story-cover { background:#292722; }
.admin-account { display:flex;gap:8px;align-items:center;justify-content:flex-end;margin:0 0 22px;font-size:12px;color:var(--muted); }
.admin-account .btn { padding:7px 15px;font-size:11px; }
.login-page { min-height:70vh;display:grid;place-items:center;padding-top:65px;padding-bottom:60px; }
.login-panel { width:min(100%,455px);padding:42px;background:var(--card);border:1px solid var(--line);border-radius:18px;box-shadow:0 25px 65px #42341e12; }
.login-panel h1 { font-size:42px;margin:15px 0; }
.login-panel h1 em { color:var(--gold); }
.login-panel .muted { line-height:1.75;font-size:12px;margin-bottom:25px; }
.login-panel form { display:flex;flex-direction:column; }
.login-panel label { font-weight:600;font-size:12px;margin-top:11px;margin-bottom:6px; }
.login-panel input { width:100%; }
.login-panel button[type="submit"] { margin-top:23px; }
.login-panel .back-link { margin:18px 0 0; }
.login-error { min-height:20px;color:#ab453b;font-size:12px;margin-top:13px;line-height:1.5; }
@media(max-width:760px) {
  .thumbnail-control { grid-template-columns:1fr; }
  .thumbnail-preview { max-width:250px; }
  .login-panel { padding:28px 22px; }
}
/* Logo juga ditampilkan lengkap, bukan terpotong. */
.brand img { object-fit:contain;mix-blend-mode:normal;background:#fff; }
