/* DollMania studio: scoped, flowing layouts with no fixed text heights. */
.theme-dollmania{--accent:#bc326e;--ink:#40243f;--muted:#766074;--paper:#fff7fa;--line:#efdce7;--radius:26px;--font:"Trebuchet MS", "Segoe UI", sans-serif}
.theme-dollmania body{background:radial-gradient(ellipse at 4% 0,#ffe0ed,transparent 35%),radial-gradient(ellipse at 100% 25%,#eee4ff,transparent 35%),#fff8fb}
.theme-dollmania h1,.theme-dollmania h2,.theme-dollmania h3{font-family:"Trebuchet MS","Segoe UI",sans-serif;letter-spacing:-.035em;font-weight:800}
.theme-dollmania .site-header{border-bottom:1px solid #ecd3e1;padding-bottom:14px}
.theme-dollmania .wordmark{display:flex;flex-direction:column;align-items:center;gap:0;letter-spacing:0;flex-shrink:0}
.theme-dollmania .dm-logo{width:260px;height:auto;max-height:112px;object-fit:contain}
.dm-logo-caption{font-size:10px;color:#8e5177;letter-spacing:.07em;line-height:1.5}
.theme-dollmania .desktop-nav a{background:#ffffffb8;border:1px solid #f0dbe7;color:#713f60;box-shadow:0 3px 0 #eed7e2;transition:background .2s,transform .2s}
.theme-dollmania .desktop-nav a[aria-current],.theme-dollmania .desktop-nav a:hover{background:#a83673;color:white;transform:translateY(-2px)}
.theme-dollmania .header-play,.theme-dollmania .button{background:linear-gradient(115deg,#bf3978,#9150b9);color:white;border:0;box-shadow:0 7px 20px #aa39752b;border-radius:16px}
.theme-dollmania .site-search{background:white;border:1px solid #dfbbd0;box-shadow:0 6px 22px #7543660c;border-radius:22px}
.theme-dollmania .header-note{font-size:13px;letter-spacing:.02em}
.theme-dollmania .scene-hero{border:1px solid #e9c9dc;border-radius:30px;overflow:hidden;box-shadow:0 18px 50px #91466d16;margin-top:26px}
.theme-dollmania .scene-copy h2{font-size:clamp(32px,4vw,58px)}
.theme-dollmania .eyebrow{letter-spacing:.12em;font-size:11px}
.dm-shortcuts{display:flex;flex-wrap:wrap;gap:10px;margin:26px 0}
.dm-shortcuts a{padding:10px 18px;border-radius:99px;background:#fff;border:1px solid #e7cddd;color:#954779;font-size:13px;font-weight:bold}
.dm-shortcuts a:nth-child(2){background:#f0e9ff}.dm-shortcuts a:nth-child(3){background:#ffe9f0}.dm-shortcuts a:nth-child(4){background:#fff0dc}
.theme-dollmania .collection-sidebar{background:#ffffffbf;border:1px solid #efd9e5;border-radius:24px;padding:22px;align-self:start}
.theme-dollmania .collection-sidebar nav a{border-radius:12px;margin:4px 0;padding:12px;background:#fff7fa}
.theme-dollmania .game-card{border:1px solid #e8cedf;border-radius:18px;background:white;overflow:hidden;box-shadow:0 5px 16px #8548650a;transition:transform .2s,box-shadow .2s}
.theme-dollmania .game-card:hover{transform:translateY(-4px);box-shadow:0 12px 25px #a8477925}
.theme-dollmania .gp-card-art{aspect-ratio:4/3;overflow:hidden}.theme-dollmania .gp-card-art img{width:100%;height:100%;object-fit:cover}
.theme-dollmania .gp-card-copy{padding:14px;min-height:0}.theme-dollmania .gp-card-copy strong{font-size:15px;line-height:1.35}.theme-dollmania .gp-card-copy small{margin-top:7px;font-size:11px;color:#8b6680}
.theme-dollmania .device-badge{background:#fff4f9;color:#8f3168;border:1px solid #e4b4cf;border-radius:30px}
.theme-dollmania .directory-intro{padding:36px;border:1px solid #e4c7dc;border-radius:28px;background:linear-gradient(115deg,#ffe1ed,#eee5ff);margin:28px 0}
.theme-dollmania .collection-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;align-items:stretch}
.theme-dollmania .collection-card{display:flex;flex-direction:column;padding:0;border:1px solid #e4cddd;border-radius:24px;overflow:hidden;background:#fff;box-shadow:0 10px 28px #8548650c}
.theme-dollmania .collection-art{height:auto;aspect-ratio:8/5;overflow:hidden;flex-shrink:0}.theme-dollmania .collection-art img{width:100%;height:100%;object-fit:cover}
.theme-dollmania .collection-copy{display:flex;flex-direction:column;gap:14px;padding:24px;flex:1}.theme-dollmania .collection-copy h2{font-size:28px;margin:0}.theme-dollmania .collection-copy p{font-size:14px;line-height:1.7;margin:0}.theme-dollmania .collection-copy .eyebrow{margin:0;font-size:19px;color:#ab3974}
.dm-micro{font-size:10px;letter-spacing:.15em;font-weight:bold;color:#9b6d8f}.dm-explore{margin-top:auto;padding-top:18px;font-size:13px;color:#a63570;font-weight:bold;display:flex;justify-content:space-between}
.theme-dollmania .collection-card:nth-child(3n+2){background:#f7f2ff}.theme-dollmania .collection-card:nth-child(3n){background:#fff7ed}
.theme-dollmania .illustrated-category{border-radius:28px;overflow:hidden;border:1px solid #e5cddd;background:#fff0f6}
.theme-dollmania .game-intro,.theme-dollmania .info-panel,.theme-dollmania .text-page,.theme-dollmania .collection-guide{border:1px solid #ead4e2;border-radius:26px;box-shadow:0 8px 25px #85486508}
.theme-dollmania .tag-list a,.theme-dollmania .fact-chips span{background:#fff1f8;border-color:#e8c9dc;color:#874366}
.theme-dollmania .site-footer{margin-top:42px;padding:32px;border:1px solid #e9ccdf;border-radius:30px 30px 0 0;background:linear-gradient(120deg,#ffe5ef,#f1e8ff)}
.theme-dollmania .footer-bottom nav{display:flex;gap:15px;flex-wrap:wrap}.theme-dollmania .footer-bottom a{font-size:13px}.theme-dollmania .pagination{gap:9px}.theme-dollmania .pagination a,.theme-dollmania .pagination span{border-radius:12px}
@media(max-width:1100px){.theme-dollmania .header-top{flex-wrap:wrap;gap:18px}.theme-dollmania .desktop-nav{order:3;flex-basis:100%;display:flex;flex-wrap:wrap}.theme-dollmania .header-play{margin-left:auto}.theme-dollmania .collection-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.theme-dollmania .site-header,.theme-dollmania .site-main,.theme-dollmania .site-footer{width:calc(100% - 24px)}.theme-dollmania .dm-logo{width:190px}.dm-logo-caption{font-size:8px}.theme-dollmania .header-top{gap:10px}.theme-dollmania .header-play{font-size:11px;padding:11px}.theme-dollmania .desktop-nav{gap:6px}.theme-dollmania .desktop-nav a{padding:8px 10px;font-size:11px}.theme-dollmania .collection-grid{grid-template-columns:1fr}.theme-dollmania .collection-copy{padding:22px}.theme-dollmania .directory-intro{padding:24px}.theme-dollmania .gp-card-copy{padding:10px}.theme-dollmania .gp-card-copy strong{font-size:13px}.dm-shortcuts{gap:7px}.dm-shortcuts a{padding:8px 12px;font-size:11px}.theme-dollmania .site-footer{padding:22px}.theme-dollmania .footer-bottom{display:flex;flex-direction:column;gap:15px}}
@media(prefers-reduced-motion:reduce){.theme-dollmania *{scroll-behavior:auto;transition:none}}

/* Editorial polish: a modern, friendly sans system and richer notebook panels. */
.theme-dollmania{--font:"Avenir Next","Segoe UI","Helvetica Neue",Arial,sans-serif}
.theme-dollmania,.theme-dollmania body{font-family:var(--font)}
.theme-dollmania h1,.theme-dollmania h2,.theme-dollmania h3,.theme-dollmania .scene-copy h2,.theme-dollmania .collection-copy h2{font-family:var(--font);font-weight:800;letter-spacing:-.045em}
.theme-dollmania .scene-copy h2{font-size:clamp(38px,5vw,72px);line-height:.98}
.theme-dollmania .scene-copy p,.theme-dollmania .directory-intro p{font-size:16px;line-height:1.75;max-width:700px}
.theme-dollmania .collection-sidebar nav a span{font-size:14px;font-weight:800;letter-spacing:.055em;text-transform:uppercase;color:#56314f}
.theme-dollmania .collection-sidebar nav a{min-height:48px;display:flex;align-items:center;gap:10px}
@media(max-width:650px){.theme-dollmania .collection-sidebar nav a span{font-size:13px;letter-spacing:.04em}}
.dm-rotating-copy{transition:opacity .18s ease}.dm-copy-fade{opacity:.2}
/* Layered collection pills: raised glass surface, inset edge and a small signal dot. */
.theme-dollmania .dm-shortcuts a,.theme-dollmania .desktop-nav a{position:relative;display:inline-flex;align-items:center;gap:8px;border:1px solid #e2b9d1;border-radius:999px;background:linear-gradient(180deg,#fff 0%,#fff7fb 58%,#f5e5f0 100%);box-shadow:inset 0 1px 0 #fff,0 2px 0 #dfbfd2,0 7px 18px #9a4f7317;color:#713d61;font-size:12px;font-weight:800;letter-spacing:.055em;text-transform:uppercase;transition:transform .2s,box-shadow .2s,background .2s}
.theme-dollmania .dm-shortcuts a:before,.theme-dollmania .desktop-nav a:before{content:"";width:6px;height:6px;border-radius:50%;background:#c53978;box-shadow:0 0 0 3px #f8dce9;flex:none}
.theme-dollmania .dm-shortcuts a:hover,.theme-dollmania .desktop-nav a:hover{transform:translateY(-3px);box-shadow:inset 0 1px 0 #fff,0 4px 0 #d5afc5,0 11px 22px #9a4f7330;color:#8e245f}
.theme-dollmania .dm-shortcuts a:nth-child(2):before{background:#8c5bd1;box-shadow:0 0 0 3px #e9ddff}.theme-dollmania .dm-shortcuts a:nth-child(3):before{background:#e07b3f;box-shadow:0 0 0 3px #ffe5d1}.theme-dollmania .dm-shortcuts a:nth-child(4):before{background:#65a45e;box-shadow:0 0 0 3px #dcf1d7}
.theme-dollmania .desktop-nav a[aria-current]{background:linear-gradient(180deg,#c94d87,#a62f69);border-color:#9f285f;box-shadow:inset 0 1px 0 #e78eb4,0 3px 0 #7f2755,0 9px 20px #9f2f6330;color:#fff}
.theme-dollmania .desktop-nav a[aria-current]:before{background:#fff;box-shadow:0 0 0 3px #e88db4}
/* Compact responsive header and mobile-first browsing. */
.theme-dollmania .site-header{position:relative;min-height:188px;padding-bottom:12px}
@media(min-width:651px){.theme-dollmania .header-top{min-height:112px}.theme-dollmania .header-bottom{position:absolute;right:24px;top:126px;left:24px;display:flex;justify-content:flex-end;align-items:center}.theme-dollmania .header-bottom .header-note{display:none}.theme-dollmania .header-bottom .site-search{width:min(48vw,560px);margin-left:auto}.theme-dollmania .site-header{min-height:188px}}
.theme-dollmania .collection-sidebar .sidebar-note{padding:20px;border-radius:18px;background:linear-gradient(135deg,#fff4f9,#f1eaff);border:1px solid #e9cade}
.theme-dollmania .collection-sidebar .sidebar-note b{display:block;font-size:12px;letter-spacing:.12em;color:#ad2f6d;margin-bottom:9px}.theme-dollmania .collection-sidebar .sidebar-note p{font-size:13px;line-height:1.65;margin:0;color:#6b4c69}
@media(max-width:650px){
 .theme-dollmania .site-header{min-height:0;padding-bottom:10px}
 .theme-dollmania .desktop-nav{flex-wrap:nowrap;overflow:hidden;white-space:nowrap;justify-content:flex-start}
 .theme-dollmania .desktop-nav a{flex:0 0 auto;white-space:nowrap}
 .theme-dollmania .scene-hero{display:none}
 .theme-dollmania .dm-shortcuts{flex-wrap:nowrap;overflow-x:auto;justify-content:flex-start;padding:4px 2px 8px;scrollbar-width:none}.theme-dollmania .dm-shortcuts::-webkit-scrollbar{display:none}.theme-dollmania .dm-shortcuts a{flex:0 0 auto;white-space:nowrap}
 .theme-dollmania .game-card:not(:has(.device-badge)){display:none}
 .theme-dollmania .site-footer{margin-top:24px;padding:15px 18px;border-radius:20px 20px 0 0}.theme-dollmania .footer-top{display:none}.theme-dollmania .footer-bottom{display:flex;align-items:center;justify-content:center;gap:8px}.theme-dollmania .footer-bottom nav{gap:10px;flex-wrap:nowrap;white-space:nowrap;overflow:hidden}.theme-dollmania .footer-bottom nav a{font-size:10px}.theme-dollmania .footer-bottom small{font-size:9px;white-space:nowrap}
}
@media(min-width:651px){.theme-dollmania .header-top{display:grid;grid-template-columns:260px minmax(0,1fr) auto;align-items:center;gap:18px}.theme-dollmania .header-bottom{top:40px;right:150px;left:auto;width:min(42vw,520px)}.theme-dollmania .header-bottom .site-search{width:100%}.theme-dollmania .site-header{min-height:158px}.theme-dollmania .dm-shortcuts{justify-content:center}}
@media(max-width:650px){.theme-dollmania .header-bottom{position:static}.theme-dollmania .header-top{display:flex}.theme-dollmania .site-header{min-height:0}.theme-dollmania .site-main{padding-top:8px}}
/* Final layout correction: mobile navigation is a flex rail, never a wrapping grid. */
@media(max-width:760px){
 .theme-dollmania .header-top{display:flex;flex-wrap:wrap;align-items:center;gap:9px}
 .theme-dollmania .wordmark{flex:0 0 auto}
 .theme-dollmania .header-play{margin-left:auto;flex:0 0 auto}
 .theme-dollmania .desktop-nav{order:3;display:flex;flex:1 0 100%;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;justify-content:flex-start;gap:5px;white-space:nowrap;padding:2px 1px 7px;scrollbar-width:none}
 .theme-dollmania .desktop-nav::-webkit-scrollbar{display:none}
 .theme-dollmania .desktop-nav a{display:inline-flex;flex:0 0 auto;min-height:34px;padding:7px 9px;font-size:10px;line-height:1;white-space:nowrap}
 .theme-dollmania .header-bottom{display:block;width:100%;padding:0 0 8px}
 .theme-dollmania .header-bottom .site-search{width:100%}
 .theme-dollmania .scene-hero{display:none}
 .theme-dollmania .dm-shortcuts{display:flex;flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;white-space:nowrap}
 .theme-dollmania .site-footer .footer-top{display:none}
 .theme-dollmania .site-footer{padding:12px 14px;margin-top:22px}
 .theme-dollmania .site-footer .footer-bottom{display:flex;flex-wrap:nowrap;flex-direction:row;justify-content:center;gap:8px;overflow:hidden}
 .theme-dollmania .site-footer .footer-bottom nav{display:flex;flex-wrap:nowrap;gap:9px;white-space:nowrap;overflow:hidden}
 .theme-dollmania .site-footer .footer-bottom nav a{font-size:9px}
 .theme-dollmania .site-footer .footer-bottom small{font-size:8px;margin:0}
}
@media(min-width:761px) and (max-width:1100px){.theme-dollmania .header-top{display:flex;flex-wrap:wrap}.theme-dollmania .header-bottom{position:static;width:100%}.theme-dollmania .site-header{min-height:0}}

/* Structural responsive layout, kept in normal flow so the header cannot overlap. */
.theme-dollmania .site-header{display:block;min-height:0;padding-bottom:12px}
.theme-dollmania .header-top{display:grid;grid-template-columns:250px minmax(0,1fr) minmax(220px,34vw) auto;align-items:center;gap:18px;padding-top:22px}
.theme-dollmania .header-top .wordmark{grid-column:1}.theme-dollmania .header-top .desktop-nav{grid-column:2;display:flex;flex-wrap:nowrap;justify-content:center;min-width:0;gap:7px}.theme-dollmania .header-top .site-search{grid-column:3;width:100%;min-width:0}.theme-dollmania .header-top .header-play{grid-column:4;white-space:nowrap}.theme-dollmania .header-bottom{display:none}
.theme-dollmania .dm-shortcuts{justify-content:center}
@media(max-width:1100px){.theme-dollmania .header-top{grid-template-columns:210px minmax(0,1fr) auto;gap:12px}.theme-dollmania .header-top .site-search{grid-column:2}.theme-dollmania .header-top .desktop-nav{grid-column:2;grid-row:2}.theme-dollmania .header-top .header-play{grid-column:3;grid-row:1}}
@media(max-width:760px){
 .theme-dollmania .site-header{width:calc(100% - 28px)}
 .theme-dollmania .header-top{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding-top:13px}
 .theme-dollmania .header-top .wordmark{order:1;flex:0 0 auto}.theme-dollmania .header-top .header-play{order:2;margin-left:auto}.theme-dollmania .header-top .desktop-nav{order:3;display:flex;flex:1 0 100%;flex-wrap:nowrap;overflow-x:auto;justify-content:flex-start;gap:5px;white-space:nowrap;padding:3px 1px 8px;scrollbar-width:none}.theme-dollmania .header-top .desktop-nav::-webkit-scrollbar{display:none}.theme-dollmania .header-top .desktop-nav a{display:inline-flex;flex:0 0 auto;white-space:nowrap;padding:7px 9px;font-size:10px;line-height:1;min-height:34px}.theme-dollmania .header-top .site-search{order:4;flex:1 0 100%;width:100%}
 .theme-dollmania .dm-logo{width:180px}.theme-dollmania .scene-hero{display:none}.theme-dollmania .dm-shortcuts{justify-content:flex-start;flex-wrap:nowrap;overflow-x:auto;white-space:nowrap;scrollbar-width:none}.theme-dollmania .dm-shortcuts::-webkit-scrollbar{display:none}.theme-dollmania .dm-shortcuts a{flex:0 0 auto;white-space:nowrap}
 .theme-dollmania .game-card:not(:has(.device-badge)){display:none}.theme-dollmania .site-footer{margin-top:22px;padding:12px 14px}.theme-dollmania .site-footer .footer-top{display:none}.theme-dollmania .site-footer .footer-bottom{display:flex;flex-wrap:nowrap;justify-content:center;gap:8px;padding-top:0;overflow:hidden}.theme-dollmania .site-footer .footer-bottom nav{flex-wrap:nowrap;gap:9px;white-space:nowrap;overflow:hidden}.theme-dollmania .site-footer .footer-bottom nav a{font-size:9px}.theme-dollmania .site-footer .footer-bottom small{font-size:8px;margin:0;white-space:nowrap}
}
/* Final measured header geometry. */
@media(min-width:1101px){
 .theme-dollmania .header-top{grid-template-columns:230px minmax(0,1fr) 300px auto;gap:12px}
 .theme-dollmania .header-top .site-search{width:300px}
 .theme-dollmania .header-top .desktop-nav{gap:5px}
 .theme-dollmania .header-top .desktop-nav a{padding-left:10px;padding-right:10px}
}
@media(min-width:761px) and (max-width:1100px){
 .theme-dollmania .header-top{grid-template-columns:200px minmax(0,1fr) auto;gap:10px}
 .theme-dollmania .header-top .desktop-nav{grid-column:2;grid-row:2;min-width:0;overflow:hidden;justify-content:flex-start}
 .theme-dollmania .header-top .site-search{grid-column:2;grid-row:1;width:100%;max-width:290px;justify-self:end}
 .theme-dollmania .header-top .header-play{grid-column:3;grid-row:1}
}
.theme-dollmania .scene-dots{display:none}
/* Desktop live play wall: rotating local game scenes with a light arcade feel. */
.dm-live-wall{position:absolute;z-index:1;right:5%;top:9%;width:min(41%,560px);height:78%;pointer-events:none;perspective:900px;filter:drop-shadow(0 20px 28px #9b477027)}
.dm-live-wall-label{position:absolute;right:7%;top:2%;z-index:5;padding:8px 12px;border:1px solid #e8b7d0;border-radius:99px;background:#fffafcdd;color:#9d3269;font-size:9px;font-weight:900;letter-spacing:.14em;box-shadow:0 5px 15px #8e3b6320}.dm-live-wall-label i{display:inline-block;width:6px;height:6px;margin-right:7px;border-radius:50%;background:#6bb45f;box-shadow:0 0 0 3px #dff0d9;animation:dm-live-dot 1.8s ease-in-out infinite}
.dm-wall-card{position:absolute;width:57%;height:67%;padding:8px;border:1px solid #fff;border-radius:22px;background:#fff6fa;box-shadow:0 18px 30px #8d38632b;transform-style:preserve-3d;overflow:hidden}.dm-wall-card img{width:100%;height:100%;object-fit:cover;border-radius:16px}.dm-wall-card b{position:absolute;left:17px;bottom:16px;padding:7px 9px;border-radius:8px;background:#fff8;color:#8d2f62;font-size:9px;letter-spacing:.12em}.wall-card-one{left:5%;top:21%;transform:rotate(-11deg) translateZ(-30px);animation:dm-wall-one 10s ease-in-out infinite}.wall-card-two{left:23%;top:12%;transform:rotate(4deg) translateZ(25px);animation:dm-wall-two 10s ease-in-out infinite}.wall-card-three{right:3%;top:24%;transform:rotate(12deg) translateZ(-10px);animation:dm-wall-three 10s ease-in-out infinite}
.dm-wall-orbit{position:absolute;border:1px solid #cf5d93aa;border-radius:50%;pointer-events:none}.orbit-one{width:86%;height:52%;left:6%;top:30%;transform:rotate(-14deg)}.orbit-two{width:68%;height:40%;left:17%;top:37%;border-color:#8d62ca66;transform:rotate(18deg)}
@keyframes dm-wall-one{0%,100%{transform:rotate(-11deg) translate(-5px,4px) translateZ(-30px)}50%{transform:rotate(-7deg) translate(4px,-7px) translateZ(0)}}@keyframes dm-wall-two{0%,100%{transform:rotate(4deg) translateY(-3px) translateZ(25px)}50%{transform:rotate(1deg) translateY(7px) translateZ(50px)}}@keyframes dm-wall-three{0%,100%{transform:rotate(12deg) translate(4px,2px) translateZ(-10px)}50%{transform:rotate(8deg) translate(-5px,-8px) translateZ(15px)}}@keyframes dm-live-dot{50%{opacity:.35;transform:scale(.7)}}
@media(max-width:760px){.dm-live-wall{display:none}}
@media(prefers-reduced-motion:reduce){.dm-live-wall *{animation:none}}
/* Collection and New pages use the full content width with a compact, editorial card grid. */
.theme-dollmania .dm-page-hero{width:100%;max-width:none;padding:30px 38px;margin:24px 0 20px;border:1px solid #e5c9dc;border-radius:28px;background:linear-gradient(110deg,#ffe5ef,#f0e9ff);box-shadow:0 12px 28px #9c4c7014}
.theme-dollmania .dm-page-hero h1{margin-bottom:12px}.theme-dollmania .dm-page-hero p{max-width:980px;font-size:16px;line-height:1.7;margin-bottom:18px}.theme-dollmania .dm-page-meta{display:flex;flex-wrap:wrap;gap:8px}.theme-dollmania .dm-page-meta span{padding:6px 11px;border:1px solid #e3bfd3;border-radius:999px;background:#fff8;color:#8a3b68;font-size:10px;font-weight:800;letter-spacing:.08em;text-transform:uppercase}
.theme-dollmania .collection-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.theme-dollmania .collection-art{aspect-ratio:16/9;height:auto}.theme-dollmania .collection-copy{padding:18px}.theme-dollmania .collection-copy h2{font-size:22px;margin-bottom:10px}.theme-dollmania .collection-copy p{font-size:12px;line-height:1.55}.theme-dollmania .dm-archive-band{margin:28px 0 10px;padding:22px 28px;border:1px solid #e7c7d8;border-radius:22px;background:#fff8fb}.theme-dollmania .dm-archive-band p{max-width:1000px;margin:0;color:#6d5068;font-size:14px;line-height:1.7}
@media(max-width:1100px){.theme-dollmania .collection-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:760px){.theme-dollmania .dm-page-hero{padding:23px 20px;margin:13px 0 15px}.theme-dollmania .dm-page-hero h1{font-size:38px}.theme-dollmania .dm-page-hero p{font-size:14px}.theme-dollmania .collection-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.theme-dollmania .collection-copy{padding:14px}.theme-dollmania .collection-copy h2{font-size:19px}.theme-dollmania .collection-copy p{font-size:11px}.theme-dollmania .dm-archive-band{padding:18px;margin-top:20px}}
@media(max-width:480px){.theme-dollmania .collection-grid{grid-template-columns:1fr}.theme-dollmania .collection-art{aspect-ratio:16/8}.theme-dollmania .collection-copy h2{font-size:23px}}
/* Mobile presentation rule: the large hero panels are desktop-only. */
@media(max-width:900px){
 .theme-dollmania .scene-hero{display:none}
 .theme-dollmania .dm-page-hero{display:none}
}
/* Showcase heroes for New and Collections. */
.theme-dollmania .dm-page-hero{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(360px,.95fr);gap:24px;align-items:center;min-height:390px;padding:40px 48px;overflow:hidden}.theme-dollmania .dm-page-hero-copy{position:relative;z-index:2}.theme-dollmania .dm-hero-kicker{display:block;margin:-2px 0 14px;color:#a82d6d;font-size:10px;font-weight:900;letter-spacing:.16em}.theme-dollmania .dm-page-hero h1{font-size:clamp(48px,6vw,88px);line-height:.95;letter-spacing:-.065em;margin:0 0 22px;color:#452642}.theme-dollmania .dm-page-hero p{font-size:16px;line-height:1.75;max-width:620px;margin-bottom:20px}.theme-dollmania .dm-page-pills{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:22px}.theme-dollmania .dm-page-pills span{padding:7px 11px;border:1px solid #e1b9d0;border-radius:999px;background:#fff9;color:#8e3566;font-size:10px;font-weight:900;letter-spacing:.08em;text-transform:uppercase}.theme-dollmania .dm-page-cta{display:inline-flex;align-items:center;gap:24px;padding:13px 19px;border-radius:999px;background:linear-gradient(115deg,#be3977,#914db5);color:#fff;font-size:12px;font-weight:900;box-shadow:0 5px 0 #7e2a5a,0 12px 22px #91386d2b}.theme-dollmania .dm-page-cta b{font-size:16px}.theme-dollmania .dm-page-art{position:relative;height:300px;isolation:isolate}.theme-dollmania .dm-art-status{position:absolute;right:3%;top:0;z-index:5;padding:8px 11px;border-radius:999px;background:#fffdfd;color:#933263;font-size:9px;font-weight:900;letter-spacing:.12em;box-shadow:0 5px 16px #863b631f}.theme-dollmania .dm-art-status i{display:inline-block;width:6px;height:6px;margin-right:6px;border-radius:50%;background:#70ad61;box-shadow:0 0 0 3px #dff0db}.theme-dollmania .dm-art-card{position:absolute;width:55%;height:74%;padding:7px;border:1px solid #fff;border-radius:22px;background:#fff6fb;box-shadow:0 17px 28px #8f3d6828;overflow:hidden}.theme-dollmania .dm-art-card img{width:100%;height:100%;object-fit:cover;border-radius:16px}.theme-dollmania .dm-art-card b{position:absolute;left:14px;bottom:14px;padding:6px 8px;border-radius:7px;background:#fffdf0dd;color:#973167;font-size:9px;letter-spacing:.12em}.theme-dollmania .dm-art-card.art-a{left:3%;top:19%;transform:rotate(-10deg);animation:dm-art-a 9s ease-in-out infinite}.theme-dollmania .dm-art-card.art-b{left:22%;top:8%;transform:rotate(2deg);z-index:2;animation:dm-art-b 9s ease-in-out infinite}.theme-dollmania .dm-art-card.art-c{right:1%;top:20%;transform:rotate(11deg);animation:dm-art-c 9s ease-in-out infinite}@keyframes dm-art-a{50%{transform:rotate(-6deg) translate(-4px,-6px)}}@keyframes dm-art-b{50%{transform:rotate(5deg) translateY(5px)}}@keyframes dm-art-c{50%{transform:rotate(7deg) translate(4px,-6px)}}
@media(max-width:900px){.theme-dollmania .dm-page-hero{display:none}}
/* Category cards open with a small album of their own games. */
.theme-dollmania .collection-mini-album{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;padding:9px 9px 0;background:linear-gradient(180deg,#fff,#fff6fa);height:82px;overflow:hidden}.theme-dollmania .collection-mini-album img{width:100%;height:64px;object-fit:cover;border-radius:9px;border:2px solid #fff;box-shadow:0 3px 8px #8e3c651f;transform:rotate(-2deg)}.theme-dollmania .collection-mini-album img:nth-child(2){transform:rotate(2deg) translateY(3px)}.theme-dollmania .collection-mini-album img:nth-child(3){transform:rotate(-1deg) translateY(-2px)}.theme-dollmania .collection-mini-album img:nth-child(4){transform:rotate(3deg) translateY(2px)}
@media(max-width:760px){.theme-dollmania .collection-mini-album{height:68px;padding:7px 7px 0;gap:4px}.theme-dollmania .collection-mini-album img{height:52px;border-radius:7px}}
/* Definitive mobile rail rules. */
@media(max-width:900px){
 html.theme-dollmania .scene-hero,
 html.theme-dollmania section[data-scene-hero],
 html.theme-dollmania .dm-page-hero{display:none}
 html.theme-dollmania .desktop-nav,
 html.theme-dollmania nav.desktop-nav{display:flex;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;white-space:nowrap;justify-content:flex-start;align-items:center;gap:5px;scrollbar-width:none}
 html.theme-dollmania .desktop-nav::-webkit-scrollbar{display:none}
 html.theme-dollmania .desktop-nav a{display:inline-flex;flex:0 0 auto;white-space:nowrap;line-height:1;padding:7px 9px}
 html.theme-dollmania .dm-shortcuts{display:flex;flex-wrap:nowrap;overflow-x:auto;overflow-y:hidden;white-space:nowrap;justify-content:flex-start;align-items:center;gap:8px;scrollbar-width:none}
 html.theme-dollmania .dm-shortcuts::-webkit-scrollbar{display:none}
 html.theme-dollmania .dm-shortcuts a{display:inline-flex;flex:0 0 auto;white-space:nowrap}
}
@media(max-width:900px){
 html.theme-dollmania .desktop-nav a{font-size:0;gap:6px}
 html.theme-dollmania .desktop-nav a:nth-child(1)::after{content:'Home'}
 html.theme-dollmania .desktop-nav a:nth-child(2)::after{content:'All'}
 html.theme-dollmania .desktop-nav a:nth-child(3)::after{content:'New'}
 html.theme-dollmania .desktop-nav a:nth-child(4)::after{content:'Saved'}
 html.theme-dollmania .desktop-nav a:nth-child(5)::after{content:'Surprise'}
 html.theme-dollmania .dm-shortcuts a{font-size:0;gap:6px}
 html.theme-dollmania .dm-shortcuts a:nth-child(1)::after{content:'Fresh'}
 html.theme-dollmania .dm-shortcuts a:nth-child(2)::after{content:'All'}
 html.theme-dollmania .dm-shortcuts a:nth-child(3)::after{content:'Favourites'}
 html.theme-dollmania .dm-shortcuts a:nth-child(4)::after{content:'Surprise'}
 html.theme-dollmania .desktop-nav a::after,html.theme-dollmania .dm-shortcuts a::after{font-size:10px;line-height:1;font-weight:800;letter-spacing:.04em;text-transform:uppercase}
 html.theme-dollmania .site-header{padding-bottom:2px}
 html.theme-dollmania .header-top{padding-bottom:2px}
 html.theme-dollmania .header-top .site-search{margin-bottom:0}
}
.shortcut-count{display:inline-grid;place-items:center;min-width:18px;height:18px;padding:0 5px;border-radius:99px;background:#f4d4e5;color:#9c326a;font-size:9px;line-height:1}
.theme-dollmania .saved-tools{display:flex;align-items:center;gap:14px;margin:22px 0 12px}.theme-dollmania .saved-tools span{font-size:13px;color:#76526e}.theme-dollmania .saved-tools button{border:1px solid #e2bfd3;border-radius:999px;background:#fff7fb;color:#963466;padding:8px 13px;font-size:11px;font-weight:800}
@media(max-width:900px){html.theme-dollmania .dm-shortcuts{justify-content:center;overflow-x:visible;padding-top:1px;margin-top:6px;gap:6px}.theme-dollmania .header-top{padding-bottom:0}.theme-dollmania .header-top .site-search{margin-bottom:0}.theme-dollmania .site-header{padding-bottom:0}}
.theme-dollmania .footer-copy{flex:1;max-width:820px}.theme-dollmania .footer-copy p{font-size:12px;line-height:1.65;margin:0 0 8px;color:#76536d}.theme-dollmania .footer-copy p:last-child{color:#a2326d;font-size:11px}.theme-dollmania .footer-top{align-items:flex-start}
@media(min-width:901px){
 html.theme-dollmania .dm-logo{width:310px;max-height:126px}
 html.theme-dollmania .header-top{grid-template-columns:300px minmax(0,1fr) 300px auto}
 html.theme-dollmania .site-header{padding-bottom:0}
 html.theme-dollmania .scene-hero{margin-top:0}
}
.theme-dollmania .footer-spotlight{width:290px;flex:0 0 290px}.theme-dollmania .footer-spotlight-label{display:block;margin-bottom:9px;color:#a02e69;font-size:10px;font-weight:900;letter-spacing:.14em}.theme-dollmania .footer-thumb-rail{display:flex;gap:7px;overflow:hidden}.theme-dollmania .footer-thumb-rail a{display:block;flex:0 0 50px;height:42px;padding:2px;border:1px solid #e0b8cf;border-radius:8px;background:#fff;box-shadow:0 4px 10px #8b3d6517;animation:dm-footer-thumb 8s ease-in-out infinite}.theme-dollmania .footer-thumb-rail a:nth-child(2){animation-delay:1.1s}.theme-dollmania .footer-thumb-rail a:nth-child(3){animation-delay:2.2s}.theme-dollmania .footer-thumb-rail a:nth-child(4){animation-delay:3.3s}.theme-dollmania .footer-thumb-rail a:nth-child(5){animation-delay:4.4s}.theme-dollmania .footer-thumb-rail img{width:100%;height:100%;object-fit:cover;border-radius:5px}@keyframes dm-footer-thumb{50%{transform:translateY(-4px);box-shadow:0 8px 15px #8b3d6530}}
@media(max-width:900px){.theme-dollmania .footer-spotlight{display:none}}
/* Mobile labels are compact, equal-width controls. No overflow rail or duplicate desktop wording. */
@media(max-width:900px){
 html.theme-dollmania .header-top .desktop-nav{display:flex;flex-wrap:nowrap;overflow:hidden;white-space:nowrap;width:100%;gap:4px;padding:2px 0 5px}
 html.theme-dollmania .header-top .desktop-nav a{display:flex;flex:1 1 0;min-width:0;justify-content:center;overflow:hidden;padding:8px 3px;font-size:0;white-space:nowrap;gap:4px}
 html.theme-dollmania .header-top .desktop-nav a::before{width:5px;height:5px;box-shadow:0 0 0 2px #f8dce9}
 html.theme-dollmania .header-top .desktop-nav a::after{display:block;overflow:hidden;font-size:9px;line-height:1;white-space:nowrap;content:attr(data-mobile-label);text-transform:uppercase;letter-spacing:.02em}
 html.theme-dollmania .dm-shortcuts{display:flex;flex-wrap:nowrap;overflow:hidden;white-space:nowrap;width:100%;justify-content:center;gap:5px;padding:1px 0 4px;margin-top:3px}
 html.theme-dollmania .dm-shortcuts a{display:flex;flex:1 1 0;min-width:0;justify-content:center;overflow:hidden;padding:8px 3px;font-size:0;white-space:nowrap;gap:4px}
 html.theme-dollmania .dm-shortcuts a::before{width:5px;height:5px;box-shadow:0 0 0 2px #f8dce9}
 html.theme-dollmania .dm-shortcuts a::after{display:block;overflow:hidden;font-size:8px;line-height:1;white-space:nowrap;content:attr(data-mobile-label);text-transform:uppercase;letter-spacing:.01em}
 html.theme-dollmania .shortcut-count{display:none}
}
/* Consistent DollMania type system and divider breathing room. */
html.theme-dollmania .wordmark,
html.theme-dollmania .wordmark .dm-logo-caption,
html.theme-dollmania .hero-copy h1,
html.theme-dollmania .scene-copy h2,
html.theme-dollmania .section-heading h2,
html.theme-dollmania .directory-intro h1,
html.theme-dollmania .category-lead h1,
html.theme-dollmania .collection-copy h2,
html.theme-dollmania .collection-guide h2,
html.theme-dollmania .game-intro h1,
html.theme-dollmania .text-page h1,
html.theme-dollmania .text-page h2{font-family:var(--font);font-style:normal}
html.theme-dollmania .wordmark .dm-logo-caption{font-size:12px;font-weight:700;letter-spacing:.035em;line-height:1.4;color:#8b4e73}
html.theme-dollmania .footer-copy p{font-family:var(--font)}
@media(min-width:901px){html.theme-dollmania .scene-hero,html.theme-dollmania .dm-page-hero{margin-top:24px}}
.theme-dollmania .dm-archive-band{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:28px 34px;background:linear-gradient(110deg,#fff0f6,#f0e9ff);border:1px solid #e4c4d8;border-radius:24px;box-shadow:0 10px 26px #8e3b6714}.theme-dollmania .dm-archive-copy{max-width:980px}.theme-dollmania .dm-archive-copy h2{margin:0 0 8px;font-size:clamp(25px,3vw,39px);font-family:var(--font);color:#482744}.theme-dollmania .dm-archive-copy p{margin:0;color:#70526c;font-size:14px;line-height:1.75}.theme-dollmania .dm-archive-mark{display:grid;place-items:center;flex:0 0 62px;width:62px;height:62px;border-radius:20px;background:linear-gradient(145deg,#c83d7d,#9150b9);color:#fff;font-size:30px;box-shadow:0 6px 0 #7d2b59,0 12px 22px #91386d2b;animation:dm-archive-mark 4s ease-in-out infinite}@keyframes dm-archive-mark{50%{transform:rotate(8deg) translateY(-4px)}}
.theme-dollmania .footer-thumb-rail{gap:10px;align-items:center}.theme-dollmania .footer-thumb-rail a{flex:0 0 68px;height:52px;padding:3px;border-radius:10px;transition:transform .2s,box-shadow .2s}.theme-dollmania .footer-thumb-rail a:hover{transform:translateY(-6px) rotate(-2deg);box-shadow:0 10px 18px #8b3d6540}.theme-dollmania .footer-thumb-rail a:nth-child(even){transform:translateY(5px) rotate(2deg)}.theme-dollmania .footer-thumb-rail a:nth-child(even):hover{transform:translateY(-3px) rotate(0)}
.theme-dollmania .dm-page-cta,.theme-dollmania .dm-page-cta:hover,.theme-dollmania .button,.theme-dollmania .button:hover,.theme-dollmania .header-play,.theme-dollmania .header-play:hover{color:#fff}.theme-dollmania .dm-page-cta:hover,.theme-dollmania .button:hover,.theme-dollmania .header-play:hover{background:linear-gradient(115deg,#c94a83,#9b59c1)}
@media(max-width:900px){.theme-dollmania .dm-archive-band{padding:22px}.theme-dollmania .dm-archive-mark{display:none}}


/* 2026-09-13 — mobile portal sticky/centering hardening.
   This lives in doll-studio.css because that stylesheet loads after site.css
   and previously reset .site-header back to position:relative on phones. */
@media(max-width:760px){
  html.theme-dollmania,
  html.theme-dollmania body{overflow-x:clip!important}
  html.theme-dollmania .site-header{
    position:-webkit-sticky!important;
    position:sticky!important;
    top:0!important;
    left:0!important;
    right:0!important;
    z-index:1200!important;
    display:flex!important;
    justify-content:center!important;
    align-items:flex-start!important;
    width:100%!important;
    max-width:none!important;
    min-height:0!important;
    margin:0 auto!important;
    padding:max(7px,env(safe-area-inset-top)) 8px 6px!important;
    border:0!important;
    background:transparent!important;
    box-shadow:none!important;
    isolation:isolate!important;
  }
  html.theme-dollmania .dm-mobile-portal{
    flex:0 1 720px!important;
    width:min(100%,720px)!important;
    max-width:720px!important;
    margin:0 auto!important;
  }
}
