
:root{--paper:#f7f6f0;--white:#fdfcf7;--ink:#28392f;--muted:#4d5e50;--line:#cad2c2;--coral:#7b4439;--coral-dark:#63352d;--teal:#405745;--teal-soft:#e2e7da;--mint:#e2e7da;--orange:#7b4439;--navy:#405745;--shadow:transparent;--radius:3px;font-family:"Helvetica Neue",Arial,sans-serif;background:var(--paper);color:var(--ink)}
body{background:var(--paper)}::selection{background:#cad5ba;color:var(--ink)}h1,h2,h3,.brand{font-family:Georgia,serif;font-weight:400;letter-spacing:-.035em}h1{font-size:clamp(42px,5vw,64px);line-height:1.06}.accent-word{font-style:normal;letter-spacing:inherit;color:inherit}.brand{font-size:32px;white-space:nowrap}.site-shell{max-width:1320px;padding:0 40px}.site-header,.topbar{height:auto;min-height:100px;border:0;gap:28px}.portal-back{margin-left:auto;min-height:44px;display:flex;align-items:center;font-size:14px;text-underline-offset:5px}.site-header .how-button,.topbar #rules-button{font-size:14px}.topbar{max-width:1320px;padding:0 40px}.eyebrow,.card-topline,.card-footnote,.feature-icon,.top-caption{display:none}.scene-art{display:block;width:100%;height:auto;object-fit:cover;aspect-ratio:3/2;margin-top:25px}.hero-description,.intro{font-size:17px;line-height:1.6;color:var(--ink)}.start-screen{gap:64px;grid-template-columns:1.15fr 1fr;padding:35px 0 60px}.mode-card,.board-card,.placement-card{border:0;border-radius:3px;box-shadow:none;background:#e9ede3;padding:28px}.mode-card h2{font-size:32px}.mode-card p,.mode-description p{font-size:15px;line-height:1.6}.mode-description h3{font:24px Georgia,serif}.button,button.primary,button.secondary,.mode-tab,.opponent-card,input,.difficulty-option{border-radius:3px;box-shadow:none;min-height:44px}.button.primary,button.primary,.primary{background:var(--teal);border-color:var(--teal);color:white}.button.secondary,button.secondary{background:var(--paper);border-color:var(--line);color:var(--ink)}button{font-weight:400}.mode-switch{border:0;background:#dce3d2;border-radius:3px}.mode-tab.active{background:var(--paper);box-shadow:none}.mode-tab{font-size:15px}.mode-tab svg{display:none}.difficulty-option{background:var(--paper);border-color:var(--line)}.difficulty-copy strong{font-size:15px}.difficulty-copy small{font-size:13px}.game-layout{grid-template-columns:minmax(250px,.85fr) minmax(330px,1fr);gap:60px}.game-sidebar h1{font-size:42px}.game-sidebar .scene-art{margin:24px 0}.game-caption{font-size:16px}.game-status p{font:27px Georgia,serif}.game-status>span,.player-card strong{font-size:15px}.player-card small,.board-bottom,.connection-pill{font-size:13px}.player-card{background:var(--paper);border:0;border-radius:3px}.player-card.active{background:#d4dec9}.cell{background:var(--paper);border:0;border-radius:3px;box-shadow:none}.board{gap:8px}.game-mode-label,.tiny-label,.round-label{font-size:13px;letter-spacing:0;text-transform:none}.site-footer,footer{border:0;font-size:14px;color:var(--muted);padding-top:25px}.sidebar-note{font-size:16px}.scoreboard{border:0}.score-row span{font-size:14px}.invite-box{border:0;background:#e2e7da;border-radius:3px}.invite-box p{font-size:14px}.how-dialog,dialog{background:var(--paper);border:0;border-radius:3px;color:var(--ink);max-width:520px}.how-dialog h2,dialog h2{font-size:34px}.how-dialog li span,dialog p,.rules-list{font-size:16px;line-height:1.6}.how-dialog .eyebrow{display:none}.home{max-width:1240px;gap:60px;padding:35px 0 60px}.home .intro{font-size:17px}.sea-art{padding:0;background:none;box-shadow:none;transform:none;border:0;aspect-ratio:auto;height:auto}.sea-art .scene-art{margin:0}.opponent-card{background:#e2e7da;border:0;padding:20px}.opponent-card strong{font:24px Georgia,serif}.opponent-card small{font-size:14px}.choice-icon,.card-arrow{display:none}.home-note{font-size:14px}.choice-title{font-size:27px}.game-heading h1{font-size:38px}.game-heading p{font-size:16px}.board-heading h2{font-size:27px}.game-workspace{gap:30px}.placement-card h2{font-size:34px}.placement-card p,.microcopy{font-size:14px}.placement-card .primary{font-size:15px}.game-workspace .board{gap:3px}.game-workspace .cell{border-radius:2px}.palette-ship{border-radius:3px}.ship-name{font-size:14px}.battle-status{border-radius:3px;background:#e2e7da;color:var(--ink)}.board-kicker{display:none}.topbar+.home{padding-top:30px}.game-heading{gap:20px}.counter{background:var(--paper);color:var(--ink);border-radius:3px}.home h1 span{color:inherit;font-style:normal}.home-note .note-dot{padding:0 8px}.home-note span:first-child{color:var(--teal)}
@media(max-width:900px){.start-screen,.home{gap:30px}.site-shell,.topbar{padding-left:25px;padding-right:25px}.game-layout{gap:30px}.home{padding-left:25px;padding-right:25px}.game-workspace{gap:20px}.board-card,.placement-card{padding:20px}}
@media(max-width:650px){.site-shell,.topbar{padding-left:20px;padding-right:20px}.site-header,.topbar{min-height:95px;flex-wrap:wrap;gap:8px 20px;padding-top:18px;padding-bottom:16px}.brand{font-size:29px}.portal-back{font-size:13px}.how-button,#rules-button{margin-left:0;font-size:14px!important}.start-screen{display:flex;flex-direction:column;gap:24px;padding-top:22px}.hero-copy h1{font-size:44px}.hero-description{font-size:16px;max-width:none;margin-top:15px}.hero-copy{width:100%}.scene-art{max-height:220px;object-position:center;margin-top:20px}.mode-card{margin:0;width:100%;padding:23px}.mode-card h2{font-size:28px}.difficulty-picker{grid-template-columns:1fr 1fr}.difficulty-copy{display:block}.difficulty-copy small{font-size:12px}.game-layout{gap:20px}.board-card{padding:20px}.game-sidebar .scene-art{display:none}.game-status p{font-size:24px}.game-status>span{font-size:14px}.player-card strong{font-size:14px}.player-card small{font-size:12px}.board-bottom{font-size:12px}.game-screen{padding-top:10px}.home{display:flex;flex-direction:column-reverse;padding:20px;gap:24px}.sea-art{width:100%;max-width:none;min-height:0;margin:0}.sea-art .scene-art{max-height:200px;aspect-ratio:3/1.6}.home-copy{width:100%}.home h1{font-size:44px}.home .intro{font-size:16px}.game-heading h1{font-size:32px}.game-workspace{display:flex;flex-direction:column}.game-workspace .board-card,.placement-card{width:100%}.game-workspace .board-card{padding:14px}.board-heading h2{font-size:25px}.game-workspace .cell{min-width:0}.game-heading{align-items:start;flex-direction:column}.below-boards{gap:14px;flex-wrap:wrap}.legend{flex-wrap:wrap;gap:12px}footer{font-size:13px;padding:20px}.game-sidebar{display:contents}.site-footer{font-size:13px}.footer-signoff{display:none}}

.game-layout .board-card{max-width:480px;justify-self:center;width:100%}.game-topbar{margin-bottom:25px}.game-layout{align-items:start}.game-sidebar .scene-art{max-height:260px}.board-card .board{max-width:380px;margin-left:auto;margin-right:auto}@media(max-width:650px){.game-layout .board-card{max-width:none}.board-card .board{max-width:none}}
@media(max-width:650px){.game-sidebar .scene-art{display:block;order:0;width:100%;height:125px;max-height:125px;margin:0;object-fit:cover;object-position:50% 55%}}

/* The playing pieces and board use the same painted materials as the illustrations. */
.board-card{background:transparent;padding:20px 0}
.board-card .board{background:url('../../../assets/game-materials/quiet-worktable.webp') center/100% 100% no-repeat;padding:9%;gap:0;border-radius:0}
.board .cell{background:transparent;border:0;border-radius:0;padding:8%;border-right:1px solid #40574566;border-bottom:1px solid #40574566;transition:background .18s}
.board .cell:nth-child(3n){border-right:0}.board .cell:nth-child(n+7){border-bottom:0}
.board .cell:not(:disabled):hover{background:#e2e7da88;transform:none}
.board .cell.win{background:#cad5baaa}
.mark.x,.mark.o,.cell .mark.o{background:transparent center/contain no-repeat;border:0;border-radius:0}
.mark.x{background-image:url('../../../assets/game-materials/token-cross.webp')}
.mark.o,.cell .mark.o{background-image:url('../../../assets/game-materials/token-ring.webp')}
.mark.x:before,.mark.x:after{display:none}
.board .cell .mark{width:86%;height:86%}
.how-dialog{background-image:url('../../../assets/game-materials/quiet-paper.webp');background-size:cover}
.rules-example{display:grid;grid-template-columns:repeat(3,1fr);width:220px;aspect-ratio:1;margin:20px auto;background:url('../../../assets/game-materials/quiet-worktable.webp') center/100% 100% no-repeat;padding:20px}
.rules-square{display:grid;place-items:center;min-width:0;border-right:1px solid #40574566;border-bottom:1px solid #40574566}.rules-square:nth-child(3n){border-right:0}.rules-square:nth-child(n+7){border-bottom:0}.rules-square:nth-child(-n+3){background:#cad5baaa}.rules-square .mark{width:85%;height:85%}
.player-card{background:transparent}.player-card.active{background:#e2e7da}
@media(max-width:650px){.game-layout .board-card{padding:10px 0}.board-card .board{padding:9%}.game-sidebar .scene-art{max-height:110px;height:110px}}
@media(prefers-reduced-motion:reduce){.cell .mark{animation:none}.cell{transition:none}}
/* These base selectors are more specific than the portal type defaults. */ .sidebar-note,.divider{color:var(--muted)}.divider{font-size:13px}.scoreboard>.tiny-label{font-size:13px;letter-spacing:0}
