
:root{--bg:#f6f7f4;--surface:#fff;--ink:#293d36;--muted:#8a948e;--green:#278675;--green-dark:#236757;--line:#e8ece6;--cream:#f5f3e9;--shadow:0 5px 24px #243b2d04;--radius:15px;--font:Inter,"SF Pro Display",-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font:14px/1.6 var(--font);-webkit-font-smoothing:antialiased}button,input,select{font:inherit}button,a{-webkit-tap-highlight-color:transparent}button{cursor:pointer;border:0;background:none;color:inherit}button:disabled{cursor:not-allowed;opacity:.48}button:not(:disabled),a{transition:background .2s,transform .2s,box-shadow .2s,color .2s}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible{outline:3px solid #8bc4b4;outline-offset:3px}button:active:not(:disabled){transform:translateY(1px)}a{color:inherit;text-decoration:none}svg.icon{width:19px;height:19px;flex:none;vertical-align:middle;stroke-width:1.7}h1,h2,h3,p{margin:0}h2{font-size:14px}h3{font-size:15px}.site-header{height:86px;padding:0 40px;display:flex;align-items:center;justify-content:space-between;background:#fff;border-bottom:1px solid var(--line);gap:26px}.brand{display:flex;align-items:center;gap:12px;font-size:21px;font-weight:800;letter-spacing:.5px;white-space:nowrap}.brand small{font-size:9px;letter-spacing:2.9px;display:block;font-weight:500;color:#789185;line-height:1.5;margin-top:1px}.brand-mark{display:grid;place-items:center;width:44px;height:44px;background:var(--green);color:white;border-radius:13px;box-shadow:0 4px 0 #1d6c5d}.brand-mark svg.icon{width:28px;height:28px;transform:rotate(-9deg);stroke-width:1.6}.main-nav{display:flex;gap:30px;height:100%;margin-left:50px}.nav-item{position:relative;display:flex;align-items:center;gap:8px;font-size:13px;color:#838d86;padding:0 4px}.nav-item.active{color:var(--green);font-weight:600}.nav-item.active:after{content:'';position:absolute;height:3px;left:12px;right:12px;bottom:0;background:var(--green);border-radius:4px 4px 0 0}.nav-item:hover{color:var(--green)}.header-right{display:flex;align-items:center;gap:20px}.connection{display:flex;align-items:center;gap:6px;color:#8c968f;font-size:11px;white-space:nowrap}.connection i,.live-dot{display:inline-block;width:6px;height:6px;border-radius:50%;background:#7fad96;box-shadow:0 0 0 3px #7fad9614}.connection.offline i{background:#dc9b5c}.icon-button{display:grid;place-items:center;width:32px;height:32px;border-radius:8px;color:#78887d}.icon-button:hover{background:#edf4ee}.header-avatar{width:37px;height:37px;border:1px solid #e1e9da;border-radius:50%;display:grid;place-items:center;font-size:22px;background:#f1f4e9}.page-shell{max-width:1580px;margin:0 auto;padding:32px 40px 0}.welcome-bar{display:flex;align-items:center;justify-content:space-between;gap:20px;margin:0 0 30px}.eyebrow{font-size:9px;font-weight:600;letter-spacing:1.8px;color:#91a192}.welcome-bar h1{font-size:27px;letter-spacing:1px;font-weight:750;margin:5px 0 6px}.welcome-bar p{font-size:12px;color:#90998f;letter-spacing:.5px}.title-star{font-size:24px;color:#d6bd7b;margin-left:14px;display:inline-block;transform:rotate(12deg)}.welcome-actions{display:flex;gap:10px}.button{min-height:41px;border-radius:9px;padding:10px 17px;font-size:12px;font-weight:600;display:inline-flex;align-items:center;justify-content:center;gap:8px;white-space:nowrap}.button .icon{width:16px;height:16px}.button.primary{background:var(--green);color:white;box-shadow:0 3px 0 #1d6c5d0d}.button.primary:hover:not(:disabled){background:#217562;box-shadow:0 4px 12px #27766224}.button.secondary{background:white;border:1px solid #dfe6df;color:#677d70}.button.secondary:hover:not(:disabled){background:#f0f6f1}.button.ghost{border:1px solid #dfe7df;color:#688472;background:transparent}.button.danger{background:#fbefeb;color:#bb7561}.button.full{width:100%}.button.small{min-height:32px;padding:5px 10px;font-size:11px}.game-layout{display:grid;grid-template-columns:210px minmax(380px,1fr) 272px;gap:24px;align-items:start}.panel{background:white;border:1px solid var(--line);border-radius:var(--radius);box-shadow:var(--shadow)}.section-heading{display:flex;justify-content:space-between;align-items:center;gap:5px;margin-bottom:16px}.section-heading h2{display:flex;gap:7px;align-items:center;font-size:13px;font-weight:650}.section-heading h2 svg{width:15px;height:15px;color:#7c9584}.muted{color:var(--muted);font-size:11px}.room-panel{padding:19px 15px}.room-panel .section-heading{margin-bottom:18px}.room-code-box{border:1px dashed #dce4d9;border-radius:9px;background:#f9faf7;padding:12px;margin-bottom:20px;display:flex;justify-content:space-between;align-items:center}.room-code-box small{display:block;font-size:9px;color:#939e93;letter-spacing:1px}.room-code-box strong{font-size:16px;letter-spacing:2px;line-height:1.8;font-weight:600}.room-code-box .icon{width:16px;height:16px}.room-code-box.demo strong{font-size:12px;letter-spacing:1px}.player-list{display:flex;flex-direction:column;gap:7px}.player-row{display:flex;align-items:center;gap:10px;border-radius:9px;padding:10px 8px;position:relative;border:1px solid transparent}.player-row.me{background:#f1f7f0;border-color:#e3eedf}.player-row.turn{border-color:var(--player-color);box-shadow:0 0 0 2px #2a8d7210}.player-avatar{position:relative;border-radius:12px;width:36px;height:38px;display:grid;place-items:center;flex-shrink:0;font-size:24px;background:var(--avatar-bg,#eef4e9)}.player-avatar:after{content:'';position:absolute;bottom:-2px;right:-2px;border-radius:50%;width:8px;height:8px;background:var(--player-color,#76a38a);border:2px solid #fff}.player-info{flex:1;min-width:0}.player-name{font-size:12px;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.player-name em{font-style:normal;font-size:9px;font-weight:400;color:#93a195;margin-left:4px}.player-meta{display:flex;align-items:center;gap:4px;font-size:10px;margin-top:2px;color:#929c91}.player-meta .icon{width:11px;height:11px}.player-cash{font-size:10px;color:#81917f}.player-ready{font-size:9px;color:var(--green);padding:1px 5px;background:#e9f1e7;border-radius:4px;white-space:nowrap}.player-row.empty{opacity:.7;border:1px dashed #e4e8df;background:#fcfcfa}.player-row.empty .player-avatar{background:#f2f3ed;color:#abb8a6;font-size:22px;border:1px dashed #cdd8c8}.player-row.empty .player-avatar:after{display:none}.bankrupt{opacity:.45}.remove-bot{color:#a4aca1;font-size:18px;padding:0 2px}.room-bottom{margin-top:16px;border-top:1px solid #f0f1ec;padding-top:16px;display:flex;flex-direction:column;gap:8px}.room-bottom p{font-size:10px;color:#98a192;text-align:center}.tip-panel{margin-top:18px;padding:22px 16px 17px;background:#f1f1e6;position:relative;overflow:hidden;border-color:#e8e9dc}.tip-icon{display:block;color:#aaac7b;margin-bottom:10px}.tip-panel .eyebrow{font-size:8px;letter-spacing:1.25px;color:#a1a58b}.tip-panel h3{font-size:12px;font-weight:650;margin:5px 0 9px}.tip-panel p{font-size:10px;color:#949780;line-height:1.9}.text-button{font-size:10px;font-weight:500;display:flex;align-items:center;gap:7px;padding:0;color:#73876d;margin-top:17px}.text-button .icon{width:13px;height:13px}.tip-decoration{position:absolute;right:12px;top:20px;color:#e0dfc6;font-size:56px;font-weight:100;line-height:1}.left-footer{display:flex;align-items:center;justify-content:center;gap:5px;color:#a0a79a;font-size:9px;margin-top:18px}.left-footer .icon{width:12px;height:12px}.board-topline{height:30px;display:flex;justify-content:space-between;align-items:flex-start;margin-bottom:9px;font-size:11px}.board-topline>div{display:flex;align-items:center;gap:9px}.board-topline strong{font-weight:650}.board-subtitle{font-size:8px;color:#abb2a6;letter-spacing:1.2px;margin-left:1px}.round-badge{border:1px solid #e5e8de;border-radius:5px;padding:2px 7px;line-height:1.7;font-size:9px;color:#899680;white-space:nowrap}.board-wrap{padding:9px;border:1px solid #d9e1d4;background:#e8ede2;border-radius:20px;box-shadow:0 5px 0 #dfe5d9,0 14px 24px #56754106;position:relative}.board{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));grid-template-rows:repeat(7,minmax(0,1fr));gap:4px;aspect-ratio:1;position:relative}.tile{padding:5px 2px 3px;background:#fffefa;border:1px solid #e6e8db;border-radius:7px;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;min-width:0;overflow:visible;box-shadow:0 2px 1px #4d5f4010;color:#485b48;transition:box-shadow .15s,transform .15s}.tile:hover{z-index:3;box-shadow:0 3px 12px #3e57402c;transform:translateY(-2px)}.tile .stripe{position:absolute;left:-1px;right:-1px;top:-1px;height:7px;background:var(--tile-color,#a7b6a0);border-radius:7px 7px 0 0}.tile .tile-art{margin-top:5px;color:var(--tile-color,#9ba88a);line-height:1;display:flex;align-items:center;justify-content:center;min-height:20px}.tile .tile-art .icon{width:24px;height:24px;stroke-width:1.35}.tile .tile-name{font-size:9px;font-weight:550;white-space:nowrap;line-height:1.55;margin-top:3px;letter-spacing:0}.tile .tile-price{font-size:9px;color:#a4ab96;font-family:var(--font);line-height:1.5;white-space:nowrap}.tile.special{background:#f7f5e8;border-color:#e5e3d0}.tile.special.chance .tile-art{color:#cbb16e}.tile.special.chance{background:#fbf7e9}.tile.special.bonus{background:#eff5e9}.tile.corner{border-radius:9px;background:#eff3e7}.tile.corner .tile-art .icon{width:25px;height:25px}.tile.corner .tile-name{font-size:10px;font-weight:650}.tile.start{background:#dfeadd;border-color:#c7dac4}.tile.start .tile-art{color:#4e8b6c}.tile.start .tile-name{color:#427755}.tile.gojail{background:#f2ebe4}.tile.gojail .tile-art{color:#b79b89}.tile.park{background:#e8eedc}.tile.park .tile-art{color:#90a86d}.tile.jail{background:#f3edde}.tile.jail .tile-art{color:#ae996d}.tile.owned{box-shadow:inset 0 0 0 1px var(--owner-color),0 2px 1px #4d5f4010}.owner-dot{position:absolute;right:4px;top:11px;width:5px;height:5px;background:var(--owner-color);border-radius:50%}.tile-level{font-size:8px;position:absolute;left:4px;top:9px;color:var(--owner-color);letter-spacing:-1px}.token-slot{position:absolute;bottom:3px;left:2px;right:2px;display:flex;justify-content:center;gap:1px;pointer-events:none;z-index:4;flex-wrap:wrap}.pawn{width:17px;height:20px;position:relative;display:grid;place-items:center;filter:drop-shadow(0 2px 1px #2e403d35);animation:pop .25s ease-out}.pawn:before{content:'';position:absolute;width:9px;height:9px;top:0;border-radius:50%;background:var(--pawn-color);border:1px solid #fff}.pawn:after{content:'';position:absolute;width:15px;height:11px;bottom:0;border-radius:7px 7px 4px 4px;background:var(--pawn-color);border:1px solid #fff}.pawn.current:before{box-shadow:0 0 0 3px #fff8}.tile.has-token .tile-price{opacity:.15}.board-center{grid-column:2/7;grid-row:2/7;border-radius:8px;background:#f8f8ec;display:flex;align-items:center;flex-direction:column;position:relative;overflow:hidden;margin:2px;background-image:radial-gradient(#c3d0b329 .7px,transparent .7px);background-size:13px 13px;justify-content:flex-start;padding:22px 10px 15px}.center-label{display:flex;align-items:center;gap:9px;letter-spacing:1.5px;font-size:7px;color:#96a487;white-space:nowrap}.center-line{height:1px;width:20px;background:#cfd7bd}.city-title{margin-top:13px;font-size:clamp(24px,2.6vw,39px);font-weight:750;letter-spacing:5px;line-height:1.35;color:#385a46;text-align:center;position:relative;z-index:2}.city-title span{display:block}.city-title i{position:absolute;right:-37px;top:6px;font-style:normal;font-size:41px;font-weight:400;color:#c4ba78;transform:rotate(-13deg)}.city-subtitle{font-size:9px;color:#a6ad95;letter-spacing:1.5px;margin-top:8px;z-index:2}.city-illustration{position:absolute;width:100%;height:59%;object-fit:contain;bottom:50px;pointer-events:none;z-index:0}.center-status{position:absolute;bottom:32px;z-index:2;display:flex;flex-direction:column;align-items:center;text-align:center;max-width:90%;gap:5px}.center-pill{display:inline-flex;align-items:center;justify-content:center;gap:7px;background:#fffffff0;border:1px solid #e0e6d4;border-radius:30px;box-shadow:0 3px 10px #78846a07;padding:7px 13px;font-size:10px;color:#6f8264}.center-pill strong{color:#4b7256;font-weight:600}.center-pill svg{width:13px;height:13px}.center-extra{font-size:9px;color:#929e83}.center-bottom{position:absolute;bottom:11px;left:15px;right:15px;display:flex;justify-content:space-between;font-size:6px;letter-spacing:1px;color:#b1b69d}.board-legend{display:flex;justify-content:center;gap:22px;align-items:center;margin:17px 0 21px;font-size:9px;color:#8f9b86}.board-legend>span{display:inline-flex;align-items:center;gap:5px}.legend-dot{display:inline-block;width:6px;height:6px;background:#96b693;border-radius:2px}.legend-special{color:#bcaa6b;font-size:15px;line-height:1}.board-legend .icon{width:12px;height:12px}.legend-help{padding:0;line-height:1}.bottom-note{padding:13px 15px;border:1px solid #e9ebe2;border-radius:10px;display:flex;align-items:center;gap:9px;font-size:10px;color:#929e8a;background:#f9faf7}.mini-dice{color:#b5bf9f}.bottom-note .icon{width:16px;height:16px}.bottom-note-line{flex:1}.bottom-note>span:last-child{font-size:7px;letter-spacing:1px;color:#afb8a4}.right-column{display:flex;flex-direction:column;gap:15px}.wallet-card{background:#eef2e8;border:1px solid #e1e7d9;border-radius:15px;padding:18px 19px 15px;position:relative;overflow:hidden}.wallet-top{display:flex;align-items:center;justify-content:space-between;position:relative;z-index:1}.wallet-top>span:first-child{display:flex;align-items:center;gap:7px;font-size:11px;color:#6f8366}.wallet-top .icon{width:15px;height:15px}.wallet-tag{font-size:7px;letter-spacing:.6px;color:#9ba98d;padding:2px 5px;border:1px solid #d8e0cd;border-radius:4px}.balance{display:flex;align-items:center;gap:9px;margin:10px 0 12px;position:relative;z-index:1}.balance>span:first-child{font-size:23px;color:#90a17b;font-weight:500}.balance strong{font-family:var(--font);font-size:38px;letter-spacing:-1.8px;color:#46643b;line-height:1.2;font-weight:650;font-variant-numeric:tabular-nums}.balance-sparkle{font-size:46px;line-height:1;font-weight:300;color:#c9d3b7;margin-left:auto}.wallet-details{display:flex;gap:13px;align-items:center;font-size:10px;color:#94a089}.wallet-details b{font-weight:600;color:#738762;margin-left:5px}.wallet-details i{width:1px;height:10px;background:#d3ddc7}.wallet-circle{position:absolute;width:160px;height:160px;border:1px solid #dce4ce;border-radius:50%;right:-60px;top:-30px}.action-panel{padding:18px;text-align:center}.action-kicker{font-size:9px;color:#91a085;letter-spacing:1.6px;margin-bottom:4px}.action-panel h3{font-size:15px;letter-spacing:.5px;font-weight:650}.action-description{font-size:10px;color:#97a18e;line-height:1.9;margin-top:5px}.dice-area{display:flex;justify-content:center;align-items:center;gap:13px;margin:17px 0}.die{display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);gap:3px;width:43px;height:43px;padding:9px;background:#fffdf6;border:1px solid #e4e2cf;border-radius:10px;box-shadow:0 4px 0 #e5e3d5,0 5px 8px #66734808;transform:rotate(-9deg)}.die:nth-child(2){transform:rotate(9deg);background:#edf4e7;border-color:#dde7d2;box-shadow:0 4px 0 #d7e1cc,0 5px 8px #66734808}.pip{border-radius:50%;background:#6d805c;align-self:center;justify-self:center;width:5px;height:5px}.die .empty-pip{visibility:hidden}.dice-plus{color:#c2c8b6;font-size:16px}.dice-rolling .die{animation:shake .15s infinite}.dice-rolling .die:nth-child(2){animation-delay:.05s}.action-panel .button{min-height:40px}.action-panel .text-button{margin:11px auto 0;font-size:9px}.action-subbuttons{display:flex;gap:7px;margin-top:8px}.action-subbuttons .button{flex:1}.turn-label{font-size:9px;color:#8a9d7e;background:#f5f7ef;border-radius:5px;padding:5px 7px;margin-top:10px;display:flex;justify-content:center;gap:5px;align-items:center}.turn-label .icon{width:12px;height:12px}.assets-panel{padding:16px 17px}.assets-panel .section-heading{margin-bottom:10px}.subtle-button{font-size:9px;color:#a0a99a;padding:0;display:flex;align-items:center;gap:1px}.subtle-button .icon{width:11px;height:11px}.empty-assets{display:flex;align-items:center;gap:12px;padding:10px 2px 5px}.empty-assets .empty-house{display:grid;place-items:center;width:40px;height:40px;border-radius:10px;background:#f5f6f0;color:#b4bea7}.empty-assets .empty-house .icon{width:26px;height:26px;stroke-width:1.1}.empty-assets p{font-size:10px;color:#a0a899;line-height:1.8}.asset-row{display:flex;width:100%;align-items:center;gap:7px;padding:7px 2px;font-size:10px;border-bottom:1px solid #f2f3ee}.asset-row:last-child{border:0}.asset-row:hover{background:#f6f8f2}.asset-color{width:6px;height:25px;border-radius:3px;background:var(--asset-color)}.asset-info{flex:1;text-align:left}.asset-info small{display:block;font-size:8px;color:#a1ac98}.asset-rent{color:#758d64;font-size:10px}.feed-panel{padding:0 15px 9px}.feed-tabs{display:flex;align-items:center;gap:17px;border-bottom:1px solid #edf0e7;height:45px;margin-bottom:8px}.feed-tab{font-size:11px;padding:0;height:100%;color:#a3ab9b;position:relative}.feed-tab.active{color:#5f7b55;font-weight:650}.feed-tab.active:after{content:'';height:2px;background:#829c6e;position:absolute;left:0;right:0;bottom:-1px}.feed-live{font-size:6px;color:#aebc9d;letter-spacing:1px;margin-left:auto}#chat-dot.new{width:5px;height:5px;display:inline-block;border-radius:50%;background:#d7a85d;position:absolute;right:-8px;top:11px}.feed{height:148px;overflow-y:auto;scrollbar-width:thin;scrollbar-color:#d9e0cf transparent}.feed-item{position:relative;padding:8px 0 8px 13px;font-size:10px;line-height:1.65;color:#929d86}.feed-item:before{content:'';position:absolute;left:1px;top:14px;width:4px;height:4px;border-radius:50%;background:#c5d0b7}.feed-item+ .feed-item{border-top:1px solid #f5f6f0}.feed-item.buy,.feed-item.bonus,.feed-item.win{color:#70925e}.feed-item.rent,.feed-item.tax{color:#aa926f}.feed-item time{font-size:8px;color:#b7bdab;margin-right:7px}.feed-empty{padding:23px 6px;text-align:center;font-size:10px;color:#a6af9c;line-height:2}.chat-name{font-weight:600;color:#718263;font-size:9px;margin-right:5px}.chat-form{display:flex;align-items:center;border-top:1px solid #edf0e7;padding-top:7px;margin-top:4px}.chat-form[hidden]{display:none}.chat-form input{width:100%;min-width:0;background:#f9faf5;border:1px solid #edf0e5;border-radius:6px;padding:7px;font-size:10px;color:#6f825f}.chat-form input::placeholder{color:#b2bba6}.chat-form .icon-button{width:29px;height:29px;margin-left:3px}.chat-form .icon{width:15px;height:15px}.page-footer{display:flex;justify-content:space-between;color:#b1b8aa;font-size:9px;padding:25px 0 18px;letter-spacing:.5px}.page-footer b{padding:0 7px;font-weight:400}.page-footer>span:last-child{font-size:7px;letter-spacing:1px}.footer-heart{color:#a9b695;font-size:13px;margin-left:4px}.modal{width:min(470px,calc(100% - 30px));border:1px solid #e0e7d9;border-radius:22px;background:#fffefa;padding:31px;box-shadow:0 24px 100px #1c352b33;color:var(--ink);max-height:90dvh;overflow:auto}.modal::backdrop{background:#243b304d;backdrop-filter:blur(5px)}.modal.wide{width:min(640px,calc(100% - 30px))}.modal-close{position:absolute;top:13px;right:13px}.modal-symbol{width:46px;height:46px;display:grid;place-items:center;color:var(--green);background:#eef4e8;border-radius:14px;margin-bottom:16px}.modal-symbol .icon{width:25px;height:25px}.modal h2{font-size:23px;margin-bottom:6px;letter-spacing:.5px}.modal-lead{font-size:12px;color:#8c9985;line-height:1.8;margin-bottom:23px}.form-field{display:block;margin:17px 0}.form-field>span{font-size:11px;color:#748569;display:block;margin-bottom:7px;font-weight:600}.form-field input,.form-field select{width:100%;height:44px;border:1px solid #e0e6d9;border-radius:9px;background:#f9faf5;padding:0 13px;color:#47633b;font-size:13px}.form-field input::placeholder{color:#b1baa7}.form-field small{display:block;font-size:10px;color:#99a48f;margin-top:5px}.code-input{text-transform:uppercase;letter-spacing:6px;font-size:20px!important;font-weight:600}.form-footnote{font-size:10px;color:#a4ad9b;text-align:center;margin-top:12px;line-height:1.8}.form-error{background:#fff0eb;color:#b57963;padding:9px 12px;border-radius:7px;font-size:11px;margin:12px 0}.modal-buttons{display:flex;gap:9px;margin-top:19px}.modal-buttons .button{flex:1}.rules-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px}.rule-card{border:1px solid #e5eadd;border-radius:11px;padding:15px;background:#fbfcf7}.rule-card .rule-number{font-size:10px;color:#a8b794;margin-bottom:7px;display:block;letter-spacing:1px}.rule-card h3{font-size:12px;margin-bottom:6px}.rule-card p{font-size:10px;color:#8a987e;line-height:1.9}.rules-notes{font-size:10px;color:#8a987e;border-top:1px solid #e9edde;margin-top:18px;padding-top:15px;line-height:1.9}.tile-modal-hero{border-radius:13px;padding:20px;background:var(--tile-bg,#f2f5e9);border-top:6px solid var(--tile-color,#8db296);margin-bottom:17px;text-align:center}.tile-modal-hero .icon{width:45px;height:45px;color:var(--tile-color,#8db296);stroke-width:1.25}.tile-modal-hero h2{font-size:21px;margin-top:9px}.tile-modal-hero p{font-size:11px;color:#839278}.detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px}.detail-stat{background:#f6f8ef;border-radius:9px;padding:12px}.detail-stat small{font-size:10px;display:block;color:#9aa58e;margin-bottom:4px}.detail-stat b{font-size:17px;font-weight:600;color:#547345}.rent-ladder{display:flex;justify-content:space-between;margin:18px 0;color:#849774;font-size:10px;text-align:center}.rent-ladder b{display:block;font-size:13px;color:#6c895b;margin-top:3px}.result-hero{text-align:center}.result-cup{font-size:54px;line-height:1.5}.ranking{margin-top:23px;display:flex;flex-direction:column;gap:9px}.rank-row{padding:12px;background:#f5f8ee;border:1px solid #e5eadb;border-radius:10px;display:flex;align-items:center;gap:12px;font-size:12px}.rank-row.first{background:#f7f3e4;border-color:#e9dfb5}.rank-row .rank-num{font-size:15px;font-weight:600;color:#a6b296;width:17px}.rank-row .rank-name{flex:1}.rank-row strong{color:#667f51}.stats-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:20px 0}.stats-grid>div{text-align:center;background:#f4f7ec;padding:15px 3px;border-radius:10px}.stats-grid b{font-size:23px;color:#648151;display:block}.stats-grid span{font-size:10px;color:#95a284}.toasts{position:fixed;right:25px;bottom:25px;display:flex;flex-direction:column;gap:9px;z-index:100;max-width:min(360px,calc(100% - 40px));pointer-events:none}.toast{border:1px solid #dbe6d3;background:#fffffaf5;backdrop-filter:blur(8px);box-shadow:0 7px 24px #25433014;border-radius:10px;padding:12px 18px;color:#58754a;font-size:12px;animation:toast-in .2s ease-out}.toast.error{border-color:#eed7ca;color:#b57963}.noscript{position:fixed;inset:0;display:grid;place-items:center;background:#f7f8f3;font-size:20px}@keyframes pop{from{transform:scale(.7) translateY(-4px)}to{transform:scale(1) translateY(0)}}@keyframes shake{0%{transform:rotate(-18deg) translateY(-4px)}50%{transform:rotate(18deg) translateY(0)}100%{transform:rotate(-18deg) translateY(-4px)}}@keyframes toast-in{from{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}
@media(min-width:1440px){.page-shell{padding-top:38px}.welcome-bar{margin-bottom:35px}.game-layout{grid-template-columns:230px minmax(400px,1fr) 290px;gap:29px}.room-panel{padding:22px 18px}.player-row{padding:12px 8px}.tile .tile-name{font-size:11px}.tile .tile-price{font-size:10px}.tile .tile-art .icon{width:27px;height:27px}.board-center{padding-top:28px}.center-label{font-size:8px}.city-title{margin-top:20px}.city-subtitle{font-size:11px}.center-pill{font-size:12px}.center-status{bottom:43px}.city-illustration{bottom:65px}.action-panel{padding:22px}.feed{height:173px}.tip-panel{padding:25px 18px}.tip-panel h3{font-size:14px}.tip-panel p{font-size:11px}.board-legend{margin-bottom:24px}.wallet-card{padding:20px}.balance strong{font-size:43px}}
@media(max-width:1190px){.site-header{padding:0 25px;height:76px}.page-shell{padding:26px 25px 0}.main-nav{margin-left:0;gap:23px}.game-layout{grid-template-columns:183px minmax(340px,1fr) 238px;gap:16px}.welcome-bar h1{font-size:24px}.room-panel{padding:16px 11px}.player-row{padding:9px 6px;gap:7px}.player-avatar{width:31px;height:34px;font-size:22px}.player-name{font-size:11px}.player-ready{font-size:8px;padding:1px 4px}.board-subtitle{display:none}.board-topline{font-size:10px}.board-wrap{padding:7px;border-radius:15px}.board{gap:3px}.tile .tile-name{font-size:8px}.tile .tile-price{font-size:8px}.tile .tile-art .icon{width:20px;height:20px}.tile .tile-art{min-height:18px;margin-top:4px}.tile.corner .tile-art .icon{width:23px;height:23px}.tile.corner .tile-name{font-size:9px}.tile .stripe{height:6px}.board-center{padding-top:19px}.center-label{font-size:6px;letter-spacing:1px;gap:6px}.city-title{font-size:29px;margin-top:11px;letter-spacing:3px}.city-subtitle{font-size:8px;margin-top:5px}.city-illustration{bottom:47px;height:54%}.center-status{bottom:28px}.center-pill{font-size:9px;padding:6px 10px}.center-bottom{font-size:5px}.board-legend{gap:12px;font-size:8px}.board-legend .icon{width:10px;height:10px}.bottom-note{font-size:9px;padding:12px 10px}.bottom-note>span:last-child{display:none}.wallet-card{padding:16px}.balance strong{font-size:34px}.balance-sparkle{font-size:39px}.action-panel{padding:16px 13px}.action-panel h3{font-size:14px}.assets-panel{padding:14px 12px}.right-column{gap:12px}.feed-panel{padding:0 12px 7px}.feed{height:119px}.wallet-details{gap:9px;font-size:9px}.tip-panel{padding:17px 13px}.left-footer{font-size:8px}.page-footer{padding-top:22px}}
@media(max-width:1000px) and (min-width:761px){.game-layout{grid-template-columns:minmax(400px,1fr) 246px;gap:22px}.left-column{grid-column:1/-1;display:flex;gap:14px;order:3}.room-panel{flex:1}.player-list{flex-direction:row;flex-wrap:wrap}.player-row{flex:1;min-width:140px}.room-panel .section-heading{margin-bottom:8px}.room-code-box{margin-bottom:8px;padding:8px 12px}.room-code-box>div{display:flex;align-items:center;gap:10px}.room-code-box strong{font-size:12px}.room-bottom{flex-direction:row;align-items:center;padding-top:10px;margin-top:7px}.room-bottom p{white-space:nowrap}.tip-panel{width:210px;flex-shrink:0;margin:0}.left-footer{display:none}.welcome-bar h1{font-size:23px}.main-nav{gap:19px}.header-right{gap:12px}.nav-item{font-size:12px}.connection{display:none}.brand{font-size:18px}.brand-mark{width:39px;height:39px}.tile .tile-name{font-size:9px}.tile .tile-price{font-size:9px}.tile .tile-art .icon{width:24px;height:24px}.board-center{padding-top:19px}.city-title{font-size:31px}.center-label{font-size:7px}.city-illustration{height:56%}.board-legend{margin-bottom:15px}.page-footer{padding-top:25px}}
@media(max-width:760px){.site-header{height:69px;padding:0 18px;gap:10px}.brand{font-size:17px;gap:9px}.brand-mark{width:35px;height:35px;border-radius:10px}.brand-mark svg.icon{width:24px;height:24px}.brand small{font-size:7px;letter-spacing:2.3px}.main-nav{margin-left:auto;gap:10px}.nav-item{font-size:0;padding:0 5px}.nav-item .icon{width:19px;height:19px}.nav-item.active:after{left:5px;right:5px}.header-right{gap:5px}.connection,.header-avatar{display:none}.sound-button{width:27px}.page-shell{padding:24px 14px 0}.welcome-bar{display:block;margin:0 3px 23px}.welcome-bar .eyebrow{font-size:7px;letter-spacing:1.3px}.welcome-bar h1{font-size:21px;letter-spacing:.2px;margin:7px 0}.welcome-bar p{font-size:10px}.title-star{font-size:22px;margin-left:6px}.welcome-actions{margin-top:17px;gap:9px}.welcome-actions .button{font-size:11px;min-height:37px;padding:8px 14px}.game-layout{display:flex;flex-direction:column;gap:22px}.board-column{width:100%;order:0}.right-column{width:100%;order:1;display:grid;grid-template-columns:1fr 1fr;gap:12px;align-items:start}.left-column{width:100%;order:2;display:block}.board-topline{margin:0 3px 5px;height:27px;font-size:11px}.board-subtitle{display:inline;font-size:6px;letter-spacing:.8px}.round-badge{font-size:8px}.board-wrap{padding:6px;border-radius:13px}.board{gap:3px}.tile{border-radius:5px;padding:4px 0 2px}.tile .stripe{height:5px;border-radius:5px 5px 0 0}.tile .tile-art{min-height:15px;margin-top:3px}.tile .tile-art .icon{width:18px;height:18px}.tile .tile-name{font-size:7px;margin-top:1px;letter-spacing:-.3px}.tile .tile-price{font-size:7px;line-height:1.4}.tile.corner .tile-name{font-size:8px}.tile.corner .tile-art .icon{width:20px;height:20px}.tile.corner{border-radius:6px}.board-center{padding:15px 5px 8px;margin:1px}.center-label{font-size:5px;letter-spacing:.9px;gap:4px}.center-line{width:11px}.city-title{font-size:26px;letter-spacing:3px;margin-top:9px}.city-title i{font-size:28px;right:-27px;top:4px}.city-subtitle{font-size:7px;letter-spacing:1px;margin-top:4px}.city-illustration{height:54%;bottom:38px}.center-status{bottom:24px}.center-pill{font-size:8px;padding:4px 9px;gap:4px}.center-pill svg{width:11px;height:11px}.center-extra{font-size:7px}.center-bottom{bottom:8px;left:9px;right:9px;font-size:4px;letter-spacing:.6px}.pawn{width:12px;height:16px}.pawn:before{width:7px;height:7px}.pawn:after{width:11px;height:9px}.token-slot{bottom:2px;gap:0}.board-legend{margin:14px 0 0;gap:17px;font-size:8px}.bottom-note{display:none}.wallet-card{padding:15px 13px;min-height:135px}.wallet-top>span:first-child{font-size:10px;gap:5px}.wallet-top .icon{width:13px;height:13px}.wallet-tag{display:none}.balance{margin:13px 0;gap:5px}.balance strong{font-size:29px;letter-spacing:-1px}.balance>span:first-child{font-size:18px}.balance-sparkle{font-size:32px}.wallet-details{font-size:8px;gap:7px}.wallet-details b{margin-left:3px}.wallet-details i{display:none}.action-panel{grid-column:2;grid-row:1/3;min-height:222px;padding:17px 11px}.action-kicker{font-size:7px;letter-spacing:.9px}.action-panel h3{font-size:12px;letter-spacing:0}.action-description{font-size:9px}.dice-area{margin:16px 0;gap:6px}.die{width:34px;height:34px;padding:7px;gap:2px;border-radius:8px}.pip{width:4px;height:4px}.action-panel .button{min-height:35px;font-size:10px;padding:8px}.action-panel .text-button{font-size:8px;gap:3px;margin-top:10px}.action-panel .text-button .icon{width:11px;height:11px}.action-panel .text-button.quick-link{display:block;line-height:1.8}.assets-panel{grid-column:1;grid-row:2;padding:12px;min-height:101px}.assets-panel .section-heading{margin-bottom:5px}.section-heading h2{font-size:11px;gap:5px}.section-heading h2 .icon{width:13px;height:13px}.assets-panel .subtle-button{font-size:8px}.assets-panel .subtle-button .icon{width:9px;height:9px}.empty-assets{padding:8px 0 0;gap:8px}.empty-assets .empty-house{width:27px;height:31px;flex-shrink:0}.empty-assets .empty-house .icon{width:20px;height:20px}.empty-assets p{font-size:8px;line-height:1.9}.feed-panel{grid-column:1/-1;grid-row:3;padding:0 15px 10px}.feed{height:132px}.feed-tabs{height:40px}.feed-item{font-size:11px}.feed-tab{font-size:12px}.room-panel{padding:16px}.room-panel .section-heading{margin-bottom:12px}.room-code-box{margin-bottom:11px;padding:9px 12px}.room-code-box>div{display:flex;align-items:center;gap:14px}.room-code-box strong{font-size:14px}.room-code-box small{font-size:8px}.player-list{display:grid;grid-template-columns:1fr 1fr;gap:6px}.player-row{padding:9px 6px;gap:8px}.player-avatar{width:29px;height:32px;font-size:21px;border-radius:9px}.player-name{font-size:10px}.player-name em{font-size:8px}.player-meta{font-size:9px}.room-bottom{flex-direction:row;flex-wrap:wrap;padding-top:13px;margin-top:12px}.room-bottom .button{flex:1}.room-bottom p{width:100%}.tip-panel,.left-footer{display:none}.page-footer{font-size:8px;justify-content:center;padding:22px 0}.page-footer>span:last-child{display:none}.modal{padding:27px 22px;border-radius:17px}.modal h2{font-size:21px}.rules-grid{gap:9px}.rule-card{padding:12px}.rule-card p{font-size:10px}.toasts{right:14px;bottom:15px}.chat-form input{font-size:12px;padding:9px}.action-subbuttons{flex-direction:column}.turn-label{font-size:8px;padding:5px 3px}.tile-level{top:6px;left:2px;font-size:6px}.owner-dot{top:8px;right:3px;width:4px;height:4px}}
@media(max-width:360px){.brand{font-size:15px}.main-nav{gap:5px}.header-right{display:none}.page-shell{padding-left:10px;padding-right:10px}.welcome-bar h1{font-size:19px}.city-title{font-size:23px}.city-illustration{height:51%;bottom:36px}.tile .tile-name{font-size:6.5px}.center-label{font-size:4.5px}.center-extra{display:none}.round-badge{font-size:7px}.board-subtitle{display:none}.wallet-details{gap:4px;font-size:7px}.balance strong{font-size:26px}.section-heading h2{font-size:10px}.assets-panel .subtle-button{font-size:7px}.right-column{gap:9px}.action-panel{padding:16px 9px}}
@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
/* Collectible item cards · v1.1 */
.cards-panel{padding:16px}.cards-panel .section-heading{margin-bottom:11px}.card-count{font-size:9px;font-weight:400;color:#91a183;margin-left:2px}.cards-list{display:grid;grid-template-columns:1fr 1fr;gap:7px}.card-mini{display:flex;align-items:center;gap:7px;min-width:0;text-align:left;padding:9px 7px;border:1px solid #e9ecdf;border-radius:9px;background:#f8faf4;position:relative}.card-mini.stocked{background:var(--card-bg);border-color:color-mix(in srgb,var(--card-color) 28%,white)}.card-mini:hover{box-shadow:0 3px 9px #3b574014;transform:translateY(-1px)}.card-mini-icon{display:grid;place-items:center;color:var(--card-color);flex-shrink:0}.card-mini-icon .icon{width:21px;height:21px;stroke-width:1.6}.card-mini-text{min-width:0;flex:1}.card-mini-text b{font-size:10px;font-weight:600;display:block;white-space:nowrap}.card-mini-text small{font-size:8px;color:#96a28b;display:block;margin-top:2px}.card-quantity{position:absolute;right:5px;top:3px;font-size:8px;font-weight:650;color:var(--card-color)}.card-mini.unstocked .card-mini-icon{opacity:.5}.card-mini.unstocked .card-mini-text b{color:#91a086}.card-status{font-size:9px;line-height:1.8;color:#99a68e;padding-top:9px;display:flex;flex-direction:column;gap:3px}.active-shield{color:#4f9377;display:flex;align-items:center;gap:4px}.active-shield .icon{width:12px;height:12px}.roll-modifier{border:1px solid #e2e8d3;background:#f4f7ec;border-radius:7px;color:#6d8560;font-size:10px;display:flex;align-items:center;justify-content:center;gap:5px;margin-top:10px;padding:7px 5px}.roll-modifier .icon{width:14px;height:14px}.player-effects{display:flex;align-items:center;flex-wrap:wrap;gap:5px;margin-top:3px;color:#9aa591;font-size:8px}.shield-badge{color:#6b9c7f;display:inline-flex;align-items:center;gap:2px}.shield-badge .icon{width:10px;height:10px}.card-inventory{display:grid;gap:9px}.card-inventory-item{display:flex;align-items:center;gap:13px;width:100%;border:1px solid #e3e9da;background:#fafbf6;border-radius:12px;padding:15px;text-align:left;position:relative}.card-inventory-item.stocked{background:var(--card-bg);border-color:color-mix(in srgb,var(--card-color) 25%,white)}.card-inventory-item:hover{transform:translateX(2px)}.card-inventory-item .card-mini-icon{width:38px;height:41px;border:1px solid color-mix(in srgb,var(--card-color) 24%,white);background:#fffc;border-radius:9px;transform:rotate(-7deg)}.card-inventory-item .card-mini-icon .icon{width:25px;height:25px}.card-inventory-item .card-mini-text b{font-size:13px}.card-inventory-item .card-mini-text small{font-size:10px;margin-top:4px}.card-inventory-item .card-quantity{position:static;font-size:14px}.card-inventory-item>.icon{width:15px;height:15px;color:#a8b299}.card-acquisition{display:flex;gap:10px;margin-top:18px;border-top:1px solid #e9ecdf;padding-top:15px;color:#8d9e7d;font-size:10px;line-height:1.9}.card-acquisition>.icon{width:18px;height:18px;margin-top:2px}.card-acquisition b{font-weight:600;color:#778d66}.card-detail-hero{text-align:center;background:var(--card-bg);border:1px solid color-mix(in srgb,var(--card-color) 27%,white);border-radius:15px;padding:16px 20px 19px;position:relative;overflow:hidden}.card-detail-hero:after{content:'✦';position:absolute;right:22px;top:40px;color:var(--card-color);opacity:.13;font-size:65px}.card-detail-number{display:block;font-size:8px;letter-spacing:2px;color:var(--card-color);opacity:.8}.card-detail-icon{width:60px;height:68px;margin:16px auto 13px;display:grid;place-items:center;background:#fffd;border:2px solid color-mix(in srgb,var(--card-color) 30%,white);border-radius:12px;box-shadow:4px 4px 0 color-mix(in srgb,var(--card-color) 14%,transparent);transform:rotate(-7deg);color:var(--card-color)}.card-detail-icon .icon{width:36px;height:36px;stroke-width:1.5}.card-detail-hero h2{font-size:23px;color:var(--card-color);margin-bottom:3px}.card-detail-hero p{font-size:10px;color:var(--card-color);opacity:.9}.card-detail-hero p span{padding:0 8px}.card-description{font-size:12px;line-height:1.95;color:#7f9073;margin:18px 0}.card-option-label{display:flex;justify-content:space-between;color:#70865e;font-size:11px;margin-bottom:9px}.card-option-label>span{font-size:10px;color:#9ba78e}.step-picker{display:grid;grid-template-columns:repeat(6,1fr);gap:7px}.step-option{padding:8px 3px;font-size:15px;font-weight:600;border:1px solid #e0e7d7;border-radius:8px;background:#f8faf3;color:#8a9b78;min-height:39px}.step-option.selected{background:#e8f2e6;border-color:#77a181;color:#467757;box-shadow:0 0 0 1px #77a181}.step-option:hover{background:#edf4e8}.destination-preview{margin:12px 0;display:flex;align-items:center;gap:7px;font-size:11px;color:#839571;background:#f5f8ee;border-radius:8px;padding:11px}.destination-preview b{color:#56764a;margin-left:5px}.destination-preview>.icon{width:16px;height:16px}.destination-preview small{font-size:9px;margin-left:auto;color:#a39b62}.card-notice{font-size:10px;line-height:1.9;display:flex;align-items:flex-start;gap:7px;color:#8a9375;background:#f6f5e9;border:1px solid #eeecd9;border-radius:8px;padding:10px 12px;margin-top:14px}.card-notice>.icon{width:14px;height:14px;margin-top:3px}.card-effect-preview{display:flex;align-items:center;flex-direction:column;gap:8px;color:#7d9670;background:#f7f9f1;padding:20px 12px;border:1px dashed #dce5cd;border-radius:12px}.card-effect-preview>.icon{width:27px;height:27px}.card-effect-preview strong{font-size:16px;font-weight:600}.card-effect-preview small{font-size:10px;color:#9ca88e}.feed-item.card{color:#8d79a0}
@media(max-width:1190px){.cards-panel{padding:14px 12px}.card-mini{padding:9px 5px;gap:5px}.card-mini-icon .icon{width:18px;height:18px}.card-mini-text b{font-size:9px}.card-mini-text small{font-size:7px}}
@media(max-width:760px){.cards-panel{grid-column:1/-1;grid-row:3;padding:15px}.feed-panel{grid-row:4}.cards-list{grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.card-mini{display:flex;flex-direction:column;gap:7px;text-align:center;padding:12px 4px 9px}.card-mini-icon .icon{width:25px;height:25px}.card-mini-text b{font-size:10px}.card-mini-text small{font-size:8px}.card-quantity{font-size:9px;right:6px;top:4px}.card-status{font-size:9px;flex-direction:row;flex-wrap:wrap;justify-content:space-between;gap:5px;padding-top:10px}.cards-panel .section-heading h2{font-size:12px}.card-count{font-size:9px}.cards-panel .subtle-button{font-size:10px}.roll-modifier{font-size:8px;line-height:1.7;gap:3px;padding:5px 3px}.roll-modifier .icon{width:11px;height:11px}.step-picker{gap:6px}.step-option{padding:7px 2px}.card-description{font-size:11px}.card-inventory-item{padding:12px}.card-detail-hero{padding:14px 16px}.card-detail-icon{margin:13px auto 10px}.player-effects{font-size:7px;gap:4px}}
@media(max-width:360px){.cards-panel{padding:13px 11px}.cards-list{gap:5px}.card-mini-text b{font-size:9px}.card-mini-text small{font-size:7px}.destination-preview{font-size:10px;padding:10px 7px}.destination-preview small{font-size:8px}}
/* Keep the dialog close control above positioned card artwork on narrow screens. */
.modal-close{z-index:4;background:#fffefae8}
/* v1.2 · a room-scoped conversation that stays available while playing */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.header-chat{display:flex;align-items:center;gap:7px;font-size:11px;padding:8px 11px;background:#f0f6ed;border:1px solid #e2ebdc;border-radius:8px;color:#6f8a60;white-space:nowrap}.header-chat>.icon{width:16px;height:16px}.header-chat:hover{background:#e6f0e1}.chat-unread-badge{display:inline-flex;align-items:center;justify-content:center;min-width:17px;height:17px;padding:0 4px;font:600 9px/1 var(--font);border-radius:9px;background:#d49761;color:#fff;flex-shrink:0}.chat-unread-badge[hidden],.chat-drawer[hidden],.chat-launcher[hidden],.chat-jump[hidden],.chat-emoji-picker[hidden]{display:none!important}.chat-entry-tab{display:flex;align-items:center;gap:5px;color:var(--green)}.chat-entry-tab>.icon{width:11px;height:11px}.chat-entry-tab .chat-unread-badge{height:14px;min-width:14px;font-size:8px}.feed-tabs>.feed-tab.active{display:flex;align-items:center}.chat-launcher{position:fixed;right:25px;bottom:23px;z-index:40;display:flex;align-items:center;justify-content:center;gap:9px;background:#2c8574;color:white;border:1px solid #327764;border-radius:30px;padding:12px 18px;box-shadow:0 7px 24px #20534325;font-size:12px;font-weight:600}.chat-launcher>.icon{width:20px;height:20px}.chat-launcher:hover{background:#237562;transform:translateY(-2px)}.chat-launcher.has-unread{box-shadow:0 0 0 4px #d8ae792d,0 7px 24px #20534325}.chat-launcher .chat-unread-badge{background:#f1ca88;color:#684f2d}.chat-drawer{position:fixed;right:25px;bottom:84px;width:386px;height:660px;max-height:calc(100dvh - 118px);z-index:50;display:flex;flex-direction:column;border:1px solid #dce6d3;border-radius:19px;background:#fffefa;box-shadow:0 18px 70px #243b3033,0 2px 9px #243b3010;overflow:hidden;animation:toast-in .2s ease-out}.chat-drawer-header{display:flex;align-items:center;gap:11px;padding:16px 17px 13px;flex-shrink:0;border-bottom:1px solid #e9eee2;background:#f8faf4}.chat-room-symbol{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:#e8f0df;color:#698b5c}.chat-room-symbol .icon{width:23px;height:23px}.chat-drawer-header h2{font-size:15px;font-weight:650;letter-spacing:.5px}.chat-drawer-header p{font-size:10px;color:#99a58b;margin-top:2px}.chat-drawer-header>button{margin-left:auto}.chat-room-notice{display:flex;align-items:center;justify-content:center;gap:5px;flex-shrink:0;padding:7px 12px;color:#9aaa88;font-size:9px;line-height:1.7;background:#fdfdf8;border-bottom:1px solid #f0f2e8}.chat-room-notice .icon{width:12px;height:12px}.chat-messages-wrap{flex:1;min-height:65px;position:relative;display:flex;background-image:radial-gradient(#bfcdb718 .8px,transparent .8px);background-size:12px 12px}.chat-messages{position:relative;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;padding:17px 15px;width:100%;scrollbar-width:thin;scrollbar-color:#cbd8be transparent;scroll-behavior:auto;min-height:0}.chat-empty{padding:33px 5px;text-align:center;color:#9ca990}.chat-empty>span{font-size:34px;display:block;opacity:.8;margin-bottom:12px}.chat-empty h3{font-size:13px;font-weight:600;color:#869b74}.chat-empty p{font-size:11px;line-height:1.9;margin-top:9px}.chat-message{display:flex;align-items:flex-start;gap:8px;margin-bottom:16px;max-width:100%}.chat-message:last-child{margin-bottom:1px}.chat-avatar{width:29px;height:31px;border-radius:9px;display:grid;place-items:center;font-size:21px;flex-shrink:0;background:color-mix(in srgb,var(--speaker-color) 10%,white);border:1px solid color-mix(in srgb,var(--speaker-color) 17%,white);margin-top:19px}.chat-message-body{max-width:calc(100% - 50px);min-width:0;display:flex;flex-direction:column;align-items:flex-start}.chat-message-meta{display:flex;align-items:center;gap:7px;font-size:9px;line-height:1.7;color:#a5af9a;margin-bottom:4px;min-width:0;max-width:100%}.chat-message-meta b{font-weight:500;color:#8b9b7c;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:145px}.chat-message-meta time{font-size:8px;color:#b7bfad;white-space:nowrap}.chat-bubble{background:#f1f4e9;border:1px solid #e6ebdc;color:#61754f;border-radius:3px 12px 12px;padding:10px 12px;font-size:12px;line-height:1.8;white-space:pre-wrap;overflow-wrap:anywhere;word-break:break-word;max-width:100%;min-width:30px;box-shadow:0 1px 2px #82917204}.chat-message.mine{flex-direction:row-reverse}.chat-message.mine .chat-message-body{align-items:flex-end}.chat-message.mine .chat-message-meta{flex-direction:row-reverse}.chat-message.mine .chat-bubble{background:#e5f1e9;border-color:#d6e7d7;color:#467153;border-radius:12px 3px 12px 12px}.chat-jump{position:absolute;bottom:10px;left:50%;transform:translateX(-50%);white-space:nowrap;padding:7px 12px;border:1px solid #d9e5d1;background:#fffefaf5;color:#6a8b57;box-shadow:0 3px 14px #53694812;border-radius:20px;font-size:10px;z-index:2}.chat-jump:active:not(:disabled){transform:translateX(-50%) translateY(1px)}.chat-quick-bar{padding:9px 12px 8px;display:flex;align-items:center;gap:8px;border-top:1px solid #e9eedf;flex-shrink:0;background:#fafcf6}.chat-quick-bar>span{font-size:9px;color:#a3b094;white-space:nowrap}.chat-quick-bar>div{display:flex;gap:6px;overflow-x:auto;scrollbar-width:none;min-width:0;padding:2px}.chat-quick-bar>div::-webkit-scrollbar{display:none}.chat-quick-bar button{font-size:10px;color:#859c70;border:1px solid #e1e9d6;background:#f5f8ef;border-radius:20px;white-space:nowrap;padding:5px 10px}.chat-quick-bar button:hover:not(:disabled){background:#e9f2e2;border-color:#ceddbf}.chat-composer{padding:10px 13px 2px;flex-shrink:0;background:white;border-top:1px solid #f2f4ed}.chat-composer textarea{display:block;width:100%;height:56px;max-height:90px;min-height:48px;resize:none;border:1px solid #e2e9d9;border-radius:9px;background:#fbfcf8;color:#4e6943;font:12px/1.8 var(--font);padding:9px 11px;outline-offset:1px}.chat-composer textarea::placeholder{color:#b3bea9}.chat-composer textarea:focus{border-color:#95b88b;outline:2px solid #e5efde}.chat-compose-toolbar{display:flex;align-items:center;gap:7px;padding-top:6px}.chat-compose-toolbar .icon-button{height:28px;width:28px}.chat-compose-toolbar .icon{height:17px;width:17px}.chat-key-hint{font-size:8px;color:#b0baa5;flex:1;white-space:nowrap}.chat-char-count{font-size:9px;color:#a7b19c;font-variant-numeric:tabular-nums;margin-left:auto}.chat-char-count.over-limit{color:#c37c65}.chat-compose-toolbar .button{border-radius:7px;font-size:10px;min-height:29px;gap:5px;padding:5px 10px}.chat-compose-toolbar .button>.icon,.chat-compose-toolbar .button span>.icon{width:12px;height:12px}.chat-send-status{font-size:9px;line-height:1.7;min-height:5px;color:#98a58b;margin:3px 2px 0}.chat-send-status.error{color:#b47b66;min-height:17px}.chat-emoji-picker{flex-shrink:0;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:5px;padding:11px 14px;background:#f7faf1;border-top:1px solid #e6eddb}.chat-emoji-picker button{font-size:22px;line-height:1;min-height:34px;border-radius:7px}.chat-emoji-picker button:hover{background:#e8efdf;transform:scale(1.08)}.chat-drawer-footer{text-align:center;font-size:8px;color:#b8c0ae;padding:5px 9px 9px;background:white;flex-shrink:0}.toasts{bottom:86px}
@media(max-width:1190px){.header-right{gap:12px}.header-chat{padding:7px 9px;font-size:10px;gap:5px}}
@media(max-width:760px){.header-chat{display:none}.chat-launcher{right:15px;bottom:max(17px,env(safe-area-inset-bottom));padding:11px 15px;font-size:11px;gap:7px}.chat-launcher>.icon{width:18px;height:18px}.chat-drawer{right:12px;left:12px;bottom:76px;width:auto;height:650px;max-height:calc(100dvh - 108px);border-radius:17px}.chat-drawer-header{padding:13px 14px 11px;gap:9px}.chat-drawer-header h2{font-size:14px}.chat-room-symbol{width:34px;height:34px;border-radius:10px}.chat-messages{padding:15px 12px}.chat-bubble{font-size:12px;padding:9px 11px}.chat-message{gap:7px;margin-bottom:15px}.chat-avatar{width:27px;height:29px;font-size:20px}.chat-message-body{max-width:calc(100% - 41px)}.chat-key-hint{font-size:7px;letter-spacing:-.3px}.chat-composer{padding:9px 11px 1px}.chat-composer textarea{font-size:16px;height:58px;line-height:1.55;padding:8px 10px}.chat-quick-bar{padding:7px 10px;gap:6px}.chat-quick-bar button{font-size:10px}.chat-compose-toolbar{gap:5px}.chat-emoji-picker{padding:8px 12px;gap:3px}.chat-emoji-picker button{min-height:30px;font-size:21px}.chat-drawer-footer{font-size:7px;padding:5px 5px 8px}.toasts{bottom:80px}.page-footer{padding-bottom:75px}.chat-entry-tab .chat-unread-badge{height:15px;min-width:15px;font-size:8px}}
@media(max-width:360px){.chat-key-hint{display:none}.chat-room-notice{font-size:8px;padding:6px 8px}.chat-message-meta b{max-width:118px}.chat-drawer{left:9px;right:9px}.chat-drawer-header p{font-size:9px}}
/* v1.3 · consensual, interest-free city-coin loans */
.wallet-loans{position:relative;z-index:1;border-top:1px solid #dce4d1;margin-top:12px;padding-top:10px}.wallet-finance-stats{display:flex;align-items:center;justify-content:space-between;gap:6px;font-size:8px;color:#97a38c;margin-bottom:9px}.wallet-finance-stats b{color:#718560;font-size:10px;font-weight:600;display:block;margin-top:1px;font-variant-numeric:tabular-nums}.wallet-borrow-button{display:flex;align-items:center;justify-content:center;width:100%;border-radius:7px;border:1px solid #cadbc2;background:#fffef9aa;color:#668657;padding:7px 8px;font-size:11px;font-weight:600;gap:6px}.wallet-borrow-button:hover{background:#fffef9}.wallet-borrow-button .icon{width:15px;height:15px}.wallet-borrow-button>span:last-child{margin-left:auto}.wallet-borrow-button>span:first-child{margin-right:auto}.loan-request-alert{display:flex;align-items:center;justify-content:center;gap:5px;width:100%;font-size:9px;background:#fcf1d9;color:#ae853f;border:1px solid #ead6aa;border-radius:6px;margin-top:7px;padding:6px}.loan-request-alert[hidden]{display:none!important}.loan-request-alert .icon{width:12px;height:12px}.loan-request-alert b{font-size:10px}.loan-wallet-notice{display:block;text-align:center;width:100%;font-size:8px;color:#9ba88c;margin-top:5px;padding:1px 0}.loan-wallet-notice.urgent{color:#b9815e}.loan-heading{display:flex;align-items:center;gap:12px;margin:0 0 19px}.loan-heading .modal-symbol{margin-bottom:0;flex-shrink:0}.loan-heading h2{font-size:21px;margin:0 0 4px}.loan-heading p{font-size:10px;color:#9aa78e}.loan-summary{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin:12px 0 20px}.loan-summary>div{background:#f3f7ec;border:1px solid #e7eddc;border-radius:10px;padding:11px 12px}.loan-summary small{display:block;font-size:9px;color:#9eab8f;margin-bottom:3px}.loan-summary b{display:block;font-size:20px;letter-spacing:-.5px;color:#668053;font-variant-numeric:tabular-nums}.loan-red{color:#b57c63!important}.loan-tabs{display:flex;gap:5px;border-bottom:1px solid #e4ebd9;margin-bottom:17px}.loan-tabs>button{flex:1;padding:10px 5px;color:#a0ad91;font-size:12px;border-bottom:2px solid transparent;position:relative}.loan-tabs>button.active{color:#5e8652;border-bottom-color:#729564;background:#f6f9f0;border-radius:6px 6px 0 0;font-weight:600}.loan-tabs i{display:inline-block;width:5px;height:5px;background:#d3a457;border-radius:50%;margin:0 0 3px 5px}.loan-tab-content .form-field{margin:14px 0}.loan-tab-content .form-field>span{display:flex;justify-content:space-between;align-items:center}.loan-tab-content .form-field>span>small{font-size:9px;font-weight:400;color:#9da991;margin:0}.loan-amount-wrap{display:flex;align-items:center;border:1px solid #dfe7d5;background:#f8faf3;border-radius:9px;overflow:hidden;padding-left:12px}.loan-amount-wrap>b{font-size:19px;color:#97a884;font-weight:500}.loan-amount-wrap input{font-size:22px!important;border:none!important;background:transparent!important;border-radius:0!important;font-weight:600;color:#658550!important;height:48px!important;box-shadow:none;min-width:0}.loan-amount-wrap:focus-within{outline:2px solid #c6dcc0;outline-offset:1px}.loan-amount-wrap input:focus-visible{outline:0}.loan-presets{display:flex;gap:7px;margin-top:-5px}.loan-presets button{flex:1;border:1px solid #e1e8d5;border-radius:6px;background:#fcfdf9;color:#9aa98b;font-size:10px;padding:5px 3px}.loan-presets button.selected{border-color:#9aba8a;background:#eff6e8;color:#6b9056}.loan-term-picker{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}.loan-term-picker button{padding:10px 6px;border:1px solid #e4e9db;border-radius:9px;background:#fbfcf7;color:#8f9d80;font-size:12px}.loan-term-picker button.selected{border-color:#97b788;color:#5f8550;background:#f0f6e9;box-shadow:0 0 0 1px #97b78815}.loan-term-picker small{display:block;font-size:8px;margin-top:4px;color:#a2ae95}.loan-help{display:flex;align-items:flex-start;gap:9px;border:1px solid #e5ebd8;border-radius:9px;background:#f7f9ee;padding:11px;color:#8b9c76;font-size:10px;line-height:1.9;margin-top:14px}.loan-help>.icon{width:15px;height:15px;margin-top:3px}.loan-help.warning{background:#fcf6e8;border-color:#ede0bf;color:#a49162}.loan-bot-policy{font-size:9px;color:#a39577;line-height:1.8;padding:8px 3px 0}.loan-form-status{font-size:10px;line-height:1.8;color:#8ca078;margin:12px 0}.loan-form-status.error{color:#b18165}.loan-footnote{font-size:9px;color:#aeb9a0;text-align:center;line-height:1.9;padding-top:17px;border-top:1px solid #edf0e5;margin-top:19px}.loan-empty{text-align:center;padding:25px 5px;color:#a1b08f}.loan-empty>.icon{width:32px;height:32px;stroke-width:1.3;margin-bottom:13px;color:#b4c3a3}.loan-empty h3{font-size:13px;color:#8fa17d;font-weight:600}.loan-empty p{font-size:10px;line-height:1.9;margin-top:7px}.loan-record{background:#fafcf5;border:1px solid #e4eada;border-radius:11px;padding:14px;margin-top:11px}.loan-record:first-child{margin-top:0}.loan-record-head{display:flex;align-items:center;justify-content:space-between;gap:8px}.loan-record-head strong{font-size:12px;font-weight:600;overflow-wrap:anywhere;min-width:0}.loan-status{font-size:8px;line-height:1.5;white-space:nowrap;border-radius:5px;padding:3px 6px;background:#edf0e5;color:#a0aa93;flex-shrink:0}.loan-status.pending{background:#fbf1d9;color:#ba944f}.loan-status.active,.loan-status.accepted{background:#e9f3e6;color:#789c60}.loan-status.overdue,.loan-status.defaulted{background:#f9e9e1;color:#b38068}.loan-status.repaid{background:#e4f3ed;color:#62927c}.loan-record-amount{font-size:24px;letter-spacing:-.5px;font-weight:600;color:#72935e;margin:9px 0 6px;font-variant-numeric:tabular-nums}.loan-record-amount small{font-size:9px;font-weight:400;letter-spacing:0;color:#9dab8f;margin-left:5px}.loan-record>p{font-size:9px;line-height:1.9;color:#a1ad93}.loan-record>p b{color:#9da775;font-weight:500}.loan-record-actions{display:flex;gap:8px;margin-top:11px;align-items:center;flex-wrap:wrap}.loan-record-actions small{font-size:9px;color:#aab69b}.loan-record-actions .button{font-size:10px;min-height:30px}.loan-record-facts{display:flex;flex-wrap:wrap;gap:11px;font-size:9px;color:#9da98f;margin-bottom:5px}.loan-confirm-money{border:1px solid #e3ead7;border-radius:11px;background:#f3f8ec;padding:17px;text-align:center;margin:18px 0}.loan-confirm-money>span{font-size:10px;color:#9da98d;display:block}.loan-confirm-money>b{display:block;font-size:24px;color:#688a54;margin-top:7px;font-weight:600;font-variant-numeric:tabular-nums}.loan-confirm-money i{font-style:normal;font-weight:400;font-size:17px;color:#afbd9d;margin:0 9px}.loan-filter{display:flex;align-items:center;gap:7px;font-size:10px;color:#879d73;margin:0 0 13px;flex-wrap:wrap}.loan-filter input{accent-color:#709b5e}.loan-filter>span{margin-left:auto;font-size:8px;color:#b0baa2}.feed-item.loan{color:#a18c62}
@media(max-width:760px){.wallet-finance-stats{font-size:7px;gap:4px}.wallet-finance-stats b{font-size:9px}.wallet-borrow-button{font-size:9px;padding:6px;gap:3px}.wallet-borrow-button .icon{width:12px;height:12px}.wallet-loans{margin-top:10px;padding-top:8px}.loan-wallet-notice{font-size:7px;line-height:1.7}.loan-request-alert{font-size:7px;padding:5px 3px;flex-wrap:wrap;gap:2px}.loan-request-alert .icon{width:10px;height:10px}.loan-heading{gap:9px;align-items:center;margin-bottom:15px}.loan-heading h2{font-size:18px}.loan-heading p{font-size:9px}.loan-heading .modal-symbol{width:38px;height:40px}.loan-heading .modal-symbol .icon{width:22px;height:22px}.loan-summary{gap:6px;margin-bottom:14px}.loan-summary>div{padding:9px 7px}.loan-summary b{font-size:17px;letter-spacing:-.4px}.loan-summary small{font-size:8px}.loan-tabs{margin-bottom:13px}.loan-tabs>button{font-size:11px;padding:9px 3px}.loan-record{padding:12px}.loan-record-head strong{font-size:11px}.loan-record-amount{font-size:22px}.loan-record-amount small{font-size:8px;display:block;margin:1px 0 0}.loan-term-picker{gap:6px}.loan-term-picker button{font-size:11px;padding:9px 3px}.loan-term-picker small{font-size:7px}.loan-tab-content .form-field>span>small{font-size:8px}.loan-confirm-money>b{font-size:22px}.loan-help{padding:9px;font-size:9px;gap:6px}.loan-bot-policy{font-size:8px}.loan-form-status{font-size:9px}.loan-footnote{font-size:8px;margin-top:14px;padding-top:13px}.loan-filter{font-size:9px;gap:5px}.loan-filter>span{font-size:7px}.loan-record-facts{font-size:8px;gap:8px}}
