/* Workshop Wharf's physical table layout, scoped to the Town Ledger. */
body[data-game="property"]{background:#123d36}.property-shell{max-width:1000px;margin:auto;padding:0 16px 24px;font:16px/1.45 'Segoe UI',Arial,sans-serif}.property-page-header{display:flex;align-items:center;justify-content:space-between;gap:12px;color:#fff;padding:16px 0}.property-page-header>b{font:750 20px/1.45 'Segoe UI',Arial,sans-serif;letter-spacing:-.6px}.property-page-header a,.property-page-header>button:first-child{font-size:14px;background:none;border:0;color:#eef0eb;text-decoration:none;padding:0}.property-page-header .btn{min-height:46px;padding:12px 16px;border:0;border-radius:12px;background:#e7edf0;color:#142b41;font:750 16px/1.45 'Segoe UI',Arial,sans-serif;box-shadow:none}
.prop-table{box-sizing:border-box;max-width:900px;margin:auto;padding:24px;background:#174940;color:#fff6e5;border-radius:22px;font:16px/1.45 'Segoe UI',Arial,sans-serif}.prop-table *{box-sizing:border-box}.prop-table .btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:46px;padding:12px 16px;background:#e7edf0;color:#142b41;border:0;border-radius:12px;box-shadow:none;font:750 16px/1.45 'Segoe UI',Arial,sans-serif;cursor:pointer}.prop-table .btn:disabled{opacity:.45;cursor:default}.prop-table button:focus-visible,.prop-table input:focus-visible,.prop-table select:focus-visible{outline:3px solid #e8873b;outline-offset:3px}.prop-table .btn.gold{background:#f5a54f;color:#183a35}
.prop-status-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));border:1px solid #ffffff26;background:#123d36;color:white;border-radius:14px;overflow:hidden;margin:0 0 16px}.prop-status-strip>div{padding:8px;text-align:center;border-right:1px solid #ffffff26;min-height:56px;display:flex;flex-direction:column;justify-content:center}.prop-status-strip>div:last-child{border-right:0}.prop-status-strip small{font-size:9px;letter-spacing:1px;text-transform:uppercase;color:#b9cccf}.prop-status-strip b{font-size:15px;overflow-wrap:anywhere}
.prop-table .property-board{width:100%;max-width:720px;aspect-ratio:1;display:grid;grid-template-columns:repeat(11,minmax(0,1fr));grid-template-rows:repeat(11,minmax(0,1fr));gap:2px;margin:12px auto;border:3px solid #c5c8b9;border-radius:10px;padding:3px;overflow:hidden;background:#b8b4a4;box-shadow:none;container-type:inline-size}.prop-table .property-tile{display:block;position:relative;min-width:0;min-height:0;padding:2px 1px;background:#fcf6e4;overflow:hidden;overflow-wrap:anywhere;line-height:1.05;font:650 clamp(5px,1.5vw,10px)/1.05 'Segoe UI',Arial,sans-serif;border:0;border-top:5px solid var(--group-color);border-radius:0;color:#233d4b;text-align:center;box-shadow:none}.prop-table .property-tile.landed{background:#ffe0a5;box-shadow:inset 0 0 0 2px #ba6728}.prop-table .property-tile .tokens{display:flex;flex-wrap:wrap;gap:1px;justify-content:center;position:absolute;bottom:1px;left:1px;right:1px}.prop-table .property-tile .tokens span{display:grid;place-items:center;width:12px;height:12px;font:800 8px/1 Arial;color:#fff;padding:0;border:1px solid #fff;border-radius:3px}.prop-table .prop-owner{position:absolute;top:0;right:0;width:5px;height:5px;padding:0;border-radius:50%}.prop-level{display:block;font-size:7px;color:#164d2c}
.prop-table .property-center{grid-column:2/11;grid-row:2/11;min-width:0;min-height:0;overflow:hidden;contain:paint;container-type:inline-size;position:relative;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:clamp(5px,2cqw,12px);padding:clamp(4px,2cqw,14px);color:#183a35;text-align:center;background:#dfe6d4 repeating-linear-gradient(0deg,transparent,transparent 19px,#16392c05 20px)}.property-center>*{max-width:100%;flex-shrink:1;min-height:0}.prop-hub-brand{display:flex;align-items:center;justify-content:center;gap:8px}.prop-hub-brand>span{width:46px;font-size:32px;line-height:1}.prop-table .prop-hub-brand h1{font:900 clamp(20px,7cqw,34px)/1 'Segoe UI',Arial,sans-serif;letter-spacing:-1px;text-transform:none;text-shadow:none;margin:0;color:#183a35}.property-center .player-cards{width:100%;margin:0;gap:clamp(4px,1.5cqw,8px)}.property-center .player-card{display:block;padding:5px 7px;min-height:44px;border-radius:5px;line-height:1.25;text-align:left}.property-center .player-card strong{font-size:clamp(10px,3cqw,14px);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.property-center .player-card span{font-size:clamp(9px,2.8cqw,12px)}.property-center .player-card small{display:none}.prop-table .prop-history-tab{min-height:44px;padding:6px 12px;border:1px solid #9cab96;border-radius:7px;background:#f9f7ee;color:#183a35;font-size:clamp(11px,3cqw,14px);flex-shrink:0}
.prop-roll-section{margin:8px 0}.prop-table .prop-now{display:grid;grid-template-columns:minmax(0,1fr) auto auto;gap:10px;align-items:center;padding:9px 11px;border:1px solid #305e50;border-bottom:3px solid #092f28;border-radius:10px;background:linear-gradient(150deg,#205447,#113b32);box-shadow:inset 0 1px 0 #ffffff16,0 3px 6px #082a2433;color:white}.prop-turn-copy{display:block;line-height:1.3}.prop-turn-copy b{display:block;font-size:14px;white-space:normal;overflow-wrap:anywhere}.prop-turn-copy span{display:block;font-size:11px;margin-top:2px;color:#e2eae4}.prop-table .prop-dice{display:grid;grid-template-columns:repeat(2,28px);gap:4px 7px;margin:0 3px}.prop-dice .die{display:grid;grid-template:repeat(3,1fr)/repeat(3,1fr);width:28px;height:28px;padding:4px;border:1px solid #fff7dc;border-right:3px solid #c6b68e;border-bottom:3px solid #b5a17a;border-radius:6px;background:linear-gradient(145deg,#fffef7,#eadebc);color:#173b32;box-shadow:2px 3px 0 #827659,3px 5px 5px #041e2455,inset 1px 1px 1px #fff;transform:rotate(-7deg)}.prop-dice .die:nth-child(2){transform:rotate(8deg)}.prop-dice .die i{display:block;place-self:center;width:4px;height:4px;border-radius:50%;background:#173b32;box-shadow:inset 0 1px 1px #0008}.prop-table .prop-dice small{grid-column:1/-1;text-align:center;font-size:9px;line-height:1.2;padding-top:2px}.prop-roll-controls{display:flex;flex-wrap:wrap;gap:6px}.prop-roll-controls:has(button:nth-child(2)){grid-column:1/-1;justify-content:flex-end}.prop-table .prop-roll-controls .btn{min-height:40px;padding:8px 12px;font-size:12px;border-radius:8px}.prop-table .prop-roll-controls .gold{background:linear-gradient(#ffe994,#f5bd3e);border:1px solid #e7bf5f;border-bottom-color:#b07b23;box-shadow:0 4px 0 #a16d20,inset 0 1px 0 #fff4bf,0 5px 7px #061d2533}
.prop-table .prop-recent{margin:16px 0;background:#e7efdc;border:0;border-radius:12px;padding:14px;color:#183a35;font-size:12px;line-height:1.45}.prop-table .prop-recent p{font-size:12px;margin:8px 0;line-height:1.45}.prop-table .prop-recent p:first-child{margin-top:0}.prop-table .prop-recent p:last-child{margin-bottom:0}.prop-trading-help,.prop-fineprint{font-size:12px;margin:16px 0;line-height:1.45;color:#d4dfd7}.prop-trading-help{color:#b9cccf}
.prop-holdings{margin-top:24px}.prop-holdings h2{font:750 20px/1.45 'Segoe UI',Arial,sans-serif;margin:0 0 15px;color:#fff6e5}.prop-holdings>label{font-size:14px;font-weight:750;color:#fff6e5}.prop-holdings select{width:100%;max-width:360px;min-height:44px;border:1px solid #a5b2b7;border-radius:9px;background:#fff;padding:10px;color:#142c40;margin-top:5px;font:16px/1.45 'Segoe UI',Arial,sans-serif}.prop-table .prop-deeds{display:grid;grid-template-columns:repeat(auto-fit,minmax(210px,1fr));gap:12px}.prop-table .prop-deeds .deed{background:#fffaf1;border-radius:14px;overflow:hidden;border:1px solid #ced2c3;padding:0;color:#183a35}.prop-deed-head{background:var(--group);padding:10px 13px;font-weight:800;display:flex;justify-content:space-between;gap:6px}.prop-deed-body{padding:12px}.prop-deed-body>b,.prop-deed-body>small{display:block}.prop-deed-body>small{font-size:13px;color:#526874}.prop-deed-body .prop-actions{margin:12px 0 0}.prop-table .prop-deed-body .btn{font-size:12px;padding:8px 10px;min-height:40px}.prop-empty{padding:24px 0;font-size:16px;color:#d4dfd7}
.prop-table .prop-history{padding:18px 0 0;margin:22px 0 0;border:0;border-top:1px solid #ffffff30;background:none;color:#fff6e5;font-size:16px}.prop-table .prop-history p{font-size:13px}.prop-table .prop-game-footer{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;margin-top:20px;padding-top:12px;border-top:1px solid #ffffff30}.prop-table .prop-game-footer .btn{min-height:40px;padding:8px 12px;font-size:12px;border-radius:8px}.prop-table .prop-check input{width:18px;min-height:18px;flex:0 0 18px}.prop-table .prop-trade-dialog h2{font-family:inherit}
@container(max-width:260px){.prop-hub-brand{display:none}}@media(min-width:850px){.prop-table .property-board{max-width:min(720px,calc(100svh - 380px));min-width:360px}}@media(min-width:700px){.prop-roll-controls:has(button:nth-child(2)){grid-column:auto;justify-content:flex-end;max-width:380px}}@media(max-width:600px){.property-shell{padding:0 12px 20px}.property-page-header{gap:8px}.property-page-header>b{font-size:19px}.property-page-header a,.property-page-header>button:first-child{font-size:12px}.property-page-header .btn{font-size:13px;padding:9px 12px}.prop-table{padding:16px 10px;border-radius:17px}.prop-status-strip{min-height:66px}.prop-table .prop-deeds{grid-template-columns:1fr;gap:12px}.prop-deed-head{font-size:13px;padding:10px}.prop-deed-body{padding:10px}.prop-deed-body small{font-size:11px}.prop-deed-body .prop-actions{gap:5px}.prop-table .prop-deed-body .btn{font-size:11px;padding:7px;min-height:38px}.prop-holdings>label{display:block}.prop-holdings select{display:block}}@media(max-width:360px){.prop-table .prop-now{padding:8px;gap:7px}.prop-turn-copy b{font-size:12px}.prop-turn-copy span{font-size:10px}.prop-table .prop-roll-controls .btn{padding:7px 9px;font-size:11px}}

.property-page-header>*{white-space:nowrap}.property-page-header>b{flex-shrink:0}@media(max-width:600px){.property-page-header>b{font-size:17px;letter-spacing:-.7px}.property-page-header a,.property-page-header>button:first-child{font-size:11px}}

@media(max-width:360px){.property-page-header{gap:6px}.property-page-header>b{font-size:16px}.property-page-header>b span{display:none}}

.prop-dice.prop-rolling .die{animation:property-roll .16s linear infinite alternate}
@keyframes property-roll{from{transform:rotate(-14deg) translateY(-3px)}to{transform:rotate(14deg) translateY(3px)}}
@media(prefers-reduced-motion:reduce){.prop-dice.prop-rolling .die{animation:none}}

/* Mortgage state leaves ownership and playing pieces at full contrast. */
.prop-table .property-tile.mortgaged{background:#d4d6d6;color:#536067;border-top-color:#858e91;box-shadow:inset 0 0 0 1px #9da5a7}
.prop-table .deed.mortgaged{background:#e0e3e3;color:#39464d}
.prop-table .deed.mortgaged .prop-deed-head{background:#bfc5c7;border-color:#858e91;color:#34434b}
.prop-opening-results{margin:16px 0;padding:16px;background:#fff8eb;color:#233d4b;border-radius:12px}
.prop-opening-results h2{font-size:18px;margin:0 0 14px}
.prop-opening-results p{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin:12px 0}
.prop-table .prop-opening-results .prop-dice{display:flex;align-items:center;margin-left:auto;gap:10px}
.prop-opening-results .prop-dice b{min-width:18px;text-align:right}
