:root{--ink:#2e4437;--paper:#f5f2e8;--line:#d7d8c9;--muted:#79806e;--rust:#ad663e}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font:14px/1.8 "Hiragino Kaku Gothic ProN","Yu Gothic",Meiryo,sans-serif}button,a{-webkit-tap-highlight-color:transparent}a{color:inherit;text-decoration:none}button{font:inherit;color:inherit;cursor:pointer}button:focus-visible,a:focus-visible{outline:3px solid #b77a46;outline-offset:3px}.game-header{max-width:1240px;margin:auto;display:flex;align-items:center;justify-content:space-between;padding:20px 35px;font-size:11px;gap:16px}.game-header>div{display:flex;gap:7px}.game-header button{font-size:10px;background:transparent;border:1px solid var(--line);padding:4px 11px}.game-header button:disabled{opacity:.4;cursor:default}.site-brand{font-family:Georgia,serif;font-weight:bold;letter-spacing:.05em}main{width:calc(100% - 70px);max-width:1170px;margin:auto}.game-heading{display:flex;align-items:center;justify-content:space-between;margin:16px 0 24px}.game-heading p{font-size:11px;letter-spacing:.12em;margin:0 0 4px}.game-heading h1{font-family:Georgia,serif;font-weight:400;font-size:45px;line-height:1.15;letter-spacing:.04em;margin:0}.game-heading h1 span{font-size:.7em;font-style:italic;color:var(--rust)}.heading-copy{font-size:12px;line-height:2.1}.game-shell{border:1px solid #bec3ae;background:#f6f1df;box-shadow:0 12px 40px #30462c09}.hud{display:grid;grid-template-columns:1fr 100px 1fr;gap:20px;padding:20px 25px 13px;background:#edeedee8}.fighter-name{display:flex;justify-content:space-between;align-items:center;font-size:14px}.fighter-name>small{font-size:10px;color:var(--muted)}.fighter-name span small{font-size:9px;margin-left:8px}.enemy .fighter-name{flex-direction:row-reverse}.health-track{height:13px;background:#dbdac7;overflow:hidden;border:1px solid #66785638;margin:7px 0 5px}.health-track>div{height:100%;background:#648169;width:100%;transition:width .12s}.enemy .health-track>div{background:#ac7657;margin-left:auto}.stamina-track{height:3px;width:60%;background:#d1d7c5}.stamina-track>div{width:100%;height:100%;background:#9aa970}.enemy .stamina-track{margin-left:auto}.timer{text-align:center;line-height:1.2}.timer span{display:block;font-size:8px;letter-spacing:.1em;color:var(--muted)}.timer b{font:34px Georgia,serif}.arena{position:relative;aspect-ratio:1000/510;overflow:hidden;background:#f5edd8}canvas{display:block;width:100%;height:100%;touch-action:none}.top-notice{position:absolute;left:0;right:0;top:12px;text-align:center;color:#6b4c2b;font-size:15px;font-weight:500;pointer-events:none;text-shadow:0 1px 0 #fff9}.distance-tip{position:absolute;left:0;right:0;bottom:14px;text-align:center;font-size:10px;color:#7e8069;pointer-events:none}.arena-bottom{display:flex;justify-content:space-between;align-items:center;gap:15px;padding:10px 22px;background:#ecebdb;border-top:1px solid #d1d4bf;font-size:10px;color:#68725f}.game-overlay{position:absolute;inset:0;display:grid;place-items:center;background:#f4efd466;backdrop-filter:blur(2px);padding:20px}.game-overlay[hidden]{display:none}.overlay-sheet{max-height:100%;overflow:auto;background:#f9f7eeeF;border:1px solid #c9cdb7;text-align:center;padding:24px 45px;box-shadow:0 8px 40px #384a2010;max-width:100%;width:440px}.overlay-sheet>p:first-child{font-size:10px;letter-spacing:.1em;margin:0 0 8px;color:var(--rust)}.overlay-sheet h2{font-family:"Yu Mincho",serif;font-weight:500;font-size:30px;margin:0 0 12px;line-height:1.5}.overlay-sheet>p{font-size:12px;line-height:2;margin:0 0 16px}.difficulty[hidden]{display:none}.difficulty{display:flex;justify-content:center;gap:0;margin:15px 0}.difficulty button{border:1px solid #cbd0be;background:transparent;padding:6px 16px;font-size:11px}.difficulty button+button{border-left:0}.difficulty button[aria-pressed=true]{background:#dfe7d4}.start-button{display:flex;justify-content:space-between;width:100%;background:#385440;color:#f9f7e9;border:0;padding:12px 20px;font-size:13px}.start-button:hover{background:#496b4e}.overlay-sheet>small{display:block;font-size:9px;color:var(--muted);margin-top:11px}.touch-controls{display:flex;justify-content:space-between;gap:25px;padding:14px 0 6px;user-select:none;touch-action:none}.movement,.combat-buttons{display:flex;gap:8px}.touch-controls button{border:1px solid #c7cbb9;background:#eceede;padding:10px 20px;min-height:53px;position:relative;touch-action:none;overflow:hidden}.movement button{font-size:22px;min-width:65px}.combat-buttons button strong{font-size:12px;font-weight:500;display:block;position:relative;z-index:1}.combat-buttons button small{font-size:9px;color:#7f856f;display:block;position:relative;z-index:1}.touch-controls button.active{background:#c8d7b6}.touch-controls .charge-button{min-width:155px;background:#e8dfc7;border-color:#cbb78f}.charge-button i{position:absolute;left:0;bottom:0;height:100%;width:0;background:#c7a86977;pointer-events:none}.how-to{margin-top:32px;padding:27px 0;border-top:1px solid var(--line)}.how-to>div:first-child{display:flex;align-items:center;justify-content:space-between;gap:20px}.how-to h2{font-size:20px;font-weight:500;margin:0}.how-to>div>p{font-size:10px;color:var(--muted);margin:0}.instructions{display:grid;grid-template-columns:repeat(3,1fr);gap:34px;margin-top:22px}.instructions article>span{font:15px Georgia,serif;color:var(--rust)}.instructions h3{font-size:14px;font-weight:500;margin:6px 0}.instructions p{font-size:11px;line-height:2;margin:0;color:#65725f}kbd{background:#e9ecdf;border:1px solid #d2d8c5;box-shadow:0 1px 0 #ccd2bf;padding:1px 5px;font:10px sans-serif}.game-note{border-top:1px solid var(--line);padding:20px 0 35px;max-width:900px}.game-note p{font-size:10px;color:var(--muted);line-height:2;margin:0 0 8px}.game-note a{text-decoration:underline;text-underline-offset:3px}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}
@media(max-width:700px){main{width:92%}.game-header{padding:14px 4%;gap:8px}.game-header .site-brand{display:none}.game-header>div{gap:5px}.game-header button{padding:4px 7px;font-size:9px}.game-heading{margin:14px 0 17px}.game-heading h1{font-size:31px}.game-heading p{font-size:9px;letter-spacing:.02em}.heading-copy{font-size:9px}.hud{grid-template-columns:1fr 55px 1fr;gap:10px;padding:13px 13px 11px}.fighter-name{font-size:11px}.fighter-name>small{display:none}.fighter-name span small{font-size:8px;margin-left:3px}.timer b{font-size:27px}.timer span{font-size:7px}.health-track{height:10px}.stamina-track{width:80%}.arena{aspect-ratio:1.35}.top-notice{font-size:12px;top:10px}.distance-tip{font-size:9px;bottom:8px}.arena-bottom{font-size:9px;padding:8px 12px}.arena-bottom>span:first-child{max-width:58%;line-height:1.6}.overlay-sheet{padding:20px 18px;width:300px}.overlay-sheet h2{font-size:24px;margin-bottom:8px}.overlay-sheet>p{font-size:10px;margin-bottom:10px}.overlay-sheet>p:first-child{font-size:9px}.difficulty{margin:12px 0}.difficulty button{padding:5px 15px;font-size:10px}.start-button{font-size:12px;padding:10px 13px}.overlay-sheet>small{font-size:8px;margin-top:8px}.game-overlay{padding:10px}.touch-controls{gap:10px;padding-top:12px;position:sticky;bottom:0;z-index:3;background:var(--paper);padding-bottom:max(12px,env(safe-area-inset-bottom))}.movement,.combat-buttons{gap:5px}.touch-controls button{padding:8px 9px;min-height:53px}.movement button{min-width:36px;font-size:20px}.combat-buttons button strong{font-size:11px}.combat-buttons button small{font-size:8px}.touch-controls .charge-button{min-width:93px}.how-to{margin-top:20px;padding-top:20px}.how-to>div:first-child{display:block}.how-to>div>p{margin-top:8px;font-size:10px}.instructions{grid-template-columns:1fr;gap:17px;margin-top:17px}.instructions article{display:grid;grid-template-columns:25px 1fr;gap:0 10px}.instructions article>span{grid-row:1/3;padding-top:3px}.instructions h3{margin:0 0 5px;font-size:13px}.instructions p{font-size:11px}.game-note{padding-bottom:15px}.game-note p{font-size:9px}.touch-controls button.active{transform:translateY(1px)}}
@media(prefers-reduced-motion:reduce){.health-track>div{transition:none}}

.mechanics-note{border-top:1px solid var(--line);padding:28px 0}.mechanics-eyebrow{font-size:10px;letter-spacing:.12em;color:var(--rust);margin:0 0 5px}.mechanics-note h2{font-family:"Yu Mincho",serif;font-size:25px;font-weight:500;margin:0 0 20px}.mechanics-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:30px}.mechanics-grid span{font-size:10px;color:var(--rust)}.mechanics-grid h3{font-size:13px;font-weight:500;margin:7px 0}.mechanics-grid p,.mechanics-sources{font-size:11px;line-height:2;color:#65725f}.mechanics-sources{font-size:10px;margin:20px 0 0}.mechanics-sources a{text-decoration:underline;text-underline-offset:3px}@media(max-width:700px){.game-header{flex-wrap:wrap;gap:9px}.game-header>div{margin-left:auto}.mechanics-grid{grid-template-columns:1fr;gap:17px}.mechanics-note h2{font-size:22px}.mechanics-grid p{margin:0}.mechanics-sources{font-size:9px}}

.edition-tabs{display:flex;align-items:center;gap:3px;margin:12px 0 20px;font-size:11px}.edition-tabs a{border:1px solid var(--line);padding:3px 18px}.edition-tabs a[aria-current]{background:var(--ink);color:var(--paper)}.edition-tabs span{font-size:10px;color:var(--muted);margin-left:13px}
