/* DTR Game Theme 1.0.1 — layout isolation and responsive structure */
:root{--dtr-bg:#090f17;--dtr-panel:#142131;--dtr-panel2:#1b2b3d;--dtr-border:#314254;--dtr-ink:#f4f0e8;--dtr-muted:#b9c4d0;--dtr-accent:#e2b76d}
body{background:var(--dtr-bg);color:var(--dtr-ink);overflow-x:hidden}
body .site-shell{width:min(100% - 48px,1280px)!important;max-width:1280px!important;margin-left:auto!important;margin-right:auto!important;padding-left:0!important;padding-right:0!important;box-sizing:border-box!important}
body .site-header{position:relative;background:#0d1722;border-bottom:1px solid var(--dtr-border)}
body.admin-bar .site-header{top:0}
body .header-inner{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:24px!important;min-height:82px!important;padding-top:12px!important;padding-bottom:12px!important}
body .site-header .brand{display:inline-flex;gap:.35em;align-items:center;font-size:1.35rem;white-space:nowrap;line-height:1.3}
body .site-header .site-nav{display:flex!important;align-items:center;gap:clamp(12px,2vw,32px);flex-wrap:wrap}
body .site-header .site-nav a{display:inline-block;padding:8px 0;line-height:1.4}
body .hero{min-height:470px;display:flex;align-items:center;padding:84px 0!important;background:radial-gradient(ellipse at 82% 35%,rgba(91,113,133,.3),transparent 46%),linear-gradient(120deg,#111e2c 0%,#0a121c 75%);border-bottom:1px solid var(--dtr-border)}
body .hero .site-shell{position:relative}
body .hero h1{font-size:clamp(2.8rem,5.4vw,5.6rem)!important;line-height:1.07!important;max-width:900px;margin:20px 0 22px!important;letter-spacing:-.035em}
body .hero p{max-width:620px;line-height:1.7;color:var(--dtr-muted)}
body .hero .button-link{display:inline-flex;align-items:center;min-height:48px;padding:12px 23px;border-radius:6px;margin-top:22px;background:var(--dtr-accent);color:#111820;text-decoration:none}
body .section{padding:76px 0!important}
body .section h2{margin:0 0 30px;font-size:clamp(1.9rem,3vw,2.8rem);line-height:1.2}
body .section .card-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:24px!important}
body .section .world-card{min-width:0;min-height:310px;display:flex;flex-direction:column;align-items:flex-start;gap:12px;padding:38px!important;border-radius:14px;background:linear-gradient(155deg,#1a2a3b,#101b29);border:1px solid var(--dtr-border);box-shadow:0 16px 45px rgba(0,0,0,.12)}
body .section .world-card:nth-child(2){background:linear-gradient(155deg,#1c2932,#111c26)}
body .section .world-card h3{margin:4px 0;font-size:2.1rem;line-height:1.2}
body .section .world-card p{font-size:1rem;line-height:1.7;margin:0 0 12px;max-width:52ch;flex:1}
body .section .world-card a{margin-top:auto}
body .section .rdtr-list{max-width:100%;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:20px}
body .section .rdtr-list-item{margin:0!important;min-width:0}
body .content-wrap{padding:70px 0 100px;min-height:65vh}
body .content-wrap .entry{max-width:1100px}
body .content-wrap .rdtr-game,body .content-wrap .rdtr-list{max-width:100%!important}
body .site-footer{padding:35px 0}
body .site-footer .site-shell{line-height:1.8}
@media(max-width:850px){body .header-inner{flex-wrap:wrap!important;min-height:auto!important}body .site-header .site-nav{width:100%;gap:14px 24px}body .hero{min-height:400px;padding:64px 0!important}body .section{padding:54px 0!important}body .section .world-card{padding:28px!important}}
@media(max-width:640px){body .site-shell{width:calc(100% - 32px)!important}body .header-inner{gap:10px!important}body .site-header .brand{font-size:1.1rem}body .site-header .site-nav{gap:8px 18px}body .site-header .site-nav a{font-size:.82rem}body .hero{min-height:350px;padding:52px 0!important}body .hero h1{font-size:clamp(2.5rem,11vw,3.8rem)!important}body .section .card-grid{grid-template-columns:1fr!important}body .section .world-card{min-height:270px;padding:24px!important}body .content-wrap{padding:42px 0 70px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}
/* Theme 1.0.2: allow the engine's workspace to use the full page container. */
body.page .rdtr-game{max-width:100%;width:100%;margin:20px auto 34px}
body.page .rdtr-list{max-width:100%;width:100%}
@media(min-width:1024px){body.page .rdtr-game .rdtr-panel{padding:32px 38px}}
