/* Public winning evidence, no changes to card reconciliation or game geometry. */
.face-card.victory-gold{border:2px solid #e5b755!important;box-shadow:0 0 0 2px #e9c56b77,0 0 20px #f0c55a99!important}.victory-moment{position:relative;isolation:isolate;background:radial-gradient(ellipse at center,#4b3c2266,#131d2c 70%);border:1px solid #cfad6d;border-radius:20px;padding:22px;margin:12px 0 18px;overflow:hidden;text-align:center}.victory-heading{display:flex;justify-content:center;align-items:center;gap:12px;position:relative;z-index:1}.victory-heading>span{color:#f8d88e;font-size:36px}.victory-heading small{font-size:11px;letter-spacing:.15em;color:#f8d79a}.victory-heading h3{margin:5px 0;font-size:30px;color:#ffe4ac}.victory-moment>p{font-size:14px;margin:10px 0}.victory-five{position:relative;isolation:isolate;display:flex;justify-content:center;gap:10px;margin:26px auto;max-width:450px}.victory-five:before{content:'';position:absolute;z-index:-1;left:50%;top:50%;width:300px;height:300px;translate:-50% -50%;border-radius:50%;background:conic-gradient(from 0deg,transparent,#efcb6b55,transparent 20%,#ffe7a477,transparent 40%,#efcb6b44,transparent 65%);filter:blur(9px);opacity:.5}.is-new-victory .victory-five:before{animation:victory-shimmer 3s linear 2}.victory-card{display:flex;flex-direction:column;align-items:center;justify-content:space-around;position:relative;width:65px;height:94px;border:2px solid #d9b665;border-radius:9px;background:#fff5e1;color:#192737;font:700 25px Georgia,serif;box-shadow:0 5px 18px #0006,0 0 14px #f0c55a66}.victory-card.red{color:#ac3444}.victory-card>span{font-size:32px}.victory-result{position:relative;display:flex;align-items:center;justify-content:center;gap:16px;flex-wrap:wrap;color:#e6c68b}.victory-result span{font-size:14px}.victory-actions{position:relative;display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:15px}.victory-actions .btn{font-size:13px;white-space:normal}.victory-actions .selected{border-color:#f5ce82;background:#cfa55c22}.victory-share-dialog{width:min(720px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow-y:auto;border:1px solid #cfad6d;border-radius:18px;background:#131d2c;color:#fff;padding:16px}.victory-share-dialog canvas{display:block;width:100%;height:auto;border-radius:12px;margin-top:16px}.victory-share-dialog::backdrop{background:#050911c9}
.room-xp-detail{position:relative;z-index:12}.room-xp-mini{border:1px solid #9ab7bd55;background:#173434;color:#f2dfb0;border-radius:10px;min-height:42px;padding:8px 10px;gap:9px;cursor:pointer}.room-xp-info{display:none;position:absolute;top:calc(100% + 8px);left:0;width:255px;padding:15px;background:#152333;border:1px solid #c5ac77;border-radius:13px;box-shadow:0 12px 40px #0009;line-height:1.5;white-space:normal}.room-xp-info.is-open{display:grid;gap:5px}.room-xp-info strong{color:#f5d59b;font-size:17px}.room-xp-info span{color:#d4e0ec;font-size:14px}.room-xp-info small{color:#9eb6ca;font-size:12px}.room-top-actions{display:flex;justify-content:space-between;gap:14px;align-items:center;flex-wrap:wrap;max-width:100%;margin-top:16px}.room-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.room-top-actions .btn{font-size:13px;min-height:42px}.room-top-actions .room-leave{border-color:#dfb89177;color:#f1cfad;background:#3b2b221f;min-width:150px}.room-header{align-items:flex-start}.compact-primary-actions{display:grid!important;grid-template-columns:minmax(0,1fr) minmax(0,1.6fr);gap:10px}.compact-primary-actions>.raise-expander{grid-column:1/-1}.raise-panel .allin-go{grid-column:2!important;justify-self:end;width:auto!important;min-width:110px;min-height:44px!important;font-size:12px;padding:8px 12px!important;background:#2c2025;border:1px solid #c18f9177;color:#e7b8b5}.raise-panel .raise-go{min-height:44px}.raise-expander>summary{font-size:14px;min-height:44px}.room-leave:hover{border-color:#f0c899!important}
.level-chip-chest{display:grid;grid-template-columns:100px minmax(0,1fr);gap:12px;align-items:center;padding:14px;margin:14px 0;border:1px solid #d3b47277;background:linear-gradient(115deg,#3c3326,#152230);border-radius:16px}.level-chip-chest small{font-size:10px;letter-spacing:.06em;color:#dfc493}.level-chip-chest strong{display:block;font-size:22px;color:#f7d99a;margin:7px 0;letter-spacing:normal;animation:none}.level-chip-chest p{font-size:13px;line-height:1.5;margin:9px 0 0;overflow-wrap:anywhere}.level-chest-scene{height:112px!important;min-width:0;width:100%;margin:0!important;overflow:visible}.level-chest-scene .loot-chest{transform:translateX(-50%) scale(.5)!important;transform-origin:center bottom;bottom:8px}.level-chest-scene .chest-rays{opacity:.3}.level-up-banner .level-chip-chest{text-align:left;grid-template-columns:75px minmax(0,1fr);padding:10px}.level-up-banner .level-chip-chest strong{font-size:20px}.level-up-banner .level-chip-chest button{position:static;border:1px solid #cbaa70;background:#dab473;color:#192434;font-family:inherit;font-size:13px;font-weight:700;line-height:1.3;padding:9px 11px;min-height:42px;border-radius:9px;margin:3px 0}.level-up-banner>button[aria-label]{position:sticky;top:0;float:right;margin:-6px -6px -30px 0;z-index:4;background:#182331dd;border-radius:8px}
.daily-calendar{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:8px;margin:14px 0 20px}.daily-tile{display:grid;place-items:center;gap:3px;min-height:65px;border:1px solid #6d819447;border-radius:12px;background:#112030;color:#91a6b9;padding:9px 3px;cursor:default}.daily-tile span{font-size:23px;line-height:1.2}.daily-tile small{font-size:11px}.daily-tile.is-opened{border-color:#4a9e83;background:#16392f;color:#a3dac2;opacity:1}.daily-tile.is-ready{border:2px solid #ebc37e;background:linear-gradient(145deg,#514124,#25313c);color:#ffe7b8;box-shadow:0 0 18px #e2b96333;cursor:pointer}.daily-tile.is-locked{opacity:.55}.daily-tile.is-milestone{border-style:double;border-width:3px}.modal:has(#dailyPanel:not(.hidden)){width:min(620px,calc(100vw - 24px));max-height:calc(100dvh - 24px);overflow-y:auto;padding:20px}.modal-backdrop:has(#dailyPanel:not(.hidden)){padding:12px}.modal:has(#dailyPanel:not(.hidden)) .modal-close{position:sticky;top:0;float:right;z-index:3}.modal:has(#dailyPanel:not(.hidden)) .chest-scene{height:135px;margin:0 auto}.modal:has(#dailyPanel:not(.hidden)) .loot-chest{transform:translateX(-50%) scale(.6);transform-origin:center bottom}.modal:has(#dailyPanel:not(.hidden)) .daily-reward{font-size:14px;margin:12px 0}#dailyCalendarTitle{font-size:19px;margin:15px 0 8px}
@keyframes victory-shimmer{to{rotate:360deg}}@media(max-width:600px){.victory-moment{padding:16px 12px}.victory-heading h3{font-size:25px}.victory-five{gap:7px;margin:20px auto}.victory-card{width:48px;height:72px;font-size:22px}.victory-card>span{font-size:27px}.room-top-actions{gap:8px;align-items:stretch}.room-tools{gap:3px;flex:1 1 100%;justify-content:flex-start}.room-top-actions .btn{font-size:12px;padding:8px 10px}.room-top-actions .room-leave{flex:1 1 auto;min-width:0;max-width:210px;margin-left:auto}.room-xp-info{left:auto;right:0;width:min(255px,calc(100vw - 40px))}.level-chip-chest{grid-template-columns:75px minmax(0,1fr);gap:6px}.daily-calendar{gap:5px}.daily-tile{min-height:58px;padding:6px 2px}.daily-tile span{font-size:20px}.daily-tile small{font-size:10px}.modal:has(#dailyPanel:not(.hidden)){padding:16px}.level-up-banner .level-chip-chest small{font-size:9px;white-space:normal}.level-up-banner .level-chip-chest button{font-size:12px}.level-up-banner .level-chip-chest p{font-size:12px}.room-xp-mini{padding:7px}.victory-share-dialog{padding:12px}.victory-actions .btn{min-height:42px}}@media(prefers-reduced-motion:reduce){.is-new-victory .victory-five:before{animation:none}.level-chip-chest .loot-lid,.level-chip-chest .chest-rays{animation:none!important}}

.level-chest-scene .loot-chest{top:auto!important;bottom:4px!important;animation:none!important}.modal:has(#dailyPanel:not(.hidden)) .loot-chest{top:auto;bottom:4px;animation:none!important}.modal:has(#dailyPanel:not(.hidden)) #closeModal{position:sticky;top:0;float:right;z-index:4}

.room-xp-info{position:fixed;right:auto!important;z-index:9500}

.daily-tile{position:relative;overflow:hidden}.daily-tile.is-ready{animation:daily-ready397 2.8s ease-in-out infinite}.daily-tile.is-ready:after{content:'✦';position:absolute;top:3px;right:5px;color:#fff4c0;font-size:13px;pointer-events:none}.daily-tile.is-opened .daily-diamonds313{color:#bcebd4}@keyframes daily-ready397{50%{box-shadow:0 0 20px #edc97c88,inset 0 0 12px #edc97c22}}@media(prefers-reduced-motion:reduce){.daily-tile.is-ready{animation:none;box-shadow:0 0 0 2px #edc97c66}}
