/* Additive integration. The supplied palette, type and section styles remain in the reference stylesheet. */
:focus-visible{outline:2px solid var(--gold2);outline-offset:5px}
section,[id="authors"]{scroll-margin-top:92px}
button:disabled{cursor:default;opacity:.55;transform:none!important}
.book-wrap{height:620px;margin:20px 0 24px;perspective:none;isolation:isolate;overflow:hidden;touch-action:pan-y;border-radius:30px}
.book-wrap::before{content:"";position:absolute;inset:12% 5% 8%;border-radius:50%;background:radial-gradient(ellipse,#e9c27b0d,transparent 70%);pointer-events:none}
#bookCanvas,#bookPoster{position:absolute;inset:0;width:100%;height:100%;display:block}
#bookPoster{object-fit:contain;opacity:1;transition:opacity .5s}
#bookCanvas{opacity:0;transition:opacity .5s;outline:none}
.book-wrap[data-render="live"] #bookCanvas{opacity:1}
.book-wrap[data-render="live"] #bookPoster{opacity:0;pointer-events:none}
.book-hint{z-index:2;bottom:8px;color:#e9c27baa;pointer-events:none;font-size:11px;letter-spacing:.14em}
.book-glow{z-index:-1;pointer-events:none}
.book-ui{align-items:stretch}
.book-ctrl{align-items:center}
.stage-card{min-width:0}
.segs span{height:10px;padding-block:3px;background:transparent}
.segs span::before{content:"";display:block;height:3px;background:#ffffff1a}
.segs span i{margin-top:-3px;height:3px}
.game-info{position:relative;z-index:1}
.game-info p{line-height:1.65}
.game-info .links .btn{justify-content:center}
.game-info::after{pointer-events:none}
.dice-stage{height:410px;display:block;perspective:none;margin:24px 0 16px;isolation:isolate;border-radius:26px;overflow:hidden;border:1px solid #e9c27b33;background:radial-gradient(ellipse at 50% 40%,#172447,#060915);box-shadow:0 30px 80px -30px #000}
.dice-stage::after{display:none}
#realDice.lgr-dice-surface{width:100%;height:100%;border-radius:inherit;background:var(--ink)}
#realDice .lgr-dice-viewport{height:100%;width:100%}
#realDice .lgr-dice-fallback{background:radial-gradient(ellipse at 50% 65%,#1f2a52,#060915 80%)}
.dice-controls{display:flex;gap:10px;flex-wrap:wrap;align-items:center}
.dice-controls .btn{min-width:180px;justify-content:center}
#diceStatus{margin-top:12px;color:var(--gold);font:italic 20px var(--serif);min-height:30px}
.q-card{align-self:center;min-width:0}
.q-card .w{padding-right:60px}
.q-card textarea{scroll-margin:90px}
.q-card .row>div{flex-wrap:wrap}
.ph img{width:100%;height:100%;object-fit:cover;transition:transform 1.2s var(--ease)}
.ph:hover img{transform:scale(1.05)}
.lb img{width:100%;max-height:60vh;object-fit:contain;border-radius:18px}
.form-notice{font-size:13px;color:var(--muted)}
.booking-total{display:flex;justify-content:space-between;gap:15px;color:var(--muted);font-size:13px}
.booking-total b{font:600 25px var(--serif);color:var(--gold2)}
#bookingStatus:empty{display:none}#bookingStatus{color:var(--gold2);font-size:13px}
.author-foundation{max-width:850px}
.author-method{grid-column:1/-1;border-color:#e9c27b55;background:linear-gradient(135deg,#e9c27b12,#8b6cff09)}
.author-method h3{font-size:38px}
.author-method p{max-width:760px;line-height:1.75}
.mback{overflow-y:auto;overscroll-behavior:contain}
.modal{overscroll-behavior:contain}
.toast{max-width:calc(100vw - 30px);text-align:center}
.calm .reveal{opacity:1;filter:none;transform:none}
.calm .h1 .ln>span{transform:none}
.calm #loader .ld h2 span{opacity:1;transform:none}
.calm html,html:has(body.calm){scroll-behavior:auto}
.calm .magnet,.calm .btn{transform:none!important}
@media(max-width:1100px){.book-wrap{height:550px}.book-ui{max-width:850px}.trial{gap:34px}.dice-stage{max-width:680px}.hero-grid{gap:38px}}
@media(max-width:700px){
 .book-wrap{height:300px;border-radius:20px;margin:12px -3vw 22px;width:98vw}
 .book-head .lead{font-size:16px}.book-hint{max-width:90%;white-space:nowrap;font-size:9px;letter-spacing:.08em}
 .tabs{gap:7px;margin-top:26px}.tab{padding:9px 11px;font-size:11px}
 .book-ui{gap:15px}.stage-card{padding:18px}.stage-card h4{font-size:25px}.stage-card p{font-size:14px}
 .game-info{padding:24px;gap:22px}.game-info h3{font-size:34px}
 .dice-stage{height:350px}.dice-controls{justify-content:center}#diceStatus{text-align:center}
 .trial{gap:22px}.themes{gap:7px}.themes .pill{font-size:11px;padding:9px 11px}
 .q-card{padding:26px 22px}.q-card .q{font-size:29px}.q-card .row{gap:14px}.q-card .seal{width:48px;height:48px;right:20px;top:20px}
 .q-card .w{font-size:10px;letter-spacing:.12em;padding-right:50px}
 .hero-grid{gap:30px}.hero-actions{gap:12px}.stats{gap:25px}.h1{font-size:clamp(40px,11.5vw,58px)}
 .brand{gap:9px}.brand b{font-size:21px;letter-spacing:.25em}.brand svg{width:39px;height:39px}
 .atlas-ctrl{gap:8px}.atlas-ctrl .pill{padding:9px 10px;font-size:11px}.icon-btn{width:40px;height:40px}
 .dots{gap:5px}.dots button.on{width:16px}
 .modal h3{font-size:34px}.modal .mgrid{grid-template-columns:1fr}
 .author-method h3{font-size:34px}.author-foundation{font-size:17px}
}
@media(max-width:360px){.atlas-ctrl{justify-content:center}.q-card .row>div{gap:6px}.q-card .btn.sm{font-size:11px;padding:10px 12px}.book-ctrl{gap:6px}.book-ctrl .pill{font-size:11px;padding:10px 12px}.book-wrap{height:285px}}
