:root {
  color-scheme:light; --ink:#1c322b; --forest:#1e4237; --pine:#173c33; --paper:#f7f5ed;
  --panel:#fcfbf5; --line:#d8d8c9; --muted:#626c60; --red:#aa4936; --serif:Georgia,"Times New Roman",serif;
  --sans:"DM Sans","Segoe UI",Arial,sans-serif;
}
*{box-sizing:border-box}
[hidden]{display:none!important}
body{margin:0;color:var(--ink);background-color:var(--paper);font-family:var(--sans);font-size:16px;line-height:1.4}
button,input,select{font:inherit}
button{cursor:pointer;color:inherit}
button:disabled{cursor:not-allowed;opacity:.48}
button:focus-visible,a:focus-visible,select:focus-visible,input:focus-visible,summary:focus-visible{outline:3px solid #c38836;outline-offset:3px}
button{touch-action:manipulation}
.icon,[data-icon]{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;vertical-align:middle}
.icon{width:18px;height:18px;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;fill:none}
.topbar{height:70px;background:#183b32;color:#f9f6e7;border-bottom:3px solid #cab68a}
.nav-inner{max-width:1440px;margin:0 auto;height:100%;padding:0 clamp(24px,4.8vw,76px);display:flex;align-items:center;gap:20px}
.brand{display:flex;align-items:center;gap:9px;font:700 33px/.95 var(--serif);letter-spacing:-1.7px}
.brand-mark{width:41px;height:41px}
.nav-spacer{flex:1}
.offline-label{display:flex;align-items:center;gap:8px;font-size:13px;color:#e1e9d9}
.offline-label i{width:7px;height:7px;border-radius:50%;background:#a1c5a0}
.nav-divider{height:20px;width:1px;background:#52685a}
.nav-btn,.new-game{border:0;background:none;display:inline-flex;align-items:center;justify-content:center;gap:8px;color:inherit;font-size:14px;font-weight:600;white-space:nowrap}
.nav-btn{padding:9px 2px}
.nav-btn:hover{color:#ebc78f}
.new-game{border:1px solid #819185;border-radius:5px;padding:9px 14px}
.new-game:hover{background:#345447}
.new-game.online-room{color:#22392d;background:#ebbd90;border-color:#ebbd90}
.new-game.online-room:hover{background:#f5cca7}
@media(max-width:760px){
  .nav-inner:has(.online-room:not([hidden])){gap:10px;padding-inline:12px}
  .nav-inner:has(.online-room:not([hidden])) #new-game{width:30px;padding-inline:0}
  .nav-inner:has(.online-room:not([hidden])) #new-game span:last-child{display:none}
}
@media(max-width:400px){
  .nav-inner:has(.online-room:not([hidden])){gap:8px;padding-inline:9px}
  .nav-inner:has(.online-room:not([hidden])) .brand{font-size:23px}
  .nav-inner:has(.online-room:not([hidden])) .brand-mark{width:27px}
}
.game-shell{width:min(100% - 64px,calc(clamp(568px,100svh - 170px,790px) + clamp(312px,27vw,360px) + 26px));margin:auto;padding:24px 0 18px}
.table-heading,.table-meta,.round-chip,.pass-play,.eyebrow,.board-notes,.board-notes>span,.panel-header,.panel-header h2,.panel-actions,.turn-status,.turn-content,.turn-position,.turn-title,.info-row,.dialog-head,.dialog-actions,.field-label,.log-row,.log-group,.asset-name,.filter-tabs,.turn-dice,.trade-player,.detail-controls,.deed-owner,.turn-secondary{display:flex;align-items:center}
.table-heading{justify-content:space-between;gap:16px;margin-bottom:19px}
.eyebrow{gap:9px;font-size:10px;line-height:1.4;letter-spacing:1.8px;font-weight:750}
.page-kicker{color:#96513d}
.kicker-line{width:23px;height:2px;background:#ac5b40}
h1,h2,h3,p{margin:0}
h1{font:normal clamp(36px,3.35vw,49px)/1.12 var(--serif);letter-spacing:-2.1px;margin-top:3px}
.table-meta{gap:15px;font-size:13px;font-weight:550}
.pass-play,.round-chip{gap:7px}
.pass-play{color:var(--muted)}
.pass-play .icon,.round-chip .icon{width:15px;height:15px}
.round-chip{border:1px solid #c9cebd;background:#eeefe5;border-radius:5px;padding:7px 10px;color:#405643}
.table-layout{display:grid;grid-template-columns:minmax(0,1fr) clamp(312px,27vw,360px);align-items:start;gap:26px}
.board-area,.sidebar{min-width:0}
.board-notes{justify-content:space-between;gap:9px;margin-top:12px;font-size:12px;color:#626d61}
.board-notes>span{gap:6px}
.board-notes .icon{width:14px;height:14px}
.sidebar{display:grid;gap:14px}
.turn-card{position:relative;isolation:isolate;overflow:hidden;background:var(--forest);color:#fcf6e5;border:1px solid #17392e;border-radius:9px;padding:20px 20px 17px;box-shadow:0 2px 3px #25382a0a}
.turn-card:before{content:"";position:absolute;z-index:-1;inset:0;pointer-events:none;opacity:.1;background:repeating-radial-gradient(ellipse at 109% -9%,transparent 0 10px,#c6d4a5 11px,transparent 12px 18px);mask-image:linear-gradient(112deg,transparent 30%,#000 100%)}
.turn-card .eyebrow{color:#e1d8b6;letter-spacing:1.65px}
.turn-card .eyebrow:before{content:"";width:6px;height:6px;border-radius:50%;background:#e2bd7b}
.turn-content{justify-content:space-between;gap:8px;min-height:82px;position:relative}
.turn-content>div:first-child{min-width:0}
.turn-title{gap:9px;font:normal 35px/1.12 var(--serif);letter-spacing:-1.45px;overflow-wrap:anywhere}
.turn-position{font-size:12px;gap:5px;color:#d1dfcf;margin-top:5px}
.turn-position .icon{height:13px;width:13px}
.turn-dice{position:relative;gap:6px;flex:none;align-self:center;padding:4px 4px 0 0}
.die{display:grid;grid-template:repeat(3,1fr)/repeat(3,1fr);place-items:center;width:37px;height:37px;border-radius:6px;border:1px solid #fff3cf;background:#f8efd5;color:#263e32;box-shadow:inset -2px -3px 0 #d0c4a1,2px 4px 0 #0c291e77;padding:5px;transform:rotate(-14deg)}
.die+.die{transform:translateY(-8px) rotate(12deg)}
.pip{height:5px;width:5px;border-radius:50%;background:currentColor}
.turn-dice.rolling{animation:shake .28s linear infinite}
@keyframes shake{25%{transform:rotate(-8deg) translateY(-4px)}75%{transform:rotate(7deg) translateY(1px)}}
.main-action,.primary-btn,.secondary-btn,.quiet-btn,.danger-btn,.turn-secondary-btn{border:1px solid transparent;display:inline-flex;align-items:center;justify-content:center;gap:8px;border-radius:5px;line-height:1.2;font-weight:650}
.main-action{width:100%;padding:12px 13px;background:#ebaa77;color:#252f22;border-color:#e4a06d;font-size:15px;box-shadow:0 2px 0 #132e24}
.main-action:hover{background:#f4b98c}
.main-action .icon{width:18px;height:18px}
.turn-controls{margin-top:6px}
.turn-status{align-items:flex-start;gap:7px;color:#e2eadc;font-size:13px;line-height:1.4;margin:1px 0 12px;padding-top:10px;border-top:1px solid #ffffff2b;overflow-wrap:anywhere}
.turn-status .icon{width:14px;height:14px;margin-top:2px}
.turn-secondary{gap:7px;margin-top:7px}
.turn-secondary-btn{flex:1;background:#ffffff0a;border-color:#96ac9380;color:#f1f3e6;padding:8px;font-size:13px}
.turn-secondary-btn:hover{background:#ffffff19}
.panel{border:1px solid var(--line);background:var(--panel);border-radius:8px;box-shadow:0 2px 2px #25382a04}
.panel-header{justify-content:space-between;padding:15px 17px 12px;gap:8px}
.panel-header h2{gap:8px;font:normal 23px/1.15 var(--serif);letter-spacing:-.7px}
.panel-header h2 .icon{width:17px;height:17px;stroke-width:1.6;color:#536254}
.count{font:600 11px/1 var(--sans);color:#5e6959;border:1px solid #d5d8c9;background:#f1f2e9;min-width:20px;text-align:center;border-radius:4px;padding:3px 5px}
#players{padding:0 10px}
.player-row{position:relative;display:grid;align-items:center;grid-template-columns:37px minmax(0,1fr) auto;gap:10px;width:100%;padding:8px 8px;text-align:left;background:transparent;border:1px solid transparent;border-radius:5px}
.player-row+.player-row:before{content:"";position:absolute;inset:-1px 9px auto;height:1px;background:#e5e5d9}
.player-row.active{background:#f0eee1;border-color:#dedbc7}
.player-row.active:before,.player-row.active+.player-row:before{display:none}
.player-row:hover{background:#f2f2e8}
.player-row.out{opacity:.58}
.token{width:34px;height:34px;border:1px solid color-mix(in srgb,var(--token-color) 30%,transparent);border-radius:8px;display:inline-grid;place-items:center;color:var(--token-color);background:color-mix(in srgb,var(--token-color) 12%,#f9f6e9);flex:none}
.token-art{width:27px;height:27px;display:block;overflow:visible}
.player-name{display:block;font-size:14px;font-weight:650;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.player-summary{display:block;color:var(--muted);font-size:12px;margin-top:1px}
.player-cash{font-size:15px;font-weight:650;letter-spacing:-.3px;font-variant-numeric:tabular-nums}
.active-dot{width:6px;height:6px;display:inline-block;margin:0 0 2px 5px;background:#a56439;border-radius:50%}
.panel-actions{display:flex;border-top:1px solid #ddded2;margin:8px 14px 0;padding:11px 0;gap:10px}
.panel-actions button{display:flex;align-items:center;justify-content:center;gap:7px;font-size:13px;font-weight:600;padding:7px 4px;flex:1;border:1px solid #cfd3c4;border-radius:4px;background:#f9f9ef}
.panel-actions button:hover,.secondary-btn:hover{background:#e9ecdf}
.panel-actions .icon{width:15px;height:15px}
.activity-panel .panel-header{padding-bottom:10px}
.text-btn{font-size:12px;color:#556955;background:none;border:0;padding:4px 0;font-weight:600;text-decoration:underline;text-underline-offset:3px;text-decoration-color:#9daa98}
#recent-activity{padding:0 17px 14px}
.mini-log{display:flex;align-items:baseline;gap:9px;font-size:13px;color:#4c594d;line-height:1.45;overflow-wrap:anywhere}
.mini-log+.mini-log{margin-top:5px}
.mini-log:before{content:"";width:5px;height:5px;flex:none;border-radius:50%;align-self:flex-start;margin-top:7px;background:#99a98b}
.log-empty{font-size:13px;color:var(--muted)}
dialog{margin:auto;border:1px solid #b9c3ae;border-radius:11px;padding:0;width:min(470px,calc(100% - 24px));max-height:88svh;background:var(--panel);color:var(--ink);box-shadow:0 25px 100px #152d2752;overflow:auto}
dialog::backdrop{background:#102b2480;backdrop-filter:blur(3px)}
dialog.wide{width:min(600px,calc(100% - 24px))}
.dialog-frame{padding:21px 23px 23px}
.dialog-head{justify-content:space-between;gap:12px;margin-bottom:17px}
.dialog-head h2{font:normal 29px/1.12 var(--serif);letter-spacing:-1.1px}
.close-btn{border:1px solid #d9ddcf;border-radius:6px;background:transparent;width:30px;height:30px;display:grid;place-items:center;flex:none}
.close-btn:hover{background:#ecefe3}
.close-btn .icon{width:16px;height:16px}
.dialog-copy,.help-text{font-size:14px;line-height:1.5;color:#526051}
.dialog-copy{margin-bottom:16px}
.dialog-actions{justify-content:flex-end;gap:8px;margin-top:19px;flex-wrap:wrap}
.primary-btn,.secondary-btn,.quiet-btn,.danger-btn{padding:10px 13px;font-size:14px}
.primary-btn{background:var(--forest);color:#fff9e9}
.primary-btn:hover{background:#2d5747}
.secondary-btn{border-color:#c7cebe;background:#f4f6eb}
.quiet-btn{background:transparent;color:#4a624c}
.danger-btn{background:#a54837;color:#fff9ed}
.field-label{justify-content:space-between;color:#445545;font-size:13px;font-weight:650;margin:0 0 7px}
.segmented{display:flex;gap:6px;margin-bottom:17px}
.segmented button,.filter-tabs button{border:1px solid var(--line);background:#f6f6ec;border-radius:5px;padding:7px 11px;font-size:14px}
.segmented button{flex:1}
.segmented .selected,.filter-tabs .selected{background:var(--forest);border-color:var(--forest);color:#fff9e7}
.setup-row{display:flex;align-items:center;gap:10px;margin:8px 0}
input,select{border:1px solid #bdc5b5;background:#fffef7;color:var(--ink);border-radius:5px;padding:9px 11px;min-width:0;font-size:15px}
.setup-row input{width:100%}
.fineprint{font-size:12px;color:var(--muted);margin-top:12px}
.field-error{margin:10px 0 0;font-size:13px;color:#923b2b}
.field-error:empty{display:none}
.deed{border:1px solid #b6c1ac;background:#fffcf0;padding:7px;box-shadow:0 2px 0 #cacebb;border-radius:3px}
.deed-title{padding:11px 14px;text-align:center;color:var(--ink);background:var(--deed-color,#d6e1ca);border:1px solid #35463840}
.deed-title h3{font:700 25px/1.2 var(--serif);letter-spacing:-.7px}
.deed-title p{font-size:9px;letter-spacing:2px;font-weight:700;margin-bottom:4px}
.deed-inner{padding:10px}
.info-row{justify-content:space-between;gap:10px;font-size:14px;padding:5px 0;border-bottom:1px solid #e2e4d7}
.info-row:last-child{border-bottom:0}
.info-row strong{font-variant-numeric:tabular-nums}
.deed-owner{gap:8px;margin:12px 0;color:#586357;font-size:13px}
.detail-controls{gap:7px;flex-wrap:wrap}
.filter-tabs{gap:5px;flex-wrap:wrap;margin-bottom:12px}
.filter-tabs button{font-size:12px}
.asset-list{display:grid;gap:6px}
.asset-item{display:flex;align-items:center;justify-content:space-between;gap:10px;text-align:left;background:#f6f7ed;border:1px solid #d8ddce;border-left:6px solid var(--deed-color,#71826f);padding:9px 10px;border-radius:4px}
.asset-item b{font-size:14px}.asset-item small{display:block;color:#5e685d}.asset-item .icon{width:15px}
.empty-state{padding:14px 13px;background:#f0f2e7;border:1px solid #dce0d2;border-radius:5px;color:#506050;font-size:14px}
.portfolio-head{display:flex;align-items:center;gap:10px;margin-bottom:13px}
.portfolio-head strong,.portfolio-head small{display:block}.portfolio-head small{font-size:12px;color:#5a6859}
.trade-columns{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:16px}
.trade-side{border:1px solid #d2d8c8;padding:12px;border-radius:6px;min-width:0}
.trade-side h3{font:600 15px/1.3 var(--sans);margin-bottom:10px}
.trade-cash{width:100%}
.trade-check{display:flex;align-items:center;gap:7px;margin:8px 0;font-size:13px}
input[type=checkbox]{accent-color:var(--forest);width:16px;height:16px;flex:none}
.trade-side .help-text{font-size:12px}
.trade-select,.bid-input{width:100%}
.trade-confirm{border-top:1px solid var(--line);padding:12px 0}
.trade-confirm strong{display:block;margin-bottom:4px}
.trade-confirm p{font-size:14px}
.log-row{align-items:baseline;gap:12px;border-top:1px solid #dedfcf;padding:9px 0}
.log-row span{flex:none;font-size:11px;font-weight:650;text-transform:uppercase;letter-spacing:.7px;color:#65745e}
.log-row p{font-size:14px;overflow-wrap:anywhere}
.rules details{border-top:1px solid var(--line);padding:11px 0}
.rules summary{font-weight:650;cursor:pointer;font-size:15px}
.rules details p{font-size:14px;line-height:1.55;color:#526051;padding-top:7px}
#notice{position:fixed;bottom:20px;left:50%;transform:translate(-50%,8px);background:#203b2e;color:#fff9ea;padding:9px 16px;border-radius:6px;font-size:14px;box-shadow:0 3px 16px #152d272c;opacity:0;pointer-events:none;transition:opacity .15s,transform .15s;z-index:5;text-align:center;max-width:90%}
#notice.show{opacity:1;transform:translate(-50%,0)}
@media(min-width:1500px){.game-shell{padding-top:28px}.table-heading{margin-bottom:23px}.sidebar{gap:18px}}
@media(max-width:960px) and (min-width:761px){.game-shell{width:calc(100% - 36px)}.table-layout{grid-template-columns:minmax(0,1fr) 278px;gap:16px}.turn-card{padding:15px}.player-row{gap:7px}.turn-title{font-size:30px}.sidebar{gap:10px}.panel-header{padding:12px 14px 10px}}
@media(max-width:760px){.topbar{height:58px}.nav-inner{padding:0 15px;gap:13px}.brand{font-size:27px;gap:5px}.brand-mark{width:33px;height:33px}.nav-divider,.offline-label,.rule-label{display:none}.new-game{padding:7px 9px;font-size:12px;gap:4px}.game-shell{width:min(100% - 22px,590px);padding:17px 0 24px}.table-layout{grid-template-columns:minmax(0,1fr);gap:13px}.table-heading{margin-bottom:13px}.table-meta{gap:8px;font-size:12px}.page-kicker{font-size:9px;letter-spacing:1.45px}.kicker-line{width:15px}h1{font-size:34px;letter-spacing:-1.5px}.board-notes{font-size:11px;margin:8px 1px 0}.sidebar{gap:12px}.turn-card{padding:14px 16px}.turn-content{min-height:60px}.turn-title{font-size:29px}.turn-dice{margin-right:6px}.panel-header h2{font-size:22px}.pass-play{display:none}.round-chip{padding:6px 8px}.turn-controls{margin-top:5px}.dialog-frame{padding:17px}.dialog-head h2{font-size:25px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation-duration:.01ms!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}

.bb-board {
  --tile-paper: #f6f1dc;
  --board-line: #435347;
  --board-ink: #2c3d34;
  --board-type: "Arial Narrow", "Aptos Narrow", "Helvetica Neue", Arial, sans-serif;
  container-type: inline-size;
  position: relative;
  isolation: isolate;
  width: 100%;
  aspect-ratio: 1;
  box-sizing: border-box;
  border: 2px solid #33473c;
  background: #d1e6cc;
  color: var(--board-ink);
  box-shadow: 0 2px 0 #34483c30;
}
.bb-grid {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: 1.55fr repeat(9, minmax(0, 1fr)) 1.55fr;
  grid-template-rows: 1.55fr repeat(9, minmax(0, 1fr)) 1.55fr;
  gap: max(.13cqw, 1px);
  overflow: hidden;
  background: var(--board-line);
}
.bb-tile {
  -webkit-appearance: none;
  appearance: none;
  box-sizing: border-box;
  min-width: 0;
  min-height: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .42cqw;
  padding: .5cqw .35cqw;
  border: 0;
  border-radius: 0;
  margin: 0;
  background: var(--tile-paper);
  color: var(--board-ink);
  text-align: center;
  text-transform: uppercase;
  font-family: var(--board-type);
  font-size: 1.34cqw;
  letter-spacing: normal;
  line-height: 1.03;
  cursor: pointer;
  box-shadow: none;
  touch-action: manipulation;
}
.bb-tile:hover { background: #fff9e8; }
.bb-tile:focus-visible { z-index: 4; outline: 2px solid #ab4a37; outline-offset: -2px; }
.bb-name {
  display: block;
  max-width: 100%;
  font-size: 1.34cqw;
  font-weight: 800;
  overflow-wrap: normal;
  letter-spacing: -.025em;
}
.bb-price { display: block; font-size: 1.28cqw; font-weight: 600; }
.bb-tile[data-space="29"] .bb-name { font-size: 1.16cqw; }
.bb-tile.bb-property { justify-content: space-between; }
.bb-property.bb-top { padding: 1.1cqw .2cqw 3.2cqw; }
.bb-property.bb-bottom { padding: 3.35cqw .2cqw .9cqw; }
.bb-property.bb-left, .bb-property.bb-right { justify-content: center; gap: .55cqw; }
.bb-property.bb-left { padding-right: 2.8cqw; }
.bb-property.bb-right { padding-left: 2.8cqw; }
.bb-band { position: absolute; background: var(--bb-band); pointer-events: none; }
.bb-top .bb-band, .bb-bottom .bb-band { left: 0; right: 0; height: 2.23cqw; }
.bb-top .bb-band { bottom: 0; border-top: max(.13cqw, .7px) solid var(--board-line); }
.bb-bottom .bb-band { top: 0; border-bottom: max(.13cqw, .7px) solid var(--board-line); }
.bb-right .bb-band, .bb-left .bb-band { top: 0; bottom: 0; width: 2.23cqw; }
.bb-right .bb-band { left: 0; border-right: max(.13cqw, .7px) solid var(--board-line); }
.bb-left .bb-band { right: 0; border-left: max(.13cqw, .7px) solid var(--board-line); }
.bb-mortgaged .bb-band { background: repeating-linear-gradient(135deg, var(--bb-band) 0 .5cqw, #e5ddc6 .5cqw .8cqw); }
.bb-picture { display: block; width: 4.65cqw; height: 3.6cqw; flex-shrink: 0; color: #384137; }
.bb-left .bb-picture, .bb-right .bb-picture { width: 3.6cqw; height: 2.7cqw; }
.bb-left:is(.bb-railroad,.bb-utility,.bb-tax), .bb-right:is(.bb-railroad,.bb-utility,.bb-tax) { gap: .12cqw; }
.bb-chance .bb-picture { width: 4.6cqw; height: 4.1cqw; }
.bb-left.bb-chance .bb-picture, .bb-right.bb-chance .bb-picture { height: 3.6cqw; }
.bb-corner { gap: .08cqw; }
.bb-corner-name { font-size: 1.65cqw; font-weight: 900; letter-spacing: .03em; }
.bb-corner .bb-picture { width: 6.3cqw; height: 5.2cqw; }
.bb-corner-foot, .bb-go-caption { font-size: 1.16cqw; font-weight: 850; letter-spacing: .025em; }
.bb-go { gap: 0; }
.bb-go-word { color: #b34e39; font: 900 5.84cqw/.94 Georgia, "Times New Roman", serif; letter-spacing: -.085em; padding-right: .35cqw; }
.bb-go-arrow { width: 7.8cqw; height: 2.25cqw; }
.bb-center {
  position: relative;
  overflow: hidden;
  grid-area: 2 / 2 / 11 / 11;
  background: #d2e7cc;
  isolation: isolate;
  pointer-events: none;
}
.bb-art {
  position: absolute;
  inset: auto 0 0;
  height: 68%;
  background: var(--city-art) no-repeat center bottom / 100% 100%;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 16%);
  mask-image: linear-gradient(to bottom, transparent, #000 16%);
}
.bb-center-frame { position: absolute; inset: 1.18cqw; border: .12cqw solid #40563d48; }
.bb-center-frame::before, .bb-center-frame::after {
  content: "";
  position: absolute;
  width: .8cqw;
  height: .8cqw;
  border: .14cqw solid #61775c;
  background: #d2e7cc;
  top: -.46cqw;
  transform: rotate(45deg);
}
.bb-center-frame::before { left: -.46cqw; }
.bb-center-frame::after { right: -.46cqw; }
.bb-headmark {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 1.1cqw;
  position: absolute;
  top: 10%;
  left: 0;
  right: 0;
  color: #52745b;
}
.bb-headmark span { height: .12cqw; width: 5cqw; background: currentColor; opacity: .62; }
.bb-headmark svg { width: 3.75cqw; height: 3.75cqw; color: #9e7732; }
.bb-brand { position: absolute; left: 7.4%; right: 7.4%; top: 22%; transform: rotate(-7deg); text-align: center; }
.bb-brand > svg { display: block; width: 100%; height: auto; filter: drop-shadow(.26cqw .38cqw 0 #3c523427); }
.bb-edition {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.3cqw;
  margin-top: .8cqw;
  color: #334c3c;
  font: 800 1.6cqw/1.2 var(--board-type);
  letter-spacing: .24em;
}
.bb-edition span { width: 3.1cqw; height: .12cqw; background: currentColor; opacity: .8; }
.bb-ownership { position: absolute; display: flex; align-items: center; justify-content: center; gap: .08cqw; left: 0; right: 0; bottom: .16cqw; color: #477d4d; pointer-events: none; }
.bb-ownership:empty { display: none; }
.bb-bottom .bb-ownership { top: .16cqw; bottom: auto; }
.bb-left .bb-ownership, .bb-right .bb-ownership { top: 0; bottom: 0; flex-direction: column; width: 2.2cqw; }
.bb-left .bb-ownership { left: auto; }
.bb-right .bb-ownership { right: auto; }
.bb-ownership i { width: 1.63cqw; height: 1.63cqw; background: var(--owner-color); box-sizing: border-box; border: .22cqw solid #fff9e4; border-radius: 50%; box-shadow: 0 0 0 .11cqw #384d41; }
.bb-ownership svg { width: 1.75cqw; height: 1.75cqw; }
.bb-pieces { position: absolute; inset: 0; pointer-events: none; }
.bb-piece {
  box-sizing: border-box;
  width: 3.56cqw; height: 3.56cqw;
  display: grid; place-items: center;
  position: absolute;
  color: #fff7df;
  background: var(--piece-color);
  border: .22cqw solid #fff7df;
  border-radius: 50%;
  box-shadow: 0 .28cqw 0 #3d493b, 0 .43cqw .45cqw #28362958;
  transform: translate(-50%, -55%);
  font: bold 2.1cqw/1 var(--board-type);
  transition: top .36s ease, left .36s ease;
}
.bb-piece svg { width: 78%; height: 78%; display: block; }
.bb-piece.bb-active-piece { z-index: 1; box-shadow: 0 0 0 .2cqw var(--piece-color), 0 .35cqw 0 #313d32, 0 .45cqw .45cqw #28362958; }
.bb-small-piece { width: 2.9cqw; height: 2.9cqw; }
@media (prefers-reduced-motion: reduce) { .bb-piece { transition: none; } }

#online-room[hidden], #online-lobby, .online-copy-field[hidden] { display: none; }
#online-room { white-space: nowrap; }
.online-in-room #new-game { display: none; }
.online-in-lobby #online-lobby { display: block; }
.online-in-lobby .table-layout, .online-in-lobby .round-chip { display: none; }
.online-in-room .pass-play { max-width: 240px; overflow-wrap: anywhere; }
.online-lobby-panel {
  max-width: 620px; margin: 0 auto; padding: clamp(19px, 3vw, 32px);
  border: 1px solid var(--line); border-radius: 9px; background: var(--panel);
}
.online-lobby-panel h2 { font: normal 29px/1.2 var(--serif); margin-bottom: 7px; }
.online-lobby-heading { display: flex; align-items: center; justify-content: space-between; margin-top: 23px; }
.online-lobby-heading h3 { font: normal 23px/1.3 var(--serif); }
.online-invite {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px;
  border: 1px dashed #a4b59d; border-radius: 7px; padding: 15px; background: #eff2e7;
}
.online-label { display: block; font-size: 13px; color: var(--muted); }
#lobby-code { display: block; font: 700 29px/1.2 var(--sans); letter-spacing: .14em; color: var(--forest); }
.online-invite-actions { display: flex; gap: 6px; }
.online-invite-actions button { padding: 7px 9px; font-size: 13px; }
.online-copy-field { width: 100%; }
.online-form { display: grid; gap: 8px; }
.online-form label { font-size: 14px; font-weight: 650; }
.online-form label:not(:first-child) { margin-top: 6px; }
.online-form .dialog-actions { margin-top: 8px; }
.online-resume {
  display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 14px;
  padding: 10px; border: 1px solid var(--line); border-radius: 5px; margin-bottom: 16px;
}
.online-roster { padding: 0; margin: 7px 0 17px; list-style: none; }
.online-roster li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.online-roster strong, .online-roster small { display: block; overflow-wrap: anywhere; }
.online-roster strong { font-size: 15px; }
.online-roster small { color: var(--muted); font-size: 12px; }
.online-remove { margin-left: auto; }
.online-you { margin-left: 5px; font: 600 10px/1 var(--sans); color: #596c55; }
.online-wait {
  display: flex; gap: 8px; align-items: center; justify-content: center; min-height: 43px; padding: 8px;
  background: #f1e9d512; color: #f4edda; border: 1px solid #b2c0a56b; border-radius: 5px; font-size: 14px;
}
.online-wait .icon { width: 16px; height: 16px; }
@media (min-width: 761px) and (max-width: 900px) {
  .nav-inner:has(#online-room:not([hidden])) { gap: 14px; padding: 0 22px; }
  .nav-inner:has(#online-room:not([hidden])) .nav-divider { display: none; }
}
@media (max-width: 760px) {
  #online-room { padding: 7px 6px; font-size: 12px; }
  .online-in-room .table-meta .pass-play { display: flex; font-size: 12px; max-width: 110px; }
  .online-lobby-panel { padding: 16px; }
}
@media (max-width: 380px) {
  .nav-inner:has(#online-room:not([hidden])) { gap: 4px; padding: 0 7px; }
  .nav-inner:has(#online-room:not([hidden])) .brand { font-size: 24px; }
}

:root{--city-art:url("/assets/manila-bay.jpg")}
.bb-board.stepping .bb-piece{transition-duration:70ms}
