/* CAFE_REFERENCE_HOME_V1 */
.app:has(#home-view:not([hidden])){background:#050715}.app:has(#home-view:not([hidden])) .eyebrow{display:none}.app:has(#home-view:not([hidden])) #stage-connection{font-size:11px;min-height:20px;background:transparent;border:0;padding:0;margin:0 0 5px;color:#8fa8a2}.app:has(#home-view:not([hidden])) .identity{direction:rtl}.app:has(#home-view:not([hidden])) .balances{grid-template-columns:1fr 1fr}.app:has(#home-view:not([hidden])) .balance.gold{order:-1;background:linear-gradient(#6b6f7d,#292b39 55%,#151722);border-color:#7a7d94;color:#fff}.app:has(#home-view:not([hidden])) .balance.silver{background:linear-gradient(#e6c975,#9a6e13 48%,#b68930 65%,#e7c66c);border-color:#e9cc83;color:#fff}.app:has(#home-view:not([hidden])) .tile{background-color:#08091b;min-height:94px}.app:has(#home-view:not([hidden])) .labels strong{font-size:22px}.app:has(#home-view:not([hidden])) .labels small{font-size:16px;font-weight:400}.app:has(#home-view:not([hidden])) .note{display:none}#cafe-install{width:100%;min-height:62px;border:3px solid #58df8c;border-radius:18px;background:linear-gradient(130deg,#40c870,#0a8542);box-shadow:0 0 14px #16bd6a45,inset 0 0 10px #9cffb45c;color:#fff;font:700 18px Tahoma,Arial;cursor:pointer;margin:0 0 20px;padding:12px}#cafe-guide-button{display:block;margin:14px auto 0;border:1px solid #998350;background:#1a1923;color:#f3d886;border-radius:10px;padding:8px 15px;font:13px Tahoma;cursor:pointer}.cafe-reference-layer{position:fixed;inset:0;z-index:2000;direction:rtl;font-family:Tahoma,Arial;color:#eee}.cafe-reference-layer[hidden]{display:none}.cafe-reference-backdrop{position:absolute;inset:0;background:#000b}.cafe-reference-light{position:fixed;border:3px solid #edbd34;border-radius:22px;box-shadow:0 0 0 7px #d7a51b30,0 0 24px #ffd13b66;pointer-events:none;z-index:1}.cafe-reference-light[hidden]{display:none}.cafe-reference-card{position:fixed;z-index:2;width:calc(100% - 32px);max-width:600px;max-height:70svh;overflow:auto;left:50%;transform:translateX(-50%);background:#15121f;border:1px solid #aa8a3c;border-radius:24px;padding:20px 18px;box-shadow:0 12px 40px #0006}.cafe-reference-card h2{font-size:20px;line-height:1.9;color:#ffe58c;margin:0 0 14px;padding-left:35px}.cafe-reference-card p{font-size:16px;line-height:2;margin:0 0 22px;color:#e4e1e9;white-space:pre-line}.cafe-reference-close{position:absolute;left:18px;top:18px;border:0;border-radius:50%;width:32px;height:32px;background:#302d39;color:#eee;font:26px Arial;cursor:pointer}.cafe-reference-actions{display:flex;align-items:center;gap:10px;direction:ltr}.cafe-reference-actions button{border-radius:13px;min-height:48px;padding:9px 16px;font:700 16px Tahoma;cursor:pointer}.cafe-reference-next{background:#ffc21b;color:#291f03;border:1px solid #ffc21b}.cafe-reference-prev{background:#2a2733;border:1px solid #64606e;color:#eee}.cafe-reference-step{margin-left:auto;color:#b7b1be;font:15px Arial}.cafe-reference-actions button:focus-visible,.cafe-reference-close:focus-visible{outline:3px solid #ffe273;outline-offset:3px}@media(max-width:360px){.cafe-reference-card{padding:18px 14px}.cafe-reference-card p{font-size:14px}.cafe-reference-card h2{font-size:18px}}@media(prefers-reduced-motion:reduce){.cafe-reference-layer *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
/* CAFE_REFERENCE_ROOMS_V1 */
.app:has(#rooms-view:not([hidden])){background:#050715}.app:has(#rooms-view:not([hidden])) .eyebrow{display:none}.app:has(#rooms-view:not([hidden])) .identity{direction:rtl}.app:has(#rooms-view:not([hidden])) .balances{grid-template-columns:1fr 1fr}.app:has(#rooms-view:not([hidden])) .balance.gold{order:-1;background:linear-gradient(#6b6f7d,#292b39 55%,#151722);color:#fff}.app:has(#rooms-view:not([hidden])) .balance.silver{background:linear-gradient(#e6c975,#9a6e13 48%,#b68930 65%,#e7c66c);color:#fff}#rooms-view .room-row{display:block;margin-bottom:12px}#rooms-view .room-card{height:148px;border-radius:18px}#rooms-view .room-stats{top:10px;bottom:auto;left:10px;gap:7px;align-items:flex-start}#rooms-view .playing-count{display:flex;flex-direction:row;direction:ltr;min-height:0;padding:6px 9px;gap:5px;background:#43176366;border:1px solid #ffffff30;border-radius:10px;box-shadow:inset 0 1px 2px #ffffff16}#rooms-view .playing-count>span{display:none}#rooms-view .playing-count strong{font:700 17px Arial;line-height:1.4;text-shadow:none}#rooms-view .playing-count svg{width:19px;height:19px;color:white;filter:none}#rooms-view .room-stat{padding:6px 9px;font-size:17px;border-radius:10px}#rooms-view .room-stat svg{width:19px;height:19px}#rooms-view .room-amount{font-size:29px;right:10px;top:10px;padding:3px 10px}#rooms-view .room-name{font-size:12px;right:10px;bottom:10px}#cafe-rooms-guide-button{display:block;margin:4px auto 14px;border:1px solid #998350;background:#1a1923;color:#f3d886;border-radius:10px;padding:8px 15px;font:13px Tahoma;cursor:pointer}@media(max-width:360px){#rooms-view .room-card{height:136px}#rooms-view .room-amount{font-size:24px}#rooms-view .playing-count strong,#rooms-view .room-stat{font-size:14px}}
/* CAFE_REFERENCE_LOBBY_V1 */
.app:has(#lobby-view:not([hidden])){background:#03040b}.app:has(#lobby-view:not([hidden])) .identity{direction:rtl}.app:has(#lobby-view:not([hidden])) .eyebrow{display:none}.app:has(#lobby-view:not([hidden])) .balance.gold{order:-1;background:linear-gradient(#626670,#22232b);color:#fff}.app:has(#lobby-view:not([hidden])) .balance.silver{background:linear-gradient(#e6c975,#91680e 50%,#d2af52)}#lobby-view .lobby-panel{position:relative;border:1px solid #c891d3;border-radius:19px;background:radial-gradient(ellipse at 58% 32%,#47107855,transparent 56%),radial-gradient(circle at 72% 75%,#0e174b88,transparent 60%),#060518;box-shadow:inset 1px 0 2px #7e91ff,inset -1px 0 2px #efb4f1,0 0 8px #6557db44}#lobby-view .player-row{min-height:40px;background:#fff;color:#303944;border:0;border-radius:9px;padding:8px 11px;margin-bottom:8px;font-weight:700}#lobby-view .player-row span:last-child{color:#62696e;font-weight:400}#lobby-view .players-list{max-height:210px;overflow:auto;padding-bottom:2px}#lobby-view .waiting-panel{min-height:245px;padding-bottom:14px}#lobby-view .waiting-bottom{position:static;transform:none;justify-content:center;margin-top:12px;font-size:11px}#lobby-view .waiting-top{margin-bottom:20px}#lobby-view .demo-timer{color:#38d28d}#lobby-view .active-panel{min-height:225px}#lobby-view .active-panel h2{font-size:20px;color:#5bdf9c}#lobby-view .active-table{background:#fffceb;color:#42494c;border:0;border-radius:9px;min-height:42px;padding:9px 11px}#lobby-view .active-table .table-pot{color:#303539;font-weight:800}#lobby-view .confirm-buy{background:linear-gradient(120deg,#069e83,#77d327);color:#103b32;border-color:#b1e47f;box-shadow:inset 0 1px 3px #eaffbb,0 0 8px #6bdf6b55}#lobby-view .quantity-button.plus{background:linear-gradient(#6de03b,#169868);border-color:#adee72}#lobby-view .quantity-label{background:#19132b;border-radius:14px}#cafe-lobby-guide-button{display:block;margin:0 auto 12px;padding:7px 12px;border-radius:10px;border:1px solid #998350;background:#1a1923;color:#f3d886;font:13px Tahoma;cursor:pointer}
/* CAFE_COMPACT_LOBBY_V1 */
.app.showing-lobby #stage-connection,.app.showing-lobby .eyebrow,.app.showing-lobby #cafe-lobby-guide-button,.app.showing-lobby #lobby-view>.rooms-toolbar{display:none!important}
.app.showing-lobby .top{padding:10px 12px;margin-bottom:23px;border-radius:20px}
.app.showing-lobby .identity{min-height:34px;margin-bottom:10px}
.app.showing-lobby .brand{padding:2px 11px;transform:rotate(-3deg)}
.app.showing-lobby .brand strong{font-size:19px;line-height:1.15}
.app.showing-lobby .brand small{font-size:6px;margin-top:1px}
.app.showing-lobby .user{font-size:15px;gap:7px}
.app.showing-lobby .avatar{width:30px;height:30px}
.app.showing-lobby .balance{height:35px;padding:0 10px}
.app.showing-lobby .balance .number{font-size:19px;white-space:nowrap}
.app.showing-lobby .balances{grid-template-columns:1.12fr 1fr;gap:10px}
#back-rooms.cafe-compact-back{display:none}
.app.showing-lobby #back-rooms.cafe-compact-back{display:grid;place-items:center;position:absolute;left:-13px;top:13px;width:25px;height:30px;border:0;background:transparent;box-shadow:none;padding:0;color:white;font:26px Arial;z-index:3}
.app.showing-lobby #lobby-view .lobby-panel{margin-bottom:13px;border-radius:17px}
.app.showing-lobby #lobby-view .purchase-panel{padding:12px 11px}
.app.showing-lobby .purchase-options{margin-bottom:14px;gap:7px}
.app.showing-lobby .purchase-controls{grid-template-columns:44px minmax(0,1fr) 44px;gap:10px}
.app.showing-lobby .quantity-button{height:47px}
.app.showing-lobby .confirm-buy{font-size:15px;padding:5px 3px}
.app.showing-lobby .purchase-status{font-size:10px;line-height:1.5;min-height:0;margin:6px 0 0}
.app.showing-lobby #lobby-view .waiting-panel{min-height:198px;padding:14px 11px}
.app.showing-lobby #lobby-view .waiting-top{margin-bottom:18px;gap:6px}
.app.showing-lobby #lobby-view .waiting-top h2{gap:6px;font-size:11px}
.app.showing-lobby #lobby-view .start-players{font-size:10px}
.app.showing-lobby #lobby-view .demo-timer{font-size:26px}
.app.showing-lobby #lobby-view .players-list{max-height:132px;gap:8px;overflow:auto}
.app.showing-lobby #lobby-view .player-row{min-height:35px;margin-bottom:0;padding:6px 10px;box-shadow:none}
.app.showing-lobby #lobby-view .waiting-bottom{padding-top:6px;margin-top:auto;font-size:10px}
.app.showing-lobby #lobby-view .active-panel{min-height:205px;padding:12px 11px}
.app.showing-lobby #lobby-view .active-panel h2{font-size:19px;margin:0 0 15px}
.app.showing-lobby #lobby-view .active-table{min-height:36px;padding:7px 10px}
@media(max-width:360px){.app.showing-lobby .balance .number{font-size:16px}.app.showing-lobby #lobby-view .waiting-top h2{font-size:10px;gap:4px}.app.showing-lobby #lobby-view .start-players{font-size:9px}.app.showing-lobby .confirm-buy{font-size:13px}}
