*{box-sizing:border-box;margin:0;padding:0}
:root{
  --bg:#030711;--bg2:#070d19;--panel:rgba(7,14,27,.82);--gold:#e7aa31;--gold2:#ffd66a;
  --text:#f7f4ed;--muted:#aeb5c3;--line:rgba(231,170,49,.34);--blue:#8ca7d8;
  --serif:"Cormorant Garamond",Georgia,serif;--sans:"DM Sans",Arial,sans-serif;
}
html{scroll-behavior:smooth}
body{background:var(--bg);color:var(--text);font-family:var(--sans);line-height:1.55;overflow-x:hidden}
a{color:inherit;text-decoration:none}
button,input{font:inherit}
.site-header{height:82px;position:fixed;z-index:50;top:0;left:0;right:0;display:flex;align-items:center;gap:32px;padding:10px 28px;background:rgba(2,6,14,.91);backdrop-filter:blur(18px);border-bottom:1px solid rgba(231,170,49,.18)}
.brand{width:250px;height:60px;display:flex;align-items:center;flex:none}
.brand img{width:190px;height:58px;object-fit:contain;object-position:left center;border-radius:2px;mix-blend-mode:screen}
.desktop-nav{display:flex;align-items:center;justify-content:center;gap:29px;flex:1}
.desktop-nav a{color:#b7bdca;font-size:14px;position:relative;padding:24px 0 21px}
.desktop-nav a:hover,.desktop-nav a.active{color:var(--gold2)}
.desktop-nav a.active:after{content:"";position:absolute;left:50%;bottom:9px;width:36px;height:2px;transform:translateX(-50%);background:var(--gold);box-shadow:0 0 14px rgba(231,170,49,.75)}
.header-actions{display:flex;align-items:center;gap:18px}
.search-box{width:300px;flex:0 0 300px;height:42px;border:1px solid rgba(231,170,49,.28);border-radius:6px;background:rgba(4,10,20,.72);display:flex;align-items:center;padding:0 13px;gap:5px;color:#7e899b}
.search-box input{border:0;outline:0;background:transparent;color:white;width:100%;min-width:0;font-size:13px}.search-box{position:relative}
.search-suggestions{
  position:absolute;
  top:calc(100% + 8px);
  left:0;
  right:0;
  width:100%;
  min-width:0;
  background:#07101d;
  border:1px solid rgba(231,170,49,.35);
  border-radius:8px;
  box-shadow:0 18px 45px rgba(0,0,0,.5);
  overflow:hidden;
  z-index:1000;
}
.search-suggestion{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:11px 13px;
  color:#f2f3f5;
  text-decoration:none;
  border-bottom:1px solid rgba(255,255,255,.06);
}
.search-suggestion:hover{background:rgba(231,170,49,.09)}
.search-suggestion span{display:flex;flex-direction:column;min-width:0}
.search-suggestion strong{font-size:13px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.search-suggestion small{color:#9ba6b8;font-size:10px;margin-top:2px}
.search-suggestion b{font-size:9px;color:#c6ceda;font-weight:500;white-space:nowrap}
.search-suggestion-empty{padding:15px;color:#9ba6b8;font-size:12px}
.search-see-all{
  display:block;
  padding:12px 13px;
  text-align:center;
  color:#e7aa31;
  font-weight:700;
  font-size:12px;
  text-decoration:none;
  background:rgba(231,170,49,.04);
}
.search-see-all:hover{background:rgba(231,170,49,.1)}

.search-box input::placeholder{color:#7f899a}
.text-btn,.menu-btn{background:none;border:0;color:#d7d9df;cursor:pointer}
.gold-btn,.outline-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:52px;padding:0 28px;border-radius:7px;font-weight:700;transition:.25s ease;cursor:pointer}
.gold-btn{background:linear-gradient(135deg,#ffd05a,#c98c18);color:#100d08;border:1px solid #eab23d;box-shadow:0 8px 28px rgba(201,140,24,.22)}
.binocular-icon{width:25px;height:19px;display:block;flex:none}
.gold-btn:hover{transform:translateY(-2px);filter:brightness(1.06);box-shadow:0 12px 34px rgba(231,170,49,.32)}
.gold-btn.small{min-height:42px;padding:0 22px;border-radius:7px}
.outline-btn{border:1px solid rgba(231,170,49,.72);background:rgba(2,8,17,.55);color:#fff}
.outline-btn:hover{background:rgba(231,170,49,.12);transform:translateY(-2px)}
.menu-btn{display:none;font-size:25px}

.hero{height:760px;min-height:680px;position:relative;overflow:hidden;padding-top:82px}
.hero-image{position:absolute;inset:0;background-image:url("assets/hero.png");background-size:cover;background-position:center 48%;transform:scale(1.015)}
.hero-vignette{position:absolute;inset:0;background:linear-gradient(90deg,rgba(2,5,10,.86) 0%,rgba(2,5,10,.48) 38%,rgba(2,5,10,.12) 68%),linear-gradient(180deg,rgba(1,5,12,.45),rgba(1,5,12,.08) 45%,#030711 100%)}
.hero-content{position:relative;z-index:3;max-width:670px;margin-left:max(5vw,58px);padding-top:145px}
.eyebrow,.section-kicker{font-size:12px;font-weight:700;letter-spacing:3px;color:var(--gold2)}
.eyebrow{display:flex;gap:12px;align-items:center;margin-bottom:26px}
.eyebrow span{font-size:17px}
.hero h1{font-family:var(--serif);font-size:68px;line-height:1.02;font-weight:600;letter-spacing:-1.8px}
.hero h1 em,.writers h2 em{color:var(--gold2);font-style:normal}
.ornament{display:flex;align-items:center;justify-content:center;gap:10px;margin:26px 0 20px}
.ornament i{display:block;width:90px;height:1px;background:linear-gradient(90deg,transparent,var(--gold))}
.ornament i:last-child{background:linear-gradient(90deg,var(--gold),transparent)}
.ornament span{color:var(--gold);font-size:15px}
.ornament.left{justify-content:flex-start;margin:12px 0 18px}
.ornament.left i{width:55px}
.hero-copy{max-width:600px;color:#f0eee9;font-size:18px;line-height:1.6}
.hero-buttons{display:flex;gap:18px;margin-top:25px}
.meteor-layer{position:absolute;z-index:2;inset:0;overflow:hidden;pointer-events:none}
.meteor{position:absolute;top:-10%;left:var(--x);width:var(--w);height:2px;border-radius:50%;background:linear-gradient(90deg,transparent,var(--gold2),#fff);filter:drop-shadow(0 0 5px #ffbd39);opacity:0;transform:rotate(var(--r));animation:meteor var(--d) linear infinite;animation-delay:var(--delay)}
@keyframes meteor{0%{opacity:0;transform:translate3d(0,0,0) rotate(var(--r)) scaleX(.25)}8%{opacity:1}55%{opacity:.95}100%{opacity:0;transform:translate3d(520px,520px,0) rotate(var(--r)) scaleX(1)}}

.feature-strip{position:relative;z-index:5;max-width:calc(100% - 52px);margin:-10px auto 0;border:1px solid var(--line);background:rgba(3,8,17,.94);border-radius:13px;display:grid;grid-template-columns:repeat(4,1fr);overflow:hidden;box-shadow:0 22px 70px rgba(0,0,0,.32)}
.feature{padding:24px 25px;display:flex;gap:18px;align-items:center;min-height:112px}
.feature+.feature{border-left:1px solid rgba(231,170,49,.23)}
.feature-icon{width:58px;height:58px;border:1px solid var(--gold);border-radius:50%;display:grid;place-items:center;color:var(--gold2);font-size:28px;flex:none;box-shadow:inset 0 0 18px rgba(231,170,49,.06)}
.feature h3{font-family:var(--serif);font-size:23px;line-height:1.05;margin-bottom:6px}
.publish-icon{
  position:relative;
  overflow:visible;
  isolation:isolate;
  transition:transform .22s ease;
}
.publish-icon:hover{
  transform:scale(1.09);
}
.publish-paper{
  position:absolute;
  width:22px;
  height:28px;
  left:16px;
  top:15px;
  border:1.5px solid #f0c867;
  border-radius:2px;
  background:linear-gradient(145deg,#1b2231,#0f1725);
  transform:rotate(-7deg);
  box-shadow:0 0 6px rgba(243,207,112,.14);
}
.publish-paper::before{
  content:"";
  position:absolute;
  left:5px;
  top:6px;
  width:11px;
  height:1px;
  background:rgba(243,207,112,.65);
  box-shadow:0 5px 0 rgba(243,207,112,.42),0 10px 0 rgba(243,207,112,.25);
}
.publish-pen{
  position:absolute;
  width:7px;
  height:31px;
  left:34px;
  top:12px;
  border-radius:5px;
  border:1px solid #f0c867;
  background:linear-gradient(180deg,#f3d47a,#a86d1c);
  transform:rotate(38deg);
  box-shadow:0 0 7px rgba(243,207,112,.18);
}
.publish-pen::after{
  content:"";
  position:absolute;
  bottom:-5px;
  left:1px;
  width:4px;
  height:7px;
  background:#f0c867;
  clip-path:polygon(50% 100%,0 0,100% 0);
}
.publish-spark{
  position:absolute;
  color:#f6d57a;
  font-size:10px;
  line-height:1;
  text-shadow:0 0 7px rgba(243,207,112,.7);
}
.spark-one{top:10px;right:11px}
.spark-two{top:32px;right:7px;font-size:7px}
@media(prefers-reduced-motion:reduce){
  .publish-icon{transition:none}
}

.adaptation-icon{
  position:relative;
  overflow:hidden;
  background:radial-gradient(circle at 50% 50%,rgba(231,170,49,.08),transparent 62%);
  transition:transform .22s ease;
}
.adaptation-icon:hover{transform:scale(1.09)}
.adaptation-frame{width:25px;height:31px;border:1.5px solid #f0c867;border-radius:4px;transform:perspective(40px) rotateY(-12deg);opacity:.92}
.adaptation-spark{position:absolute;right:9px;top:9px;font-size:13px;line-height:1;background:#030811;padding:1px;color:#f6d57a}

.books-icon{
  position:relative;
  overflow:visible;
  isolation:isolate;
  transition:transform .22s ease;
}
.books-icon:hover{transform:scale(1.09)}
.book{
  position:absolute;
  width:27px;
  height:18px;
  border:1.5px solid #f0c867;
  border-radius:2px 4px 4px 2px;
  background:linear-gradient(135deg,#151b2a,#29212a);
  box-shadow:inset 2px 0 0 rgba(243,207,112,.32),0 0 5px rgba(243,207,112,.18);
}
.book::after{
  content:"";
  position:absolute;
  left:5px;
  right:4px;
  top:4px;
  height:1px;
  background:rgba(243,207,112,.62);
  box-shadow:0 4px 0 rgba(243,207,112,.32);
}
.book-back{top:13px;left:16px;transform:rotate(-3deg)}
.book-middle{top:20px;left:14px;transform:rotate(2deg)}
.book-front{top:27px;left:17px;transform:rotate(-2deg);background:linear-gradient(135deg,#29212a,#101828)}
@media(prefers-reduced-motion:reduce){.books-icon{transition:none}}

.solar-icon{
  position:relative;
  overflow:visible;
  isolation:isolate;
  transition:transform .22s ease;
}
.solar-icon:hover{
  transform:scale(1.09);
}
.solar-orbit{
  position:absolute;
  left:50%;
  top:50%;
  border:1px solid rgba(231,190,84,.7);
  border-radius:50%;
  transform:translate(-50%,-50%) rotate(-18deg);
  pointer-events:none;
}
.orbit-one{width:29px;height:16px}
.orbit-two{width:38px;height:22px}
.orbit-three{width:48px;height:29px;border-color:rgba(231,190,84,.5)}
.solar-sun{
  position:absolute;
  width:12px;
  height:12px;
  left:50%;
  top:50%;
  transform:translate(-50%,-50%);
  border-radius:50%;
  background:radial-gradient(circle at 35% 30%,#fff0a2 0 18%,#f0bd45 45%,#bd751c 100%);
  box-shadow:0 0 8px rgba(255,211,103,.9),0 0 17px rgba(231,170,49,.5);
}
.solar-planet{
  position:absolute;
  border-radius:50%;
  background:#d8a942;
  box-shadow:0 0 5px rgba(231,190,84,.55);
}
.planet-one{width:4px;height:4px;left:17px;top:20px}
.planet-two{width:6px;height:6px;left:31px;top:14px;background:#9e7b50}
.planet-three{width:5px;height:5px;left:37px;top:32px;background:#c98c45}

}
}
}

.feature p{font-size:13px;color:#aeb8ca;line-height:1.45}

.content-grid{max-width:calc(100% - 52px);margin:14px auto 0;display:grid;grid-template-columns:1.08fr .92fr;gap:14px}
.panel{border:1px solid rgba(231,170,49,.28);border-radius:13px;background:linear-gradient(145deg,rgba(5,11,22,.96),rgba(3,8,17,.9));min-height:410px}
.top-authors{padding:26px 31px}

.author-periods{
  display:flex;
  align-items:center;
  gap:8px;
  margin:0 0 14px;
}
.author-period-btn{
  min-height:32px;
  padding:0 14px;
  border:1px solid rgba(231,170,49,.22);
  border-radius:18px;
  background:rgba(4,10,20,.55);
  color:#8994a7;
  font-size:12px;
  cursor:pointer;
  transition:.2s ease;
}
.author-period-btn:hover{
  color:#e9d38b;
  border-color:rgba(231,170,49,.48);
}
.author-period-btn.active{
  color:#171109;
  background:linear-gradient(135deg,#ffd05a,#c98c18);
  border-color:#eab23d;
  font-weight:700;
}
.author-period-btn.goat-btn{
  position:relative;
  border-color:rgba(232,190,84,.5);
  color:#e8c96d;
  padding:0 16px;
  background:
    radial-gradient(circle at 50% 35%,rgba(255,215,106,.14),transparent 58%),
    linear-gradient(135deg,rgba(56,34,8,.9),rgba(10,13,22,.95));
  box-shadow:inset 0 0 10px rgba(231,170,49,.06),0 0 8px rgba(231,170,49,.08);
  letter-spacing:1px;
}
.author-period-btn.goat-btn span{
  font-size:11px;
  margin-right:5px;
  color:#ffd96d;
  transition:color .2s ease;
}
.author-period-btn.goat-btn strong{
  font-weight:800;
  letter-spacing:.6px;
}
.author-period-btn.goat-btn.active .goat-crown{
  color:#6fa6c7;
}
.author-period-btn.goat-btn.active{
  color:#171109;
  background:linear-gradient(135deg,#ffe58a,#d79a25);
  box-shadow:0 5px 18px rgba(231,170,49,.2);
}
.top-authors-empty{
  height:315px;
  border:1px dashed rgba(231,170,49,.25);
  border-radius:10px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:28px;
  background:radial-gradient(circle at 50% 35%,rgba(231,170,49,.06),transparent 48%);
}
.top-authors-empty h3{
  font-family:var(--serif);
  font-size:25px;
  margin-bottom:8px;
}
.top-authors-empty p{
  max-width:500px;
  color:#9da8ba;
  font-size:14px;
}

.trending{padding:26px 31px}
.section-head{display:flex;justify-content:space-between;align-items:flex-end;margin-bottom:18px}
.section-head h2,.writers h2,.early-card h2{font-family:var(--serif);font-size:31px;line-height:1}
.view-all{color:var(--gold2);font-size:14px}
.trending-periods{
  display:flex;
  align-items:center;
  gap:8px;
  margin:0 0 14px;
}
.period-btn{
  min-height:32px;
  padding:0 14px;
  border:1px solid rgba(231,170,49,.22);
  border-radius:18px;
  background:rgba(4,10,20,.55);
  color:#8994a7;
  font-size:12px;
  cursor:pointer;
  transition:.2s ease;
}
.period-btn:hover{
  color:#e9d38b;
  border-color:rgba(231,170,49,.48);
}
.period-btn.active{
  color:#171109;
  background:linear-gradient(135deg,#ffd05a,#c98c18);
  border-color:#eab23d;
  font-weight:700;
}

.view-all b{font-size:20px}
.latest-arrivals{
  max-width:calc(100% - 52px);
  margin:14px auto 0;
  padding:26px 31px;
  min-height:410px;
}
.latest-arrivals-empty{
  min-height:315px;
  border:1px dashed rgba(231,170,49,.25);
  border-radius:10px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:28px;
  background:radial-gradient(circle at 50% 35%,rgba(231,170,49,.06),transparent 48%);
}
.latest-arrivals-empty h3{
  font-family:var(--serif);
  font-size:25px;
  margin-bottom:8px;
}
.latest-arrivals-empty p{
  max-width:650px;
  color:#9da8ba;
  font-size:14px;
}
.empty-library{height:315px;border:1px dashed rgba(231,170,49,.25);border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;text-align:center;padding:28px;background:radial-gradient(circle at 50% 35%,rgba(231,170,49,.06),transparent 48%)}
.empty-star{font-size:28px;color:var(--gold2);margin-bottom:10px}
.empty-library h3{font-family:var(--serif);font-size:25px;margin-bottom:8px}
.empty-library p{max-width:500px;color:#9da8ba;font-size:14px;margin-bottom:20px}
.empty-library .gold-btn{min-height:44px;padding:0 20px;font-size:13px}

.writers{position:relative;overflow:hidden;display:grid;grid-template-columns:1fr 1.05fr}
.writer-copy{padding:29px 30px;position:relative;z-index:3}
.writers h2{font-size:40px;margin-top:10px}
.writer-copy>p:not(.section-kicker){color:#c3cad7;font-size:15px;max-width:430px}
.writer-actions{display:flex;align-items:center;gap:20px;margin-top:24px}
.link-btn{color:var(--gold2);font-size:14px}
.writer-art{min-height:410px;position:relative;overflow:hidden;order:2;background:linear-gradient(135deg,#070c16,#15100b)}
.arch{position:absolute;inset:18px 18px 0 18px;border:1px solid rgba(231,170,49,.35);border-bottom:0;border-radius:150px 150px 0 0;overflow:hidden}
.arch:before{content:"";position:absolute;inset:0;background:linear-gradient(rgba(5,9,16,.15),rgba(5,9,16,.82)),url("assets/hero.png") center/cover;filter:saturate(.7) brightness(.6)}
.arch-scene{position:absolute;inset:0}
.moon{position:absolute;width:58px;height:58px;border-radius:50%;background:#ffd978;right:24%;top:22%;box-shadow:0 0 35px rgba(255,217,120,.45)}
.mountain{position:absolute;bottom:20%;width:0;height:0;border-left:130px solid transparent;border-right:130px solid transparent;border-bottom:180px solid #111827}
.m1{left:6%}.m2{right:-2%;border-bottom-color:#0c1422}
.desk{position:absolute;left:15%;right:10%;bottom:9%;height:70px;background:#251a10;border:1px solid #b07827;transform:perspective(400px) rotateX(8deg)}
.lamp{position:absolute;width:12px;height:12px;border-radius:50%;background:#ffd76a;bottom:31%;left:30%;box-shadow:0 0 30px 15px rgba(255,190,50,.25)}
.quill{position:absolute;width:130px;height:7px;background:linear-gradient(90deg,#c08a32,#fff2bd);right:20%;bottom:28%;transform:rotate(-40deg);border-radius:100%}

.early-section{max-width:calc(100% - 52px);margin:54px auto 34px;display:grid;grid-template-columns:1fr 1.18fr 1fr;gap:14px}
.early-card{min-height:250px;border:1px solid rgba(231,170,49,.22);border-radius:12px;background:#060d1c;padding:28px 30px}
.early-phase-recovery-card{display:block!important;visibility:visible!important;opacity:1!important;min-height:250px}
/* Reserved advertising slot between the two existing lower panels. */
.early-section > .early-card:first-child{grid-column:1}
.early-section > .early-card:last-child{grid-column:3}

.early-card h2{margin:10px 0 15px}
.early-card>p:not(.section-kicker){color:#9faabd;font-size:14px}
.check{margin-top:24px;color:var(--gold2);font-size:14px}.check span{color:#eef0f4;margin-left:8px}
.newsletter form{display:flex;gap:9px;margin:21px 0 10px}
.newsletter input{flex:1;min-width:0;height:48px;border-radius:25px;border:1px solid rgba(231,170,49,.22);background:#020711;color:white;padding:0 17px;outline:none}
.newsletter small{color:#647087}
.early-card ul{list-style:none;display:grid;gap:11px;margin-top:18px;color:#c3cad7;font-size:14px}
.early-card li::first-letter{color:var(--gold2)}
.hidden-anchor{height:1px}

.site-footer{border-top:1px solid rgba(231,170,49,.2);padding:28px max(3vw,30px) 18px;display:grid;grid-template-columns:1.2fr 1.5fr 1.2fr;gap:25px;align-items:center;background:#02060e}
.footer-brand img{width:180px;height:60px;object-fit:contain;object-position:left;border-radius:2px;mix-blend-mode:screen}
.footer-brand p{color:#8f9aad;font-size:13px;margin-top:5px}
.socials{display:flex;gap:10px;margin-top:16px}.socials a{width:35px;height:35px;border:1px solid rgba(231,170,49,.22);border-radius:50%;display:grid;place-items:center;color:#cbd2dd}
.footer-quote{display:flex;align-items:center;gap:14px}.footer-quote span{height:1px;flex:1;background:linear-gradient(90deg,transparent,var(--gold))}
.footer-quote span:last-child{background:linear-gradient(90deg,var(--gold),transparent)}
.footer-quote p{font-family:var(--serif);font-style:italic;font-size:18px;white-space:nowrap;color:#e9e5dc}
.footer-links{display:flex;justify-content:flex-end;flex-wrap:wrap;gap:16px;color:#9ea8b9;font-size:12px}
.footer-links a:hover{color:var(--gold2)}
.copyright{grid-column:1/-1;text-align:right;border-top:1px solid rgba(255,255,255,.05);padding-top:12px;color:#626d80;font-size:11px}

.mobile-menu{display:none;position:fixed;z-index:49;top:82px;right:14px;left:14px;background:#050b17;border:1px solid rgba(231,170,49,.25);border-radius:10px;padding:14px;box-shadow:0 20px 50px rgba(0,0,0,.45)}
.mobile-menu.open{display:grid;gap:2px}.mobile-menu a,.mobile-menu button{padding:11px;border:0;background:none;text-align:left;color:#c8ced9;border-radius:6px}.mobile-menu a:hover,.mobile-menu button:hover{background:rgba(231,170,49,.08);color:var(--gold2)}
 .modal{position:fixed;inset:0;z-index:100;background:rgba(0,0,0,.72);display:none;place-items:center;padding:20px}
.modal.open{display:grid}
.modal-card{position:relative;max-width:440px;border:1px solid rgba(231,170,49,.38);border-radius:14px;background:#070d19;padding:35px;box-shadow:0 30px 100px rgba(0,0,0,.6)}
.modal-card h2{font-family:var(--serif);font-size:34px;margin:8px 0}
.modal-card p:not(.section-kicker){color:#9da8ba;font-size:14px;margin-bottom:22px}
.modal-close{position:absolute;right:15px;top:10px;background:none;border:0;color:#aaa;font-size:26px;cursor:pointer}

.legal-modal{position:fixed;inset:0;z-index:250;background:rgba(0,0,0,.82);display:none;place-items:center;padding:24px;backdrop-filter:blur(4px)}
.legal-modal.open{display:grid}
body.legal-open{overflow:hidden}
.legal-card{width:min(1120px,96vw);height:min(86vh,820px);display:flex;flex-direction:column;border:1px solid rgba(231,170,49,.38);border-radius:16px;background:#050b16;box-shadow:0 35px 120px rgba(0,0,0,.72);overflow:hidden}
.legal-head{display:flex;justify-content:space-between;gap:20px;padding:24px 28px 18px;border-bottom:1px solid rgba(231,170,49,.18);background:linear-gradient(180deg,#07101f,#050b16)}
.legal-head h2{font-family:var(--serif);font-size:34px;margin:5px 0 3px;color:#f4efe5}
.legal-effective{margin:0;color:#aeb8c8;font-size:12px}
.legal-close{width:38px;height:38px;border:1px solid rgba(231,170,49,.25);border-radius:50%;background:#07101d;color:#eef1f5;font-size:27px;line-height:1;cursor:pointer;flex:0 0 auto}
.legal-close:hover{color:var(--gold2);border-color:rgba(231,170,49,.55)}
.legal-layout{display:grid;grid-template-columns:235px 1fr;min-height:0;flex:1}
.legal-nav{padding:18px 12px;border-right:1px solid rgba(255,255,255,.07);overflow:auto;background:#030914}
.legal-tab{display:block;width:100%;padding:11px 12px;margin-bottom:5px;border:1px solid transparent;border-radius:8px;background:transparent;color:#c8d0dc;text-align:left;font:inherit;font-size:13px;cursor:pointer}
.legal-tab:hover{background:rgba(231,170,49,.06);color:#f0c55d}
.legal-tab.active{border-color:rgba(231,170,49,.28);background:rgba(231,170,49,.10);color:#ffd66f}
.legal-content{padding:30px 38px 34px;overflow:auto;color:#d7dde6;line-height:1.7;font-size:14px}
.legal-doc h3{font-family:var(--serif);font-size:31px;color:#f4efe5;margin:0 0 16px}
.legal-doc h4{font-size:15px;color:#f0c55d;margin:24px 0 7px}
.legal-doc p{margin:0 0 12px;color:#cbd3df}
.legal-doc[hidden]{display:none}
.legal-note{margin-top:28px;padding:14px 16px;border-left:2px solid var(--gold2);background:rgba(231,170,49,.055);color:#aeb8c8;font-size:12px}
.legal-note strong{color:#e8c56a}

@media(max-width:1180px){
  .desktop-nav{gap:18px}.search-box{width:200px}.brand{width:210px}
  .hero-content{margin-left:5vw}.hero h1{font-size:60px}
  .feature{padding:20px 16px}.feature h3{font-size:20px}
}
@media(max-width:980px){
  .site-header{gap:15px}.desktop-nav{display:none}.brand{flex:1}.header-actions{margin-left:auto}.search-box{display:none}.menu-btn{display:block}
  .hero{height:720px}.hero-content{max-width:650px;padding-top:125px}.hero h1{font-size:58px}
  .feature-strip{grid-template-columns:repeat(2,1fr)}.feature:nth-child(3){border-left:0;border-top:1px solid rgba(231,170,49,.23)}.feature:nth-child(4){border-top:1px solid rgba(231,170,49,.23)}
  .content-grid,.early-section{grid-template-columns:1fr}
  .writers{min-height:520px}.writer-art{min-height:300px;order:0}.writer-copy{padding:30px}
  .footer-quote{grid-column:1/-1;order:-1}.footer-links{justify-content:flex-start}
}
@media(max-width:620px){
  .site-header{height:70px;padding:8px 15px}.brand{width:auto}.brand img{width:155px;height:50px}.gold-btn.small{min-height:38px;padding:0 14px}.text-btn{display:none}
  .mobile-menu{top:70px}
  .hero{padding-top:70px;height:720px;min-height:650px}.hero-content{margin:0;padding:100px 22px 0}.hero h1{font-size:48px;line-height:.95}.hero-copy{font-size:15px}.hero-buttons{flex-direction:column;max-width:250px}.hero-buttons a{width:100%}
  .feature-strip,.content-grid,.early-section,.latest-arrivals{max-width:calc(100% - 24px)}
  .latest-arrivals{padding:20px 16px}
  .latest-arrivals-empty{min-height:330px;padding:20px}
  .feature-strip{grid-template-columns:1fr}.feature+.feature,.feature:nth-child(3),.feature:nth-child(4){border-left:0;border-top:1px solid rgba(231,170,49,.23)}
  .feature{min-height:105px}.trending{padding:20px 16px}.section-head h2{font-size:27px}
  .empty-library{height:330px;padding:20px}.writers{display:flex;flex-direction:column}.writer-art{min-height:240px}.writers h2{font-size:36px}
  .early-card{padding:24px 20px}.newsletter form{flex-direction:column}.newsletter .gold-btn{width:100%}
  .site-footer{grid-template-columns:1fr;padding:28px 20px}.footer-quote{order:-1}.footer-quote p{white-space:normal;text-align:center;font-size:16px}.footer-links{justify-content:flex-start}.copyright{text-align:left}
  .legal-modal{padding:10px}.legal-card{width:100%;height:94vh}.legal-head{padding:18px}.legal-head h2{font-size:28px}.legal-layout{grid-template-columns:1fr}.legal-nav{display:flex;gap:6px;overflow-x:auto;border-right:0;border-bottom:1px solid rgba(255,255,255,.07);padding:10px}.legal-tab{white-space:nowrap;width:auto;min-width:max-content;margin:0}.legal-content{padding:22px 18px 30px;font-size:13px}
}

.flow-page{min-height:100vh;display:grid;place-items:center;padding:40px 20px;background:#030711}
.flow-card{width:min(520px,100%);padding:38px;border:1px solid rgba(231,170,49,.28);border-radius:13px;background:linear-gradient(145deg,rgba(5,11,22,.96),rgba(3,8,17,.9))}
.flow-card h1{font-family:var(--serif);font-size:48px;margin:8px 0 10px}
.flow-card p{color:#9faabd}
.flow-card form{display:grid;gap:10px;margin-top:24px}
.flow-card label{font-size:13px;color:#c6cedb}
.flow-card input,.flow-card textarea{width:100%;padding:12px;border:1px solid rgba(231,170,49,.22);border-radius:7px;background:#080f1d;color:#eee;outline:none}
.flow-card .gold-btn{border:0;cursor:pointer;margin-top:8px}
.flow-actions{margin-top:24px}

.auth-switch{text-align:center!important;margin-top:20px!important}
.auth-switch a{color:#dcb34f;text-decoration:none}
.auth-switch a:hover{text-decoration:underline}
.social-signup{display:grid;gap:10px;margin-top:24px}
.social-btn{min-height:44px;border:1px solid rgba(231,170,49,.22);border-radius:7px;background:#080f1d;color:#dce2eb;cursor:pointer;font-weight:600}
.social-btn:hover{border-color:rgba(231,170,49,.48)}
.form-divider{display:flex;align-items:center;gap:12px;margin:20px 0;color:#657084;font-size:12px}
.form-divider::before,.form-divider::after{content:"";height:1px;background:rgba(231,170,49,.14);flex:1}
.required{color:#e2b44b}
.optional{color:#697587;font-size:11px;font-weight:400}
.auth-note{text-align:center;font-size:12px!important;color:#707b8e!important;margin-top:18px!important}

/* Authentication pages: branded scenery left, forms right. */
.auth-split-page{
  min-height:100vh;
  display:grid;
  grid-template-columns:minmax(0,1.15fr) minmax(420px,.85fr);
  background:#030711;
}
.auth-scenery{
  position:relative;
  min-height:100vh;
  overflow:hidden;
  isolation:isolate;
  background:
    linear-gradient(180deg,rgba(3,8,18,.08),rgba(3,7,15,.68)),
    url("assets/hero-bg.jpg") center/cover no-repeat;
}
.auth-scenery::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:-2;
  background:
    linear-gradient(90deg,rgba(3,7,17,.04) 35%,rgba(3,7,17,.52) 72%,rgba(3,7,17,.94) 100%),
    linear-gradient(180deg,rgba(3,7,17,.08) 0%,transparent 45%,rgba(3,7,17,.72) 100%);
}
.auth-scenery::after{
  content:"";
  position:absolute;
  inset:0;
  z-index:5;
  pointer-events:none;
  background:linear-gradient(90deg,transparent 42%,rgba(3,7,17,.12) 58%,rgba(3,7,17,.82) 100%);
}
.auth-scenery-mountains{
  position:absolute;
  left:-8%;
  right:-8%;
  bottom:-2%;
  height:48%;
  z-index:1;
  background:
    linear-gradient(145deg,transparent 0 32%,rgba(7,15,29,.72) 32.2% 52%,transparent 52.2%),
    linear-gradient(215deg,transparent 0 30%,rgba(5,12,24,.88) 30.2% 55%,transparent 55.2%),
    linear-gradient(165deg,transparent 0 42%,rgba(13,24,42,.7) 42.2% 66%,transparent 66.2%);
  clip-path:polygon(0 67%,8% 53%,17% 65%,27% 43%,38% 61%,49% 34%,59% 58%,69% 40%,79% 63%,90% 45%,100% 58%,100% 100%,0 100%);
  filter:drop-shadow(0 -12px 20px rgba(0,0,0,.28));
}
.auth-scenery-ground{
  position:absolute;
  left:-5%;
  right:-5%;
  bottom:-12%;
  height:29%;
  z-index:2;
  background:linear-gradient(180deg,rgba(11,18,31,.65),#030711 78%);
  border-radius:50% 50% 0 0/24% 24% 0 0;
}
.auth-scenery-star{
  position:absolute;
  z-index:3;
  width:3px;
  height:3px;
  border-radius:50%;
  background:#f8e3a0;
  box-shadow:0 0 8px rgba(255,224,145,.8);
}
.auth-scenery-star.s1{top:20%;left:17%}
.auth-scenery-star.s2{top:28%;left:31%;width:2px;height:2px}
.auth-scenery-star.s3{top:14%;left:48%;width:3px;height:3px}
.auth-scenery-star.s4{top:25%;left:68%;width:2px;height:2px}
.auth-scenery-star.s5{top:11%;left:79%;width:3px;height:3px}
.auth-scenery-crescent{
  position:absolute;
  z-index:3;
  top:16%;
  right:16%;
  width:66px;
  height:66px;
  border-radius:50%;
  background:#f3e0a0;
  box-shadow:0 0 26px rgba(243,224,160,.2);
}
.auth-scenery-crescent::after{
  content:"";
  position:absolute;
  width:66px;
  height:66px;
  top:-7px;
  left:16px;
  border-radius:50%;
  background:#06101d;
}
.auth-scenery-constellation{
  position:absolute;
  z-index:3;
  top:29%;
  left:15%;
  width:150px;
  height:72px;
  border-top:1px solid rgba(228,194,105,.16);
  transform:rotate(-17deg);
}
.auth-scenery-constellation::before,
.auth-scenery-constellation::after{
  content:"";
  position:absolute;
  border-radius:50%;
  background:#f1d274;
  box-shadow:0 0 7px rgba(241,210,116,.7);
}
.auth-scenery-constellation::before{width:3px;height:3px;left:12px;top:8px}
.auth-scenery-constellation::after{width:2px;height:2px;right:18px;bottom:12px}
.auth-scenery .auth-brand-mark{
  position:absolute;
  left:48px;
  top:42px;
  z-index:10;
  display:flex;
  align-items:center;
  gap:12px;
  color:#f2cf73;
  font-family:var(--serif);
  font-size:24px;
  letter-spacing:.4px;
}
.auth-brand-mark img{
  width:42px;
  height:42px;
  object-fit:contain;
  border-radius:50%;
}
.auth-scenery-copy{
  position:absolute;
  z-index:10;
  left:48px;
  right:80px;
  bottom:62px;
}
.auth-scenery-copy .section-kicker{margin-bottom:8px}
.auth-scenery-copy h2{
  font-family:var(--serif);
  font-size:clamp(42px,4.5vw,72px);
  line-height:.94;
  max-width:650px;
  margin:0 0 16px;
}
.auth-scenery-copy p{
  max-width:520px;
  color:#b5bfce;
  line-height:1.65;
}
.auth-scenery-mountains{
  position:absolute;
  left:-8%;
  right:-8%;
  bottom:0;
  height:57%;
  z-index:1;
  background:
    linear-gradient(140deg,transparent 0 25%,#11192c 25.2% 48%,transparent 48.2%),
    linear-gradient(220deg,transparent 0 31%,#0d1528 31.2% 55%,transparent 55.2%),
    linear-gradient(160deg,transparent 0 39%,#18213a 39.2% 62%,transparent 62.2%),
    linear-gradient(200deg,transparent 0 40%,#0b1223 40.2% 68%,transparent 68.2%);
  clip-path:polygon(0 64%,10% 47%,19% 61%,30% 34%,40% 58%,52% 26%,63% 55%,74% 38%,86% 59%,100% 30%,100% 100%,0 100%);
}
.auth-scenery-ground{
  position:absolute;
  left:-5%;
  right:-5%;
  bottom:-7%;
  height:34%;
  z-index:2;
  background:
    radial-gradient(ellipse at 50% 0%,rgba(214,158,50,.13),transparent 48%),
    linear-gradient(180deg,#10172a,#040711 78%);
  border-radius:50% 50% 0 0/22% 22% 0 0;
}
.auth-scenery-star{
  position:absolute;
  z-index:3;
  width:5px;
  height:5px;
  border-radius:50%;
  background:#f6d982;
  box-shadow:0 0 9px rgba(255,218,124,.9);
}
.auth-scenery-star.s1{top:23%;left:18%}
.auth-scenery-star.s2{top:34%;left:30%;width:3px;height:3px}
.auth-scenery-star.s3{top:17%;left:48%;width:4px;height:4px}
.auth-scenery-star.s4{top:29%;left:70%;width:3px;height:3px}
.auth-scenery-star.s5{top:12%;left:78%;width:4px;height:4px}
.auth-scenery-crescent{
  position:absolute;
  z-index:3;
  top:19%;
  right:16%;
  width:74px;
  height:74px;
  border-radius:50%;
  background:#f0d88b;
  box-shadow:0 0 28px rgba(240,216,139,.22);
}
.auth-scenery-crescent::after{
  content:"";
  position:absolute;
  width:74px;
  height:74px;
  top:-8px;
  left:18px;
  border-radius:50%;
  background:#060b19;
}
.auth-scenery-constellation{
  position:absolute;
  z-index:3;
  top:31%;
  left:16%;
  width:155px;
  height:80px;
  border-top:1px solid rgba(228,194,105,.18);
  transform:rotate(-18deg);
}
.auth-scenery-constellation::before,
.auth-scenery-constellation::after{
  content:"";
  position:absolute;
  border-radius:50%;
  background:#f1d274;
  box-shadow:0 0 7px rgba(241,210,116,.7);
}
.auth-scenery-constellation::before{width:4px;height:4px;left:12px;top:8px}
.auth-scenery-constellation::after{width:3px;height:3px;right:18px;bottom:12px}
.auth-form-side{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:48px;
  background:#030711;
}
.auth-form-side .flow-card{
  width:min(460px,100%);
  padding:0;
  border:0;
  background:transparent;
}
.auth-form-side .flow-card h1{font-size:50px}
.auth-form-side .flow-card>p:not(.section-kicker):not(.auth-switch):not(.auth-note){margin-bottom:4px}
@media(max-width:900px){
  .auth-split-page{grid-template-columns:1fr}
  .auth-scenery{min-height:360px}
  .auth-scenery-copy{left:30px;right:30px;bottom:35px}
  .auth-brand-mark{left:30px;top:28px}
  .auth-form-side{min-height:auto;padding:42px 28px 60px}
}

.signup-split-page .auth-scenery::before{
  background:
    radial-gradient(circle at 74% 18%,rgba(93,170,215,.22) 0 2px,transparent 3px),
    radial-gradient(circle at 57% 29%,rgba(122,196,235,.18) 0 1px,transparent 2px),
    radial-gradient(circle at 84% 34%,rgba(112,186,229,.16) 0 1px,transparent 2px),
    linear-gradient(180deg,#04111d 0%,#072238 43%,#10243a 70%,#050a13 100%);
}
.signup-split-page .auth-scenery-mountains{
  background:
    linear-gradient(140deg,transparent 0 25%,#10263a 25.2% 48%,transparent 48.2%),
    linear-gradient(220deg,transparent 0 31%,#0b1d31 31.2% 55%,transparent 55.2%),
    linear-gradient(160deg,transparent 0 39%,#17334b 39.2% 62%,transparent 62.2%),
    linear-gradient(200deg,transparent 0 40%,#08182a 40.2% 68%,transparent 68.2%);
}
.signup-split-page .auth-scenery-crescent{
  background:#a9d8e9;
  box-shadow:0 0 30px rgba(113,191,226,.25);
}
.signup-split-page .auth-scenery-crescent::after{background:#06111e}

.login-split-page .auth-scenery{
  background:
    linear-gradient(180deg,rgba(3,8,18,.04),rgba(3,7,15,.72)),
    url("assets/hero-bg.jpg") center/cover no-repeat;
}
.signup-split-page .auth-scenery{
  background:url("assets/signup-scenery.png") center center/cover no-repeat;
  filter:none;
}
.signup-split-page .auth-scenery::before{
  background:linear-gradient(90deg,rgba(3,7,17,.02) 0%,rgba(3,7,17,.04) 52%,rgba(3,7,17,.78) 100%);
}
.signup-split-page .auth-scenery::after{
  background:linear-gradient(90deg,transparent 45%,rgba(3,7,17,.08) 60%,rgba(3,7,17,.72) 100%);
}
.signup-split-page .auth-scenery-mountains,
.signup-split-page .auth-scenery-ground,
.signup-split-page .auth-scenery-crescent,
.signup-split-page .auth-scenery-constellation,
.signup-split-page .auth-scenery-star{
  display:none;
}

.login-split-page .auth-scenery{
  background:url("assets/login-scenery.png") center center/cover no-repeat;
  filter:none;
}
.login-split-page .auth-scenery::before{
  background:linear-gradient(90deg,rgba(3,7,17,.02) 0%,rgba(3,7,17,.04) 52%,rgba(3,7,17,.78) 100%);
}
.login-split-page .auth-scenery::after{
  background:linear-gradient(90deg,transparent 45%,rgba(3,7,17,.08) 60%,rgba(3,7,17,.72) 100%);
}
.login-split-page .auth-scenery-mountains,
.login-split-page .auth-scenery-ground,
.login-split-page .auth-scenery-crescent,
.login-split-page .auth-scenery-constellation,
.login-split-page .auth-scenery-star{
  display:none;
}

/* Signup-only reversed layout */
.signup-split-page .auth-form-side {
  order: 1;
}
.signup-split-page .auth-scenery {
  order: 2;
}

/* Hide the global navbar search while the dedicated Novels view is open. */
body.novels-view-active .site-header .search-box{visibility:hidden!important;pointer-events:none!important}

/* Search empty-state presentation only */
.search-suggestions[hidden]{display:none!important}
.search-suggestion-empty.not-in-existence{
  min-height:74px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:18px 14px;
  color:#f0b735;
  font-family:Georgia,"Times New Roman",serif;
  font-size:17px;
  font-weight:900;
  letter-spacing:.04em;
  text-shadow:0 2px 12px rgba(231,170,49,.22);
}

.dynamic-content-grid,.dynamic-author-grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:14px;
}
.dynamic-story-card,.dynamic-author-card{
  border:1px solid rgba(255,255,255,.07);
  border-radius:10px;
  background:linear-gradient(90deg,rgba(3,9,18,.92),rgba(3,9,18,.58)),url("assets/author-card-background.png") center/cover no-repeat;
  overflow:hidden;
  transition:transform .2s ease,border-color .2s ease;
}
.dynamic-story-card:hover,.dynamic-author-card:hover{
  transform:translateY(-3px);
  border-color:rgba(231,170,49,.32);
}
.dynamic-cover{
  height:150px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(145deg,#101b31,#060b16);
  color:#e7aa31;
  font-size:28px;
}
.dynamic-cover img{width:100%;height:100%;object-fit:cover}
.dynamic-card-body{padding:12px}
.dynamic-type{font-size:9px;color:#e7aa31;letter-spacing:.12em}
.dynamic-card-body h3,.dynamic-author-card h3{font-size:16px;margin:5px 0}
.dynamic-card-body p,.dynamic-author-card p{font-size:11px;color:#98a3b5;margin:0}
.dynamic-card-body small{display:block;margin-top:8px;color:#697587}
.dynamic-author-card{display:flex;align-items:center;gap:12px;padding:14px}
.dynamic-avatar{
  width:42px;height:42px;border-radius:50%;display:flex;align-items:center;
  justify-content:center;background:#111d32;color:#e7aa31;font-weight:800;
  overflow:hidden;
}

/* Keep author profile photos confined to the circular DP only. */
.dynamic-avatar img{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
  border-radius:50%;
}
@media(max-width:1024px){
  .dynamic-content-grid,.dynamic-author-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:600px){
  .dynamic-content-grid,.dynamic-author-grid{grid-template-columns:1fr}
}

.age-policy-note{color:#9da8ba;font-size:11px;line-height:1.45;margin:-4px 0 10px}

/* Homepage View All hover */
.view-all{
  display:inline-block;
  transform-origin:center;
  transition:transform .18s ease;
}
.view-all:hover{
  transform:scale(1.06);
}

/* Homepage top-right Log In hover */
.header-actions .text-btn{
  display:inline-block;
  border:1px solid rgba(231,170,49,.35);
  border-radius:8px;
  padding:9px 15px;
  transform-origin:center;
  transition:transform .18s ease, border-color .18s ease;
}
.header-actions .text-btn:hover{
  transform:scale(1.06);
  border-color:rgba(231,170,49,.65);
}

/* Signup scenery copy readability only */
.signup-split-page .auth-scenery::after{
  content:"";
  position:absolute;
  inset:0;
  background:linear-gradient(
    90deg,
    rgba(3,8,17,.78) 0%,
    rgba(3,8,17,.58) 38%,
    rgba(3,8,17,.18) 72%,
    rgba(3,8,17,0) 100%
  );
  pointer-events:none;
}
.signup-split-page .auth-scenery-copy{
  z-index:2;
  color:#f7f3e8;
  text-shadow:0 2px 14px rgba(0,0,0,.72);
}
.signup-split-page .auth-scenery-copy .section-kicker{
  color:#f0c35a;
  text-shadow:0 2px 10px rgba(0,0,0,.8);
}
.signup-split-page .auth-scenery-copy h2{
  color:#fffaf0;
  text-shadow:0 3px 18px rgba(0,0,0,.82);
}
.signup-split-page .auth-scenery-copy > p:last-child{
  color:#eef1f5;
  text-shadow:0 2px 12px rgba(0,0,0,.82);
}

/* Login scenery readability and logo contrast only. Background image itself is untouched. */
.login-split-page .auth-scenery-copy{
  z-index:2;
  color:#fff;
  text-shadow:0 2px 16px rgba(0,0,0,.9);
}
.login-split-page .auth-scenery-copy .section-kicker{
  background:linear-gradient(90deg,#ffd36a,#fff4cf,#8fd8ff);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  font-weight:900;
  text-shadow:none;
}
.login-split-page .auth-scenery-copy h2{
  background:linear-gradient(135deg,#ffffff 0%,#dce9f7 42%,#8fc4e8 72%,#d9b96a 100%);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
  text-shadow:0 3px 18px rgba(0,0,0,.88);
  font-weight:900;
}
.login-split-page .auth-scenery-copy > p:last-child{
  color:#f4f7fb;
  text-shadow:0 2px 14px rgba(0,0,0,.9);
}
.login-split-page .auth-brand-mark{
  z-index:3;
  padding:8px 12px;
  border:1px solid rgba(255,218,121,.5);
  border-radius:10px;
  background:rgba(3,8,17,.62);
  box-shadow:0 5px 22px rgba(0,0,0,.55);
}
.login-split-page .auth-brand-mark img{
  filter:drop-shadow(0 2px 9px rgba(255,255,255,.55));
}
.login-split-page .auth-brand-mark span{
  color:#fff8df;
  text-shadow:0 2px 9px rgba(0,0,0,.9);
}

/* Password visibility controls for authentication forms only */
.password-field{
  position:relative;
  width:100%;
}
.password-field input{
  width:100%;
  padding-right:44px;
}
.password-toggle{
  position:absolute;
  right:10px;
  top:50%;
  transform:translateY(-50%);
  width:28px;
  height:28px;
  border:0;
  background:transparent;
  color:#8f9bad;
  cursor:pointer;
  font-size:13px;
  line-height:1;
  transition:color .15s ease,transform .15s ease;
}
.password-toggle:hover{
  color:#e7aa31;
  transform:translateY(-50%) scale(1.08);
}

/* Hero CTA polish only */
.hero .hero-actions a.primary-btn,
.hero .hero-actions a.outline-btn{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:7px;
  transform-origin:center;
  transition:transform .2s ease,box-shadow .2s ease,background .2s ease,border-color .2s ease;
}
.hero .hero-actions a.primary-btn:hover{
  transform:translateY(-2px) scale(1.035);
  box-shadow:0 10px 26px rgba(231,170,49,.24);
}
.hero .hero-actions a.outline-btn:hover{
  transform:translateY(-2px) scale(1.035);
  box-shadow:0 10px 26px rgba(121,183,226,.16);
  border-color:rgba(231,170,49,.72);
}
.hero .hero-actions a.primary-btn:active,
.hero .hero-actions a.outline-btn:active{
  transform:translateY(0) scale(.99);
}

/* Hero CTA visible refinement only */
.hero .hero-actions{gap:14px;margin-top:24px}
.hero .hero-actions a.primary-btn,.hero .hero-actions a.outline-btn{
  min-height:50px;padding:0 22px;border-radius:9px;font-weight:800;letter-spacing:.01em;
  transform-origin:center;
  transition:transform .2s ease,box-shadow .2s ease,background .2s ease,border-color .2s ease,filter .2s ease;
}
.hero .hero-actions a.primary-btn{
  background:linear-gradient(135deg,#f2c45b 0%,#d99527 52%,#f0b94b 100%);
  border:1px solid rgba(255,220,137,.78);color:#090d14;
  box-shadow:0 6px 18px rgba(215,150,42,.22),inset 0 1px rgba(255,255,255,.45);
}
.hero .hero-actions a.outline-btn{
  background:linear-gradient(135deg,rgba(255,255,255,.09),rgba(96,166,218,.07));
  border:1px solid rgba(145,199,232,.72);color:#eef7ff;
  box-shadow:0 6px 18px rgba(40,105,154,.15),inset 0 1px rgba(255,255,255,.12);
}
.hero .hero-actions a.primary-btn:hover{
  transform:translateY(-4px) scale(1.06);filter:brightness(1.06);
  box-shadow:0 13px 30px rgba(215,150,42,.36),inset 0 1px rgba(255,255,255,.5);
}
.hero .hero-actions a.outline-btn:hover{
  transform:translateY(-4px) scale(1.06);
  background:linear-gradient(135deg,rgba(255,255,255,.15),rgba(96,166,218,.14));
  border-color:#a9dfff;box-shadow:0 13px 30px rgba(56,139,195,.27),inset 0 1px rgba(255,255,255,.18);
}
.hero .hero-actions a.primary-btn:active,.hero .hero-actions a.outline-btn:active{transform:translateY(-1px) scale(1.01)}

/* Global top-right authentication buttons */
.header-actions > .text-btn,
.header-actions > .gold-btn.small{
  box-sizing:border-box;
  height:40px;
  min-width:82px;
  padding:0 16px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius:8px;
  font-family:inherit;
  font-size:13px;
  font-weight:800;
  line-height:1;
  text-decoration:none;
  white-space:nowrap;
}
.header-actions > .text-btn{
  border:1px solid rgba(231,170,49,.35);
  color:inherit;
}
.header-actions > .gold-btn.small{
  min-width:86px;
}

/* Navbar active-section transition */
.site-header .nav-links a{
  transition:color .22s ease,background-color .22s ease,transform .22s ease;
}
.site-header .nav-links a.active{
  animation:navActiveIn .28s ease both;
}
@keyframes navActiveIn{
  0%{opacity:.72;transform:translateY(2px)}
  100%{opacity:1;transform:translateY(0)}
}

/* MeteorInk v63: shared auth imagery + global header consistency */
.auth-split-page{padding-top:0;min-height:100vh}
.login-split-page .auth-scenery{background-image:linear-gradient(180deg,rgba(3,8,16,.10),rgba(3,8,16,.36)),url('assets/login-scenery.png');background-position:center;background-size:cover;background-repeat:no-repeat}
.signup-split-page .auth-scenery{background-image:linear-gradient(180deg,rgba(3,8,16,.08),rgba(3,8,16,.34)),url('assets/signup-scenery.png');background-position:center;background-size:cover;background-repeat:no-repeat}
.auth-scenery .auth-brand-mark span{display:none}
.flow-page{padding-top:110px}
.search-suggestions{position:absolute;top:calc(100% + 8px);left:-1px;width:calc(100% + 2px);background:rgba(4,10,20,.98);border:1px solid rgba(231,170,49,.3);border-radius:8px;box-shadow:0 18px 40px rgba(0,0,0,.4);overflow:hidden;z-index:100}
.search-suggestion{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 13px;color:#eef2f7;text-decoration:none;border-bottom:1px solid rgba(255,255,255,.06)}
.search-suggestion:hover{background:rgba(231,170,49,.09)}
.search-suggestion span{display:flex;flex-direction:column;min-width:0}.search-suggestion strong{font-size:12px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.search-suggestion small{font-size:9px;color:#8f9aab;margin-top:3px}.search-suggestion>b{font-size:9px;color:#d9b05a;white-space:nowrap}.search-see-all{display:block;text-align:center;padding:11px;color:#e7aa31;font-size:11px;font-weight:800;text-decoration:none}.search-suggestion-empty{padding:18px 10px;text-align:center}.not-in-existence{font-family:Georgia,'Times New Roman',serif;font-size:17px;font-weight:900;letter-spacing:.03em;color:#f1d487}
.auth-error{margin:8px 0;color:#ff9c9c;font-size:12px}

/* Active Navbar item underline */
.site-header .desktop-nav a.active,.site-header .mobile-menu a.active{position:relative}
.site-header .desktop-nav a.active::after{content:"";position:absolute;left:12%;right:12%;bottom:-7px;height:2px;border-radius:2px;background:currentColor}
.site-header .mobile-menu a.active::after{content:"";display:block;height:2px;margin:4px auto 0;width:28px;border-radius:2px;background:currentColor}

/* Final Navbar active-state alignment */
.site-header .desktop-nav a.active{
  color:var(--gold2)!important;
}
.site-header .desktop-nav a.active::after,
.site-header .desktop-nav a.active:after{
  content:""!important;
  position:absolute!important;
  left:50%!important;
  right:auto!important;
  bottom:7px!important;
  width:100%!important;
  height:2px!important;
  margin:0!important;
  border-radius:2px!important;
  transform:translateX(-50%)!important;
  background:var(--gold)!important;
  box-shadow:
    0 0 4px rgba(231,170,49,.95),
    0 -3px 7px rgba(231,170,49,.55),
    0 -7px 14px rgba(231,170,49,.28),
    0 -12px 20px rgba(231,170,49,.10)!important;
}

/* New homepage discovery panels */
.new-panel-row{
  max-width:calc(100% - 52px);
  margin:26px auto 0;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:7px;
}
.discovery-panel{
  min-height:410px;
  padding:26px 31px;
}
.new-panel-empty{
  min-height:315px;
  border:1px dashed rgba(231,170,49,.25);
  border-radius:10px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:28px;
  background:radial-gradient(circle at 50% 35%,rgba(231,170,49,.06),transparent 48%);
}
.new-panel-empty p{
  color:#9da8ba;
  font-size:14px;
}
@media(max-width:900px){
  .new-panel-row{grid-template-columns:1fr}
}
@media(max-width:620px){
  .fanfic-head-actions{width:100%;justify-content:space-between;gap:8px}
  .new-panel-row{max-width:calc(100% - 24px);grid-template-columns:1fr}
  .discovery-panel{padding:20px 16px}
  .new-panel-empty{min-height:330px;padding:20px}
}

/* Random Novels panel */
.random-section-head{align-items:center;}
.random-refresh-btn{
  width:46px;
  height:40px;
  padding:4px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:9px;
  background:rgba(255,255,255,.025);
  cursor:pointer;
  display:grid;
  place-items:center;
  transition:.2s ease;
}
.random-refresh-btn img{
  width:100%;
  height:100%;
  object-fit:contain;
  display:block;
}
.random-refresh-btn:hover{border-color:rgba(231,170,49,.35);background:rgba(231,170,49,.06);}
.random-refresh-btn:active{transform:scale(.94);}
.random-novels-grid{width:100%;align-self:stretch;text-align:left;}
@media(max-width:620px){.random-section-head{align-items:flex-start;}}

/* Fan-Fic panel definition */
.fanfic-section-head{
  align-items:flex-end;
}
/* Homepage Fan-Fic panel position correction only. */
#fan-fic-novels{position:relative;top:-14px;margin-bottom:-14px;width:calc(50vw - 72px);border-width:2px;}
.fanfic-head-actions{
  display:flex;
  align-items:center;
  gap:12px;
}
.fanfic-view-all{
  white-space:nowrap;
}
.fanfic-tabs{
  display:flex;
  gap:6px;
  padding:4px;
  border:1px solid rgba(255,255,255,.08);
  border-radius:9px;
  background:rgba(255,255,255,.025);
}
.fanfic-tab{
  border:0;
  border-radius:7px;
  padding:8px 13px;
  background:transparent;
  color:#8f9bad;
  font:600 12px/1 var(--sans);
  cursor:pointer;
  transition:.2s ease;
}
.fanfic-tab:hover{color:#dbe2ec;background:rgba(255,255,255,.04)}
.fanfic-tab.active{
  color:#10141d;
  background:#e7aa31;
}
.fanfic-definition{
  min-height:315px;
  border:1px dashed rgba(231,170,49,.25);
  border-radius:10px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:28px;
  background:radial-gradient(circle at 50% 35%,rgba(231,170,49,.06),transparent 48%);
}
.fanfic-definition h3{
  font-family:var(--serif);
  font-size:25px;
  margin:0 0 8px;
}
.fanfic-definition p{
  max-width:650px;
  color:#9da8ba;
  font-size:14px;
  line-height:1.55;
}
.fanfic-grid{
  width:100%;
  align-self:stretch;
  text-align:left;
}
@media(max-width:620px){
  .fanfic-section-head{align-items:flex-start;gap:12px}
  .fanfic-tabs{width:100%}
  .fanfic-tab{flex:1}
  .fanfic-definition{min-height:330px;padding:20px}
}

/* Google OAuth / authenticated header additions */
.header-user{
  max-width:150px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  color:#f3f1ea;
  font-size:.92rem;
  font-weight:600;
}
.mobile-user{
  display:block;
  padding:12px 16px;
  color:#f3f1ea;
  font-weight:600;
}
.mobile-logout{
  width:100%;
  border:0;
  background:transparent;
  color:#f3f1ea;
  text-align:left;
  padding:12px 16px;
  font:inherit;
  cursor:pointer;
}
.google-complete-card{
  margin-top:18px;
}
@media (max-width: 760px){
  .header-user{display:none}
}

/* Authors-only footer readability fix */
body:has(#authorsView:not([hidden])) .site-footer{
  position:relative;
  z-index:2;
}
body:has(#authorsView:not([hidden])) .site-footer .footer-brand p{color:#d3dae4;}
body:has(#authorsView:not([hidden])) .site-footer .socials a{color:#e5e9ef;border-color:rgba(231,170,49,.38);}
body:has(#authorsView:not([hidden])) .site-footer .footer-links{color:#d0d7e1;}
body:has(#authorsView:not([hidden])) .site-footer .footer-links a{color:#d0d7e1;}
body:has(#authorsView:not([hidden])) .site-footer .copyright{color:#a8b2c1;}

/* Novels genre chooser */
.genre-trigger{display:flex;align-items:center;justify-content:space-between;gap:10px;cursor:pointer;min-width:130px;}
.genre-trigger span{font-size:16px;line-height:1;opacity:.8;}
.genre-panel-backdrop{position:fixed;inset:0;z-index:1200;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(0,0,0,.66);backdrop-filter:blur(7px);}
.genre-panel-backdrop[hidden]{display:none;}
.genre-panel{width:min(920px,92vw);max-height:min(78vh,760px);overflow:auto;border:1px solid rgba(229,178,62,.38);border-radius:18px;background:linear-gradient(180deg,#08111f 0%,#0b1627 100%);box-shadow:0 24px 90px rgba(0,0,0,.55);padding:28px;}
.genre-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:20px;}
.genre-panel-head h2{margin:.2rem 0 0;font-family:"Cormorant Garamond",serif;font-size:40px;color:#f4f1eb;}
.genre-panel-head h2 span{color:#e5b23e;}
.genre-panel-close{width:42px;height:42px;border-radius:50%;border:1px solid rgba(229,178,62,.35);background:#0c1728;color:#f5f1e8;font-size:28px;line-height:1;cursor:pointer;}
.genre-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;}
.genre-option{padding:13px 15px;border:1px solid rgba(255,255,255,.1);border-radius:10px;background:#0a1423;color:#dce4ee;text-align:left;cursor:pointer;transition:background .18s,border-color .18s,transform .18s,color .18s;}
.genre-option:hover{background:#111f33;border-color:rgba(229,178,62,.5);transform:translateY(-1px);color:#fff;}
.genre-option.active{background:linear-gradient(135deg,#e5b23e,#c99020);border-color:#e5b23e;color:#111;font-weight:700;}
@media (max-width:800px){.genre-options{grid-template-columns:repeat(2,minmax(0,1fr));}.genre-panel{padding:22px;}}
@media (max-width:520px){.genre-options{grid-template-columns:1fr;}.genre-panel-head h2{font-size:34px;}}

/* Novels genre chooser */
.genre-trigger{display:flex;align-items:center;justify-content:space-between;gap:10px;cursor:pointer;min-width:130px;}
.genre-trigger span{font-size:16px;line-height:1;opacity:.8;}
.genre-panel-backdrop{position:fixed;inset:0;z-index:1200;display:flex;align-items:center;justify-content:center;padding:24px;background:rgba(0,0,0,.66);backdrop-filter:blur(7px);}
.genre-panel-backdrop[hidden]{display:none;}
.genre-panel{width:min(920px,92vw);max-height:min(78vh,760px);overflow:auto;border:1px solid rgba(229,178,62,.38);border-radius:18px;background:linear-gradient(180deg,#08111f 0%,#0b1627 100%);box-shadow:0 24px 90px rgba(0,0,0,.55);padding:28px;}
.genre-panel-head{display:flex;align-items:flex-start;justify-content:space-between;gap:20px;margin-bottom:20px;}
.genre-panel-head h2{margin:.2rem 0 0;font-family:"Cormorant Garamond",serif;font-size:40px;color:#f4f1eb;}
.genre-panel-head h2 span{color:#e5b23e;}
.genre-panel-close{width:42px;height:42px;border-radius:50%;border:1px solid rgba(229,178,62,.35);background:#0c1728;color:#f5f1e8;font-size:28px;line-height:1;cursor:pointer;}
.genre-options{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;}
.genre-option{padding:13px 15px;border:1px solid rgba(255,255,255,.1);border-radius:10px;background:#0a1423;color:#dce4ee;text-align:left;cursor:pointer;transition:background .18s,border-color .18s,transform .18s,color .18s;}
.genre-option:hover{background:#111f33;border-color:rgba(229,178,62,.5);transform:translateY(-1px);color:#fff;}
.genre-option.active{background:linear-gradient(135deg,#e5b23e,#c99020);border-color:#e5b23e;color:#111;font-weight:700;}
@media (max-width:800px){.genre-options{grid-template-columns:repeat(2,minmax(0,1fr));}.genre-panel{padding:22px;}}
@media (max-width:520px){.genre-options{grid-template-columns:1fr;}.genre-panel-head h2{font-size:34px;}}


/* Genre panel navbar spacing override */
.genre-panel{transform:translateY(22px);}

.novels-pagination{display:flex;justify-content:center;align-items:center;gap:8px;margin:24px auto 4px;flex-wrap:wrap}
.novels-pagination button{min-width:40px;height:40px;padding:0 12px;border:1px solid rgba(231,170,49,.22);border-radius:9px;background:rgba(5,12,22,.82);color:#cfd7e2;font-weight:700;cursor:pointer;transition:background .18s ease,border-color .18s ease,color .18s ease}
.novels-pagination button:hover:not(:disabled){background:rgba(231,170,49,.16);border-color:rgba(231,170,49,.5);color:#f3c64f}
.novels-pagination button.active{background:var(--gold);border-color:var(--gold);color:#090d14}
.novels-pagination button:disabled{opacity:.45;cursor:not-allowed}
.novels-pagination .novels-page-info{color:#8b98aa;font-size:12px;margin:0 6px}

/* Bookmark single-window view */
#bookmarkView[hidden]{display:none!important}
#bookmarkView .bookmark-page{min-height:100vh;padding:118px 5vw 70px;background:linear-gradient(rgba(3,8,18,.72),rgba(3,8,18,.88)),url("assets/bookmark-background.png") center center/cover fixed no-repeat;position:relative;isolation:isolate}
#bookmarkView .bookmark-shell{max-width:1220px;margin:0 auto}
#bookmarkView .bookmark-intro{text-align:center;max-width:820px;margin:12px auto 42px}
#bookmarkView .bookmark-intro h1{font-family:var(--serif);font-size:58px;line-height:1;margin:8px 0 14px;color:#f4f1eb}
#bookmarkView .bookmark-intro h1 span{color:var(--gold2)}
#bookmarkView .bookmark-intro>p:not(.section-kicker){color:#aeb8c7;line-height:1.7;margin:0 auto;max-width:700px}
#bookmarkView .bookmark-section{border:1px solid rgba(231,170,49,.22);border-radius:16px;background:rgba(5,12,22,.78);padding:24px;box-shadow:0 18px 45px rgba(0,0,0,.2)}
#bookmarkView .bookmark-section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:20px}
#bookmarkView .bookmark-section-head h2{font-family:var(--serif);font-size:32px;margin:5px 0 0;color:#f2eee6}
#bookmarkView .bookmark-count{font-size:12px;color:#8f9bad;border:1px solid rgba(255,255,255,.08);padding:7px 11px;border-radius:999px;background:rgba(255,255,255,.025)}
#bookmarkView .bookmark-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
#bookmarkView .bookmark-card{border:1px solid rgba(255,255,255,.075);border-radius:12px;background:linear-gradient(145deg,rgba(10,20,34,.92),rgba(4,10,18,.96));overflow:hidden;cursor:pointer;transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease}
#bookmarkView .bookmark-card:hover{transform:translateY(-4px);border-color:rgba(231,170,49,.45);box-shadow:0 16px 35px rgba(0,0,0,.28)}
#bookmarkView .bookmark-cover{height:245px;background:linear-gradient(145deg,#14223a,#060b15);display:flex;align-items:center;justify-content:center;color:var(--gold2);font-family:var(--serif);font-size:34px;overflow:hidden}
#bookmarkView .bookmark-cover img{width:100%;height:100%;object-fit:cover}
#bookmarkView .bookmark-body{padding:14px 14px 16px}
#bookmarkView .bookmark-meta{font-size:9px;letter-spacing:.13em;color:var(--gold2);font-weight:800;text-transform:uppercase}
#bookmarkView .bookmark-card h3{font-family:var(--serif);font-size:23px;line-height:1.08;margin:7px 0 5px;color:#f2eee6}
#bookmarkView .bookmark-author{font-size:11px;color:#a3afc0;margin:0 0 9px}
#bookmarkView .bookmark-stats{display:flex;justify-content:space-between;gap:8px;margin-top:12px;padding-top:10px;border-top:1px solid rgba(255,255,255,.06);font-size:10px;color:#69788d}
#bookmarkView .bookmark-empty{grid-column:1/-1;min-height:330px;border:1px dashed rgba(231,170,49,.25);border-radius:14px;background:rgba(5,11,22,.65);display:grid;place-items:center;text-align:center;padding:40px}
#bookmarkView .bookmark-empty-inner{max-width:560px}
#bookmarkView .bookmark-empty .star{font-size:35px;color:var(--gold2);margin-bottom:12px}
#bookmarkView .bookmark-empty h3{font-family:var(--serif);font-size:30px;margin:0 0 8px;color:#f2eee6}
#bookmarkView .bookmark-empty p{color:#9faabd;line-height:1.65;margin:0}
#bookmarkView .bookmark-auth-gate{grid-column:1/-1;min-height:330px;display:grid;place-items:center;padding:40px;border:1px dashed rgba(231,170,49,.25);border-radius:14px;background:rgba(5,11,22,.65)}
#bookmarkView .bookmark-auth-actions{display:flex;align-items:center;justify-content:center;gap:14px}
#bookmarkView .bookmark-auth-actions .text-btn,#bookmarkView .bookmark-auth-actions .gold-btn{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;min-width:120px}
@media(max-width:1000px){#bookmarkView .bookmark-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){#bookmarkView .bookmark-grid{grid-template-columns:repeat(2,minmax(0,1fr))}#bookmarkView .bookmark-intro h1{font-size:46px}}
@media(max-width:520px){#bookmarkView .bookmark-page{padding:100px 16px 50px}#bookmarkView .bookmark-grid{grid-template-columns:1fr}#bookmarkView .bookmark-section{padding:18px}#bookmarkView .bookmark-section-head{align-items:flex-start;flex-direction:column}}


/* About Us single-window view */
#aboutView[hidden]{display:none!important}
#aboutView .about-page{min-height:100vh;padding:118px 5vw 76px;background:linear-gradient(rgba(3,8,18,.80),rgba(3,8,18,.94)),url("assets/hero.png") center center/cover fixed no-repeat;position:relative;isolation:isolate}
#aboutView .about-shell{max-width:1120px;margin:0 auto}
#aboutView .about-hero{text-align:center;max-width:850px;margin:12px auto 48px}
#aboutView .about-hero h1{font-family:var(--serif);font-size:58px;line-height:1.05;margin:8px 0 18px;color:#f4f1eb}
#aboutView .about-hero h1 span{color:var(--gold2)}
#aboutView .about-hero>p:not(.section-kicker){color:#b3bdcb;line-height:1.75;font-size:16px;max-width:760px;margin:0 auto}
#aboutView .about-brand-mark{display:block;width:min(280px,42vw);height:auto;margin:0 auto 18px;object-fit:contain}
#aboutView .about-panel{border:1px solid rgba(231,170,49,.22);border-radius:16px;background:rgba(5,12,22,.84);padding:30px 32px;margin-bottom:20px;box-shadow:0 18px 45px rgba(0,0,0,.20)}
#aboutView .about-panel-head{margin-bottom:14px}
#aboutView .about-panel-head h2{font-family:var(--serif);font-size:34px;line-height:1.15;color:#f2eee6;margin:6px 0 0}
#aboutView .about-panel p{color:#aeb8c7;line-height:1.75;margin:8px 0}
#aboutView .about-values-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin-bottom:20px}
#aboutView .about-value-card{border:1px solid rgba(255,255,255,.075);border-radius:14px;background:linear-gradient(145deg,rgba(10,20,34,.92),rgba(4,10,18,.96));padding:26px 24px}
#aboutView .about-value-icon{display:block;color:var(--gold2);font-size:26px;margin-bottom:12px}
#aboutView .about-value-card h3{font-family:var(--serif);font-size:25px;color:#f2eee6;margin:0 0 8px}
#aboutView .about-value-card p{font-size:14px;color:#9eabbc;line-height:1.7;margin:0}
#aboutView .about-principles-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:0 28px}
#aboutView .about-principles-list>div{padding:17px 0;border-top:1px solid rgba(255,255,255,.07);display:flex;flex-direction:column;gap:5px}
#aboutView .about-principles-list strong{font-family:var(--serif);font-size:22px;color:#eebd45}
#aboutView .about-principles-list span{font-size:13px;color:#a2afc0;line-height:1.65}
#aboutView .about-quote{margin-top:24px;padding:18px 22px;border-left:2px solid var(--gold2);background:rgba(231,170,49,.045);display:flex;gap:12px;align-items:flex-start}
#aboutView .about-quote>span{font-family:var(--serif);font-size:46px;line-height:.7;color:var(--gold2)}
#aboutView .about-quote p{font-family:var(--serif);font-style:italic;font-size:18px;color:#d7dce4;margin:0}
@media(max-width:800px){#aboutView .about-values-grid{grid-template-columns:1fr 1fr}#aboutView .about-principles-list{grid-template-columns:1fr}#aboutView .about-hero h1{font-size:48px}}
@media(max-width:560px){#aboutView .about-page{padding:100px 16px 50px}#aboutView .about-values-grid{grid-template-columns:1fr}#aboutView .about-panel{padding:22px 20px}#aboutView .about-hero h1{font-size:40px}}

/* Single-window views: hidden footer must not render above page content. */
footer.site-footer[hidden]{display:none!important;}

/* Shared asset pagination: appears only when a section has more assets than its visible page size. */
.asset-pagination-wrap{width:100%;margin-top:20px}
.asset-pagination,.novels-pagination{display:flex;justify-content:center;align-items:center;gap:8px;flex-wrap:wrap;margin:20px auto 4px}
.asset-pagination button{min-width:40px;height:40px;padding:0 12px;border:1px solid rgba(231,170,49,.22);border-radius:9px;background:rgba(5,12,22,.82);color:#cfd7e2;font-weight:700;cursor:pointer;transition:background .18s ease,border-color .18s ease,color .18s ease}
.asset-pagination button:hover:not(:disabled){background:rgba(231,170,49,.16);border-color:rgba(231,170,49,.5);color:#f3c64f}
.asset-pagination button.active{background:var(--gold);border-color:var(--gold);color:#090d14}
.asset-pagination button:disabled{opacity:.45;cursor:not-allowed}
.asset-pagination span{color:#8b98aa;font-size:12px;margin:0 6px}

/* Novel showcase card: desktop design reference */
.novel-showcase-card{
  position:relative;display:flex;flex-direction:column;min-width:0;overflow:hidden;
  border:1px solid rgba(231,170,49,.24);border-radius:16px;
  background:linear-gradient(180deg,rgba(7,15,28,.98),rgba(3,9,18,.99));
  box-shadow:0 14px 38px rgba(0,0,0,.22);
  transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease;
}
.novel-showcase-card:hover{transform:translateY(-5px);border-color:rgba(231,170,49,.55);box-shadow:0 22px 48px rgba(0,0,0,.34),0 0 28px rgba(231,170,49,.08)}
.novel-showcase-cover{position:relative;aspect-ratio:4/2.15;min-height:0;overflow:hidden;background:radial-gradient(circle at 50% 35%,#293957,#050b14);}
.novel-showcase-cover::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(0,0,0,.05) 45%,rgba(2,7,15,.9) 100%);pointer-events:none}
.novel-showcase-cover img{width:100%;height:100%;object-fit:cover;display:block}
.novel-showcase-badge{position:absolute;z-index:2;top:14px;left:14px;padding:8px 13px;border:1px solid rgba(231,170,49,.72);border-radius:999px;background:rgba(3,8,15,.72);backdrop-filter:blur(7px);color:#ffd36b;font-size:11px;font-weight:800;letter-spacing:.06em}
.novel-showcase-bookmark{position:absolute;z-index:3;top:8px;right:8px;width:34px;height:34px;border:1px solid rgba(231,170,49,.48);border-radius:50%;background:rgba(3,8,15,.72);backdrop-filter:blur(7px);color:#f2ad31;display:grid;place-items:center;cursor:pointer;transition:.18s ease}
.novel-showcase-bookmark:hover,.novel-showcase-bookmark.active{background:rgba(231,170,49,.18);border-color:#f0b63d;color:#ffd66f}
.novel-showcase-bookmark svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8}
.novel-showcase-body{padding:9px 10px 10px;display:flex;flex-direction:column;flex:1}
.novel-showcase-title{font-family:var(--serif);font-size:17px;line-height:1.05;margin:0 0 3px;color:#f5f0e7}
.novel-showcase-author{margin:0 0 5px;color:#f0a12a;font-size:10px;font-weight:600;display:flex;align-items:center;gap:6px}
.novel-showcase-verified{display:inline-block;place-items:center;width:16px;height:16px;border-radius:0;background:transparent;color:inherit;font-size:inherit;font-weight:inherit}
.novel-showcase-desc{margin:0;color:#aeb7c5;font-size:9px;line-height:1.35;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:24px}
.novel-showcase-tags{display:flex;gap:4px;flex-wrap:wrap;margin:6px 0 7px}
.novel-showcase-tag{padding:4px 7px;border:1px solid rgba(231,170,49,.32);border-radius:999px;color:#e5b75d;background:rgba(231,170,49,.035);font-size:8px;font-weight:600}
.novel-showcase-tag.more{color:#9ca7b7;border-color:rgba(255,255,255,.12)}
.novel-showcase-stats{display:grid;grid-template-columns:repeat(3,1fr);border-top:1px solid rgba(255,255,255,.09);border-bottom:1px solid rgba(255,255,255,.06);padding:6px 0;margin-bottom:7px}
.novel-showcase-stat{display:flex;flex-direction:column;align-items:center;gap:2px;color:#e8e3d9;font-size:9px;border-right:1px solid rgba(255,255,255,.08)}
.novel-showcase-stat:last-child{border-right:0}
.novel-showcase-stat strong{font-size:11px;color:#f2ede4;font-weight:600}
.novel-showcase-stat span{font-size:7px;color:#8792a4;letter-spacing:.06em;text-transform:uppercase}
.novel-showcase-read{margin-top:auto;width:100%;min-height:28px;border:1px solid rgba(231,170,49,.65);border-radius:12px;background:linear-gradient(90deg,rgba(122,52,15,.35),rgba(40,19,8,.55));color:#f4bc43;font:600 10px/1 "DM Sans",sans-serif;cursor:pointer;display:flex;align-items:center;justify-content:center;gap:5px;transition:.18s ease}
.novel-showcase-read:hover{background:linear-gradient(90deg,rgba(231,170,49,.18),rgba(122,52,15,.45));box-shadow:0 0 24px rgba(231,170,49,.1)}
.novel-showcase-read svg{width:14px;height:14px;fill:none;stroke:currentColor;stroke-width:1.7}
.novel-showcase-card.demo::before{content:"DEMO";position:absolute;z-index:5;right:12px;bottom:12px;padding:4px 7px;border-radius:5px;background:rgba(0,0,0,.62);color:#8d98a9;font-size:8px;letter-spacing:.1em;font-weight:800}
@media(max-width:1024px){.novel-showcase-title{font-size:17px}.novel-showcase-body{padding:9px 10px 10px}}

/* Trending novel cards: wider and shorter, with genres represented in the detail tags below. */
#dynamicTrendingGrid{grid-template-columns:repeat(3,minmax(0,1fr));}
#dynamicTrendingGrid .novel-showcase-cover{aspect-ratio:4/2.15;min-height:0;}
#dynamicTrendingGrid .novel-showcase-badge{display:none;}
@media(max-width:1024px){#dynamicTrendingGrid{grid-template-columns:repeat(2,minmax(0,1fr));}}
@media(max-width:600px){#dynamicTrendingGrid{grid-template-columns:1fr;}}
/* Author verification badge: awarded dynamically when an author's works exceed 10,000 total views. */
.novel-showcase-verified{width:32px;height:32px;object-fit:contain;display:inline-block;vertical-align:middle;flex:0 0 auto;background:transparent!important;box-shadow:none!important}
.author-verified-badge{width:38px;height:38px;object-fit:contain;display:inline-block;vertical-align:middle;margin-left:7px;flex:0 0 auto;background:transparent!important;box-shadow:none!important}

/* Novel card refinement: slightly narrower cards with 1.5x typography. */
.novel-showcase-card{width:90%;justify-self:center}
.novel-showcase-badge{font-size:16.5px}
.novel-showcase-bookmark{font-size:inherit}
.novel-showcase-title{font-size:25.5px}
.novel-showcase-author{font-size:15px}
.novel-showcase-desc{font-size:13.5px;line-height:1.35;min-height:36px}
.novel-showcase-tag{font-size:12px}
.novel-showcase-stat{font-size:13.5px}
.novel-showcase-stat strong{font-size:16.5px}
.novel-showcase-stat span{font-size:10.5px}
.novel-showcase-read{font-size:15px}
.novel-showcase-demo::before{font-size:12px}

/* Top Authors panel: exactly 16 visible authors (4 × 4). Additional authors are available via View All. */
.content-grid > .top-authors{
  min-height:0;
  height:390px;
  align-self:start;
  box-sizing:border-box;
}
.home-right-rail > .top-authors .dynamic-author-grid{
  grid-template-columns:repeat(4,minmax(0,1fr));
  grid-template-rows:repeat(4,minmax(0,1fr));
  gap:8px;
  max-height:240px;
  overflow:hidden;
}
.home-right-rail > .top-authors .dynamic-author-card{
  min-width:0;
  min-height:0;
  height:54px;
  padding:9px 8px;
  gap:7px;
  box-sizing:border-box;
}
.content-grid > .top-authors .dynamic-avatar{
  width:25px;
  height:25px;
  min-width:25px;
}
.content-grid > .top-authors .dynamic-author-card h3{
  font-size:11px;
  margin:0 0 2px;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.content-grid > .top-authors .dynamic-author-card p{font-size:9px}
@media(max-width:1200px){
  .home-right-rail > .top-authors .dynamic-author-grid{grid-template-columns:repeat(4,minmax(0,1fr));}
}
@media(max-width:1000px){
  .content-grid > .top-authors{height:auto;}
  .home-right-rail > .top-authors .dynamic-author-grid{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:repeat(8,minmax(0,1fr));max-height:none;overflow:visible;}
}
/* Top Authors panel: compact verification badge only for this panel. Other badge sizes remain unchanged. */
.content-grid > .top-authors .author-verified-badge{width:24px;height:24px;margin-left:4px;}

/* Author cards: visual treatment based on the supplied reference. Scoped to the Authors page only. */
#authorsView .author-card{
  min-height:236px;
  padding:14px;
  display:flex;
  align-items:flex-start;
  gap:12px;
  border:1px solid rgba(231,170,49,.30);
  border-radius:16px;
  background:
    linear-gradient(90deg,rgba(5,11,20,.91),rgba(5,11,20,.60)),
    url("assets/author-card-background.png") center/cover no-repeat;
  box-shadow:0 14px 35px rgba(0,0,0,.22),inset 0 0 0 1px rgba(255,255,255,.025);
  overflow:hidden;
}
#authorsView .author-card:hover{
  transform:translateY(-3px);
  border-color:rgba(231,170,49,.58);
  box-shadow:0 18px 42px rgba(0,0,0,.30),0 0 24px rgba(231,170,49,.07);
}
#authorsView .author-avatar{
  width:76px;
  height:76px;
  min-width:76px;
  flex:0 0 76px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  background:radial-gradient(circle at 50% 35%,#203957,#070e19 72%);
  border:2px solid rgba(231,170,49,.72);
  color:#f3b93e;
  font-family:Georgia,"Times New Roman",serif;
  font-size:30px;
  font-weight:900;
  box-shadow:0 0 0 4px rgba(231,170,49,.05),0 0 24px rgba(231,170,49,.09);
}
#authorsView .author-avatar img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
}
#authorsView .author-card-main{min-width:0;flex:1;}
#authorsView .author-card h3{
  margin:0 0 3px;
  display:flex;
  align-items:center;
  gap:5px;
  flex-wrap:wrap;
  color:#f4f0e7;
  font-family:Georgia,"Times New Roman",serif;
  font-size:19px;
  line-height:1.05;
}
#authorsView .author-card h3 .author-verified-badge{
  width:38px;
  height:38px;
  margin-left:1px;
  object-fit:contain;
  flex:0 0 auto;
}
#authorsView .author-card-role{
  color:#efb43d;
  font-size:8px;
  font-weight:800;
  letter-spacing:.15em;
  text-transform:uppercase;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
#authorsView .author-card-quote{
  margin:9px 0 10px;
  color:#cbd2dc;
  font-size:10px;
  line-height:1.45;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
#authorsView .author-card-stats{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  border-top:1px solid rgba(255,255,255,.09);
  border-bottom:1px solid rgba(255,255,255,.07);
  padding:8px 0;
}
#authorsView .author-card-stats>div{
  min-width:0;
  text-align:center;
  border-right:1px solid rgba(255,255,255,.08);
}
#authorsView .author-card-stats>div:last-child{border-right:0}
#authorsView .author-card-stats strong{
  display:block;
  color:#f1eadf;
  font-family:Georgia,"Times New Roman",serif;
  font-size:13px;
  line-height:1.1;
}
#authorsView .author-card-stats span{
  display:block;
  margin-top:3px;
  color:#8e9aab;
  font-size:7px;
  letter-spacing:.08em;
  text-transform:uppercase;
}
#authorsView .author-card-stat-line{
  margin-top:8px;
  color:#e7aa31;
  font-size:8px;
  font-weight:800;
}
@media(max-width:1000px){
  #authorsView .author-card{min-height:225px;}
}
@media(max-width:620px){
  #authorsView .author-card{min-height:0;}
}

/* FINAL AUTHOR CARD REFERENCE OVERRIDE - Authors page only */
#authorsView .author-grid{grid-template-columns:1fr;gap:18px;}
#authorsView .author-card{
  position:relative !important;
  min-height:300px !important;
  padding:24px 28px !important;
  display:grid !important;
  grid-template-columns:170px minmax(0,1fr) !important;
  align-items:center !important;
  gap:30px !important;
  border:2px solid rgba(231,170,49,.72) !important;
  border-radius:24px !important;
  background:
    linear-gradient(90deg,rgba(5,11,20,.90),rgba(5,11,20,.55)),
    url("assets/author-card-background.png") center/cover no-repeat;
  box-shadow:0 18px 55px rgba(0,0,0,.42),inset 0 0 0 2px rgba(255,255,255,.035),inset 0 0 45px rgba(231,170,49,.035) !important;
  overflow:hidden !important;
  transform:none !important;
}
#authorsView .author-card::before{
  content:"";
  position:absolute;
  inset:7px;
  border:1px solid rgba(231,170,49,.32);
  border-radius:18px;
  pointer-events:none;
  background:linear-gradient(90deg,transparent 0 48%,rgba(231,170,49,.035) 62%,transparent 100%);
}
#authorsView .author-card::after{
  content:"✦";
  position:absolute;
  right:24px;
  bottom:16px;
  color:#e7aa31;
  font-size:24px;
  opacity:.7;
  text-shadow:0 0 14px rgba(231,170,49,.5);
}
#authorsView .author-card:hover{transform:translateY(-4px) !important;border-color:rgba(231,170,49,.95) !important;}
#authorsView .author-avatar{
  position:relative !important;
  z-index:1;
  width:150px !important;height:150px !important;min-width:150px !important;flex:0 0 150px !important;
  border-radius:50% !important;
  border:3px solid #e7aa31 !important;
  background:radial-gradient(circle at 48% 35%,#274666 0%,#0b1625 54%,#030811 100%) !important;
  color:#e7aa31 !important;
  font-family:Georgia,"Times New Roman",serif !important;
  font-size:58px !important;font-weight:900 !important;
  box-shadow:0 0 0 7px rgba(231,170,49,.06),0 0 0 10px rgba(231,170,49,.18),0 0 38px rgba(231,170,49,.18) !important;
}
#authorsView .author-avatar::before{
  content:"";position:absolute;inset:9px;border:1px solid rgba(231,170,49,.48);border-radius:50%;pointer-events:none;
}
#authorsView .author-avatar img{width:100%;height:100%;object-fit:cover;position:relative;z-index:1;}
#authorsView .author-card-main{position:relative;z-index:1;min-width:0;flex:1;}
#authorsView .author-card h3{
  margin:0 0 7px !important;
  display:flex !important;align-items:center !important;gap:9px !important;flex-wrap:wrap !important;
  color:#f4f0e7 !important;font-family:Georgia,"Times New Roman",serif !important;
  font-size:32px !important;line-height:1.05 !important;
}
#authorsView .author-card h3 .author-verified-badge{
  width:42px !important;height:42px !important;margin-left:2px !important;object-fit:contain !important;flex:0 0 auto !important;
}
#authorsView .author-card-role{
  color:#efb43d !important;font-size:12px !important;font-weight:900 !important;letter-spacing:.20em !important;text-transform:uppercase !important;
}
#authorsView .author-card-role-row{display:flex !important;align-items:center !important;gap:12px !important;flex-wrap:wrap !important;}
#authorsView .author-card-followers{color:#e7aa31 !important;font-size:11px !important;font-weight:900 !important;letter-spacing:.06em !important;text-transform:uppercase !important;white-space:nowrap !important;}
#authorsView .author-card-quote{
  margin:18px 0 20px !important;color:#d5d9df !important;font-size:16px !important;line-height:1.55 !important;
  max-width:680px !important;display:block !important;-webkit-line-clamp:unset !important;overflow:visible !important;
}
#authorsView .author-card-stats{
  display:grid !important;grid-template-columns:repeat(3,minmax(130px,1fr)) !important;
  max-width:700px !important;border:1px solid rgba(231,170,49,.22) !important;border-radius:14px !important;
  background:rgba(0,0,0,.18) !important;padding:0 !important;overflow:hidden !important;
}
#authorsView .author-card-stats>div{padding:15px 18px !important;border-right:1px solid rgba(231,170,49,.18) !important;}
#authorsView .author-card-stats strong{font-size:22px !important;color:#f2eadc !important;}
#authorsView .author-card-stats span{font-size:9px !important;color:#e7aa31 !important;letter-spacing:.13em !important;}
#authorsView .author-card-stat-line{margin-top:12px !important;color:#e7aa31 !important;font-size:10px !important;font-weight:900 !important;letter-spacing:.08em !important;text-transform:uppercase !important;}
@media(max-width:900px){
  #authorsView .author-card{grid-template-columns:115px minmax(0,1fr) !important;min-height:250px !important;gap:22px !important;padding:20px !important;}
  #authorsView .author-avatar{width:105px !important;height:105px !important;min-width:105px !important;}
  #authorsView .author-card h3{font-size:25px !important;}
  #authorsView .author-card-quote{font-size:14px !important;}
}
@media(max-width:620px){
  #authorsView .author-card{grid-template-columns:1fr !important;text-align:center !important;min-height:0 !important;}
  #authorsView .author-avatar{margin:0 auto !important;}
  #authorsView .author-card-main{width:100%;}
  #authorsView .author-card h3{justify-content:center !important;}
  #authorsView .author-card-stats{margin:0 auto;}
}

/* AUTHOR CARD REFERENCE DETAILS: sweeping fire curves + ranking medallions. */
#authorsView .author-card-fire-curves{
  position:absolute !important;
  inset:-20% -6% -18% 22% !important;
  z-index:0 !important;
  pointer-events:none !important;
  opacity:.9 !important;
  background:
    radial-gradient(ellipse at 52% 42%,transparent 0 38%,rgba(231,170,49,.10) 38.5%,transparent 40%),
    radial-gradient(ellipse at 58% 55%,transparent 0 48%,rgba(255,112,18,.16) 48.5%,transparent 50%),
    radial-gradient(ellipse at 65% 62%,transparent 0 58%,rgba(231,170,49,.12) 58.5%,transparent 60%);
  transform:rotate(-13deg) scale(1.15);
  filter:drop-shadow(0 0 9px rgba(255,116,24,.18));
}
#authorsView .author-card-fire-curves::before,
#authorsView .author-card-fire-curves::after{
  content:"";position:absolute;inset:12% 8%;border:2px solid rgba(231,170,49,.20);border-left-color:transparent;border-bottom-color:rgba(255,107,20,.24);border-radius:50%;transform:rotate(18deg) skewX(-10deg);
}
#authorsView .author-card-fire-curves::after{inset:25% 2%;border-width:3px;border-color:rgba(255,116,24,.15);border-right-color:transparent;transform:rotate(-14deg) scale(.88);}
#authorsView .author-rank-badge{
  position:absolute !important;right:30px !important;bottom:26px !important;z-index:2 !important;
  width:116px !important;height:116px !important;border-radius:50% !important;
  display:flex !important;flex-direction:column !important;align-items:center !important;justify-content:center !important;
  border:2px solid rgba(231,170,49,.72) !important;
  background:radial-gradient(circle at 50% 38%,rgba(231,170,49,.24),rgba(4,9,17,.96) 63%) !important;
  box-shadow:0 0 0 6px rgba(231,170,49,.05),0 0 28px rgba(231,170,49,.13),inset 0 0 20px rgba(231,170,49,.08) !important;
  color:#efb43d !important;text-align:center !important;
}
#authorsView .author-rank-badge strong{font:900 34px/1 Georgia,"Times New Roman",serif !important;color:#f5c55d !important;}
#authorsView .author-rank-badge span{font:900 8px/1.2 Arial,sans-serif !important;letter-spacing:.12em !important;color:#f1e7d2 !important;margin-top:6px !important;}
#authorsView .author-rank-badge small{font:800 7px/1.2 Arial,sans-serif !important;letter-spacing:.13em !important;color:#e7aa31 !important;margin-top:4px !important;text-transform:uppercase !important;}

/* Home Top Authors: same ranking language, compact for the 4-column panel. */
.home-right-rail > .top-authors .dynamic-author-card{position:relative;overflow:hidden;}
.content-grid > .top-authors .dynamic-author-card::before{
  content:"";position:absolute;inset:-40% 22% -45% 25%;z-index:0;pointer-events:none;opacity:.55;
  background:radial-gradient(ellipse at 55% 50%,transparent 0 48%,rgba(231,170,49,.13) 49%,transparent 51%),radial-gradient(ellipse at 65% 58%,transparent 0 62%,rgba(255,110,18,.13) 63%,transparent 65%);
  transform:rotate(-16deg);filter:drop-shadow(0 0 5px rgba(255,110,18,.15));
}
.content-grid > .top-authors .dynamic-author-main{position:relative;z-index:1;min-width:0;}
.content-grid > .top-authors .author-rank-mini{
  position:relative;z-index:2;flex:0 0 34px;width:34px;height:34px;border-radius:50%;
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  border:1px solid rgba(231,170,49,.55);background:radial-gradient(circle,rgba(231,170,49,.18),rgba(3,8,16,.94) 68%);
  box-shadow:0 0 10px rgba(231,170,49,.08);color:#efb43d;text-align:center;
}
.content-grid > .top-authors .author-rank-mini strong{font:900 11px/1 Georgia,"Times New Roman",serif;}
.content-grid > .top-authors .author-rank-mini span{font:800 5px/1 Arial,sans-serif;letter-spacing:.08em;margin-top:2px;color:#d9d2c4;}


/* FINAL AUTHOR CARD SHAPE OVERRIDE: clean cosmic background, no legacy decorative curves. */
#authorsView .author-card{
  width:min(100%,1100px) !important;
  margin-left:auto !important;
  margin-right:auto !important;
  min-height:0 !important;
  aspect-ratio:1.55 / 1 !important;
  box-sizing:border-box !important;
  background:
    linear-gradient(90deg,rgba(3,8,17,.72),rgba(3,8,17,.34)),
    url("assets/author-card-background.png") center/cover no-repeat !important;
}
#authorsView .author-card::before,
#authorsView .author-card::after,
#authorsView .author-card-fire-curves,
#authorsView .author-card-fire-curves::before,
#authorsView .author-card-fire-curves::after{
  display:none !important;
  content:none !important;
  background:none !important;
  border:0 !important;
  box-shadow:none !important;
}
/* Keep the ranking medallion, avatar, verification badge and content intact. */
.content-grid > .top-authors .dynamic-author-card::before{
  display:none !important;
  content:none !important;
}
@media(max-width:900px){
  #authorsView .author-card{aspect-ratio:1.35 / 1 !important;}
}
@media(max-width:620px){
  #authorsView .author-card{aspect-ratio:auto !important;}
}

/* FINAL AUTHOR CARD SIZE OVERRIDE - compact cards, scoped only to author cards. */
#authorsView .author-grid{grid-template-columns:repeat(4,minmax(0,1fr)) !important;gap:14px !important;}
#authorsView .author-card{width:100% !important;max-width:none !important;aspect-ratio:1.75 / 1 !important;min-height:0 !important;height:auto !important;padding:14px !important;display:grid !important;grid-template-columns:72px minmax(0,1fr) !important;align-items:center !important;gap:12px !important;border-radius:16px !important;}
#authorsView .author-avatar{width:68px !important;height:68px !important;min-width:68px !important;flex:0 0 68px !important;font-size:30px !important;border-width:2px !important;box-shadow:0 0 0 4px rgba(231,170,49,.06),0 0 18px rgba(231,170,49,.12) !important;}
#authorsView .author-avatar::before{inset:6px !important;}
#authorsView .author-card h3{font-size:18px !important;gap:5px !important;margin:0 0 4px !important;}
#authorsView .author-card h3 .author-verified-badge{width:28px !important;height:28px !important;margin-left:1px !important;}
#authorsView .author-card-role{font-size:10px !important;letter-spacing:.13em !important;}
#authorsView .author-card-role-row{gap:8px !important;}
#authorsView .author-card-followers{font-size:10px !important;letter-spacing:.06em !important;}
#authorsView .author-card-quote{margin:8px 0 9px !important;font-size:10px !important;line-height:1.35 !important;max-width:none !important;display:-webkit-box !important;-webkit-line-clamp:2 !important;-webkit-box-orient:vertical !important;overflow:hidden !important;}
#authorsView .author-card-stats{max-width:none !important;grid-template-columns:repeat(2,minmax(0,1fr)) !important;}
#authorsView .author-card-stats>div{padding:7px 5px !important;}
#authorsView .author-card-stats strong{font-size:14px !important;}
#authorsView .author-card-stats span{font-size:8px !important;margin-top:2px !important;font-weight:700 !important;}
#authorsView .author-card-stat-line{margin-top:6px !important;font-size:7px !important;}
#authorsView .author-rank-badge{
  position:absolute !important;
  left:12px !important;
  top:8px !important;
  right:auto !important;
  bottom:auto !important;
  width:auto !important;
  height:auto !important;
  min-width:0 !important;
  min-height:0 !important;
  z-index:10 !important;
  display:block !important;
  border:0 !important;
  border-radius:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  padding:0 !important;
  color:#f5c55d !important;
  text-align:left !important;
}
#authorsView .author-rank-badge strong{
  display:block !important;
  font:900 20px/1 Georgia,"Times New Roman",serif !important;
  color:#f5c55d !important;
  text-shadow:0 1px 8px rgba(0,0,0,.55) !important;
}
#authorsView .author-rank-badge span,
#authorsView .author-rank-badge small{display:none !important;}

/* Homepage Top Authors: compact Instagram-style suggestion-card scale. */
.home-right-rail > .top-authors .dynamic-author-card{height:50px !important;min-height:50px !important;padding:7px 7px !important;gap:6px !important;border-radius:10px !important;}
.content-grid > .top-authors .dynamic-avatar{width:24px !important;height:24px !important;min-width:24px !important;}
.content-grid > .top-authors .dynamic-author-card h3{font-size:10px !important;}
.content-grid > .top-authors .dynamic-author-card p{font-size:8px !important;}
.content-grid > .top-authors .author-rank-mini{width:30px !important;height:30px !important;flex-basis:30px !important;}
.content-grid > .top-authors .author-rank-mini strong{font-size:10px !important;}

@media(max-width:1100px){#authorsView .author-grid{grid-template-columns:repeat(2,minmax(0,1fr)) !important;}}
@media(max-width:620px){#authorsView .author-grid{grid-template-columns:1fr !important;}#authorsView .author-card{aspect-ratio:auto !important;min-height:180px !important;}}

/* HOME TOP AUTHORS: place the ranking badge at the top-left of the profile/avatar area. */
.home-right-rail > .top-authors .dynamic-author-card{position:relative !important;}
.content-grid > .top-authors .author-rank-mini{
  position:absolute !important;
  left:7px !important;
  top:5px !important;
  z-index:4 !important;
}
.content-grid > .top-authors .dynamic-avatar{
  position:relative !important;
  z-index:2 !important;
  margin-top:7px !important;
}
.content-grid > .top-authors .dynamic-author-main{
  position:relative !important;
  z-index:3 !important;
}

/* FINAL HOME TOP AUTHORS READABILITY OVERRIDE - keep capacity at exactly 4 × 4. */
.content-grid > .top-authors{
  height:430px !important;
}
.home-right-rail > .top-authors .dynamic-author-grid{
  grid-template-columns:repeat(4,minmax(0,1fr)) !important;
  grid-template-rows:repeat(4,minmax(0,1fr)) !important;
  gap:10px !important;
  max-height:300px !important;
  overflow:hidden !important;
}
.home-right-rail > .top-authors .dynamic-author-card{
  height:68px !important;
  min-height:68px !important;
  padding:10px !important;
  gap:9px !important;
}
.content-grid > .top-authors .dynamic-avatar{
  width:32px !important;
  height:32px !important;
  min-width:32px !important;
  font-size:13px !important;
}
.content-grid > .top-authors .dynamic-author-card h3{
  font-size:13px !important;
  margin:0 0 3px !important;
}
.content-grid > .top-authors .dynamic-author-card p{
  font-size:10px !important;
}
.content-grid > .top-authors .author-rank-mini{
  flex-basis:38px !important;
  width:38px !important;
  height:38px !important;
}
.content-grid > .top-authors .author-rank-mini strong{font-size:12px !important;}
.content-grid > .top-authors .author-rank-mini span{font-size:5.5px !important;}
.content-grid > .top-authors .author-verified-badge{
  width:22px !important;
  height:22px !important;
  margin-left:3px !important;
}

/* FINAL HOME TOP AUTHORS RANKING: plain text at top-left, no background. */
.content-grid > .top-authors .author-rank-mini{
  position:absolute !important;
  left:8px !important;
  top:5px !important;
  width:auto !important;
  min-width:0 !important;
  height:auto !important;
  flex:0 0 auto !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:none !important;
  box-shadow:none !important;
  display:flex !important;
  flex-direction:row !important;
  align-items:center !important;
  justify-content:flex-start !important;
  gap:3px !important;
  color:#efb43d !important;
  text-align:left !important;
}
.content-grid > .top-authors .author-rank-mini strong{
  font:900 12px/1 Georgia,"Times New Roman",serif !important;
  color:#f5c55d !important;
}
.content-grid > .top-authors .author-rank-mini span{
  font:800 5.5px/1 Arial,sans-serif !important;
  letter-spacing:.08em !important;
  margin:0 !important;
  color:#d9d2c4 !important;
}

/* Homepage right rail: Top Authors and its advertisements stay in one dedicated column. */
.content-grid > .home-right-rail{
  grid-column:2;
  min-width:0;
  display:flex;
  flex-direction:column;
  gap:14px;
}
.content-grid > .home-right-rail > .top-authors{
  width:100%;
  margin:0;
}
.content-grid > .home-right-rail > .home-top-authors-ads{
  position:relative;
  width:100%;
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr);
  gap:12px;
  min-height:250px;
  margin:0;
  padding:0;
  border:0;
  background:transparent;
}
.home-top-authors-ads .ad-slot{
  position:relative;
  min-width:0;
  border:1px solid rgba(231,170,49,.22);
  border-radius:12px;
  overflow:hidden;
  background:linear-gradient(145deg,#0a1220,#111827);
  box-shadow:0 8px 24px rgba(0,0,0,.18);
}
.home-top-authors-ads .ad-slot-tall{min-height:250px;}
.home-top-authors-ads .ad-stack{display:grid;grid-template-rows:1fr 1fr;gap:12px;min-height:250px;}
.home-top-authors-ads .ad-slot-half{min-height:119px;}
.home-top-authors-ads .ad-label{
  position:absolute;top:8px;left:10px;z-index:2;
  font:700 7px/1 Arial,sans-serif;letter-spacing:.14em;color:#7e899c;
}
.home-top-authors-ads .dummy-ad-content{
  height:100%;display:flex;flex-direction:column;align-items:center;justify-content:center;
  text-align:center;padding:24px 12px 12px;gap:7px;
}
.home-top-authors-ads .dummy-ad-kicker{font:800 9px/1 Arial,sans-serif;letter-spacing:.18em;color:#d8a942;}
.home-top-authors-ads .dummy-ad-content strong{font:700 16px/1.15 Georgia,"Times New Roman",serif;color:#f1e6c8;max-width:180px;}
.home-top-authors-ads .dummy-ad-content small{font:500 9px/1.2 Arial,sans-serif;color:#78859a;}
@media (max-width:900px){
  .content-grid > .home-right-rail{grid-column:1 / -1;}
  .content-grid > .home-right-rail > .home-top-authors-ads{width:100%;}
}
/* FINAL HOME TOP AUTHORS CAPACITY: 9 visible, arranged 3 columns × 3 rows. No pagination on this panel. */
.home-right-rail > .top-authors .dynamic-author-grid{
  grid-template-columns:repeat(3,minmax(0,1fr)) !important;
  grid-template-rows:repeat(3,minmax(0,1fr)) !important;
  max-height:225px !important;
  overflow:hidden !important;
}
.home-right-rail > .top-authors .dynamic-author-card{
  height:68px !important;
  min-height:68px !important;
}
@media(max-width:1000px){
  .home-right-rail > .top-authors .dynamic-author-grid{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    grid-template-rows:repeat(3,minmax(0,1fr)) !important;
    max-height:225px !important;
    overflow:hidden !important;
  }
}
@media(max-width:620px){
  .home-right-rail > .top-authors .dynamic-author-grid{
    grid-template-columns:repeat(3,minmax(0,1fr)) !important;
    grid-template-rows:repeat(3,minmax(0,1fr)) !important;
    max-height:225px !important;
  }
}


/* GOAT #1 profile frame: scoped only to the #1 card in the GOAT Authors list. */
#authorsView .author-avatar.goat-rank-one-avatar{
  overflow:visible !important;
  z-index:3 !important;
  border:0 !important;
  box-shadow:none !important;
  background:transparent !important;
}
#authorsView .author-avatar.goat-rank-one-avatar::before{
  display:none !important;
}
#authorsView .author-avatar.goat-rank-one-avatar > img:not(.goat-rank-one-frame){
  position:relative !important;
  z-index:1 !important;
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  border-radius:50% !important;
  clip-path:circle(50% at 50% 50%) !important;
}
#authorsView .author-avatar.goat-rank-one-avatar .goat-rank-one-frame{
  position:absolute !important;
  left:50% !important;
  top:50% !important;
  width:96px !important;
  height:auto !important;
  max-width:none !important;
  object-fit:contain !important;
  transform:translate(-50%,-50%) translate(-6px,-9px) !important;
  z-index:4 !important;
  pointer-events:none !important;
}

/* GOAT #2 profile frame: same treatment as #1, using the supplied blue frame. */
#authorsView .author-avatar.goat-rank-two-avatar{
  overflow:visible !important;
  z-index:3 !important;
  border:0 !important;
  box-shadow:none !important;
  background:transparent !important;
}
#authorsView .author-avatar.goat-rank-two-avatar::before{
  display:none !important;
}
#authorsView .author-avatar.goat-rank-two-avatar > img:not(.goat-rank-two-frame){
  position:relative !important;
  z-index:1 !important;
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  border-radius:50% !important;
  clip-path:circle(50% at 50% 50%) !important;
}
#authorsView .author-avatar.goat-rank-two-avatar .goat-rank-two-frame{
  position:absolute !important;
  left:50% !important;
  top:50% !important;
  width:96px !important;
  height:auto !important;
  max-width:none !important;
  object-fit:contain !important;
  transform:translate(-50%,-50%) translate(-6px,-9px) !important;
  z-index:4 !important;
  pointer-events:none !important;
}

/* Authors cards: lift the bottom stats box by 2px without changing its size. */
#authorsView .author-card-stats{transform:translateY(-4px) !important;}


/* GOAT #3 profile frame: same treatment as #1 and #2, using the supplied purple frame. */
#authorsView .author-avatar.goat-rank-three-avatar{
  overflow:visible !important;
  z-index:3 !important;
  border:0 !important;
  box-shadow:none !important;
  background:transparent !important;
}
#authorsView .author-avatar.goat-rank-three-avatar::before{
  display:none !important;
}
#authorsView .author-avatar.goat-rank-three-avatar > img:not(.goat-rank-three-frame){
  position:relative !important;
  z-index:1 !important;
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  border-radius:50% !important;
  clip-path:circle(50% at 50% 50%) !important;
}
#authorsView .author-avatar.goat-rank-three-avatar .goat-rank-three-frame{
  position:absolute !important;
  left:50% !important;
  top:50% !important;
  width:108px !important;
  height:auto !important;
  max-width:none !important;
  object-fit:contain !important;
  transform:translate(-50%,-50%) translate(0px,-7px) !important;
  z-index:4 !important;
  pointer-events:none !important;
}

/* METEORINK POLISH PASS: 50 small, low-risk UI refinements. */
/* 01 */ :root{scroll-behavior:smooth}
/* 02 */ ::selection{background:rgba(231,170,49,.24);color:#fff}
/* 03 */ html{scrollbar-width:thin;scrollbar-color:rgba(231,170,49,.38) transparent}
/* 04 */ body{-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
/* 05 */ a{transition:color .18s ease,opacity .18s ease}
/* 06 */ button,input,textarea,select{font:inherit}
/* 07 */ :focus-visible{outline:2px solid rgba(231,170,49,.82);outline-offset:3px}
/* 08 */ .site-header{backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
/* 09 */ .brand img{transition:transform .2s ease,filter .2s ease}
/* 10 */ .brand:hover img{transform:scale(1.03);filter:brightness(1.06)}
/* 11 */ .desktop-nav a{transition:color .18s ease,background .18s ease}
/* 12 */ .desktop-nav a:hover{background:rgba(231,170,49,.045);border-radius:7px}
/* 13 */ .header-actions{gap:10px}
/* 14 */ .search-box{transition:border-color .18s ease,box-shadow .18s ease,background .18s ease}
/* 15 */ .search-box:focus-within{border-color:rgba(231,170,49,.45);box-shadow:0 0 0 3px rgba(231,170,49,.07)}
/* 16 */ .search-box input::placeholder{opacity:.72}
/* 17 */ .gold-btn{transition:transform .18s ease,box-shadow .18s ease,filter .18s ease}
/* 18 */ .gold-btn:hover{transform:translateY(-1px);box-shadow:0 7px 18px rgba(231,170,49,.13);filter:brightness(1.03)}
/* 19 */ .outline-btn{transition:transform .18s ease,border-color .18s ease,background .18s ease}
/* 20 */ .outline-btn:hover{transform:translateY(-1px);background:rgba(231,170,49,.05)}
/* 21 */ .text-btn{transition:color .18s ease,opacity .18s ease}
/* 22 */ .text-btn:hover{opacity:.82}
/* 23 */ .menu-btn{transition:background .18s ease,border-color .18s ease,transform .18s ease}
/* 24 */ .menu-btn:hover{transform:translateY(-1px);background:rgba(255,255,255,.035)}
/* 25 */ .mobile-menu a,.mobile-menu button{transition:background .16s ease,color .16s ease}
/* 26 */ .mobile-menu a:hover,.mobile-menu button:hover{background:rgba(231,170,49,.055)}
/* 27 */ .section-kicker{letter-spacing:.16em}
/* 28 */ .section-head{align-items:end}
/* 29 */ .author-card,.novel-showcase-card,.bookmark-card,.dynamic-author-card{transition:transform .2s ease,border-color .2s ease,box-shadow .2s ease,background .2s ease}
/* 30 */ .author-card:hover,.novel-showcase-card:hover,.bookmark-card:hover,.dynamic-author-card:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(0,0,0,.18)}
/* 31 */ .author-avatar{transition:box-shadow .2s ease}
/* 32 */ .author-card:hover .author-avatar{box-shadow:0 0 0 2px rgba(231,170,49,.12)}
/* 33 */ .novel-showcase-cover{transition:transform .22s ease,filter .22s ease}
/* 34 */ .novel-showcase-card:hover .novel-showcase-cover{transform:scale(1.012);filter:brightness(1.035)}
/* 35 */ .bookmark-cover{transition:transform .2s ease,filter .2s ease}
/* 36 */ .bookmark-card:hover .bookmark-cover{transform:scale(1.01);filter:brightness(1.03)}
/* 37 */ .social-btn{transition:transform .18s ease,opacity .18s ease,border-color .18s ease}
/* 38 */ .social-btn:hover{transform:translateY(-1px);opacity:.9}
/* 39 */ .random-refresh-btn{transition:transform .2s ease,background .2s ease}
/* 40 */ .random-refresh-btn:hover{transform:rotate(-4deg) translateY(-1px);background:rgba(231,170,49,.06)}
/* 41 */ .period-btn,.author-period-btn{transition:background .18s ease,color .18s ease,border-color .18s ease}
/* 42 */ .period-btn:hover,.author-period-btn:hover{border-color:rgba(231,170,49,.3)}
/* 43 */ .modal-close{transition:transform .18s ease,background .18s ease}
/* 44 */ .modal-close:hover{transform:rotate(6deg);background:rgba(255,255,255,.05)}
/* 45 */ .legal-nav a{transition:color .18s ease,background .18s ease}
/* 46 */ .footer-links a{transition:color .18s ease,opacity .18s ease}
/* 47 */ .footer-links a:hover{opacity:.82}
/* 48 */ .site-footer{border-top-color:rgba(255,255,255,.075)}
/* 49 */ img{image-rendering:auto}
/* 50 */ @media(max-width:700px){.site-header{padding-left:14px;padding-right:14px}.header-actions{gap:7px}.search-box{max-width:42vw}.section-head{align-items:start}}

@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}a,button,.gold-btn,.outline-btn,.text-btn,.menu-btn,.social-btn,.random-refresh-btn,.period-btn,.author-period-btn,.modal-close,.brand img,.search-box,.novel-showcase-cover,.bookmark-cover,.author-card,.novel-showcase-card,.bookmark-card,.dynamic-author-card{transition:none!important}.gold-btn:hover,.outline-btn:hover,.menu-btn:hover,.social-btn:hover,.random-refresh-btn:hover,.modal-close:hover,.brand:hover img,.novel-showcase-card:hover .novel-showcase-cover,.bookmark-card:hover .bookmark-cover,.author-card:hover,.novel-showcase-card:hover,.bookmark-card:hover,.dynamic-author-card:hover{transform:none!important}}
