@font-face { font-family:"Drop Dungeon Display"; src:url("assets/fonts/DropDungeonDisplay-Bold.ttf") format("truetype"); font-weight:700; font-display:swap; }
@font-face { font-family:"Drop Dungeon Text"; src:url("assets/fonts/DropDungeonText-SemiBold.ttf") format("truetype"); font-weight:600; font-display:swap; }
:root { color-scheme:dark; --ink:#0a1621; --gold:#faa001; --cream:#f5dbad; --muted:#d3c8ae; --display:"Drop Dungeon Display",Georgia,serif; --body:"Drop Dungeon Text",system-ui,sans-serif; font:17px/1.7 var(--body); color:var(--cream); background:var(--ink); }
* { box-sizing:border-box; }
body { margin:0; background:#0a1621 url("assets/section-wall-tile.jpg") center top / 512px 384px repeat; }
main,.site-footer { width:min(1200px,calc(100% - 48px)); margin-inline:auto; }
main { padding-bottom:20px; }
a { color:#ffd17b; text-underline-offset:.2em; }
a:hover { color:#fff0c9; }
a:focus-visible,button:focus-visible { outline:3px solid #ffd17b; outline-offset:5px; }
img { display:block; max-width:100%; height:auto; }
button { font:inherit; color:inherit; cursor:pointer; }
p { margin:0 0 1.1em; }
strong { color:#fff0c9; }
h1,h2,h3 { font-family:var(--display); color:var(--gold); line-height:1.16; margin:0 0 .65em; text-shadow:0 2px 1px #000; }
h1,h2 { text-transform:uppercase; }
h1 { font-size:clamp(32px,4.1vw,56px); letter-spacing:-.035em; }
h2 { font-size:clamp(23px,2.5vw,30px); }
h3 { font-size:21px; }
ul,ol { padding-left:24px; }
li { margin-bottom:.65em; }
figure { margin:0; }
figcaption { font-size:14px; line-height:1.55; color:var(--muted); margin-top:12px; }
.skip-link { position:fixed; top:12px; left:12px; z-index:100; padding:12px 18px; color:var(--ink); background:var(--cream); transform:translateY(-150%); }
.skip-link:focus { transform:none; }
.stone { border:25px solid transparent; border-image:url("assets/chrome-card-9slice.png") 58 / 25px round; background:#0b1219 url("assets/chrome-card-fill.jpg") center / 174px 108px repeat; }
.game-button { width:260px; max-width:100%; min-height:68px; aspect-ratio:1493 / 426; display:inline-flex; align-items:center; justify-content:center; padding:10px 36px; color:#fff3d2; background:url("assets/play-button.webp") center / contain no-repeat; border:0; text-decoration:none; font:700 19px/1.2 var(--display); text-transform:uppercase; text-align:center; text-shadow:-1px -1px #30200e,1px 1px 2px #000; }
.game-button:hover { color:#fff3d2; filter:brightness(1.12); }
.hero { position:relative; isolation:isolate; display:grid; grid-template-columns:minmax(0,1.2fr) minmax(0,.8fr); gap:36px; align-items:center; padding:38px 46px; margin-top:20px; background:url("assets/adventure-band.jpg") center / cover no-repeat; }
/* Structural contrast mask over authentic art, not substitute painted chrome. */
.hero::before { content:""; position:absolute; inset:0; z-index:-1; background:rgba(10,22,33,.83); }
.hero p { max-width:48ch; }
.eyebrow { font:700 13px/1.5 var(--display); color:#ffd17b; letter-spacing:.15em; text-transform:uppercase; margin-bottom:14px; }
.hero-lead { font-size:19px; line-height:1.6; }
.hero-art { display:flex; justify-content:center; align-items:center; gap:22px; min-width:0; }
.hero-shot { width:180px; flex:0 1 180px; }
.hero-shot img { width:100%; height:auto; }
.wick { width:180px; flex:0 1 180px; }
.hero-loot { display:grid; grid-template-columns:repeat(2,60px); gap:18px; align-items:center; }
.hero-loot img { width:60px; height:60px; object-fit:contain; }
.support-hero { grid-template-columns:minmax(0,1fr) 290px; padding-block:28px; }
.support-hero .wick { width:200px; flex-basis:200px; }
.support-address { display:inline-block; margin:8px 0 0 14px; overflow-wrap:anywhere; }
.about-hero { grid-template-columns:minmax(0,.9fr) minmax(0,1.1fr); padding:32px; }
.about-hero .hero-art img { width:100%; }
.topic-nav { display:grid; grid-template-columns:repeat(6,minmax(0,1fr)); gap:12px; margin:20px 0 36px; }
.topic-nav a { display:flex; flex-direction:column; align-items:center; gap:8px; text-align:center; text-decoration:none; font:700 14px/1.35 var(--display); color:var(--cream); padding:8px 6px; }
.topic-nav a:hover,.help-topics a:hover { filter:brightness(1.15); }
.topic-nav img { width:44px; height:44px; object-fit:contain; }
.topic-nav .stone { border-width:18px; border-image-width:18px; }
.chapter { scroll-margin-top:24px; margin:0 0 32px; padding:22px 26px; }
/* A neutral tint quiets the existing stone texture behind long reading text. */
.chapter,.wick-note { background-color:#9da3a9; background-blend-mode:multiply; }
.section-title { display:flex; align-items:center; gap:16px; margin-bottom:20px; }
.section-title h2 { margin:0; }
.section-title img { width:58px; height:58px; object-fit:contain; flex:0 0 58px; }
.copy { max-width:72ch; }
.copy > :last-child { margin-bottom:0; }
.split { display:grid; grid-template-columns:minmax(0,1fr) 250px; gap:36px; align-items:start; }
.shot { width:230px; max-width:100%; margin-inline:auto; }
.shot a { display:block; }
.shot img { width:100%; height:auto; }
.shot figcaption { text-align:center; }
.match-layout { display:grid; grid-template-columns:minmax(0,1fr) minmax(280px,.85fr); gap:30px; align-items:start; }
.match-examples { display:flex; justify-content:center; gap:26px; padding:10px 0 22px; }
.match-example { text-align:center; width:170px; max-width:50%; }
.match-example figcaption { color:var(--cream); font-size:15px; }
.match-board { width:160px; height:160px; max-width:100%; position:relative; margin-inline:auto; background:url("assets/how/board.webp") -36px -60px / 384px auto no-repeat; }
.match-board img { position:absolute; width:64px; height:64px; object-fit:contain; transition:opacity .25s,transform .25s; }
.coin-a { left:16px; top:80px; }
.coin-b { left:80px; top:80px; }
.diagonal .coin-a { left:16px; top:16px; }
.match-board.is-cleared img { opacity:0; transform:translateY(-12px) scale(.85); }
.demo-action { min-height:48px; padding:10px 18px; border:0; background:none; color:#ffd17b; text-decoration:underline; text-underline-offset:.25em; }
.demo-controls { text-align:center; }
.demo-status { min-height:30px; font-size:14px; color:var(--muted); text-align:center; margin-bottom:8px; }
.key-example { padding-top:24px; text-align:center; max-width:300px; margin-inline:auto; }
.key-example > div { display:flex; align-items:center; justify-content:center; }
.key-example img { width:52px; height:52px; object-fit:contain; }
.key-example .key-chest { width:94px; height:84px; margin-left:6px; }
.loot-legend { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:20px; margin:18px 0 28px; }
.loot-legend figure { text-align:center; }
.loot-legend img { width:68px; height:68px; object-fit:contain; margin:0 auto 10px; }
.loot-legend b { display:block; font:700 18px/1.4 var(--display); color:var(--gold); }
.loot-legend figcaption { margin-top:6px; }
.control-steps { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:24px; margin:12px 0 28px; }
.control-step { text-align:center; }
.control-picture { display:flex; align-items:center; justify-content:center; gap:12px; min-height:100px; }
.control-picture > img { width:66px; height:66px; object-fit:contain; }
.tile-pair { display:flex; }
.tile-pair img { width:42px; height:42px; object-fit:contain; }
.turned { flex-direction:column; }
.control-step h3 { margin:6px 0; }
.control-step p { font-size:15px; line-height:1.55; }
.journey { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:26px; }
.journey figure { display:grid; align-content:start; gap:14px; }
.journey img { width:min(100%,210px); height:auto; margin-inline:auto; }
.journey figcaption { font-size:16px; color:var(--cream); }
.journey h3 { margin-bottom:8px; }
.build-art { display:grid; justify-items:center; gap:14px; padding:20px 0; }
.build-art > img { width:128px; height:128px; object-fit:contain; }
.small-icons { display:flex; gap:18px; align-items:center; }
.small-icons img { width:60px; height:60px; object-fit:contain; }
.wick-note { display:flex; gap:26px; align-items:center; padding:22px 28px; margin-bottom:32px; }
.wick-note > img { width:150px; height:auto; flex:0 0 150px; }
.wick-note p:last-child { margin-bottom:0; }
.help-topics { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; margin:22px 0 36px; }
.help-topics a { display:flex; gap:18px; align-items:center; text-decoration:none; padding:10px 6px; min-width:0; color:var(--cream); }
.help-topics img { width:64px; height:64px; object-fit:contain; flex:0 0 64px; }
.help-topics b { display:block; font:700 18px/1.3 var(--display); color:#ffd17b; margin-bottom:6px; }
.help-topics span { display:block; font-size:14px; line-height:1.5; }
.help-topics .stone { border-width:20px; border-image-width:20px; }
.note { display:flex; align-items:center; gap:18px; padding-block:18px; margin:20px 0; }
.note img { width:64px; height:64px; object-fit:contain; flex:0 0 64px; }
.note p { margin:0; }
.account-path { display:flex; align-items:center; justify-content:center; gap:20px; padding:20px 0 28px; }
.account-path figure { text-align:center; flex:1; max-width:180px; }
.account-path img { width:74px; height:74px; object-fit:contain; margin-inline:auto; }
.account-path figcaption { color:var(--cream); font:700 17px/1.4 var(--display); }
.account-path > span { color:var(--gold); }
.account-path .path-label { display:flex; align-items:center; justify-content:center; min-height:90px; }
.resource-strip { display:flex; justify-content:center; gap:clamp(20px,7vw,70px); align-items:center; padding:24px 0; }
.resource-strip img { width:64px; height:64px; object-fit:contain; }
.store-links { display:flex; align-items:center; gap:20px; flex-wrap:wrap; margin-top:20px; }
.store-links img { width:auto; height:44px; max-width:180px; object-fit:contain; }
.site-footer { padding:22px 30px; margin-bottom:28px; color:var(--muted); font-size:14px; }
.site-footer nav { display:flex; flex-wrap:wrap; gap:4px 24px; }
.site-footer nav a { display:inline-flex; min-height:44px; align-items:center; }
.reviewed { font-size:13px; margin:16px 0 0; }
@media (max-width:1000px) {
  .hero-loot { display:none; }
  .hero { padding:28px; gap:24px; }
  .help-topics { grid-template-columns:repeat(2,minmax(0,1fr)); }
  .match-layout { grid-template-columns:minmax(0,1fr); }
}
@media (max-width:700px) {
  .desktop-break { display:none; }
  :root { font-size:16px; }
  main,.site-footer { width:calc(100% - 24px); }
  .hero,.support-hero,.about-hero { grid-template-columns:minmax(0,1fr); padding:24px 18px; margin-top:12px; gap:22px; }
  .hero-lead { font-size:16px; }
  .hero .game-button { width:240px; }
  .hero-art { gap:24px; }
  .hero-shot { width:100px; flex:0 1 100px; }
  .hero .wick { width:115px; flex:0 1 115px; }
  .support-hero .hero-art { grid-row:1; justify-content:end; margin-bottom:-24px; }
  .support-hero .wick { width:135px; flex-basis:135px; }
  .support-address { margin-left:0; }
  .topic-nav { grid-template-columns:repeat(3,minmax(0,1fr)); gap:8px; margin:14px 0 24px; }
  .topic-nav a { font-size:12px; padding:4px 0; }
  .topic-nav .stone { border-width:12px; border-image-width:12px; }
  .topic-nav img { width:38px; height:38px; }
  .chapter { border-width:18px; border-image-width:18px; padding:16px 10px; margin-bottom:24px; }
  .section-title { gap:12px; }
  .section-title img { width:45px; height:45px; flex-basis:45px; }
  .split { grid-template-columns:minmax(0,1fr); gap:24px; }
  .split .shot { width:240px; }
  .match-examples { gap:14px; }
  .match-example { width:130px; }
  .match-board { width:128px; height:128px; background-size:307px auto; background-position:-29px -48px; }
  .match-board img { width:51px; height:51px; }
  .coin-a { left:13px; top:64px; }
  .coin-b { left:64px; top:64px; }
  .diagonal .coin-a { left:13px; top:13px; }
  .match-example figcaption { font-size:13px; }
  .loot-legend { grid-template-columns:repeat(2,minmax(0,1fr)); gap:20px; }
  .loot-legend img { width:60px; height:60px; }
  .control-steps { gap:10px; }
  .control-picture { min-height:100px; flex-direction:column; gap:8px; }
  .control-picture > img { width:46px; height:46px; }
  .tile-pair img { width:30px; height:30px; }
  .turned { flex-direction:row; }
  .control-step h3 { font-size:17px; }
  .control-step p { font-size:13px; }
  .journey { grid-template-columns:minmax(0,1fr); gap:32px; }
  .journey figure { grid-template-columns:105px minmax(0,1fr); align-items:center; gap:18px; }
  .journey figcaption { font-size:14px; margin-top:0; }
  .journey h3 { font-size:18px; }
  .wick-note { display:block; padding:12px 10px; border-width:18px; border-image-width:18px; }
  .wick-note::after { content:""; display:block; clear:both; }
  .wick-note > img { float:right; width:85px; margin:0 0 12px 16px; }
  .wick-note h2 { font-size:21px; }
  .help-topics { grid-template-columns:minmax(0,1fr); gap:10px; margin-block:18px 24px; }
  .help-topics a { padding-block:5px; gap:20px; }
  .help-topics img { width:58px; height:58px; flex-basis:58px; }
  .help-topics b { font-size:18px; }
  .account-path { gap:10px; }
  .account-path img { width:58px; height:58px; }
  .account-path figcaption { font-size:14px; }
  .resource-strip { gap:14px; padding-block:20px; }
  .resource-strip img { width:44px; height:44px; }
  .store-links { gap:14px; }
  .store-links img { height:38px; max-width:150px; }
  .site-footer { border-width:18px; border-image-width:18px; padding:12px 10px; }
}
@media (prefers-reduced-motion:reduce) { *,*::before,*::after { scroll-behavior:auto !important; transition:none !important; } }
