/* BOOKSIVERSE v0.4 — PRISM / purple-and-silver visual system.
   Intentional visual departure from ratings-and-shelves book-trackers:
   cinematic cover-led discovery, atmospheric story portals, format orbits. */
:root{
  --bg:#090614;--panel:#161029;--panel2:#21183A;--panel3:#30244B;
  --border:#463A65;--muted:#B7AFCA;--text:#FBF9FF;
  --gold:#DFDDF1;--lav:#B89CF9;--mint:#C4B3FA;--rose:#E0C9FF;
  --ink:#100A23;--shadow:0 22px 65px rgba(0,0,0,.36);
}
html{background:var(--bg)}
body{background:radial-gradient(ellipse 900px 450px at 82% -4%,rgba(100,49,183,.19),transparent 66%),radial-gradient(ellipse 650px 470px at 4% 45%,rgba(79,41,139,.11),transparent 70%),#090614;color:var(--text);font-family:Inter,ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;font-size:14px}
h1,h2,h3{letter-spacing:-.036em}
*:focus-visible{outline-color:#D0C5FD!important;outline-offset:3px}
.shell{max-width:1560px;grid-template-columns:246px minmax(0,1fr)}
.sidebar{background:linear-gradient(175deg,#17102B 0%,#0D0A18 80%);border-right:1px solid rgba(200,175,255,.13);padding:28px 16px}
.brand{padding:8px 12px 40px}.brand-icon{background:linear-gradient(140deg,#6F50AF,#28154E);border:1px solid #8770B1;color:#F4EFFF;border-radius:12px;box-shadow:0 4px 15px #24114b7d}
.brand-name{font-size:23px;letter-spacing:-1.25px;color:#F8F5FE}.brand-name span,.mobile-top b span{color:#D7C9FE}
.nav-btn{color:#B6B0CC;border-radius:12px;padding:13px 16px}
.nav-btn:hover{color:white;background:#2A2044}.nav-btn.active{background:linear-gradient(105deg,#48336E,#2D2150);box-shadow:inset 3px 0 #D5CDFF;color:#FAF8FE}
.sidebar-foot{background:radial-gradient(circle at right top,#4A2D7A,#1C1531 70%);border-color:#5C4B83;border-radius:18px}.side-quote em{color:#E7E0FF}
.main{padding:29px clamp(22px,4vw,68px) 100px}.topbar{margin-bottom:29px}.topbar .page-name{font-size:11px;letter-spacing:.18em;color:#A89DC5}
.top-actions .avatar,.avatar{background:linear-gradient(140deg,#61508E,#32234F);border:1px solid #8470AC;color:#fff}
.btn{background:#271C43;border-color:#524370;border-radius:11px;color:#EEE9FA;transition:transform .16s,background .16s,border .16s}
.btn:hover{background:#42315D;border-color:#8D76B7}.btn.primary{background:linear-gradient(135deg,#F0EFF9,#C7C2DC);border:1px solid #E7E3F3;color:#221935;box-shadow:0 6px 22px rgba(165,142,225,.17)}
.btn.primary:hover{background:linear-gradient(135deg,#fff,#DED9F6);border-color:white}
.btn.soft{background:#2B204A;border-color:#645081}.btn.ghost{background:rgba(76,58,105,.2);border-color:#54436D}
.text-link{color:#DAD1FF}.text-link:hover{color:white}
.eyebrow{color:#C6B9ED;font-size:10px;letter-spacing:.19em}
.pill{background:#342749;border:1px solid #6A5585;color:#E4DCFA;padding:5px 10px;letter-spacing:.025em}
.pill.gold{background:#37304E;border-color:#796CA6;color:#E6DAFF}
.pill.mint{background:#2C244E;border-color:#735FA7;color:#E0D6FF}
.pill.danger{background:#46263E;border-color:#98678D;color:#FFD5E7}
.page-heading{align-items:center}.page-heading h1{font:500 clamp(32px,3.1vw,45px)/1.09 ui-sans-serif,system-ui,-apple-system,sans-serif;letter-spacing:-.055em;max-width:780px}
.page-heading p{font-size:14px;line-height:1.65}.section h2,.section-head h2{font-family:ui-sans-serif,system-ui,sans-serif;font-weight:630;font-size:24px}
.section-head p{font-size:13px}.data-note{background:rgba(93,69,145,.18);border:1px solid #66518B;color:#DDD3F2;border-radius:13px;padding:13px 16px}
.disclaimer{color:#8F83AD;border-top:1px solid rgba(211,196,255,.10);padding-top:20px;margin-top:56px;max-width:830px;line-height:1.8}
/* Real live covers with a true designed fallback when the API has no image or user is offline. */
.cover{background:radial-gradient(ellipse at 30% 24%,#8E78AD50,transparent 45%),linear-gradient(147deg,#442C72,#17102D 83%)!important;border:1px solid #8F7BB066;box-shadow:0 16px 35px #03010799, inset 5px 0 10px #03010766;isolation:isolate}
.cover .cover-tiny{color:#DDD2FAaa;font-size:7px}.cover .cover-title{color:#F2EAFD;font-weight:500}.cover .cover-mark{color:#F0E7FF;text-shadow:0 0 25px #BD9BFF}
.cover:before,.cover:after{border-color:#D6C8FF55}
.live-cover-image{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:5;display:block;color:transparent;background:#171025}
.live-cover-image.cover-image-missing,.v4-edition-image.cover-image-missing{display:none!important}
.cover.mini{width:56px;height:78px}.cover.mini .cover-title{font-size:8px}
.cover.large{width:210px;aspect-ratio:0.67}
.cover.large .cover-title{font-size:26px}
/* Cinematic home, no Goodreads-style review or activity feed. */
.v4-hero{border-radius:27px;border:1px solid #72539D;position:relative;overflow:hidden;min-height:354px;display:grid;grid-template-columns:minmax(0,1.22fr) minmax(290px,.78fr);align-items:center;background:radial-gradient(circle at 77% 50%,#5A2E9A55,transparent 44%),linear-gradient(117deg,#271541 0%,#1B1038 51%,#0B081A 100%);box-shadow:0 25px 70px rgba(20,9,45,.42)}
.v4-hero:after{content:'';position:absolute;inset:0;pointer-events:none;background:linear-gradient(100deg,transparent 55%,#6B44A512 80%,transparent),repeating-linear-gradient(120deg,transparent 0 60px,#FFF1 61px,transparent 62px);opacity:.26}
.v4-hero-copy{z-index:2;position:relative;padding:39px 10px 39px 38px}
.v4-hero-chip{display:inline-flex;align-items:center;gap:7px;border-radius:100px;border:1px solid #9680BA70;background:#AA8CDD16;padding:8px 12px;font-size:10px;font-weight:750;letter-spacing:.16em;color:#EDE4FD}
.v4-hero h1{font-family:ui-sans-serif,system-ui,-apple-system,sans-serif;font-weight:660;letter-spacing:-.073em;font-size:clamp(43px,5vw,70px);line-height:1.02;max-width:720px;margin:19px 0 15px}
.v4-hero h1 em{display:block;font-style:normal;background:linear-gradient(110deg,#FFF,#C9B9F4 58%,#A77DE7);background-clip:text;-webkit-background-clip:text;color:transparent}
.v4-hero p{font-size:14px;line-height:1.75;color:#D0C8E5;max-width:450px;margin:0 0 25px}
.v4-hero-buttons{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.v4-hero-foot{font-size:10px;color:#B8A6D6;display:flex;gap:7px;align-items:center;margin-top:23px}
.v4-poster-scene{position:relative;height:354px;overflow:hidden;isolation:isolate}
.v4-halo{width:355px;height:355px;position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);border:1px solid #C9B6FC55;border-radius:50%;box-shadow:0 0 0 38px #B186FF0C,0 0 0 87px #B186FF08,0 0 84px #6731A866}
.v4-scene-book{position:absolute;aspect-ratio:.70;width:142px;top:71px;transform-origin:bottom center;box-shadow:12px 15px 40px #05010D88}
.v4-scene-book .cover{width:100%;height:100%;aspect-ratio:.70;transform:inherit}
.v4-scene-book.left{left:5%;top:83px;transform:rotate(-19deg) scale(.87);z-index:1;filter:brightness(.77)}
.v4-scene-book.right{right:9%;top:83px;transform:rotate(17deg) scale(.87);z-index:2;filter:brightness(.77)}
.v4-scene-book.center{left:calc(50% - 76px);top:47px;transform:rotate(-3deg) scale(1.07);z-index:3}
.v4-scene-light{position:absolute;width:90%;height:80px;bottom:-55px;left:5%;background:#AF88EF;filter:blur(55px);opacity:.4}
.v4-sample{padding:14px 16px;display:flex;gap:10px;align-items:center;margin-top:16px;border:1px solid #5C447E;border-radius:13px;background:#211637;color:#CBC0E5;font-size:12px}.v4-sample span{color:#E2D4FF;font-size:18px}
.v4-pulse{display:grid;grid-template-columns:repeat(3,1fr);gap:0;margin-top:19px;padding:8px 0;border-top:1px solid #4F426B;border-bottom:1px solid #4F426B}
.v4-pulse>div{padding:15px 22px;border-right:1px solid #4F426B;display:flex;flex-direction:column;gap:2px}.v4-pulse>div:last-child{border-right:0}
.v4-pulse span{color:#BEB3D6;font-weight:750;letter-spacing:.15em;font-size:9px}.v4-pulse strong{font-size:36px;font-weight:550;letter-spacing:-.04em;color:#F6F3FF;line-height:1.18}.v4-pulse small{font-size:11px;color:#A99CC9}
.v4-section{margin-top:43px}.v4-section-top{display:flex;justify-content:space-between;align-items:end;gap:16px;margin-bottom:17px}
.v4-section-top h2{font-size:clamp(23px,2.4vw,31px);font-weight:640;letter-spacing:-.045em;margin:7px 0 5px}.v4-section-top p{color:#B1A6C8;font-size:12px;margin:3px 0}
.v4-now-panel{display:grid;grid-template-columns:215px 1fr;gap:31px;padding:23px;min-height:283px;border:1px solid #5C477F;border-radius:23px;background:linear-gradient(120deg,#26163F,#1A132F 72%);position:relative;overflow:hidden}
.v4-now-panel:after{position:absolute;right:-85px;top:-110px;content:'';height:310px;width:310px;border:1px solid #AE8DEB40;border-radius:50%;pointer-events:none}
.v4-now-cover{display:grid;place-items:center;position:relative;z-index:1}.v4-now-cover .cover{width:168px;height:239px;border-radius:10px;transform:rotate(-6deg);box-shadow:20px 20px 50px #08021299}
.v4-now-copy{z-index:1;padding:5px 0;display:flex;flex-direction:column;align-items:start;justify-content:center}
.v4-eyelabel{font-size:10px;letter-spacing:.16em;color:#CFC2EF;font-weight:800}.v4-now-copy h3{font-size:clamp(26px,3vw,39px);letter-spacing:-.05em;font-weight:660;margin:10px 0 2px;line-height:1.1}
.v4-now-copy p{color:#C0B7D4;font-size:13px;line-height:1.65;margin:7px 0 17px;max-width:540px}.v4-now-copy .v4-author{margin:0 0 6px;color:#E1D7EE;font-size:12px}
.v4-format-lane{display:flex;gap:7px;flex-wrap:wrap;margin-bottom:22px}.v4-format-lane span{display:flex;align-items:center;gap:6px;padding:7px 10px;border-radius:8px;border:1px solid #685487;background:#2B1E44;color:#DBD4EF;font-size:10px;font-weight:650}
.v4-story-rail{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:15px;padding:3px 2px 22px;margin-right:-16px;scrollbar-color:#6F598F #161026;scrollbar-width:thin}
.story-card{flex:0 0 178px;max-width:178px;scroll-snap-align:start;border:0!important;background:transparent!important;padding:0!important;border-radius:0!important;overflow:visible;transition:transform .2s}.story-card:hover{transform:translateY(-4px)}
.story-card-art{height:251px;border-radius:13px;overflow:hidden;position:relative;background:#1D142E;border:1px solid #6C558A;box-shadow:0 15px 27px #04010A66}.story-card-art .cover{width:100%!important;height:100%!important;border:0!important;border-radius:0!important;aspect-ratio:unset!important;margin:0!important;box-shadow:none!important}
.story-card-glow{position:absolute;inset:auto 0 0;height:36px;background:linear-gradient(transparent,#0A0416aa);pointer-events:none;z-index:7}
.story-card-caption{padding:12px 2px 0;text-align:left}.story-kicker{font-size:9px;letter-spacing:.13em;color:#C4B4E9;text-transform:uppercase;font-weight:700}
.story-card h3{font-size:15px;letter-spacing:-.02em;margin:6px 0 3px;white-space:normal;line-height:1.25;max-height:40px;min-height:19px;overflow:hidden}.story-card p{font-size:11px;color:#AFA5C7;margin:0}
.story-card-bottom{display:flex;justify-content:space-between;align-items:center;gap:7px;margin-top:14px;padding-top:9px;border-top:1px solid #3C3156;color:#BFB4DC;font-size:10px}.story-next{display:grid;place-items:center;width:25px;height:25px;border:1px solid #5C4880;border-radius:50%;font-size:15px;color:#F3EEFF}
.stories{display:grid;grid-template-columns:repeat(auto-fill,minmax(166px,1fr));gap:22px 17px}.stories .story-card{width:100%;max-width:none;flex:none}.stories .story-card-art{height:auto;aspect-ratio:.71}
.v4-media-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}.v4-media-card{min-width:0;display:flex;flex-direction:column;align-items:start;gap:19px;position:relative;text-align:left;min-height:226px;padding:21px;border:1px solid #574575;border-radius:18px;background:radial-gradient(circle at 90% 7%,#66418C28,transparent 47%),linear-gradient(140deg,#201633,#151023);color:#FAF7FF}.v4-media-card:hover{border-color:#B3A0DD;background:#291B43}.v4-media-card .v4-media-icon{display:grid;place-items:center;width:47px;height:47px;border-radius:14px;border:1px solid #73649A;background:#48366C;color:#F2EBFF}.v4-media-card>span:nth-child(2){display:flex;flex-direction:column;gap:7px}.v4-media-card small{font-size:9px;color:#BDADE2;font-weight:800;letter-spacing:.11em}.v4-media-card strong{font-size:19px;letter-spacing:-.035em}.v4-media-card span span{font-size:12px;line-height:1.55;color:#B8AFCD}.v4-media-card .media-arrow{position:absolute;right:17px;top:17px;font-size:22px;color:#D9C7FD}
.v4-news-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.v4-news-row button{text-align:left;background:#1B142E;border:1px solid #584975;color:#F6F3FC;padding:18px;border-radius:15px;display:flex;flex-direction:column;gap:10px;cursor:pointer}.v4-news-row button span{font-size:10px;text-transform:uppercase;letter-spacing:.12em;color:#BBAAE3}.v4-news-row button strong{font-size:15px}.v4-news-row button small{font-size:11px;color:#D7C8F5}
/* Story-portal detail layout */
.v4-breadcrumb{display:flex;align-items:center;gap:9px;color:#A79ABB;margin:-8px 0 17px;font-size:11px}.v4-story-hero{display:grid;grid-template-columns:260px minmax(0,1fr);gap:29px;align-items:center;position:relative;overflow:hidden;border-radius:23px;border:1px solid #68518C;background:radial-gradient(circle at 20% 50%,#563B8955,transparent 48%),linear-gradient(120deg,#25163F,#16102A 85%);padding:25px 32px}.v4-story-hero:after{content:'';pointer-events:none;position:absolute;border:1px solid #8A6DAB33;width:490px;height:490px;border-radius:50%;top:-150px;left:-100px}
.v4-story-visual{height:288px;position:relative;display:grid;place-items:center;isolation:isolate}.v4-story-visual .cover{width:173px;height:257px;box-shadow:15px 18px 40px #0008;transform:rotate(-4deg);border-radius:11px;z-index:2}
.v4-cover-aura{width:220px;height:220px;border-radius:50%;background:#7543AB88;filter:blur(62px);position:absolute}
.v4-story-info{z-index:2}.v4-story-info h1{font-size:clamp(33px,4.2vw,53px);font-weight:675;letter-spacing:-.06em;line-height:1.07;margin:14px 0 7px}.v4-story-byline{color:#D7CBE8;font-size:13px}.v4-story-byline span{padding:0 6px;color:#9889B6}
.v4-story-intro{color:#BDB4D1;font-size:13px;line-height:1.7;max-width:630px;margin:12px 0 17px}
.v4-story-stats{display:flex;flex-wrap:wrap;gap:13px;margin-bottom:21px}.v4-story-stats>span{border:1px solid #675482;background:#30204870;padding:10px 12px;border-radius:10px;display:grid;grid-template-columns:16px auto;gap:0px 8px}.v4-story-stats .icon{grid-row:1/3;color:#D8CBFA}.v4-story-stats strong{font-size:11px;font-weight:750}.v4-story-stats small{font-size:10px;color:#B0A5CC}.v4-story-info .hero-actions{gap:8px}.v4-story-info .hero-actions .select{background:#231939}.v4-cover-credit{display:block;color:#9E90B9;line-height:1.6;font-size:9px;margin-top:14px}
.v4-journey-tabs{display:flex;gap:5px;margin:22px 0 20px;overflow-x:auto;scrollbar-width:none;border:1px solid #504065;border-radius:13px;background:#171025;padding:6px}.v4-journey-tabs::-webkit-scrollbar{display:none}
.v4-journey-tabs .tab{color:#BDB2D7;padding:12px 16px;border:0;border-radius:9px;display:inline-flex;align-items:center;gap:7px;font-size:12px;white-space:nowrap}.v4-journey-tabs .tab.active{background:#463368;color:#FFF;box-shadow:0 3px 14px #0003}.v4-journey-tabs .tab:hover{color:white;background:#32234C}
.v4-universe-grid{display:grid;grid-template-columns:minmax(220px,.83fr) minmax(0,1.17fr);gap:14px}.v4-universe-center{border:1px solid #665187;border-radius:21px;background:radial-gradient(circle at 50% 37%,#6540A35e,transparent 49%),linear-gradient(180deg,#24163D,#131020);display:flex;flex-direction:column;align-items:center;justify-content:center;padding:24px;text-align:center;min-width:0}
.v4-universe-center-art{height:246px;display:grid;place-items:center;position:relative;width:100%;isolation:isolate}.v4-universe-center-art .cover{width:120px;height:178px;z-index:3;transform:rotate(-4deg);border-radius:7px}.v4-ring{position:absolute;border:1px solid #B99DF356;width:211px;height:211px;border-radius:50%;z-index:1}.v4-ring-two{height:245px;width:245px;border-style:dashed;transform:rotate(19deg);opacity:.6}.v4-universe-center h3{font-size:23px;letter-spacing:-.05em;margin:8px 0 4px}.v4-universe-center p{font-size:12px;color:#BAAFD6}
.v4-universe-satellites{border:1px solid #59476E;border-radius:21px;background:#1A132B;padding:20px;min-width:0}.v4-universe-satellites h3{font-size:23px;letter-spacing:-.04em;margin:7px 0}.v4-universe-satellites>p{font-size:12px;color:#B3A8CD;line-height:1.65;margin:0 0 18px}
.v4-satellite{display:grid;grid-template-columns:36px minmax(0,1fr) auto 28px;gap:9px;align-items:center;background:#271B3C;border:1px solid #53416D;border-radius:11px;padding:10px;margin-bottom:8px}.v4-satellite-icon{width:36px;height:36px;border-radius:11px;background:#443266;display:grid;place-items:center;color:#DED3FE}
.v4-satellite>span:nth-child(2){min-width:0}.v4-satellite strong{display:block;font-size:12px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.v4-satellite small{display:block;color:#AA9BC7;font-size:10px;margin-top:2px}.v4-satellite .pill{font-size:9px;white-space:nowrap}.v4-satellite-arrow{border:1px solid #65517E;border-radius:8px;background:#3A2A55;color:#EEE5FA;min-height:27px;cursor:pointer}
.v4-universe-disclaimer{border:1px solid #4B3E64;padding:13px 15px;border-radius:11px;color:#B2A6CB;font-size:11px;line-height:1.6;background:#161025}
.v4-edition-image{width:44px;height:62px;object-fit:cover;border-radius:5px;flex-shrink:0}.catalog-row:has(.v4-edition-image:not(.cover-image-missing))>.format-icon{display:none}
/* Existing features restyled into a media/library interface. */
.stat,.collector-stat{background:linear-gradient(150deg,#211533,#161126);border-color:#58466F;border-radius:15px}.stat b,.collector-stat b{font-family:ui-sans-serif,system-ui,sans-serif;color:#F7F4FF;font-weight:570}
.format-card,.setting-card,.book-list-item,.adapt-card,.cast-card,.search-result{background:#1D152F;border:1px solid #514167;border-radius:15px}
.format-icon,.universe-node-icon{background:#3D2E5E;color:#E1D7FF}.format-grid{gap:12px}.format-card{padding:17px}
.searchbox{background:#211733;border-color:#64507F}.searchbox svg{color:#D4C4F6}.searchbox:focus-within{border-color:#B7A6EA}.select,.input{background:#20152F;color:white;border:1px solid #65517F}
.update-card{background:radial-gradient(circle at right top,#533C7140,transparent 50%),linear-gradient(145deg,#261939,#171226);border:1px solid #564572;border-radius:17px}.update-card h3{font-family:ui-sans-serif,system-ui,sans-serif;font-weight:630;letter-spacing:-.04em;font-size:22px}.update-release{background:#2B2043;color:#DDD3F5}.update-card .source a,.source a{color:#D6CBFC}
.universe-card{background:#21172F;border:1px solid #57466E}.universe-card:hover{border-color:#B4A1DB}.universe-card>.icon{color:#D4C7F0}
.collector-hero{background:radial-gradient(circle at 85% 30%,#5B39964D,transparent 44%),linear-gradient(110deg,#322046,#1E1337);border-color:#79629E;border-radius:23px;position:relative;overflow:hidden}
.collector-hero:after{content:'✧';position:absolute;right:12%;top:4%;color:#C8B2FF0D;font-size:190px;pointer-events:none}.collector-hero strong{font-family:ui-sans-serif,system-ui,sans-serif;font-weight:610;letter-spacing:-.075em;color:#F6F2FF}.collector-aside{z-index:1}
.studio-banner{background:linear-gradient(110deg,#322144,#1B1531);border-color:#65517F}.studio-banner h3{font-family:ui-sans-serif,system-ui,sans-serif;font-weight:620;color:#F9F6FF}
.modal{background:#1D152E;border:1px solid #665186}.toast{background:#34264B;border:1px solid #8F79B4}.small-note{color:#B8ADCC}
/* accessibility / responsive */
@media(max-width:1100px){.v4-hero{grid-template-columns:1.1fr .9fr}.v4-hero-copy{padding:32px 6px 32px 27px}.v4-hero h1{font-size:52px}.v4-story-hero{grid-template-columns:180px 1fr;padding:20px}.v4-story-visual{height:245px}.v4-story-visual .cover{width:139px;height:208px}.v4-media-card{padding:17px}}
@media(max-width:760px){
 .main{padding:18px 16px 108px}.topbar{margin-bottom:21px}
 .mobile-top b{color:#F7F0FF;font-size:21px;letter-spacing:-1.15px}
 .mobile-top .brand-icon{background:linear-gradient(135deg,#6E4EAD,#291745);border:1px solid #927ABA}
 .bottom-nav{border-top:1px solid #6B518E;background:#120B23EE;padding:9px 4px calc(9px + env(safe-area-inset-bottom));box-shadow:0 -20px 35px #0b041d55}
 .bottom-nav button{font-size:9px;min-width:50px;color:#AFA4C9}.bottom-nav button.active{color:#EFE5FF}.bottom-nav button.active .icon{filter:drop-shadow(0 0 6px #BD98FF)}
 .v4-hero{grid-template-columns:1fr;min-height:0;overflow:hidden;border-radius:22px}
 .v4-hero-copy{padding:25px 23px 16px}.v4-hero h1{font-size:46px;margin:16px 0 12px}.v4-hero p{font-size:12.5px;line-height:1.65;max-width:420px}
 .v4-hero-buttons{gap:8px}.v4-hero-buttons .btn{font-size:11px;padding:10px 12px}.v4-hero-foot{font-size:9px;margin-top:16px}
 .v4-poster-scene{height:185px;margin-top:0}.v4-halo{width:265px;height:265px;top:55%;box-shadow:0 0 0 31px #B186FF0C,0 0 0 60px #B186FF08}
 .v4-scene-book{width:111px;top:20px}.v4-scene-book.left{left:15%;top:23px}.v4-scene-book.right{right:15%;top:23px}.v4-scene-book.center{left:calc(50% - 56px);top:5px}
 .v4-pulse{padding:5px 0;margin-top:17px}.v4-pulse>div{padding:10px 8px}.v4-pulse span{font-size:8px;letter-spacing:.08em}.v4-pulse strong{font-size:28px}.v4-pulse small{font-size:9px}
 .v4-section{margin-top:33px}.v4-section-top{align-items:end;gap:7px}.v4-section-top h2{font-size:24px}.v4-section-top p{font-size:11px}.v4-section-top .text-link{font-size:10px;white-space:nowrap}
 .v4-now-panel{grid-template-columns:112px 1fr;gap:14px;padding:15px;min-height:210px;border-radius:18px}
 .v4-now-cover{align-items:start;padding-top:8px}.v4-now-cover .cover{width:94px;height:142px;transform:rotate(-5deg)}
 .v4-now-copy h3{font-size:23px;margin-top:7px}.v4-now-copy p{font-size:11px;line-height:1.5;margin:6px 0 8px}.v4-now-copy .v4-author{font-size:10px}.v4-now-copy .btn{font-size:10px;padding:9px 10px}.v4-format-lane{margin-bottom:10px;gap:5px}.v4-format-lane span{font-size:9px;padding:5px 6px}.v4-format-lane .icon{width:12px}
 .v4-story-rail{gap:12px;margin-right:-16px}.story-card{flex-basis:139px;max-width:139px}.story-card-art{height:197px}.story-card h3{font-size:13px}.story-card p{font-size:10px}.story-card-caption{padding-top:10px}.story-kicker{font-size:8px}
 .stories{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 13px}.stories .story-card{max-width:none;width:100%}
 .v4-media-grid{grid-template-columns:1fr}.v4-media-card{min-height:0;flex-direction:row;align-items:center;gap:13px;padding:15px 16px}.v4-media-card .v4-media-icon{width:44px;height:44px;flex-shrink:0}.v4-media-card>span:nth-child(2){gap:4px;padding-right:15px}.v4-media-card strong{font-size:16px}.v4-media-card span span{font-size:11px}.v4-media-card .media-arrow{right:14px;top:15px;font-size:17px}
 .v4-news-row{grid-template-columns:1fr}.v4-news-row button{padding:15px}
 .v4-breadcrumb{margin-top:0}.v4-story-hero{grid-template-columns:111px minmax(0,1fr);gap:12px;padding:14px;align-items:start;border-radius:18px}
 .v4-story-visual{height:165px}.v4-story-visual .cover{width:96px;height:145px;transform:rotate(-4deg)}.v4-story-info h1{font-size:24px;margin:8px 0 4px}.v4-story-info .v4-hero-chip{font-size:8px;padding:5px 8px}.v4-story-byline{font-size:10px}.v4-story-intro{font-size:10px;line-height:1.55;margin:7px 0}
 .v4-story-stats{gap:4px;margin:9px 0}.v4-story-stats>span{grid-template-columns:1fr;gap:1px;padding:5px 6px}.v4-story-stats svg{display:none}.v4-story-stats strong,.v4-story-stats small{font-size:9px}.v4-story-info .hero-actions{gap:5px}.v4-story-info .hero-actions .btn,.v4-story-info .hero-actions .select{font-size:10px;padding:7px}.v4-cover-credit{font-size:8px;margin-top:6px}
 .v4-journey-tabs{gap:1px;margin-top:15px}.v4-journey-tabs .tab{padding:9px 11px;font-size:10px}.v4-journey-tabs .tab svg{height:13px;width:13px}
 .v4-universe-grid{grid-template-columns:1fr}.v4-universe-center{padding:17px}.v4-universe-center-art{height:175px}.v4-universe-center-art .cover{width:88px;height:132px}.v4-ring{width:148px;height:148px}.v4-ring-two{width:173px;height:173px}.v4-universe-center h3{font-size:21px}
 .v4-universe-satellites{padding:14px}.v4-universe-satellites h3{font-size:20px}.v4-satellite{grid-template-columns:31px minmax(0,1fr) auto 26px;gap:7px;padding:8px}.v4-satellite-icon{width:31px;height:31px}.v4-satellite strong{font-size:11px}.v4-satellite small{font-size:9px}.v4-satellite .pill{font-size:8px;padding:4px 6px}
 .page-heading h1{font-size:32px}.collector-hero strong{font-size:56px}.collector-stat b{font-size:27px}.catalog-row{padding:12px}
}
@media(max-width:365px){.v4-now-panel{grid-template-columns:98px 1fr;gap:10px}.v4-now-cover .cover{width:82px;height:124px}.v4-now-copy h3{font-size:20px}.v4-story-hero{grid-template-columns:91px 1fr}.v4-story-visual .cover{width:80px;height:121px}.v4-story-info h1{font-size:21px}.v4-story-stats>span{padding:4px}}
@media(prefers-reduced-motion:reduce){.story-card,.btn{transition:none}.v4-halo,.v4-ring{animation:none}}

/* Only reveal a remotely retrieved cover after its image has fully loaded; protect the attractive fallback offline. */
.live-cover-image{opacity:0;transition:opacity .25s ease}
.live-cover-image.cover-image-loaded{opacity:1}
.live-cover-image.cover-image-missing{display:none}

/* Booksiverse v0.5 — Edition Atelier: image-first collecting rather than ratings or reviews. */
.v5-editions-heading{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:4px 0 22px}.v5-editions-heading h2{font-size:clamp(27px,3.8vw,45px);font-weight:670;line-height:1.04;letter-spacing:-.06em;margin:8px 0 12px}.v5-editions-heading p{font-size:13px;line-height:1.6;color:#B9ADCD;max-width:590px}
.v5-edition-metrics{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:11px;margin:19px 0 26px}.v5-edition-metrics>div{border:1px solid #675782;background:linear-gradient(125deg,#2D2046,#171128);border-radius:15px;padding:16px}.v5-edition-metrics strong{font-size:31px;display:block;font-weight:550;letter-spacing:-.045em;color:#F7F5FF}.v5-edition-metrics span{font-size:10px;color:#C3B9D4;letter-spacing:.03em}
.v5-edition-section{margin:33px 0}.v5-edition-section-head{display:flex;justify-content:space-between;align-items:end;gap:15px;margin:0 0 18px}.v5-edition-section-head h3{font-size:25px;margin:6px 0 7px;letter-spacing:-.045em;font-weight:650}.v5-edition-section-head p{font-size:12px;color:#ACA2C3;line-height:1.6;max-width:640px}
.v5-edition-rail{display:flex;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-color:#6A578A #151025;padding:4px 2px 20px}.v5-edition-card{flex:0 0 215px;max-width:215px;min-width:0;background:#1C142C;border:1px solid #5D4C76;border-radius:17px;overflow:hidden;scroll-snap-align:start}.v5-edition-top{height:226px;background:radial-gradient(circle at 50% 35%,#68479B70,transparent 62%),linear-gradient(160deg,#32214C,#150F22);display:grid;place-items:center;position:relative}.v5-card-overlay{position:absolute;top:10px;left:10px;z-index:6}.v5-source-chip{padding:5px 8px;border-radius:8px;border:1px solid #9788B288;background:#110A1BD9;color:#EDE8F8;font-size:9px;letter-spacing:.03em}
.v5-edition-art{width:126px;height:183px;border:1px solid #8374A088;background:linear-gradient(130deg,#614787,#261837);border-radius:8px;display:grid;place-items:center;box-shadow:8px 15px 27px #09051099;position:relative;overflow:hidden}.v5-edition-art:after{content:'';position:absolute;inset:0 0 0 5px;border-left:1px solid #FFFFFF20;pointer-events:none}.v5-edition-art img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}.v5-cover-photo.cover-image-missing{display:none!important}.v5-art-placeholder{display:flex;flex-direction:column;align-items:center;text-align:center;gap:8px;font-size:34px;color:#E1D3FE;padding:16px}.v5-art-placeholder span{font-size:12px;line-height:1.3;color:#F3EBFF;font-weight:700;max-height:70px;overflow:hidden}
.v5-edition-details{padding:14px 13px 15px}.v5-edition-title{font-weight:760;font-size:13px;line-height:1.35;min-height:36px;color:#F2ECFF}.v5-edition-meta{font-size:10px;color:#B9B0C9;line-height:1.5;min-height:30px;margin:7px 0}.v5-isbn{font-size:10px;color:#B9A8D2;margin:9px 0 12px}.v5-tag-row{display:flex;flex-wrap:wrap;gap:5px;margin:9px 0}.v5-tag{display:inline-block;border:1px solid #7B639A;background:#352750;border-radius:99px;padding:4px 7px;font-size:9px;color:#E3D7FA}.v5-edition-actions{display:flex;gap:6px;align-items:center;flex-wrap:wrap}.v5-edition-actions .btn{font-size:10px;padding:8px}.v5-status-label{font-size:10px;color:#DDD4EF}.v5-source-link{font-size:10px;color:#CEC0F9;margin-top:12px;display:inline-flex;gap:5px;align-items:center}
.v5-compare-empty,.v5-no-results{background:#1E162F;border:1px dashed #67557B;border-radius:17px;padding:19px;color:#BCB1D2;font-size:12px;line-height:1.7}.v5-compare-empty{display:flex;gap:11px;align-items:center}.v5-compare-stage{padding:20px;background:radial-gradient(circle at 80% 20%,#7254A92B,transparent 50%),linear-gradient(115deg,#241738,#191227);border:1px solid #8570AA;border-radius:22px;margin:21px 0}.v5-compare-head{display:flex;align-items:center;justify-content:space-between;gap:16px;margin-bottom:17px}.v5-compare-head h3{font-size:26px;letter-spacing:-.05em;margin:6px 0}.v5-compare-head p{color:#B6ABCC;font-size:11px}.v5-comparison-grid{display:grid;grid-template-columns:repeat(var(--count),minmax(155px,1fr));gap:12px;overflow-x:auto}.v5-comparison-item{min-width:155px;padding:14px;border:1px solid #594575;background:#170E28;border-radius:14px}.v5-comparison-item .v5-edition-art{width:106px;height:152px;margin:0 auto 12px}.v5-comparison-item>b{display:block;min-height:43px;font-size:12px;line-height:1.4}.v5-comparison-item dl{margin:13px 0 0}.v5-comparison-item dl>div{border-top:1px solid #4D3C64;padding:8px 0;display:flex;flex-direction:column;gap:4px}.v5-comparison-item dt{font-size:9px;color:#B1A6C7;letter-spacing:.11em;text-transform:uppercase}.v5-comparison-item dd{margin:0;font-size:11px;line-height:1.4;color:#F1EBFF;overflow-wrap:anywhere}
.v5-catalog-status{font-size:11px;color:#AB9EC4;margin:0 0 15px}.v5-format-summary{padding:20px;border-radius:20px;background:#1A132C;border:1px solid #514065;margin:29px 0}.v5-format-summary h3{font-size:20px;margin:0 0 6px}.v5-format-summary p{font-size:11px;color:#ADA2C0;line-height:1.5;margin-bottom:16px}.v5-mini-formats{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.v5-mini-formats>div{display:flex;flex-direction:column;gap:11px;border:1px solid #504067;border-radius:12px;padding:12px}.v5-mini-formats>div>span{display:flex;align-items:center;gap:7px;font-size:12px;font-weight:600}.v5-mini-formats>div>div{display:flex;gap:7px}
.v5-wish-hero{background:radial-gradient(circle at 75% 30%,#7753B75C,transparent 46%),linear-gradient(115deg,#33214E,#140E28);border:1px solid #79629B;border-radius:24px;padding:33px;display:flex;justify-content:space-between;align-items:center;gap:20px}.v5-wish-hero h1{font-size:clamp(38px,5vw,62px);line-height:1.02;letter-spacing:-.07em;margin:15px 0}.v5-wish-hero h1 em{font-style:normal;color:#D1C4F7}.v5-wish-hero p{max-width:550px;line-height:1.65;color:#C2B4D9;font-size:13px;margin:0 0 23px}.v5-wish-orb{width:190px;height:190px;border:1px solid #AE8DD0;border-radius:50%;background:radial-gradient(circle,#8768BC65,#2E1F4B 70%);display:flex;flex-direction:column;align-items:center;justify-content:center;color:#DDCEFD;font-size:33px;flex-shrink:0}.v5-wish-orb span{font-size:52px;line-height:1;font-weight:600;color:white}.v5-wish-orb small{font-size:10px;color:#D2C5E2}
.v5-wish-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin:19px 0 29px}.v5-wish-stats>div{padding:15px;background:#20162F;border:1px solid #57456E;border-radius:15px}.v5-wish-stats strong{font-size:29px;display:block;font-weight:580}.v5-wish-stats span{font-size:10px;color:#BAAACD}.v5-wish-filters{display:flex;flex-wrap:wrap;gap:8px;margin:13px 0 23px}.v5-wish-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:13px}.v5-wish-card{display:flex;align-items:start;gap:17px;padding:17px;background:#1D152E;border:1px solid #584773;border-radius:17px}.v5-wish-card .v5-edition-art{width:86px;height:125px;flex-shrink:0}.v5-wish-card>div:last-child{min-width:0}.v5-wish-card h3{font-size:16px;line-height:1.3;margin:8px 0 4px;letter-spacing:-.03em}.v5-wish-card p{font-size:11px;color:#C2B3D7}.v5-wish-card .v5-wish-retailer{font-size:10px}.v5-broad-wishes{display:flex;flex-wrap:wrap;gap:9px}.v5-broad-wishes button{border:1px solid #634E7B;border-radius:9px;padding:10px;background:#281B3D;color:#EEE7FC;display:flex;align-items:center;gap:7px;font-size:11px;cursor:pointer}
@media(max-width:900px){.v5-wish-grid{grid-template-columns:1fr}}
@media(max-width:760px){.v5-editions-heading{align-items:start;flex-direction:column}.v5-editions-heading h2{font-size:33px}.v5-edition-metrics{gap:6px}.v5-edition-metrics>div{padding:11px}.v5-edition-metrics strong{font-size:26px}.v5-edition-metrics span{font-size:9px}.v5-edition-section-head{flex-direction:column;align-items:start}.v5-edition-card{flex-basis:189px;max-width:189px}.v5-edition-top{height:196px}.v5-edition-art{width:111px;height:163px}.v5-compare-stage{padding:13px}.v5-comparison-grid{grid-template-columns:repeat(var(--count),minmax(148px,1fr))}.v5-mini-formats{grid-template-columns:1fr}.v5-wish-hero{padding:23px 19px}.v5-wish-orb{width:95px;height:95px;font-size:17px}.v5-wish-orb span{font-size:27px}.v5-wish-orb small{font-size:7px;text-align:center}.v5-wish-hero h1{font-size:35px}.v5-wish-stats{grid-template-columns:repeat(2,1fr)}.v5-wish-card{padding:13px;gap:11px}.v5-wish-card .v5-edition-art{width:73px;height:105px}.v5-wish-card h3{font-size:14px}}
@media(max-width:385px){.v5-wish-hero{flex-direction:column;align-items:start}.v5-wish-orb{display:none}}
