:root{--board-bg: #cde6d0;--center-bg: #fbf8ef;--border-color: #111;--monopoly-red: #e63946;--monopoly-blue: #0072bb;--monopoly-green: #1fb25a;--monopoly-purple: #8b5cf6;--monopoly-yellow: #ffb703;--font-zh: "GenWanMin", "Microsoft JhengHei", system-ui, sans-serif;--font-en: "Montserrat", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;--auth-bg-base-color: #8ec8f0;--auth-bg-image: url(../assets/ui/auth/rollclass-login-bg.webp);--auth-bg-image-2x: url(../assets/ui/auth/rollclass-login-bg@2x.webp);--auth-bg-scrim: transparent;--hub-bg-base-color: #c9b896;--hub-bg-image: url(../assets/auth-bg-concept1-desk.webp);--hub-bg-scrim: rgba(255, 255, 255, .12);--hub-font: "Noto Sans TC", "Microsoft JhengHei", "PingFang TC", sans-serif;--hub-font-en: "Nunito", "Montserrat", sans-serif;--auth-purple: #8b7cf6;--auth-purple-dark: #7565e8;--auth-link: #5b8def;--mono-btn-style: B;--clay-coral-top: #ff8a8a;--clay-coral-mid: #f06565;--clay-coral-bot: #e85555;--clay-cream-top: #fff8dc;--clay-cream-mid: #ffefb8;--clay-cream-bot: #ffe8a3;--clay-peach-top: #ffe4b8;--clay-peach-mid: #ffd08a;--clay-peach-bot: #f5b84d;--clay-gray-top: #f0ece8;--clay-gray-mid: #e0dbd6;--clay-gray-bot: #cfc9c3;--clay-lavender-top: #ddd6fe;--clay-lavender-mid: #c4b5fd;--clay-lavender-bot: #a78bfa;--clay-gold-top: #fef3c7;--clay-gold-mid: #fde68a;--clay-gold-bot: #fbbf24;--clay-sky-top: #bae6fd;--clay-sky-mid: #7dd3fc;--clay-sky-bot: #38bdf8;--clay-shadow-outer: 0 8px 20px rgba(0, 0, 0, .12);--clay-shadow-inner: inset 0 2px 6px rgba(255, 255, 255, .55), inset 0 -3px 6px rgba(0, 0, 0, .08)}@media(-webkit-min-device-pixel-ratio:1.25),(min-resolution:120dpi),(min-width:1900px){:root{--auth-bg-image: url(../assets/ui/auth/rollclass-login-bg@2x.webp)}}body{background-color:var(--auth-bg-base-color);background-image:var(--auth-bg-image);background-size:cover;background-position:center;background-repeat:no-repeat;background-attachment:fixed;color:#000;font-family:var(--font-zh);margin:0;display:flex;justify-content:center;align-items:center;min-height:100vh;overflow:hidden;touch-action:manipulation}#board-container{position:relative;width:95vw;height:53.4vw;max-width:1200px;max-height:675px;display:grid;gap:2px;background:var(--border-color);border:4px solid var(--border-color);box-shadow:0 10px 40px #0006}.cell{background:#fff;position:relative;display:flex;flex-direction:column;text-align:center;font-weight:700;transition:all .1s;overflow:hidden;justify-content:center;align-items:center;box-sizing:border-box;z-index:5}.house-container{position:absolute;bottom:2px;left:2px;right:2px;display:flex;justify-content:center;align-items:flex-end;flex-wrap:wrap;gap:2px;pointer-events:none}.house-icon{display:inline-block}.house-img{height:clamp(14px,3vmin,28px);width:auto;display:block}.cell-text{padding:0;font-size:clamp(5px,3vmin,40px);color:#111;word-break:break-word;line-height:1.2;font-weight:700}.cell.chance{background:#ffebcc}.cell.chance .cell-text{color:#d97706}.cell.fate{background:#ffe6e6}.cell.fate .cell-text{color:#dc2626}.cell.student.drawn-hidden{background:#b8bcc4!important;filter:grayscale(.85);opacity:.72}.cell.student.drawn-hidden .drawn-hidden-text{color:#4b5563}.cell.student.drawn-hidden.active{box-shadow:inset 0 0 0 4px #6b7280}.cell.active{border:4px solid var(--monopoly-red);box-shadow:inset 0 0 12px var(--monopoly-red);transform:scale(1.08);z-index:15!important;background:#fff0f0!important}.group-badge{position:absolute;top:4px;left:4px;font-size:12px;font-weight:800;padding:2px 6px;border:2px solid #000;border-radius:999px;background:#ffffffe6;box-shadow:2px 2px #000;z-index:6;line-height:1;pointer-events:none}.leaderboard-tabs{display:flex;gap:8px;justify-content:center;margin:10px 0 14px;flex-wrap:wrap}.leaderboard-tab{padding:6px 12px;border:2px solid #000;border-radius:999px;background:#eee;font-weight:800;cursor:pointer;box-shadow:2px 2px #000}.leaderboard-tab.active{background:var(--monopoly-yellow)}.leaderboard-table{width:100%;border-collapse:collapse;text-align:left;font-weight:700}.leaderboard-table th,.leaderboard-table td{padding:10px 8px;border-bottom:1px dashed #ccc;font-size:14px}.leaderboard-rank{width:60px;text-align:center}.leaderboard-score{width:90px;text-align:right;font-variant-numeric:tabular-nums}.leaderboard-muted{color:#6b7280;font-weight:700;font-size:12px}#center-area{display:flex;flex-direction:column;justify-content:center;align-items:center;background:var(--center-bg);border:2px solid var(--border-color);margin:5px;padding:10px 20px;position:relative;text-align:center;z-index:25;isolation:isolate}.top-right-controls{position:absolute;top:10px;right:15px;display:flex;flex-direction:column;align-items:flex-end;gap:4px;z-index:20}.top-right-row,.bottom-right-row{display:flex;align-items:center;gap:6px}.top-left-tools{position:absolute;top:10px;left:15px;display:flex;align-items:center;gap:6px;z-index:20}.audio-controls{display:flex;gap:8px}.audio-btn{background:#fff;border:2px solid #000;border-radius:8px;cursor:pointer;padding:5px 8px;font-size:18px;box-shadow:2px 2px #000;transition:.1s}.audio-btn:active{transform:translate(1px,1px);box-shadow:1px 1px #000}.audio-btn.on{background:var(--monopoly-green);color:#fff}.audio-btn.off{background:#4b5563;color:#e5e7eb;opacity:.9}.logo-text{background:var(--monopoly-red);color:#fff;padding:8px 20px;font-size:clamp(18px,4vmin,40px);transform:rotate(-3deg);border:3px solid #000;box-shadow:5px 5px #000;margin-bottom:15px;font-weight:700}.logo-image{width:min(90%,520px);aspect-ratio:820 / 297;object-fit:contain;display:block;margin-bottom:15px;position:relative;z-index:30}#status-text{font-size:clamp(14px,2.5vmin,24px);margin-bottom:6px;font-weight:700;color:#333;min-height:3vmin}#status-text.status-normal{color:#374151}#status-text.status-success{color:#15803d}#status-text.status-info{color:#2563eb}#status-text.status-warning{color:#b45309}#status-text.status-danger{color:#b91c1c}#current-player{font-size:clamp(14px,2.2vmin,22px);margin-bottom:4px;font-weight:700;color:#111;min-height:2.5vmin}#hint-text{font-size:clamp(10px,1.5vmin,14px);color:#6b7280;margin-bottom:10px}#dice-container{display:flex;justify-content:center;align-items:center;width:min(200px,52vw);height:clamp(56px,10vmin,80px);margin-bottom:12px}#dice-canvas{display:block;width:100%;height:100%;max-width:200px;max-height:80px}.btn-main-group{display:flex;flex-direction:column;align-items:center;gap:8px;z-index:10;width:100%;margin-bottom:8px}.btn-secondary-row{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;width:100%}#btn-roll{min-width:210px;padding:8px;font-size:clamp(18px,4vmin,40px)}#btn-marquee,#btn-settle{min-width:100px;padding:5px;font-size:clamp(10px,2vmin,16px)}.btn-toolbar{display:flex;flex-wrap:wrap;gap:6px;justify-content:center;z-index:10;width:100%}button{cursor:pointer;padding:10px 18px;font-size:clamp(12px,1.8vmin,18px);font-weight:700;border:2px solid #000;box-shadow:3px 3px #000;transition:.2s;border-radius:6px}button:hover{transform:translate(-2px,-2px);box-shadow:5px 5px #000}button:active{transform:translate(1px,1px);box-shadow:1px 1px #000}button:disabled{opacity:.6;cursor:not-allowed;box-shadow:0 0 #000;transform:none!important}.btn-settings{background:var(--monopoly-blue);color:#fff}.btn-roll{background:var(--monopoly-red);color:#fff}.btn-marquee{background:#ffebcc}.btn-shuffle{background:#eee}.btn-reset{background:var(--monopoly-purple);color:#fff}.btn-history{background:var(--monopoly-yellow);color:#000}.icon-btn{width:38px;height:38px;padding:0;border-radius:50%;font-size:20px;display:flex;align-items:center;justify-content:center}#center-area #btn-roll,#center-area #btn-marquee,#center-area #btn-settle,#center-area .icon-btn{border:none;box-shadow:var(--clay-shadow-inner),var(--clay-shadow-outer);font-weight:800;letter-spacing:.03em;transition:transform .18s ease,box-shadow .18s ease,filter .18s ease}#center-area #btn-roll{border-radius:22px}#center-area #btn-marquee,#center-area #btn-settle{border-radius:18px}#center-area .icon-btn{width:44px;height:44px;border-radius:16px;font-size:22px}#center-area #btn-roll:hover,#center-area #btn-marquee:hover,#center-area #btn-settle:hover,#center-area .icon-btn:hover{transform:translateY(-2px);filter:brightness(1.06);box-shadow:inset 0 2px 8px #fff9,inset 0 -3px 6px #0000000f,0 12px 24px #00000024}#center-area #btn-roll:active,#center-area #btn-marquee:active,#center-area #btn-settle:active,#center-area .icon-btn:active{transform:scale(.97);filter:brightness(.98);box-shadow:inset 0 1px 4px #fff6,inset 0 2px 8px #0000001f,0 4px 10px #0000001a}#center-area #btn-roll:disabled,#center-area #btn-marquee:disabled,#center-area #btn-settle:disabled,#center-area .icon-btn:disabled{background:linear-gradient(180deg,#d1d5db,#9ca3af)!important;color:#6b7280!important;cursor:not-allowed;opacity:.72;transform:none!important;filter:none;box-shadow:inset 0 1px 3px #ffffff4d,0 2px 6px #00000014}#center-area .btn-roll{background:linear-gradient(180deg,var(--clay-coral-top) 0%,var(--clay-coral-mid) 45%,var(--clay-coral-bot) 100%);color:#fff}#center-area .btn-marquee{background:linear-gradient(180deg,var(--clay-cream-top) 0%,var(--clay-cream-mid) 45%,var(--clay-cream-bot) 100%);color:#5c4a1e}#center-area #btn-settle{background:linear-gradient(180deg,var(--clay-peach-top) 0%,var(--clay-peach-mid) 45%,var(--clay-peach-bot) 100%);color:#5c3d10}#center-area .btn-shuffle{background:linear-gradient(180deg,var(--clay-gray-top) 0%,var(--clay-gray-mid) 45%,var(--clay-gray-bot) 100%);color:#4b5563}#center-area .btn-reset{background:linear-gradient(180deg,var(--clay-lavender-top) 0%,var(--clay-lavender-mid) 45%,var(--clay-lavender-bot) 100%);color:#fff}#center-area .btn-history{background:linear-gradient(180deg,var(--clay-gold-top) 0%,var(--clay-gold-mid) 45%,var(--clay-gold-bot) 100%);color:#5c4a1e}#center-area .btn-settings{background:linear-gradient(180deg,var(--clay-sky-top) 0%,var(--clay-sky-mid) 45%,var(--clay-sky-bot) 100%);color:#fff}#center-area .mono-btn-sprite{background:transparent!important;border:none!important;box-shadow:none!important;padding:0!important;line-height:0;color:transparent;min-width:0!important;font-size:0!important;filter:drop-shadow(0 6px 14px rgba(0,0,0,.14));transition:transform .18s ease,filter .18s ease,opacity .18s ease}#center-area .mono-btn-sprite img{display:block;width:100%;height:auto;pointer-events:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none}#center-area #btn-roll.mono-btn-sprite{width:min(268px,94%)}#center-area #btn-roll.mono-btn-sprite img{width:100%;height:auto;max-height:82px;object-fit:contain}#center-area #btn-marquee.mono-btn-sprite,#center-area #btn-settle.mono-btn-sprite{width:min(210px,82%)}#center-area #btn-marquee.mono-btn-sprite img,#center-area #btn-settle.mono-btn-sprite img{width:100%;height:auto;max-height:62px;object-fit:contain}#center-area .icon-btn.mono-btn-sprite{width:48px!important;height:auto!important;border-radius:0!important}#center-area .icon-btn.mono-btn-sprite img{width:48px;height:auto;max-height:48px;object-fit:contain}#center-area .mono-btn-sprite:hover{transform:translateY(-2px) scale(1.02);filter:drop-shadow(0 10px 20px rgba(0,0,0,.18)) brightness(1.04)}#center-area .mono-btn-sprite:active{transform:scale(.97);filter:drop-shadow(0 4px 10px rgba(0,0,0,.12))}#center-area .mono-btn-sprite:disabled{opacity:.55;filter:grayscale(.35) drop-shadow(0 2px 6px rgba(0,0,0,.08));cursor:not-allowed;transform:none!important}.modal-overlay{position:fixed;top:0;left:0;width:100%;height:100%;background:#000000d9;display:none;justify-content:center;align-items:center;z-index:1000}.modal-content{background:#fff;width:85%;max-width:700px;padding:25px;border-radius:12px;max-height:85vh;overflow-y:auto;border:4px solid #000}.cloud-section{background:#f0f7ff;padding:15px;border:2px dashed var(--monopoly-blue);margin-bottom:20px;border-radius:8px;text-align:left}.code-display{font-size:22px;color:var(--monopoly-red);letter-spacing:2px;background:#fff;padding:5px 15px;border:2px solid #000;font-family:monospace}textarea{width:100%;height:80px;margin:8px 0 15px;border:2px solid #000;padding:10px;font-size:14px;box-sizing:border-box}select{font-size:16px;padding:5px;margin-bottom:15px;border:2px solid #000;font-weight:700}.modal-footer{text-align:right;margin-top:10px;border-top:2px solid #eee;padding-top:15px}#history-list{list-style:none;padding:0;margin:0;text-align:left;max-height:50vh;overflow-y:auto}#history-list li{padding:10px;border-bottom:1px dashed #ccc;font-size:16px;font-weight:700}#history-list li.history-item{padding-left:14px;border-left:4px solid transparent}#history-list li.history-winner{border-left-color:var(--monopoly-blue)}#history-list li.history-chance{border-left-color:#d97706}#history-list li.history-fate{border-left-color:#dc2626}#history-list li.history-house{border-left-color:var(--monopoly-green)}.history-header{position:relative;display:flex;align-items:center;justify-content:center;margin-bottom:5px}.btn-clear-history{position:absolute;right:0;background:#f97373;color:#fff;padding:4px 10px;font-size:12px;border-radius:999px;border:2px solid #000;cursor:pointer;box-shadow:2px 2px #000}#history-list li span.time{color:#666;font-size:12px;margin-right:10px;font-weight:400}#result-modal{position:fixed;top:0;left:0;width:100%;height:100%;background:#000000bf;display:none;justify-content:center;align-items:center;z-index:2000}.result-content{background:#fff;width:80%;max-width:500px;padding:40px;border-radius:20px;text-align:center;border:6px solid #000;box-shadow:10px 10px #000;animation:popIn .3s cubic-bezier(.175,.885,.32,1.275)}@keyframes popIn{0%{transform:scale(.5);opacity:0}to{transform:scale(1);opacity:1}}.result-title{font-size:clamp(24px,3.5vmin,40px);font-weight:700;margin-bottom:20px;color:#333}.result-name{font-size:clamp(36px,7vmin,80px);font-weight:700;color:var(--monopoly-blue);margin:30px 0;word-break:break-word}.result-text{font-size:clamp(20px,4vmin,40px);font-weight:700;margin:30px 0}.btn-close-result{background:var(--monopoly-red);color:#fff;padding:12px 30px;font-size:clamp(16px,2.5vmin,24px);margin-top:20px;border:3px solid #000;box-shadow:4px 4px #000;cursor:pointer;font-weight:700}.btn-close-result:hover{transform:translate(-2px,-2px);box-shadow:6px 6px #000}.btn-close-result:active{transform:translate(2px,2px);box-shadow:2px 2px #000}.result-house-buttons{display:flex;justify-content:center;gap:10px;margin-top:10px;flex-wrap:wrap}.btn-house{background:var(--monopoly-green);color:#fff;padding:8px 14px;font-size:clamp(12px,2vmin,18px);font-weight:700;border:2px solid #000;border-radius:6px;box-shadow:3px 3px #000;cursor:pointer}.btn-house-wrong{background:#ccc;color:#000}#auth-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background-color:var(--auth-bg-base-color);background-image:var(--auth-bg-image);background-size:cover;background-position:center;background-repeat:no-repeat;display:flex;flex-direction:column;justify-content:space-between;align-items:center;z-index:9999;font-family:"Nunito",var(--font-zh);overflow-y:auto;padding:clamp(12px,2vh,24px) clamp(12px,2vw,20px) clamp(10px,1.5vh,18px)}#auth-overlay:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;background:var(--auth-bg-scrim);pointer-events:none}#auth-overlay.hidden{display:none}.auth-main{position:relative;flex:1;display:flex;align-items:center;justify-content:center;width:100%;min-height:0;padding:8px 0}.auth-card{position:relative;width:min(92vw,440px);background:#fff;border-radius:28px;box-shadow:0 24px 60px #3c327838,0 4px 16px #00000014;padding:clamp(24px,4vw,36px) clamp(22px,4vw,34px) clamp(22px,3.5vw,30px);text-align:center;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);overflow:hidden}.auth-card .app-beta-ribbon{position:absolute;top:0;right:0;z-index:5;width:118px;height:118px;pointer-events:none;overflow:hidden}.auth-card .app-beta-ribbon-bow{display:none}.auth-card .app-beta-ribbon-band{position:absolute;top:22px;right:-38px;width:168px;padding:6px 0;background:linear-gradient(180deg,#ff4d6d,#e11d48 48%,#be123c);color:#fff;font-family:Nunito,Noto Sans TC,sans-serif;font-size:9px;font-weight:900;letter-spacing:.02em;text-align:center;text-shadow:0 1px 0 rgba(0,0,0,.25);box-shadow:0 2px #9f1239,0 4px 10px #0003;transform:rotate(45deg);transform-origin:center;border-top:1px solid rgba(255,255,255,.35);border-bottom:1px solid rgba(0,0,0,.15);white-space:nowrap}.auth-lang-wrap{position:absolute;top:14px;left:14px;z-index:6}.auth-lang-toggle{display:inline-flex;align-items:center;justify-content:center;width:40px;height:40px;border:2px solid #111;border-radius:999px;background:#fff;color:#111;font-size:20px;line-height:1;padding:0;cursor:pointer;box-shadow:0 2px #111}.auth-lang-toggle:hover,.auth-lang-toggle[aria-expanded=true]{background:#fef3c7}.auth-lang-menu{position:absolute;top:calc(100% + 6px);left:0;min-width:120px;padding:6px;border:2px solid #111;border-radius:12px;background:#fff;box-shadow:3px 3px #111;display:flex;flex-direction:column;gap:4px}.auth-lang-menu.hidden{display:none!important}.auth-lang-option{border:none;border-radius:8px;background:transparent;text-align:left;font:inherit;font-size:14px;font-weight:800;padding:8px 10px;cursor:pointer;color:#111}.auth-lang-option:hover,.auth-lang-option[aria-selected=true]{background:#fef3c7}.auth-brand{display:flex;flex-direction:column;align-items:center;gap:6px;margin-bottom:8px}.auth-dice-logo{position:relative;width:72px;height:72px;margin:0 auto 4px;filter:drop-shadow(0 4px 10px rgba(0,0,0,.14))}.auth-dice-img{width:100%;height:100%;object-fit:contain;display:block}.auth-wordmark{font-family:"Nunito",var(--font-en);font-size:clamp(28px,5.5vw,36px);font-weight:800;letter-spacing:-.5px;line-height:1.1}.auth-wordmark .wm-r{color:#f472b6}.auth-wordmark .wm-o{color:#fb923c;position:relative}.auth-wordmark .wm-l1,.auth-wordmark .wm-l3{color:#60a5fa}.auth-wordmark .wm-l2{color:#4ade80}.auth-wordmark .wm-c{color:#2dd4bf}.auth-wordmark .wm-a{color:#f472b6}.auth-wordmark .wm-s1{color:#facc15}.auth-wordmark .wm-s2{color:#4ade80}.auth-wordmark .wm-fun{display:inline-block;margin-left:2px;padding:2px 10px 4px;font-size:.55em;font-weight:800;color:#fff;background:linear-gradient(135deg,#a78bfa,#8b5cf6);border-radius:999px;vertical-align:middle;transform:translateY(-2px);box-shadow:0 2px 8px #8b5cf659}.auth-title{margin:4px 0 10px;font-size:clamp(20px,4vw,26px);font-weight:800;color:#374151;letter-spacing:.02em}.auth-trust-social{margin:0 0 10px;padding:0 4px;font-size:clamp(12px,2.8vw,14px);font-weight:600;color:#6b7280;text-align:center;line-height:1.5}.auth-trust-hl{font-weight:800;color:var(--auth-purple-dark)}.auth-trust-schools-btn{display:inline;margin:0;padding:0;border:none!important;background:none!important;box-shadow:none!important;transform:none!important;font:inherit;font-weight:600;color:inherit;cursor:pointer;text-decoration:underline;text-decoration-color:color-mix(in srgb,var(--auth-purple-dark) 45%,transparent);text-underline-offset:3px}.auth-trust-schools-btn:hover{color:var(--auth-purple-dark);text-decoration-color:var(--auth-purple-dark)}.auth-trust-schools-btn:focus-visible{outline:2px solid #a78bfa;outline-offset:3px;border-radius:4px}.auth-legal-continue{margin:8px 0 0;font-size:11px;line-height:1.5;color:#9ca3af;text-align:center;font-weight:600}.auth-legal-continue a{color:var(--auth-link);font-weight:700;text-decoration:none}.auth-legal-continue a:hover{text-decoration:underline}.auth-schools-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:10050;display:flex;align-items:center;justify-content:center;padding:max(16px,env(safe-area-inset-top)) 16px max(16px,env(safe-area-inset-bottom))}.auth-schools-modal.hidden,.auth-schools-modal[hidden]{display:none!important}.auth-schools-modal-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;border:none!important;margin:0;padding:0;background:#0f172a7a!important;-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);cursor:pointer;box-shadow:none!important;transform:none!important}.auth-schools-modal-card{position:relative;z-index:1;width:min(92vw,560px);max-height:min(82vh,640px);display:flex;flex-direction:column;padding:18px 18px 14px;background:#fff;border-radius:22px;box-shadow:0 24px 60px #3c327847;text-align:center;overflow:hidden}.auth-schools-modal-head{display:flex;align-items:flex-start;justify-content:space-between;gap:12px;margin-bottom:12px;text-align:left}.auth-schools-modal-close{flex-shrink:0;width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;padding:0;border:none!important;border-radius:999px;background:#f3f4f6!important;color:#4b5563!important;font-size:20px;font-weight:500;line-height:1;cursor:pointer;box-shadow:none!important;transform:none!important}.auth-schools-modal-close:hover{background:#e5e7eb!important}.auth-schools-title{margin:0;font-size:clamp(16px,2.4vw,19px);font-weight:800;color:#374151;letter-spacing:.01em}.auth-schools-sub{margin:4px 0 0;font-size:12px;font-weight:600;color:#9ca3af}.auth-schools-tabs{display:inline-flex;align-self:center;gap:4px;padding:4px;margin-bottom:12px;background:#f3f4f6;border-radius:999px}.auth-schools-tab{border:none!important;background:transparent!important;color:#6b7280!important;font-family:inherit;font-size:13px;font-weight:800;padding:7px 16px;border-radius:999px;cursor:pointer;box-shadow:none!important;transform:none!important;transition:background .15s,color .15s}.auth-schools-tab.is-active{background:#fff!important;color:var(--auth-purple-dark)!important;box-shadow:0 1px 4px #00000014!important}.auth-schools-tab:hover:not(.is-active){color:#374151!important}.auth-schools-panel{min-height:120px;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:4px 2px 10px;flex:1;text-align:left}.auth-schools-loading,.auth-schools-empty{font-size:13px;color:#9ca3af;font-weight:600;padding:24px 0;text-align:center}.auth-schools-list{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1px;border:1px solid #ece6f8;border-radius:14px;overflow:hidden;background:#ece6f8}.auth-school-item{margin:0;padding:10px 12px;font-size:clamp(12px,1.55vw,13.5px);font-weight:700;line-height:1.35;color:#4c1d95;background:#fff;white-space:normal;word-break:break-word}@media(min-width:560px){.auth-schools-list{grid-template-columns:repeat(3,minmax(0,1fr))}}.auth-schools-more{display:block;width:100%;margin-top:10px;padding:10px 12px;border:1.5px dashed #d8b4fe!important;border-radius:12px;background:#faf5ff!important;color:var(--auth-purple-dark)!important;font-family:inherit;font-size:13px;font-weight:800;cursor:pointer;box-shadow:none!important;transform:none!important;text-align:center}.auth-schools-more:hover{background:#f3e8ff!important;border-color:#c084fc!important}.auth-schools-note{margin:8px 0 0;font-size:11px;line-height:1.45;color:#9ca3af;font-weight:600;text-align:center}.auth-deco{color:#c4b5fd;font-size:.85em;margin:0 6px}.auth-divider{display:flex;align-items:center;justify-content:center;gap:10px;margin-bottom:18px;color:#c7d2fe;font-size:13px}.auth-divider:before,.auth-divider:after{content:"";flex:1;height:2px;border-radius:2px;background:linear-gradient(90deg,transparent,#dbeafe 30%,#fbcfe8 70%,transparent)}.auth-divider span{color:#f9a8d4;font-size:14px}.auth-form{text-align:left}.auth-form-kicker{margin:0 0 14px;font-size:14px;font-weight:800;color:#4b5563;text-align:center}.auth-register-lead{margin:0 0 14px;font-size:13px;color:#6b7280;text-align:left;font-weight:600;line-height:1.55}.auth-register-lead strong{color:#6d28d9}.auth-email-panel{padding:14px;border-radius:16px;background:#f9fafb;border:1.5px solid #e5e7eb;margin-bottom:12px}.auth-email-panel .auth-field:last-of-type{margin-bottom:0}.auth-email-panel .auth-invite-wrap{margin-top:4px;margin-bottom:12px}.auth-email-panel .auth-invite-wrap .auth-field{margin-bottom:0}.auth-email-panel .auth-row{margin-top:8px}.auth-hint{margin:10px 0 0;font-size:12px;line-height:1.5;color:#6b7280;font-weight:600}.auth-terms-consent{display:flex;align-items:flex-start;gap:10px;margin:0 0 14px;font-size:12px;line-height:1.55;color:#4b5563;cursor:pointer;-webkit-user-select:none;user-select:none}.auth-terms-consent input[type=checkbox]{width:16px;height:16px;margin-top:2px;flex-shrink:0;accent-color:var(--auth-purple);cursor:pointer}.auth-terms-consent a{color:var(--auth-link);font-weight:700;text-decoration:none}.auth-terms-consent a:hover{text-decoration:underline}.auth-field{position:relative;margin-bottom:12px}.auth-field-icon{position:absolute;left:14px;top:50%;transform:translateY(-50%);font-size:16px;opacity:.55;pointer-events:none}.auth-field input{width:100%;padding:13px 44px 13px 42px;border:1.5px solid #e5e7eb;border-radius:14px;font-size:15px;font-family:inherit;color:#1f2937;background:#fff;box-sizing:border-box;transition:border-color .2s,box-shadow .2s}.auth-field input::placeholder{color:#9ca3af}.auth-field input:focus{outline:none;border-color:#a78bfa;box-shadow:0 0 0 3px #a78bfa33}.auth-invite-wrap{margin-bottom:4px}.auth-invite-label{display:block;margin:2px 0 6px;font-size:13px;font-weight:700;color:#374151}.auth-optional{font-weight:500;color:#6b7280}.auth-field--invite input{text-transform:uppercase;letter-spacing:.06em}.auth-pw-toggle{position:absolute;right:10px;top:50%;transform:translateY(-50%);border:none;background:transparent;cursor:pointer;font-size:16px;opacity:.55;padding:4px 6px;line-height:1}.auth-pw-toggle:hover{opacity:.85}#auth-overlay button,#auth-overlay button:hover,#auth-overlay button:active{box-shadow:none;transform:none}#auth-overlay .auth-btn-primary:hover{transform:translateY(-1px)}.auth-row{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:4px 0 16px;font-size:13px}.auth-remember{display:flex;align-items:center;gap:6px;color:#6b7280;font-weight:600;cursor:pointer;-webkit-user-select:none;user-select:none}.auth-remember input{accent-color:var(--auth-purple)}.auth-forgot{border:none;background:none;color:var(--auth-link);font-size:13px;font-weight:700;cursor:pointer;padding:0;font-family:inherit}.auth-forgot:hover{text-decoration:underline}.auth-btn-primary{width:100%;display:flex;align-items:center;justify-content:center;gap:10px;padding:14px 20px;border:none;border-radius:16px;background:linear-gradient(135deg,#9b8afb,var(--auth-purple) 45%,var(--auth-purple-dark));color:#fff;font-size:17px;font-weight:800;font-family:inherit;cursor:pointer;box-shadow:none;transition:transform .15s,opacity .15s}.auth-btn-primary:hover{transform:translateY(-1px)}.auth-btn-primary:active{transform:translateY(0)}.auth-btn-primary:disabled{opacity:.55;cursor:not-allowed;transform:none}.auth-btn-arrow{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;border-radius:50%;background:#ffffff38;font-size:16px;font-weight:700}.auth-btn-guest{width:100%;margin-top:10px;display:flex;align-items:center;justify-content:center;gap:8px;padding:13px 18px;border:2px solid #c4b5fd;border-radius:16px;background:#fff;color:#6d28d9;font-size:15px;font-weight:700;font-family:inherit;cursor:pointer;transition:background .15s,border-color .15s}.auth-btn-guest:hover{background:#faf5ff;border-color:#a78bfa}.auth-guest-icon{font-size:17px}.auth-btn-primary--secondary{background:linear-gradient(135deg,#7c6fe8,#6d5ce8 50%,#5b4cdb);font-size:16px}.auth-oauth-divider{display:flex;align-items:center;gap:12px;margin:16px 0 14px;color:#9ca3af;font-size:12px;font-weight:700}.auth-oauth-divider:before,.auth-oauth-divider:after{content:"";flex:1;height:1px;background:#e5e7eb}#auth-overlay .auth-btn-google{width:100%;display:flex;align-items:center;justify-content:center;gap:12px;padding:14px 18px;border:2px solid #dadce0!important;border-radius:16px;background:#fff!important;color:#3c4043!important;font-size:16px;font-weight:700;font-family:inherit;cursor:pointer;box-shadow:0 1px 3px #3c40431f!important;transform:none!important;transition:background .15s,border-color .15s,box-shadow .15s}#auth-overlay .auth-btn-google--primary{min-height:52px}#auth-overlay .auth-btn-google:hover{background:#f8f9fa!important;border-color:#c6c9cc!important;box-shadow:0 2px 6px #3c404329!important;transform:none!important}#auth-overlay .auth-btn-google:active{transform:none!important;box-shadow:0 1px 2px #3c40431f!important}#auth-overlay .auth-btn-google:disabled{opacity:.6;cursor:not-allowed}.auth-google-svg{flex-shrink:0;display:block}.auth-toggle{margin-top:18px;font-size:13px;color:#6b7280;text-align:center;font-weight:600}.auth-toggle a{color:var(--auth-link);cursor:pointer;font-weight:800;text-decoration:none}.auth-toggle a:hover{text-decoration:underline}.auth-error{color:#ef4444;font-size:13px;font-weight:600;margin-top:12px;min-height:18px;text-align:center}.auth-success{color:#16a34a;font-size:13px;font-weight:600;margin-top:12px;min-height:18px;text-align:center}.auth-features{position:relative;flex-shrink:0;width:min(96vw,1100px);display:grid;grid-template-columns:repeat(4,1fr);gap:clamp(8px,1.5vw,16px);padding:clamp(10px,1.5vw,14px) clamp(12px,2vw,20px);background:#ffffffe6;border-radius:20px;box-shadow:0 8px 28px #3c32781f;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}.auth-feature{display:flex;align-items:center;gap:10px;min-width:0}.auth-feature-icon{flex-shrink:0;width:40px;height:40px;display:flex;align-items:center;justify-content:center;border-radius:12px;font-size:20px}.auth-fi-shield{background:#ccfbf1}.auth-fi-people{background:#ede9fe}.auth-fi-rocket{background:#dbeafe}.auth-fi-medal{background:#ffedd5}.auth-feature-text{display:flex;flex-direction:column;gap:2px;min-width:0}.auth-feature-text strong{font-size:clamp(11px,1.6vw,13px);color:#1f2937;font-weight:800;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.auth-feature-text span{font-size:clamp(10px,1.4vw,12px);color:#6b7280;font-weight:600;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.auth-feature--privacy .auth-feature-text span{white-space:normal;overflow:visible;text-overflow:unset;line-height:1.35}@media(max-width:820px){.auth-features{grid-template-columns:repeat(2,1fr)}}@media(max-width:480px){.auth-card{border-radius:22px;padding:22px 18px 20px}.auth-features{grid-template-columns:1fr 1fr;gap:10px;padding:12px}.auth-schools-modal-card{width:min(94vw,560px);max-height:min(86vh,640px);padding:16px 14px 12px;border-radius:18px}.auth-school-item{padding:9px 10px}.auth-feature-icon{width:34px;height:34px;font-size:17px}.auth-feature-text strong,.auth-feature-text span{white-space:normal}}@media(max-width:480px),(max-height:740px){#auth-overlay{justify-content:flex-start;align-items:center;padding-bottom:max(12px,env(safe-area-inset-bottom));-webkit-overflow-scrolling:touch}.auth-main{flex:none;overflow-y:visible;align-items:center;justify-content:center;width:100%}.auth-card{margin-left:auto;margin-right:auto;margin-bottom:12px}}#user-bar{position:fixed;top:8px;right:12px;display:flex;align-items:center;gap:8px;z-index:100;font-size:12px;background:#ffffffeb;padding:5px 12px;border-radius:20px;border:2px solid #000;box-shadow:2px 2px #000}#user-bar.hidden{display:none}#user-bar .user-email{color:#333;font-weight:700;max-width:160px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}#user-bar button{padding:4px 10px;font-size:11px;min-width:auto;border-radius:12px;box-shadow:1px 1px #000}#app-status-bar.app-status-bar{position:fixed;top:0;left:0;right:0;z-index:150;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 12px;box-sizing:border-box;background:#fffffff5;border-bottom:2px solid #000;box-shadow:0 2px 8px #00000014;font-family:var(--hub-font);-webkit-font-smoothing:antialiased}#app-status-bar.hidden{display:none!important}#app-status-bar .app-status-bar-left{flex:1 1 0;min-width:0;display:flex;align-items:center;gap:8px;justify-content:flex-start}#app-status-bar .app-status-bar-center{flex:0 1 auto;min-width:0;text-align:center;padding:0 4px;display:inline-flex;align-items:center;justify-content:center;gap:8px;margin:0;color:inherit}#app-status-bar .app-status-module-icon{width:32px;height:32px;object-fit:cover;object-position:center 42%;border-radius:8px;flex-shrink:0}#app-status-bar .app-status-module-icon.hidden{display:none!important}#app-status-bar .app-status-help-btn{flex-shrink:0;box-sizing:border-box;width:26px;height:26px;padding:0;margin:0;border-radius:50%;border:2px solid #111;background:#fff;color:#111;font-size:15px;font-weight:800;line-height:1;display:inline-flex;align-items:center;justify-content:center;cursor:pointer;font-family:inherit;-webkit-appearance:none;-moz-appearance:none;appearance:none}#app-status-bar .app-status-help-btn:hover{background:#f3f4f6}#app-status-bar .app-status-help-btn:focus-visible{outline:2px solid var(--auth-link, #5b8def);outline-offset:2px}#app-status-bar .app-status-module-title{font-size:26px;font-weight:800;color:#111;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:min(38vw,240px);display:inline-block;line-height:1.1}#app-status-bar button,#app-status-bar button:hover,#app-status-bar button:active{box-shadow:none;transform:none}#app-status-bar .app-status-back{flex-shrink:0;background:#fff;color:#111;padding:4px 10px;font-size:11px;font-weight:800;border:2px solid #000;border-radius:999px;cursor:pointer;white-space:nowrap}#app-status-bar .app-status-back:hover{background:#f3f4f6}#app-status-bar .app-status-back.hidden{display:none!important}#app-status-bar .app-status-bar-right,#app-status-bar .hub-header-right{flex:1 1 0;min-width:0;display:flex;align-items:center;gap:8px;flex-wrap:wrap;justify-content:flex-end}#app-status-bar .hub-identity-chip{padding:4px 9px 4px 6px;gap:6px;font-size:11px;box-shadow:none}#app-status-bar .hub-chip-avatar,#app-status-bar .hub-chip-icon{width:24px;height:24px;font-size:11px}#app-status-bar .hub-class-chip .hub-chip-icon{font-size:12px}#app-status-bar .hub-chip-label{font-size:11px;max-width:96px}#app-status-bar .hub-chip-meta{font-size:9px}#app-status-bar .hub-chip-chevron{font-size:8px}#app-status-bar .hub-challenge-pill{display:inline-flex;align-items:center;gap:5px;padding:4px 10px;border:2px solid #000;border-radius:999px;background:#fff;box-shadow:none;font-family:var(--hub-font);font-size:11px;font-weight:800;color:#111;max-width:min(44vw,300px);white-space:nowrap;flex-shrink:1;min-width:0}#app-status-bar .hub-challenge-pill--clickable{border:2px solid #000;background:#fff;cursor:pointer;font:inherit;text-align:left}#app-status-bar .hub-challenge-pill--clickable:hover{background:#f0fdf4;box-shadow:none;transform:none}#app-status-bar .hub-identity-chip:hover{background:#f9fafb;box-shadow:none;transform:none}#app-status-bar .hub-challenge-pill-idle,#app-status-bar .hub-challenge-pill-active{display:inline-flex;align-items:center;gap:5px;min-width:0}#app-status-bar .hub-challenge-pill-idle.hidden,#app-status-bar .hub-challenge-pill-active.hidden{display:none!important}#app-status-bar .hub-challenge-pill-star{flex-shrink:0;font-size:13px;line-height:1}#app-status-bar .hub-challenge-pill-idle-text{display:flex;flex-direction:column;line-height:1.1;min-width:0}#app-status-bar .hub-challenge-pill-idle-label{font-size:8px;font-weight:600;color:#6b7280}#app-status-bar .hub-challenge-pill-idle-value{font-size:15px;font-weight:800;color:#111;letter-spacing:-.02em}#app-status-bar .hub-challenge-emoji{flex-shrink:0;font-size:13px;line-height:1}#app-status-bar .hub-challenge-sep{color:#9ca3af;font-weight:600;font-size:10px;flex-shrink:0}#app-status-bar .hub-challenge-goal{overflow:hidden;text-overflow:ellipsis;max-width:5.5em;flex-shrink:1;min-width:0}#app-status-bar .hub-challenge-bar-wrap{display:inline-flex;align-items:center;gap:4px;flex-shrink:0}#app-status-bar .hub-challenge-bar{width:32px;height:7px;border:1px solid #000;border-radius:3px;overflow:hidden;background:#e5e7eb;flex-shrink:0}#app-status-bar .hub-challenge-bar-fill{display:block;height:100%;width:0%;background:linear-gradient(90deg,#86efac,#1fb25a);transition:width .25s ease}#app-status-bar .hub-challenge-pct{font-size:10px;font-weight:800;color:#15803d;font-variant-numeric:tabular-nums;flex-shrink:0}#app-status-bar .hub-challenge-frac{font-size:10px;font-weight:800;color:var(--monopoly-blue, #0072bb);font-variant-numeric:tabular-nums;flex-shrink:0}.class-challenge-modal-content{max-width:420px;text-align:left}.module-usage-modal-content{max-width:560px;width:min(92vw,560px);max-height:min(82vh,640px);text-align:left;display:flex;flex-direction:column}.module-usage-modal-title{margin:0 0 12px;font-size:20px;font-weight:800;line-height:1.25}.module-usage-modal-body{flex:1 1 auto;min-height:0;overflow-y:auto;font-size:14px;line-height:1.55;color:#333}.module-usage-modal-body h3{margin:16px 0 8px;font-size:15px;font-weight:800;color:#111}.module-usage-modal-body h3:first-child{margin-top:0}.module-usage-modal-body p{margin:0 0 10px}.module-usage-modal-body ul{margin:0 0 10px;padding-left:1.25em}.module-usage-modal-body li{margin-bottom:4px}.module-usage-modal-content .modal-footer{flex-shrink:0;margin-top:12px}.module-usage-modal-footer{display:flex;flex-wrap:wrap;gap:10px;justify-content:flex-end;align-items:center}.hub-header-actions{display:flex;align-items:center;gap:10px;flex-shrink:0}.hub-feature-guide-btn{font-family:inherit;font-size:14px;font-weight:800;padding:10px 16px;border:2px solid #000;border-radius:12px;background:#fff7ed;color:#9a3412;cursor:pointer;box-shadow:3px 3px #000;transition:transform .12s ease,box-shadow .12s ease}.hub-feature-guide-btn:hover{transform:translate(-1px,-1px);box-shadow:4px 4px #000}.hub-feature-guide-btn:active{transform:translate(1px,1px);box-shadow:1px 1px #000}.feature-guide-modal-content{width:min(440px,94vw);max-height:min(80vh,640px);display:flex;flex-direction:column}.feature-guide-modal-title{margin:0 0 6px;font-size:1.35rem}.feature-guide-modal-lead{margin:0 0 14px;font-size:13px;color:#4b5563;line-height:1.45}.feature-guide-list{display:flex;flex-direction:column;gap:8px;overflow:auto;flex:1 1 auto;min-height:0;margin-bottom:4px;padding-right:2px}.feature-guide-item{display:flex;align-items:center;gap:12px;width:100%;text-align:left;font-family:inherit;padding:10px 12px;border:2px solid #000;border-radius:12px;background:#fff;cursor:pointer;box-shadow:2px 2px #000;transition:transform .1s ease,background .1s ease}.feature-guide-item:hover{background:#fffbeb;transform:translate(-1px,-1px);box-shadow:3px 3px #000}.feature-guide-item-icon{width:48px;height:48px;object-fit:contain;flex-shrink:0;border-radius:10px;background:#f3f4f6}.feature-guide-item-text{display:flex;flex-direction:column;gap:2px;min-width:0}.feature-guide-item-title{font-size:15px;font-weight:800;color:#111}.feature-guide-item-blurb{font-size:12px;color:#6b7280;line-height:1.35}.class-challenge-goal-input{resize:vertical;min-height:72px;font-family:inherit}.class-challenge-progress-wrap{margin:12px 0 4px}.class-challenge-progress-bar{height:14px;background:#e5e7eb;border:2px solid #000;border-radius:999px;overflow:hidden}.class-challenge-progress-fill{height:100%;width:0%;background:linear-gradient(90deg,#86efac,#1fb25a);transition:width .25s ease}.class-challenge-progress-text{margin:8px 0 0;font-size:13px;font-weight:700;color:#374151}#app-status-bar .hub-sync-dot{width:8px;height:8px;right:4px;top:4px}@media(max-width:900px){#app-status-bar .app-status-bar-right,#app-status-bar .hub-header-right{flex-wrap:nowrap;gap:6px}#app-status-bar .hub-challenge-pill{padding:4px 7px;max-width:none;flex-shrink:0}#app-status-bar .hub-challenge-pill-idle-text,#app-status-bar .hub-challenge-pill-active .hub-challenge-sep,#app-status-bar .hub-challenge-pill-active .hub-challenge-goal,#app-status-bar .hub-challenge-pill-active .hub-challenge-bar-wrap,#app-status-bar .hub-challenge-pill-active .hub-challenge-frac,#app-status-bar .hub-chip-text,#app-status-bar .hub-chip-chevron{display:none!important}#app-status-bar .hub-identity-chip{padding:4px;gap:0;flex-shrink:0}#app-status-bar .hub-teacher-chip{padding:4px 6px 4px 4px}#app-status-bar .hub-chip-avatar,#app-status-bar .hub-chip-icon{width:28px;height:28px}}body.app-chrome-visible{--app-status-bar-h: 52px}body.app-chrome-visible.view-dutch-auction,body.app-chrome-visible.view-management .mgmt-v3{padding-top:var(--app-status-bar-h)}body.app-chrome-visible.view-monopoly #monopoly-view{padding-top:var(--app-status-bar-h);box-sizing:border-box}body.app-chrome-visible #pinball-view .module-nav,body.app-chrome-visible #pusher-view .module-nav{top:calc(var(--app-status-bar-h) + 8px)}body.app-chrome-visible .pinball-hud{padding-top:calc(var(--app-status-bar-h) + 10px)}body.app-chrome-visible .pusher-hud{padding-top:calc(var(--app-status-bar-h, 52px) + 8px)}body.app-chrome-visible #user-bar{display:none!important}.sync-indicator{font-size:11px;color:#666;display:flex;align-items:center;gap:4px}.sync-indicator.saving{color:#d97706}.sync-indicator.saved{color:var(--monopoly-green)}.sync-indicator.error{color:var(--monopoly-red)}.class-selector{display:flex;align-items:center;gap:6px;margin-bottom:10px;flex-wrap:wrap;justify-content:center}.class-selector select{font-size:13px;padding:4px 8px;border:2px solid #000;border-radius:6px;font-weight:700;margin-bottom:0;max-width:140px}.class-selector button{padding:4px 8px;font-size:12px;min-width:auto;border-radius:6px;box-shadow:2px 2px #000}.class-selector .btn-new-class{background:var(--monopoly-green);color:#fff}.class-selector .btn-del-class{background:var(--monopoly-red);color:#fff}.group-section .group-btn{padding:4px 8px;font-size:12px;min-width:auto;border-radius:6px;box-shadow:2px 2px #000}body.view-hub,body.view-redeem{overflow-y:auto;align-items:flex-start;padding:56px 16px 24px}body.view-redeem{background-color:#ffe4c9;background-image:url(../assets/ui/redeem/redeem-bg-sweet-bazaar.webp);background-size:cover;background-position:center;background-repeat:no-repeat;background-attachment:fixed}body.view-redeem:before{content:"";position:fixed;top:0;right:0;bottom:0;left:0;background:#fffcf547;pointer-events:none;z-index:0}body.view-redeem .module-view{position:relative;z-index:1}body.view-management{overflow:hidden;align-items:stretch;padding:0;background-color:var(--hub-bg-base-color);background-image:var(--hub-bg-image);background-size:cover;background-position:center;background-repeat:no-repeat;background-attachment:fixed}body.view-management:before{content:"";position:fixed;top:0;right:0;bottom:0;left:0;background:var(--hub-bg-scrim);pointer-events:none;z-index:0}body.view-management #management-view{position:relative;z-index:1}body.view-hub{background-color:var(--hub-bg-base-color);background-image:var(--hub-bg-image);background-size:cover;background-position:center;background-repeat:no-repeat;background-attachment:fixed}body.view-hub:before{content:"";position:fixed;top:0;right:0;bottom:0;left:0;background:var(--hub-bg-scrim);pointer-events:none;z-index:0}body.view-hub #user-bar{display:none!important}body.view-hub .module-view,body.view-redeem .module-view{position:relative;z-index:1}body.view-monopoly{overflow:hidden}.hidden{display:none!important}.module-view{width:100%;max-width:1200px}#management-view.module-view{max-width:none;width:100%;height:100vh;height:100dvh}.module-view.hidden{display:none!important}.hub-container{background:#fffffff2;border:4px solid #000;border-radius:20px;padding:16px 18px 18px;box-shadow:10px 10px #00000040;text-align:left;font-family:var(--hub-font);color:#111;-webkit-font-smoothing:antialiased;display:flex;flex-direction:column;box-sizing:border-box;overflow:hidden;min-height:calc(100dvh - 80px);max-height:calc(100dvh - 80px)}#hub-view.module-view{max-width:1140px}.hub-header{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;flex-wrap:wrap;margin-bottom:12px;flex-shrink:0}.hub-header-left{flex:1 1 200px;min-width:0}.hub-header-right{display:flex;align-items:center;gap:10px;flex-wrap:wrap;justify-content:flex-end}.hub-points-stat{display:flex;align-items:center;gap:8px;padding:4px 4px 4px 2px}.hub-points-star{width:36px;height:36px;border-radius:50%;background:linear-gradient(180deg,#fde68a,#fbbf24);border:2px solid #000;box-shadow:2px 2px #000;display:flex;align-items:center;justify-content:center;font-size:18px;line-height:1;flex-shrink:0}.hub-points-text{display:flex;flex-direction:column;line-height:1.15}.hub-points-label{font-size:11px;font-weight:600;color:#6b7280}.hub-points-value{font-size:22px;font-weight:800;color:#111;letter-spacing:-.02em}.hub-chip-chevron{font-size:11px;color:#6b7280;margin-left:2px;flex-shrink:0}.hub-title{display:flex;align-items:center;gap:12px;font-family:var(--hub-font);font-size:42px;font-weight:800;line-height:1.25;margin:0;color:#111;letter-spacing:-.02em;min-height:58px}.hub-brand-icon{width:58px;height:58px;object-fit:contain;flex-shrink:0}.hub-identity-chip{display:flex;align-items:center;gap:8px;padding:6px 12px 6px 8px;border:2px solid #000;border-radius:999px;background:#fff;box-shadow:none;cursor:pointer;font-family:var(--hub-font);font-size:14px;text-align:left;transition:transform .12s;position:relative}.hub-identity-chip:hover{transform:translate(-2px,-2px)}.hub-chip-avatar,.hub-chip-icon{width:32px;height:32px;border-radius:50%;background:var(--monopoly-blue);color:#fff;font-weight:800;display:flex;align-items:center;justify-content:center;flex-shrink:0;font-size:14px}.hub-chip-avatar-wrap,.hub-flyout-avatar-wrap{position:relative;flex-shrink:0;display:inline-flex}.hub-avatar-badge{position:absolute;right:-3px;bottom:-3px;width:16px;height:16px;border-radius:50%;border:1.5px solid #fff;box-sizing:border-box;display:flex;align-items:center;justify-content:center;font-size:8px;font-weight:900;line-height:1;color:#fff;pointer-events:none;z-index:2;background:#64748b;box-shadow:0 0 0 1px #0000001f;overflow:hidden;padding:0}.hub-avatar-badge.has-icon{background:#fff;box-shadow:0 0 0 1px #0000002e}.hub-avatar-badge-img{width:100%;height:100%;object-fit:cover;object-position:center;display:block;border-radius:50%;transform:scale(1.55);transform-origin:center center;flex-shrink:0}.hub-avatar-badge--lg{width:22px;height:22px;font-size:11px;right:-2px;bottom:-2px;border-width:2px}.hub-avatar-badge[data-tone=amber]{background:#d97706}.hub-avatar-badge[data-tone=gold]{background:#ca8a04}.hub-avatar-badge[data-tone=violet]{background:#7c3aed}.hub-avatar-badge[data-tone=blue]{background:#2563eb}.hub-avatar-badge[data-tone=green]{background:#059669}.hub-avatar-badge[data-tone=rose]{background:#db2777}.hub-avatar-badge.has-icon[data-tone]{background:#fff}#app-status-bar .hub-avatar-badge{width:14px;height:14px;font-size:7px;right:-2px;bottom:-2px}.hub-class-chip .hub-chip-icon{background:var(--monopoly-green);font-size:16px}.hub-chip-text{display:flex;flex-direction:column;line-height:1.25;min-width:0}.hub-chip-label{font-size:15px;font-weight:700;color:#111;max-width:120px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;line-height:1.2}.hub-chip-meta{color:#6b7280;font-size:12px;font-weight:500;line-height:1.2}.hub-sync-dot{width:8px;height:8px;border-radius:50%;background:#9ca3af;flex-shrink:0}.hub-sync-dot.saved{background:var(--monopoly-green)}.hub-sync-dot.saving{background:#d97706}.hub-sync-dot.error{background:var(--monopoly-red)}.hub-layout-timeline{display:flex;flex-direction:column;gap:6px;flex:1 1 auto;min-height:0;overflow:auto;-webkit-overflow-scrolling:touch;padding-right:2px}.hub-phase{display:grid;grid-template-columns:44px minmax(0,1fr);gap:8px;align-items:stretch;flex:0 0 auto;min-height:auto}.hub-phase-rail{display:flex;flex-direction:column;align-items:center;padding-top:2px}.hub-phase-node{width:28px;height:28px;border-radius:50%;border:3px solid #000;display:flex;align-items:center;justify-content:center;font-size:13px;font-weight:800;color:#fff;flex-shrink:0;z-index:1;box-shadow:2px 2px #00000026}.hub-phase-pre .hub-phase-node{background:var(--monopoly-green)}.hub-phase-mid .hub-phase-node{background:var(--monopoly-red)}.hub-phase-post .hub-phase-node{background:#eab308;color:#111}.hub-phase-line{flex:1 1 auto;width:4px;min-height:12px;margin:4px 0 0;border-radius:2px;background:#d1d5db}.hub-phase-pre .hub-phase-line{background:linear-gradient(180deg,var(--monopoly-green),#fca5a5)}.hub-phase-mid .hub-phase-line{background:linear-gradient(180deg,var(--monopoly-red),#fde68a)}.hub-phase-panel{border:3px solid #000;border-radius:14px;padding:6px 8px 8px;box-shadow:3px 3px #0000001a;display:flex;flex-direction:column;gap:4px;min-width:0;box-sizing:border-box;background-image:radial-gradient(ellipse 58% 78% at 50% 100%,transparent 66%,var(--hub-panel-scale) 68%,transparent 71%),radial-gradient(ellipse 58% 78% at 50% 100%,transparent 66%,var(--hub-panel-scale) 68%,transparent 71%);background-size:34px 18px;background-position:0 0,17px 9px;background-repeat:repeat}.hub-phase-pre .hub-phase-panel{--hub-panel-scale: rgba(21, 128, 61, .22);border-color:#15803d;background-color:#15803d1a}.hub-phase-mid .hub-phase-panel{--hub-panel-scale: rgba(185, 28, 28, .22);border-color:#b91c1c;background-color:#b91c1c1a}.hub-phase-post .hub-phase-panel{--hub-panel-scale: rgba(161, 98, 7, .22);border-color:#a16207;background-color:#a162071a}.hub-phase-head{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-shrink:0}.hub-phase-title{margin:0;font-size:24px;font-weight:800;color:#111;line-height:1.2}.hub-phase-chip{display:inline-flex;align-items:center;padding:2px 8px;border-radius:999px;border:1.5px solid rgba(0,0,0,.25);font-size:11px;font-weight:700;white-space:nowrap;line-height:1.2;opacity:.92}.hub-phase-chip-pre{background:#ffffffbf;color:#14532d}.hub-phase-chip-mid{background:#ffffffbf;color:#7f1d1d}.hub-phase-cards{display:grid;gap:7px;min-height:0;align-items:stretch}.hub-phase-cards-pre{grid-template-columns:repeat(2,minmax(0,1fr))}.hub-phase-cards-mid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;min-height:0;align-items:stretch}.hub-phase-cards-arcade{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;flex:1 1 auto;min-height:0}.hub-phase-cards-arcade .hub-module-card-icon{min-height:0;height:100%}.hub-phase-cards-reward{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:none;gap:6px;align-content:stretch;flex:1.15 1 0;min-width:0}.hub-phase-cards-reward .hub-module-card-icon{min-height:0;height:100%}.hub-phase-cluster{position:relative;border:none;border-radius:0;padding:10px 0 0;margin-top:0;box-sizing:border-box;background:transparent}.hub-phase-cluster-lite{border:none;background:transparent;padding-top:12px}.hub-phase-cluster-arcade{border:none;background:transparent;flex:1.85 1 0;min-width:0;display:flex;flex-direction:column;align-self:stretch;margin-top:0}.hub-phase-cluster-arcade .hub-phase-cards-arcade{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));flex:1 1 auto;min-height:0}.hub-arcade-neon-frame{--neon-a: #22d3ee;--neon-b: #f472b6;--neon-c: #fbbf24;position:relative;isolation:isolate;margin-top:10px;padding:22px 12px 14px;border:2.5px solid var(--neon-a);border-radius:18px;background:linear-gradient(180deg,#0f172ac7,#1e1b4bb8);box-shadow:0 0 0 1px #ffffff26 inset,0 0 10px #22d3ee8c,0 0 22px #f472b659,0 0 0 3px #0f172a8c,3px 4px #0000001f;overflow:visible;animation:hub-arcade-neon-pulse 2.8s ease-in-out infinite}.hub-arcade-neon-frame:before{content:"";position:absolute;top:5px;right:5px;bottom:5px;left:5px;z-index:0;pointer-events:none;border-radius:13px;border:1.5px solid rgba(244,114,182,.75);box-shadow:0 0 8px #f472b68c,inset 0 0 8px #22d3ee33;background:radial-gradient(circle 3px at 8px 8px,var(--neon-c) 90%,transparent 95%),radial-gradient(circle 3px at calc(100% - 8px) 8px,var(--neon-c) 90%,transparent 95%),radial-gradient(circle 3px at 8px calc(100% - 8px),var(--neon-c) 90%,transparent 95%),radial-gradient(circle 3px at calc(100% - 8px) calc(100% - 8px),var(--neon-c) 90%,transparent 95%)}.hub-arcade-neon-frame:after{content:"";position:absolute;top:5px;right:5px;bottom:5px;left:5px;z-index:0;pointer-events:none;border-radius:13px;background-image:radial-gradient(circle 2.5px,var(--neon-c) 90%,transparent 95%),radial-gradient(circle 2.5px,var(--neon-a) 90%,transparent 95%);background-size:16px 16px,16px 16px;background-position:0 0,8px 8px;-webkit-mask-image:linear-gradient(#000 0 0),linear-gradient(#000 0 0);-webkit-mask-clip:content-box,border-box;-webkit-mask-composite:xor;mask-composite:exclude;padding:0;border:6px solid transparent;opacity:.95;filter:drop-shadow(0 0 3px rgba(251,191,36,.85))}.hub-arcade-neon-frame .hub-phase-cards-arcade{position:relative;z-index:1}@keyframes hub-arcade-neon-pulse{0%,to{box-shadow:0 0 0 1px #ffffff26 inset,0 0 10px #22d3ee80,0 0 20px #f472b64d,0 0 0 3px #0f172a8c,3px 4px #0000001f}50%{box-shadow:0 0 0 1px #ffffff38 inset,0 0 16px #22d3eebf,0 0 28px #f472b680,0 0 0 3px #0f172a8c,3px 4px #0000001f}}@media(prefers-reduced-motion:reduce){.hub-arcade-neon-frame{animation:none}}body.low-motion .hub-arcade-neon-frame{animation:none}.hub-phase-cluster-label{position:absolute;top:0;left:0;padding:1px 8px;border-radius:999px;border:1.5px solid rgba(0,0,0,.28);font-size:10px;font-weight:800;line-height:1.25;white-space:nowrap;z-index:1;background:#ffffffe0}.hub-arcade-neon-frame .hub-phase-cluster-label{top:-11px;left:50%;transform:translate(-50%);z-index:2;padding:3px 14px;border:1.5px solid var(--neon-a);border-radius:999px;background:#0f172aeb;color:#fef9c3;font-size:24px;letter-spacing:.04em;text-shadow:0 0 8px rgba(34,211,238,.85);box-shadow:0 0 10px #22d3ee8c,0 0 16px #f472b659}.hub-cluster-lock-badge{position:absolute;top:0;right:0;z-index:2;padding:2px 8px;border-radius:999px;border:1.5px solid rgba(0,0,0,.45);background:#111827e0;color:#fde68a;font-size:10px;font-weight:800;line-height:1.25;pointer-events:none}.hub-arcade-neon-frame .hub-cluster-lock-badge{top:-10px;right:10px;border-color:var(--neon-b);box-shadow:0 0 8px #f472b673}.hub-cluster-lock-badge.hidden{display:none}.hub-phase-mid .hub-module-card-wide{flex:0 0 auto;min-height:132px;height:auto;max-height:168px;border-width:5px;box-shadow:3px 3px #b91c1c2e}.hub-phase-mid .hub-module-card-wide .hub-module-art-wide{flex:0 0 48%;max-height:148px}.hub-phase-mid .hub-module-card-wide .hub-module-img-b-wide{max-height:140px}.hub-phase-post-row{display:flex;flex-direction:row;gap:8px;align-items:stretch;min-height:0}.hub-phase-post-row>.hub-phase-cards-reward{position:relative;padding:12px 0 0 8px;margin-top:0;align-self:stretch}.hub-phase-post-row>.hub-phase-cards-reward:before{content:"";position:absolute;left:0;top:6px;bottom:6px;width:0;border-left:2px dashed #d97706}.hub-layout-timeline{--hub-icon-h: 200px;--hub-icon-h-sm: calc(var(--hub-icon-h) * .85);--hub-pill-font: 24px;--hub-pill-pad-y: 4px;--hub-pill-pad-x: 12px;--hub-pill-bottom: 0px;--hub-art-saturate: 1.4;--hub-art-contrast: 1}.hub-layout-timeline .hub-module-card-icon{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;padding:2px;margin:0;background:transparent!important;border:none!important;border-radius:0;box-shadow:none!important;min-height:0;height:100%;cursor:pointer;overflow:visible;text-align:center;position:relative}.hub-layout-timeline .hub-module-art-icon{position:relative;display:inline-flex;align-items:center;justify-content:center;width:fit-content;max-width:100%;line-height:0;overflow:visible}.hub-layout-timeline .hub-module-img-icon{display:block;width:auto;height:auto;max-width:100%;max-height:var(--hub-icon-h);object-fit:contain;filter:drop-shadow(2px 3px 0 rgba(0,0,0,.12)) saturate(var(--hub-art-saturate)) contrast(var(--hub-art-contrast));pointer-events:none;-webkit-user-select:none;user-select:none}.hub-layout-timeline .hub-module-card-icon.hub-module-locked .hub-module-img-icon{filter:drop-shadow(2px 3px 0 rgba(0,0,0,.12)) saturate(0) contrast(var(--hub-art-contrast))}.hub-layout-timeline .hub-module-name-pill{position:absolute;left:50%;bottom:var(--hub-pill-bottom);transform:translate(-50%);z-index:2;box-sizing:border-box;margin:0;padding:var(--hub-pill-pad-y) var(--hub-pill-pad-x);border-radius:14px;border:3px solid #000;background:#ffffff61;backdrop-filter:blur(10px);-webkit-backdrop-filter:blur(10px);box-shadow:3px 3px #0000001a;font-size:var(--hub-pill-font);font-weight:800;line-height:1.25;color:#111;white-space:nowrap;width:max-content;max-width:none;overflow:visible;text-overflow:clip;pointer-events:none}.hub-phase-pre .hub-module-name-pill{border-color:#15803d}.hub-phase-mid .hub-module-name-pill{border-color:#b91c1c}.hub-phase-post .hub-module-name-pill{border-color:#a16207}.hub-layout-timeline .hub-module-card-icon.hub-module-locked{opacity:.75;filter:none}.hub-layout-timeline .hub-module-card-icon.hub-module-locked:after{display:none}.hub-layout-timeline .hub-module-card-icon .hub-plan-lock-badge,.hub-layout-timeline .hub-module-card-icon .hub-plan-trial-badge,.hub-layout-timeline .hub-module-card-icon .hub-plan-free-badge{top:2px;right:2px;z-index:5}.hub-layout-timeline .hub-module-art-icon .hub-plan-trial-badge,.hub-layout-timeline .hub-module-art-icon .hub-plan-lock-badge,.hub-layout-timeline .hub-module-art-icon .hub-plan-free-badge{position:absolute;top:2px;right:2px;z-index:6}.hub-layout-timeline .hub-module-art-icon .hub-module-img-icon{position:relative;z-index:1}.hub-layout-timeline .hub-module-art-icon .hub-module-name-pill{z-index:2}.hub-phase-cards-arcade .hub-module-img-icon,.hub-phase-cards-reward .hub-module-img-icon{max-height:var(--hub-icon-h-sm)}@media(max-width:820px){.hub-container{max-height:none;overflow:auto;-webkit-overflow-scrolling:touch}.hub-layout-timeline{overflow:visible;--hub-icon-h: 112px;--hub-icon-h-sm: 96px;--hub-pill-font: 13px;--hub-pill-pad-y: 2px;--hub-pill-pad-x: 8px}.hub-phase{grid-template-columns:32px minmax(0,1fr);gap:6px}.hub-phase-node{width:24px;height:24px;font-size:12px}.hub-phase-post .hub-phase-panel{padding-bottom:10px}.hub-phase-post-row{flex-direction:column;align-items:stretch;gap:10px}.hub-phase-post-row>.hub-phase-cluster-arcade,.hub-phase-post-row>.hub-phase-cards-reward{flex:0 0 auto;width:100%;max-width:100%;align-self:stretch}.hub-phase-post-row>.hub-phase-cards-reward{padding-left:0;padding-top:8px;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:none;gap:8px}.hub-phase-post-row>.hub-phase-cards-reward .hub-module-card-icon,.hub-phase-cards-arcade .hub-module-card-icon{height:auto;max-height:none;min-height:0;overflow:hidden}.hub-phase-cards-arcade{grid-template-columns:repeat(3,minmax(0,1fr))}.hub-phase-cards-arcade .hub-module-img-icon,.hub-phase-cards-reward .hub-module-img-icon{max-height:min(var(--hub-icon-h-sm),26vw);max-width:100%;width:auto;height:auto}.hub-layout-timeline .hub-module-art-icon{max-width:100%;overflow:hidden}.hub-arcade-neon-frame{overflow:hidden;padding:20px 8px 10px}.hub-phase-post-row>.hub-phase-cards-reward:before{left:8px;right:8px;top:0;bottom:auto;width:auto;height:0;border-left:none;border-top:2px dashed #d97706}.hub-module-card-mini{height:auto;min-height:64px}.hub-phase-mid .hub-module-card-wide{max-height:none;min-height:100px}}@media(max-width:480px){.hub-layout-timeline{--hub-icon-h: 96px;--hub-icon-h-sm: 84px;--hub-pill-font: 12px}.hub-phase-cards-arcade .hub-module-img-icon,.hub-phase-cards-reward .hub-module-img-icon{max-height:min(var(--hub-icon-h-sm),24vw)}}.hub-module-card-wide{display:flex;align-items:stretch;gap:11px;text-align:left;position:relative;padding:9px 10px;margin-bottom:0;background:#fff8f8;min-height:0;height:auto;max-height:none;box-sizing:border-box;overflow:hidden}.hub-module-art-wide{flex:0 0 50%;min-width:0;display:flex;align-items:center;justify-content:center;padding:4px 0}.hub-module-img-b-wide{width:100%;height:100%;max-width:100%;max-height:100%;object-fit:contain}.hub-module-body{flex:1;min-width:0;text-align:left;display:flex;flex-direction:column;justify-content:center;overflow:hidden}.hub-module-body h3{margin:0 0 8px;font-size:63px;font-weight:800;line-height:1.1;color:#111;letter-spacing:.01em}.hub-module-body h3:first-line{font-size:81px}.hub-module-body p{margin:0;font-size:15px;font-weight:500;color:#333;line-height:1.65}.hub-module-card-ops{text-align:center;padding:10px 7px 9px;min-height:0;height:100%;display:flex;flex-direction:column;justify-content:flex-start;overflow:hidden}.hub-module-card-ops h3{margin:0 0 8px;font-size:42px;font-weight:800;line-height:1.2;color:#111;flex-shrink:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hub-module-card-ops p{margin:0;font-size:14px;font-weight:500;color:#333;line-height:1.6;flex-shrink:0}.hub-module-art{flex:1 1 auto;min-height:0;display:flex;align-items:center;justify-content:center;margin-bottom:6px}.hub-module-img-b{width:auto;max-width:92%;height:auto;max-height:100%;object-fit:contain}.hub-layout-timeline .hub-module-art-wide{min-height:56px;flex:0 0 42%}.hub-layout-timeline .hub-module-img-b-mini{max-height:40px}.hub-layout-timeline .hub-module-card-mini{padding:5px 8px;gap:7px;justify-content:flex-start;background:#fff;min-height:52px;border-width:4px}.hub-layout-timeline .hub-module-card-wide{padding:8px 10px}.hub-module-card-mini{text-align:left;padding:8px 10px;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:8px;position:relative;min-height:56px;height:auto;box-sizing:border-box;overflow:hidden}.hub-module-mini-body{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;align-items:flex-start;justify-content:center;gap:4px}.hub-module-art-mini{flex:0 0 auto;width:auto;min-width:52px;max-width:42%;min-height:0;max-height:none;display:flex;align-items:center;justify-content:center;background:transparent;border:none;box-shadow:none;padding:0}.hub-module-img-b-mini{max-width:100%;max-height:44px;width:auto;height:auto;object-fit:contain}.hub-module-art-emoji{font-size:32px;line-height:1;width:52px;height:52px;display:flex;align-items:center;justify-content:center;filter:drop-shadow(2px 2px 0 rgba(0,0,0,.15))}.hub-module-card-mini h3{margin:0;font-size:42px;font-weight:800;line-height:1.2;color:#111;flex-shrink:0;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.hub-module-card-mini .hub-points-badge,.hub-module-card-mini .hub-closed-badge{margin-top:0}.hub-points-badge{position:static;transform:none;margin-top:0;flex-shrink:0;font-size:10px;font-weight:700;font-family:var(--hub-font);background:#fffbeb;border:2px solid #000;border-radius:999px;padding:3px 8px;color:#92400e;white-space:nowrap;box-shadow:none;letter-spacing:.02em;max-width:100%;overflow:hidden;text-overflow:ellipsis}.hub-closed-badge{position:static;transform:none;margin-top:0;flex-shrink:0;font-size:10px;font-weight:700;font-family:var(--hub-font);background:#f3f4f6;border:2px solid rgba(0,0,0,.35);border-radius:999px;padding:3px 8px;color:#6b7280;white-space:nowrap;box-shadow:none;letter-spacing:.02em}.hub-module-card--locked{opacity:.72;filter:saturate(.55)}.hub-module-card--locked:hover{opacity:.82;filter:saturate(.7)}.hub-module-card--locked:active{transform:scale(.98)}@media(max-width:900px){.hub-title{font-size:34px;min-height:48px}.hub-brand-icon{width:48px;height:48px}.hub-zone-title{font-size:20px}.hub-module-body h3{font-size:52px}.hub-module-body h3:first-line{font-size:67px}.hub-module-card-ops h3,.hub-module-card-mini h3{font-size:42px}.hub-points-stat{display:none}}@media(max-width:640px){.hub-module-card-wide{flex-direction:column;text-align:center}.hub-module-body{text-align:center}.hub-module-art-wide{max-width:100%}}.hub-panel-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;background:#00000040;z-index:200}.hub-panel-backdrop.hidden{display:none!important}.hub-flyout{position:fixed;top:64px;right:16px;width:min(340px,calc(100vw - 32px));max-height:calc(100vh - 80px);overflow-y:auto;background:#fff;border:3px solid #000;border-radius:16px;box-shadow:8px 8px #0000004d;z-index:201;text-align:left}.hub-flyout.hidden{display:none!important}#hub-class-panel.hub-flyout{width:min(420px,calc(100vw - 32px))}.account-modal-content{max-width:400px;text-align:left}.account-modal-label{display:block;font-size:13px;font-weight:700;margin:12px 0 6px}.account-modal-input,.account-modal-select{width:100%;box-sizing:border-box;padding:8px 10px;border:2px solid #000;border-radius:8px;font-size:14px;font-family:inherit}.account-modal-hint{font-size:12px;color:#666;margin:6px 0 0;line-height:1.5}.account-advanced-row{margin:10px 0 0}.account-advanced-btn{width:100%;padding:10px 12px;border:2px solid #000;border-radius:10px;background:#f3f4f6;font-weight:900;cursor:pointer;box-shadow:2px 2px #000}.account-advanced-btn:hover{background:#e5e7eb}.advanced-settings-modal-content{max-width:920px;width:min(920px,calc(100vw - 32px));text-align:left}.advanced-settings-title{margin:0 0 12px}.advanced-settings-layout{display:flex;gap:14px;align-items:stretch}.advanced-settings-nav{width:220px;max-height:min(70vh,560px);overflow-y:auto;background:#fff;border:3px solid #000;border-radius:16px;box-shadow:8px 8px #00000026;padding:12px;display:flex;flex-direction:column;gap:8px}.advanced-settings-tab{border:2px solid #000;border-radius:12px;background:#f3f4f6;padding:10px 12px;font-weight:900;cursor:pointer;box-shadow:2px 2px #000;text-align:left}.advanced-settings-tab.active{background:var(--monopoly-green);color:#fff}.advanced-settings-pages{flex:1;background:#f3f6fb;border:3px solid #000;border-radius:16px;box-shadow:8px 8px #0000001f;padding:16px;min-height:320px;max-height:min(70vh,560px);overflow-y:auto}.advanced-settings-page{display:none}.advanced-settings-page.active{display:block}.adv-setting-block{display:flex;flex-direction:column;gap:6px;margin:12px 0;font-weight:800}.adv-setting-block textarea{width:100%;min-height:88px;padding:8px 10px;border:2px solid #000;border-radius:8px;font-size:13px;font-family:inherit;resize:vertical}.adv-setting-row{display:flex;align-items:center;gap:10px;margin:12px 0;font-weight:800}.adv-setting-inline{justify-content:space-between;gap:12px}.adv-setting-inline>input,.adv-setting-inline>select{flex:0 0 auto;width:180px;max-width:45vw;padding:8px 10px;border:2px solid #000;border-radius:8px;font-size:14px;font-family:inherit}.adv-boss-stats{margin-top:14px;display:flex;flex-direction:column;gap:12px}.adv-boss-stat-card{padding:12px 14px;border-radius:12px;border:1px solid rgba(15,23,42,.12);background:#f8fafce6}.adv-boss-stat-title{display:block;margin-bottom:8px;font-size:14px}.adv-boss-stat-fields{display:grid;gap:6px}#adv-wheel-entry-fee{width:180px;max-width:45vw}#adv-wheel-template,#adv-wheel-result-behavior{width:200px;max-width:45vw;padding:8px 10px;border:2px solid #000;border-radius:8px;font-size:14px;font-family:inherit}.adv-volume-row{margin:14px 0}.adv-volume-head{display:flex;align-items:center;justify-content:space-between;font-weight:900}.adv-volume-row input[type=range]{width:100%;margin-top:8px}.adv-hint{font-size:12px;color:#666;margin:10px 0 0;line-height:1.5}.account-audio-toggles{display:flex;flex-direction:column;gap:14px;padding:12px;border:2px solid #000;border-radius:12px;background:#f3f6fb;box-shadow:2px 2px #000}.account-audio-row{display:flex;flex-direction:column;gap:6px}.account-audio-row-head{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:14px;font-weight:800;color:#111}.account-audio-pct{min-width:3.2em;text-align:right;font-size:13px;font-weight:900;color:#1d4ed8}.account-audio-slider{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:100%;height:10px;border-radius:999px;border:2px solid #000;background:linear-gradient(90deg,#dbeafe,#93c5fd 50%,#3b82f6);outline:none;cursor:pointer;box-shadow:inset 0 1px 2px #0000001f}.account-audio-slider::-webkit-slider-thumb{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:22px;height:22px;border-radius:50%;border:2px solid #000;background:#fff;box-shadow:2px 2px #000;cursor:grab}.account-audio-slider::-moz-range-thumb{width:22px;height:22px;border-radius:50%;border:2px solid #000;background:#fff;box-shadow:2px 2px #000;cursor:grab}.account-audio-ticks{position:relative;display:block;height:22px;margin-top:2px;margin-inline:11px;font-size:11px;font-weight:800;color:#4b5563;-webkit-user-select:none;user-select:none}.account-audio-ticks span{position:absolute;top:0;transform:translate(-50%);text-align:center;padding-top:8px;line-height:1;white-space:nowrap}.account-audio-ticks span:before{content:"";position:absolute;top:0;left:50%;width:2px;height:6px;transform:translate(-50%);background:#111;border-radius:1px}.account-audio-ticks span:nth-child(1){left:0%}.account-audio-ticks span:nth-child(2){left:25%}.account-audio-ticks span:nth-child(3){left:50%}.account-audio-ticks span:nth-child(4){left:75%}.account-audio-ticks span:nth-child(5){left:100%}.themed-dialog{--dialog-accent: var(--monopoly-blue);--dialog-accent-2: #38bdf8;position:fixed;top:0;right:0;bottom:0;left:0;z-index:6000;display:grid;place-items:center;padding:16px;background:#1418265c}.themed-dialog.hidden{display:none!important}.themed-dialog-card{width:min(420px,100%);border-radius:20px;border:3px solid color-mix(in srgb,var(--dialog-accent) 45%,white);background:#fffaf5;padding:18px;box-shadow:0 16px 40px #0000002e}.themed-dialog-card h3{margin:0 0 10px;color:var(--dialog-accent);font-weight:900}.themed-dialog-card p{margin:0;white-space:pre-wrap;font-size:14px;line-height:1.6;font-weight:700;color:#334155}.themed-dialog-actions{display:flex;justify-content:flex-end;gap:10px;margin-top:16px}.themed-dialog-btn{min-width:112px;height:40px;border:0;border-radius:12px;color:#fff;font-weight:800;cursor:pointer;padding:0 14px}.themed-dialog-btn--primary{background:linear-gradient(180deg,color-mix(in srgb,var(--dialog-accent-2) 35%,white),var(--dialog-accent))}.themed-dialog-btn--secondary{background:linear-gradient(180deg,#cbd5e1,#64748b)}.themed-dialog-btn--danger{background:linear-gradient(180deg,#fb7185,#dc2626)}body.view-hub .themed-dialog,body.view-management .themed-dialog,body.view-blackboard .themed-dialog{--dialog-accent: var(--monopoly-green);--dialog-accent-2: #86efac}body.view-monopoly .themed-dialog{--dialog-accent: var(--monopoly-red);--dialog-accent-2: #fda4af}body.view-redeem .themed-dialog,body.view-dutch-auction .themed-dialog{--dialog-accent: var(--monopoly-purple);--dialog-accent-2: #c4b5fd}body.view-wheel .themed-dialog{--dialog-accent: #f97316;--dialog-accent-2: #fdba74}body.view-pusher .themed-dialog{--dialog-accent: #d97706;--dialog-accent-2: #fcd34d}body.view-pinball .themed-dialog{--dialog-accent: #2563eb;--dialog-accent-2: #93c5fd}body.view-pets .themed-dialog{--dialog-accent: #e11d74;--dialog-accent-2: #f9a8d4}body.view-boss-challenge .themed-dialog{--dialog-accent: #7c3aed;--dialog-accent-2: #c4b5fd}.onboarding-tour{position:fixed;top:0;right:0;bottom:0;left:0;z-index:12000;pointer-events:none;isolation:isolate}.onboarding-tour.hidden{display:none!important}.onboarding-tour-scrim{position:absolute;top:0;right:0;bottom:0;left:0;background:#0f172a8c;pointer-events:auto}.onboarding-tour-hole{position:fixed;z-index:1;border-radius:18px;box-shadow:0 0 0 9999px #0f172a8c;border:2px solid #fbbf24;pointer-events:none;transition:top .18s ease,left .18s ease,width .18s ease,height .18s ease}.onboarding-tour-hole.hidden{display:none!important}.onboarding-tour-card{position:fixed;z-index:2;max-width:360px;padding:16px 18px 14px;border-radius:16px;background:#fffbeb;border:2px solid #f59e0b;box-shadow:0 12px 28px #0f172a47;pointer-events:auto;color:#78350f}.onboarding-tour-step{margin:0 0 6px;font-size:12px;font-weight:800;letter-spacing:.04em;color:#b45309}.onboarding-tour-card h3{margin:0 0 8px;font-size:18px;font-weight:900;color:#92400e}.onboarding-tour-card p#onboarding-tour-body{margin:0 0 14px;font-size:14px;line-height:1.55;color:#78350f}.onboarding-tour-actions{display:flex;gap:8px;justify-content:flex-end;flex-wrap:wrap}.onboarding-tour-btn{border:none;border-radius:999px;padding:9px 14px;font:inherit;font-weight:800;cursor:pointer}.onboarding-tour-btn.hidden{display:none!important}.onboarding-tour-btn--primary{background:linear-gradient(135deg,#f59e0b,#ea580c);color:#fff;box-shadow:0 3px #9a3412}.onboarding-tour-btn--ghost{background:transparent;color:#92400e;text-decoration:underline;box-shadow:none}.onboarding-target-active{position:relative!important;z-index:11000!important;pointer-events:auto!important;box-shadow:0 0 0 3px #fbbf24,0 10px 24px #f59e0b59!important;border-radius:16px;animation:onboarding-pulse 1.4s ease-in-out infinite}@keyframes onboarding-pulse{0%,to{filter:brightness(1)}50%{filter:brightness(1.08)}}.onboarding-tour:has(.onboarding-tour-hole:not(.hidden)) .onboarding-tour-scrim{background:transparent;pointer-events:auto}.hub-flyout-header{display:flex;justify-content:space-between;align-items:center;padding:14px 16px 10px;border-bottom:2px solid #e5e7eb}.hub-flyout-header h3{margin:0;font-size:16px}.hub-flyout-close{border:none;background:transparent;font-size:22px;line-height:1;cursor:pointer;padding:0 4px;color:#666}.hub-flyout-body{padding:12px 16px 16px}.hub-flyout-row{display:flex;gap:12px;align-items:center;margin-bottom:12px}.hub-flyout-avatar-lg{width:48px;height:48px;border-radius:50%;background:var(--monopoly-blue);color:#fff;font-weight:800;font-size:20px;display:flex;align-items:center;justify-content:center;flex-shrink:0}.hub-flyout-primary{font-weight:800;font-size:15px;color:#1a1a2e;word-break:break-all}.hub-flyout-muted{font-size:12px;color:#666;margin:0 0 10px;line-height:1.5}.hub-badges-block{margin:8px 0 10px;padding:8px 10px;border-radius:10px;background:#f8fafc;border:1px solid #e2e8f0}.hub-badges-head{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:5px}.hub-badges-title{font-size:12px;font-weight:800;color:#334155}.hub-badges-count{font-size:11px;font-weight:700;color:#64748b;font-variant-numeric:tabular-nums}.hub-badges-series{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:3px}.hub-badges-row{display:grid;grid-template-columns:2.4em minmax(0,1fr) minmax(0,6.2em);gap:6px;align-items:center;min-height:16px}.hub-badges-series-name{font-size:11px;font-weight:700;color:#64748b}.hub-badges-bar{height:5px;border-radius:999px;background:#e2e8f0;overflow:hidden}.hub-badges-bar>i{display:block;height:100%;width:0;border-radius:inherit;background:#64748b;transition:width .25s ease}.hub-badges-row[data-series=genesis] .hub-badges-bar>i{background:#b45309}.hub-badges-row[data-series=beta] .hub-badges-bar>i{background:#7c3aed}.hub-badges-row[data-series=subscription] .hub-badges-bar>i{background:#2563eb}.hub-badges-row[data-series=login] .hub-badges-bar>i{background:#059669}.hub-badges-row[data-series=contribution] .hub-badges-bar>i{background:#db2777}.hub-badges-tier{font-size:10px;font-weight:700;color:#1e293b;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;text-align:right}.hub-badges-row.is-empty .hub-badges-tier{color:#94a3b8;font-weight:600}.hub-badges-row.is-max .hub-badges-bar>i{filter:saturate(1.15)}.hub-badges-dex-btn{width:100%;margin-top:8px;padding:6px 10px!important;font-size:12px!important}.badge-dex-modal .badge-dex-modal-content{width:min(520px,96vw);max-height:min(88vh,780px);display:flex;flex-direction:column;padding:16px 16px 12px;border:2px solid #000;border-radius:16px;background:#fff}.badge-dex-header{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:4px}.badge-dex-header h2{margin:0;font-size:18px;font-weight:800}.badge-dex-hint{margin:0 0 6px;font-size:12px;color:#64748b;line-height:1.4}.badge-dex-summary{margin:0 0 10px;font-size:12px;font-weight:700;color:#334155}.badge-dex-scroll{overflow:auto;flex:1;min-height:0;padding-right:2px}.badge-dex-empty{margin:12px 0;font-size:13px;color:#64748b;text-align:center}.badge-dex-series{margin-bottom:12px}.badge-dex-series-title{margin:0 0 6px;font-size:12px;font-weight:800;color:#475569}.badge-dex-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.badge-dex-cell{display:flex;flex-direction:column;align-items:center;gap:4px;padding:10px 8px 8px;border:2px solid #e2e8f0;border-radius:12px;background:#f8fafc;cursor:pointer;font-family:inherit;text-align:center;transition:border-color .12s,transform .12s}.badge-dex-cell:not(:disabled):hover{transform:translateY(-1px);border-color:#94a3b8}.badge-dex-cell.is-earned{background:#fff;border-color:#cbd5e1}.badge-dex-cell.is-showing{border-color:#2563eb;background:#eff6ff}.badge-dex-cell.is-locked{opacity:.55;cursor:not-allowed}.badge-dex-medal{width:56px;height:56px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:16px;font-weight:900;color:#fff;background:transparent;border:none;box-shadow:none;overflow:hidden}.badge-dex-icon{width:100%;height:100%;object-fit:contain;display:block}.badge-dex-cell.is-locked .badge-dex-icon{filter:grayscale(1) brightness(.92);opacity:.7}.badge-dex-name{font-size:12px;font-weight:800;color:#1e293b;line-height:1.25}.badge-dex-meta{font-size:10px;font-weight:700;color:#64748b}.badge-dex-cell.is-showing .badge-dex-meta{color:#2563eb}.badge-dex-howto{display:block;margin-top:2px;font-size:10px;font-weight:600;line-height:1.35;color:#64748b;text-align:left;width:100%}.badge-dex-howto-label{display:inline-block;margin-right:2px;padding:0 4px;border-radius:4px;background:#e2e8f0;color:#475569;font-size:9px;font-weight:800}.badge-dex-action{font-size:10px;font-weight:700;color:#475569;margin-top:2px}.hub-referral-block{margin:10px 0 14px;padding:12px;border-radius:12px;background:#fff7ed;border:1px solid #fed7aa}.hub-referral-title{margin:0 0 10px;font-size:14px;font-weight:800;color:#9a3412}.hub-referral-quest{list-style:none;margin:0 0 8px;padding:0;display:flex;align-items:stretch;gap:6px}.hub-referral-step{flex:1;display:flex;gap:6px;align-items:center;padding:8px;border-radius:10px;background:#fff;border:1px solid #fdba74;min-width:0}.hub-referral-step-ico{flex-shrink:0;width:22px;height:22px;border-radius:50%;display:flex;align-items:center;justify-content:center;background:#ffedd5;color:#c2410c;font-size:11px;font-weight:800}.hub-referral-step-body{display:flex;flex-direction:column;gap:2px;min-width:0}.hub-referral-step-body strong{font-size:11px;font-weight:800;color:#7c2d12;line-height:1.2}.hub-referral-step-body em{font-style:normal;font-size:13px;font-weight:900;color:#ea580c;font-variant-numeric:tabular-nums}.hub-referral-step-arrow{flex-shrink:0;align-self:center;color:#fb923c;font-weight:900;font-size:14px;list-style:none}.hub-referral-cap{margin:0 0 8px;font-size:11px;line-height:1.35;color:#9a3412}.hub-referral-stats{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}.hub-referral-stat,.hub-referral-credit{display:inline-flex;align-items:center;padding:4px 8px;border-radius:999px;font-size:11px;font-weight:800;background:#ffedd5;color:#9a3412;border:1px solid #fed7aa}.hub-referral-credit{background:#fff;color:#c2410c}.hub-referral-bonus{margin:0 0 8px;font-size:12px;font-weight:700;color:#b45309}.hub-referral-code-row{display:flex;align-items:baseline;gap:8px;margin-bottom:8px}.hub-referral-code-label{font-size:11px;font-weight:700;color:#78716c}.hub-referral-code{font-size:15px;font-weight:900;letter-spacing:.06em;color:#9a3412;font-variant-numeric:tabular-nums}.hub-referral-row{display:flex;gap:8px;align-items:center;margin-bottom:8px}.hub-referral-url{flex:1;min-width:0;font-size:12px;padding:8px 10px;border-radius:8px;border:1px solid #fdba74;background:#fff}.hub-referral-yearly-btn{width:100%;margin-top:2px}.plan-upgrade-referral-hint{margin:8px 0 0;font-size:12px;line-height:1.45;color:#6b7280;text-align:center}.plan-upgrade-beta-offer{margin:12px 0 0;padding:12px 14px;border-radius:14px;border:2px solid #f59e0b;background:linear-gradient(165deg,#fffbeb,#fef3c7 55%,#fde68a);text-align:center}.plan-upgrade-beta-offer.hidden{display:none}.plan-upgrade-beta-copy{margin:0 0 10px;font-size:12px;line-height:1.5;color:#78350f}.plan-upgrade-beta-cta{width:100%;border:none;border-radius:999px;padding:12px 14px;font-family:inherit;font-size:15px;font-weight:900;cursor:pointer;color:#fff;background:linear-gradient(135deg,#f59e0b,#ea580c 50%,#dc2626);box-shadow:0 3px #9a3412,0 6px 14px #ea580c59}.plan-upgrade-beta-cta:disabled{opacity:.65;cursor:wait;box-shadow:none}.hub-flyout-status{font-size:12px;margin:0 0 12px}.hub-flyout-label{display:block;font-size:12px;font-weight:700;color:#475569;margin:12px 0 6px}.hub-flyout-actions{display:flex;flex-direction:column;gap:8px;margin-top:12px}.hub-flyout-btn{padding:8px 12px;font-size:13px;border:2px solid #000;border-radius:10px;background:#f3f4f6;cursor:pointer;font-family:inherit;font-weight:700;box-shadow:none;text-align:center}.hub-flyout-btn:hover{background:#e5e7eb}.hub-flyout-btn-primary{background:var(--monopoly-green);color:#fff}.hub-flyout-btn-danger{background:#fee2e2;color:#b91c1c}.hub-class-summary{list-style:none;margin:8px 0 0;padding:10px 12px;background:#f8fafc;border:2px solid #e2e8f0;border-radius:10px;font-size:12px;color:#475569;line-height:1.7}.hub-class-select{width:100%;box-sizing:border-box;padding:8px 10px;font-size:13px;font-weight:700;font-family:var(--hub-font);border:2px solid #000;border-radius:8px;background:#fff;margin-bottom:4px;cursor:pointer}.hub-class-select:disabled{opacity:.65;cursor:not-allowed;background:#f3f4f6}#hub-view button,#hub-view button:hover,#hub-view button:active,#hub-account-panel button,#hub-account-panel button:hover,#hub-account-panel button:active,#hub-class-panel button,#hub-class-panel button:hover,#hub-class-panel button:active{box-shadow:none}.hub-class-admin-row{display:flex;gap:6px}.hub-class-input{flex:1;min-width:0;padding:6px 10px;font-size:13px;border:2px solid #000;border-radius:8px;margin-bottom:0}.monopoly-only-settings{margin-top:12px}.monopoly-hide-drawn-label{display:flex;align-items:flex-start;gap:10px;font-weight:700;line-height:1.5;cursor:pointer}.monopoly-hide-drawn-label input{margin-top:4px;width:18px;height:18px;flex-shrink:0}.monopoly-reset-drawn-btn{margin-top:10px;background:#e5e7eb;font-size:13px}.hub-modules{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:20px;margin-top:8px}.hub-module-card{background:#fff;border:6px solid #000;border-radius:16px;padding:24px 20px;cursor:pointer;transition:transform .15s;box-shadow:none;text-align:center;box-sizing:border-box}.hub-module-card:hover{transform:translate(-2px,-2px)}.hub-module-card:active{transform:translate(2px,2px)}.hub-module-icon{font-size:48px;margin-bottom:12px;min-height:72px;display:flex;align-items:center;justify-content:center}.hub-module-img{width:72px;height:72px;object-fit:contain}.hub-modules .hub-module-card h3{margin:0 0 8px;font-size:20px}.hub-modules .hub-module-card p{margin:0;font-size:13px;color:#666;line-height:1.5}.hub-module-card.monopoly{border-color:var(--monopoly-red)}.hub-module-card.management{border-color:var(--monopoly-green)}.hub-module-card.wheel,.hub-module-card.pusher,.hub-module-card.pinball{border-color:#f59e0b}.hub-module-card.redeem{border-color:var(--monopoly-purple);background:#f5f3ff}.hub-module-card.auction{border-color:#1e3a8a;background:#eff6ff}.hub-module-card.pets{border-color:#f472b6;background:#fdf2f8}.hub-module-card.boss-challenge{border-color:#7c3aed;background:#f5f3ff}body.view-pets{overflow-y:auto;align-items:flex-start;padding:56px 12px 24px}.hub-module-card.monopoly{border-color:var(--monopoly-red);background:#fff8f8}.hub-module-card.blackboard{border-color:#2d6a4f}.hub-module-card.hub-module-card-ops{padding:10px 7px 9px}.hub-module-card.hub-module-card-mini{padding:7px 5px 6px}.hub-module-card.hub-module-card-wide{padding:9px 10px;text-align:left}.hub-layout-timeline .hub-module-card{height:auto;min-height:0;max-height:none;overflow:hidden;transition:transform .15s ease,box-shadow .15s ease,border-color .15s ease,filter .15s ease}.hub-layout-timeline .hub-module-card-icon{overflow:visible}.hub-layout-timeline .hub-phase-cards-reward .hub-module-card,.hub-layout-timeline .hub-phase-cards-arcade .hub-module-card,.hub-layout-timeline .hub-phase-cards-pre .hub-module-card,.hub-layout-timeline .hub-phase-cards-mid .hub-module-card{height:auto;overflow:visible}.hub-layout-timeline .hub-module-card:hover{transform:translate(-2px,-2px);box-shadow:3px 3px #0000002e;border-color:#000}.hub-layout-timeline .hub-module-card-icon:hover{transform:translateY(-3px);box-shadow:none!important;border-color:transparent!important}.hub-layout-timeline .hub-module-card:active{transform:translate(1px,1px);box-shadow:1px 1px #0000001f}.hub-layout-timeline .hub-module-card-icon:active{transform:translateY(0);box-shadow:none!important}.hub-layout-timeline .hub-module-body h3{font-size:40px;margin:0 0 6px}.hub-layout-timeline .hub-module-body h3:first-line{font-size:48px}.hub-layout-timeline .hub-module-body p{font-size:14px;color:#444;line-height:1.4;display:-webkit-box;-webkit-line-clamp:1;-webkit-box-orient:vertical;overflow:hidden}.hub-layout-timeline .hub-module-card-mini h3{font-size:16px;white-space:nowrap;margin:0;font-weight:800;color:#111;line-height:1.2}.hub-layout-timeline .hub-points-badge,.hub-layout-timeline .hub-closed-badge{font-size:11px;padding:2px 8px;border-radius:999px;border:1.5px solid rgba(0,0,0,.2);background:#ffffffeb;color:#374151;font-weight:700}@media(max-width:900px){.hub-layout-timeline .hub-module-body h3{font-size:34px}.hub-layout-timeline .hub-module-body h3:first-line{font-size:40px}.hub-layout-timeline .hub-module-card-mini h3{font-size:15px}.hub-layout-timeline .hub-module-body p{font-size:13px}.hub-layout-timeline .hub-phase-mid .hub-module-card-wide{max-height:148px;min-height:118px}}@media(max-width:820px){.hub-layout-timeline .hub-module-body h3{font-size:30px}.hub-layout-timeline .hub-module-body h3:first-line{font-size:36px}.hub-layout-timeline .hub-module-body p{font-size:12px;line-height:1.4}.hub-layout-timeline .hub-module-card-mini h3{font-size:15px}.hub-layout-timeline .hub-points-badge,.hub-layout-timeline .hub-closed-badge{font-size:10px;padding:2px 7px}.hub-layout-timeline .hub-module-img-b-mini{max-height:36px}.hub-layout-timeline .hub-module-art-mini{min-width:40px;max-width:36%}.hub-layout-timeline .hub-module-art-emoji{font-size:26px;width:40px;height:40px}.hub-layout-timeline .hub-phase-mid .hub-module-card-wide{max-height:none;min-height:110px}.hub-module-mini-body{gap:3px}}.hub-module-icon-emoji{font-size:56px;line-height:1;display:flex;align-items:center;justify-content:center;width:72px;height:72px;margin:0 auto 12px;filter:drop-shadow(2px 2px 0 rgba(0,0,0,.15))}body.view-pusher,body.view-pinball{overflow:hidden;align-items:stretch;padding:0;background-image:none;background-color:#0f172a}#pinball-view{width:100vw;max-width:none;height:100vh;display:flex;flex-direction:column;background-color:#1a0808;background-image:url(../assets/pinball/concepts/pinball-bg-concept3-school.webp);background-size:cover;background-position:center;background-repeat:no-repeat;position:relative}#pinball-view:before{content:"";position:absolute;top:0;right:0;bottom:0;left:0;z-index:0;pointer-events:none;background:radial-gradient(ellipse 70% 65% at 50% 45%,transparent 22%,rgba(8,2,2,.48) 72%,rgba(0,0,0,.72) 100%),linear-gradient(180deg,rgba(10,4,4,.12) 0%,transparent 22%,transparent 62%,rgba(8,2,2,.72) 100%)}#pinball-view .module-nav{position:absolute;top:8px;left:8px;z-index:20}.pinball-shell{flex:1;position:relative;z-index:1;display:flex;flex-direction:column;min-height:0}.pinball-hud{position:absolute;top:0;left:0;right:0;z-index:10;display:flex;flex-wrap:wrap;gap:10px;align-items:stretch;justify-content:space-between;padding:calc(var(--app-status-bar-h, 52px) + 8px) clamp(10px,2.5vw,28px) 8px;pointer-events:none}.pinball-hud>*{pointer-events:auto}.pinball-hud-card{background:linear-gradient(180deg,#481612f0,#240a0af5);border:2px solid #fbbf24;border-radius:14px;padding:8px 14px;box-shadow:0 4px #5c1a12,0 8px 24px #00000059,inset 0 1px #ffdc9640;font-size:12px;font-weight:800;color:#fde68a;min-width:min(160px,42vw)}.pinball-hud-card .val{font-size:24px;font-variant-numeric:tabular-nums;color:#fecaca;text-shadow:0 0 10px rgba(248,113,113,.45)}.pinball-hud-card small{font-size:11px;font-weight:700;color:#fcd34d}.pinball-player-select{margin-top:4px;width:100%;max-width:180px;padding:6px 8px;border:2px solid #b45309;border-radius:8px;font-weight:800;background:#140808e6;color:#fff7ed}.pinball-controls{flex-shrink:0;z-index:12;display:flex;flex-direction:column;align-items:center;gap:8px;padding:8px 12px calc(10px + env(safe-area-inset-bottom,0px));background:linear-gradient(180deg,#1c0a0a8c,#120606eb);border-top:3px solid #7f1d1d;box-shadow:0 -8px 28px #00000059}.pinball-status{margin:0;max-width:min(640px,96vw);text-align:center;font-size:13px;font-weight:800;line-height:1.35;color:#fde68a;text-shadow:0 1px 0 #1c0808}.pinball-lamp-row{display:flex;justify-content:center;gap:6px;flex-wrap:nowrap;padding:8px 10px;background:#0c0404eb;border:2px solid #92400e;border-radius:14px;box-shadow:inset 0 0 18px #00000073;width:min(560px,96vw);box-sizing:border-box;overflow-x:auto}.pinball-lamp-row--channel{position:static;left:auto;bottom:auto;transform:none;z-index:auto;width:min(560px,96vw);gap:4px;pointer-events:none}.pinball-lamp-row--pickable{pointer-events:auto}.pinball-lamp-row--pickable .pinball-lamp--channel{cursor:pointer;border:2px solid transparent;background:#280c0ca6;padding:6px 4px;min-width:44px;min-height:52px;border-radius:12px;color:inherit}.pinball-lamp-row--pickable .pinball-lamp--channel.pickable:hover{border-color:#f59e0b;background:#451a0ad9}.pinball-lamp--channel.picked{border-color:#4ade80!important;background:#143c1ee6!important;box-shadow:0 0 0 1px #86efac,0 0 14px #4ade808c}.pinball-lamp--channel.picked .pinball-lamp-bulb{background:#4ade80;border-color:#ecfccb;box-shadow:0 0 10px #86efac,0 0 22px #4ade80,0 0 36px #22c55ed9;transform:scale(1.08)}.pinball-lamp--channel.picked .pinball-lamp-label{color:#bbf7d0;text-shadow:0 0 8px rgba(134,239,172,.95)}.pinball-lamp--channel.landed .pinball-lamp-bulb{background:#f59e0b;border-color:#fde68a;box-shadow:0 0 14px #fbbf24f2;animation:pinball-landed-pulse .55s ease-in-out 3}.pinball-lamp--channel.landed{border-color:#fbbf24!important;animation:pinball-landed-flash .55s ease-in-out 3}@keyframes pinball-landed-pulse{0%{transform:scale(1)}to{transform:scale(1.2);box-shadow:0 0 22px #fff,0 0 36px #f59e0b}}@keyframes pinball-landed-flash{0%{box-shadow:0 0 #fbbf2433}to{box-shadow:0 0 0 4px #fbbf248c}}.pinball-lamp{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:36px}.pinball-lamp-bulb{width:22px;height:22px;border-radius:50%;background:#3a1010;border:2px solid #661111;box-shadow:inset 0 0 4px #0009;transition:background .15s,box-shadow .15s,transform .15s}.pinball-lamp--channel .pinball-lamp-bulb,.pinball-lamp--mult .pinball-lamp-bulb{width:26px;height:26px}.pinball-lamp.on .pinball-lamp-bulb{background:#f33;border-color:#faa;box-shadow:0 0 12px #f44,0 0 24px #ff3c3c80}.pinball-lamp--channel.on .pinball-lamp-bulb{background:#fc3;border-color:#fff0aa;box-shadow:0 0 10px #fc3}.pinball-lamp--channel.jackpot .pinball-lamp-bulb{animation:pinball-jackpot-blink .5s ease-in-out infinite alternate}@keyframes pinball-jackpot-blink{0%{box-shadow:0 0 8px #fc3;transform:scale(1)}to{box-shadow:0 0 18px #fff,0 0 28px #f60;transform:scale(1.12)}}.pinball-lamp-label{font-size:12px;font-weight:900;color:#fca5a5;line-height:1}.pinball-lamp--channel .pinball-lamp-label{color:#fde68a;font-size:13px}.pinball-launch-btn{min-width:min(320px,92vw);min-height:48px;padding:10px 24px;border:3px solid #fbbf24;border-radius:999px;font-size:17px;font-weight:900;letter-spacing:.04em;cursor:pointer;color:#451a03;background:linear-gradient(180deg,#fde68a,#f59e0b 55%,#d97706);box-shadow:0 4px #7c2d12,0 8px 20px #00000059}.pinball-launch-btn:hover:not(:disabled){filter:brightness(1.05)}.pinball-launch-btn:active:not(:disabled){transform:translateY(2px);box-shadow:0 2px #7c2d12,0 4px 12px #0000004d}.pinball-launch-btn:disabled{opacity:.45;cursor:not-allowed;filter:grayscale(.35)}#pinball-active-mult.locked{color:#f33;text-shadow:0 0 8px rgba(255,50,50,.6)}#pinball-canvas-wrap{flex:1;position:relative;min-height:0;margin-top:0;z-index:5}#pinball-canvas{width:100%;height:100%;display:block;touch-action:none;cursor:crosshair;position:relative;z-index:6}.pinball-toast{position:absolute;top:38%;left:50%;transform:translate(-50%,-50%) scale(.96);z-index:30;padding:16px 28px;background:#0c0404eb;color:#fff7ed;border:3px solid #fbbf24;border-radius:16px;font-weight:900;font-size:22px;pointer-events:none;opacity:0;transition:opacity .2s,transform .2s;text-align:center;max-width:min(90vw,420px);line-height:1.45;white-space:pre-line;box-shadow:0 12px 40px #00000073}.pinball-toast.show{opacity:1;transform:translate(-50%,-50%) scale(1)}.pinball-toast.pinball-toast--win{border-color:#4ade80;color:#ecfdf5;text-shadow:0 0 16px rgba(74,222,128,.7);background:#062814f0}.pinball-toast.pinball-toast--miss{border-color:#f87171;color:#fef2f2;background:#320a0af0}#pusher-view{width:100vw;max-width:none;height:100vh;height:100dvh;display:flex;flex-direction:column;background-color:#87ceeb;background-image:url(../assets/pusher/dream-campus-bg.webp);background-size:cover;background-position:center;background-repeat:no-repeat;position:relative}#pusher-view .module-nav{position:absolute;top:8px;left:8px;z-index:20}.pusher-shell{flex:1;position:relative;display:flex;flex-direction:column;min-height:0}.pusher-hud{position:absolute;top:0;left:0;right:0;z-index:10;display:flex;flex-wrap:wrap;gap:8px;align-items:stretch;justify-content:space-between;padding:calc(var(--app-status-bar-h, 52px) + 8px) 12px 8px;pointer-events:none}.pusher-hud>*{pointer-events:auto}.pusher-hud-card{background:#fffffff0;border:3px solid #000;border-radius:12px;padding:8px 12px;box-shadow:4px 4px #00000040;font-size:13px;font-weight:800;min-width:0}.pusher-hud-card .val{font-size:22px;font-variant-numeric:tabular-nums;color:#b45309}.pusher-hud-tip{display:flex;flex-direction:column;justify-content:center;gap:2px}.pusher-hud-tip-text{font-size:12px;font-weight:700;color:#374151;line-height:1.3}.pusher-player-select{padding:4px 8px;border:2px solid #000;border-radius:6px;font-weight:700;max-width:140px}#pusher-canvas-wrap{flex:1;position:relative;min-height:0}#pusher-canvas{width:100%;height:100%;display:block;touch-action:none;cursor:crosshair}.pusher-side-panel{position:absolute;z-index:12;display:flex;flex-direction:column;gap:8px;top:50%;transform:translateY(-50%)}.pusher-side-panel.left{left:8px}.pusher-side-panel.right{right:8px}.pusher-boost-btn{padding:10px 12px;border:3px solid #000;border-radius:10px;font-weight:900;font-size:12px;cursor:pointer;box-shadow:3px 3px #000;background:#fde68a;min-width:88px}.pusher-boost-btn:disabled{opacity:.45;cursor:not-allowed}.pusher-boost-btn.walls{background:#93c5fd}.pusher-boost-btn.shake{background:#fca5a5}.pusher-shake-meter{width:88px;height:10px;background:#e5e7eb;border:2px solid #000;border-radius:999px;overflow:hidden}.pusher-shake-meter-fill{height:100%;background:linear-gradient(90deg,#f97316,#ef4444);width:0%;transition:width .2s}.pusher-prizes-bar{position:absolute;bottom:max(8px,env(safe-area-inset-bottom,0px));left:8px;right:8px;z-index:10;background:#ffffffeb;border:3px solid #000;border-radius:12px;padding:8px 12px;display:flex;flex-wrap:wrap;gap:8px;align-items:center;box-shadow:4px 4px #0003;font-size:12px;font-weight:700}.pusher-prize-chip{display:inline-flex;align-items:center;gap:4px;padding:4px 8px;background:#f3f4f6;border:2px solid #000;border-radius:8px}.pusher-prize-img{width:20px;height:20px;object-fit:contain;flex-shrink:0;display:block}.pusher-prize-chip.complete{background:#bbf7d0}.pusher-toast{position:absolute;top:42%;left:50%;transform:translate(-50%,-50%);z-index:30;padding:12px 20px;background:#000000d9;color:#fff;border-radius:12px;font-weight:900;font-size:16px;pointer-events:none;opacity:0;transition:opacity .25s}.pusher-toast.show{opacity:1}body.pusher-earthquake{animation:pusherQuake .5s ease-in-out}@keyframes pusherQuake{0%,to{transform:translate(0)}20%{transform:translate(-4px,2px)}40%{transform:translate(4px,-2px)}60%{transform:translate(-3px,-2px)}80%{transform:translate(3px,2px)}}@media(max-width:720px),(max-aspect-ratio:3/4){.pusher-hud{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr) minmax(0,1fr);gap:6px;padding:calc(var(--app-status-bar-h, 52px) + 6px) 8px 6px;align-items:stretch}.pusher-hud-card{padding:6px 8px;font-size:11px;border-width:2px;border-radius:10px;box-shadow:2px 2px #0003}.pusher-hud-card .val{font-size:18px;line-height:1.15}.pusher-player-select{width:100%;max-width:none;margin-top:2px;font-size:12px;padding:4px 6px}.pusher-hud-tip{grid-column:1 / -1;flex-direction:row;align-items:center;justify-content:center;gap:6px;padding:5px 8px;text-align:center}.pusher-hud-tip>span{flex-shrink:0}.pusher-hud-tip-text{font-size:11px}.pusher-prizes-bar{left:6px;right:6px;bottom:max(6px,env(safe-area-inset-bottom,0px));padding:6px 8px;gap:4px;font-size:11px;border-width:2px;border-radius:10px;box-shadow:2px 2px #0000002e}.pusher-prize-chip{padding:3px 6px;border-width:1.5px;border-radius:7px}.pusher-prize-img{width:16px;height:16px}.pusher-toast{font-size:14px;padding:10px 14px;max-width:min(92vw,360px);text-align:center}}.module-nav{display:flex;align-items:center;gap:12px;margin-bottom:12px;max-width:1200px;margin-left:auto;margin-right:auto}.btn-back-hub{background:#fff;color:#111;padding:8px 16px;font-size:14px;border:2px solid #000;border-radius:999px;box-shadow:3px 3px #000}.mgmt-container{background:#fffffff5;border:4px solid #000;border-radius:16px;padding:20px;box-shadow:8px 8px #0003}.mgmt-header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.mgmt-header h2{margin:0;font-size:22px}.mgmt-header-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.btn-import-houses{padding:8px 14px;font-size:13px;font-weight:800;background:var(--monopoly-yellow);color:#000;border:2px solid #000;border-radius:8px;box-shadow:3px 3px #000;cursor:pointer}.btn-import-houses:hover{filter:brightness(1.05)}#btn-settle{min-width:100px;padding:5px;font-size:clamp(10px,2vmin,16px)}.mgmt-tabs{display:flex;gap:8px;margin-bottom:16px;flex-wrap:wrap}.mgmt-tab{padding:8px 16px;border:2px solid #000;border-radius:999px;background:#eee;font-weight:800;cursor:pointer;box-shadow:2px 2px #000}.mgmt-tab.active{background:var(--monopoly-yellow)}.mgmt-points-view{display:flex;flex-direction:column;gap:14px}.mgmt-target-row{display:flex;flex-wrap:wrap;align-items:center;gap:10px 14px}.mgmt-target-label{font-size:14px;font-weight:800;color:#374151;flex-shrink:0}.mgmt-target-segments{display:flex;flex-wrap:wrap;gap:8px;flex:1 1 auto}.mgmt-target-btn{padding:10px 18px;border:2px solid #000;border-radius:999px;background:#fff;font-weight:800;font-size:14px;cursor:pointer;box-shadow:2px 2px #000;transition:transform .12s,background .12s}.mgmt-target-btn:hover{transform:translateY(-1px)}.mgmt-target-btn.active{background:var(--monopoly-green);color:#fff}.mgmt-score-bar{position:static}.mgmt-group-chips{display:flex;flex-wrap:wrap;gap:8px}.mgmt-group-chip{padding:10px 16px;border:2px solid #000;border-radius:12px;background:var(--chip-color, #eee);font-weight:800;font-size:15px;cursor:pointer;box-shadow:3px 3px #000;transition:transform .12s}.mgmt-group-chip:hover{transform:translateY(-2px)}.mgmt-group-chip.active{outline:3px solid var(--monopoly-blue);outline-offset:2px;transform:translateY(-2px)}.mgmt-student-list{display:flex;flex-direction:column;gap:0}.mgmt-student-row-selected{border-color:var(--monopoly-blue)!important;background:#eff6ff!important;box-shadow:0 0 0 2px #0072bb59}.mgmt-empty-hint{padding:20px;color:#666;font-weight:700;text-align:center}.mgmt-group-card{border:3px solid #000;border-radius:12px;margin-bottom:16px;overflow:hidden;box-shadow:4px 4px #00000026}.mgmt-group-header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;padding:12px 14px;font-weight:800;border-bottom:2px dashed #ccc}.mgmt-buff-badge{background:var(--monopoly-yellow);border:2px solid #000;border-radius:999px;padding:4px 10px;font-size:12px;box-shadow:2px 2px #000}.mgmt-group-actions{display:flex;gap:6px;flex-wrap:wrap}.mgmt-pt-btn{padding:6px 12px;font-size:13px;min-width:auto;border-radius:8px}.mgmt-pt-btn.plus{background:var(--monopoly-green);color:#fff}.mgmt-pt-btn.minus{background:#f97373;color:#fff}.mgmt-student-row{display:flex;align-items:center;gap:10px;padding:10px 14px;border-bottom:1px dashed #e5e7eb}.mgmt-student-row:last-child{border-bottom:none}.mgmt-avatar{width:36px;height:36px;border-radius:50%;border:2px solid #000;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:14px;flex-shrink:0;overflow:hidden}.mgmt-avatar.has-pet,.mgmt-v3-student-avatar.has-pet,.seat-avatar.has-pet{padding:0;background-size:cover}.mgmt-avatar img,.mgmt-v3-student-avatar img,.seat-avatar img{width:100%;height:100%;object-fit:cover;display:block}.mgmt-student-info{flex:1;min-width:0}.mgmt-student-name{font-weight:800;font-size:15px}.mgmt-student-pts{font-size:20px;font-weight:800;color:var(--monopoly-blue);min-width:48px;text-align:right;font-variant-numeric:tabular-nums}.mgmt-redeem-section{margin-top:20px;padding:16px;background:#f0fff0;border:2px dashed var(--monopoly-green);border-radius:12px}.mgmt-redeem-section h3{margin:0 0 12px;font-size:16px}.mgmt-redeem-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:10px}.mgmt-redeem-item{background:#fff;border:2px solid #000;border-radius:10px;padding:12px;text-align:center;cursor:pointer;box-shadow:3px 3px #000;font-size:13px;font-weight:700}.mgmt-redeem-item:hover{transform:translate(-2px,-2px)}.mgmt-redeem-cost{color:var(--monopoly-red);font-size:12px;margin-top:4px}.mgmt-redeem-header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px}.mgmt-redeem-header h3{margin:0}.btn-redeem-edit{padding:6px 12px;font-size:12px;background:#fff;border:2px solid #000;border-radius:8px;box-shadow:2px 2px #000;cursor:pointer}.redeem-editor{display:none;margin-bottom:14px;padding:12px;background:#fff;border:2px dashed var(--monopoly-blue);border-radius:10px}.redeem-editor.open{display:block}.redeem-editor-row{display:grid;grid-template-columns:48px 1fr 72px 36px;gap:8px;align-items:center;margin-bottom:8px}.redeem-editor-row input{padding:6px 8px;border:2px solid #000;border-radius:6px;font-size:13px;font-weight:700;width:100%;box-sizing:border-box}.redeem-editor-row .redeem-icon-input{text-align:center;font-size:20px}.redeem-editor-row button{padding:4px;min-width:auto;font-size:14px;border-radius:6px}.mgmt-student-row.redeem-selectable{cursor:pointer;transition:background .15s,box-shadow .15s}.mgmt-student-row.redeem-selectable:hover{background:#fffbeb!important;box-shadow:inset 0 0 0 3px var(--monopoly-yellow)}body.redeem-pick-mode #redeem-view .mgmt-redeem-section,body.redeem-pick-mode #management-view .mgmt-redeem-section{outline:3px solid var(--monopoly-yellow);box-shadow:0 0 12px #ffb70366}.mgmt-v3{display:flex;flex-direction:column;height:100%;min-height:0;background:transparent;font-family:var(--hub-font);color:#111;position:relative}.mgmt-redeem-toast{position:fixed;top:50%;left:50%;transform:translate(-50%,-50%) scale(.96);z-index:220;padding:16px 28px;background:#0f172aeb;color:#fff;border:3px solid #fbbf24;box-shadow:6px 6px #00000059;font-family:var(--hub-font);font-weight:800;font-size:20px;line-height:1.35;text-align:center;pointer-events:none;opacity:0;transition:opacity .22s ease,transform .22s ease;max-width:min(90vw,420px)}.mgmt-redeem-toast.show{opacity:1;transform:translate(-50%,-50%) scale(1)}.mgmt-v3-header{display:flex;align-items:center;justify-content:flex-end;gap:10px;padding:12px 16px;background:#fff;border-bottom:1px solid #e8e8e4;flex-shrink:0}.mgmt-v3-header-spacer{flex:1 1 auto;min-width:0}.mgmt-v3-back-btn{flex-shrink:0;padding:8px 12px;font-size:14px;white-space:nowrap}.mgmt-v3-header-center{flex:1;min-width:0;display:flex;align-items:center;gap:8px;flex-wrap:wrap}.mgmt-v3-class-icon{font-size:18px}.mgmt-v3-class-name{font-weight:800;font-size:16px;color:#1fb25a}.mgmt-v3-page-title{font-size:15px;color:#9ca3af;font-weight:600}.mgmt-v3-header{display:none}.mgmt-v3-roster-nav{max-width:1180px;width:100%;margin:0 auto 10px;box-sizing:border-box}.mgmt-v3-roster-nav.hidden{display:none!important}.mgmt-v3-roster-nav .mgmt-c-topbar{margin:0}.mgmt-v3-panel--nav{margin-bottom:0;box-shadow:none;padding:0 0 8px;background:transparent}.mgmt-v3-adjust-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:12px}.mgmt-v3-adjust-head h3{margin:0}.mgmt-v3-adjust-head .mgmt-v3-inline-history{flex-shrink:0}.mgmt-v3-adjust-row{display:flex;justify-content:center}.mgmt-v3-adjust-row .mgmt-v3-stepper-cross{flex:0 1 auto;min-width:0;width:min(100%,360px)}.mgmt-v3-edit-roster-btn{margin-right:4px}.mgmt-v3-target-pills .mgmt-v3-edit-roster-btn.active,.mgmt-v3-target-pills .mgmt-v3-inline-history.active{background:#ecfdf5;border-color:#1fb25a;color:#15803d}.mgmt-v3-overview-btn{display:flex;align-items:center;gap:6px;padding:8px 14px;border:2px solid #e5e7eb;border-radius:999px;background:#fff;font-size:13px;font-weight:700;cursor:pointer;flex-shrink:0;white-space:nowrap}.mgmt-v3-overview-btn.active{background:#ecfdf5;border-color:#1fb25a;color:#15803d}.mgmt-v3-seating-embed{margin-top:4px;display:flex;flex-direction:column;min-height:0}.mgmt-v3-seating-toolbar{display:flex;flex-direction:column;gap:8px;margin-bottom:10px;flex-shrink:0}.seating-toolbar-primary{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.seating-toolbar-layout{min-height:40px}.seating-toolbar-layout.is-collapsed{visibility:hidden;pointer-events:none}.mgmt-v3-seating-toolbar .seating-mode-hint{font-size:12px}.mgmt-v3-seating-toolbar label{font-size:12px;font-weight:700}.mgmt-v3-seating-toolbar input[type=number]{width:52px;padding:4px 6px;border:2px solid #000;border-radius:6px;font-weight:700;font-size:12px}.mgmt-v3-seating-toolbar .seating-podium-select,.seating-toolbar .seating-podium-select{padding:4px 8px;border:2px solid #000;border-radius:6px;font-weight:700;font-size:12px;min-width:88px}.mgmt-v3-seating-embed .seating-layout-wrap{display:flex;flex-direction:column;gap:10px;min-height:0;flex:1 1 auto;width:100%}.mgmt-v3-seating-embed .seating-stage{flex:0 0 auto;min-height:auto;width:100%}.mgmt-v3-seating-embed .seating-layout-wrap .seating-stage .seating-grid-scroll{flex:0 0 auto;min-height:auto;width:100%;max-height:none;overflow-x:auto;overflow-y:visible;-webkit-overflow-scrolling:touch}.mgmt-v3-seating-embed .seating-grid{gap:10px;padding:14px;width:calc(100% * var(--seat-zoom, 1));max-width:none;min-width:0;margin-left:auto;margin-right:auto;box-sizing:border-box}.mgmt-v3-seating-embed .seat-cell{width:100%;height:auto;min-width:0;min-height:0;max-width:none;max-height:none;aspect-ratio:1}.mgmt-v3-seating-embed .seat-avatar{width:46%;height:auto;aspect-ratio:1;max-width:none;font-size:clamp(11px,32cqw,22px)}.mgmt-v3-seating-embed .seat-name{font-size:clamp(8px,11cqw,13px)}.mgmt-v3-seating-embed .seat-pts{font-size:clamp(9px,13cqw,15px)}.mgmt-v3-seating-embed .seat-row-label{font-size:clamp(8px,10cqw,12px)}.seating-grid.seating-grid--fixed-cols{width:calc(100% * var(--seat-zoom, 1));min-width:0;max-width:none;margin-left:auto;margin-right:auto;box-sizing:border-box}.seating-grid.seating-grid--fixed-cols .seat-cell{min-height:0;container-type:inline-size}.seating-layout-controls{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px}.seating-layout-controls .seating-layout-field{display:inline-flex;align-items:center;gap:6px;margin:0;font-size:12px;font-weight:700;line-height:1;white-space:nowrap}.seating-layout-controls input[type=number],.seating-layout-controls .seating-podium-select,.seating-layout-controls .seating-layout-apply{box-sizing:border-box;height:32px;margin:0;padding:0 8px;border:2px solid #000;border-radius:6px;font:inherit;font-size:12px;font-weight:800;line-height:1;vertical-align:middle;box-shadow:none}.seating-layout-controls input[type=number]{width:52px;text-align:center;-moz-appearance:textfield;-webkit-appearance:textfield;appearance:textfield}.seating-layout-controls input[type=number]::-webkit-outer-spin-button,.seating-layout-controls input[type=number]::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.seating-layout-controls .seating-podium-select{min-width:88px;background:#fff}.seating-layout-controls .seating-layout-apply{display:inline-flex;align-items:center;justify-content:center;padding:0 12px;cursor:pointer}.mgmt-v3-seating-embed .seating-layout-wrap .unseated-pool{flex-shrink:0;width:100%;min-height:auto;max-height:none;overflow-y:visible}.mgmt-v3-seating-embed .seating-layout-wrap .unseated-list{flex-direction:row;flex-wrap:wrap;gap:8px;min-height:auto}.mgmt-v3-content{flex:1 1 auto;min-height:0;overflow:auto;padding:16px}.mgmt-v3-content:has(.mgmt-history-shell),.mgmt-v3-content:has(.mgmt-glass-shell),.mgmt-v3-content:has(.mgmt-c-shell){overflow:hidden;display:flex;flex-direction:column;justify-content:flex-start;align-items:stretch;padding:8px 10px;min-height:0}.mgmt-history-shell,.mgmt-glass-shell{flex:0 0 auto;min-height:0;width:100%;max-width:1180px;margin:0 auto;padding:14px;border-radius:28px;background:#fff;border:1px solid #e5e7eb;box-shadow:0 10px 28px #0f172a14;display:flex;flex-direction:column;box-sizing:border-box}.mgmt-history-shell{flex:1 1 auto;max-width:min(1680px,100%);width:100%;height:100%;max-height:100%;min-height:0;min-width:0;overflow:hidden;overflow-x:hidden;padding:12px 14px;box-sizing:border-box}.mgmt-glass-shell{flex:1 1 auto;max-height:100%;min-height:0;overflow:hidden}.mgmt-v3-roster.mgmt-v3-content{padding:10px 14px 12px}.mgmt-v3-roster .mgmt-v3-grouping-view,.mgmt-v3-roster .mgmt-v3-panel--nav{max-width:1180px;margin-left:auto;margin-right:auto}.mgmt-v3-roster .mgmt-v3-grouping-view{padding:14px;border-radius:28px;background:#fff;border:1px solid #e5e7eb;box-shadow:0 10px 28px #0f172a14;box-sizing:border-box}.mgmt-v3-main{display:grid;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);gap:16px;max-width:960px;margin:0 auto;align-items:start}@media(max-width:720px){.mgmt-v3-main{grid-template-columns:1fr}}.mgmt-v3-actions{display:flex;flex-direction:column;gap:14px}.mgmt-v3-action-btn{display:flex;align-items:center;gap:16px;padding:24px 28px;border:none;border-radius:20px;cursor:pointer;text-align:left;transition:transform .12s,filter .12s;min-height:120px}.mgmt-v3-action-btn:disabled{opacity:.45;cursor:not-allowed}.mgmt-v3-action-btn:not(:disabled):hover{transform:translateY(-2px);filter:brightness(1.05)}.mgmt-v3-action-btn.plus{background:#4caf50;color:#fff}.mgmt-v3-action-btn.minus{background:#e53935;color:#fff}.mgmt-v3-action-icon{font-size:56px;font-weight:300;line-height:1;flex-shrink:0;width:64px;text-align:center}.mgmt-v3-action-text{display:flex;flex-direction:column;gap:6px}.mgmt-v3-action-title{font-size:32px;font-weight:800;line-height:1.1}.mgmt-v3-action-hint{font-size:14px;opacity:.9;font-weight:600}.mgmt-v3-sidebar{display:flex;flex-direction:column;gap:14px}.mgmt-v3-panel{background:#fff;border:1px solid #e5e7eb;border-radius:20px;padding:16px;box-shadow:0 10px 28px #0f172a0f}.mgmt-glass-panel{background:#fff}.mgmt-v3-adjust-panel{background:#fff;border:1px solid #e5e7eb;box-shadow:0 10px 28px #0f172a14;height:100%;display:flex;flex-direction:column;min-height:0}.mgmt-v3-adjust-head h3{font-size:17px;letter-spacing:.02em}.mgmt-v3-panel h3{margin:0 0 12px;font-size:15px;font-weight:800;color:#374151}.mgmt-v3-panel-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}.mgmt-v3-panel-head h3{margin:0}.mgmt-v3-main--single{grid-template-columns:1fr}.mgmt-c-shell{flex:1 1 auto;min-height:0;width:100%;max-width:min(1680px,100%);margin:0 auto;display:flex;flex-direction:column;gap:10px;box-sizing:border-box;--mgmt-c-card-row: 118px;padding-bottom:calc(var(--mgmt-c-card-row) * 1)}.mgmt-c-topbar{display:flex;justify-content:flex-end;align-items:center;gap:10px;flex-shrink:0}.mgmt-c-top-btn{display:inline-flex;align-items:center;gap:8px;margin:0;padding:10px 18px;border:2px solid #000;border-radius:14px;background:#fff;color:#1f2937;font:inherit;font-size:14px;font-weight:800;cursor:pointer;box-shadow:3px 3px #0000001f;transition:transform .12s,box-shadow .12s}.mgmt-c-top-btn:hover{transform:translateY(-1px);box-shadow:4px 4px #00000024}.mgmt-c-top-btn.active{outline:none;background:#f5f3ff;box-shadow:2px 2px #0000002e}.mgmt-c-top-btn-ico{font-size:16px;line-height:1}.mgmt-c-main{flex:1 1 auto;min-height:0;display:grid;grid-template-columns:minmax(160px,1fr) minmax(0,5.5fr);gap:14px;align-items:stretch}.mgmt-c-console-wrap,.mgmt-c-roster{min-height:0;height:100%}.mgmt-c-console.mgmt-v3-adjust-panel,.mgmt-c-console{height:100%;display:flex;flex-direction:column;gap:10px;padding:14px 12px 12px;border-radius:22px;background:#fff;border:3px solid #000;box-shadow:4px 4px #0000001f;box-sizing:border-box;overflow:auto}.mgmt-c-cross{display:grid;grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);grid-template-rows:auto auto auto;grid-template-areas:". up ." "left center right" ". down .";gap:10px 12px;align-items:center;justify-items:center;flex-shrink:0;padding:4px 0 2px}.mgmt-c-cross-up{grid-area:up}.mgmt-c-cross-down{grid-area:down}.mgmt-c-cross-left{grid-area:left;justify-self:stretch}.mgmt-c-cross-right{grid-area:right;justify-self:stretch}.mgmt-c-cross-center{grid-area:center}.mgmt-c-step-btn{width:44px;height:44px;border:none;border-radius:50%;background:#fff;color:#374151;font-size:22px;font-weight:700;cursor:pointer;box-shadow:none;display:inline-flex;align-items:center;justify-content:center;transition:transform .12s,background .12s}.mgmt-c-step-btn:hover{transform:translateY(-1px);background:#f8fafc}.mgmt-c-step-value{width:2.2em;min-width:52px;margin:0;padding:0;border:none;background:transparent;box-shadow:none!important;font-size:32px;font-weight:800;font-variant-numeric:tabular-nums;font-family:inherit;color:#0f172a;text-align:center;outline:none}.mgmt-c-console-head{text-align:center;flex-shrink:0}.mgmt-c-console-title{display:inline-flex;align-items:center;justify-content:center;gap:4px}.mgmt-c-console-title h3{margin:0;font-size:15px;font-weight:800;color:#111827}.mgmt-c-console-star{font-size:16px;filter:drop-shadow(0 1px 0 rgba(0,0,0,.08))}.mgmt-c-console-sub{margin:4px 0 0;font-size:13px;font-weight:600;color:#6b7280}.mgmt-c-info{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;margin-left:2px;border-radius:50%;background:#e5e7eb;color:#6b7280;font-size:11px;font-weight:800;vertical-align:middle}.mgmt-c-action{display:flex;align-items:center;justify-content:center;gap:6px;width:100%;margin:0;padding:10px;border:none;border-radius:14px;color:#fff;font:inherit;text-align:center;cursor:pointer;box-shadow:none;transition:transform .12s,filter .12s,opacity .12s}.mgmt-c-action.minus{background:#ef4444}.mgmt-c-action.plus{background:#22c55e}.mgmt-c-action:disabled{opacity:.45;cursor:not-allowed;box-shadow:none}.mgmt-c-action:not(:disabled):hover{transform:translateY(-1px);filter:brightness(1.05)}.mgmt-c-action-ico{width:24px;height:24px;border-radius:50%;background:#ffffff38;display:inline-flex;align-items:center;justify-content:center;font-size:16px;font-weight:700;flex-shrink:0}.mgmt-c-action-title{font-size:14px;font-weight:800;line-height:1.15}.mgmt-c-reasons{flex:1 1 auto;min-height:0;display:flex;flex-direction:column;gap:8px}.mgmt-c-reasons-label{font-size:13px;font-weight:800;color:#6b7280;flex-shrink:0}.mgmt-c-reason-list{display:flex;flex-direction:column;gap:8px;overflow:auto;min-height:0;padding-right:2px}.mgmt-c-reason{display:flex;align-items:center;gap:10px;width:100%;margin:0;padding:10px 12px;border:none;border-radius:14px;background:#f3f4f6;font:inherit;cursor:pointer;text-align:left;transition:background .12s,transform .12s}.mgmt-c-reason:hover{background:#e5e7eb;transform:translateY(-1px)}.mgmt-c-reason-label{flex:1 1 auto;min-width:0;font-size:14px;font-weight:700;color:#1f2937;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mgmt-c-reason-pill{flex-shrink:0;padding:4px 10px;border-radius:999px;font-size:12px;font-weight:800;color:#fff}.mgmt-c-reason.minus .mgmt-c-reason-pill{background:#ef4444}.mgmt-c-reason.plus .mgmt-c-reason-pill{background:#22c55e}.mgmt-c-custom-reason{display:inline-flex;align-items:center;justify-content:center;gap:6px;width:100%;margin:0;padding:10px 12px;border:1.5px solid #e5e7eb;border-radius:14px;background:#fff;color:#6b7280;font:inherit;font-size:13px;font-weight:700;cursor:pointer;flex-shrink:0;box-shadow:none;transition:border-color .12s,color .12s}.mgmt-c-console .mgmt-c-step-btn,.mgmt-c-console .mgmt-c-action,.mgmt-c-console .mgmt-c-reason,.mgmt-c-console .mgmt-c-custom-reason{box-shadow:none!important}.mgmt-c-custom-reason:hover{border-color:#c4b5fd;color:#5b21b6}.mgmt-c-roster{display:flex;flex-direction:column;gap:12px;padding:16px;border-radius:22px;background:#fff;border:3px solid #000;box-shadow:4px 4px #0000001f;box-sizing:border-box;overflow:hidden}.mgmt-c-roster-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;flex-shrink:0}.mgmt-c-tabs{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.mgmt-c-tab{margin:0;padding:8px 16px;border:none;border-radius:999px;background:#f3f4f6;color:#6b7280;font:inherit;font-size:13px;font-weight:800;cursor:pointer;transition:background .12s,color .12s}.mgmt-c-tab.active{background:#7c3aed;color:#fff;box-shadow:0 4px 12px #7c3aed47}.mgmt-c-tab-count{font-weight:800;opacity:.9}.mgmt-c-roster-tools{display:flex;align-items:center;gap:8px;margin-left:auto}.mgmt-c-search{display:flex;align-items:center;gap:8px;margin:0;padding:0 12px;height:38px;min-width:160px;border:1px solid #e5e7eb;border-radius:12px;background:#f9fafb}.mgmt-c-search-ico{color:#9ca3af;font-size:14px;font-weight:700}.mgmt-c-search input{flex:1 1 auto;min-width:0;border:none;outline:none;background:transparent;font:inherit;font-size:13px;font-weight:600;color:#0f172a}.mgmt-c-filter-btn{height:38px;margin:0;padding:0 12px;border:1px solid #e5e7eb;border-radius:12px;background:#f9fafb;color:#6b7280;font:inherit;font-size:13px;font-weight:800;white-space:nowrap;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:border-color .12s,color .12s,background .12s}.mgmt-c-filter-btn:hover{border-color:#c4b5fd;color:#7c3aed;background:#f5f3ff}.mgmt-c-group-chips{display:flex;flex-wrap:wrap;gap:8px;flex-shrink:0}.mgmt-c-grid{flex:1 1 auto;min-height:0;overflow:auto;display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px;align-content:start;padding:2px}.mgmt-c-card{position:relative;display:flex;flex-direction:column;align-items:center;gap:4px;margin:0;padding:12px 8px 10px;border:2px solid transparent;border-radius:14px;background:color-mix(in srgb,var(--card-tint, #e5e7eb) 42%,white);box-shadow:0 2px 8px #0f172a0f;font:inherit;cursor:default;text-align:center;transition:border-color .15s,box-shadow .15s,transform .12s}.mgmt-c-card.selectable{cursor:pointer}.mgmt-c-card.selectable:hover{transform:translateY(-1px);box-shadow:0 4px 12px #0f172a1a;border-color:color-mix(in srgb,var(--card-tint, #c4b5fd) 55%,#a78bfa)}.mgmt-c-card.selected{border-color:#7c3aed;box-shadow:0 0 0 2px #7c3aed2e,0 4px 12px #0f172a1a}.mgmt-c-card-badge{position:absolute;top:6px;left:6px;min-width:20px;height:20px;padding:0 4px;border-radius:5px;color:#1f2937;font-size:11px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;box-shadow:0 1px 4px #0f172a1f}.mgmt-c-card-avatar{width:56px;height:56px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:22px;font-weight:800;color:#fff;text-shadow:0 1px 0 rgba(0,0,0,.12);overflow:hidden;box-shadow:inset 0 -3px 8px #0000001f,inset 0 2px 5px #ffffff59,0 3px 8px #0f172a24}.mgmt-c-card-avatar.has-pet{padding:0;background:#f3f4f6;text-shadow:none}.mgmt-c-card-avatar.has-pet img{width:100%;height:100%;object-fit:contain;display:block;pointer-events:none}.mgmt-c-card-name{max-width:100%;font-size:14px;font-weight:800;color:#111827;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mgmt-c-card-pts{font-size:13px;font-weight:800;color:#16a34a}.mgmt-c-seating{flex:1 1 auto;min-height:0;overflow:auto}.mgmt-c-seating .mgmt-v3-panel--seating{background:#fff;border-radius:22px;border:3px solid #000;box-shadow:4px 4px #0000001f}.adv-mgmt-avatar-modes{display:flex;flex-direction:column;gap:6px;margin-top:4px}.adv-mgmt-quick-table{margin:10px 0 8px}.adv-mgmt-quick-head{display:grid;grid-template-columns:28px minmax(0,1fr) minmax(132px,156px) 32px;gap:8px;align-items:center;padding:6px 10px;font-size:11px;font-weight:800;color:#64748b;background:#f8fafc;border:1px solid #e5e7eb;border-radius:10px 10px 0 0}.adv-mgmt-quick-list{display:flex;flex-direction:column;gap:0;margin:0;border:1px solid #e5e7eb;border-top:none;border-radius:0 0 10px 10px;overflow:hidden;background:#fff}.adv-mgmt-quick-row{display:grid;grid-template-columns:28px minmax(0,1fr) minmax(132px,156px) 32px;gap:8px;align-items:center;padding:8px 10px;border-bottom:1px solid #e5e7eb;background:#fff}.adv-mgmt-quick-row:nth-child(2n){background:#fafafa}.adv-mgmt-quick-row:last-child{border-bottom:none}.adv-mgmt-quick-row.is-dragging{opacity:.45}.adv-mgmt-quick-row.is-drag-over{box-shadow:inset 0 -2px #1fb25a}.adv-mgmt-quick-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.adv-mgmt-quick-drag{box-sizing:border-box;width:28px;height:32px;margin:0;padding:0;border:1px solid #d1d5db;border-radius:8px;background:#f3f4f6;color:#64748b;font-size:12px;font-weight:800;line-height:1;letter-spacing:-2px;cursor:grab;display:inline-flex;align-items:center;justify-content:center}.adv-mgmt-quick-drag:active{cursor:grabbing}.adv-mgmt-quick-label-wrap,.adv-mgmt-quick-points-wrap{min-width:0}.adv-mgmt-quick-label-wrap input[type=text],.adv-mgmt-quick-points-stepper input[type=number]{box-sizing:border-box;width:100%;height:32px;margin:0;padding:0 10px;border:2px solid #000;border-radius:8px;font-size:13px;font-family:inherit;font-weight:700;background:#fff}.adv-mgmt-quick-points-stepper{display:grid;grid-template-columns:28px minmax(0,1fr) 28px;gap:4px;align-items:center}.adv-mgmt-quick-points-stepper input[type=number]{padding:0 6px;text-align:center;font-variant-numeric:tabular-nums}.adv-mgmt-quick-points-stepper.is-plus input[type=number]{border-color:#16a34a;color:#15803d;background:#f0fdf4}.adv-mgmt-quick-points-stepper.is-minus input[type=number]{border-color:#dc2626;color:#b91c1c;background:#fef2f2}.adv-mgmt-quick-step{box-sizing:border-box;width:28px;height:32px;margin:0;padding:0;border:2px solid #000;border-radius:8px;background:#fff;font-size:16px;font-weight:800;line-height:1;cursor:pointer}.adv-mgmt-quick-step:hover{background:#f3f4f6}.adv-mgmt-quick-remove{box-sizing:border-box;width:32px;height:32px;margin:0;padding:0;border:2px solid #000;border-radius:50%;background:#fff;color:#111;font-size:20px;font-weight:800;line-height:1;cursor:pointer;display:inline-flex;align-items:center;justify-content:center}.adv-mgmt-quick-remove:hover{background:#fee2e2;border-color:#dc2626;color:#b91c1c}.adv-mgmt-quick-actions{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin:0 0 12px}.adv-mgmt-quick-count{margin-left:auto;font-size:12px;font-weight:800;font-variant-numeric:tabular-nums;color:#64748b}.adv-mgmt-quick-count.is-full{color:#b45309}.adv-mgmt-quick-add:disabled,.adv-mgmt-quick-template:disabled{opacity:.45;cursor:not-allowed}@media(max-width:520px){.adv-mgmt-quick-head{display:none}.adv-mgmt-quick-row{grid-template-columns:24px minmax(0,1fr) 32px;grid-template-areas:"drag label remove" "drag points remove";gap:6px 8px}.adv-mgmt-quick-drag{grid-area:drag}.adv-mgmt-quick-label-wrap{grid-area:label}.adv-mgmt-quick-points-wrap{grid-area:points}.adv-mgmt-quick-remove{grid-area:remove;align-self:center}.adv-mgmt-quick-count{margin-left:0;width:100%;text-align:right}}@media(max-width:1400px){.mgmt-c-grid{grid-template-columns:repeat(5,minmax(0,1fr))}}@media(max-width:1280px){.mgmt-c-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:1100px){.mgmt-c-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:900px){.mgmt-c-main{grid-template-columns:1fr;overflow:auto;height:auto}.mgmt-v3-content:has(.mgmt-c-shell){overflow:auto}.mgmt-c-console-wrap{height:auto}.mgmt-c-console{height:auto;max-height:none}.mgmt-c-console .mgmt-c-reasons{flex:1 1 auto;min-height:132px}.mgmt-c-console .mgmt-c-reason-list{min-height:112px;max-height:min(42vh,220px)}.mgmt-c-roster{height:auto;max-height:min(70vh,640px)}.mgmt-c-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:560px){.mgmt-c-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.mgmt-c-console .mgmt-c-cross{gap:8px 10px;padding:2px 0 0}.mgmt-c-console .mgmt-c-step-btn{width:40px;height:40px;font-size:20px}.mgmt-c-console .mgmt-c-step-value{font-size:28px;min-width:48px}.mgmt-c-console .mgmt-c-reasons{min-height:124px}.mgmt-c-console .mgmt-c-reason-list{min-height:108px}.mgmt-c-roster-toolbar{flex-direction:column;align-items:stretch}.mgmt-c-roster-tools{margin-left:0;width:100%}.mgmt-c-search{flex:1 1 auto}}.mgmt-v3-main--points{grid-template-columns:minmax(0,1fr) minmax(240px,300px);grid-template-areas:"adjust scope";max-width:none;width:100%;height:100%;max-height:100%;min-height:0;gap:12px;align-items:stretch;margin:0;flex:1 1 auto}.mgmt-v3-main--points-seating{grid-template-columns:1fr;grid-template-areas:none}.mgmt-points-scope{grid-area:scope;min-height:0;height:100%}.mgmt-points-scope-panel{display:flex;flex-direction:column;height:100%;min-height:0;padding:12px}.mgmt-points-scope-head{flex-shrink:0;margin-bottom:8px}.mgmt-points-scope-head h3{margin:0;font-size:14px;font-weight:800;color:#334155}.mgmt-points-scope-panel .mgmt-v3-target-pills{flex-shrink:0;margin-bottom:8px}.mgmt-points-search{display:flex;align-items:center;gap:8px;margin:0 0 8px;padding:0 10px;height:36px;border:1px solid #e2e8f0;border-radius:12px;background:#f8fafceb;flex-shrink:0}.mgmt-points-search-ico{color:#94a3b8;font-size:14px;font-weight:700}.mgmt-points-search input{flex:1 1 auto;min-width:0;border:none;outline:none;background:transparent;font:inherit;font-size:13px;font-weight:600;color:#0f172a}.mgmt-points-student-list{display:flex;flex-direction:column;gap:4px;flex:1 1 auto;min-height:0;overflow:auto;padding-right:2px}.mgmt-points-student-btn{display:flex;align-items:center;gap:10px;width:100%;margin:0;padding:8px 9px;border:1px solid transparent;border-radius:12px;background:transparent;cursor:default;text-align:left;font:inherit;transition:border-color .15s,background .15s}.mgmt-points-student-btn.selectable{cursor:pointer}.mgmt-points-student-btn.selectable:hover{border-color:#e2e8f0;background:#f8fafce6}.mgmt-points-student-btn.active{border-color:#c7d2fe;background:linear-gradient(90deg,#eef2ff,#eff6ff)}.mgmt-points-student-avatar{width:34px;height:34px;flex-shrink:0;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;font-size:13px;font-weight:800}.mgmt-points-student-meta{min-width:0;flex:1 1 auto;display:flex;flex-direction:column;gap:2px}.mgmt-points-student-name{font-size:14px;font-weight:700;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mgmt-points-student-pts{font-size:12px;font-weight:600;color:#94a3b8}.mgmt-points-student-check{color:#6366f1;font-size:14px;font-weight:800}.mgmt-points-main{grid-area:adjust;min-width:0;min-height:0;height:100%;display:flex;flex-direction:column}.mgmt-points-main .mgmt-v3-adjust-panel,.mgmt-points-main .mgmt-v3-adjust-row{flex:1 1 auto}@media(max-width:900px){.mgmt-v3-main--points{grid-template-columns:1fr;grid-template-areas:"adjust" "scope";height:auto;max-height:none;overflow:auto}.mgmt-glass-shell:has(.mgmt-v3-main--points){overflow:auto;max-height:none}.mgmt-points-scope-panel{max-height:min(42vh,360px)}}.mgmt-v3-panel--seating .mgmt-v3-seating-embed{margin-top:0}.mgmt-v3-adjust-row{display:grid;grid-template-columns:160px minmax(280px,auto) 160px;gap:16px;align-items:stretch;justify-content:center}.mgmt-preset-column{display:grid;grid-template-rows:auto repeat(3,1fr);gap:12px;padding:16px 14px;border-radius:18px}.mgmt-preset-column--minus{justify-items:stretch;background:linear-gradient(180deg,#fde7ea,#fff1f2)}.mgmt-preset-column--plus{justify-items:stretch;background:linear-gradient(180deg,#e2f4e6,#eefbf1)}.mgmt-preset-heading{margin:0 0 2px;font-size:14px;font-weight:800;line-height:1.2;color:#374151;text-align:center;letter-spacing:.01em}.mgmt-preset-btn{display:flex;align-items:center;justify-content:space-between;gap:10px;width:100%;min-width:0;min-height:92px;padding:14px 16px;border:none;border-radius:18px;box-shadow:none;font:inherit;font-size:16px;font-weight:800;line-height:1.2;color:#fff;cursor:pointer;transition:transform .12s,filter .12s}.mgmt-preset-btn:hover{transform:translateY(-1px);filter:brightness(1.05)}.mgmt-preset-btn.minus{background:#e53935}.mgmt-preset-btn.plus{background:#4caf50}.mgmt-preset-title{font-size:16px;text-align:left;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.mgmt-preset-points{font-size:17px;white-space:nowrap;flex-shrink:0}.mgmt-v3-stepper-cross{display:grid;grid-template-columns:1fr auto 1fr;grid-template-rows:1fr auto 1fr;gap:10px 12px;align-items:center;justify-items:center;padding:28px 16px 18px;background:transparent;border-radius:20px;box-shadow:none;height:100%;position:relative}.mgmt-v3-stepper-wreath{position:absolute;top:2px;left:50%;transform:translate(-50%);width:68px;height:68px;object-fit:contain;pointer-events:none;z-index:0;filter:drop-shadow(0 4px 8px rgba(109,40,217,.18))}.mgmt-v3-stepper-cross .mgmt-v3-step-btn.top{grid-column:2;grid-row:1;z-index:1}.mgmt-v3-stepper-cross .mgmt-v3-score-btn.minus{grid-column:1;grid-row:2;justify-self:end;z-index:1}.mgmt-v3-step-value-wrap{grid-column:2;grid-row:2;display:flex;flex-direction:column;align-items:center;gap:2px;z-index:1}.mgmt-v3-step-value-label{font-size:11px;font-weight:700;color:#94a3b8}.mgmt-v3-stepper-cross .mgmt-v3-step-value{grid-column:auto;grid-row:auto}.mgmt-v3-stepper-cross .mgmt-v3-score-btn.plus{grid-column:3;grid-row:2;justify-self:start;z-index:1}.mgmt-v3-stepper-cross .mgmt-v3-step-btn.bottom{grid-column:2;grid-row:3;z-index:1}.mgmt-v3-score-btn{min-width:96px;padding:14px 18px;border:none;border-radius:16px;font-size:17px;font-weight:800;color:#fff;cursor:pointer;transition:transform .12s,filter .12s}.mgmt-v3-score-btn:disabled{opacity:.45;cursor:not-allowed}.mgmt-v3-score-btn:not(:disabled):hover{transform:translateY(-1px);filter:brightness(1.05)}.mgmt-v3-score-btn.plus{background:#4caf50}.mgmt-v3-score-btn.minus{background:#e53935}.mgmt-v3-stepper{display:flex;align-items:center;justify-content:center;gap:16px;padding:12px;background:#f3f4f6;border-radius:14px}.mgmt-v3-step-btn{width:46px;height:46px;border:none;border-radius:50%;background:#4caf50;color:#fff;font-size:24px;font-weight:700;cursor:pointer;display:flex;align-items:center;justify-content:center}.mgmt-v3-step-value{width:2.4em;min-width:62px;max-width:4em;margin:0;padding:0;border:none;border-radius:0;background:transparent;box-shadow:none!important;font-size:34px;font-weight:800;font-variant-numeric:tabular-nums;font-family:inherit;color:inherit;text-align:center;line-height:1.1;cursor:text;-webkit-appearance:textfield;appearance:textfield;-moz-appearance:textfield}.mgmt-v3-step-value:hover,.mgmt-v3-step-value:focus,.mgmt-v3-step-value:focus-visible,.mgmt-v3-step-value:active{outline:none;box-shadow:none!important;background:transparent;transform:none}.mgmt-v3-step-value::-webkit-outer-spin-button,.mgmt-v3-step-value::-webkit-inner-spin-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;margin:0;display:none}@media(max-width:860px){.mgmt-v3-adjust-row{grid-template-columns:136px minmax(190px,auto) 136px;gap:10px}.mgmt-preset-column{grid-template-columns:1fr;gap:8px;padding:12px 10px}.mgmt-preset-btn{min-height:82px;padding:12px;border-radius:16px}.mgmt-v3-stepper-cross{padding:14px 12px;border-radius:18px}}@media(max-width:520px){.mgmt-v3-adjust-row{grid-template-columns:114px minmax(156px,auto) 114px;gap:8px}.mgmt-preset-btn{min-height:72px;padding:10px;border-radius:10px}.mgmt-preset-heading,.mgmt-preset-title,.mgmt-preset-points{font-size:14px}.mgmt-v3-stepper-cross{gap:8px 6px;padding:10px 8px}.mgmt-v3-score-btn{min-width:64px;padding:10px 8px;font-size:14px}.mgmt-v3-step-btn{width:34px;height:34px;font-size:18px}.mgmt-v3-step-value{min-width:40px;font-size:28px}}.seating-score-step-value{width:2.4em;min-width:1.5em;margin:0;padding:0;border:none;border-radius:0;background:transparent;box-shadow:none!important;font-size:18px;font-weight:800;font-variant-numeric:tabular-nums;font-family:inherit;color:#111;text-align:center;line-height:1.1;cursor:text;-webkit-appearance:textfield;appearance:textfield;-moz-appearance:textfield}.seating-score-step-value:hover,.seating-score-step-value:focus,.seating-score-step-value:focus-visible,.seating-score-step-value:active{outline:none;box-shadow:none!important;background:transparent;transform:none}.seating-score-step-value::-webkit-outer-spin-button,.seating-score-step-value::-webkit-inner-spin-button{-webkit-appearance:none;-moz-appearance:none;appearance:none;margin:0;display:none}.mgmt-v3-caption{margin:10px 0 0;font-size:12px;color:#9ca3af;text-align:center}.mgmt-v3-target-pills{display:flex;gap:6px;flex-wrap:wrap}.mgmt-v3-target-pill{padding:6px 14px;border:none;border-radius:999px;background:#f3f4f6;font-size:13px;font-weight:700;color:#6b7280;cursor:pointer}.mgmt-v3-target-pill.active{background:#1fb25a;color:#fff}.mgmt-v3-group-chips{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}.mgmt-v3-student-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:10px}@media(min-width:600px){.mgmt-v3-student-grid{grid-template-columns:repeat(3,1fr)}}.mgmt-v3-student-card{position:relative;background:#fff;border:2px solid #e5e7eb;border-radius:14px;padding:12px 10px 10px;text-align:center;cursor:default;transition:border-color .15s,box-shadow .15s}.mgmt-v3-student-card.selectable{cursor:pointer}.mgmt-v3-student-card.selectable:hover{border-color:#1fb25a;box-shadow:0 4px 12px #1fb25a26}.mgmt-v3-student-card.selected{border-color:#1fb25a;background:#f0fdf4}.mgmt-v3-student-check{position:absolute;top:8px;right:8px;width:22px;height:22px;border-radius:50%;background:#e5e7eb;color:transparent;font-size:12px;font-weight:800;display:flex;align-items:center;justify-content:center}.mgmt-v3-student-card.selected .mgmt-v3-student-check{background:#1fb25a;color:#fff}.mgmt-v3-student-avatar{width:52px;height:52px;border-radius:50%;margin:0 auto 8px;display:flex;align-items:center;justify-content:center;font-size:22px;font-weight:800;color:#fff;overflow:hidden}.mgmt-v3-student-name{font-size:14px;font-weight:800;line-height:1.3;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mgmt-v3-student-pts{font-size:12px;color:#6b7280;margin-top:4px;font-weight:700}.mgmt-v3-empty{grid-column:1 / -1;text-align:center;padding:24px;color:#9ca3af;font-weight:600}.mgmt-v3-subview{max-width:960px;margin:0 auto;min-width:0;box-sizing:border-box}.mgmt-v3-subview-title{font-size:20px;font-weight:800;margin:0 0 16px}.mgmt-v3-subview--history .mgmt-v3-subview-title{text-align:left;margin:0;font-size:18px;font-weight:800;color:#0f172a;letter-spacing:-.02em}.mgmt-v3-main--history{--mgmt-history-h: 100%;grid-template-columns:minmax(220px,260px) minmax(0,1fr);max-width:none;width:100%;height:100%;max-height:100%;min-height:0;min-width:0;gap:12px;align-items:stretch;flex:1 1 auto;margin:0;overflow:hidden;box-sizing:border-box}@media(max-width:720px){.mgmt-v3-main--history{--mgmt-history-h: none;grid-template-columns:1fr;height:auto;max-height:none;overflow:visible;gap:12px}.mgmt-v3-content:has(.mgmt-history-shell),.mgmt-v3-content:has(.mgmt-glass-shell),.mgmt-v3-content:has(.mgmt-c-shell){overflow:auto}.mgmt-history-shell{flex:none;height:auto;max-height:none;overflow:visible}}.mgmt-v3-main--history>.mgmt-v3-sidebar{display:flex;flex-direction:column;min-height:0;min-width:0;height:100%;max-height:100%;padding-right:0;overflow:hidden}.mgmt-v3-main--history>.mgmt-v3-subview--history{display:flex;flex-direction:column;min-height:0;min-width:0;height:100%;max-height:100%;max-width:100%;width:100%;margin:0;padding-left:0;overflow:hidden;box-sizing:border-box}.mgmt-v3-main--history .mgmt-history-toolbar{flex-shrink:0;gap:12px;margin-bottom:12px;width:100%;max-width:100%;box-sizing:border-box}.mgmt-v3-main--history .mgmt-history-panel{flex:1 1 auto;min-height:0;min-width:0;width:100%;max-width:100%;overflow:hidden;box-sizing:border-box}.mgmt-history-scope-panel{display:flex;flex-direction:column;flex:1 1 auto;min-height:0;height:100%;max-height:100%;background:#fff;border:1px solid #e5e7eb;border-radius:20px;box-shadow:0 10px 28px #0f172a0f;padding:10px}.mgmt-history-scope-panel .mgmt-v3-panel-head{margin-bottom:8px;align-items:center;flex-shrink:0}.mgmt-history-scope-panel .mgmt-v3-panel-head h3{font-size:14px;font-weight:800;color:#334155}.mgmt-history-back-btn{display:inline-flex;align-items:center;gap:4px;margin:0;padding:6px 10px;border:1px solid #e2e8f0;border-radius:999px;background:#ffffffe6;color:#475569;font:inherit;font-size:12px;font-weight:700;cursor:pointer}.mgmt-history-back-btn:hover{border-color:#cbd5e1;background:#f8fafc}.mgmt-history-search{display:flex;align-items:center;gap:8px;margin:0 0 8px;padding:0 10px;height:36px;border:1px solid #e2e8f0;border-radius:12px;background:#f8fafceb;flex-shrink:0}.mgmt-history-search-ico{color:#94a3b8;font-size:14px;font-weight:700}.mgmt-history-search input{flex:1 1 auto;min-width:0;border:none;outline:none;background:transparent;font:inherit;font-size:13px;font-weight:600;color:#0f172a}.mgmt-history-date-range{margin:0 0 8px;padding:8px;border:1px solid #e2e8f0;border-radius:12px;background:#f8fafceb;flex-shrink:0}.mgmt-history-date-range-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:8px;font-size:12px;font-weight:800;color:#64748b}.mgmt-history-date-clear{margin:0;padding:2px 8px;border:1px solid #e2e8f0;border-radius:999px;background:#fff;color:#64748b;font:inherit;font-size:11px;font-weight:700;cursor:pointer}.mgmt-history-date-clear:hover{border-color:#cbd5e1;color:#0f172a}.mgmt-history-date-fields{display:grid;grid-template-columns:1fr 1fr;gap:8px}.mgmt-history-date-field{display:flex;flex-direction:column;gap:4px;min-width:0;font-size:11px;font-weight:700;color:#94a3b8}.mgmt-history-date-field input[type=date]{width:100%;min-width:0;box-sizing:border-box;border:1px solid #e2e8f0;border-radius:8px;background:#fff;padding:6px;font:inherit;font-size:12px;font-weight:600;color:#0f172a}.mgmt-history-date-presets{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-top:8px}.mgmt-history-date-preset{margin:0;padding:6px 4px;border:1px solid #e2e8f0;border-radius:999px;background:#fff;color:#64748b;font:inherit;font-size:11px;font-weight:700;cursor:pointer;white-space:nowrap}.mgmt-history-date-preset:hover{border-color:#cbd5e1;color:#0f172a;background:#f8fafc}.mgmt-history-date-preset.active{border-color:#0f172a;background:#0f172a;color:#fff}.mgmt-history-toolbar{display:flex;flex-direction:column;gap:10px;margin-bottom:10px}.mgmt-history-title-block{display:flex;flex-direction:column;gap:2px}.mgmt-history-subtitle{margin:0;font-size:12px;font-weight:600;color:#94a3b8}.mgmt-history-summary{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;width:100%}@media(max-width:900px){.mgmt-history-summary{grid-template-columns:repeat(2,minmax(0,1fr))}}.mgmt-history-summary-card{display:flex;align-items:center;gap:12px;padding:16px;border:1px solid #e5e7eb;border-radius:16px;box-shadow:0 4px 12px #0f172a0d;background:#fff;min-height:88px}.mgmt-history-summary-card.total{background:linear-gradient(180deg,#eff6fff2,#ffffffe6);border-color:#dbeafe}.mgmt-history-summary-card.plus{background:linear-gradient(180deg,#ecfdf5f2,#ffffffe6);border-color:#d1fae5}.mgmt-history-summary-card.minus{background:linear-gradient(180deg,#fff7edf2,#ffffffe6);border-color:#ffedd5}.mgmt-history-summary-card.active{background:linear-gradient(180deg,#f5f3fff2,#ffffffe6);border-color:#ede9fe}.mgmt-history-summary-ico{width:52px;height:52px;object-fit:contain;flex-shrink:0;filter:drop-shadow(0 4px 8px rgba(15,23,42,.08))}.mgmt-history-summary-copy{min-width:0;display:flex;flex-direction:column;gap:4px}.mgmt-history-summary-label{font-size:13px;font-weight:700;color:#94a3b8}.mgmt-history-summary-value{font-size:24px;font-weight:800;color:#0f172a;letter-spacing:-.02em;font-variant-numeric:tabular-nums;line-height:1.15}.mgmt-history-summary-unit{font-size:14px;font-weight:700;color:#94a3b8;letter-spacing:0}.mgmt-history-summary-card.plus .mgmt-history-summary-value{color:#15803d}.mgmt-history-summary-card.minus .mgmt-history-summary-value{color:#c2410c}.mgmt-history-summary-card.active .mgmt-history-summary-value{color:#7c3aed}.mgmt-history-summary-card.total .mgmt-history-summary-value{color:#2563eb}.mgmt-history-filters{display:flex;flex-wrap:wrap;gap:8px}.mgmt-history-filter-chip{border:1px solid #e2e8f0;border-radius:999px;background:#ffffffeb;padding:5px 12px;font:inherit;font-size:12px;font-weight:700;color:#64748b;cursor:pointer;transition:background .12s,border-color .12s,color .12s,box-shadow .12s}.mgmt-history-filter-chip--plus{color:#15803d;border-color:#d1fae5;background:#ecfdf5d9}.mgmt-history-filter-chip--minus{color:#be123c;border-color:#ffe4e6;background:#fff1f2d9}.mgmt-history-filter-chip--redeem{color:#1d4ed8;border-color:#dbeafe;background:#eff6ffd9}.mgmt-history-filter-chip:hover{border-color:#cbd5e1;background:#f8fafc}.mgmt-history-filter-chip.active{border-color:#0f172a;background:#0f172a;color:#fff;box-shadow:0 6px 14px #0f172a2e}.mgmt-history-filter-chip--plus.active,.mgmt-history-filter-chip--minus.active,.mgmt-history-filter-chip--redeem.active,.mgmt-history-filter-chip--all.active{border-color:#0f172a;background:#0f172a;color:#fff}.mgmt-history-panel{display:flex;flex-direction:column;flex:1 1 auto;min-height:0;min-width:0;width:100%;max-width:100%;background:#fff;border:1px solid #e5e7eb;border-radius:20px;box-shadow:0 10px 28px #0f172a0f;padding:14px 16px 10px;overflow:hidden;box-sizing:border-box}.mgmt-history-scroll{flex:1 1 auto;min-height:0;min-width:0;max-width:100%;max-height:none;overflow:auto;padding-right:4px;-webkit-overflow-scrolling:touch;box-sizing:border-box}.mgmt-history-load-more-wrap{display:flex;justify-content:center;padding:12px 0 6px}.mgmt-history-load-more{border:1px solid #e2e8f0;border-radius:999px;background:#fff;color:#334155;font:inherit;font-size:13px;font-weight:700;padding:8px 16px;cursor:pointer}.mgmt-history-load-more:hover{border-color:#cbd5e1;background:#f8fafc;color:#0f172a}.mgmt-history-panel-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:8px;flex-shrink:0}.mgmt-history-panel-head h3{margin:0;font-size:15px;font-weight:800;color:#0f172a}.mgmt-history-panel-count{font-size:12px;font-weight:700;color:#94a3b8}.mgmt-history-scope-hint{margin:0 0 10px;padding:0;font-size:12px;font-weight:600;color:#94a3b8;line-height:1.45}.mgmt-history-student-list{display:flex;flex-direction:column;gap:4px;flex:1 1 auto;min-height:0;max-height:none;overflow:auto;padding-right:2px}.mgmt-history-student-btn{display:flex;align-items:center;gap:10px;width:100%;margin:0;padding:7px 8px;border:1px solid transparent;border-radius:12px;background:transparent;cursor:pointer;text-align:left;font:inherit;transition:border-color .15s,background .15s,box-shadow .15s}.mgmt-history-student-btn:hover{border-color:#e2e8f0;background:#f8fafce6}.mgmt-history-student-btn.active{border-color:#c7d2fe;background:linear-gradient(90deg,#eef2ff,#eff6ff);box-shadow:inset 0 0 0 1px #6366f114}.mgmt-history-student-avatar{width:32px;height:32px;flex-shrink:0;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;color:#111;font-size:13px;font-weight:800}.mgmt-history-student-avatar--class{background:#ddd6fe;color:#5b21b6}.mgmt-history-student-meta{min-width:0;flex:1 1 auto;display:flex;flex-direction:column;gap:2px}.mgmt-history-student-name{font-size:14px;font-weight:700;color:#0f172a;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.mgmt-history-student-pts{font-size:12px;font-weight:600;color:#94a3b8}.mgmt-history-student-count{flex-shrink:0;min-width:28px;height:22px;padding:0 8px;border-radius:999px;background:#ede9fe;color:#6d28d9;font-size:12px;font-weight:800;display:inline-flex;align-items:center;justify-content:center}.mgmt-history-student-chevron{color:#818cf8;font-size:18px;font-weight:700;line-height:1}.mgmt-history-undo{display:inline-flex;align-items:center;gap:4px;border:1px solid #e2e8f0;border-radius:999px;background:#fff;color:#64748b;font:inherit;font-size:12px;font-weight:700;padding:6px 10px;cursor:pointer;flex-shrink:0}.mgmt-history-undo:hover{border-color:#cbd5e1;color:#0f172a;background:#f8fafc}.mgmt-history-undo-ico{font-size:13px}.mgmt-history-undone-tag{flex-shrink:0;font-size:11px;font-weight:700;color:#94a3b8;padding:4px 8px}.mgmt-history-event.is-undone{opacity:.55}.mgmt-history-event.is-undone .mgmt-history-badge{text-decoration:line-through}.mgmt-history-event--undo .mgmt-history-dot{background:#c4b5fd;border-color:#ddd6fe;color:#5b21b6}.mgmt-history-event--undo .mgmt-history-badge{background:#f5f3ff;color:#6d28d9;border-color:#ede9fe}.mgmt-history-timeline{display:flex;flex-direction:column;gap:16px;max-width:100%;min-width:0;box-sizing:border-box}.mgmt-history-day-title{margin:0 0 8px;padding-left:72px;font-size:12px;font-weight:700;color:#94a3b8;letter-spacing:.02em}.mgmt-history-day-list{display:flex;flex-direction:column;min-width:0;max-width:100%}.mgmt-history-event{display:grid;grid-template-columns:58px 22px minmax(0,1fr);gap:8px;align-items:stretch;min-width:0;max-width:100%;box-sizing:border-box}.mgmt-history-rail{width:22px;flex-shrink:0;display:flex;flex-direction:column;align-items:center}.mgmt-history-dot{width:18px;height:18px;border-radius:50%;border:2px solid #bbf7d0;background:#4ade80;color:#fff;flex-shrink:0;display:inline-flex;align-items:center;justify-content:center;font-size:10px;font-weight:800;line-height:1;box-shadow:0 0 0 3px #4ade8026}.mgmt-history-event--minus .mgmt-history-dot{background:#fb7185;border-color:#fecdd3;box-shadow:0 0 0 3px #fb718526}.mgmt-history-event--redeem .mgmt-history-dot{background:#60a5fa;border-color:#bfdbfe;font-size:9px;box-shadow:0 0 0 3px #60a5fa26}.mgmt-history-event--system .mgmt-history-dot{background:#60a5fa;border-color:#bfdbfe}.mgmt-history-line{flex:1 1 auto;width:2px;min-height:10px;margin:3px 0 0;background:#e2e8f0}.mgmt-history-event.is-last .mgmt-history-line{opacity:0}.mgmt-history-card{flex:1 1 auto;min-width:0;margin-bottom:8px;padding:12px 14px;background:#ffffffeb;border:1px solid #eef2f7;border-radius:16px;box-shadow:0 4px 14px #0f172a08}.mgmt-history-time{display:block;margin:2px 0 0;font-size:11px;font-weight:700;color:#94a3b8;font-variant-numeric:tabular-nums;text-align:right;line-height:1.3}.mgmt-history-body{display:flex;align-items:center;gap:10px;min-width:0;max-width:100%}.mgmt-history-avatar{width:36px;height:36px;flex-shrink:0;display:flex;align-items:center;justify-content:center;border:1px solid rgba(15,23,42,.06);border-radius:50%;font-size:14px;font-weight:800;color:#0f172a}.mgmt-history-avatar--system{background:#eff6ff!important;border-color:#dbeafe;font-size:16px}.mgmt-history-copy{flex:1 1 auto;min-width:0}.mgmt-history-name-row{display:flex;align-items:center;gap:8px;min-width:0}.mgmt-history-name{font-size:14px;font-weight:700;color:#0f172a;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mgmt-history-type-chip{flex-shrink:0;padding:2px 8px;border-radius:999px;font-size:11px;font-weight:800;line-height:1.3;background:#f1f5f9;color:#64748b}.mgmt-history-type-chip--plus{background:#ecfdf5;color:#15803d}.mgmt-history-type-chip--minus{background:#fff1f2;color:#be123c}.mgmt-history-type-chip--redeem{background:#eff6ff;color:#1d4ed8}.mgmt-history-type-chip--undo{background:#f5f3ff;color:#6d28d9}.mgmt-history-type-chip--system{background:#eff6ff;color:#1d4ed8}.mgmt-history-meta{margin-top:2px;font-size:12px;font-weight:600;color:#94a3b8;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.mgmt-history-meta--extra{color:#cbd5e1}.mgmt-history-badge{flex-shrink:0;padding:5px 10px;border:1px solid transparent;border-radius:999px;font-size:13px;font-weight:800;line-height:1.2;font-variant-numeric:tabular-nums}.mgmt-history-event--plus .mgmt-history-badge{background:#ecfdf5;color:#15803d;border-color:#d1fae5}.mgmt-history-event--minus .mgmt-history-badge{background:#fff1f2;color:#be123c;border-color:#ffe4e6}.mgmt-history-event--redeem .mgmt-history-badge,.mgmt-history-event--system .mgmt-history-badge{background:#eff6ff;color:#1d4ed8;border-color:#dbeafe}.mgmt-history-empty{padding:28px 12px;text-align:center;color:#94a3b8}@media(max-width:640px){.mgmt-history-event{grid-template-columns:22px minmax(0,1fr)}.mgmt-history-time{grid-column:2;text-align:left;margin:0 0 4px}.mgmt-history-rail{grid-row:2}.mgmt-history-card{grid-column:2}.mgmt-history-day-title{padding-left:30px}.mgmt-history-body{flex-wrap:wrap}}.mgmt-v3-history-list{display:flex;flex-direction:column;gap:8px}.mgmt-v3-history-item{display:flex;gap:12px;align-items:flex-start;padding:12px 14px;background:#fff;border-radius:12px;box-shadow:0 1px 4px #0000000f;font-size:14px}.mgmt-v3-history-time{flex-shrink:0;font-size:12px;color:#9ca3af;font-weight:600;min-width:72px}.mgmt-v3-achieve-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(140px,1fr));gap:12px}.mgmt-v3-achieve-card{background:#fff;border-radius:16px;padding:16px;text-align:center;box-shadow:0 2px 8px #0000000f}.mgmt-v3-achieve-rank{font-size:28px;margin-bottom:8px}.mgmt-v3-achieve-pts{font-size:22px;font-weight:800;color:#1fb25a}.mgmt-v3-roster{overflow:auto;flex:1;min-height:0}.mgmt-v3-roster-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px;align-items:start}@media(max-width:900px){.mgmt-v3-roster-grid{grid-template-columns:1fr}}.mgmt-v3-roster-panel h3{margin:0 0 10px;font-size:15px;font-weight:800}.mgmt-v3-roster-textarea{width:100%;min-height:200px;box-sizing:border-box;padding:10px 12px;border:1px solid #d1d5db;border-radius:10px;font-size:13px;font-family:inherit;line-height:1.5;resize:vertical;background:#fafafa}.mgmt-v3-roster-textarea:focus{outline:none;border-color:#1fb25a;background:#fff}.mgmt-v3-roster-toolbar{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:10px}.mgmt-v3-roster-toolbar--end{justify-content:flex-end;margin-bottom:0;margin-top:10px}.mgmt-v3-roster-field{display:flex;flex-direction:column;gap:4px;min-width:72px}.mgmt-v3-roster-count{width:72px;padding:8px 10px;border:1px solid #d1d5db;border-radius:8px;font-size:14px;font-weight:700;font-family:inherit}.mgmt-v3-roster-btn{padding:8px 12px;border:1px solid #d1d5db;border-radius:8px;background:#fff;font-size:13px;font-weight:700;font-family:inherit;cursor:pointer;white-space:nowrap}.mgmt-v3-roster-btn:hover{background:#f3f4f6}.mgmt-v3-roster-btn--yellow{background:var(--monopoly-yellow);border-color:#e6a800}.mgmt-v3-roster-btn--danger{background:#fee2e2;border-color:#f87171;color:#b91c1c}.mgmt-v3-roster-btn--green{background:var(--monopoly-green);border-color:#15803d;color:#fff}.mgmt-v3-roster-btn--muted{background:#f3f4f6}.mgmt-v3-group-custom{margin:10px 0;padding:12px;background:#f8fafc;border:1px solid #e5e7eb;border-radius:10px}.mgmt-v3-group-custom-list{display:flex;flex-direction:column;gap:6px;max-height:240px;overflow:auto}.mgmt-v3-roster-save{display:block;width:100%;margin-top:12px;padding:12px 16px;border:none;border-radius:10px;background:#1fb25a;color:#fff;font-size:15px;font-weight:800;font-family:inherit;cursor:pointer}.mgmt-v3-roster-save:hover{background:#15803d}.mgmt-v3-grouping-view{position:relative;display:flex;flex-direction:column;min-height:0;flex:1}.group-roster-hidden{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.group-import-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:400;background:#0f172a59}.group-import-backdrop.hidden{display:none!important}.group-import-drawer{position:fixed;top:0;left:0;z-index:410;width:min(400px,92vw);height:100%;background:linear-gradient(180deg,#f8fbff,#fff);border-right:3px solid #111;box-shadow:8px 0 24px #0000001f;display:flex;flex-direction:column;padding:16px;box-sizing:border-box;transform:translate(-105%);transition:transform .28s ease}.group-import-drawer.is-open{transform:translate(0)}.group-import-drawer[aria-hidden=true]:not(.is-open){pointer-events:none}.group-import-drawer-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}.group-import-drawer-head h3{margin:0;font-size:18px;font-weight:800}.group-import-close{width:32px;height:32px;border:2px solid #111;border-radius:50%;background:#fff;font-size:20px;line-height:1;cursor:pointer;font-weight:800}.group-import-hint{margin:0 0 8px;font-size:12px;color:#6b7280;line-height:1.4}.group-import-textarea{width:100%;flex:1;min-height:140px;box-sizing:border-box;padding:10px 12px;border:2px solid #111;border-radius:12px;font-size:13px;font-family:inherit;line-height:1.5;resize:vertical;background:#fff}.group-import-actions{display:flex;gap:8px;margin:10px 0}.group-import-preview{flex:1;min-height:80px;max-height:220px;overflow:auto;border:2px dashed #cbd5e1;border-radius:12px;background:#f8fafc;padding:8px;font-size:12px}.group-import-preview-table{width:100%;border-collapse:collapse}.group-import-preview-table th,.group-import-preview-table td{padding:4px 6px;text-align:left;border-bottom:1px solid #e5e7eb}.group-import-preview-empty{color:#9ca3af;font-weight:600;padding:12px;text-align:center}.mgmt-v3-group-board{display:flex;flex-direction:column;gap:10px;flex:1;min-height:0;background:linear-gradient(180deg,#e8f4fc,#f5f9ff);border:3px solid #111;border-radius:16px;padding:12px 14px;box-shadow:4px 4px #111}.group-board-header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px}.group-board-header-left{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.group-board-title{margin:0;font-size:20px;font-weight:800}.group-board-header-right{display:flex;gap:8px;flex-wrap:wrap}.group-board-btn{padding:8px 14px;border:2px solid #111;border-radius:999px;background:#fff;font-size:13px;font-weight:800;font-family:inherit;cursor:pointer;white-space:nowrap;box-shadow:2px 2px #111}.group-board-btn:hover{transform:translate(-1px,-1px);box-shadow:3px 3px #111}.group-board-btn--import{background:linear-gradient(180deg,#93c5fd,#60a5fa);color:#0f172a}.group-board-btn--green{background:linear-gradient(180deg,#4ade80,#22c55e);color:#fff}.group-board-stepper{display:inline-flex;align-items:center;gap:8px;padding:6px 12px;border:2px solid #111;border-radius:999px;background:#fff;box-shadow:2px 2px #111}.group-stepper-btn{width:28px;height:28px;border:2px solid #111;border-radius:50%;background:#fef3c7;font-size:18px;font-weight:800;cursor:pointer;line-height:1;padding:0}.group-stepper-label{font-size:13px;font-weight:700;white-space:nowrap}.group-stepper-label strong{font-size:16px;color:#1d4ed8}.group-quick-bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:8px 10px;background:#ffffffd9;border:2px solid #111;border-radius:12px}.group-quick-label{font-size:12px;font-weight:800;color:#b45309;margin-right:4px}.group-quick-btn{padding:6px 10px;border:2px solid #111;border-radius:999px;background:#fff;font-size:12px;font-weight:700;font-family:inherit;cursor:pointer;white-space:nowrap}.group-quick-btn--danger{background:#fecaca;color:#b91c1c}.group-kanban-board{display:flex;gap:10px;flex:1;min-height:280px;overflow-x:auto;overflow-y:hidden;padding-bottom:4px}.group-kanban-col{flex:0 0 min(200px,28vw);min-width:160px;display:flex;flex-direction:column;min-height:0;border:2px solid #111;border-radius:14px;background:#ffffffeb;box-shadow:3px 3px #00000026}.group-kanban-col-head{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:8px 10px;border-bottom:2px solid #111;border-radius:12px 12px 0 0;font-size:13px;font-weight:800}.group-kanban-col-name{flex:1 1 auto;min-width:0;margin:0;padding:0;border:none;border-radius:0;background:transparent;font:inherit;font-weight:inherit;color:inherit;text-align:left;cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;box-shadow:none;transform:none}.group-kanban-col-name:hover{text-decoration:underline;box-shadow:none;transform:none}.group-kanban-col-name:active{box-shadow:none;transform:none}.group-kanban-col-name-input{flex:1 1 auto;min-width:0;max-width:100%;margin:0;padding:2px 6px;border:2px solid #111;border-radius:6px;background:#fff;font:inherit;font-weight:inherit;color:inherit}.group-kanban-col--unassigned .group-kanban-col-head{background:#e5e7eb}.group-kanban-col--g1 .group-kanban-col-head{background:#fde68a}.group-kanban-col--g2 .group-kanban-col-head{background:#a7f3d0}.group-kanban-col--g3 .group-kanban-col-head{background:#bfdbfe}.group-kanban-col--g4 .group-kanban-col-head{background:#fbcfe8}.group-kanban-col--g5 .group-kanban-col-head{background:#ddd6fe}.group-kanban-col--g6 .group-kanban-col-head{background:#fecaca}.group-kanban-col--g7 .group-kanban-col-head{background:#c7d2fe}.group-kanban-col--g8 .group-kanban-col-head{background:#bbf7d0}.group-kanban-col--g9 .group-kanban-col-head{background:#fed7aa}.group-kanban-col--g10 .group-kanban-col-head{background:#bae6fd}.group-kanban-col--g11 .group-kanban-col-head{background:#e9d5ff}.group-kanban-col--g12 .group-kanban-col-head{background:#d1fae5}.group-kanban-col-count{font-size:11px;font-weight:700;opacity:.85}.group-kanban-col-body{flex:1;min-height:120px;overflow-y:auto;padding:8px;display:flex;flex-direction:column;gap:6px}.group-kanban-col-body.is-drag-over{background:#3b82f61f;outline:2px dashed #3b82f6;outline-offset:-4px}.group-kanban-empty{flex:1;display:flex;align-items:center;justify-content:center;min-height:72px;border:2px dashed #cbd5e1;border-radius:10px;color:#9ca3af;font-size:11px;font-weight:700;text-align:center;padding:8px}.group-student-card{display:flex;align-items:center;gap:8px;padding:6px 8px;border:2px solid #111;border-radius:12px;background:#fff;cursor:grab;box-shadow:2px 2px #0000001f;-webkit-user-select:none;user-select:none}.group-student-card:active{cursor:grabbing}.group-student-card.is-dragging{opacity:.45}.group-student-avatar{width:32px;height:32px;border-radius:50%;border:2px solid #111;background:var(--monopoly-blue);color:#fff;font-size:13px;font-weight:800;display:flex;align-items:center;justify-content:center;flex-shrink:0}.group-student-name{flex:1;min-width:0;font-size:13px;font-weight:800;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.group-student-grip{color:#9ca3af;font-size:14px;letter-spacing:-2px;flex-shrink:0}.group-board-tip{margin:0;padding:8px 12px;background:#dbeafe;border:2px solid #111;border-radius:10px;font-size:12px;font-weight:700;color:#1e40af}@media(max-width:720px){.group-board-header{flex-direction:column;align-items:stretch}.group-board-header-left,.group-board-header-right,.group-board-stepper{justify-content:center}.group-kanban-col{flex:0 0 72vw;min-width:200px}}body.view-management #app-status-bar.app-status-bar{background:#fff;border-bottom:2px solid #000;box-shadow:0 2px #00000014}body.view-management #app-status-bar .app-status-back,body.view-management #app-status-bar .hub-identity-chip,body.view-management #app-status-bar .hub-challenge-pill,body.view-management #app-status-bar .app-status-help-btn{border:2px solid #000}body.view-management .mgmt-v3{display:flex;flex-direction:column;min-height:0;height:100%}body.view-management .seating-view{max-width:960px;margin:0 auto}.seating-view{display:flex;flex-direction:column;gap:12px}.seating-setup-details{border:2px solid #000;border-radius:12px;background:#f8fafc;overflow:hidden}.seating-setup-details>summary{padding:10px 14px;font-weight:800;font-size:14px;cursor:pointer;list-style:none;-webkit-user-select:none;user-select:none}.seating-setup-details>summary::-webkit-details-marker{display:none}.seating-setup-details>summary:before{content:"▸ ";display:inline-block;transition:transform .15s}.seating-setup-details[open]>summary:before{transform:rotate(90deg)}.seating-setup-details .seating-toolbar{margin:0 12px 8px}.seating-setup-details .seating-action-bar{margin:0 12px 12px}@media(min-width:769px){.seating-setup-details>summary{display:none}.seating-setup-details .seating-toolbar{margin-top:12px}}.seating-score-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;padding:12px 14px;background:#fff;border:3px solid #000;border-radius:14px;box-shadow:4px 4px #0000001a}.seating-score-selected{flex:1 1 140px;min-width:0}.seating-score-label{display:block;font-size:11px;font-weight:700;color:#6b7280;margin-bottom:2px}.seating-score-name{display:block;font-size:16px;font-weight:800;color:#111;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.seating-score-pts{display:block;font-size:13px;font-weight:700;color:var(--monopoly-blue)}.seating-score-controls{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px;flex:1 1 280px}.seating-score-btn{width:clamp(56px,14vw,72px);height:clamp(56px,14vw,72px);min-width:56px;padding:0;border:none;border-radius:14px;font-size:clamp(28px,7vw,36px);font-weight:800;line-height:1;cursor:pointer;box-shadow:var(--clay-shadow-inner),var(--clay-shadow-outer);transition:transform .15s ease,filter .15s ease}.seating-score-btn.plus{background:linear-gradient(180deg,#4ade80 0%,var(--monopoly-green) 55%,#15803d 100%);color:#fff}.seating-score-btn.minus{background:linear-gradient(180deg,var(--clay-coral-top) 0%,var(--clay-coral-mid) 45%,var(--clay-coral-bot) 100%);color:#fff}.seating-score-btn:hover:not(:disabled){transform:translateY(-2px);filter:brightness(1.05)}.seating-score-btn:active:not(:disabled){transform:scale(.97)}.seating-score-btn:disabled{opacity:.45;cursor:not-allowed;transform:none;filter:grayscale(.3)}.seating-score-stepper{display:flex;align-items:center;gap:6px;padding:6px 10px;background:#fffbeb;border:2px solid #000;border-radius:999px;font-weight:800}.seating-score-step-label{font-size:12px;color:#92400e;margin-right:2px}.seating-score-step-btn{width:28px;height:28px;min-width:28px;padding:0;border:2px solid #000;border-radius:50%;background:#fff;font-size:16px;font-weight:800;line-height:1;cursor:pointer;box-shadow:1px 1px #000}.seating-grid-scroll{flex:1 1 auto;min-width:0;overflow-x:auto;overflow-y:hidden;-webkit-overflow-scrolling:touch;padding-bottom:4px}.seating-grid-scroll:focus{outline:2px solid var(--monopoly-blue);outline-offset:2px}.seating-grid:not(.seating-grid--fixed-cols){--seat-col-min: 80px;width:max-content;min-width:100%;box-sizing:border-box}.seat-cell.selected{border-color:var(--monopoly-blue)!important;border-style:solid!important;border-width:3px!important;box-shadow:0 0 0 3px #0072bb59,inset 0 0 12px #0072bb1f;background:#eff6ff!important}@media(max-width:640px){.seating-grid:not(.seating-grid--fixed-cols){--seat-col-min: 68px}.seating-view .seating-score-bar{position:fixed;left:0;right:0;bottom:0;z-index:500;margin:0;border-radius:16px 16px 0 0;border-bottom:none;padding:10px 12px calc(10px + env(safe-area-inset-bottom,0px));box-shadow:0 -4px 20px #00000026}.mgmt-points-view .mgmt-score-bar{position:static;border-radius:14px;border-bottom:3px solid #000;box-shadow:4px 4px #0000001a}body.view-management .seating-view{padding-bottom:calc(96px + env(safe-area-inset-bottom,0px))}.seating-score-name{font-size:14px}.seating-mode-hint{width:100%}.mgmt-target-btn{flex:1 1 calc(33% - 8px);min-width:88px;text-align:center;padding:12px 8px}}@media(min-width:641px){.seating-view .seating-score-bar{position:sticky;top:0;z-index:20}}.seating-toolbar{display:flex;flex-direction:column;gap:8px;margin-bottom:16px;padding:12px 14px;background:#f8fafc;border:2px solid #000;border-radius:12px}.seating-toolbar label{font-size:13px;font-weight:700}.seating-toolbar input[type=number]{width:56px;padding:6px 8px;border:2px solid #000;border-radius:6px;font-weight:700;font-size:13px}.seating-edit-toggle{display:flex;align-items:center;gap:8px;padding:6px 12px;border:2px solid #000;border-radius:999px;background:#fff;font-weight:800;font-size:13px;cursor:pointer;box-shadow:2px 2px #000}.seating-edit-toggle.active{background:var(--monopoly-blue);color:#fff}.seating-layout-wrap{--seat-zoom: 1;display:flex;flex-direction:column;gap:16px;align-items:stretch;flex-wrap:nowrap}@media(orientation:landscape){.seating-layout-wrap{--seat-zoom: .7}}.seating-stage{display:flex;gap:16px;flex:1 1 auto;min-height:0;min-width:0;align-items:stretch}.seating-layout-wrap.podium-top .seating-stage{flex-direction:column;align-items:stretch;flex-wrap:nowrap}.seating-layout-wrap.podium-bottom .seating-stage{flex-direction:column-reverse;align-items:stretch;flex-wrap:nowrap}.seating-layout-wrap.podium-left .seating-stage{flex-direction:row;flex-wrap:nowrap;align-items:stretch}.seating-layout-wrap.podium-right .seating-stage{flex-direction:row-reverse;flex-wrap:nowrap;align-items:stretch}.podium-label{text-align:center;font-weight:800;font-size:12px;color:#6b7280;padding:6px 12px;background:#f3f4f6;border:2px dashed #9ca3af;border-radius:8px;flex-shrink:0}.seating-layout-wrap.podium-left .seating-stage .seating-grid-scroll,.seating-layout-wrap.podium-right .seating-stage .seating-grid-scroll{flex:1 1 auto;min-width:0;max-width:100%}.seating-layout-wrap.podium-left .seating-stage .podium-label,.seating-layout-wrap.podium-right .seating-stage .podium-label{writing-mode:vertical-rl;text-orientation:mixed;align-self:stretch;display:flex;align-items:center;justify-content:center}.seating-action-bar{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.seating-grid-wrap{flex:1;min-width:0}.seating-layout-wrap.podium-top .seating-stage .seating-grid-wrap,.seating-layout-wrap.podium-bottom .seating-stage .seating-grid-wrap,.seating-layout-wrap.podium-top .seating-stage .seating-grid-scroll,.seating-layout-wrap.podium-bottom .seating-stage .seating-grid-scroll{width:100%;flex:0 0 auto;min-width:0}.seating-layout-wrap.podium-top .seating-stage .seating-grid:not(.seating-grid--fixed-cols),.seating-layout-wrap.podium-bottom .seating-stage .seating-grid:not(.seating-grid--fixed-cols){width:max-content}.seating-layout-wrap.podium-top .seating-stage .seating-grid.seating-grid--fixed-cols,.seating-layout-wrap.podium-bottom .seating-stage .seating-grid.seating-grid--fixed-cols{width:calc(100% * var(--seat-zoom, 1));max-width:none;margin-left:auto;margin-right:auto}.seating-layout-wrap.podium-top .seating-stage .podium-label,.seating-layout-wrap.podium-bottom .seating-stage .podium-label{width:calc(100% * var(--seat-zoom, 1));max-width:none;margin-left:auto;margin-right:auto;box-sizing:border-box}.seating-layout-wrap .unseated-pool{width:100%;min-height:auto;flex-shrink:0}.seating-layout-wrap .unseated-list{flex-direction:row;flex-wrap:wrap;gap:8px;min-height:auto}.seating-grid{display:grid;gap:10px;padding:14px;background:#e8f4ea;border:3px solid #000;border-radius:12px;box-shadow:inset 0 2px 8px #0000000f}.seat-cell{aspect-ratio:1;width:100%;height:auto;min-width:0;min-height:var(--seat-col-min, 80px);box-sizing:border-box;background:#ffffffd9;border:2px dashed #9ca3af;border-radius:10px;display:flex;flex-direction:column;align-items:center;justify-content:center;position:relative;transition:background .15s,border-color .15s;padding:4px 2px 6px;overflow:hidden}.seat-cell.occupied{border-style:solid;border-color:#000;cursor:pointer}.seat-cell.edit-mode{border-style:dashed}.seat-cell.drag-over{background:#fef3c7;border-color:var(--monopoly-yellow);border-style:solid}.seat-cell.seat-buff-flash{animation:seatBuffFlash 1.2s ease-out}@keyframes seatBuffFlash{0%,to{box-shadow:0 0 0 0 transparent}25%{box-shadow:0 0 0 4px gold,0 0 20px #ffd700cc;border-color:gold}50%{box-shadow:0 0 0 6px #ffb703,0 0 24px #ffb703e6}75%{box-shadow:0 0 0 4px gold}}.seat-buff-icon{position:absolute;top:-6px;right:-4px;font-size:18px;animation:buffIconPop .5s ease-out;pointer-events:none;z-index:2}@keyframes buffIconPop{0%{transform:scale(0);opacity:0}60%{transform:scale(1.3)}to{transform:scale(1);opacity:1}}.seat-avatar{width:clamp(30px,46%,44px);height:clamp(30px,46%,44px);border-radius:50%;border:3px solid #000;display:flex;align-items:center;justify-content:center;font-weight:800;font-size:clamp(12px,2.8vw,16px);box-shadow:2px 2px #0003;-webkit-user-select:none;user-select:none;flex-shrink:0;overflow:hidden}.seat-student{display:flex;flex-direction:column;align-items:center;width:100%;min-width:0}.seat-cell.edit-mode .seat-drag-source,.unseated-pool.edit-mode .seat-drag-source{cursor:grab;touch-action:none;user-select:none;-webkit-user-select:none}.seat-cell.edit-mode .seat-drag-source:active,.unseated-pool.edit-mode .seat-drag-source:active{cursor:grabbing}body.seat-pointer-dragging,body.seat-pointer-dragging *{cursor:grabbing!important;user-select:none!important;-webkit-user-select:none!important}body.seat-pointer-dragging .seating-grid-scroll{touch-action:none;overflow:hidden}.seat-drag-ghost{position:fixed;left:0;top:0;z-index:6000;pointer-events:none;padding:8px 12px;border:2px solid #000;border-radius:999px;background:#fff;box-shadow:3px 3px #0003;font-size:14px;font-weight:800;color:#111;white-space:nowrap;max-width:60vw;overflow:hidden;text-overflow:ellipsis}.seat-name{font-size:10px;font-weight:700;margin-top:4px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding:0 4px;text-align:center}.seat-pts{font-size:11px;font-weight:800;color:var(--monopoly-blue);margin-top:2px}.seat-row-label{font-size:10px;color:#6b7280;font-weight:700;position:absolute;top:2px;left:4px}.unseated-pool{width:140px;min-height:200px;flex-shrink:0;background:#fff7ed;border:3px solid #000;border-radius:12px;padding:10px;box-shadow:4px 4px #0000001a}.unseated-pool h4{margin:0 0 10px;font-size:13px;text-align:center}.unseated-pool.drag-over{background:#fef3c7;outline:3px dashed var(--monopoly-yellow)}.unseated-list{display:flex;flex-direction:column;gap:8px;min-height:120px}.unseated-chip{display:flex;align-items:center;gap:8px;padding:6px 8px;background:#fff;border:2px solid #000;border-radius:10px;cursor:grab;box-shadow:2px 2px #000}.unseated-chip:active{cursor:grabbing}.unseated-chip .seat-avatar{width:32px;height:32px;font-size:13px}.unseated-chip-name{font-size:12px;font-weight:700;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis}#seat-points-popover{position:fixed;z-index:2600;display:none;pointer-events:none}#seat-points-popover.visible{display:block;pointer-events:auto}.seat-popover-inner{background:#fff;border:4px solid #000;border-radius:50%;width:160px;height:160px;position:relative;box-shadow:8px 8px #00000040;animation:popIn .2s ease-out}.seat-popover-inner--v2{width:auto;min-width:240px;max-width:min(300px,calc(100vw - 32px));height:auto;min-height:0;border-radius:20px;padding:12px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:0;box-sizing:border-box}.seat-popover-inner--dial{width:136px;height:136px;min-width:136px;max-width:136px;padding:0;border-radius:50%;border:3px solid #000;box-shadow:5px 5px #00000038;background:#fff;display:block;box-sizing:border-box}.seat-dial{position:relative;width:100%;height:100%}.seat-dial:before{content:"";position:absolute;top:18px;right:18px;bottom:18px;left:18px;border-radius:50%;border:1px dashed rgba(148,163,184,.55);pointer-events:none;z-index:1}.seat-dial-face{position:absolute;top:26px;right:26px;bottom:26px;left:26px;border-radius:50%;background:linear-gradient(180deg,#f8fafc,#e0f2fe);border:2px solid #7dd3fc;display:flex;align-items:center;justify-content:center;pointer-events:none}.seat-dial-value{font-size:30px;font-weight:800;font-variant-numeric:tabular-nums;color:#0f172a;line-height:1}.seat-dial-node{position:absolute;z-index:2;margin:0;padding:0;border:2px solid #000;border-radius:50%;font-weight:800;line-height:1;cursor:pointer;box-shadow:2px 2px #000;display:flex;align-items:center;justify-content:center;font-family:inherit;transition:transform .1s ease,filter .1s ease}.seat-dial-node:hover:not(:disabled){transform:scale(1.06);filter:brightness(1.05)}.seat-dial-node:active:not(:disabled){transform:scale(.96)}.seat-dial-node:disabled{opacity:.4;cursor:not-allowed}.seat-dial-node--step-up,.seat-dial-node--step-down{left:50%;width:28px;height:28px;transform:translate(-50%);background:#ecfdf5;color:#15803d;font-size:16px}.seat-dial-node--step-up{top:5px}.seat-dial-node--step-up:hover:not(:disabled){transform:translate(-50%) scale(1.06)}.seat-dial-node--step-down{bottom:5px;font-size:18px}.seat-dial-node--step-down:hover:not(:disabled){transform:translate(-50%) scale(1.06)}.seat-dial-node--sub,.seat-dial-node--add{top:50%;width:36px;height:36px;transform:translateY(-50%);color:#fff;font-size:22px}.seat-dial-node--sub{left:5px;background:#e53935}.seat-dial-node--sub:hover:not(:disabled){transform:translateY(-50%) scale(1.06)}.seat-dial-node--add{right:5px;background:#4caf50}.seat-dial-node--add:hover:not(:disabled){transform:translateY(-50%) scale(1.06)}.seat-popover-score-controls{width:100%;max-width:248px;justify-content:center;gap:8px;flex-wrap:nowrap}.seat-popover-inner--v2 .seating-score-btn{width:48px;height:48px;font-size:28px;flex-shrink:0}.seat-popover-inner--v2 .seating-score-stepper{padding:4px 8px;gap:4px;flex:1 1 auto;min-width:0}.seat-popover-inner--v2 .seating-score-step-label{font-size:11px}.seat-popover-inner--v2 .seating-score-step-btn{width:28px;height:28px;font-size:16px}.seat-popover-inner--v2 .seating-score-step-value{font-size:16px}.seat-popover-center{position:relative;top:auto;left:auto;transform:none;text-align:center;width:100%;max-width:220px;padding:0 24px;box-sizing:border-box}.seat-popover-inner--v2 .seat-popover-center{margin-top:4px}.seat-popover-name{font-size:13px;font-weight:800;line-height:1.25;word-break:break-word}.seat-popover-pts{font-size:20px;font-weight:800;color:var(--monopoly-blue);margin-top:4px}.seat-popover-btn{position:absolute;width:44px;height:44px;border-radius:50%;border:2px solid #000;font-weight:800;font-size:14px;cursor:pointer;box-shadow:2px 2px #000;padding:0;min-width:auto}.seat-popover-btn:hover{transform:scale(1.08)}.seat-popover-btn.plus-top{top:4px;left:50%;transform:translate(-50%);background:var(--monopoly-green);color:#fff}.seat-popover-btn.plus-right{right:4px;top:50%;transform:translateY(-50%);background:var(--monopoly-green);color:#fff;font-size:11px}.seat-popover-btn.minus-bottom{bottom:4px;left:50%;transform:translate(-50%);background:#f97373;color:#fff}.seat-popover-btn.close-left{left:4px;top:50%;transform:translateY(-50%);background:#eee;font-size:16px}.seat-popover-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:2599;background:transparent;display:none}.seat-popover-backdrop.visible{display:block}.house-icon.landmark .house-img{filter:drop-shadow(0 0 4px gold) saturate(1.3)}.house-icon.landmark:after{content:"⭐";position:absolute;top:-6px;right:-4px;font-size:10px}.house-icon{position:relative}.pay-spin-hub-banner{display:none;margin-bottom:16px;padding:14px 18px;background:linear-gradient(135deg,#ff6b35,#ffb703);border:3px solid #000;border-radius:14px;box-shadow:5px 5px #000;text-align:center;animation:paySpinPulse 2s ease-in-out infinite}.pay-spin-hub-banner.visible{display:block}@keyframes paySpinPulse{0%,to{box-shadow:5px 5px #000}50%{box-shadow:5px 5px #000,0 0 16px #ffb703cc}}.pay-spin-hub-banner .fee-text{font-size:clamp(18px,3vw,26px);font-weight:900;color:#fff;text-shadow:2px 2px 0 #000}.pay-spin-panel{display:none}.wheel-top-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.wheel-edit-toggle{font:inherit;font-weight:800;font-size:13px;padding:8px 14px;border-radius:999px;border:2px solid #fdba74;background:#fff7ed;color:#c2410c;box-shadow:none!important;transform:none!important}.wheel-edit-toggle.is-open{background:#ffedd5;border-color:#f97316;color:#9a3412}.wheel-edit-toggle:hover,.wheel-edit-toggle:active{transform:none!important;box-shadow:none!important}.wheel-pay-check{display:inline-flex;align-items:center;gap:8px;font-weight:800;font-size:13px;color:#9a3412;cursor:pointer;-webkit-user-select:none;user-select:none}.wheel-pay-check input{width:16px;height:16px;accent-color:#ea580c}.wheel-player-hud{display:grid;grid-template-columns:minmax(0,1.4fr) auto auto;gap:12px;align-items:center;width:100%;margin-bottom:12px;padding:12px 14px;background:linear-gradient(180deg,#fffbeb,#ffedd5);border:2px solid #fdba74;border-radius:16px;box-shadow:0 4px 12px #9a34121a;box-sizing:border-box}.wheel-player-hud.pay-off{grid-template-columns:minmax(0,1fr) auto}.wheel-player-who{display:flex;align-items:center;gap:10px;min-width:0}.wheel-player-caption{font-size:11px;font-weight:800;color:#c2410c;opacity:.85;margin-bottom:2px}.wheel-player-wallet-block,.wheel-player-fee-block{text-align:right;min-width:0}.wheel-player-fee-block.is-hidden{display:none}.wheel-fee-row{display:inline-flex;align-items:center;gap:6px;justify-content:flex-end}.wheel-fee-row input{width:64px;height:32px;padding:0 8px;border:2px solid #fb923c;border-radius:8px;font-weight:800;background:#fff;color:#9a3412;box-sizing:border-box}.wheel-fee-unit{font-size:12px;font-weight:800;color:#c2410c}.wheel-fee-chip{margin-top:4px;font-size:11px;font-weight:800;color:#9a3412;opacity:.9}.wheel-segments-section{margin-bottom:0}.wheel-segments-editor{display:none;margin-bottom:12px;padding:12px;background:linear-gradient(180deg,#fffdf8,#fff7ed);border:2px dashed #fb923c;border-radius:14px}.wheel-segments-editor.open{display:block}.wheel-segments-editor-head,.wheel-segments-editor-row{display:grid;grid-template-columns:minmax(0,1fr) 168px 72px 36px;gap:8px;align-items:stretch;width:100%;box-sizing:border-box;margin-bottom:8px}.wheel-segments-editor-head{font-size:11px;font-weight:800;color:#c2410c;margin-bottom:6px;align-items:end;opacity:.85}.wheel-segments-editor-head>span{min-width:0;text-align:left;padding:0 2px}.wheel-segments-editor-hint{margin:4px 0 0;font-size:12px;font-weight:600;color:#9a3412;line-height:1.4}.wheel-segments-editor-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.wheel-segments-editor-row input[data-field=label],.wheel-segments-editor-row input[data-field=points]{display:block;width:100%;min-width:0;height:36px;margin:0;padding:0 8px;border:2px solid #fdba74;border-radius:8px;font-size:13px;font-weight:700;box-sizing:border-box;background:#fff;color:#9a3412;line-height:1.2}.wheel-segments-editor-row input[type=number]{text-align:center;padding-left:4px;padding-right:4px}.wheel-segments-editor-row input[hidden]{visibility:hidden;pointer-events:none}.wheel-kind-toggle{display:grid;grid-template-columns:1fr 1fr;gap:4px;height:36px}.wheel-kind-btn{margin:0;padding:0 4px;height:36px;border-radius:8px;border:2px solid #fdba74;background:#fff7ed;color:#c2410c;font-size:11px;font-weight:800;box-shadow:none!important;transform:none!important;white-space:nowrap}.wheel-kind-btn.is-active{background:#fb923c;border-color:#ea580c;color:#fff}.wheel-kind-btn:hover,.wheel-kind-btn:active{transform:none!important;box-shadow:none!important}.wheel-seg-del{width:36px;height:36px;min-width:36px;margin:0;padding:0;display:inline-flex;align-items:center;justify-content:center;font-size:16px;line-height:1;border-radius:8px;border:2px solid #f87171;background:#fecaca;color:#b91c1c;box-shadow:none!important;transform:none!important}.wheel-seg-del:hover,.wheel-seg-del:active{transform:none!important;box-shadow:none!important}.wheel-editor-btn{font:inherit;font-weight:800;font-size:13px;padding:8px 14px;border-radius:999px;border:2px solid #86efac;background:#dcfce7;color:#166534;box-shadow:none!important;transform:none!important}.wheel-editor-btn--save{border-color:#fdba74;background:#ffedd5;color:#c2410c}.wheel-editor-btn:hover,.wheel-editor-btn:active{transform:none!important;box-shadow:none!important}.entry-fee-tag,.challenger-board{display:none}.challenger-avatar{width:52px;height:52px;border-radius:50%;border:3px solid #fb923c;display:flex;align-items:center;justify-content:center;font-weight:900;font-size:20px;flex-shrink:0;background:#ffedd5;color:#9a3412;box-shadow:0 3px #c2410c33}.challenger-info{text-align:left;flex:1;min-width:0}.challenger-name{font-weight:900;font-size:16px;color:#9a3412;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.challenger-select{margin-top:4px;max-width:100%;padding:4px 8px;border:2px solid #fdba74;border-radius:8px;font-weight:700;background:#fff;color:#9a3412}.challenger-wallet{font-size:clamp(22px,4vw,30px);font-weight:900;line-height:1;font-variant-numeric:tabular-nums;color:#16a34a;transition:color .2s}.challenger-wallet.wallet-ok{color:#15803d}.challenger-wallet.wallet-low{color:#dc2626;animation:walletBlink .6s ease-in-out 3}@keyframes walletBlink{0%,to{opacity:1}50%{opacity:.4}}@media(max-width:640px){.wheel-player-hud{grid-template-columns:1fr;text-align:left}.wheel-player-wallet-block,.wheel-player-fee-block{text-align:left}.wheel-fee-row{justify-content:flex-start}.wheel-segments-editor-head,.wheel-segments-editor-row{grid-template-columns:minmax(0,1fr) 140px 56px 32px}}#btn-roll.btn-spin-active{animation:clayRollPulse 1.1s ease-in-out infinite;box-shadow:inset 0 2px 8px #ffffff8c,inset 0 -3px 6px #00000014,0 0 20px #f8717173,0 8px 20px #0000001f}@keyframes clayRollPulse{0%,to{filter:brightness(1)}50%{filter:brightness(1.08)}}#btn-roll.btn-spin-disabled{animation:spinBtnBreathe 1.5s ease-in-out infinite;box-shadow:inset 0 2px 6px #ffffff8c,inset 0 -3px 6px #00000014,0 0 24px #f871718c,0 8px 20px #0000001f;cursor:not-allowed;opacity:.72;background:linear-gradient(180deg,#d1d5db,#9ca3af)!important}@keyframes spinBtnBreathe{0%,to{transform:scale(1)}50%{transform:scale(1.03)}}.spin-insufficient-msg{font-size:12px;font-weight:800;color:#dc2626;min-height:18px;margin-top:4px}#coin-fx-layer{position:fixed;top:0;right:0;bottom:0;left:0;pointer-events:none;z-index:2500}.coin-particle{position:fixed;font-size:22px;z-index:2501;pointer-events:none;transition:left .55s cubic-bezier(.25,.8,.25,1),top .55s cubic-bezier(.25,.8,.25,1),opacity .55s}.wallet-count-anim{animation:walletPop .4s ease-out}@keyframes walletPop{0%{transform:scale(1.3)}to{transform:scale(1)}}.result-content.result-shake{animation:resultShake .5s ease-in-out}@keyframes resultShake{0%,to{transform:translate(0)}20%{transform:translate(-8px)}40%{transform:translate(8px)}60%{transform:translate(-6px)}80%{transform:translate(6px)}}.result-text.result-pop-win{animation:resultPopWin .5s cubic-bezier(.175,.885,.32,1.275)}@keyframes resultPopWin{0%{transform:scale(.5);opacity:0}to{transform:scale(1.1);opacity:1}}body.view-wheel{overflow-y:auto;align-items:flex-start;padding:56px 16px 24px}.wheel-container{background:linear-gradient(180deg,#fff7ed,#ffedd5 45%,#fedebe);border:3px solid #fb923c;border-radius:24px;padding:14px 16px 18px;max-width:900px;margin:0 auto;box-shadow:0 12px 28px #9a34122e;color:#7c2d12;display:flex;flex-direction:column;align-items:stretch;gap:12px}.wheel-container h2{color:#c2410c;text-shadow:none}.wheel-settings-bar{display:none}.wheel-canvas-wrap{position:relative;width:min(420px,85vw);height:min(420px,85vw);display:flex;align-items:center;justify-content:center;align-self:center}.wheel-sprite{position:absolute;pointer-events:none;-webkit-user-select:none;user-select:none}.wheel-stage-bg{top:-8%;right:-8%;bottom:-8%;left:-8%;width:116%;height:116%;object-fit:cover;border-radius:20px;opacity:.42;z-index:0}#wheel-canvas{position:relative;z-index:1;display:block}.wheel-rim{top:0;right:0;bottom:0;left:0;width:100%;height:100%;object-fit:contain;z-index:2;filter:drop-shadow(0 6px 10px rgba(154,52,18,.28))}.wheel-marquee{position:absolute;top:3%;right:3%;bottom:3%;left:3%;z-index:2;pointer-events:none}.wheel-marquee-bulb{position:absolute;left:50%;top:50%;width:3.2%;height:3.2%;margin:-1.6%;border-radius:50%;background:radial-gradient(circle at 35% 30%,#fffef5,#fde68a 45%,#f59e0b);box-shadow:0 0 6px 2px #fbbf24bf;opacity:.55;animation:wheelMarqueePulse 1.2s ease-in-out infinite}@keyframes wheelMarqueePulse{0%,to{opacity:.4;transform:scale(.92)}50%{opacity:1;transform:scale(1.08)}}.wheel-pointer{top:-4%;left:50%;width:12%;height:auto;transform:translate(-50%);z-index:4;filter:drop-shadow(0 4px 6px rgba(154,52,18,.35));transform-origin:50% 20%}.wheel-pointer.wheel-pointer-tick{animation:wheelPointerTick .14s ease-out}@keyframes wheelPointerTick{0%{transform:translate(-50%) rotate(0)}35%{transform:translate(-50%) rotate(-10deg)}to{transform:translate(-50%) rotate(0)}}.wheel-hub{top:50%;left:50%;width:24%;height:auto;transform:translate(-50%,-50%);z-index:3;filter:drop-shadow(0 4px 8px rgba(154,52,18,.3))}#btn-wheel-spin{min-width:200px;max-width:min(360px,92vw);padding:14px 28px;font-size:20px;background:linear-gradient(180deg,#fb923c,#f97316 45%,#ea580c);color:#fff;border:3px solid #c2410c;border-radius:999px;box-shadow:0 5px #9a3412,0 8px 16px #9a341240;font-weight:900;text-shadow:0 1px 0 rgba(0,0,0,.25);letter-spacing:.04em;position:relative;z-index:5;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;align-self:center}#btn-wheel-spin:hover:not(.btn-spin-disabled){filter:brightness(1.05);box-shadow:0 5px #9a3412,0 10px 18px #ea580c59}#btn-wheel-spin:active:not(.btn-spin-disabled){transform:translateY(3px);box-shadow:0 2px #9a3412,0 4px 10px #9a341233}#btn-wheel-spin.btn-spin-active{animation:spinBtnBreathe 1.5s ease-in-out infinite}#btn-wheel-spin.btn-spin-disabled{background:#e5e7eb!important;border-color:#9ca3af!important;color:#6b7280!important;text-shadow:none;box-shadow:none!important;animation:none!important;letter-spacing:0;font-size:16px}.spin-insufficient-msg[hidden]{display:none!important}.wheel-result-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:3600;display:flex;align-items:center;justify-content:center;padding:20px;background:#3c1e0a73;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.wheel-result-modal.hidden{display:none}.wheel-result-dialog{width:min(420px,100%);padding:24px 22px 20px;border-radius:20px;border:3px solid #fb923c;background:linear-gradient(180deg,#fffbeb,#ffedd5);box-shadow:0 16px 40px #9a341247;text-align:center;color:#9a3412}.wheel-result-dialog.is-other{border-color:#a855f7;background:linear-gradient(180deg,#faf5ff,#f3e8ff);color:#6b21a8}.wheel-result-kind{display:inline-block;margin:0 0 8px;padding:4px 12px;border-radius:999px;font-size:12px;font-weight:800;background:#ffedd5;border:2px solid #fb923c;color:#c2410c}.wheel-result-kind[data-kind=other]{background:#f3e8ff;border-color:#c084fc;color:#7e22ce}.wheel-result-dialog h3{margin:0 0 12px;font-size:22px;font-weight:900}.wheel-result-label{margin:0 0 10px;font-size:clamp(20px,4vw,28px);font-weight:900;line-height:1.3;word-break:break-word}.wheel-result-rc{margin:0 0 18px;font-size:15px;font-weight:700;opacity:.9}.wheel-result-close{min-width:120px;padding:10px 20px;font-size:16px;font-weight:800;border-radius:999px;border:3px solid #c2410c;background:linear-gradient(180deg,#fb923c,#ea580c);color:#fff;cursor:pointer;box-shadow:0 4px #9a3412}.wheel-result-dialog.is-other .wheel-result-close{border-color:#7e22ce;background:linear-gradient(180deg,#c084fc,#9333ea);box-shadow:0 4px #6b21a8}.wheel-result-dialog.result-shake{animation:resultShake .5s ease-in-out}.wheel-result-dialog.result-pop-win{animation:resultPopWin .5s cubic-bezier(.175,.885,.32,1.275)}.wheel-result-box{display:none}#blackboard-view .bb-btn{padding:8px 14px;border:2px solid #000;border-radius:8px;background:#fff;font-weight:800;font-size:13px;font-family:inherit;box-shadow:none;cursor:pointer;color:#111;transition:background .12s ease}#blackboard-view .bb-btn:hover{transform:none;box-shadow:none;background:#f3f4f6}#blackboard-view .bb-btn:active{transform:none;box-shadow:none;background:#e5e7eb}#blackboard-view .bb-btn:disabled{opacity:.5;cursor:not-allowed;transform:none;box-shadow:none}#blackboard-view .bb-btn--primary{background:#1a3c23;color:#fff8dc}#blackboard-view .bb-btn--danger{background:#f97373;color:#fff}#blackboard-view #btn-bb-toggle-edit.active{background:#0f2818;box-shadow:inset 0 2px 4px #00000040}#blackboard-view .bb-btn--icon{width:40px;height:40px;padding:0;font-size:20px;line-height:1;display:inline-flex;align-items:center;justify-content:center}#blackboard-view .bb-widget-default-save,#blackboard-view .bb-template-item-actions .bb-btn{padding:4px 10px;font-size:11px}body.view-blackboard{overflow-y:auto;align-items:flex-start;padding:56px 16px 24px;background-color:#87a8c4;background-image:url(../assets/ui/blackboard/blackboard-classroom-bg.webp);background-size:cover;background-position:center center;background-repeat:no-repeat;background-attachment:fixed}.blackboard-shell{width:100%;max-width:1200px;margin:0 auto}.blackboard-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px}.blackboard-heading{margin:0;font-size:22px;color:#4a3728;text-shadow:0 1px 0 rgba(255,255,255,.6)}.blackboard-toolbar-actions{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.bb-mode-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:12px;margin-bottom:14px}.bb-format-bar{--bb-fmt-ctrl-h: 28px;width:min(100%,1100px);margin:10px auto 0;padding:6px 10px;background:#2d2d30f0;border:2px solid rgba(255,255,255,.12);border-radius:16px;box-shadow:none}.bb-format-bar .bb-fmt-capsule{min-height:calc(var(--bb-fmt-ctrl-h) + 8px);align-items:center}.bb-format-bar .bb-fmt-icon,.bb-format-bar .bb-color-swatch,.bb-format-bar .bb-highlight-swatch,.bb-format-bar .bb-fmt-color-custom{width:var(--bb-fmt-ctrl-h);height:var(--bb-fmt-ctrl-h);min-width:var(--bb-fmt-ctrl-h);min-height:var(--bb-fmt-ctrl-h);box-sizing:border-box;flex-shrink:0}.bb-highlight-swatches .bb-fmt-color-custom{border-radius:50%}.bb-format-bar .bb-fmt-select,.bb-format-bar .bb-fmt-input{height:var(--bb-fmt-ctrl-h);min-height:var(--bb-fmt-ctrl-h);max-height:var(--bb-fmt-ctrl-h);margin:0;padding-top:0;padding-bottom:0;line-height:calc(var(--bb-fmt-ctrl-h) - 2px);box-sizing:border-box;align-self:center;vertical-align:middle}.bb-format-bar .bb-fmt-select{appearance:none;-webkit-appearance:none;-moz-appearance:none;padding-right:22px;background-color:#ffffff1f;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath fill='rgba(255%2C255%2C255%2C0.78)' d='M1 1l4 4 4-4' stroke='none'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 7px center;background-size:10px 6px}.bb-format-bar .bb-fmt-capsule-divider{height:calc(var(--bb-fmt-ctrl-h) - 6px);align-self:center}.bb-format-bar--row .bb-fmt-capsules{flex-wrap:nowrap;justify-content:flex-start;overflow-x:auto;overflow-y:hidden;gap:6px;scrollbar-width:thin;scrollbar-color:rgba(255,255,255,.25) transparent}.bb-format-bar--row .bb-fmt-capsule{padding:4px 8px;gap:4px;flex-shrink:0}.bb-format-bar--row .bb-fmt-capsule-label{font-size:10px}.bb-format-bar--row .bb-fmt-select--font{min-width:88px;max-width:100px;font-size:11px;padding-left:6px}.bb-format-bar--row .bb-fmt-capsule--font .bb-fmt-input--size{font-size:11px;padding-left:6px;padding-right:6px}.bb-fmt-color-custom{width:26px;height:26px;padding:0;border:2px solid rgba(255,255,255,.28);border-radius:50%;background:transparent;cursor:pointer;flex-shrink:0;box-shadow:none}.bb-fmt-color-custom:hover{border-color:#ffffff73}.bb-fmt-color-custom.active{border-color:#86efac;box-shadow:0 0 0 1px #86efac8c}.bb-fmt-color-custom::-webkit-color-swatch-wrapper{padding:2px}.bb-fmt-color-custom::-webkit-color-swatch{border:none;border-radius:50%}.bb-format-bar.hidden{display:none!important}.bb-format-bar--disabled{opacity:.45;pointer-events:none}.bb-fmt-capsules{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:8px;width:100%}.bb-fmt-capsule{display:inline-flex;align-items:center;gap:8px;padding:6px 12px;background:#ffffff1a;border:1px solid rgba(255,255,255,.14);border-radius:999px;box-sizing:border-box}.bb-fmt-capsule-label{font-size:11px;font-weight:800;color:#ffffff94;letter-spacing:.02em;white-space:nowrap;flex-shrink:0}.bb-fmt-capsule--size .bb-fmt-select,.bb-fmt-capsule--font .bb-fmt-select{min-width:56px}.bb-fmt-select--font{min-width:108px;max-width:132px}.bb-fmt-select--line{min-width:52px;padding-left:8px;padding-right:8px}.bb-fmt-input{padding:5px 8px;border:1px solid rgba(255,255,255,.22);border-radius:999px;background:#ffffff1f;color:#fff;font-weight:700;font-size:12px;font-family:inherit;box-shadow:none;-moz-appearance:textfield}.bb-fmt-input::-webkit-outer-spin-button,.bb-fmt-input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}.bb-fmt-input--size{width:52px;min-width:52px;text-align:center}#blackboard-view .bb-format-bar .bb-fmt-input{border-radius:999px}.bb-fmt-icon .bb-fmt-svg.hidden{display:none}.bb-fmt-capsule-divider{width:1px;height:22px;background:#ffffff2e;flex-shrink:0}.bb-fmt-capsule-sublabel{font-size:10px;font-weight:700;color:#ffffff7a;white-space:nowrap;flex-shrink:0}.bb-fmt-capsule--colors{gap:6px}.bb-fmt-capsule--style{gap:4px}.bb-fmt-capsule--actions{gap:6px;background:#ffffff24}.bb-fmt-field{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:700;color:#ffffffd1}.bb-fmt-select{padding:5px 10px;border:1px solid rgba(255,255,255,.22);border-radius:999px;background:#ffffff1f;color:#fff;font-weight:700;font-size:12px;font-family:inherit;cursor:pointer;box-shadow:none}.bb-fmt-select option{color:#111;background:#fff}.bb-color-swatches{display:inline-flex;gap:4px;flex-wrap:wrap;align-items:center}.bb-color-swatch{width:20px;height:20px;padding:0;border:2px solid rgba(255,255,255,.3);border-radius:50%;background:var(--swatch, #fff8dc);cursor:pointer;box-shadow:none;transition:transform .12s,border-color .12s}.bb-color-swatch:hover{transform:scale(1.08)}.bb-color-swatch.active{border-color:#86efac;box-shadow:0 0 0 1px #86efac8c}.bb-highlight-swatches{display:inline-flex;gap:4px;align-items:center}.bb-highlight-swatch{width:22px;height:22px;padding:0;border:2px solid rgba(255,255,255,.3);border-radius:6px;background:#ffffff14;cursor:pointer;box-shadow:none;display:inline-flex;align-items:center;justify-content:center;color:#ffffffd9}.bb-highlight-swatch[data-highlight]:not([data-highlight=""]){background:var(--swatch, rgba(255, 255, 255, .2))}.bb-highlight-swatch:hover{transform:scale(1.06)}.bb-highlight-swatch.active{border-color:#86efac;box-shadow:0 0 0 1px #86efac8c}.bb-fmt-svg{width:14px;height:14px;display:block;flex-shrink:0}.bb-fmt-icon{width:30px;height:30px;padding:0;border:1px solid rgba(255,255,255,.22);border-radius:999px;background:#ffffff1a;color:#ffffffeb;font-weight:800;font-size:13px;cursor:pointer;font-family:inherit;display:inline-flex;align-items:center;justify-content:center;box-shadow:none;transition:background .12s ease,border-color .12s ease}.bb-fmt-icon:hover{background:#fff3;border-color:#ffffff59}.bb-fmt-icon.active{background:var(--bb-green, #1a3c23);border-color:#86efacbf;color:#fff8dc}.bb-fmt-align-group{display:inline-flex;gap:3px;align-items:center}#blackboard-view .bb-format-bar button,#blackboard-view .bb-format-bar button:hover,#blackboard-view .bb-format-bar button:active{box-shadow:none;transform:none}#blackboard-view .bb-format-bar .bb-btn{height:var(--bb-fmt-ctrl-h);min-height:var(--bb-fmt-ctrl-h);padding:0 12px;border:1px solid rgba(255,255,255,.22);border-radius:999px;background:#ffffff1a;color:#ffffffeb;font-weight:700;font-size:12px;line-height:1;display:inline-flex;align-items:center;justify-content:center;box-sizing:border-box;box-shadow:none;transform:none}#blackboard-view .bb-format-bar .bb-btn:hover{background:#fff3;border-color:#ffffff59;box-shadow:none;transform:none}#blackboard-view .bb-format-bar .bb-btn:active{background:#ffffff24;box-shadow:none;transform:none}#blackboard-view .bb-format-bar .bb-btn--danger{background:#ef4444e0;border-color:#fca5a566;color:#fff}#blackboard-view .bb-format-bar .bb-btn--danger:hover{background:#dc2626eb;border-color:#fecaca8c}#blackboard-view .bb-format-bar .bb-btn:disabled{opacity:.42;cursor:not-allowed}#blackboard-view .bb-format-bar .bb-fmt-icon,#blackboard-view .bb-format-bar .bb-fmt-select{border-radius:999px}.bb-workspace{width:100%}.bb-stage-inner{width:min(100%,1100px);margin:0 auto}.bb-stage-inner .bb-carousel-viewport{width:100%}.blackboard-surface.bb-snap-grid{background-image:linear-gradient(rgba(255,255,255,.06) 1px,transparent 1px),linear-gradient(90deg,rgba(255,255,255,.06) 1px,transparent 1px),url(https://www.transparenttextures.com/patterns/dust.png),radial-gradient(ellipse 120% 80% at 50% 12%,rgba(255,255,255,.07),transparent 52%),linear-gradient(180deg,rgba(0,0,0,.14) 0%,transparent 42%,rgba(0,0,0,.1) 100%);background-size:4% 4%,4% 4%,auto,auto,auto}@media(max-width:900px){.bb-mode-row{flex-direction:column}.bb-format-bar{width:100%}.bb-fmt-capsules{justify-content:flex-start}}.bb-mode-toggle{display:inline-flex;border:2px solid #000;border-radius:10px;overflow:hidden}.bb-mode-btn{padding:8px 14px;border:none;background:#e8e0d4;font-weight:800;font-size:13px;cursor:pointer;font-family:inherit}.bb-mode-btn:hover{background:#fff}.bb-mode-btn.active{background:var(--bb-green, #1a3c23);color:var(--chalk, #fff8dc)}.blackboard-stage{position:relative;display:flex;flex-direction:column;align-items:center;margin-bottom:20px}.bb-align-group{display:flex;gap:4px;margin-left:auto}.bb-align-btn{width:36px;height:32px;padding:0;border:2px solid #000;border-radius:6px;background:#fff;font-size:14px;font-weight:800;cursor:pointer}.bb-align-btn.active{background:#1a3c23;color:#fff8dc}.bb-align-btn:hover:not(.active){background:#e8f5e9}.bb-carousel-viewport{width:min(100%,1100px);overflow:hidden;touch-action:pan-y;position:relative;background:transparent}.bb-fullscreen-btn{position:absolute;top:10px;right:10px;z-index:30;opacity:.88}#blackboard-view .bb-fullscreen-btn,#blackboard-view .bb-page-delete-btn{display:inline-flex;align-items:center;justify-content:center;padding:0;border:1.5px solid rgba(255,248,220,.55);border-radius:8px;background:transparent;color:#fff8dce6;font-weight:600;line-height:1;box-shadow:none;cursor:pointer;transition:border-color .15s ease,color .15s ease,opacity .15s ease}#blackboard-view .bb-fullscreen-btn.bb-btn--icon{width:32px;height:32px;font-size:17px}#blackboard-view .bb-fullscreen-btn:hover,#blackboard-view .bb-fullscreen-btn:active,#blackboard-view .bb-page-delete-btn:hover,#blackboard-view .bb-page-delete-btn:active{background:transparent;box-shadow:none;transform:none;border-color:#fff8dcf2;color:#fff8dc}.bb-fullscreen-btn:hover{opacity:1}.bb-fullscreen-btn.is-fullscreen{filter:brightness(1.08)}.bb-fs-scale-wrap{position:relative;width:100%}.bb-carousel-viewport:fullscreen,.bb-carousel-viewport:-webkit-full-screen{width:100vw;height:100vh;max-width:none;display:flex;align-items:center;justify-content:center;background:#1a1410;overflow:hidden}.bb-carousel-viewport:fullscreen .bb-fs-scale-wrap,.bb-carousel-viewport:-webkit-full-screen .bb-fs-scale-wrap{flex-shrink:0;transform:scale(var(--bb-fs-scale, 1));transform-origin:center center}.bb-carousel-viewport:fullscreen .bb-page-dots,.bb-carousel-viewport:-webkit-full-screen .bb-page-dots{bottom:2.5%}.bb-carousel-viewport:fullscreen .bb-fullscreen-btn,.bb-carousel-viewport:-webkit-full-screen .bb-fullscreen-btn{top:10px;right:10px}.blackboard-track{display:flex;transition:transform .38s cubic-bezier(.25,.8,.25,1);will-change:transform}.blackboard-track .blackboard-frame{flex:0 0 100%;width:100%;min-width:100%}.bb-page-dots{position:absolute;left:0;right:0;bottom:2.5%;z-index:25;display:flex;justify-content:center;align-items:center;gap:10px;padding:0;margin:0;pointer-events:none}.bb-page-dots .bb-dot,.bb-page-dots .bb-page-delete-btn{pointer-events:auto}.bb-dot{width:9px;height:9px;border-radius:50%;border:1px solid rgba(92,64,51,.45);background:#5c403338;padding:0;cursor:pointer;opacity:.78;box-shadow:0 1px 3px #0000001f;transition:transform .2s,background .2s,border-color .2s,opacity .2s}.bb-dot:hover{transform:scale(1.18);opacity:.95;background:#5c403357;border-color:#5c40339e}.bb-dot.active{background:#5c403394;border-color:#4a3728d9;transform:scale(1.22);opacity:1;box-shadow:0 0 8px #5c403333}.bb-page-delete-btn{margin-left:10px;width:28px;height:28px;border-radius:50%;font-size:17px;font-weight:600;line-height:1;padding:0;border-color:#fca5a5b8;color:#fecacaf2}#blackboard-view .bb-page-delete-btn:hover,#blackboard-view .bb-page-delete-btn:active{border-color:#f87171f2;color:#fca5a5}.bb-swipe-hint{margin:4px 0 0;text-align:center;font-size:12px;font-weight:600;color:#4a3728b8;width:min(100%,1100px)}.blackboard-frame{--bb-green: #1a3c23;--chalk: #fff8dc;--chalk-line: rgba(255, 248, 220, .35);aspect-ratio:16 / 9;padding:0;border-radius:6px;background:transparent;box-shadow:none;position:relative}.blackboard-frame:before{display:none}.blackboard-surface{position:relative;z-index:1;width:100%;height:100%;border-radius:2px;overflow:hidden;background-color:var(--bb-green);background-image:url(https://www.transparenttextures.com/patterns/dust.png),radial-gradient(ellipse 120% 80% at 50% 12%,rgba(255,255,255,.07),transparent 52%),linear-gradient(180deg,rgba(0,0,0,.14) 0%,transparent 42%,rgba(0,0,0,.1) 100%);box-shadow:inset 0 0 36px #00000047}.bb-edit-mode-hint{display:none;text-align:center;font-size:13px;font-weight:700;color:#4a3728d1;padding:8px 12px;margin-bottom:8px;border:2px dashed rgba(74,55,40,.28);border-radius:10px;width:min(100%,1100px);background:#ffffff8c}.bb-block{position:absolute;box-sizing:border-box;color:var(--chalk);font-family:Caveat,Segoe Script,Comic Sans MS,cursive;font-weight:600;line-height:1.25;pointer-events:none;display:flex;flex-direction:column;align-items:stretch;overflow:hidden}.bb-block-text{flex:1;min-height:0;padding:4px 10px 8px;white-space:pre-wrap;word-break:break-word;overflow:auto;outline:none;scrollbar-width:thin;scrollbar-color:rgba(255,248,220,.35) transparent;text-shadow:none}.bb-block-text::-webkit-scrollbar,.bb-block-body::-webkit-scrollbar,.bb-w-lb-list::-webkit-scrollbar,.bb-w-quiet-students::-webkit-scrollbar,.bb-w-table::-webkit-scrollbar,[contenteditable=true]::-webkit-scrollbar{width:5px;height:5px}.bb-block-text::-webkit-scrollbar-track,.bb-block-body::-webkit-scrollbar-track,.bb-w-lb-list::-webkit-scrollbar-track,.bb-w-quiet-students::-webkit-scrollbar-track,.bb-w-table::-webkit-scrollbar-track,[contenteditable=true]::-webkit-scrollbar-track{background:transparent}.bb-block-text::-webkit-scrollbar-thumb,.bb-block-body::-webkit-scrollbar-thumb,.bb-w-lb-list::-webkit-scrollbar-thumb,.bb-w-quiet-students::-webkit-scrollbar-thumb,.bb-w-table::-webkit-scrollbar-thumb,[contenteditable=true]::-webkit-scrollbar-thumb{background:#fff8dc47;border-radius:4px}.bb-block-text::-webkit-scrollbar-thumb:hover,.bb-block-body::-webkit-scrollbar-thumb:hover,.bb-w-lb-list::-webkit-scrollbar-thumb:hover,.bb-w-quiet-students::-webkit-scrollbar-thumb:hover,.bb-w-table::-webkit-scrollbar-thumb:hover,[contenteditable=true]::-webkit-scrollbar-thumb:hover{background:#fff8dc73}.bb-block[data-align=left] .bb-block-text{text-align:left}.bb-block[data-align=center] .bb-block-text{text-align:center}.bb-block[data-align=right] .bb-block-text{text-align:right}.bb-block-move-handle{flex-shrink:0;height:22px;line-height:22px;text-align:center;font-size:14px;color:#fff8dc8c;cursor:grab;-webkit-user-select:none;user-select:none;touch-action:none;pointer-events:auto;letter-spacing:2px;border-bottom:1px dashed rgba(255,248,220,.2)}.bb-block-move-handle:active{cursor:grabbing}.bb-resize-handle{position:absolute;right:2px;bottom:2px;width:18px;height:18px;cursor:nwse-resize;touch-action:none;pointer-events:auto;background:linear-gradient(135deg,transparent 50%,rgba(255,248,220,.75) 50%),linear-gradient(135deg,transparent 62%,rgba(255,248,220,.45) 62%);border-radius:0 0 4px}.bb-block-editable{pointer-events:auto;outline:1px dashed rgba(255,248,220,.35);outline-offset:2px}.bb-block-editable.bb-block-dragging,.bb-block-editable.bb-block-resizing{outline-color:#fff8dcb3;z-index:5}.bb-block-editable.bb-block-selected{outline:2px solid rgba(134,239,172,.95);box-shadow:none}.bb-block-editable .bb-block-text,.bb-block-editable .bb-block-body{pointer-events:auto}.bb-block-editable.bb-block-dragging .bb-block-text,.bb-block-editable.bb-block-dragging .bb-block-body{pointer-events:none}.bb-block-editable .bb-block-text:focus{outline:1px dashed rgba(255,248,220,.6);outline-offset:1px}body.view-blackboard .bb-edit-mode-hint.visible{display:block}.blackboard-edit-panel{background:#fffffff5;border:4px solid #000;border-radius:16px;padding:16px 18px;box-shadow:none}.blackboard-edit-panel.hidden{display:none!important}.bb-drag-hint{margin:0 0 12px;font-size:13px;color:#555;font-weight:600}.bb-widgets-panel{margin-bottom:20px;padding-bottom:16px;border-bottom:2px dashed #ccc}.bb-widgets-panel h3{margin:0 0 6px;font-size:16px}.bb-widgets-hint{margin:0 0 12px;font-size:12px;color:#666;font-weight:600}.bb-widget-groups{display:grid;grid-template-columns:1fr 1fr;gap:12px 16px}.bb-widget-group{min-width:0}.bb-widget-group-title{margin:0 0 8px;font-size:13px;font-weight:800;color:#444;letter-spacing:.01em}.bb-widget-grid{display:flex;flex-wrap:wrap;gap:8px}@media(max-width:640px){.bb-widget-groups{grid-template-columns:1fr}}.bb-block-editable{overflow:visible}.bb-block-size-hint{position:absolute;left:0;right:0;bottom:3px;text-align:center;font-size:10px;font-weight:700;font-family:var(--font-zh);color:#fff8dcb8;text-shadow:none;white-space:nowrap;pointer-events:none;z-index:6}.bb-block-widget{color:var(--bb-block-color, #fff8dc)}.bb-block-widget .bb-block-body{flex:1;min-height:0;overflow:auto;padding:2px 6px 6px;pointer-events:auto;scrollbar-width:thin;scrollbar-color:rgba(255,248,220,.35) transparent}.bb-w{width:100%;height:100%;color:inherit;font-family:inherit;font-weight:inherit;font-style:inherit;text-decoration:inherit;text-shadow:none}.blackboard-surface button,.blackboard-surface .bb-w-btn,.blackboard-surface .bb-w-select,.blackboard-surface .bb-w-duty-trigger,.blackboard-surface .bb-w-clock-format-btn,.blackboard-surface button:hover,.blackboard-surface button:active{box-shadow:none!important;transform:none!important}.bb-w-title{font-weight:700;font-size:1.15em;margin-bottom:6px;text-align:center;border-bottom:1px dashed rgba(255,248,220,.35);padding-bottom:4px}.bb-w-table{width:100%;border-collapse:collapse;font-size:.92em;line-height:1.2}.bb-w-table th,.bb-w-table td{border:1px solid rgba(255,248,220,.35);padding:3px 6px;vertical-align:top}.bb-w-table th{font-weight:700;background:#0000001f}.bb-w-table-tools{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.bb-w-table-tools .bb-w-table-tool{font-size:12px;padding:3px 8px;line-height:1.2}.bb-w-subject,.bb-w-day{white-space:nowrap;width:28%;font-weight:600}.bb-w-cell,.bb-w-duty-names{min-width:40px;word-break:break-word}.bb-w-duty-hint{margin:0 0 6px;font-size:.78em;opacity:.85}.bb-w-duty-ids{width:100%;margin-top:6px;padding:6px 8px;border:1px solid rgba(255,248,220,.35);border-radius:6px;background:#00000026;color:inherit;font-family:inherit;font-size:.95em;box-sizing:border-box}.bb-w-duty-ids:focus{outline:2px solid rgba(255,248,220,.5);outline-offset:1px}.bb-w-duty-dropdown{position:relative;width:100%}.bb-w-duty-trigger{width:100%;text-align:left;padding:6px 28px 6px 10px;border:1px solid rgba(255,248,220,.45);border-radius:8px;background:#0000002e;color:var(--chalk, #fff8dc);font-family:inherit;font-size:.95em;font-weight:600;cursor:pointer;position:relative}.bb-w-duty-trigger:after{content:"▾";position:absolute;right:10px;top:50%;transform:translateY(-50%);opacity:.8}.bb-w-duty-trigger:disabled{opacity:.6;cursor:not-allowed}.bb-w-duty-menu{display:none;position:absolute;left:0;right:0;top:calc(100% + 4px);max-height:160px;overflow:auto;z-index:40;padding:6px;border:1px solid rgba(255,248,220,.4);border-radius:8px;background:#1a3c23f5;box-shadow:none;scrollbar-width:thin;scrollbar-color:rgba(255,248,220,.35) transparent}.bb-w-duty-menu.open{display:block}.bb-w-duty-option{display:flex;align-items:center;gap:6px;padding:4px 2px;font-size:.95em;cursor:pointer}.bb-w-duty-empty{margin:0;font-size:.9em;opacity:.85}.bb-w-lb-limit-label.hidden,.bb-w-lb-limit.hidden{display:none!important}.bb-templates-shared-hint{margin:-4px 0 10px;font-size:12px;font-weight:600;color:#5c4033b8}.bb-w-quote-text{font-size:1.25em;line-height:1.35;text-align:center;padding:8px 4px;font-style:italic}.bb-w-quote-author{text-align:right;font-size:.9em;opacity:.9;margin-top:6px}.bb-w-timer-display{font-size:2.2em;font-weight:700;text-align:center;letter-spacing:.06em;line-height:1.1;-webkit-user-select:none;user-select:none;outline:none}.bb-w-timer--edit .bb-w-timer-display{cursor:pointer}.bb-w-timer:not(.bb-w-timer--edit) .bb-w-timer-display{cursor:default}.bb-w-timer-display--editing{cursor:text;-webkit-user-select:text;user-select:text;outline:1px dashed rgba(255,248,220,.55);outline-offset:2px}.bb-w-timer-controls{display:flex;flex-wrap:wrap;gap:4px;justify-content:center;margin-top:6px}.bb-w-btn,.bb-w-select{font-family:inherit;font-size:11px;font-weight:700;padding:3px 8px;border:1px solid rgba(255,248,220,.5);border-radius:6px;background:#0003;color:var(--chalk, #fff8dc);cursor:pointer}.bb-w-timer-status{text-align:center;font-size:.85em;margin-top:4px;opacity:.85}.bb-w-clock-time{font-size:1.8em;font-weight:700;text-align:center;letter-spacing:.04em;line-height:1.1}.bb-w-clock-analog{width:min(100%,148px);height:auto;display:block;margin:0 auto}.bb-w-clock-face{fill:#0000001f;stroke:#fff8dc80;stroke-width:1.5}.bb-w-clock-tick{stroke:#fff8dc73;stroke-width:1.2}.bb-w-clock-hand{stroke:var(--chalk, #fff8dc);stroke-width:2.2;stroke-linecap:round}.bb-w-clock-hand-minute{stroke-width:1.8}.bb-w-clock-hand-second{stroke:#fca5a5;stroke-width:1}.bb-w-clock-cap{fill:var(--chalk, #fff8dc)}.bb-w-duty-names{font-size:1.05em;line-height:1.45;padding:2px 0;word-break:break-word}.bb-w-duty--view .bb-w-title{margin-bottom:4px}.bb-w-clock-date{font-size:.75em;text-align:center;margin-top:4px;opacity:.9}.bb-w-clock-format{display:flex;gap:6px;justify-content:center;margin-top:8px;flex-wrap:wrap}.bb-w-clock-format-btn{font-size:11px!important;padding:3px 8px!important;opacity:.75}.bb-w-clock-format-btn.active{opacity:1;font-weight:800}@keyframes bbTimerAlarmFlash{0%,to{background:#ef444459}50%{background:#dc2626b3}}.bb-w-timer.bb-w-timer-alarm{animation:bbTimerAlarmFlash .45s ease-in-out infinite;border-radius:8px;padding:4px}.bb-w-timer-alarm .bb-w-timer-display{color:#fecaca;text-shadow:none}.bb-w-timer-done{text-align:center;font-size:1.1em;font-weight:800;color:#fecaca;margin-top:2px}.bb-block-timer-alarm{z-index:12}.bb-w-countdown-event{text-align:center;font-size:1.05em;margin-bottom:4px}.bb-w-countdown-days{font-size:2.4em;font-weight:800;text-align:center;line-height:1}.bb-w-countdown-label{text-align:center;font-size:.95em;margin-top:4px;opacity:.92}.bb-w-date{display:block;margin:6px auto 0;font-family:inherit;font-size:11px;padding:2px 6px;border-radius:6px;border:1px solid rgba(255,248,220,.45);background:#00000040;color:var(--chalk, #fff8dc)}.bb-w-weather-icon{font-size:2.2em;text-align:center;line-height:1.1}.bb-w-weather-cond{text-align:center;font-weight:700;margin-top:2px}.bb-w-weather-note{text-align:center;font-size:.88em;margin-top:4px;opacity:.9}.bb-w-weather-pick{display:flex;flex-wrap:wrap;gap:4px;justify-content:center;margin-top:6px}.bb-w-lb-source{display:flex;align-items:center;gap:6px;font-size:.85em;margin-bottom:6px;justify-content:center}.bb-w-lb-list{display:flex;flex-direction:column;gap:5px}.bb-w-lb-row{display:grid;grid-template-columns:28% 1fr auto;gap:6px;align-items:center;font-size:.92em}.bb-w-lb-bar-wrap{height:10px;background:#0003;border-radius:5px;overflow:hidden}.bb-w-lb-bar{height:100%;background:var(--bb-lb-color, rgba(255,248,220,.75));border-radius:5px;min-width:4px}.bb-w-lb-pts{font-weight:800;min-width:2em;text-align:right}.bb-w-leaderboard-empty{text-align:center;opacity:.85;font-size:.9em}.bb-w-lb-edit{margin-top:8px;font-size:.85em}.bb-w-obj-list{list-style:none;margin:0;padding:0}.bb-w-obj-item{display:flex;align-items:flex-start;gap:6px;margin-bottom:5px;line-height:1.25}.bb-w-obj-done .bb-w-obj-text{text-decoration:line-through;opacity:.65}.bb-w-obj-check{flex-shrink:0;font-family:inherit;font-size:1em;padding:0 2px;border:none;background:transparent;color:inherit;cursor:pointer;line-height:1}.bb-w-obj-text{flex:1;word-break:break-word}.bb-w-quiet-reading{display:flex;align-items:baseline;justify-content:center;gap:4px;margin:4px 0 6px}.bb-w-quiet-db{font-size:2em;font-weight:800;line-height:1}.bb-w-quiet-db-unit{font-size:.9em;opacity:.75}.bb-w-quiet-target{font-size:.75em;opacity:.8;margin-left:8px}.bb-w-quiet-meter{position:relative;height:10px;background:#0003;border:1px solid rgba(255,248,220,.25);border-radius:5px;overflow:visible;margin:0 4px 8px}.bb-w-quiet-meter-fill{height:100%;background:linear-gradient(90deg,#f87171,#facc15);border-radius:4px;transition:width .25s ease,background .25s ease}.bb-w-quiet-meter-fill.bb-w-quiet-meter-ok{background:linear-gradient(90deg,#4ade80,#86efac)}.bb-w-quiet-meter-target{position:absolute;top:-3px;bottom:-3px;width:2px;background:#fff8dcd9;transform:translate(-50%);pointer-events:none}.bb-w-quiet-progress-wrap{margin:0 4px 6px}.bb-w-quiet-progress-label{font-size:.78em;opacity:.85;margin-bottom:3px}.bb-w-quiet-progress-bar{height:6px;background:#0000002e;border-radius:3px;overflow:hidden}.bb-w-quiet-progress-fill{height:100%;background:#4ade80d9;border-radius:3px;transition:width .3s ease}.bb-w-quiet-status{text-align:center;font-size:.95em;font-weight:700;margin-bottom:4px}.bb-w-quiet.bb-w-quiet-success .bb-w-quiet-status{color:#86efac}.bb-w-quiet-config{display:flex;flex-direction:column;gap:6px;margin-top:8px;padding-top:8px;border-top:1px dashed rgba(255,248,220,.25);font-size:.78em}.bb-w-quiet-field{display:flex;align-items:center;justify-content:space-between;gap:8px}.bb-w-quiet-field span{flex-shrink:0}.bb-w-quiet-input{width:72px;padding:2px 6px;border:1px solid rgba(255,248,220,.35);border-radius:4px;background:#00000026;color:inherit;font-family:inherit;font-size:1em}.bb-w-quiet-students-wrap.hidden{display:none}.bb-w-quiet-students-label{font-weight:700;margin-bottom:4px}.bb-w-quiet-students{display:flex;flex-wrap:wrap;gap:4px 10px;max-height:72px;overflow:auto;scrollbar-width:thin;scrollbar-color:rgba(255,248,220,.35) transparent}.bb-w-quiet-student{display:flex;align-items:center;gap:4px;font-size:.95em;cursor:pointer}.bb-w-lb-list{max-height:100%;overflow:auto;scrollbar-width:thin;scrollbar-color:rgba(255,248,220,.35) transparent}.bb-w-tt-active{background:#fff8dc1f}.bb-w-tt-active td{font-weight:700}.bb-w-tt-period{white-space:nowrap;width:22%}.bb-w-tt-time{white-space:nowrap;width:30%}.bb-edit-grid{display:grid;grid-template-columns:1fr 320px;gap:20px}.bb-panel-header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}.bb-panel-header h3,.bb-templates-panel h3{margin:0;font-size:16px}.bb-block-list{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}.bb-block-chip{padding:6px 12px;border:2px solid #000;border-radius:999px;background:#f0fdf4;font-size:12px;font-weight:700;cursor:pointer;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.bb-block-chip.active{background:#1a3c23;color:#fff8dc}.bb-block-editor{border:2px solid #ccc;border-radius:12px;padding:12px;background:#fafafa;min-height:120px}.bb-block-editor.empty{color:#888;font-size:13px;display:flex;align-items:center;justify-content:center}.bb-field-row{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:10px;align-items:center}.bb-field-row label{font-size:12px;font-weight:800;display:flex;flex-direction:column;gap:4px}.bb-field-row input,.bb-field-row select,.bb-field-row textarea{padding:6px 8px;border:2px solid #000;border-radius:6px;font-weight:600;font-family:inherit}.bb-field-row textarea{width:100%;min-height:72px;resize:vertical}.bb-field-row input[type=number]{width:64px}.bb-preset-row{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}.bb-preset-btn{padding:4px 10px;border:2px solid #000;border-radius:6px;background:#fff;font-size:11px;font-weight:800;cursor:pointer}.bb-preset-btn:hover{background:#e8f5e9}.bb-delete-btn{margin-top:8px;padding:6px 12px;border:2px solid #b91c1c;border-radius:8px;background:#fef2f2;color:#b91c1c;font-weight:800;cursor:pointer}.bb-template-save-row{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:12px}.bb-template-name-input{flex:1;min-width:140px;padding:8px 10px;border:2px solid #000;border-radius:8px;font-weight:600}.bb-template-list{display:flex;flex-direction:column;gap:8px}.bb-template-item{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;padding:10px 12px;border:2px solid #000;border-radius:10px;background:#fff}.bb-template-item--builtin{background:#f0fdf4}.bb-template-item-name{font-weight:800;font-size:14px}.bb-template-item-meta{font-size:11px;color:#666}.bb-template-item-actions{display:flex;gap:6px}.bb-template-item-actions button{padding:4px 10px;border:2px solid #000;border-radius:6px;font-size:11px;font-weight:800;cursor:pointer;background:#fff}.bb-no-templates{font-size:13px;color:#888;font-style:italic}.hub-module-card.hub-module-locked{position:relative;opacity:.78;filter:none}.hub-module-card.hub-module-locked:hover{filter:none}.hub-module-card.hub-module-locked:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;border-radius:inherit;background:linear-gradient(180deg,transparent 35%,rgba(15,23,42,.14));pointer-events:none}.hub-plan-lock-badge,.hub-plan-trial-badge,.hub-plan-free-badge{position:absolute;top:6px;right:6px;z-index:5;padding:2px 8px;border-radius:999px;border:1.5px solid rgba(0,0,0,.35);font-size:10px;font-weight:800;letter-spacing:.02em;line-height:1.25;pointer-events:none;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.hub-plan-lock-badge{background:#111827e0;color:#fde68a}.hub-plan-trial-badge{background:#fef3c7f2;color:#92400e;border-color:#92400e59}.hub-plan-free-badge{background:#dcfce7f2;color:#166534;border-color:#16653459}.hub-account-plan{font-weight:700;color:#4c1d95}.spp-teacher-modal{max-width:min(560px,94vw);max-height:min(86vh,760px);overflow:auto;text-align:left}.spp-teacher-lead{font-size:13px;line-height:1.5;color:#4b5563;margin:0 0 12px}.spp-teacher-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:10px 0}.spp-teacher-row label{font-weight:800;min-width:72px}.spp-teacher-url{flex:1 1 180px;min-width:0;padding:8px 10px;border:2px solid #000;border-radius:8px;font-size:13px}.spp-teacher-qr-block{display:flex;flex-direction:column;align-items:center;gap:6px;margin:12px 0;padding:12px;border:2px solid #e5e7eb;border-radius:12px;background:#fff}.spp-teacher-qr-block canvas{width:200px;height:200px;image-rendering:pixelated}.spp-teacher-actions{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0}.spp-teacher-students{list-style:none;margin:0;padding:0;max-height:220px;overflow:auto;border:2px solid #e5e7eb;border-radius:10px}.spp-teacher-students li{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:8px 10px;border-bottom:1px solid #f1f5f9;font-size:13px;font-weight:700;flex-wrap:wrap}.spp-teacher-students li:last-child{border-bottom:none}.spp-teacher-student-label{flex:1 1 auto;min-width:0}.spp-teacher-pin-actions{display:inline-flex;align-items:center;gap:6px;flex-wrap:wrap;justify-content:flex-end}.spp-teacher-pin-status{font-size:12px;color:#475569;white-space:nowrap}.spp-pin-btn{padding:4px 8px!important;font-size:12px!important;min-height:0}.spp-teacher-pin-sheet{margin:10px 0;padding:10px;border:2px dashed #86efac;border-radius:10px;background:#f0fdf4;font-size:13px;line-height:1.45;white-space:pre-wrap;max-height:180px;overflow:auto}.spp-teacher-pin-sheet.hidden{display:none}.plan-dev-bar{position:fixed;left:50%;bottom:max(12px,env(safe-area-inset-bottom));transform:translate(-50%);z-index:13000;display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px;max-width:min(96vw,980px);padding:8px 10px;border-radius:14px;background:#111827f0;color:#f9fafb;box-shadow:0 12px 40px #00000059;font-size:12px;font-weight:700}.plan-dev-bar.hidden,.plan-dev-bar[hidden]{display:none!important}.plan-dev-bar-title{padding:4px 8px;border-radius:999px;background:#f59e0b;color:#111827;font-weight:800}.plan-dev-status{color:#d1d5db;margin-right:4px}.plan-dev-invite{display:inline-flex;align-items:center;gap:6px;padding:4px 8px;border-radius:999px;background:#ffffff14;border:1px solid rgba(255,255,255,.18);color:#e5e7eb;font:inherit;font-weight:800}.plan-dev-invite input{width:56px;padding:4px 6px;border-radius:8px;border:1px solid rgba(255,255,255,.25);background:#00000059;color:#fff;font:inherit;font-weight:800;font-variant-numeric:tabular-nums;text-align:center}.plan-dev-btn{border:1px solid rgba(255,255,255,.18);background:#ffffff14;color:#fff;border-radius:999px;padding:6px 10px;font:inherit;font-weight:800;cursor:pointer}.plan-dev-btn.is-active{background:#8b5cf6;border-color:#a78bfa}.plan-dev-btn-close{background:#ef444433;border-color:#f8717180}.plan-upgrade-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:12000;display:flex;align-items:center;justify-content:center;padding:16px}.plan-upgrade-modal.hidden,.plan-upgrade-modal[hidden]{display:none!important}.plan-upgrade-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;border:none;margin:0;padding:0;background:radial-gradient(ellipse 80% 60% at 50% 40%,rgba(255,182,193,.35),transparent 70%),#fff0f5b8;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);cursor:pointer}.plan-upgrade-card{position:relative;z-index:1;width:min(94vw,440px);max-height:min(92vh,760px);overflow:auto;padding:22px 18px 16px;border-radius:28px;border:3px solid #fff;background:linear-gradient(180deg,#fffdfb,#fff7fb);box-shadow:0 0 0 2px #ffb6c173,0 18px 40px #f472b638,0 8px #fdba7459;text-align:left}.plan-upgrade-close{position:absolute;top:12px;right:12px;display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;padding:0;border:2px solid #f9a8d4;border-radius:999px;background:#fff;color:#db2777;font-size:22px;font-weight:700;line-height:1;cursor:pointer;box-shadow:2px 2px #fb718540}.plan-upgrade-eyebrow{margin:0 0 6px;font-size:13px;font-weight:800;color:#db2777;letter-spacing:.02em}.plan-upgrade-eyebrow:before,.plan-upgrade-eyebrow:after{content:"✦";margin:0 .35em;color:#f9a8d4;font-size:.85em}.plan-upgrade-card h2{margin:0 0 6px;padding-right:36px;font-size:22px;font-weight:900;color:#374151;letter-spacing:-.01em}.plan-upgrade-body{margin:0 0 14px;font-size:13px;line-height:1.5;color:#9ca3af;font-weight:700}.plan-upgrade-list{margin:0 0 14px;padding:0 0 0 18px;color:#374151;font-size:13px;font-weight:700;line-height:1.55}.plan-upgrade-bundles{display:flex;flex-direction:column;gap:10px;margin:0 0 14px}.plan-interval-row{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-bottom:2px}.plan-interval-btn{border:2px solid #fce7f3;border-radius:999px;padding:9px 12px;background:#fff;color:#9ca3af;font:inherit;font-size:13px;font-weight:800;cursor:pointer;box-shadow:0 2px #fbcfe899}.plan-interval-btn.is-selected{border-color:#f472b6;background:linear-gradient(180deg,#fff,#fdf2f8);color:#db2777;box-shadow:0 3px #f472b659}.plan-bundle-card{text-align:left;border:2.5px solid #fce7f3;border-radius:20px;padding:1px 12px 1px 1px;background:#fff;font:inherit;cursor:pointer;color:#374151;transition:transform .12s ease,box-shadow .12s ease;box-shadow:0 3px #fbcfe88c;overflow:hidden}.plan-bundle-card:hover{transform:translateY(-1px)}.plan-bundle-body{display:flex;align-items:stretch;gap:10px;min-height:118px}.plan-bundle-art{flex:0 0 116px;width:116px;height:116px;align-self:center;margin:0;object-fit:contain;object-position:center;pointer-events:none;-webkit-user-select:none;user-select:none;filter:drop-shadow(0 3px 0 rgba(251,113,133,.15))}.plan-bundle-copy{flex:1 1 auto;min-width:0;padding:8px 0}.plan-bundle-card p{margin:4px 0 0;font-size:11px;line-height:1.4;color:#9ca3af;font-weight:700}.plan-bundle-top{display:flex;align-items:center;gap:8px;font-size:15px}.plan-bundle-top strong{flex:1;min-width:0;font-weight:900;font-size:1.7em;line-height:1.15;padding-top:0;background:linear-gradient(105deg,#ff7ab8,#ff9f6b 22%,#fff7ae 38%,#ff7ab8 50%,#c084fc 72%,#7dd3fc);background-size:220% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent;animation:plan-bundle-name-shimmer 2.4s ease-in-out infinite}@keyframes plan-bundle-name-shimmer{0%,to{background-position:0% 50%;filter:brightness(1)}40%{background-position:85% 50%;filter:brightness(1.18)}55%{background-position:100% 50%;filter:brightness(1.28)}70%{background-position:40% 50%;filter:brightness(1.1)}}@media(prefers-reduced-motion:reduce){.plan-bundle-top strong{animation:none;background-position:40% 50%;filter:none}}.plan-bundle-price-block{display:flex;flex-direction:column;align-items:flex-end;gap:2px;flex:0 0 auto;max-width:46%}.plan-bundle-price{font-size:12px;font-weight:900;color:#a855f7;white-space:nowrap;text-align:right;line-height:1.25}.plan-price-was{text-decoration:line-through;opacity:.55;font-weight:700;margin-right:4px;font-size:11px;color:inherit}.plan-price-now{font-weight:900;color:#db2777}.plan-bundle-price-avg{font-size:10px;font-weight:700;color:#9ca3af;white-space:nowrap;line-height:1.2}.plan-bundle-price-avg.hidden{display:none!important}.plan-bundle-check{flex:0 0 26px;width:26px;height:26px;display:inline-flex;align-items:center;justify-content:center;border-radius:999px;font-size:13px;font-weight:900;color:transparent;background:transparent;border:2px dashed #e5e7eb;box-sizing:border-box}.plan-bundle-card.is-selected .plan-bundle-check,.plan-bundle-card.is-owned .plan-bundle-check{color:#fff;border-style:solid;border-color:transparent}.plan-bundle-card.is-owned{opacity:.78;cursor:default;filter:grayscale(.15)}.plan-bundle-card.is-owned .plan-bundle-check{flex:0 0 auto;width:auto;min-width:26px;padding:0 7px;font-size:10px;letter-spacing:0}.plan-bundle-card[data-bundle=all]{border-color:#fcd34d;background:linear-gradient(135deg,#fffbeb,#fef3c7);box-shadow:0 3px #fbbf2473}.plan-bundle-card[data-bundle=all].is-selected,.plan-bundle-card[data-bundle=all].is-owned{border-color:#f59e0b;box-shadow:0 3px #f59e0b80,inset 0 0 0 1px #f59e0b40}.plan-bundle-card[data-bundle=all].is-selected .plan-bundle-check,.plan-bundle-card[data-bundle=all].is-owned .plan-bundle-check{background:#f59e0b}.plan-bundle-card[data-bundle=playground]{border-color:#ddd6fe;background:linear-gradient(135deg,#faf5ff,#ede9fe);box-shadow:0 3px #a78bfa59}.plan-bundle-card[data-bundle=playground].is-selected,.plan-bundle-card[data-bundle=playground].is-owned{border-color:#a78bfa}.plan-bundle-card[data-bundle=playground] .plan-bundle-price{color:#7c3aed}.plan-bundle-card[data-bundle=playground].is-selected .plan-bundle-check,.plan-bundle-card[data-bundle=playground].is-owned .plan-bundle-check{background:#8b5cf6;color:#fff}.plan-bundle-card[data-bundle=pets]{border-color:#fbcfe8;background:linear-gradient(135deg,#fff1f2,#fce7f3);box-shadow:0 3px #f472b659}.plan-bundle-card[data-bundle=pets].is-selected,.plan-bundle-card[data-bundle=pets].is-owned{border-color:#f472b6}.plan-bundle-card[data-bundle=pets] .plan-bundle-price{color:#db2777}.plan-bundle-card[data-bundle=pets].is-selected .plan-bundle-check,.plan-bundle-card[data-bundle=pets].is-owned .plan-bundle-check{background:#ec4899;color:#fff}.plan-bundle-card[data-bundle=classroom]{border-color:#a7f3d0;background:linear-gradient(135deg,#ecfdf5,#d1fae5);box-shadow:0 3px #34d39959}.plan-bundle-card[data-bundle=classroom].is-selected,.plan-bundle-card[data-bundle=classroom].is-owned{border-color:#34d399}.plan-bundle-card[data-bundle=classroom] .plan-bundle-price{color:#059669}.plan-bundle-card[data-bundle=classroom].is-selected .plan-bundle-check,.plan-bundle-card[data-bundle=classroom].is-owned .plan-bundle-check{background:#10b981;color:#fff}.plan-bundle-card.is-selected{transform:translateY(-1px)}.plan-upgrade-login-hint{margin:0 0 10px;font-size:12px;color:#9ca3af;font-weight:600}.plan-upgrade-link{border:none;background:none;color:#db2777;font:inherit;font-weight:800;cursor:pointer;text-decoration:underline;padding:0;box-shadow:none;border-radius:0}.plan-upgrade-link:hover,.plan-upgrade-link:active{transform:none;box-shadow:none}.plan-upgrade-actions{display:flex;flex-direction:column;gap:8px}.plan-upgrade-cta,.plan-upgrade-portal{width:100%;border:none;border-radius:999px;padding:13px 16px;font-family:inherit;font-size:16px;font-weight:900;cursor:pointer}.plan-upgrade-cta{position:relative;background:linear-gradient(135deg,#c084fc,#a855f7 45%,#ec4899);color:#fff;box-shadow:0 4px #7e22ce,0 8px 18px #a855f759;text-shadow:0 1px 0 rgba(0,0,0,.12)}.plan-upgrade-cta:before,.plan-upgrade-cta:after{content:"✦";margin:0 .4em;color:#fde68a;font-size:.85em}.plan-upgrade-cta:disabled{opacity:.6;cursor:wait;box-shadow:none}.plan-upgrade-portal{background:#fff;color:#9ca3af;border:2px solid #fce7f3}.plan-upgrade-price{margin:10px 0 0;text-align:center;font-size:11px;color:#c4b5fd;font-weight:700}.bc-setup-trial-banner{margin:0 0 12px;padding:10px 14px;border-radius:12px;background:#fff7ed;border:1.5px solid #fdba74;color:#9a3412;font-size:13px;font-weight:800;text-align:center}.bc-setup-trial-note{margin:8px 0;padding:12px;border-radius:12px;background:#faf5ff;color:#6b21a8;font-size:13px;font-weight:700;line-height:1.45}.bc-bank-readonly-note{margin:0 0 10px;padding:8px 10px;border-radius:10px;background:#f3f4f6;color:#6b7280;font-size:12px;font-weight:700}.plan-success-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:12100;display:flex;align-items:center;justify-content:center;padding:16px}.plan-success-modal.hidden,.plan-success-modal[hidden]{display:none!important}.plan-success-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;border:none;margin:0;padding:0;background:radial-gradient(ellipse 80% 60% at 50% 35%,rgba(255,182,193,.42),transparent 70%),#fff0f5c7;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(8px);cursor:pointer}.plan-success-card{position:relative;z-index:1;width:min(94vw,460px);max-height:min(92vh,820px);overflow:auto;padding:20px 18px 16px;border-radius:28px;border:3px solid #fff;background:linear-gradient(180deg,#fffdfb,#fff7fb);box-shadow:0 0 0 2px #ffb6c173,0 18px 40px #f472b638,0 8px #fdba7459;text-align:center}.plan-success-close{position:absolute;top:12px;right:12px;display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;padding:0;border:2px solid #f9a8d4;border-radius:999px;background:#fff;color:#db2777;font-size:22px;font-weight:700;line-height:1;cursor:pointer;box-shadow:2px 2px #fb718540}.plan-success-hero{display:flex;justify-content:center;margin:4px 0 8px}.plan-success-badge{display:inline-flex;align-items:center;justify-content:center;width:64px;height:64px;border-radius:50%;background:linear-gradient(145deg,#86efac,#4ade80 55%,#34d399);color:#fff;font-size:34px;font-weight:900;box-shadow:0 4px #16a34a,0 10px 20px #4ade8059;animation:plan-success-pop .55s ease-out}@keyframes plan-success-pop{0%{transform:scale(.4);opacity:0}70%{transform:scale(1.08)}to{transform:scale(1);opacity:1}}.plan-success-eyebrow{margin:0 0 4px;font-size:13px;font-weight:800;color:#db2777}.plan-success-eyebrow:before,.plan-success-eyebrow:after{content:"✦";margin:0 .35em;color:#f9a8d4}.plan-success-card h2{margin:0 0 6px;font-size:26px;font-weight:900;background:linear-gradient(105deg,#ff7ab8,#ff9f6b 40%,#c084fc 75%,#7dd3fc);background-size:200% 100%;-webkit-background-clip:text;background-clip:text;color:transparent;-webkit-text-fill-color:transparent;animation:plan-bundle-name-shimmer 2.4s ease-in-out infinite}.plan-success-lead{margin:0 0 14px;color:#9ca3af;font-size:13px;font-weight:700;line-height:1.45}.plan-success-packs{list-style:none;margin:0 0 14px;padding:0;display:flex;flex-direction:column;gap:8px;text-align:left}.plan-success-pack{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:16px;border:2px solid #fce7f3;background:#fff;box-shadow:0 3px #fbcfe880}.plan-success-pack img{width:48px;height:48px;object-fit:contain;flex:0 0 auto}.plan-success-pack span{flex:1;font-weight:900;font-size:15px;color:#374151}.plan-success-pack em{font-style:normal;width:26px;height:26px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#a855f7;color:#fff;font-weight:900;font-size:14px}.plan-success-pack--pending{justify-content:center;text-align:center;color:#9a3412;background:#fff7ed;border-color:#fdba74}.plan-success-pack--pending span{color:inherit;font-size:13px}.plan-success-discord{margin:0 0 14px;padding:12px;border-radius:20px;border:2.5px solid #e9d5ff;background:linear-gradient(180deg,#faf5ff,#fff);text-align:left}.plan-success-discord-art{display:block;width:72px;height:72px;margin:0 auto 8px;object-fit:contain;filter:drop-shadow(0 4px 0 rgba(168,85,247,.18))}.plan-success-discord-copy h3{margin:0 0 4px;font-size:16px;font-weight:900;color:#7e22ce;text-align:center}.plan-success-discord-copy p{margin:0 0 10px;font-size:12px;font-weight:700;color:#9ca3af;line-height:1.4;text-align:center}.plan-success-discord-qr-wrap{display:flex;flex-direction:column;align-items:center;gap:4px;margin-bottom:10px}.plan-success-discord-qr-wrap canvas{width:168px;height:168px;border-radius:12px;border:2px solid #f5d0fe;background:#fff}.plan-success-qr-hint{margin:0;font-size:11px;font-weight:800;color:#c084fc}.plan-success-discord-link-row{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.plan-success-discord-link{flex:1 1 140px;min-width:0;box-sizing:border-box;padding:8px 10px;border:2px solid #f3e8ff;border-radius:10px;font-size:12px;font-weight:700;color:#6b21a8;background:#faf5ff}.plan-success-actions{display:flex;flex-direction:column;gap:8px}.plan-success-primary,.plan-success-secondary,.plan-success-discord-open{border:none;border-radius:999px;padding:12px 14px;font-family:inherit;font-size:15px;font-weight:900;cursor:pointer}.plan-success-primary{background:linear-gradient(135deg,#c084fc,#a855f7 45%,#ec4899);color:#fff;box-shadow:0 4px #7e22ce,0 8px 18px #a855f74d}.plan-success-secondary{background:#fff;color:#db2777;border:2px solid #f9a8d4;box-shadow:0 3px #fb718533}.plan-success-discord-open{background:linear-gradient(180deg,#ede9fe,#ddd6fe);color:#5b21b6;border:2px solid #c4b5fd}.plan-success-discord-link-row .plan-success-secondary,.plan-success-discord-link-row .plan-success-discord-open{flex:0 0 auto;padding:8px 12px;font-size:13px}@media(prefers-reduced-motion:reduce){.plan-success-badge,.plan-success-card h2{animation:none}}.plan-promo-modal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:12100;display:flex;align-items:center;justify-content:center;padding:16px}.plan-promo-modal.hidden,.plan-promo-modal[hidden]{display:none!important}.plan-promo-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;border:none;margin:0;padding:0;background:#1c19178c;backdrop-filter:blur(6px);-webkit-backdrop-filter:blur(6px);cursor:pointer}.plan-promo-card{position:relative;z-index:1;width:min(92vw,420px);max-height:min(92vh,860px);display:flex;flex-direction:column;padding:12px 12px 14px;border-radius:22px;border:3px solid #fff;background:linear-gradient(180deg,#fffdfb,#fff7f0);box-shadow:0 0 0 2px #dc26262e,0 18px 44px #1c191747}.plan-promo-close{position:absolute;top:10px;right:10px;z-index:2;display:inline-flex;align-items:center;justify-content:center;width:34px;height:34px;padding:0;border:2px solid #fecaca;border-radius:999px;background:#fff;color:#dc2626;font-size:22px;font-weight:700;line-height:1;cursor:pointer;box-shadow:2px 2px #dc262633}.plan-promo-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}.plan-promo-art-wrap{display:block;width:100%;margin:0;padding:0;border:none;background:transparent;border-radius:14px;overflow:hidden;flex:1 1 auto;min-height:0;pointer-events:none}.plan-promo-track{flex:1 1 auto;min-height:0;touch-action:pan-y;-webkit-user-select:none;user-select:none}.plan-promo-dots{display:flex;justify-content:center;align-items:center;gap:8px;margin-top:10px}.plan-promo-dots.hidden{display:none!important}.plan-promo-dot{width:8px;height:8px;padding:0;border:none;border-radius:999px;background:#d6d3d1;cursor:pointer}.plan-promo-dot.is-active{width:18px;background:#dc2626}.plan-promo-art{display:block;width:100%;height:auto;max-height:min(72vh,680px);object-fit:contain;object-position:top center;background:#f8fafc;pointer-events:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none}.plan-promo-footer{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px 14px;margin-top:12px;padding:0 4px}.plan-promo-cta.hidden{display:none!important}.plan-promo-dismiss{display:inline-flex;align-items:center;gap:8px;font-size:13px;font-weight:700;color:#44403c;cursor:pointer;-webkit-user-select:none;user-select:none}.plan-promo-dismiss input{width:16px;height:16px;accent-color:#dc2626}.plan-promo-cta{border:2px solid #111;border-radius:999px;background:linear-gradient(180deg,#ef4444,#dc2626);color:#fff;font:inherit;font-size:14px;font-weight:800;padding:9px 16px;cursor:pointer;box-shadow:2px 2px #111}.plan-promo-cta:hover{filter:brightness(1.05)}@media print{body *{visibility:hidden}#seat-print-area,#seat-print-area *{visibility:visible}#seat-print-area{position:absolute;left:0;top:0;width:100%}}@media(max-width:768px),(max-aspect-ratio:1/1){#board-container{width:98vw;height:90vw;max-height:800px}#center-area{padding:8px}.btn-main-group button{width:auto}.btn-toolbar{overflow-x:auto;justify-content:flex-start}.modal-content{width:95%;padding:15px}.modal-footer{display:flex;flex-direction:column;gap:10px}.modal-footer button{width:100%}.seating-layout-wrap{flex-direction:column}.unseated-pool{width:100%}.seat-cell{min-height:52px}.seat-avatar{width:36px;height:36px;font-size:13px}.bb-edit-grid{grid-template-columns:1fr}}.pet-hub{--pet-pink: #ff8fb8;--pet-sky: #7dd3fc;--pet-cream: #fff7ed;--pet-yellow: #fbbf24;--pet-ink: #1f2937;max-width:1100px;margin:0 auto;padding:12px 16px 28px;box-sizing:border-box;font-family:Nunito,Noto Sans TC,Microsoft JhengHei,system-ui,sans-serif;color:var(--pet-ink)}body.view-pets{background-color:#fff4d6;background-image:url(../assets/pets/bg/pet-bg-candy.webp);background-size:cover;background-position:center;background-attachment:fixed;background-repeat:no-repeat;overflow:auto}.pet-hub-top{display:flex;flex-wrap:wrap;gap:12px;align-items:center;justify-content:space-between;margin-bottom:12px}.pet-hub-dex-btn{display:inline-flex;align-items:center;gap:6px;height:42px;padding:0 16px;border-radius:14px;border:2px solid #f9a8d4;background:linear-gradient(180deg,#fff,#ffe4f1);color:#9d174d;font-weight:900;font-size:15px;cursor:pointer;box-shadow:0 4px #be185d1f}.pet-hub-wallet{display:flex;flex-wrap:wrap;gap:10px;align-items:center;margin-left:auto}.pet-hub-wallet-stack{display:flex;flex-direction:column;align-items:stretch;gap:8px;min-width:0}.pet-hub-student{display:flex;flex-direction:column;gap:4px;font-size:12px;font-weight:800}.pet-hub-student select{min-width:140px;border-radius:12px;border:2px solid #f9a8d4;padding:8px 10px;font-weight:700;background:#fff}.pet-hub-coin{display:flex;align-items:center;justify-content:center;gap:8px;box-sizing:border-box;background:linear-gradient(180deg,#fef3c7,#fde68a);border-radius:999px;padding:8px 14px;font-weight:800;font-size:14px;line-height:1.2;box-shadow:0 6px 14px #fbbf2459;white-space:nowrap}.pet-hub-coin strong{font-size:18px;color:#92400e}.pet-hub-portal-btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;box-sizing:border-box;width:100%;margin:0;padding:8px 14px;border-radius:999px;border:none;background:linear-gradient(180deg,#dcfce7,#86efac);color:#166534;font:inherit;font-weight:800;font-size:14px;line-height:1.2;cursor:pointer;box-shadow:0 6px 14px #16653438;white-space:nowrap}.pet-hub-portal-btn:hover,.pet-hub-dex-btn:hover{transform:translateY(-1px)}.pet-hub-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}.pet-hub-gacha.pet-hub-gacha--layered{position:relative;width:100%;display:flex;flex-direction:column;align-items:center;gap:10px;margin-bottom:14px;padding:8px 0 4px;border:none;border-radius:0;overflow:visible;background:transparent;box-shadow:none;min-height:0;max-height:none;aspect-ratio:auto}.pet-hub-gacha-machines{position:relative;width:100%;max-width:720px}.pet-hub-gacha-row{display:flex;flex-direction:row;justify-content:center;align-items:flex-end;gap:clamp(12px,3vw,36px);width:100%}.pet-hub-gacha-stage{position:relative;width:min(100%,300px);display:flex;flex-direction:column;justify-content:flex-end;align-items:center;gap:6px}.pet-hub-gacha--multi .pet-hub-gacha-stage{flex:1 1 0;width:auto;max-width:320px;min-width:0}.pet-hub-gacha-stage:not(.is-active) .pet-hub-layer-machine{opacity:.72}.pet-hub-gacha-stage.is-active .pet-hub-layer-machine{opacity:1}.pet-hub-machine-label{margin:0;font-size:clamp(11px,1.4vw,13px);font-weight:800;color:#7c2d12;text-align:center;line-height:1.2;text-shadow:0 1px 0 rgba(255,255,255,.85)}.pet-hub-gacha-stage.is-active .pet-hub-machine-label{color:#be185d}.pet-hub-machine-img-btn{position:relative;display:block;width:100%;margin:0;padding:0;border:none;background:transparent;cursor:pointer;line-height:0;border-radius:0;box-shadow:none;filter:none;-webkit-appearance:none;-moz-appearance:none;appearance:none}.pet-hub-gacha--multi .pet-hub-machine-img-btn{height:clamp(260px,42vh,380px);display:flex;align-items:flex-end;justify-content:center;overflow:visible}.pet-hub-machine-img-btn:disabled,.pet-hub-machine-img-btn[aria-disabled=true],.pet-hub-machine-img-btn.is-pull-blocked{cursor:not-allowed;opacity:1}.pet-hub-gacha--layered:not(.is-pulling):not(.spinning) .pet-hub-machine-img-btn:disabled,.pet-hub-gacha--layered:not(.is-pulling):not(.spinning) .pet-hub-machine-img-btn[aria-disabled=true],.pet-hub-gacha--layered:not(.is-pulling):not(.spinning) .pet-hub-machine-img-btn.is-pull-blocked{opacity:.55}.pet-hub-gacha--layered.is-pulling .pet-hub-machine-img-btn,.pet-hub-gacha--layered.is-pulling .pet-hub-layer-machine,.pet-hub-gacha-stage.spinning .pet-hub-machine-img-btn,.pet-hub-gacha-stage.spinning .pet-hub-layer-machine{opacity:1!important}.pet-hub-machine-img-btn:focus-visible{outline:3px solid #f472b6;outline-offset:6px}.pet-hub-machine-img-btn:hover,.pet-hub-machine-img-btn:hover:not(:disabled) .pet-hub-layer-machine,.pet-hub-machine-img-btn:active:not(:disabled) .pet-hub-layer-machine{filter:none;box-shadow:none}.pet-hub-layer-machine{position:relative;z-index:2;display:block;width:100%;height:auto;max-height:min(52vh,420px);object-fit:contain;object-position:center bottom;pointer-events:none;-webkit-user-select:none;user-select:none;-webkit-user-drag:none;filter:none!important;box-shadow:none!important;transition:opacity .15s ease;--machine-scale: 1;transform:scale(var(--machine-scale));transform-origin:center bottom}.pet-hub-gacha--multi .pet-hub-layer-machine{width:100%;height:100%;max-height:none}.pet-hub-gacha--multi .pet-hub-gacha-stage[data-pool=fuggler] .pet-hub-layer-machine{--machine-scale: 1.32}.pet-hub-gacha-stage.spinning .pet-hub-layer-machine{animation:pet-hub-shake .35s ease-in-out infinite}.pet-hub-gacha--layered .pet-hub-pull-tip{position:absolute;z-index:6;top:2%;left:2%;margin:0;max-width:min(46%,150px);padding:7px 10px;border:3px solid #fcd34d;border-radius:14px;font-family:inherit;font-weight:800;font-size:clamp(10px,1.5vw,12px);line-height:1.25;color:#92400e;background:linear-gradient(180deg,#fffbeb,#fde68a);box-shadow:0 4px #f59e0b,inset 0 2px #ffffffa6;transform:rotate(-3deg);pointer-events:none;text-align:left}.pet-hub-gacha--layered .pet-hub-odds-btn{position:absolute;z-index:6;top:2%;right:2%;display:inline-flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;width:64px;height:64px;border:3px solid #f9a8d4;border-radius:16px;padding:4px;font-family:inherit;font-weight:800;font-size:10px;line-height:1.1;cursor:pointer;color:#9d174d;background:linear-gradient(180deg,#fff0f6,#fecdd3);box-shadow:0 5px #f472b6,inset 0 2px #fff9;transform:rotate(3deg)}.pet-hub-gacha--layered .pet-hub-odds-q{font-size:22px;font-weight:900;line-height:1;color:#be185d}.pet-hub-gacha-dock{position:relative;z-index:5;display:flex;flex-direction:column;align-items:center;gap:8px;width:min(90%,320px)}.pet-hub-gacha--layered .pet-hub-pull10-btn{border:none;border-radius:16px;padding:11px 22px;font-weight:800;font-family:inherit;cursor:pointer;background:linear-gradient(180deg,#fce7f3,#fbcfe8);color:#9d174d;box-shadow:0 5px #f9a8d4}.pet-hub-gacha--layered .pet-hub-pull10-btn:disabled,.pet-hub-gacha--layered .pet-hub-pull10-btn[aria-disabled=true],.pet-hub-gacha--layered .pet-hub-pull10-btn.is-pull-blocked{opacity:.5;cursor:not-allowed}.pet-hub-gacha--layered .pet-hub-pity{margin:0;font-size:clamp(11px,1.4vw,13px);font-weight:800;color:#7c2d12;text-align:center;line-height:1.4;text-shadow:0 1px 0 rgba(255,255,255,.85);background:#ffffffb8;border-radius:999px;padding:4px 12px}.pet-hub-gacha--layered .pet-hub-pity em{color:#e11d48;font-style:normal;font-weight:900}@media(max-width:720px){.pet-hub-gacha-row{flex-direction:column;align-items:center}.pet-hub-gacha-stage,.pet-hub-gacha--multi .pet-hub-gacha-stage{width:min(88%,300px);max-width:300px;flex:none}.pet-hub-gacha--multi .pet-hub-machine-img-btn{height:clamp(220px,38vh,320px)}.pet-hub-layer-machine{max-height:min(40vh,320px)}.pet-hub-gacha--multi .pet-hub-layer-machine{max-height:none}.pet-hub-gacha--layered .pet-hub-pull-tip{top:0;left:0;max-width:42%;padding:5px 7px;font-size:10px}.pet-hub-gacha--layered .pet-hub-odds-btn{top:0;right:0;width:56px;height:56px}}.pet-hub-evo-btn,.pet-hub-modal-close{border:none;border-radius:16px;padding:12px 14px;font-weight:800;cursor:pointer;font:inherit}.pet-hub-bottom{display:grid;grid-template-columns:1.25fr .95fr;gap:14px;align-items:stretch}@media(max-width:900px){.pet-hub-bottom{grid-template-columns:1fr}}.pet-hub-inventory,.pet-hub-evo,.pet-hub-detail{background:linear-gradient(180deg,#fffdf9,#fff7fb);border-radius:28px;padding:14px 16px 16px;box-shadow:0 12px 28px #ff96b424,inset 0 0 0 2px #ffffffe6}.pet-hub-inv-head{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:12px;flex-wrap:wrap}.pet-hub-inv-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.pet-hub-sort{display:inline-flex;gap:4px;padding:3px;border-radius:999px;background:#ffffffd9;box-shadow:inset 0 0 0 2px #fce7f3}.pet-hub-sort-btn{border:none;border-radius:999px;padding:6px 12px;font:inherit;font-size:12px;font-weight:800;color:#9d174d;background:transparent;cursor:pointer}.pet-hub-sort-btn.active{background:linear-gradient(180deg,#fff0f6,#fecdd3);box-shadow:0 2px #f9a8d4}.pet-hub-inv-head h2,.pet-hub-evo h3,.pet-hub-detail-head h3{margin:0;font-size:18px;font-weight:900;color:#374151;display:flex;align-items:center;gap:6px}.pet-hub-paw{font-size:16px}.pet-hub-inv-cap{display:inline-flex;align-items:center;gap:6px;background:#fff;border-radius:999px;padding:4px 10px;font-weight:800;font-size:13px;color:#6b7280;box-shadow:inset 0 0 0 2px #fce7f3}.pet-hub-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;min-height:200px;max-height:340px;overflow:auto;padding:2px;margin-bottom:12px}.pet-hub-card{position:relative;border:2px solid transparent;border-radius:18px;background:linear-gradient(180deg,#fff,#fff8f0);padding:6px 4px;cursor:pointer;text-align:center;box-shadow:0 6px 14px #0000000f;font:inherit;color:inherit;display:flex;flex-direction:column;align-items:stretch;min-height:0;aspect-ratio:.78;gap:4px;touch-action:none;-webkit-user-select:none;user-select:none}.pet-hub-card.selected{border-color:#f9a8d4;background:#fff1f7}.pet-hub-card.evo-picked{border-color:#86efac;box-shadow:0 0 0 3px #86efac59}.pet-hub-card.is-active{border-color:#fbbf24}.pet-hub-card-active{position:absolute;top:6px;left:6px;z-index:2;background:linear-gradient(180deg,#fde68a,#f59e0b);color:#78350f;font-size:10px;font-weight:900;border-radius:999px;padding:2px 6px;line-height:1.2}.pet-hub-card-star{position:absolute;top:6px;right:8px;z-index:2;font-size:14px;line-height:1;filter:drop-shadow(0 1px 1px rgba(0,0,0,.12))}.pet-hub-card-star.star-c{color:#86efac}.pet-hub-card-star.star-b{color:#7dd3fc}.pet-hub-card-star.star-a{color:#c4b5fd}.pet-hub-card-star.star-ap{color:#f9a8d4}.pet-hub-card-star.star-s{color:#fbbf24}.pet-hub-card-art{flex:1 1 auto;min-height:0;display:grid;place-items:center;margin:0 2px;border-radius:14px;overflow:hidden;background:radial-gradient(circle at 50% 40%,#fff,#fff7ed)}.pet-hub-card-art img{width:100%;height:100%;max-height:none;object-fit:contain;object-position:center bottom;display:block;margin:0;transform:none}.pet-hub-card-info{flex:0 0 auto;position:relative;z-index:1;margin:0 2px;padding:0 2px 2px;border-radius:0;background:transparent;backdrop-filter:none;-webkit-backdrop-filter:none;box-shadow:none}.pet-hub-card .name,.pet-hub-card-name{display:block;font-size:12px;font-weight:800;margin:0;color:#374151;line-height:1.25;cursor:text;text-decoration:underline dotted rgba(55,65,81,.35);text-underline-offset:2px;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.pet-hub-card-name:hover{color:#be185d}.pet-hub-card-name.is-editing{overflow:visible;text-overflow:clip;white-space:normal;outline:2px solid #f9a8d4;outline-offset:2px;border-radius:6px;background:#fff;padding:2px 4px;text-decoration:none;cursor:text;min-width:4em}.pet-hub-evo-slot.drag-over{border-color:#f472b6;background:#fdf2f8;box-shadow:0 0 0 3px #f472b659}.pet-hub-evo-drag-ghost{position:fixed;left:0;top:0;z-index:10050;width:64px;height:64px;pointer-events:none;border-radius:18px;overflow:hidden;background:#fff;box-shadow:0 10px 28px #00000038;display:grid;place-items:center;will-change:transform}.pet-hub-evo-drag-ghost img{width:100%;height:100%;object-fit:contain}body.pet-evo-pointer-dragging{cursor:grabbing;-webkit-user-select:none;user-select:none}body.pet-evo-pointer-dragging .pet-hub-card{cursor:grabbing}.pet-hub-card .meta{display:block;font-size:11px;font-weight:800;color:#be185d;margin-top:2px;line-height:1.2}.pet-hub-card-exp{display:flex;align-items:center;gap:4px;margin-top:4px;min-width:0}.pet-hub-card-exp-lv{font-size:10px;font-weight:900;color:#15803d;flex-shrink:0;font-variant-numeric:tabular-nums}.pet-hub-card-exp-bar{flex:1 1 auto;min-width:0;height:7px;border:1px solid #000;border-radius:3px;overflow:hidden;background:#e5e7eb}.pet-hub-card-exp-bar>i{display:block;height:100%;width:0%;background:linear-gradient(90deg,#86efac,#1fb25a);transition:width .25s ease}@media(max-width:640px){.pet-hub-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;max-height:none}.pet-hub-card{aspect-ratio:auto;min-height:0;height:auto;padding:5px 3px;gap:3px}.pet-hub-card-art{flex:0 0 auto;height:96px;max-height:96px;overflow:visible;background:transparent}.pet-hub-card-art img{width:100%;height:96px;object-fit:contain;object-position:center center}.pet-hub-card-info{flex:0 0 auto;margin:0;padding:2px 1px 0;background:transparent}.pet-hub-card .name,.pet-hub-card-name{font-size:11px}.pet-hub-card .meta{font-size:10px}.pet-hub-card-exp-lv{font-size:9px}.pet-hub-card-exp-bar{height:6px}.pet-hub-grade-filters{gap:6px;padding-bottom:max(8px,env(safe-area-inset-bottom,0px))}.pet-hub-filter{padding:6px 10px;font-size:11px}}.pet-hub-detail-sum{margin:0 0 10px;font-size:13px;font-weight:700;color:#6b7280}.pet-hub-detail-sum strong{color:#be185d;font-weight:900}.pet-hub-active-btn{width:100%;margin-top:12px;border:none;border-radius:14px;padding:11px 12px;font:inherit;font-weight:900;cursor:pointer;color:#78350f;background:linear-gradient(180deg,#fde68a,#f59e0b);box-shadow:0 5px #d97706}.pet-hub-active-btn:disabled{opacity:.55;cursor:default;box-shadow:none}.pet-hub-grade-filters{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;padding-top:4px}.pet-hub-filter{border:none;border-radius:999px;padding:7px 12px;font-size:12px;font-weight:800;cursor:pointer;font-family:inherit;box-shadow:0 3px #0000000f}.pet-hub-filter.grade-all{background:#fff;color:#6b7280;box-shadow:inset 0 0 0 2px #e5e7eb}.pet-hub-filter.grade-c{background:#d1fae5;color:#047857}.pet-hub-filter.grade-b{background:#dbeafe;color:#1d4ed8}.pet-hub-filter.grade-a{background:#ede9fe;color:#6d28d9}.pet-hub-filter.grade-ap{background:#fce7f3;color:#be185d}.pet-hub-filter.grade-s{background:#ffedd5;color:#c2410c}.pet-hub-filter.active{outline:3px solid #fbbf24;outline-offset:1px;transform:translateY(-1px)}.pet-hub-side{display:flex;flex-direction:column;gap:12px}.pet-hub-evo h3{margin-bottom:4px}.pet-hub-evo-hint{margin:0 0 12px;font-size:12px;color:#9ca3af;font-weight:700;min-height:1.2em}.pet-hub-evo-slots{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:center;gap:6px 8px;margin-bottom:12px}.pet-hub-evo-unit{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:78px}.pet-hub-evo-slot,.pet-hub-evo-result{width:78px;height:78px;border-radius:22px;background:#fff;border:2px dashed #e5e7eb;display:grid;place-items:center;font-weight:900;font-size:22px;color:#cbd5e1;overflow:hidden;box-shadow:inset 0 2px 8px #0000000a}.pet-hub-evo-slot{cursor:pointer;transition:border-color .15s ease,box-shadow .15s ease,background .15s ease}.pet-hub-evo-slot.filled,.pet-hub-evo-result.filled{border-style:solid;border-color:#f9a8d4;background:linear-gradient(180deg,#fff,#fff7fb)}.pet-hub-evo-result.glow,.pet-hub-evo-slot.glow{border-color:#fbbf24;box-shadow:0 0 0 3px #fbbf2440,0 8px 20px #fbbf2440;background:radial-gradient(circle at 50% 40%,#fffbeb,#fff)}.pet-hub-evo-slot img,.pet-hub-evo-result img{width:64px;height:64px;object-fit:contain}.pet-hub-evo-name{font-size:11px;font-weight:800;color:#4b5563;text-align:center;min-height:1.1em}.pet-hub-evo-tag{display:inline-block;min-height:1.4em;border-radius:999px;padding:2px 8px;font-size:10px;font-weight:800;background:#f3f4f6;color:#6b7280}.pet-hub-evo-tag:empty{display:none}.pet-hub-evo-tag.grade-c{background:#d1fae5;color:#047857}.pet-hub-evo-tag.grade-b{background:#dbeafe;color:#1d4ed8}.pet-hub-evo-tag.grade-a{background:#ede9fe;color:#6d28d9}.pet-hub-evo-tag.grade-ap{background:#fce7f3;color:#be185d}.pet-hub-evo-tag.grade-s,.pet-hub-evo-tag.glow{background:#ffedd5;color:#c2410c}.pet-hub-evo-plus,.pet-hub-evo-arrow{font-weight:900;font-size:22px;color:#f472b6;align-self:center;margin-top:22px}.pet-hub-evo-btn{width:100%;border:none;border-radius:16px;padding:12px 14px;font-weight:900;font-family:inherit;cursor:pointer;background:linear-gradient(180deg,#fda4af,#fb7185);color:#fff;box-shadow:0 6px #e11d48}.pet-hub-evo-btn:disabled{opacity:.45;cursor:not-allowed;box-shadow:none}.pet-hub-detail-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px}.pet-hub-stat-rows{display:flex;flex-direction:column;gap:10px}.pet-hub-stat-row{display:grid;grid-template-columns:28px 36px 1fr 64px;gap:8px;align-items:center;font-size:12px;font-weight:800}.pet-hub-stat-ico{width:26px;height:26px;border-radius:50%;display:grid;place-items:center;font-size:13px}.pet-hub-stat-ico.hp{background:#ffe4e6}.pet-hub-stat-ico.atk{background:#ffedd5}.pet-hub-stat-ico.def{background:#dbeafe}.pet-hub-stat-ico.spd{background:#d1fae5}.pet-hub-stat-label{color:#6b7280}.pet-hub-stat-val{text-align:right;color:#4b5563;font-variant-numeric:tabular-nums}.pet-hub-stat-row.is-over .pet-hub-stat-val{color:#be185d}.pet-hub-stat-over{display:inline-block;margin-left:4px;padding:1px 5px;border-radius:999px;font-size:10px;font-weight:900;vertical-align:middle;color:#9d174d;background:#fce7f3}.pet-hub-bar{height:12px;border-radius:999px;background:#f3f4f6;overflow:hidden}.pet-hub-bar>i{display:block;height:100%;border-radius:inherit}.pet-hub-bar.hp>i{background:linear-gradient(90deg,#fda4af,#fb7185)}.pet-hub-bar.atk>i{background:linear-gradient(90deg,#fdba74,#fb923c)}.pet-hub-bar.def>i{background:linear-gradient(90deg,#93c5fd,#60a5fa)}.pet-hub-bar.spd>i{background:linear-gradient(90deg,#6ee7b7,#34d399)}.pet-hub-bar.is-over>i{background:linear-gradient(90deg,#f9a8d4,#f472b6)}.pet-hub-grade-badge{display:inline-block;background:#fff7ed;color:#c2410c;border-radius:999px;padding:3px 10px;font-weight:800;font-size:11px}.pet-hub-detail-empty{color:#9ca3af;font-size:13px;font-weight:700;margin:8px 0 0}.pet-hub-modal{position:fixed;top:0;right:0;bottom:0;left:0;background:#0f172a73;display:grid;place-items:center;z-index:1200;padding:16px}.pet-hub-modal.hidden{display:none}.pet-hub-modal-card{width:min(420px,100%);background:#fff;border-radius:22px;padding:18px;box-shadow:0 24px 60px #00000040;text-align:center}.pet-hub-modal-card h3{margin:0 0 12px;font-weight:900;color:#7c3aed}.pet-hub-modal-body-item{display:flex;gap:10px;align-items:center;text-align:left;background:#fdf4ff;border-radius:14px;padding:8px;margin-bottom:8px}.pet-hub-modal-body-item img{width:64px;height:64px;object-fit:contain}.pet-hub-modal-close{width:100%;margin-top:8px;background:linear-gradient(180deg,#fde047,#f59e0b);color:#78350f}@keyframes pet-hub-bob{0%,to{transform:translateY(0)}50%{transform:translateY(-8px)}}@keyframes pet-hub-float{0%,to{transform:translateY(0) rotate(-4deg)}50%{transform:translateY(-10px) rotate(4deg)}}@keyframes pet-hub-shake{0%,to{transform:scale(var(--machine-scale, 1)) rotate(0)}25%{transform:scale(var(--machine-scale, 1)) rotate(-2.4deg)}75%{transform:scale(var(--machine-scale, 1)) rotate(2.4deg)}}.pet-hub-glass-fx{display:none!important}.pet-hub-gacha--layered.spinning .pet-hub-glass-fx,.pet-hub-gacha--layered.glass-busy .pet-hub-glass-fx{opacity:1}.pet-hub-fx-capsule{position:absolute;width:18px;height:18px;border-radius:50%;box-shadow:inset 0 -3px 4px #00000026,inset 0 2px 3px #ffffff8c;animation:pet-hub-capsule-idle 2.8s ease-in-out infinite}.pet-hub-gacha--layered.spinning .pet-hub-fx-capsule,.pet-hub-gacha--layered.glass-busy .pet-hub-fx-capsule{animation-name:pet-hub-capsule-spin;animation-duration:.35s;animation-timing-function:linear;animation-iteration-count:infinite}.pet-hub-gacha--layered.spinning.rarity-s .pet-hub-fx-capsule.gold,.pet-hub-gacha--layered.glass-busy.rarity-s .pet-hub-fx-capsule.gold{opacity:1;width:26px;height:26px;animation-duration:.22s;box-shadow:0 0 16px #fbbf24d9}.pet-hub-fx-capsule.c1{left:28%;top:30%;background:radial-gradient(circle at 35% 30%,#fff,#7dd3fc)}.pet-hub-fx-capsule.c2{left:52%;top:24%;background:radial-gradient(circle at 35% 30%,#fff,#fda4af);animation-delay:-.3s}.pet-hub-fx-capsule.c3{left:38%;top:48%;background:radial-gradient(circle at 35% 30%,#fff,#fde047);animation-delay:-.7s}.pet-hub-fx-capsule.c4{left:58%;top:46%;background:radial-gradient(circle at 35% 30%,#fff,#c4b5fd);animation-delay:-1.1s}.pet-hub-fx-capsule.c5{left:44%;top:62%;background:radial-gradient(circle at 35% 30%,#fff,#86efac);animation-delay:-1.5s}.pet-hub-fx-capsule.c6{left:30%;top:55%;background:radial-gradient(circle at 35% 30%,#fff,#fdba74);animation-delay:-1.9s}.pet-hub-fx-capsule.gold{left:46%;top:36%;opacity:0;background:radial-gradient(circle at 35% 30%,#fffbeb,#fbbf24 55%,#f59e0b)}@keyframes pet-hub-capsule-idle{0%,to{transform:translateY(0)}50%{transform:translateY(-5px)}}@keyframes pet-hub-capsule-spin{0%{transform:translate(0) rotate(0)}25%{transform:translate(8px,-10px) rotate(90deg)}50%{transform:translate(-6px,8px) rotate(180deg)}75%{transform:translate(10px,4px) rotate(270deg)}to{transform:translate(0) rotate(360deg)}}.pet-hub-reveal{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1400;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:16px;box-sizing:border-box}.pet-hub-reveal.hidden{display:none}.pet-hub-reveal-dim{position:absolute;top:0;right:0;bottom:0;left:0;background:#0f172ab8;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}.pet-hub-reveal.rarity-s .pet-hub-reveal-dim{background:radial-gradient(circle at 50% 40%,#78350f8c,#0f172ae0)}.pet-hub-reveal-burst{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none;opacity:0;background:radial-gradient(circle at 50% 45%,rgba(253,224,71,.45),transparent 42%),radial-gradient(circle at 30% 30%,rgba(251,113,133,.25),transparent 35%),radial-gradient(circle at 70% 35%,rgba(96,165,250,.25),transparent 35%)}.pet-hub-reveal.rarity-s .pet-hub-reveal-burst.active{opacity:1;animation:pet-hub-burst-pulse .9s ease-out}@keyframes pet-hub-burst-pulse{0%{transform:scale(.6);opacity:0}40%{opacity:1}to{transform:scale(1.35);opacity:.35}}.pet-hub-reveal-stage{position:relative;z-index:2;width:min(420px,92vw);min-height:280px;display:grid;place-items:center}.pet-hub-reveal-egg{width:140px;height:160px;border-radius:50% 50% 48% 48%;background:radial-gradient(circle at 35% 28%,#fff,transparent 40%),linear-gradient(180deg,#fda4af,#fb7185 55%,#e11d48);box-shadow:0 16px 30px #0000004d,inset 0 -12px 18px #00000026;opacity:0;transform:scale(.4) translateY(40px)}.pet-hub-reveal-egg.show{opacity:1;animation:pet-hub-egg-in .55s cubic-bezier(.22,1.2,.36,1) forwards}.pet-hub-reveal-egg.shake{animation:pet-hub-egg-shake .45s ease-in-out infinite}.pet-hub-reveal-egg.crack{animation:pet-hub-egg-crack .55s ease-out forwards}.pet-hub-reveal.rarity-s .pet-hub-reveal-egg{background:radial-gradient(circle at 35% 28%,#fffbeb,transparent 40%),linear-gradient(180deg,#fde68a,#fbbf24 50%,#d97706);box-shadow:0 0 40px #fbbf24b3,0 16px 30px #0000004d}@keyframes pet-hub-egg-in{to{opacity:1;transform:scale(1) translateY(0)}}@keyframes pet-hub-egg-shake{0%,to{transform:rotate(0) scale(1)}25%{transform:rotate(-8deg) scale(1.04)}75%{transform:rotate(8deg) scale(1.04)}}@keyframes pet-hub-egg-crack{0%{transform:scale(1);opacity:1;filter:brightness(1)}40%{transform:scale(1.2);filter:brightness(1.4)}to{transform:scale(1.6);opacity:0;filter:brightness(2)}}.pet-hub-reveal-hero{width:min(380px,90vw);background:linear-gradient(180deg,#fffdf9,#fff1f7);border-radius:28px;padding:22px 18px 18px;text-align:center;box-shadow:0 24px 60px #00000059,inset 0 0 0 3px #ffffffe6;transform:scale(.5);opacity:0}.pet-hub-reveal-hero.show{animation:pet-hub-hero-pop .55s cubic-bezier(.22,1.25,.36,1) forwards}.pet-hub-reveal.rarity-s .pet-hub-reveal-hero{box-shadow:0 0 0 4px #fbbf24,0 0 40px #fbbf248c,0 24px 60px #0006;background:linear-gradient(180deg,#fffbeb,#fef3c7)}.pet-hub-reveal-hero.hidden{display:none}@keyframes pet-hub-hero-pop{0%{opacity:0;transform:scale(.4) translateY(30px)}to{opacity:1;transform:scale(1) translateY(0)}}.pet-hub-reveal-hero img{width:min(220px,58vw);height:min(220px,58vw);object-fit:contain;margin:0 auto 8px;display:block;filter:drop-shadow(0 12px 18px rgba(0,0,0,.2));animation:pet-hub-bob 2.4s ease-in-out infinite}.pet-hub-reveal-hero .rarity-tag{display:inline-block;border-radius:999px;padding:4px 12px;font-weight:900;font-size:13px;margin-bottom:8px}.pet-hub-reveal-hero .rarity-tag.c{background:#d1fae5;color:#047857}.pet-hub-reveal-hero .rarity-tag.s{background:linear-gradient(180deg,#fde68a,#fbbf24);color:#92400e;box-shadow:0 0 12px #fbbf2499}.pet-hub-reveal-hero h3{margin:0 0 6px;font-size:clamp(22px,5vw,28px);font-weight:900;color:#1f2937}.pet-hub-reveal-hero .sum{font-size:15px;font-weight:800;color:#be185d;margin-bottom:8px}.pet-hub-reveal-hero .stats{font-size:12px;font-weight:700;color:#6b7280;line-height:1.5}.pet-hub-reveal-strip{position:relative;z-index:2;display:flex;flex-wrap:wrap;gap:8px;justify-content:center;max-width:min(640px,94vw);margin-top:14px;min-height:0}.pet-hub-reveal-strip:empty{display:none}.pet-hub-reveal-chip{width:56px;height:56px;border-radius:14px;background:#fff;box-shadow:0 6px 14px #0003;overflow:hidden;border:2px solid #f9a8d4;opacity:0;transform:scale(.5);animation:pet-hub-chip-in .28s ease-out forwards}.pet-hub-reveal-chip.s{border-color:#fbbf24;box-shadow:0 0 12px #fbbf24a6}.pet-hub-reveal-chip img{width:100%;height:100%;object-fit:contain}@keyframes pet-hub-chip-in{to{opacity:1;transform:scale(1)}}.pet-hub-reveal-bar{position:relative;z-index:3;margin-top:18px;display:flex;flex-wrap:wrap;gap:10px;align-items:center;justify-content:center}.pet-hub-reveal-progress{font-weight:800;font-size:13px;color:#fde68a;min-width:72px;text-align:center}.pet-hub-reveal-continue{border:none;border-radius:999px;padding:10px 18px;font:inherit;font-weight:900;cursor:pointer;background:linear-gradient(180deg,#fde047,#f59e0b);color:#78350f;box-shadow:0 6px #d97706}.pet-hub-reveal-continue.hidden{display:none}@media(max-width:720px){.pet-hub-glass-fx{left:14%;top:8%;width:56%;height:44%}}.pet-hub-dial-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:1450;background:transparent}.pet-hub-dial-backdrop[hidden]{display:none}.pet-hub-dial{position:fixed;z-index:1451;width:148px;height:148px;pointer-events:auto}.pet-hub-dial[hidden]{display:none}.pet-hub-dial-inner{position:relative;width:100%;height:100%;border-radius:50%;border:3px solid #000;background:#fff;box-shadow:5px 5px #00000038;box-sizing:border-box;animation:pet-hub-dial-pop .2s ease-out}.pet-hub-dial-inner:before{content:"";position:absolute;top:20px;right:20px;bottom:20px;left:20px;border-radius:50%;border:1px dashed rgba(244,114,182,.55);pointer-events:none;z-index:1}.pet-hub-dial-face{position:absolute;top:34px;right:34px;bottom:34px;left:34px;border-radius:50%;background:linear-gradient(180deg,#fff7ed,#fce7f3);border:2px solid #f9a8d4;display:flex;align-items:center;justify-content:center;overflow:hidden;pointer-events:none;z-index:1}.pet-hub-dial-face img{width:72%;height:72%;object-fit:contain}.pet-hub-dial-node{position:absolute;z-index:2;left:50%;top:50%;margin:0;padding:0 6px;border:2px solid #000;border-radius:999px;font:inherit;font-size:11px;font-weight:900;line-height:1;cursor:pointer;box-shadow:2px 2px #000;display:flex;align-items:center;justify-content:center;min-width:42px;height:28px;white-space:nowrap;--dial-r: 54px}.pet-hub-dial-node:hover:not(:disabled){filter:brightness(1.05)}.pet-hub-dial-node:disabled{opacity:.4;cursor:not-allowed}.pet-hub-dial-node--deg0{transform:translate(-50%,-50%) rotate(0) translateY(calc(var(--dial-r) * -1)) rotate(0);background:#fef3c7;color:#92400e}.pet-hub-dial-node--deg0:hover:not(:disabled){transform:translate(-50%,-50%) rotate(0) translateY(calc(var(--dial-r) * -1)) rotate(0) scale(1.06)}.pet-hub-dial-node--deg90{transform:translate(-50%,-50%) rotate(90deg) translateY(calc(var(--dial-r) * -1)) rotate(-90deg);background:#ede9fe;color:#5b21b6}.pet-hub-dial-node--deg90:hover:not(:disabled){transform:translate(-50%,-50%) rotate(90deg) translateY(calc(var(--dial-r) * -1)) rotate(-90deg) scale(1.06)}.pet-hub-dial-node--deg180{transform:translate(-50%,-50%) rotate(180deg) translateY(calc(var(--dial-r) * -1)) rotate(-180deg);background:#fee2e2;color:#991b1b}.pet-hub-dial-node--deg180:hover:not(:disabled){transform:translate(-50%,-50%) rotate(180deg) translateY(calc(var(--dial-r) * -1)) rotate(-180deg) scale(1.06)}.pet-hub-dial-node--deg270{transform:translate(-50%,-50%) rotate(270deg) translateY(calc(var(--dial-r) * -1)) rotate(-270deg);background:#dcfce7;color:#166534}.pet-hub-dial-node--deg270:hover:not(:disabled){transform:translate(-50%,-50%) rotate(270deg) translateY(calc(var(--dial-r) * -1)) rotate(-270deg) scale(1.06)}@keyframes pet-hub-dial-pop{0%{transform:scale(.85);opacity:0}to{transform:scale(1);opacity:1}}.pet-hub-food-pick{display:grid;gap:8px}.pet-hub-food-item{display:flex;align-items:center;gap:10px;width:100%;border:2px solid #f9a8d4;border-radius:14px;padding:8px 10px;background:#fff;cursor:pointer;font:inherit;text-align:left}.pet-hub-food-item:hover:not(:disabled){background:#fff0f6}.pet-hub-food-item:disabled{opacity:.45;cursor:not-allowed}.pet-hub-food-item img{width:36px;height:36px;object-fit:contain}.pet-hub-food-item strong{display:block;font-size:14px}.pet-hub-food-item span{font-size:12px;font-weight:700;color:#6b7280}.pet-hub-detail.flash-view{animation:pet-hub-detail-flash .8s ease}@keyframes pet-hub-detail-flash{0%,to{box-shadow:0 12px 28px #ff96b424,inset 0 0 0 2px #ffffffe6}40%{box-shadow:0 0 0 3px #f472b6,0 12px 28px #f472b659}}#pet-dex{position:fixed;top:0;right:0;bottom:0;left:0;z-index:70;display:flex;align-items:stretch;justify-content:center;padding:16px;box-sizing:border-box}#pet-dex.hidden{display:none!important}.pet-dex-backdrop{position:absolute;top:0;right:0;bottom:0;left:0;background:linear-gradient(160deg,#ffd6e8d1,#c4ecffc7),url(../assets/pets/bg/pet-bg-candy.webp) center / cover no-repeat;-webkit-backdrop-filter:blur(2px);backdrop-filter:blur(2px)}.pet-dex-panel{position:relative;z-index:1;width:min(1100px,100%);max-height:100%;margin:auto;display:grid;grid-template-rows:auto auto 1fr auto;gap:12px;padding:18px 18px 14px;border-radius:28px;border:4px solid #5b4636;background:linear-gradient(180deg,#fff8f2,#ffeef7 45%,#eef9ff);box-shadow:0 18px #5b463629,0 24px 48px #5b46362e;font-family:Nunito,Noto Sans TC,Microsoft JhengHei,system-ui,sans-serif;color:#3f2b22;overflow:hidden}.pet-dex-head{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:10px}.pet-dex-brand{display:flex;flex-direction:column;gap:6px}.pet-dex-brand h2{margin:0;font-size:clamp(1.5rem,3.5vw,2rem);font-weight:900;color:#e11d74;letter-spacing:.02em;text-shadow:0 2px 0 rgba(255,255,255,.85)}.pet-dex-progress{display:inline-flex;align-self:flex-start;padding:4px 14px;border-radius:999px;background:linear-gradient(180deg,#ff9ec4,#fb6aa3);color:#fff;font-size:13px;font-weight:800;box-shadow:0 4px #be185d40}.pet-dex-head-actions{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.pet-dex-close{width:40px;height:40px;padding:0;border-radius:14px;border:2px solid #f9a8d4;background:#fff;font-size:22px;font-weight:800;line-height:1;cursor:pointer;color:#9d174d}.pet-dex-grades{display:flex;flex-wrap:wrap;gap:8px}.pet-dex-chip{height:34px;padding:0 14px;border-radius:999px;border:2px solid #fbcfe8;background:#fff;font-weight:800;font-size:13px;cursor:pointer;color:#6b3a4a}.pet-dex-chip.active{background:linear-gradient(180deg,#ff6b9d,#e11d74);border-color:#be185d;color:#fff}.pet-dex-body{min-height:0;display:grid;grid-template-columns:minmax(0,1.35fr) minmax(240px,.85fr);gap:14px}.pet-dex-grid{min-height:0;overflow:auto;display:grid;grid-template-columns:repeat(auto-fill,minmax(128px,1fr));gap:12px;align-content:start;padding:4px 2px 8px}.pet-dex-empty{grid-column:1 / -1;margin:0;padding:48px 16px;text-align:center;font-weight:800;color:#9a6b7a;display:flex;flex-direction:column;gap:8px}.pet-dex-hidden-hint{font-size:13px;font-weight:700;color:#c084a0}.pet-dex-card{position:relative;display:flex;flex-direction:column;align-items:center;gap:4px;min-height:148px;padding:10px 8px 12px;border-radius:20px;border:3px solid rgba(91,70,54,.18);background:#fff;cursor:pointer;box-shadow:0 6px #5b463614;transition:transform .12s ease,box-shadow .12s ease}.pet-dex-card:hover{transform:translateY(-2px)}.pet-dex-card.active{border-color:#e11d74;box-shadow:0 0 0 3px #e11d7438,0 8px #5b46361a}.pet-dex-card.grade-c{background:linear-gradient(180deg,#f0fdf4,#fff)}.pet-dex-card.grade-b{background:linear-gradient(180deg,#eff6ff,#fff)}.pet-dex-card.grade-a{background:linear-gradient(180deg,#faf5ff,#fff)}.pet-dex-card.grade-ap{background:linear-gradient(180deg,#fff7ed,#fff)}.pet-dex-card.grade-s{background:linear-gradient(180deg,#fef9c3,#fff)}.pet-dex-card-no{align-self:flex-start;font-size:11px;font-weight:900;color:#9d174d;background:#ffffffd9;border-radius:8px;padding:2px 6px}.pet-dex-card-art{width:84px;height:84px;object-fit:contain;image-rendering:auto}.pet-dex-card-name{font-size:13px;font-weight:900;text-align:center;line-height:1.2}.pet-dex-card-badge{display:inline-flex;padding:2px 8px;border-radius:999px;font-size:11px;font-weight:800;background:#dcfce7;color:#166534}.pet-dex-card.grade-b .pet-dex-card-badge{background:#dbeafe;color:#1d4ed8}.pet-dex-card.grade-a .pet-dex-card-badge{background:#f3e8ff;color:#7e22ce}.pet-dex-card.grade-ap .pet-dex-card-badge{background:#ffedd5;color:#c2410c}.pet-dex-card.grade-s .pet-dex-card-badge{background:#fef08a;color:#a16207}.pet-dex-card.locked{background:#e8ecf1!important;border-style:dashed;border-color:#37415159;color:#6b7280}.pet-dex-card.locked .pet-dex-card-no,.pet-dex-card.locked .pet-dex-card-name{color:#6b7280}.pet-dex-card.locked .pet-dex-card-badge{background:#d1d5db;color:#4b5563}.pet-dex-card-sil{display:block;width:84px;height:84px;flex-shrink:0;background:#1f2937;-webkit-mask-image:var(--pet-sil);mask-image:var(--pet-sil);-webkit-mask-size:contain;mask-size:contain;-webkit-mask-repeat:no-repeat;mask-repeat:no-repeat;-webkit-mask-position:center;mask-position:center;pointer-events:none;-webkit-user-select:none;user-select:none}.pet-dex-card-sil--lg{width:132px;height:132px;background:#111827}.pet-dex-detail{min-height:0;overflow:auto;border-radius:22px;border:3px solid #f9a8d4;background:linear-gradient(180deg,#fff,#fff5fa);padding:16px 14px 18px;box-shadow:inset 0 0 0 1px #fffc}.pet-dex-detail-empty{margin:40px 8px;text-align:center;font-weight:800;color:#9a6b7a}.pet-dex-detail-ribbon{display:inline-flex;padding:4px 12px;border-radius:0 12px 12px 0;margin-left:-14px;background:#e11d74;color:#fff;font-weight:900;font-size:13px}.pet-dex-detail-name{margin:10px 0 2px;font-size:1.45rem;font-weight:900;color:#9d174d}.pet-dex-detail-en{margin:0 0 8px;font-size:12px;font-weight:700;color:#c084a0}.pet-dex-detail-badges{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:10px}.pet-dex-pill{display:inline-flex;padding:2px 10px;border-radius:999px;background:#fce7f3;color:#9d174d;font-size:12px;font-weight:800}.pet-dex-detail-hero{display:grid;grid-template-columns:1fr 1fr;gap:10px;align-items:center;justify-items:center;margin:8px auto 14px;width:min(100%,300px);padding:8px;box-sizing:border-box}.pet-dex-detail-hero.locked{grid-template-columns:1fr;width:170px;height:170px;border-radius:50%;background:radial-gradient(circle at 50% 40%,#f3f4f6,#e5e7eb 55%,#d1d5db);box-shadow:0 10px #6b72802e;padding:0}.pet-dex-detail-art,.pet-dex-detail-sprite{display:grid;place-items:center;width:140px;height:140px;border-radius:50%;background:radial-gradient(circle at 50% 40%,#fff,#ffe4f1 55%,#fbcfe8);box-shadow:0 8px #fb71b22e}.pet-dex-detail-sprite{cursor:pointer;-webkit-user-select:none;user-select:none}.pet-dex-detail-sprite:focus-visible{outline:3px solid #f472b6;outline-offset:2px}.pet-dex-detail-illust{width:118px;height:118px;object-fit:contain}.pet-dex-detail-canvas{width:118px;height:118px;object-fit:contain;image-rendering:pixelated}.pet-dex-story-title{margin:0 0 6px;font-size:14px;font-weight:900;color:#be185d;display:flex;align-items:center;gap:6px}.pet-dex-story,.pet-dex-obtain{margin:0 0 10px;font-size:13px;line-height:1.55;font-weight:600;color:#5b4038}.pet-dex-recipes{margin:0;padding-left:18px;font-size:12px;font-weight:700;color:#7c4a5e}.pet-dex-lines{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;padding-top:2px}.pet-dex-line{display:inline-flex;align-items:center;gap:6px;height:40px;padding:0 14px;border-radius:999px;border:2px solid #f9a8d4;background:#fff;font-weight:800;font-size:13px;cursor:pointer;color:#6b3a4a}.pet-dex-line.active{background:linear-gradient(180deg,#fda4af,#fb7185);border-color:#e11d48;color:#fff}@media(max-width:860px){.pet-dex-body{grid-template-columns:1fr}.pet-dex-detail{max-height:280px}}
