﻿[hidden]{display:none!important}
:root{font-family:Segoe UI,system-ui,sans-serif;color:#193639;background:#f3f1e8;font-synthesis:none;--ink:#193639;--muted:#697b77;--line:#dcded2;--paper:#fbfaf4;--accent:#d47740}*{box-sizing:border-box}body{margin:0}button,input,select{font:inherit}button,a,input,select{touch-action:manipulation}button{cursor:pointer;border:0;border-radius:7px;padding:11px 16px;background:var(--ink);color:white;font-weight:600}button:hover{filter:brightness(1.13)}button:disabled{cursor:default;opacity:.4}button:focus-visible,input:focus-visible,select:focus-visible,a:focus-visible{outline:3px solid #e3a85d;outline-offset:3px}header{height:88px;padding:0 5%;border-bottom:1px solid var(--line);display:flex;align-items:center;justify-content:space-between;background:#fbfaf4}.brand{text-decoration:none;color:var(--ink);font-size:29px;font-weight:800;letter-spacing:-1.5px;display:flex;align-items:center;gap:10px}.brand-mark{font-size:42px;color:#c57742;line-height:1}.brand-dot{color:#d47740;margin-left:-10px}.header-right{display:flex;align-items:center;gap:30px}.quiet,.eyebrow{font-size:10px;letter-spacing:2.5px;font-weight:700}.quiet{color:#7a8981}.ghost{background:transparent;color:var(--ink);border:1px solid var(--line)}.eyebrow{color:#b5693f;display:block;margin-bottom:20px}h1,h2{font-family:Georgia,serif;font-weight:400;letter-spacing:-2px}h1{font-size:clamp(48px,5.6vw,83px);line-height:1.04;margin:0 0 26px}h1 em{color:#ba693e}h2{font-size:40px;margin:0 0 20px}h3{font-size:16px}p{line-height:1.65}.muted{color:var(--muted);font-size:13px}.landing{max-width:1440px;padding:58px 5% 26px;margin:auto}.hero{display:grid;grid-template-columns:1fr 1.05fr;gap:55px;align-items:center}.hero-copy>p{max-width:430px;color:#697b77;font-size:17px;margin-bottom:30px}.island-art{position:relative;min-width:0;border-radius:45% 45% 35% 35%;background:#e2ebe5;aspect-ratio:1.03;display:flex;align-items:center;justify-content:center}.island-art:after{content:'A NEW SHORE, EVERY GAME';position:absolute;bottom:9%;font-size:9px;letter-spacing:3px;color:#7b948b}.island-art svg{width:95%}.tag{display:inline-flex;align-items:center;gap:8px;font-size:11px;color:#748178;margin-top:22px}.tag:before{content:'';width:6px;height:6px;background:#7c9a71;border-radius:50%}.entry{background:var(--paper);border:1px solid var(--line);border-radius:12px;padding:23px;max-width:450px;box-shadow:0 8px 30px #243f3210}.entry label{font-size:11px;font-weight:700;color:#68766a;display:block;margin-bottom:8px}.entry input{width:100%;margin-bottom:15px}.entry .actions{display:flex;gap:10px}.entry .actions button{flex:1}.join-row{display:flex;gap:8px;margin-top:14px}.join-row input{margin:0;text-transform:uppercase;letter-spacing:3px;min-width:0}.join-row button{white-space:nowrap}.feature-strip{display:grid;grid-template-columns:repeat(3,1fr);gap:30px;border-top:1px solid var(--line);margin-top:50px;padding-top:26px}.feature{display:flex;gap:15px}.feature>b{font-family:Georgia,serif;font-size:25px;font-weight:400;color:#acb9a5}.feature h3{margin:0;font-size:13px}.feature p{font-size:12px;color:var(--muted);margin:6px 0 0}input,select{border:1px solid #d6dcd0;border-radius:6px;padding:10px 12px;background:white;color:var(--ink)}footer{margin-top:24px;font-size:10px;color:#8a9386;display:flex;justify-content:space-between}#toast{position:fixed;bottom:24px;left:50%;transform:translateX(-50%);background:#193639;color:white;border-radius:9px;padding:14px 22px;max-width:90vw;box-shadow:0 5px 35px #0002;z-index:10;display:none}dialog{border:1px solid var(--line);border-radius:14px;background:var(--paper);color:var(--ink);padding:38px;max-width:650px;width:calc(100% - 30px);max-height:85vh}dialog::backdrop{background:#102d34aa}.close{float:right;background:transparent;color:var(--ink);font-size:25px;padding:0 0 10px 20px}.room-shell{max-width:1550px;margin:auto;padding:24px 3%}.room-top{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:20px}.room-title{font-family:Georgia,serif;font-size:26px}.room-code{font-family:monospace;letter-spacing:3px;color:#b36c43;font-size:18px;margin-left:12px}.small{padding:8px 12px;font-size:12px}.room-tools{display:flex;gap:8px;align-items:center}.connection{font-size:11px;color:#5f826a}.game-grid{display:grid;grid-template-columns:220px minmax(400px,1fr) 275px;gap:18px;align-items:start}.panel{background:var(--paper);border:1px solid var(--line);border-radius:10px;padding:18px;margin-bottom:14px}.panel h3{margin:0 0 14px;font-size:11px;text-transform:uppercase;letter-spacing:1.5px;color:#728276}.player{padding:14px 0;border-bottom:1px solid #e5e6dd;position:relative}.player:last-child{border:0}.player.active{background:#e9eee3;margin:0 -10px;padding:14px 10px;border-radius:7px}.player-name{font-weight:700;font-size:13px;display:flex;gap:8px;align-items:center}.swatch{width:9px;height:9px;border-radius:3px;background:var(--player)}.player-details{font-size:11px;color:#788377;margin:7px 0 0 17px;line-height:1.7}.score{position:absolute;right:2px;top:12px;font-family:Georgia,serif;font-size:24px}.player.active .score{right:12px}.status-bar{background:#213f3e;color:#fff;border-radius:9px;padding:16px 20px;display:flex;align-items:center;justify-content:space-between;gap:15px}.status-bar small{font-size:10px;text-transform:uppercase;letter-spacing:1.5px;color:#a6c0ad;display:block;margin-bottom:6px}.status-bar strong{font-size:14px;font-weight:500}.dice{display:flex;gap:6px}.die{background:#f7f1df;color:#27483f;font-size:25px;border-radius:6px;width:38px;height:38px;text-align:center;line-height:38px}.board-wrap{background:#dce9e3;border:1px solid #cfded3;border-radius:12px;margin:14px 0;position:relative;overflow:hidden}.board-wrap svg{width:100%;display:block;max-height:620px}.board-label{position:absolute;bottom:15px;left:18px;font-size:9px;letter-spacing:2px;color:#7d9687;pointer-events:none}.hex{stroke:#f6f0d9;stroke-width:2.2}.tile-hit{cursor:pointer}.tile-hit:hover{stroke:#fff;stroke-width:.1}.tile-hit:focus{outline:none;stroke:#f19756;stroke-width:.12}.edge-hit{stroke:transparent;stroke-width:.23;cursor:pointer}.edge-hit:hover,.edge-hit:focus{stroke:#ffffffaa;outline:none}.vertex-hit{fill:transparent;cursor:pointer}.vertex-hit:hover,.vertex-hit:focus{fill:#ffffffbb;outline:none}.piece{stroke:#fff5db;stroke-width:.025;pointer-events:none}.bank{display:flex;flex-wrap:wrap;justify-content:space-between;gap:4px;font-size:10px;color:#788477}.resource-icon{width:24px;height:24px;border-radius:5px;display:inline-grid;place-items:center;color:white;font-size:14px}.wood{background:#527c58}.brick{background:#bc795d}.wool{background:#93ad72}.grain{background:#d2b663}.ore{background:#7b909b}.hand{display:grid;grid-template-columns:repeat(5,1fr);gap:9px;margin:14px 0}.resource-card{border:1px solid #d8dccd;border-radius:7px;padding:12px;background:#faf9f0;display:flex;align-items:center;justify-content:space-between}.resource-card b{font-family:Georgia,serif;font-size:25px}.resource-card small{font-size:10px;color:#7c887a;display:block;margin-top:7px}.build-controls{display:grid;grid-template-columns:repeat(4,1fr);gap:7px}.build-controls button{background:#fbfaf4;color:#28423b;border:1px solid var(--line);font-size:11px;padding:12px 5px}.build-controls button.selected{border-color:#c77c40;background:#f5e7cf}.build-controls small{display:block;font-size:9px;color:#7b8974;margin-top:5px}.turn-controls{display:flex;gap:8px;margin-top:12px}.turn-controls button{flex:1}.primary{background:#bb7144}.activity{max-height:210px;overflow:auto;font-size:11px;color:#758173;line-height:1.55}.activity div{padding:8px 0;border-bottom:1px solid #e6e7dd}.activity div:last-child{border:0;color:#29473f}.trade-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}.trade-grid label{font-size:10px;color:#71806e}.trade-grid select{width:100%;margin-top:6px;padding:8px 5px;font-size:11px}.wide{width:100%;margin-top:12px}.hint{font-size:11px;color:#7b8676;line-height:1.6;margin:10px 0}.chat-log{max-height:150px;overflow:auto;overflow-wrap:anywhere;font-size:11px;line-height:1.6}.chat-log p{margin:7px 0}.chat-form{display:flex;gap:5px;margin-top:12px}.chat-form input{width:100%;min-width:0;font-size:11px;padding:8px}.chat-form button{padding:8px 10px}.offer{border:1px solid #dddcc9;border-radius:6px;padding:10px;font-size:11px;margin-top:10px;line-height:1.6}.offer button{margin-top:8px}.lobby-note{padding:22px;text-align:center}.lobby-note h2{font-size:34px;margin-bottom:10px}.lobby-note p{font-size:13px;color:#748171}.room-wait{border:1px dashed #b5c4b3;padding:14px;border-radius:7px;text-align:center;font-size:12px;color:#7a8b76}.dev-card{display:flex;justify-content:space-between;align-items:center;gap:7px;border-bottom:1px solid var(--line);padding:9px 0;font-size:12px}.dev-card small{color:#84917e;font-size:10px}.resource-picker{display:grid;grid-template-columns:repeat(5,1fr);gap:8px;margin:20px 0}.resource-picker label{font-size:10px}.resource-picker input{width:100%;padding:9px 5px;margin-top:8px}.online-note{font-size:10px;color:#87917d;margin-top:12px}.winner{background:#f1e4c3;padding:22px;border-radius:9px;text-align:center;margin-bottom:15px}.winner h2{margin:0;font-size:36px}.picker-help{font-size:12px;line-height:1.6;color:#788575}.offer-line{display:grid;grid-template-columns:1fr 1fr;gap:15px}.offer-line .resource-picker{grid-template-columns:1fr;gap:4px;margin:0}.offer-line .resource-picker label{display:flex;align-items:center;justify-content:space-between}.offer-line .resource-picker input{width:55px;margin:0}.offline{color:#b75b3c}.legal-dot{fill:#ffffff99;stroke:#35594c;stroke-width:.025;pointer-events:none}@media(min-width:1500px){.landing{padding-top:75px}}@media(max-width:1150px){.game-grid{grid-template-columns:170px minmax(340px,1fr)}.right-sidebar{grid-column:1/-1;display:grid;grid-template-columns:repeat(3,1fr);gap:14px}.header-right .quiet{display:none}.hero{gap:30px}.resource-card{padding:9px}.resource-card small{font-size:9px}}@media(max-width:720px){header{height:70px;padding:0 5%}.brand{font-size:24px}.brand-mark{font-size:34px}.header-right button{font-size:11px;padding:8px}.landing{padding-top:30px}.hero{grid-template-columns:1fr;gap:20px}.hero-copy>p{font-size:15px}.island-art{grid-row:2;aspect-ratio:1.25;max-height:400px}.entry{max-width:none}h1{font-size:55px}.feature-strip{gap:15px;margin-top:26px;grid-template-columns:1fr}.feature p{margin-top:3px}.game-grid{display:flex;flex-direction:column}.left-sidebar{width:100%}.left-sidebar .panel{margin:0;padding:12px}.left-sidebar .panel>h3{display:none}.players{display:flex;gap:8px}.player,.player.active{flex:1;margin:0;padding:9px 7px;border:0;min-width:0}.player-name{font-size:11px;white-space:nowrap;overflow:hidden}.player-details{margin:5px 0 0;font-size:9px}.score,.player.active .score{position:static;font-size:18px;float:right}.center-board{width:100%}.right-sidebar{width:100%;display:flex;flex-direction:column;gap:0}.room-top{flex-wrap:wrap;margin-bottom:13px}.room-title{font-size:22px}.room-code{font-size:15px}.room-tools{width:100%;justify-content:space-between}.hand{gap:5px}.resource-card{padding:8px 5px;display:block;text-align:center}.resource-card b{font-size:20px;margin-left:4px}.resource-card small{font-size:8px}.build-controls button{font-size:10px}.build-controls small{font-size:8px}.status-bar{padding:13px}.status-bar strong{font-size:12px}dialog{padding:26px}.offer-line{gap:25px}.board-wrap svg{min-height:300px}footer{font-size:9px;gap:20px}}

/* Shared original icons, sound preferences, and restrained game feedback. */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.sound-settings{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:10px;padding:10px 5%;border-bottom:1px solid var(--line);font-size:12px;background:#fbfaf4}.sound-settings input{width:100px;padding:0;accent-color:#213f3e;min-height:28px}.sound-settings output{min-width:35px}.sound-settings>span{font-size:11px;color:#53685c}.sound-settings button{min-height:36px}
.material-icon{width:24px;height:24px;display:inline-block;vertical-align:middle;flex-shrink:0}.bank .material-icon{width:19px;height:19px}.bank>span{display:inline-flex;align-items:center;gap:3px}.resource-icon .material-icon{width:24px;height:24px}.resource-picker .material-icon{width:20px;height:20px}.build-controls .material-icon,.panel h3 .material-icon{width:21px;height:21px}
.status-bar{align-items:center;flex-wrap:wrap}.status-bar>div:first-child{flex:1;min-width:170px}
.dice{display:flex;align-items:center;gap:12px;flex-shrink:0}.dice-faces{display:flex;gap:8px}.die{display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);gap:4px;padding:9px;width:58px;height:58px;border:2px solid #fffdf2;border-radius:10px;background:#fff8e5;box-shadow:0 3px 0 #a68e68;color:#142f2c;line-height:1}.die i{border-radius:50%;display:block}.die .pip{background:#142f2c}.unrolled{grid-column:1/-1;grid-row:1/-1;align-self:center;font-size:28px}.dice-total{min-width:40px;text-align:center}.dice-total small{margin:0;color:#e3eecf;font-size:10px}.dice-total b{display:block;font-size:32px;line-height:1.1;color:#fff8e5;font-variant-numeric:tabular-nums}
.game-feedback{font-size:12px;line-height:1.5;color:#3d5849;margin:9px 2px;min-height:36px}.resource-card{position:relative}.resource-icon{width:32px;height:32px}.resource-card small{color:#465e4c}.resource-delta{position:absolute;right:5px;top:1px;font-size:12px;font-weight:800}.resource-gain{background:#e1f0df;border-color:#4e7c50}.resource-spend{background:#f5e4cf;border-color:#a16a32}.piece-arrives{animation:piece-arrives .65s ease-out;transform-box:fill-box;transform-origin:center}.dice-reveal{animation:dice-reveal .5s ease-out}.turn-arrives{animation:turn-arrives .75s ease-out}.victory-arrives{animation:victory-arrives .8s ease-out}.resource-gain,.resource-spend{animation:hand-change .7s ease-out}
@keyframes dice-reveal{0%{transform:translateY(-5px) rotate(-3deg)}40%{transform:translateY(2px) rotate(2deg)}100%{transform:none}}
@keyframes piece-arrives{0%{opacity:.4;filter:drop-shadow(0 0 7px #fff)}100%{opacity:1;filter:none}}
@keyframes hand-change{0%{transform:translateY(-4px)}100%{transform:none}}
@keyframes turn-arrives{0%{box-shadow:0 0 0 4px #dbab5c}100%{box-shadow:0 0 0 0 transparent}}
@keyframes victory-arrives{0%{opacity:.5;transform:translateY(5px)}100%{opacity:1;transform:none}}
@media(max-width:720px){.header-right{gap:8px}.sound-settings{justify-content:flex-start;gap:8px;padding:8px 5%}.sound-settings>span{width:100%}.sound-settings input{width:90px}.status-bar{gap:13px}.dice{margin-left:auto}.die{width:54px;height:54px;padding:8px}.dice-total b{font-size:30px}.players{flex-wrap:wrap}.player,.player.active{flex:1 1 28%}.build-controls{grid-template-columns:repeat(2,1fr)}.game-feedback{font-size:12px}.bank{gap:8px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}

.resource-icon.wool,.resource-icon.grain{color:#233e35}.panel-feedback{animation:turn-arrives .7s ease-out}

.bot-controls{margin:16px 0}.bot-controls button{margin:4px}.entry #practice{font-size:13px}
