/* Local, dependency-free translation of the supplied warm portal reference. */
:root{--ink:#3d2f1d;--wood-dark:#7e633c;--parchment:#fffdf9;--parchment-deep:#faf5eb;--gold:#f6b72d;--board-w:300px}
body{overflow:auto;color:var(--ink);background:radial-gradient(at 10% 10%,#f5eedce6,transparent 50%),radial-gradient(at 90% 15%,#feedbe73,transparent 50%),radial-gradient(at 50% 90%,#ebddc099,transparent 60%),#f8f5ee;background-attachment:fixed;font-family:'Segoe UI',system-ui,sans-serif}
html,body,#root{min-height:100%;height:auto}#root{display:block;padding:0}.layout{width:100%;max-width:1720px;min-height:100vh;margin:auto;padding:0 24px;display:grid;grid-template-columns:minmax(0,1fr) clamp(220px,23.5vw,300px);grid-template-rows:auto auto 1fr auto;gap:20px;align-items:start}.layout>.frame{display:contents}
.bar{grid-column:1/-1;grid-row:1;height:auto;min-height:60px;margin:0 -24px;padding:10px 30px;gap:10px;background:#ffffffd9;border-bottom:1px solid #f5eedc;color:#3d2f1d;box-shadow:none}.logo{font-family:'Segoe UI',system-ui,sans-serif;font-size:22px;font-style:normal;letter-spacing:-.7px;filter:none;gap:4px;position:relative;padding-left:44px}.logo:before{content:'◈';display:grid;place-items:center;position:absolute;left:0;width:34px;height:34px;border-radius:11px;color:white;background:linear-gradient(35deg,#f59e0b,#ffd761);font-size:27px;box-shadow:0 2px 5px #b7791120}.logo span{-webkit-text-stroke:0;background:none;color:#50371f}.logo .logo-and{color:#f59e0b;font-size:22px}.bar .player{display:none}.bar:after{content:'☁  Progres tersimpan otomatis';order:0;max-width:170px;font-size:11px;font-weight:400;color:#78716c;padding-left:14px;border-left:1px solid #f5eedc;margin-right:auto}.bar .logo{order:-1}.bar .btn{order:1;height:36px;padding:0 13px;border:1px solid #ebddc0;border-radius:12px;background:#fffdf9;box-shadow:0 1px 2px #7e633c0b;color:#5a462b;font-size:13px;font-weight:600}.bar .btn svg{width:16px;height:16px;color:#a78554}.bar .btn[title=Cash]{background:linear-gradient(#fff9e5,#ffdc5e);border-color:#fbbf24;color:#92400e}.bar .btn[title=Logout]{color:#be123c;border-color:#fecdd3;background:#fff1f2}.bar .btn[title=Logout] svg{color:#be123c}
.base-banner{grid-column:1/-1;grid-row:2;display:flex;align-items:center;gap:10px;padding:10px 16px;border:1px solid #f5eedc;border-radius:16px;background:#fffdf5d9;box-shadow:0 2px 8px #8a6b4810;font-size:13px;min-width:0}.base-banner p{margin:0;flex:1;line-height:1.5}.base-banner b{color:#92400e}.banner-icon{display:grid;place-items:center;flex-shrink:0;width:25px;height:25px;border-radius:7px;background:#f59e0b;color:white}.base-connection{font-size:11px;color:#a78554;white-space:nowrap}
.game-frame-outer{grid-column:1;grid-row:3;min-width:0;padding:16px 12px 18px;border:1px solid #dcc39abf;border-radius:24px;background:linear-gradient(#fff 0%,#faf5ea 60%,#f1e5d0 100%);box-shadow:0 16px 36px -8px #644b2a29,0 4px 12px -2px #644b2a14}.game-heading{display:flex;align-items:center;gap:10px;margin:0 2px 8px;padding:0 2px 13px;border-bottom:1px solid #f5eedc}.game-heading>span{display:grid;place-items:center;width:27px;height:24px;border-radius:8px;background:#f5eedc99;color:#7e633c;font-size:13px}.game-heading h2{margin:0;font-size:12px;font-weight:800;text-transform:uppercase;letter-spacing:.35px;color:#5a462b}
.game-viewport{width:100%;aspect-ratio:2749/1687;border:3px solid #dcc39acc;border-radius:14px;background:#080808;overflow:auto;box-shadow:inset 0 2px 4px #0003,0 10px 30px -5px #644b2a2e}.game-viewport .screen{width:calc(100% * var(--display-zoom));height:calc(100% * var(--display-zoom));min-width:100%;min-height:100%;aspect-ratio:auto;border:0;border-radius:0;background:#000}.player-host,.player-host ruffle-player{width:100%;height:100%;display:block}.screen:fullscreen{width:100vw;height:100vh}.screen:fullscreen .player-host{width:100%;height:100%;aspect-ratio:auto}
.game-tools{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin-top:16px;padding-top:12px;border-top:1px solid #f5eedc99;font-size:11px}.game-actions{display:flex;gap:7px;flex-wrap:wrap}.game-tools button{font:inherit;color:#5a462b;padding:6px 10px;border:1px solid #f5eedc;border-radius:7px;background:#fffffff0;cursor:pointer}.game-tools button:hover{background:#fff9e5}.game-tools button:disabled{opacity:.4;cursor:default}.game-zoom{display:flex;align-items:center;gap:8px;color:#8b8174}.game-zoom>div{display:flex;align-items:center;border:1px solid #f5eedc;border-radius:7px;background:white}.game-zoom button{border:0;padding:3px 9px;font-weight:700;background:none}.game-zoom output{min-width:42px;text-align:center;color:#3d2f1d}.game-notice{margin:8px 0 0;font-size:12px;color:#7e633c}.game-notice:empty{display:none}
.layout>.local-social{grid-column:2;grid-row:3;contain:none;width:100%;height:auto;min-height:0;max-height:none;padding:22px 18px 16px;border:1px solid #ebddc0;border-radius:24px;background:linear-gradient(#fffdf9,#faf5eb);box-shadow:0 16px 36px -8px #644b2a29,0 4px 12px -2px #644b2a14}.local-social h2{position:relative;font-size:21px;font-weight:850;letter-spacing:-.7px;padding-right:15px;margin-bottom:5px}.local-social h2:after{content:'';position:absolute;right:0;top:9px;width:9px;height:9px;background:#10b981;border-radius:50%;box-shadow:0 0 0 4px #d1fae5}.local-status{font-size:11px;color:#a78554;margin-bottom:18px}.local-tabs{gap:3px;padding:4px;margin-bottom:16px;border:1px solid #ebddc099;border-radius:15px;background:#f5eedc99}.local-tabs button{padding:9px 2px;font-size:13px;font-weight:600;border:0;border-radius:11px;background:transparent;color:#5a462b}.local-tabs button[aria-selected=true]{background:linear-gradient(#2563eb,#1d4ed8);box-shadow:0 3px 5px #1e3a8a26}.local-tabs button:first-child:before{content:'🏆 ';font-size:11px}.local-tabs button:last-child:before{content:'☁ ';color:#a8a29e}.local-caption{font-size:11px;margin:0 2px 12px;color:#7e633c}.local-content{min-height:0;max-height:480px}.local-player{padding:14px 10px;gap:3px 10px;grid-template-columns:29px minmax(0,1fr);background:#ffffffd9;border:1px solid #f5eedc;border-radius:16px;box-shadow:0 2px 8px #8a6b480c;margin-bottom:9px;font-size:13px}.local-player:first-of-type{border-color:#fcd34dcc}.local-player>span{font-weight:700;overflow-wrap:anywhere;letter-spacing:-.3px;color:#292524}.local-player small{font-size:11px;color:#7e633c}.local-rank{display:grid;place-items:center;width:28px;height:29px;border-radius:10px;background:#f5eedc;color:#5a462b;font-size:12px}.local-player:first-of-type .local-rank{background:linear-gradient(#fbbf24,#f59e0b);color:white}.local-message{border:1px solid #f5eedc;background:#fff;border-radius:13px}.local-chat input{border-color:#dcc39a}.local-chat .btn{height:34px;border:1px solid #dcc39a;box-shadow:none;font-size:12px}.local-empty{font-size:12px}
.foot{grid-column:1/-1;grid-row:4;display:flex;flex-wrap:wrap;align-items:center;gap:12px;height:auto;min-height:48px;padding:12px 16px;margin:16px -24px 0;background:#ffffffb3;border-top:1px solid #f5eedc;color:#7e633c;font-size:10px;white-space:normal}.foot-copy{flex:1}.foot-release{margin-left:0}.admin-link{font-weight:700}
#root>.frame{width:100%;min-height:100vh;display:grid;grid-template-rows:auto 1fr auto;gap:24px;padding:0 24px;border:0;border-radius:0;background:none;box-shadow:none}#root>.frame>.bar{grid-column:1;grid-row:1}#root>.frame>.screen.message{grid-column:1;grid-row:2;justify-self:center;align-self:center;width:min(680px,100%);height:auto;min-height:480px;aspect-ratio:auto;border:1px solid #dcc39a;border-radius:24px;background:linear-gradient(#fffdf9,#f1e5d0);color:#3d2f1d;box-shadow:0 16px 36px -8px #644b2a29}#root>.frame>.foot{grid-column:1;grid-row:3}.account-host{max-width:340px}.account-note{color:#7e633c}.account-error{color:#be123c!important}.account-form input{background:white;border:1px solid #dcc39a}.account-form .btn{border:1px solid #d9b25b;box-shadow:none}.account-host h1{color:#50371f}
@media(min-width:761px){.layout{padding:0 18px;gap:16px;grid-template-columns:minmax(0,1fr) clamp(220px,23vw,300px)}.bar{margin:0 -18px;min-height:44px;padding:7px 24px}.bar .btn{height:32px}.base-banner{padding:8px 14px;font-size:12px}.banner-icon{width:23px;height:23px}.game-frame-outer{padding:10px 10px 18px}.game-heading{padding-bottom:5px;margin-bottom:6px}.game-heading>span{height:22px}.foot{margin-left:-18px;margin-right:-18px}.game-tools{margin-top:13px}}
@media(max-width:760px){.game-viewport .player-host{width:1000px;height:calc(1000px * 1687 / 2749);transform-origin:top left;transform:scale(var(--player-scale, .35))}.game-viewport .screen:fullscreen .player-host{width:100%;height:100%;transform:none}}
@media(min-width:1720px){.bar{border-radius:0 0 16px 16px}.foot{border-radius:16px 16px 0 0}}
@media(max-width:1100px){.layout{flex-direction:initial;align-items:start}.layout>.social{height:auto;width:100%}.bar{padding:10px 24px}.logo{font-size:20px}.bar:after{font-size:10px;max-width:150px}.bar .btn{padding:0 10px;font-size:12px}.local-social h2{font-size:19px}.game-zoom{margin-left:auto}}
@media(max-width:760px){.layout{padding:0 12px;grid-template-columns:minmax(0,1fr);gap:14px}.bar{margin:0 -12px;padding:12px;flex-wrap:wrap;gap:8px}.bar:after{display:none}.bar .logo{margin-right:auto}.bar .btn{height:33px;padding:0 9px}.bar .btn span{display:none}.base-banner{padding:10px;font-size:11px}.base-connection{display:none}.game-frame-outer{grid-column:1;padding:12px 8px 14px;border-radius:20px}.game-heading{padding-bottom:8px}.game-tools{gap:9px}.game-actions{gap:4px}.game-tools button{padding:6px;font-size:10px}.game-zoom{font-size:10px}.layout>.local-social{grid-column:1;grid-row:4;padding:20px;border-radius:20px}.foot{grid-row:5;margin:8px -12px 0;padding:12px;gap:8px}.foot-copy{flex-basis:100%}.foot-credits{display:block}.foot-release{margin-left:auto}#root>.frame{padding:0 12px}#root>.frame>.screen.message{min-height:420px;padding:20px}}

@media(max-width:760px){.bar{gap:6px}.bar .logo{font-size:16px;padding-left:36px}.bar .logo-and{font-size:16px}.bar .logo:before{width:30px;height:30px;font-size:24px}.bar .btn{width:32px;padding:0;justify-content:center}}

@media(min-width:761px){.bar{padding:6px 24px;min-height:44px}.bar .btn{height:30px}.base-banner{padding:7px 14px}.banner-icon{width:21px;height:21px}}
