:root{--yellow:#f3ed29;--ink:#1b211e;--cream:#f9f8ef;--muted:#747c73;--line:#e2e5db;--green:#35795c}*{box-sizing:border-box}body{margin:0;background:#192a25;color:var(--ink);font:15px/1.45 'Segoe UI',Arial,sans-serif;min-height:100dvh;display:flex;justify-content:center;align-items:center;background-image:radial-gradient(ellipse at 65% 50%,#405446 0,transparent 60%),linear-gradient(135deg,#1d3028,#15231f)}button,input,select,textarea{font:inherit}button{cursor:pointer;border:0;color:inherit;touch-action:manipulation}button:disabled{opacity:.5;cursor:default}button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #8b55db;outline-offset:2px}[hidden]{display:none!important}button:active{transform:translateY(1px)}#game{width:100%;max-width:480px;height:100dvh;max-height:1050px;background:var(--cream);position:relative;display:flex;flex-direction:column;overflow:hidden;isolation:isolate;box-shadow:0 30px 100px #0005}header{display:flex;align-items:center;justify-content:space-between;padding:15px 18px 12px;background:var(--cream);padding-top:max(15px,env(safe-area-inset-top));z-index:3}.brand{display:flex;align-items:center;gap:10px}.brand img{width:77px;height:39px;object-fit:contain}.brand>div{border-left:1px solid #c9cec0;padding-left:10px;font-size:15px;font-weight:850;letter-spacing:1.5px;line-height:1.1}.brand span{display:block;font-size:6px;letter-spacing:.7px;margin-top:5px}.wallet{background:#eeefdd;border:1px solid #dedfc7;border-radius:22px;min-height:38px;padding:7px 12px;font-size:14px;white-space:nowrap}.wallet span{color:#b49d0c;text-shadow:0 1px #fff}.shift{display:flex;justify-content:space-between;align-items:center;padding:0 18px 10px;font-size:11px;flex-wrap:wrap;gap:3px;z-index:2}.shift b{font-size:11px;font-weight:600;letter-spacing:.3px}.sun{font-size:16px;color:#b89d0c;font-style:normal;margin-right:5px}.shift button{font-size:10px;background:none;padding:5px 0;min-height:26px;color:var(--green)}#world{position:relative;flex:1;min-height:180px;background:#b5c4a6;overflow:hidden;touch-action:none}#canvas{width:100%;height:100%;display:block;touch-action:none}.scene-title{position:absolute;top:16px;left:17px;display:flex;align-items:flex-start;gap:7px;pointer-events:none;color:#314333;font-size:10px;font-weight:800;letter-spacing:1.4px;text-shadow:0 1px #e4ebdc}.scene-title small{display:block;font-size:10px;font-weight:400;letter-spacing:0;margin-top:3px}.live-dot{width:6px;height:6px;background:var(--green);border-radius:50%;margin-top:4px}.needs{position:absolute;right:14px;top:16px;display:grid;gap:7px}.needs button{background:#fffff0e0;box-shadow:0 2px 5px #25452e10;border:1px solid #ffffff70;width:47px;border-radius:12px;padding:5px 7px;font-size:11px}.needs span{color:#8c8b20;margin-right:4px}.needs div{height:3px;background:#d9dfcc;border-radius:3px;overflow:hidden;margin-top:4px}.needs i{display:block;height:100%;background:#6b9150;width:90%}.map-tools{position:absolute;right:14px;top:140px;display:grid;gap:5px}.map-tools button{width:40px;height:40px;background:#ffffedce;backdrop-filter:blur(5px);border:1px solid #ffffffa0;border-radius:11px;font-size:22px;color:#46553e}.world-hint{position:absolute;bottom:10px;left:0;right:0;text-align:center;pointer-events:none;font-size:7px;color:#34482c;letter-spacing:1px;font-weight:700;text-shadow:0 1px #fff8}.mini-map{position:absolute;bottom:30px;left:15px;border:3px solid #fff9;border-radius:11px;background:#90a686;box-shadow:0 3px 10px #183b281c;overflow:hidden;width:80px;height:83px;pointer-events:none}.mini-map canvas{width:76px;height:64px;display:block}.mini-map span{display:block;text-align:center;font-size:6px;letter-spacing:1.3px;font-weight:800;background:#f9fae8bb;padding:1px}.mode{position:absolute;right:14px;bottom:30px;background:#f5f5e5df;backdrop-filter:blur(4px);border:1px solid #fff8;border-radius:20px;font-size:11px;min-height:34px;padding:7px 12px}.mode span{color:#63834e;margin-right:4px}#context{position:relative;z-index:2;padding:12px 18px 13px;border-radius:20px 20px 0 0;margin-top:-12px;background:var(--cream);box-shadow:0 -7px 20px #17361b09}.context-top{display:flex;align-items:center;justify-content:space-between;height:18px}.eyebrow{font-size:9px;font-weight:800;letter-spacing:1.6px;color:#828b78}.context-top button{border:1px solid #d7dccd;background:transparent;border-radius:50%;font-size:10px;width:24px;height:24px;color:#87907e}.context-main{display:flex;align-items:center;gap:10px;margin:10px 0 12px}.context-icon{width:39px;height:39px;background:#ebeecf;display:grid;place-items:center;border-radius:12px;font-size:23px;color:#7b8b36;flex-shrink:0}.context-copy{display:grid;gap:3px}.context-copy b{font-size:14px;font-weight:750}.context-copy>span{font-size:11px;color:var(--muted)}.primary{background:var(--yellow);border-radius:10px;font-weight:750;min-height:44px;padding:11px 14px;width:100%;display:flex;justify-content:center;align-items:center;gap:12px;font-size:13px;box-shadow:0 2px 0 #d1cd1d}.primary span{margin-left:auto}.secondary{border:1px solid #daddcf;background:#f6f7ec;border-radius:10px;min-height:44px;padding:10px 13px;font-size:13px;font-weight:600}.danger{color:#b34239;border-color:#dfb7b1}nav{display:flex;justify-content:space-around;background:var(--cream);padding:6px 8px max(8px,env(safe-area-inset-bottom));border-top:1px solid var(--line);z-index:2}nav button{background:transparent;position:relative;flex:1;min-height:49px;display:grid;justify-items:center;align-content:center;gap:2px;color:#9b9f92;font-size:9px;font-weight:600}nav button>span{font-size:21px;line-height:1.1}nav button.active{color:#283722}nav button.active>span{background:var(--yellow);box-shadow:0 0 0 4px var(--yellow);border-radius:8px}nav i{position:absolute;top:4px;right:20%;width:5px;height:5px;background:#c0b323;border-radius:50%}#toast{position:absolute;top:105px;left:18px;right:18px;background:#1e2a24ed;backdrop-filter:blur(8px);color:#fcffec;padding:13px 16px;border-radius:13px;font-size:13px;z-index:15;box-shadow:0 6px 24px #0002}#bubble{position:absolute;top:85px;left:18px;max-width:235px;background:#fffff4ef;border:1px solid white;border-radius:13px 13px 13px 2px;padding:10px 13px;font-size:12px;box-shadow:0 6px 15px #25442a16;pointer-events:none}#bubble small{display:block;color:#68805b;font-size:9px;font-weight:800;letter-spacing:1px;margin-bottom:3px}#sheetBackdrop{position:absolute;inset:0;background:#15291c66;backdrop-filter:blur(3px);z-index:20}#sheet{position:absolute;left:0;right:0;bottom:0;max-height:87%;border-radius:24px 24px 0 0;background:var(--cream);z-index:21;display:flex;flex-direction:column;padding:0 20px max(18px,env(safe-area-inset-bottom));box-shadow:0 -12px 50px #1a35292a}.sheet-handle{width:34px;height:4px;background:#d9decf;border-radius:3px;align-self:center;margin:10px 0 4px}.sheet-head{display:flex;justify-content:space-between;align-items:center;padding:10px 0 14px;gap:10px;border-bottom:1px solid var(--line)}h2{font-size:23px;letter-spacing:-.7px;line-height:1.15;margin:4px 0 0}.sheet-head button{width:44px;height:44px;background:#eaeede;border-radius:50%;font-size:25px}#sheetBody{overflow:auto;padding-top:15px;overscroll-behavior:contain;scrollbar-width:thin}p{margin:0 0 14px;color:#687260;font-size:13px}.notice{padding:12px;border:1px solid #dce2c3;background:#eef1de;border-radius:12px;font-size:12px;color:#596347;margin-bottom:14px}.task-card{border:1px solid #dfe3d4;border-radius:15px;background:#fffef6;padding:15px;margin-bottom:12px}.task-card h3{font-size:15px;margin:6px 0}.task-card p{font-size:12px;margin-bottom:12px}.task-meta{display:flex;gap:12px;font-size:10px;color:#7d866d;margin-bottom:10px}.chip{font-size:9px;padding:4px 8px;background:#eaf0dc;border-radius:5px;font-weight:800;letter-spacing:.7px;display:inline-block;color:#637049}.row{display:flex;gap:9px;align-items:center}.row>*{flex:1}.row .secondary{flex:initial}.spaced{margin:14px 0}.progress{height:7px;border-radius:5px;background:#e3e8d5;overflow:hidden;margin:12px 0}.progress i{display:block;height:100%;background:#c6cd28;width:0;transition:width .3s}.answer{display:block;text-align:left;border:1px solid #dce1d0;padding:13px 14px;border-radius:12px;background:#fffef7;width:100%;margin:8px 0;min-height:48px;font-size:13px}.answer:hover{border-color:#959f58;background:#f6f6d4}.question{font-size:17px;font-weight:700;line-height:1.35;margin:17px 0 12px}.result-score{font-size:62px;font-weight:800;letter-spacing:-3px;text-align:center;margin:0;line-height:1.2}.result-score small{font-size:16px;letter-spacing:0;font-weight:400;color:#82916e}.result-label{text-align:center;color:#5b7650;font-size:13px;margin-bottom:20px}.reward{display:flex;justify-content:center;gap:10px;margin:12px 0 20px}.reward span{border-radius:20px;padding:8px 14px;background:#e7edcf;font-size:13px;font-weight:700}.details{display:grid;gap:9px;font-size:12px;margin:15px 0}.details>div{display:flex;justify-content:space-between;gap:12px}.details b{font-weight:600;color:#4a5f3c}.section-label{font-size:10px;font-weight:800;letter-spacing:1.5px;color:#7e8b70;margin:20px 0 10px}.career-step{display:flex;align-items:center;gap:14px;padding:12px 0;border-bottom:1px solid #e5e8d8}.career-step>span{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:#e7ebdc;color:#7d8970;font-size:12px;flex-shrink:0}.career-step.current>span{background:var(--yellow);color:#28371f}.career-step b{font-size:14px}.career-step small{display:block;font-size:11px;color:#7d8972}.card{background:#f3ed29;border-radius:17px;padding:18px;position:relative;overflow:hidden;box-shadow:0 8px 20px #534e1e12}.card:after{content:'X';font-size:250px;font-weight:900;color:#1e2a1807;position:absolute;right:-30px;bottom:-70px;pointer-events:none}.card img{width:90px}.card .card-title{font-size:8px;font-weight:850;letter-spacing:1.7px;margin-top:8px}.card hr{border:0;border-top:1px solid #28341c30;margin:13px 0}.card .avatar{font-size:48px;line-height:1}.card h3{margin:0;font-size:20px;line-height:1.2}.card .code{font-family:monospace;font-size:11px;margin-top:5px}.card small{font-size:9px;letter-spacing:1px}.form{display:grid;gap:13px}.form label{font-size:12px;font-weight:650;display:grid;gap:5px}input,select,textarea{width:100%;min-height:44px;border:1px solid #d4dcca;border-radius:9px;padding:10px 11px;background:#fffff8;color:#28371f;font-size:14px}textarea{min-height:90px;resize:vertical}.employee-row{display:flex;align-items:center;gap:10px;padding:12px 0;border-bottom:1px solid #e0e4d5}.employee-row>div{flex:1}.employee-row b{font-size:13px}.employee-row small{display:block;font-size:10px;color:#7d8a70}.employee-row button{font-size:11px;min-height:44px;padding:8px;border-radius:8px;background:#e9edda}.employee-icon{width:32px;height:37px;border-radius:9px;background:#d8dfb7;display:grid;place-items:center;font-size:21px}.chat-message{padding:12px;background:#fffef4;border:1px solid #e3e8d5;border-radius:12px;margin-bottom:9px}.chat-message strong{font-size:12px}.chat-message small{font-size:9px;color:#819071;margin-left:6px}.chat-message p{white-space:pre-wrap;overflow-wrap:anywhere;color:#3c4d35;margin:5px 0;font-size:13px}.chat-message button{background:transparent;font-size:10px;min-height:26px;color:#899579}.chat-compose{display:flex;gap:8px;margin:12px 0;position:sticky;bottom:0;background:var(--cream);padding:8px 0}.chat-compose .primary{width:58px;flex-shrink:0}.tab-strip{display:flex;gap:5px;margin-bottom:15px}.tab-strip button{background:#e8edda;padding:10px 12px;border-radius:9px;font-size:12px;min-height:44px}.tab-strip button.chosen{background:var(--yellow)}.empty{text-align:center;padding:25px 15px;color:#89947c;font-size:13px}#auth{position:absolute;inset:0;z-index:30;background:#f9f8efeF;backdrop-filter:blur(15px);padding:35px 24px;overflow:auto}#auth img{width:130px;margin-bottom:20px}#auth h2{font-size:32px;line-height:1.1;margin-bottom:15px}#auth .notice{margin-top:20px}.error{font-size:12px;color:#b04438;min-height:18px;margin:8px 0}table{border-collapse:collapse;width:100%;font-size:11px}td,th{padding:7px 4px;border-bottom:1px solid #d9e0ca;text-align:left}.desktop-note{display:none;color:#e5e9bc;position:fixed;left:max(24px,calc(50% - 570px));top:calc(50% - 200px)}.desktop-note>span{font-size:9px;letter-spacing:3px;color:#a1b2a0}.desktop-note h1{font-size:47px;font-weight:650;letter-spacing:-2px;line-height:1.05;margin:20px 0}.desktop-note p{color:#a6b8a7;font-size:14px;line-height:1.7}.desktop-note>div{font-size:9px;letter-spacing:1px;color:#8eaa91;margin-top:45px}@media(min-width:1100px){#game{margin-left:280px;max-height:900px;height:96dvh;border:7px solid #637063;border-radius:38px}.desktop-note{display:block}}@media(max-height:700px){header{padding-top:9px;padding-bottom:6px}.shift{padding-bottom:4px}#context{padding-top:8px;padding-bottom:9px}.context-main{margin:6px 0}.context-copy b{font-size:13px}#world .mini-map{bottom:26px;width:64px;height:66px}.mini-map canvas{width:60px;height:50px}.brand img{height:32px}.sheet-head{padding:6px 0 10px}.map-tools{top:120px;gap:3px}.map-tools button{height:34px;width:34px}nav{padding-top:3px}nav button{min-height:43px}.context-icon{width:31px;height:31px;font-size:20px}.world-hint{font-size:6px}.scene-title small{display:none}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

#sheetBody p{font-size:14px}nav button{font-size:11px}.primary{font-size:14px}.answer{font-size:14px}.details{font-size:14px}.chat-message p{font-size:14px}.form label{font-size:14px}.task-card h3{font-size:16px}

#cityBtn{width:88px;font-size:12px;font-weight:800;background:#f3ed29;min-height:44px;margin-left:-48px}.locations{position:absolute;bottom:30px;left:108px;background:#f7f7e7ed;border:1px solid #fff9;border-radius:18px;font-size:12px;font-weight:700;min-height:38px;padding:7px 12px}.scene-title{max-width:70%;font-size:9px}.scene-title small{font-size:10px}@media(max-height:700px){.locations{left:88px;bottom:26px}}

.employee-row{flex-wrap:wrap}.employee-row>div{min-width:145px;overflow-wrap:anywhere}.employee-row button{flex-shrink:0}.employee-row [data-action="deactivateForm"]{background:#f3e1d9;color:#854d39}

.visitor-profile{max-width:145px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;min-height:44px;padding:8px 12px;border-radius:12px;background:#f3ed29;font-size:12px;font-weight:750}.money-strip{display:flex;gap:8px;padding:3px 18px 7px}.money-strip>*{flex:1;min-width:0;background:#edf0de;border-radius:10px;padding:7px 10px;text-align:left}.money-strip small{display:block;color:#6c7858;font-size:8px;letter-spacing:.6px}.money-strip b{display:block;font-size:13px;color:#344b30;overflow-wrap:anywhere}.money-strip button{min-height:44px}header .brand img{max-width:95px}.brand>div{font-size:10px}.brand>div>span{font-size:5px}

@media(max-width:420px){header .brand>div{display:none}.visitor-profile{max-width:175px}.money-strip{padding-left:14px;padding-right:14px}}

/* Equal side columns keep LUXO centered even with a long username. */
header.game-header{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:10px;padding-bottom:10px}
.game-header .header-label{font-size:9px;line-height:1.25;font-weight:850;letter-spacing:1.6px;color:#6b746b;justify-self:start}
.game-header .brand{justify-self:center;justify-content:center}
header.game-header .brand img{display:block;width:100px;max-width:100%;height:46px;margin:0;object-fit:contain}
.game-header .visitor-profile{justify-self:end;max-width:100%;min-width:0;font-size:11px;padding:8px 10px;border:1px solid #e2df89;background:#f4f1bc}

#auth[data-screen="checkin"]{padding:0;background:#f8f7ef;backdrop-filter:none;overflow-x:hidden;overflow-y:auto;overscroll-behavior:contain}
.checkin-shell{position:relative;isolation:isolate;display:flex;flex-direction:column;min-height:100%;padding:max(34px,env(safe-area-inset-top)) 28px max(22px,env(safe-area-inset-bottom));background:radial-gradient(ellipse at 100% 38%,#f3ed293b,transparent 49%),#f8f7ef}
.checkin-shell:before{content:'';position:absolute;z-index:-1;right:-42px;top:180px;width:180px;height:180px;border:1px solid #dfe2d1;border-radius:50%;pointer-events:none}
.checkin-brand{text-align:center;flex-shrink:0}
#auth .checkin-brand img{display:block;width:158px;height:80px;object-fit:contain;margin:0 auto 10px}
.checkin-brand>span{display:block;font-size:9px;letter-spacing:2.5px;font-weight:750;color:#737b70}
.checkin-game-title{font-size:clamp(32px,8.5vw,40px);font-weight:900;letter-spacing:-1.5px;line-height:.98;color:#233c32;margin:12px 0;overflow-wrap:normal}
.checkin-brand>.checkin-subtitle{font-size:8px;letter-spacing:1.1px;line-height:1.6}
.checkin-body{width:100%;max-width:350px;margin:auto;flex-shrink:0;padding:22px 0 26px}
.checkin-presence{display:flex;align-items:center;justify-content:center;gap:7px;width:fit-content;max-width:100%;margin:0 auto 12px;padding:7px 12px;background:#e8eee2;border:1px solid #d8e3d0;border-radius:20px;color:#35694f;font-size:12px;font-weight:750;text-align:center}
.checkin-presence>i{width:6px;height:6px;border-radius:50%;background:currentColor;flex-shrink:0}
.checkin-date{display:flex;align-items:center;justify-content:center;gap:7px;font-size:11px;color:#607060;margin-bottom:20px}
.checkin-date i{width:6px;height:6px;border-radius:50%;background:#488161}
.checkin-date>span{font-size:8px;font-weight:750;letter-spacing:.5px;border:1px solid #d8ddcc;padding:2px 5px;border-radius:4px}
.checkin-copy{text-align:center}
.checkin-tag{font-size:8px;font-weight:800;letter-spacing:1.4px;color:#7a8271}
#auth .checkin-copy h2{font-size:clamp(23px,6.3vw,29px);font-weight:850;letter-spacing:-.8px;line-height:1.18;margin:10px 0 12px;color:#233c32}
.checkin-copy h2>span{position:relative;white-space:nowrap;isolation:isolate}
.checkin-copy h2>span:after{content:'';position:absolute;z-index:-1;height:12px;left:-3px;right:-3px;bottom:2px;background:#f3ed29;transform:rotate(-2deg);border-radius:2px}
.checkin-copy p{font-size:13px;line-height:1.65;color:#70796c;margin:0 0 29px}
.checkin-form{gap:0}
.checkin-form>label{font-size:12px;font-weight:700;gap:9px;color:#304637}
.checkin-input{display:flex;align-items:center;background:#fffef8;border:1px solid #cdd5c5;border-radius:13px;min-height:56px;box-shadow:0 3px 0 #dde1cf44;overflow:hidden}
.checkin-input:focus-within{outline:3px solid #bfbb35;outline-offset:2px;border-color:#89965c}
.checkin-input>span{font-size:19px;font-weight:650;color:#849078;padding-left:16px}
.checkin-input input{background:transparent;border:0;outline:none;border-radius:0;min-height:54px;padding:12px;font-size:16px;box-shadow:none}
.checkin-input input:focus-visible{outline:none}
#checkinHint{font-size:10px;color:#818875;margin-top:9px;line-height:1.5}
.checkin-form .error{min-height:18px;margin:8px 0;font-size:12px;overflow-wrap:anywhere}
.checkin-submit{border-radius:13px;min-height:54px;justify-content:space-between;padding:14px 18px;font-size:14px;font-weight:800;color:#253a2c;box-shadow:0 3px 0 #d5cf22}
.checkin-submit>span{font-size:23px;font-weight:400;line-height:1}
.checkin-note{display:flex;align-items:center;justify-content:center;gap:7px;color:#78826d;font-size:10px;margin-top:22px}
.checkin-note>span{color:#4f7155;font-size:15px}
.checkin-footer{display:flex;flex-direction:column;gap:7px;align-items:center;text-align:center;margin-top:auto;flex-shrink:0;border-top:1px solid #dfe3d4;padding-top:17px}
.checkin-footer b{font-size:8px;letter-spacing:.7px;font-weight:700;color:#727e6a}
.checkin-footer>span{font-size:7px;letter-spacing:2px;color:#a2aa98}
@media(max-width:360px){.checkin-shell{padding-left:22px;padding-right:22px}.game-header .header-label{font-size:8px;letter-spacing:1px}.game-header .visitor-profile{font-size:10px;padding:7px}header.game-header .brand img{width:90px}}
@media(max-height:700px){.checkin-shell{padding-top:18px;padding-bottom:16px}#auth .checkin-brand img{width:130px;height:65px;margin-bottom:5px}.checkin-game-title{font-size:32px;margin:8px 0}.checkin-body{padding-top:18px;padding-bottom:18px}.checkin-date{margin-bottom:14px}#auth .checkin-copy h2{font-size:24px}.checkin-copy p{margin-bottom:18px}.checkin-note{margin-top:14px}.checkin-footer{padding-top:12px}}

.community-strip{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:0 18px 9px;flex-shrink:0}
.online-pill{display:flex;align-items:center;gap:6px;min-height:34px;border-radius:20px;padding:6px 11px;background:#ecefe4;font-size:11px;color:#78816f}
.online-pill>i{width:6px;height:6px;background:#a3ac9a;border-radius:50%}.online-pill.is-online{color:#35694f;background:#e6efe4}.online-pill.is-online>i{background:#3c9665;box-shadow:0 0 0 3px #3c966513}
.online-pill>b{font-variant-numeric:tabular-nums}.open-chat{min-height:34px;display:flex;align-items:center;gap:20px;font-size:12px;font-weight:750;padding:6px 11px;background:transparent;color:#385c47}.open-chat>span{font-size:19px;line-height:1}
.presence-panel{border:1px solid #dbe4d3;border-radius:14px;background:#f0f4e9;padding:12px;margin-bottom:18px}
.presence-heading{display:flex;flex-direction:column;gap:3px;padding-bottom:9px}.presence-heading>b{font-size:13px;color:#335c43}.presence-heading>small{font-size:11px;color:#75836a}
.online-roster{max-height:160px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin}.online-person{display:flex;align-items:center;gap:9px;padding:8px 0;border-top:1px solid #dfe7d5}.online-avatar{display:grid;place-items:center;width:32px;height:32px;border-radius:10px;background:#dee8c9;font-size:10px;font-weight:800;color:#637749;flex-shrink:0}
.online-person>div{flex:1;min-width:0}.online-person b{display:block;font-size:12px;overflow-wrap:anywhere;color:#334e3b}.online-person small{display:flex;align-items:center;gap:4px;font-size:10px;color:#69866b;margin-top:2px}.online-person small>i{height:5px;width:5px;background:#4b9a63;border-radius:50%}
.online-person>button{min-height:36px;padding:7px 11px;font-size:11px;font-weight:750;background:#f3ed29;border-radius:8px;flex-shrink:0}
#sheetBody .presence-hint{font-size:12px;margin:0;line-height:1.6}.chat-channel-label{font-size:9px;font-weight:800;letter-spacing:1px;margin-bottom:10px;color:#65765b}.chat-channel-label>span{display:block;font-size:10px;letter-spacing:0;font-weight:400;margin-top:3px;color:#8a9581}
.chat-message .message-online{display:inline-flex;align-items:center;gap:4px;font-size:9px;color:#37835a;margin-left:7px}.message-online:before{content:'';width:4px;height:4px;border-radius:50%;background:#4b9a63}.chat-message>small{display:block;margin:4px 0 0}
.chat-compose input{min-width:0;font-size:16px}.chat-compose input:disabled{background:#ebeee2;color:#839176}
@media(max-height:700px){.community-strip{padding-bottom:5px}.online-pill,.open-chat{min-height:30px}}

/* The map fills the portrait viewport; controls float above it in compact rows. */
#game{height:100dvh;max-height:none;margin-left:0;border:0;border-radius:0;--map-bottom:calc(64px + env(safe-area-inset-bottom))}
.desktop-note{display:none!important}
#world{position:absolute;inset:0;width:100%;height:100%;min-height:0;flex:none;z-index:0}
header.game-header{position:absolute;top:0;left:0;right:0;z-index:4;padding:max(6px,env(safe-area-inset-top)) 14px 5px;min-height:52px;background:linear-gradient(#f9f8eff5,#f9f8ef8c);backdrop-filter:blur(6px)}
header.game-header .brand img{width:82px;height:36px}
.game-header .header-label{font-size:clamp(10px,2.8vw,12px);letter-spacing:.4px;line-height:1.15;color:#314c3a}
.game-header .visitor-profile{min-height:36px;max-width:100%;padding:6px 9px;font-size:10px;border-radius:10px;background:#fffde9dc}
.player-hud{position:absolute;z-index:4;top:calc(55px + env(safe-area-inset-top));left:12px;right:12px;display:flex;justify-content:space-between;align-items:stretch;gap:9px;pointer-events:none}
.personal-wallet,.clock-chip{background:#fffdf0eb;border:1px solid #ffffffaa;box-shadow:0 3px 12px #233b2714;backdrop-filter:blur(8px);border-radius:12px;min-height:45px;padding:6px 11px;pointer-events:auto}
.personal-wallet{display:flex;flex-direction:column;justify-content:center;align-items:flex-start;min-width:105px;max-width:47%;text-align:left}
.personal-wallet>small{font-size:7px;font-weight:750;letter-spacing:1px;color:#7b856b}.personal-wallet>b{font-size:14px;line-height:1.35;color:#2e4b36;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}
.clock-chip{display:flex;flex-direction:column;justify-content:center;align-items:flex-end;gap:1px;text-align:right;min-width:0}
.clock-chip>b{font-size:10px;font-weight:700;color:#3b5140}.clock-chip>span{font-size:11px;font-weight:650;color:#6c7c62;font-variant-numeric:tabular-nums}
.community-strip{position:absolute;z-index:4;top:calc(108px + env(safe-area-inset-top));left:12px;right:12px;padding:0;pointer-events:none}
.community-strip>button{pointer-events:auto;min-height:32px;background:#fffdefd9;border:1px solid #ffffff8c;backdrop-filter:blur(6px)}
.community-strip>.online-pill{font-size:10px;padding:5px 9px}.community-strip>.open-chat{border-radius:20px;padding:5px 10px;font-size:11px;gap:12px}
.scene-title{top:calc(151px + env(safe-area-inset-top));left:14px;max-width:68%;font-size:9px}
.scene-title small{font-size:9px}
.needs,.world-hint,.mode{display:none}
.map-tools{top:calc(194px + env(safe-area-inset-top));right:12px;gap:5px}
.map-tools button{width:40px;height:40px;border-radius:12px;background:#ffffeddb}
#cityBtn{width:86px;margin-left:-46px;min-height:40px;font-size:11px}
#world .mini-map{bottom:calc(var(--map-bottom) + 70px);left:12px;width:64px;height:66px;border-width:2px}
.mini-map canvas{width:60px;height:50px}.mini-map span{font-size:6px}
.locations{bottom:calc(var(--map-bottom) + 74px);left:88px;min-height:36px;font-size:11px;padding:6px 10px}
#context{position:absolute;z-index:5;left:12px;right:12px;bottom:calc(var(--map-bottom) + 8px);display:grid;grid-template-columns:minmax(0,1fr) 42px;gap:7px;align-items:center;margin:0;padding:0;border-radius:0;background:transparent;box-shadow:none}
#context .context-main,#contextLabel{display:none}
#context .context-top{grid-column:2;grid-row:1;height:auto}
#context .context-top button{width:42px;height:42px;font-size:13px;background:#fffdf1eb;border-color:#ffffffa6;backdrop-filter:blur(6px);box-shadow:0 2px 9px #28422a10}
#contextAction{grid-column:1;grid-row:1;min-height:42px;border-radius:13px;font-size:12px;padding:9px 13px;box-shadow:0 2px 8px #233b2717}
#game>nav{position:absolute;z-index:6;left:0;right:0;bottom:0;min-height:var(--map-bottom);padding:5px 8px max(7px,env(safe-area-inset-bottom));background:#f9f8efed;backdrop-filter:blur(12px);border-top:1px solid #ffffffa0}
#game>nav button{min-height:48px;font-size:10px}
#toast{top:calc(148px + env(safe-area-inset-top))}
#toast.toast-brief{top:calc(94px + env(safe-area-inset-top));left:50%;right:auto;transform:translateX(-50%);max-width:calc(100% - 28px);width:max-content;min-height:28px;padding:5px 10px;border-radius:20px;font-size:10px;line-height:18px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;pointer-events:none;box-shadow:0 2px 8px #0002}
@media(max-width:340px){.player-hud{left:9px;right:9px;gap:6px}.personal-wallet{min-width:95px;padding-left:9px}.personal-wallet>b{font-size:12px}.clock-chip{padding-left:8px;padding-right:8px}.clock-chip>b{font-size:9px}}
@media(max-height:640px){.map-tools{top:calc(170px + env(safe-area-inset-top));gap:4px}.map-tools button{height:36px;width:36px}#cityBtn{min-height:36px;margin-left:-50px}.scene-title small{display:none}}

/* Mini games live in the map and navigation, with no permanent action banner. */
#context{display:none}
#world .mini-map{bottom:calc(var(--map-bottom) + 16px)}
.locations{bottom:calc(var(--map-bottom) + 20px)}

.richest-hero{background:#f3ed29;border:1px solid #e7e12d;border-radius:16px;padding:16px 17px;margin-bottom:17px;color:#304633}
.richest-hero>span{font-size:8px;font-weight:850;letter-spacing:1.5px;color:#6c7036}.richest-hero h3{font-size:18px;line-height:1.25;margin:9px 0 5px;overflow-wrap:anywhere}.richest-hero>strong{font-size:25px;font-weight:850;letter-spacing:-.6px;overflow-wrap:anywhere}.richest-hero>small{display:block;font-size:10px;color:#6a7448;margin-top:7px}
.leaderboard-caption{display:flex;flex-direction:column;gap:3px;font-size:11px;font-weight:750;color:#596e4d;margin-bottom:9px}.leaderboard-caption>span{font-size:9px;font-weight:400;color:#919a84}
.wealth-list{list-style:none;padding:0;margin:0}.wealth-row{display:flex;align-items:center;gap:11px;padding:12px 0;border-bottom:1px solid #e0e5d4}.wealth-rank{display:grid;place-items:center;flex-shrink:0;width:31px;height:31px;border-radius:10px;background:#e9eedf;color:#859176;font-size:12px;font-weight:800}.wealth-top .wealth-rank{background:#f0e798;color:#726720}.wealth-row>div{flex:1;min-width:0}.wealth-row b{display:block;font-size:13px;color:#3b5135;overflow-wrap:anywhere}.wealth-row small{display:block;font-size:9px;color:#89957c;margin:2px 0 4px}.wealth-row strong{display:block;font-size:14px;color:#426740;font-variant-numeric:tabular-nums}.wealth-row>button{height:40px;width:40px;border-radius:12px;background:#edf1e3;color:#6d8260;font-size:21px;flex-shrink:0}.wealth-selected{background:#f1f3df;border-radius:12px;padding-left:8px;padding-right:8px}
nav [data-tab="leaderboard"]{font-size:9px!important}

.wealth-face{position:relative;display:grid;place-items:center;flex-shrink:0;width:44px;height:48px;border-radius:13px;border:1px solid #dbe3ce;background:linear-gradient(145deg,#f5f7e9,#dfe9d5);overflow:hidden;box-shadow:0 2px 5px #39512c08}
.wealth-face>svg{display:block;width:40px;height:48px;max-width:100%;transform:translateY(3px)}
.wealth-top .wealth-face{border-color:#dbd689;background:linear-gradient(145deg,#fffcda,#eeebba)}
.wealth-row{gap:9px}.wealth-row>div{padding:2px 0}.wealth-row .wealth-rank{width:25px;height:28px;border-radius:8px;font-size:11px}
.richest-profile{display:flex;align-items:center;gap:14px;margin-top:13px}.richest-profile>div{min-width:0;flex:1}.richest-profile h3{margin:0 0 5px;font-size:17px}.richest-profile strong{display:block;font-size:24px;font-weight:850;letter-spacing:-.7px;line-height:1.2;overflow-wrap:anywhere}.richest-profile small{display:block;font-size:9px;color:#6a7448;margin-top:6px}
.richest-face{width:70px;height:76px;border-radius:20px;border:2px solid #fff9;background:#fffbce;overflow:visible;box-shadow:0 4px 12px #78751c17}
.richest-face>svg{width:61px;height:72px;border-radius:17px;transform:none}
.richest-face>i{position:absolute;bottom:-8px;right:-5px;display:grid;place-items:center;width:25px;height:25px;border-radius:50%;background:#344b37;color:#fbf0a4;border:2px solid #f3ed29;font-style:normal;font-size:11px;font-weight:850}
@media(max-width:360px){.wealth-row{gap:7px}.wealth-face{width:37px;height:43px;border-radius:11px}.wealth-face>svg{width:36px;height:43px}.wealth-row>button{width:32px;height:38px}.wealth-row b{font-size:12px}.richest-face{width:62px;height:70px}.richest-face>svg{width:55px;height:66px}.richest-profile{gap:11px}.richest-profile strong{font-size:21px}}

.person-portrait{position:relative;display:block;flex-shrink:0;width:38px;height:38px;border-radius:50%;background:#e0e9d2;border:2px solid #ffffffcc;overflow:hidden}
.portrait-fallback{display:flex;width:100%;height:100%;align-items:center;justify-content:center}.portrait-fallback>svg{width:100%;height:120%;transform:translateY(4px)}
.person-portrait>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;background:#e0e9d2}
.roster-portrait{width:37px;height:37px;border-color:#fff}.visitor-portrait{width:72px;height:72px;border:3px solid #fff;box-shadow:0 4px 18px #28473416}
.visitor-identity{display:flex;align-items:center;gap:15px;margin:3px 0 18px}.visitor-identity h3{font-size:20px;margin:0 0 3px;overflow-wrap:anywhere}.visitor-identity small{font-size:12px;color:#7e8e72}.visitor-identity>div{min-width:0}
.photo-picker{position:relative;display:flex;align-items:center;justify-content:center;min-height:46px;border:1px solid #d3ddc7;border-radius:12px;background:#edf2e3;font-size:13px;font-weight:700;overflow:hidden;cursor:pointer}.photo-picker input{position:absolute;inset:0;opacity:0;cursor:pointer;min-height:46px}.photo-picker:focus-within{outline:3px solid #8b55db;outline-offset:2px}#sheetBody .photo-note{font-size:11px;color:#87947a;margin:8px 0 20px}
.wa-room{background:#ece6d9;border-radius:14px;overflow:hidden;margin-top:4px}.wa-room-header{display:flex;align-items:center;gap:11px;background:#075e54;color:#fff;padding:12px 14px}.wa-room-header b{display:block;font-size:14px}.wa-room-header small{display:block;font-size:10px;color:#c6dfd4;margin-top:2px}.wa-room-icon{display:grid;place-items:center;width:36px;height:36px;flex-shrink:0;background:#ffffff20;border-radius:50%;font-size:22px}
.wa-thread{min-height:150px;padding:17px 11px 8px;background-color:#ece6d9;background-image:radial-gradient(#7f8f7912 .8px,transparent .8px);background-size:13px 13px}
.wa-message{display:flex;align-items:flex-end;justify-content:flex-start;gap:7px;margin:0 0 13px}.wa-outgoing{flex-direction:row-reverse}.wa-message .chat-portrait{width:30px;height:30px;border-width:1px;margin-bottom:2px}
.wa-bubble{position:relative;min-width:100px;max-width:calc(100% - 38px);border-radius:3px 12px 12px 12px;padding:9px 12px 6px;background:#fffdf8;box-shadow:0 1px 2px #173b2420;color:#243b31}
.wa-bubble:before{content:'';position:absolute;top:9px;left:-4px;width:9px;height:9px;background:inherit;transform:rotate(45deg)}
.wa-outgoing .wa-bubble{border-radius:12px 3px 12px 12px;background:#d9f7c8}.wa-outgoing .wa-bubble:before{left:auto;right:-4px}
.wa-sender{display:flex;align-items:center;flex-wrap:wrap;gap:5px;padding-right:14px}.wa-sender>strong{font-size:11px;color:#227060;overflow-wrap:anywhere}.wa-kind{font-size:7px;font-weight:700;letter-spacing:.5px;color:#85907b;border:1px solid #dfe5d6;border-radius:4px;padding:1px 4px}.wa-sender .message-online{font-size:8px;margin:0}
#sheetBody .wa-bubble>p{white-space:pre-wrap;overflow-wrap:anywhere;color:#2b3e33;font-size:13px;line-height:1.5;margin:5px 0 3px}.wa-meta{display:flex;justify-content:flex-end;gap:4px;color:#81917b;font-size:9px;line-height:1.3}.wa-outgoing .wa-meta{color:#729568}.wa-deleted{font-style:italic;opacity:.65}
.wa-message-menu>summary{position:absolute;right:3px;top:2px;display:grid;place-items:center;list-style:none;width:27px;height:29px;border-radius:6px;color:#8a9a83;font-size:18px;cursor:pointer}.wa-message-menu>summary::-webkit-details-marker{display:none}.wa-message-menu>div{display:flex;gap:7px;margin-top:8px;padding-top:6px;border-top:1px solid #dce3d3}.wa-message-menu button{min-height:30px;background:transparent;font-size:9px;color:#75876b;padding:5px}
.wa-compose{display:flex;align-items:center;gap:8px;position:sticky;bottom:0;background:#f2f0e6;padding:10px 2px;margin:0;z-index:2}.wa-compose input{border:0;border-radius:24px;background:#fffef9;min-height:46px;padding:12px 17px;box-shadow:0 1px 4px #163d2412;font-size:16px}.wa-compose .primary{width:46px;height:46px;min-height:46px;border-radius:50%;background:#167667;color:#fff;box-shadow:none;font-size:19px;padding:9px}
.wa-npc-note{padding:11px 15px;background:#f2f0e6;font-size:10px;line-height:1.6;color:#7a8b71;text-align:center}
.chat-tabs{margin-bottom:13px}.chat-tabs button.chosen{background:#dceee0;color:#246b54}

/* One small HUD row: wallet, WIB date/time, online count, chat. */
.player-hud{left:10px;right:10px;top:calc(54px + env(safe-area-inset-top));display:flex;align-items:center;justify-content:space-between;gap:6px;min-height:34px;padding:3px 8px;border:1px solid #ffffffa3;border-radius:11px;background:#fffdefdf;backdrop-filter:blur(8px);box-shadow:0 2px 8px #29432c0c}
.player-hud .personal-wallet{display:block;flex-shrink:0;min-width:0;max-width:none;min-height:26px;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none;backdrop-filter:none}
.personal-wallet>small{display:none}.player-hud .personal-wallet>b{font-size:11px;white-space:nowrap;overflow-wrap:normal;line-height:1.2}
.player-hud .clock-chip{display:flex;flex:1;flex-direction:row;align-items:center;justify-content:center;gap:5px;min-height:26px;min-width:0;padding:0;background:transparent;border:0;border-radius:0;box-shadow:none;backdrop-filter:none;white-space:nowrap}
.player-hud .clock-chip>b,.player-hud .clock-chip>span{font-size:9px;font-weight:600;white-space:nowrap;line-height:1.2}.player-hud .clock-chip>span{color:#78846a}
.player-hud .community-strip{position:static;inset:auto;display:flex;flex-shrink:0;gap:4px;align-items:center;padding:0;pointer-events:auto}
.player-hud .community-strip>button{min-height:26px;background:transparent;border:0;backdrop-filter:none;box-shadow:none}
.player-hud .online-pill{gap:4px;padding:2px 3px;font-size:9px}.player-hud .online-pill>i{width:5px;height:5px}.player-hud .open-chat{display:grid;place-items:center;min-width:27px;padding:3px;border-radius:8px;color:#36735a}
.scene-title{top:calc(101px + env(safe-area-inset-top))}.map-tools{top:calc(145px + env(safe-area-inset-top))}
@media(max-width:340px){.player-hud{left:8px;right:8px;gap:4px;padding-left:6px;padding-right:6px}.player-hud .personal-wallet>b{font-size:10px}.player-hud .clock-chip{gap:3px}.player-hud .clock-chip>b,.player-hud .clock-chip>span{font-size:8px}.player-hud .online-pill{font-size:8px;gap:3px}}
@media(max-height:640px){.map-tools{top:calc(126px + env(safe-area-inset-top))}}

.map-dock{position:absolute;z-index:3;left:10px;right:10px;bottom:calc(var(--map-bottom) + 12px);display:grid;grid-template-columns:58px minmax(0,1fr);gap:8px;align-items:center;pointer-events:none}
#world .map-dock .mini-map{position:static;inset:auto;width:58px;height:60px;margin:0;border-width:2px;border-radius:9px}
.map-dock .mini-map canvas{width:54px;height:46px}.map-dock .mini-map span{font-size:5px;letter-spacing:.8px}
.map-shortcuts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;min-width:0}
.division-shortcuts{display:contents}
#world .map-shortcuts .locations,.division-shortcuts button{position:static;inset:auto;pointer-events:auto;display:flex;align-items:center;justify-content:center;width:100%;min-width:0;height:28px;min-height:28px;margin:0;padding:3px;border:1px solid #ffffffb3;border-radius:8px;background:#fffdefed;backdrop-filter:blur(6px);box-shadow:0 2px 7px #28422c14;font-size:9px;font-weight:700;line-height:1.2;color:#445938;text-align:center;white-space:nowrap}
.division-shortcuts button[aria-pressed="true"]{background:#f3ed29;color:#293b25;border-color:#f3ed29}
.division-shortcuts button:disabled{opacity:.55;cursor:default}
.division-shortcuts button:focus-visible{outline:2px solid #315c3d;outline-offset:2px}

/* WA Grup gives the conversation most of the screen; members expand on demand. */
#sheet:is([data-panel="social"],[data-panel="chat"]){height:calc(100% - 8px - env(safe-area-inset-top));max-height:calc(100% - 8px - env(safe-area-inset-top));padding-left:12px;padding-right:12px;border-radius:18px 18px 0 0}
#sheet:is([data-panel="social"],[data-panel="chat"]) .sheet-handle{margin-top:6px;height:3px}
#sheet:is([data-panel="social"],[data-panel="chat"]) .sheet-head{padding:5px 0 7px;gap:6px}
#sheet:is([data-panel="social"],[data-panel="chat"]) .sheet-head .eyebrow{display:none}
#sheet:is([data-panel="social"],[data-panel="chat"]) h2{font-size:18px;margin:0;letter-spacing:-.3px}
#sheet:is([data-panel="social"],[data-panel="chat"]) .sheet-head>button{width:32px;height:32px;font-size:22px}
#sheet:is([data-panel="social"],[data-panel="chat"]) #sheetBody{flex:1;min-height:0;padding-top:6px;display:flex;flex-direction:column}
#sheet:is([data-panel="social"],[data-panel="chat"]) .chat-tabs{gap:5px;margin-bottom:5px}
#sheet:is([data-panel="social"],[data-panel="chat"]) .chat-tabs button{min-height:30px;font-size:10px;padding:5px 9px}
.chat-members{font-size:10px;color:#527256;margin-bottom:5px;flex-shrink:0}
.chat-members>summary{padding:5px 8px;cursor:pointer;border-radius:7px;background:#e8efdf;font-weight:750}
.chat-members .presence-panel{padding:6px 8px;margin:3px 0 0;border-radius:8px}
.chat-members .presence-heading{display:none}.chat-members .online-roster{max-height:110px}
.chat-members .online-person{padding:4px 0;gap:7px}.chat-members .roster-portrait{width:26px;height:26px}
.chat-members .online-person b{font-size:10px}.chat-members .online-person small{font-size:8px}
.chat-members .online-person>button{min-height:28px;padding:4px 8px;font-size:9px}
.chat-character{display:flex;justify-content:space-between;gap:8px;min-height:28px;padding:5px 8px;margin-bottom:5px;border-radius:7px;background:#eff0e5;color:#6b7c62;font-size:9px;text-align:left}
.chat-character>span{color:#307457;font-weight:750;flex-shrink:0}
#sheet:is([data-panel="social"],[data-panel="chat"]) .wa-room{display:flex;flex-direction:column;flex:1 0 auto;min-height:calc(100dvh - 230px);margin:0;border-radius:10px}
#sheet:is([data-panel="social"],[data-panel="chat"]) .wa-room-header{padding:6px 10px;gap:8px;justify-content:space-between}
#sheet:is([data-panel="social"],[data-panel="chat"]) .wa-room-header b{font-size:11px}
#sheet:is([data-panel="social"],[data-panel="chat"]) .wa-room-header small{margin:0;font-size:8px}
#sheet:is([data-panel="social"],[data-panel="chat"]) .wa-thread{flex:1;min-height:0;padding:10px 8px 4px}
#sheet:is([data-panel="social"],[data-panel="chat"]) .wa-compose{flex-shrink:0;padding:7px 0 0}
#sheet:is([data-panel="social"],[data-panel="chat"]) .wa-compose input{min-height:42px}
#sheet:is([data-panel="social"],[data-panel="chat"]) .wa-compose .primary{width:42px;height:42px;min-height:42px}

.org-mini{border:1px solid #dfe5d4;background:#eef2e5;border-radius:11px;padding:9px;margin:0 0 12px}
.org-mini>b{display:block;font-size:10px;color:#536c49;margin-bottom:6px}
.org-mini>div{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
.org-person{min-width:0;padding:5px 7px;background:#fffef4;border-radius:6px}
.org-person strong{display:block;font-size:8px;color:#8c9679;line-height:1.3}
.org-person span{display:block;font-size:10px;line-height:1.4;color:#405b38;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}

/* Compact leaderboard heading and winner card leave more space for the list. */
#sheet[data-panel="leaderboard"] .sheet-head{padding:6px 0 8px}
#sheet[data-panel="leaderboard"] .sheet-head .eyebrow{display:none}
#sheet[data-panel="leaderboard"] h2{font-size:17px;margin:0;letter-spacing:-.3px}
#sheet[data-panel="leaderboard"] .sheet-head>button{height:32px;width:32px;font-size:22px}
#sheet[data-panel="leaderboard"] #sheetBody{padding-top:7px}
#sheetBody .leaderboard-intro{font-size:10px;line-height:1.3;margin:0 0 7px;color:#839077}
#sheet[data-panel="leaderboard"] .org-mini{padding:6px;margin-bottom:8px}
#sheet[data-panel="leaderboard"] .org-mini>b{font-size:9px;margin-bottom:4px}
#sheet[data-panel="leaderboard"] .org-mini>div{grid-template-columns:repeat(3,minmax(0,1fr));gap:3px}
#sheet[data-panel="leaderboard"] .org-person{padding:3px 5px}
#sheet[data-panel="leaderboard"] .org-person strong{font-size:7px}
#sheet[data-panel="leaderboard"] .org-person span{font-size:8px}
#sheet[data-panel="leaderboard"] .richest-hero{padding:9px 10px;border-radius:11px;margin-bottom:9px}
#sheet[data-panel="leaderboard"] .richest-hero>span{font-size:7px;letter-spacing:.7px}
#sheet[data-panel="leaderboard"] .richest-profile{margin-top:5px;gap:9px}
#sheet[data-panel="leaderboard"] .richest-face{width:40px;height:44px;border-radius:12px}
#sheet[data-panel="leaderboard"] .richest-face>svg{width:36px;height:42px;border-radius:9px}
#sheet[data-panel="leaderboard"] .richest-face>i{width:18px;height:18px;font-size:8px;bottom:-4px;right:-3px}
#sheet[data-panel="leaderboard"] .richest-profile h3{font-size:12px;margin:0 0 3px;line-height:1.2}
#sheet[data-panel="leaderboard"] .richest-profile strong{font-size:17px;letter-spacing:-.3px}
#sheet[data-panel="leaderboard"] .richest-profile small{font-size:8px;margin-top:3px}
#sheet[data-panel="leaderboard"] .leaderboard-caption{font-size:10px;gap:1px;margin-bottom:5px}

/* In-map composer keeps the speaking character visible. */
.map-chat{position:absolute;z-index:8;left:10px;right:10px;bottom:calc(var(--map-bottom) + 82px);padding:8px;border:1px solid #ffffffc9;border-radius:12px;background:#fffdf2f5;box-shadow:0 4px 18px #243a2b24;backdrop-filter:blur(8px)}
.map-chat-heading{display:flex;align-items:center;gap:6px;margin-bottom:5px}
.map-chat-heading>b{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:10px;color:#426440}
.map-chat-heading>button{min-height:26px;padding:3px 7px;border-radius:6px;font-size:10px;background:#e6edda;color:#527344}
#mapChatClose{width:26px;font-size:18px;padding:0;background:transparent}
.map-chat-compose{display:flex;gap:6px}
.map-chat-compose input{min-width:0;min-height:40px;border-radius:8px;padding:8px 10px;font-size:16px}
.map-chat-compose button{flex-shrink:0;min-height:40px;padding:7px 12px;border-radius:8px;background:var(--yellow);font-size:11px;font-weight:800}
.map-chat>p{font-size:8px;line-height:1.3;margin:5px 0 0;color:#839074}

/* A shorter check-in header keeps the entry form within reach. */
.checkin-shell{padding-top:max(20px,env(safe-area-inset-top));padding-bottom:max(16px,env(safe-area-inset-bottom))}
#auth .checkin-brand img{width:124px;height:62px;margin-bottom:5px}
.checkin-game-title{font-size:18px;line-height:1.25;letter-spacing:.6px;font-weight:800;margin:4px 0 0}
.checkin-body{padding-top:18px;padding-bottom:18px}
.checkin-meta{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:6px 12px;margin-bottom:16px}
.checkin-meta .checkin-presence{margin:0;padding:4px 8px;font-size:10px}
.checkin-meta .checkin-date{margin:0;font-size:9px;gap:4px}
.checkin-meta .checkin-date>i,.checkin-meta .checkin-date>span{display:none}
#auth .checkin-copy h2{font-size:23px;line-height:1.2;margin:0 0 9px}
.checkin-copy p{font-size:12px;line-height:1.4;margin-bottom:17px}
.checkin-form .error:empty{display:none}
.checkin-submit{min-height:48px;padding-top:11px;padding-bottom:11px;font-size:13px;margin-top:12px}
.checkin-footer{padding-top:10px;font-size:7px;letter-spacing:1.6px;color:#99a18e}
.checkin-shell{justify-content:center}
.checkin-body{margin:0 auto;flex-shrink:0}
.checkin-footer{margin-top:4px}

.follow-info{padding:9px 11px;background:#edf1e3;border:1px solid #dbe3ce;border-radius:9px;margin:0 0 12px}.follow-info>b{display:block;font-size:11px;color:#4d6847;margin-bottom:3px}.follow-info>span{display:block;font-size:10px;line-height:1.5;color:#7a886d}.follow-info a,.follow-admin-note a{color:#347456;font-weight:700}

.private-note{font-size:11px;line-height:1.5;color:#78836d;margin:7px 0 12px}.private-search{display:grid;gap:6px;font-size:12px;font-weight:700;margin-bottom:12px}.private-search input{font-size:16px}.private-characters{display:grid;gap:6px}.private-person{display:flex;align-items:center;gap:10px;width:100%;padding:12px 10px;text-align:left;border:1px solid #dce3d2;border-radius:12px;background:#fffef6;min-height:65px}.private-person>span:nth-child(2){flex:1;min-width:0}.private-person b{display:block;font-size:13px;overflow:hidden;text-overflow:ellipsis}.private-person small{display:block;font-size:10px;font-weight:400;color:#7d8971;margin-top:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.private-person em{font-style:normal;font-size:9px;color:#8b927e}.private-person em.is-online{color:#257255}.private-toolbar{display:flex;justify-content:space-between;gap:8px;margin-bottom:10px}.private-toolbar button{font-size:11px;min-height:36px;padding:6px 10px}.private-room .wa-room-header{justify-content:flex-start!important}.private-room .roster-portrait{width:32px;height:32px;flex:0 0 32px}#sheet[data-panel="chat"] #privateStatus{flex-shrink:0;font-size:10px;margin:5px 0 0}#sheet[data-panel="chat"] .wa-compose{margin-bottom:0}.private-characters .empty{padding:35px 15px}
