:root{--color-primary: #2f6fed;--color-primary-dark: #1e4fbf;--color-green: #1a9c5e;--color-green-bg: #e8f8f0;--color-red: #e0393e;--color-red-bg: #fdecec;--color-gray: #8a8f98;--color-gray-bg: #f1f2f4;--color-yellow: #b8860b;--color-yellow-bg: #fff6dc;--color-bg: #f5f6fa;--color-card: #ffffff;--color-text: #1c1f26;--color-text-sub: #6b7280;--color-border: #e5e7eb;--radius: 16px;--shadow: 0 2px 10px rgba(20, 20, 40, 0.06)}*{box-sizing:border-box}html,body{margin:0;padding:0;background:var(--color-bg);color:var(--color-text);font-family:-apple-system,BlinkMacSystemFont,"Apple SD Gothic Neo","Malgun Gothic","Segoe UI",Roboto,sans-serif;font-size:15px;line-height:1.5}#app{max-width:480px;margin:0 auto;min-height:100vh;background:var(--color-bg);display:flex;flex-direction:column;position:relative}#app.with-bottom-nav{padding-bottom:76px}.progress-bar-track{width:100%;height:12px;background:var(--color-gray-bg);border-radius:999px;overflow:hidden;margin-top:12px}.progress-bar-fill{height:100%;background:var(--color-green);border-radius:999px;transition:width 0.3s ease-out}.rank-row{display:flex;align-items:center;justify-content:space-between;padding:12px 0;border-bottom:1px solid var(--color-border)}.rank-row:last-child{border-bottom:none}.rank-row .rank-num{font-weight:800;width:28px;flex-shrink:0;color:var(--color-text-sub)}.rank-row .rank-name{flex:1;font-size:14px;font-weight:600}.rank-row .rank-balance{font-weight:700}.qty-stepper{display:flex;align-items:center;gap:6px;flex-shrink:0}.qty-btn{width:28px;height:28px;border-radius:8px;border:1.5px solid var(--color-border);background:#fff;font-size:16px;font-weight:700;cursor:pointer;display:flex;align-items:center;justify-content:center;color:var(--color-text)}.qty-btn:active{background:var(--color-gray-bg)}.qty-input{width:40px;text-align:center;padding:4px 2px;border-radius:8px;border:1.5px solid var(--color-border);font-size:14px}.shop-item-card{background:var(--color-card);border-radius:var(--radius);box-shadow:var(--shadow);padding:16px 18px;margin-bottom:12px;display:flex;justify-content:space-between;align-items:center;gap:12px}.shop-item-card .info{min-width:0}.shop-item-card .info strong{display:block;font-size:15px}.shop-item-card .info .desc{display:block;font-size:12px;color:var(--color-text-sub);margin-top:2px}.shop-item-card .info .meta{display:block;font-size:13px;color:var(--color-primary);font-weight:700;margin-top:4px}.shop-item-card .buy-btn{flex-shrink:0;width:auto}.select-bar{position:sticky;bottom:76px;z-index:12;margin-top:12px;padding:12px 14px;background:var(--color-card);border:1px solid var(--color-border);border-radius:14px;box-shadow:0 -4px 12px rgba(0,0,0,0.06)}.select-bar-summary{display:flex;justify-content:space-between;align-items:baseline;gap:10px;font-size:14px}.select-bar-summary strong{font-size:16px;color:var(--color-primary);white-space:nowrap}.select-bar-note{font-size:12px;color:var(--color-text-sub);margin-top:4px;min-height:16px}.select-bar-note.over{color:var(--color-red);font-weight:600}.select-bar .btn{margin-top:8px}.deposit-layout{display:flex;flex-direction:column;gap:16px}.deposit-form-col,.deposit-list-col{width:100%}.deposit-selected-count{font-size:13px;color:var(--color-text-sub);margin-bottom:10px}.deposit-selected-count strong{color:var(--color-text)}.bulk-bar{position:fixed;bottom:76px;left:50%;transform:translateX(-50%);width:100%;max-width:480px;background:#fff;border-top:1px solid var(--color-border);padding:14px 20px;box-shadow:0 -4px 12px rgba(0,0,0,0.08);z-index:15}.hidden{display:none!important}.top-bar{display:flex;align-items:center;justify-content:space-between;padding:16px 20px;background:var(--color-primary);color:#fff;position:sticky;top:0;z-index:10}.top-bar .title{font-size:17px;font-weight:700}.top-bar .sub{font-size:12px;opacity:0.85}.top-bar button.icon-btn{background:rgba(255,255,255,0.18);border:none;color:#fff;border-radius:10px;padding:6px 12px;font-size:13px}.screen{padding:20px;flex:1}.center-screen{flex:1;display:flex;flex-direction:column;justify-content:center;padding:32px 24px}.brand{text-align:center;margin-bottom:32px}.brand .emoji{font-size:44px}.brand h1{margin:8px 0 4px;font-size:24px}.brand-hub{display:block;margin:0 auto 4px;max-width:100%;height:auto}.brand-hub .hub-links{animation:hub-flow 1.6s linear infinite}.brand-hub .hub-node{animation:hub-bob 3.2s ease-in-out infinite}.brand-hub .hub-n2{animation-delay:0.64s}.brand-hub .hub-n3{animation-delay:1.28s}.brand-hub .hub-n4{animation-delay:1.92s}.brand-hub .hub-n5{animation-delay:2.56s}.brand-hub text{font-family:inherit}@keyframes hub-flow{to{stroke-dashoffset:-14}}@keyframes hub-bob{0%,100%{transform:translateY(0)}50%{transform:translateY(-2px)}}@media(prefers-reduced-motion:reduce){.brand-hub .hub-links,.brand-hub .hub-node{animation:none}}.brand p{margin:0;color:var(--color-text-sub);font-size:13px}.card{background:var(--color-card);border-radius:var(--radius);box-shadow:var(--shadow);padding:20px;margin-bottom:16px}.balance-card{background:linear-gradient(135deg,var(--color-primary),var(--color-primary-dark));color:#fff;border-radius:var(--radius);padding:24px 20px;margin-bottom:16px}.balance-card .label{font-size:13px;opacity:0.85}.balance-card .amount{font-size:32px;font-weight:800;margin-top:6px}.balance-card .who{margin-top:10px;font-size:13px;opacity:0.9}.btn{display:inline-flex;align-items:center;justify-content:center;width:100%;padding:14px 16px;border-radius:12px;border:none;font-size:15px;font-weight:700;cursor:pointer;margin-top:8px}.btn-primary{background:var(--color-primary);color:#fff}.btn-primary:active{background:var(--color-primary-dark)}.btn-secondary{background:var(--color-gray-bg);color:var(--color-text)}.btn-outline{background:transparent;color:var(--color-primary);border:1.5px solid var(--color-primary)}.btn-danger{background:var(--color-red);color:#fff}.btn-sm{width:auto;padding:8px 14px;font-size:13px;margin-top:0;border-radius:10px}.btn:disabled{opacity:0.5;cursor:not-allowed}.btn-row{display:flex;gap:10px}.btn-row .btn{margin-top:0}label{display:block;font-size:13px;font-weight:600;margin:14px 0 6px;color:var(--color-text)}label .required{color:var(--color-red);margin-left:2px}label .hint{color:var(--color-text-sub);font-weight:400;font-size:12px}input[type=text],input[type=password],input[type=number],input[type=tel],input[type=date],input[type=datetime-local],input[type=time],select,textarea{width:100%;padding:12px 14px;border-radius:10px;border:1.5px solid var(--color-border);font-size:15px;background:#fff;color:var(--color-text);font-family:inherit}input:focus,select:focus,textarea:focus{outline:none;border-color:var(--color-primary)}textarea{resize:vertical;min-height:70px}.pin-input{letter-spacing:8px;text-align:center;font-size:22px;font-weight:700}.field-error{color:var(--color-red);font-size:12px;margin-top:4px;min-height:16px}.role-select-list{display:flex;flex-direction:column;gap:12px}.role-card{background:var(--color-card);border-radius:var(--radius);box-shadow:var(--shadow);padding:20px;display:flex;align-items:center;gap:14px;cursor:pointer;border:1.5px solid transparent}.role-card:active{border-color:var(--color-primary)}.role-card .emoji{font-size:28px}.role-card .txt strong{display:block;font-size:15px}.role-card .txt span{font-size:12px;color:var(--color-text-sub)}.link-btn{background:none;border:none;color:var(--color-primary);font-size:13px;font-weight:600;cursor:pointer;padding:8px 0}.notice-box{background:var(--color-yellow-bg);color:#7a5c00;border-radius:12px;padding:12px 14px;font-size:12.5px;margin-bottom:16px;border:1px solid #f0dca0}.section-title{font-size:15px;font-weight:700;margin:4px 0 12px;display:flex;align-items:center;justify-content:space-between}.section-title .more{font-size:12px;color:var(--color-primary);font-weight:600;cursor:pointer}.tx-item{display:flex;align-items:center;justify-content:space-between;padding:12px 0;border-bottom:1px solid var(--color-border)}.tx-item:last-child{border-bottom:none}#history-list .tx-item{content-visibility:auto;contain-intrinsic-size:auto 68px}.tx-item .tx-left{display:flex;flex-direction:column}.tx-item .tx-type{font-size:13.5px;font-weight:600}.tx-item .tx-reason{font-size:12px;color:var(--color-text-sub);margin-top:2px}.tx-item .tx-time{font-size:11px;color:var(--color-text-sub);margin-top:2px}.tx-item .tx-amount{font-size:15px;font-weight:700;white-space:nowrap}.tx-amount.in{color:var(--color-green)}.tx-amount.out{color:var(--color-red)}.empty-state{text-align:center;color:var(--color-text-sub);font-size:13px;padding:24px 0}.badge{display:inline-flex;align-items:center;justify-content:center;min-width:18px;height:18px;padding:0 5px;border-radius:999px;background:var(--color-red);color:#fff;font-size:11px;font-weight:700;margin-left:6px}.status-pill{display:inline-block;padding:3px 10px;border-radius:999px;font-size:11px;font-weight:700}.status-pill.pending,.status-pill.대기{background:var(--color-yellow-bg);color:var(--color-yellow)}.status-pill.active,.status-pill.approved,.status-pill.승인{background:var(--color-green-bg);color:var(--color-green)}.status-pill.rejected,.status-pill.거절{background:var(--color-red-bg);color:var(--color-red)}.status-pill.inactive{background:var(--color-gray-bg);color:var(--color-gray)}.status-pill.archived{background:#eef1f6;color:#5b6472}.history-archive{margin-top:12px;text-align:center}.history-archive .muted{margin:6px 0 0}.history-archive .muted:empty{display:none}.list-row{display:flex;align-items:center;justify-content:space-between;padding:14px 0;border-bottom:1px solid var(--color-border);gap:10px}.list-row:last-child{border-bottom:none}.list-row .meta strong{display:block;font-size:14px}.list-row .meta span{font-size:12px;color:var(--color-text-sub)}.list-row .actions{display:flex;gap:6px}.list-row .meta .badge{color:#fff;font-size:11px}.purchase-student{border-bottom:1px solid var(--color-border)}.purchase-student:last-child{border-bottom:none}.purchase-student>.list-row{border-bottom:none}.purchase-student-head.clickable{cursor:pointer}.purchase-student-head.muted-row .meta strong{color:var(--color-text-sub);font-weight:600}.purchase-toggle{flex-shrink:0;font-size:12px;font-weight:700;color:var(--color-primary);white-space:nowrap}.purchase-orders{background:var(--color-gray-bg);border-radius:10px;padding:2px 12px;margin:0 0 14px}.purchase-orders .list-row{padding:10px 0}.status-pill.지급완료{background:var(--color-green-bg);color:var(--color-green)}.status-pill.취소{background:var(--color-gray-bg);color:var(--color-gray)}.card.clickable{cursor:pointer}.money-bag{position:relative;display:flex;flex-direction:column;align-items:center;padding:6px 0 2px;overflow:hidden}.money-bag-figure{width:72%;max-width:min(440px,46vh)}.money-bag-svg{display:block;width:100%;height:auto;overflow:visible}.bag-body{fill:#fdf3e1}.bag-outline{fill:none;stroke:#9a6531;stroke-width:5;stroke-linejoin:round}.bag-top{fill:#ecc98c;stroke:#9a6531;stroke-width:4;stroke-linejoin:round}.bag-tie{fill:#9a6531}.bag-symbol{font-size:46px;font-weight:800;fill:rgba(122,76,28,0.3);font-family:serif}.bag-fill{transition:transform 1.1s cubic-bezier(0.22,1,0.36,1)}.bag-wave{animation:bag-wave 3.2s linear infinite}.bag-liquid{fill:#ffe08a;transition:fill 0.6s ease}.money-bag.stage-2 .bag-liquid{fill:#f7b733}.money-bag.stage-3 .bag-liquid{fill:#f08a24}.money-bag.stage-done .bag-liquid{fill:#2fb574}@keyframes bag-wave{from{transform:translateX(0)}to{transform:translateX(100px)}}.money-bag-stats{text-align:center;margin-top:8px}.money-bag-percent{font-size:46px;font-weight:800;line-height:1.1;color:var(--color-text);transition:color 0.6s ease}.money-bag.stage-3 .money-bag-percent{color:#e07b12}.money-bag.stage-done .money-bag-percent{color:var(--color-green)}.money-bag-amount{font-size:15px;color:var(--color-text-sub);margin-top:2px}.money-bag-amount strong{color:var(--color-text);font-size:17px}.donation-king{text-align:center;margin-top:10px;font-size:15px;font-weight:700}.king-badge{display:inline-block;padding:3px 10px;border-radius:999px;background:#fff3c4;color:#9a6a00;font-size:12px;font-weight:700}.donation-king .king-badge{margin-right:6px}.emperor-badges{display:flex;flex-wrap:wrap;gap:4px;margin-top:4px}.emperor-badge{display:inline-block;padding:2px 8px;border-radius:999px;background:#fff3c4;color:#8a5a00;font-size:11.5px;font-weight:800;white-space:nowrap}.emperor-badge.emperor-donation{background:#ffe3ec;color:#a61e4d}.emperor-badge.emperor-stock{background:#e3f0ff;color:#1c5fb8}.emperor-badge.emperor-news{background:#e2f8f6;color:#0b4f4a}.emperor-badge.emperor-worry{background:#fff0e8;color:#7a2e14}.emperor-badge.emperor-quiz{background:#f1e8ff;color:#5b2ab8}.emperor-badge.emperor-game{background:#eefbe8;color:#1f5e2a}.tx-amount.cancelled{text-decoration:line-through;opacity:0.55}.tx-right{display:flex;flex-direction:column;align-items:flex-end;gap:6px;flex-shrink:0}.donation-mine{text-align:center;margin-top:6px;font-size:13px;color:var(--color-text-sub);min-height:18px}#donate-campaign-list,#campaign-manage-list{display:grid;gap:16px;margin-bottom:16px}#donate-campaign-list>.card,#campaign-manage-list>.card{margin-bottom:0}.campaign-card.ended{opacity:0.88}.campaign-head{display:flex;align-items:flex-start;justify-content:space-between;gap:10px}.campaign-title{margin:0;font-size:17px;font-weight:800;line-height:1.35;word-break:keep-all}.campaign-period{flex-shrink:0;padding:3px 10px;border-radius:999px;font-size:12px;font-weight:800}.campaign-period.until{background:#fff1e6;color:#b45309}.campaign-period.always{background:var(--color-green-bg);color:var(--color-green)}.campaign-period.ended{background:var(--color-gray-bg);color:var(--color-gray)}.campaign-proposer{display:inline-block;margin-top:6px;padding:3px 10px;border-radius:999px;background:#eef4ff;color:var(--color-primary-dark);font-size:12px;font-weight:700}.campaign-proposer.has-av{display:flex;align-items:center;gap:12px;margin-top:10px;padding:8px 14px 0;border-radius:18px;background:radial-gradient(70% 70% at 12% 100%,rgba(165,192,255,0.55),rgba(165,192,255,0) 70%),linear-gradient(135deg,#f3f7ff,#e4ecff);font-size:14px}.campaign-proposer-av{flex:0 0 auto;width:96px;height:128px;object-fit:contain;object-position:50% 100%;align-self:flex-end;filter:drop-shadow(0 4px 4px rgba(30,60,140,0.2))}.campaign-proposer-say{position:relative;padding:9px 13px;border-radius:14px;background:#fff;box-shadow:0 4px 12px rgba(30,60,140,0.12);word-break:keep-all;line-height:1.4;margin-bottom:8px}.campaign-proposer-say::before{content:"";position:absolute;left:-8px;top:50%;margin-top:-8px;border-style:solid;border-width:8px 9px 8px 0;border-color:transparent #fff transparent transparent}@media(min-width:900px){.campaign-proposer-av{width:120px;height:160px}.campaign-proposer.has-av{font-size:15px}}.campaign-desc{margin:8px 0 0;font-size:13.5px;color:var(--color-text-sub);line-height:1.5;white-space:pre-wrap;word-break:keep-all}.campaign-card .money-bag{margin-top:6px}.campaign-card .money-bag-figure{width:56%;max-width:230px}.campaign-card .money-bag-percent{font-size:38px}.campaign-card>.btn{margin-top:12px}.campaign-closed-note{margin-top:12px;padding:8px 10px;border-radius:8px;background:var(--color-gray-bg);color:var(--color-text-sub);font-size:13px;text-align:center}.campaign-closed-note.success{background:var(--color-green-bg);color:#136c39;font-weight:700}.campaign-closed-note.failed{background:var(--color-red-bg);color:#a61f26;font-weight:700}.campaign-closed-note.kept{color:#4b5563}.campaign-closed-why{display:block;margin-top:4px;font-size:12.5px;line-height:1.45;word-break:keep-all}.campaign-card.ended.judged,.campaign-manage-card.ended.judged{opacity:1}.campaign-result{display:inline-flex;align-items:center;gap:4px;margin-top:8px;padding:4px 12px;border-radius:999px;font-size:13px;font-weight:800;line-height:1.4}.campaign-result.success{background:linear-gradient(135deg,#178045,#11673a);color:#fff;box-shadow:0 2px 8px rgba(17,103,58,0.25)}.campaign-result.failed{background:var(--color-red-bg);color:#a61f26;border:1px solid #f5c2c4}.campaign-result.kept{background:var(--color-gray-bg);color:#4b5563;border:1px solid #d6d9de}.campaign-result.settling{background:var(--color-yellow-bg);color:#8a5a00;border:1px dashed #e8c66a}.campaign-refund{margin-top:12px;padding:16px 12px 14px;border-radius:14px;background:linear-gradient(180deg,#fff8f8,#fdecec);border:1px dashed #f1b5b8;text-align:center}.campaign-refund-icon{font-size:30px;line-height:1}.campaign-refund-label{margin-top:8px;font-size:12.5px;font-weight:700;color:var(--color-text-sub)}.campaign-refund-amount{margin-top:2px;font-size:28px;font-weight:800;line-height:1.2;color:var(--color-text)}.campaign-refund-goal{font-size:14px;font-weight:700;color:var(--color-text-sub)}.campaign-refund-sub{margin-top:6px;font-size:13px;font-weight:700;color:#a61f26}.donation-mine.refunded{color:#a61f26;font-weight:700}.campaign-numbers.refunded{margin-top:12px}.campaign-locked-period{margin:8px 0 0}#cm-goal:disabled{background:var(--color-gray-bg);color:var(--color-text-sub);cursor:not-allowed}.campaign-ranking{margin-top:12px}.campaign-ranking summary{cursor:pointer;font-weight:700;font-size:13.5px}.campaign-manage-card{position:relative}.campaign-manage-card .campaign-head{padding-left:30px}.campaign-select{position:absolute;left:18px;top:20px}.campaign-select input{width:18px;height:18px;margin:0;accent-color:var(--color-primary)}.campaign-manage-card .progress-bar-track{margin-top:12px}.campaign-numbers{margin-top:8px;font-size:13px;color:var(--color-text-sub)}.campaign-numbers strong{color:var(--color-text)}.campaign-when{margin-top:2px;font-size:12.5px;color:var(--color-text-sub)}.campaign-actions{margin-top:10px;flex-wrap:wrap}.campaign-archived-row{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 0;border-top:1px solid var(--color-border)}.period-choice{display:grid;gap:2px}.period-choice .check-line{margin:4px 0}.period-choice .period-end{margin-top:4px}.period-hint{margin:4px 0 0;font-size:12.5px;line-height:1.45;color:var(--color-text-sub);word-break:keep-all}.proposal-row{padding:12px 0;border-bottom:1px solid var(--color-border)}.proposal-row:last-child{border-bottom:none}.proposal-top{display:flex;align-items:center;justify-content:space-between;gap:6px 10px;flex-wrap:wrap}.proposal-desc{margin:6px 0 0;font-size:13.5px;color:var(--color-text-sub);white-space:pre-wrap;line-height:1.5;word-break:keep-all}.proposal-result{margin-top:6px;font-size:13px;font-weight:600}.proposal-time{margin-top:4px;font-size:12px;color:var(--color-gray)}.proposal-row .btn-row{margin-top:10px}.dashboard-donation-title{margin-top:6px;font-size:13.5px;font-weight:700;color:var(--color-text-sub);text-align:center;word-break:keep-all}.money-bag.celebrate .money-bag-svg{animation:bag-celebrate 0.9s ease-out;filter:drop-shadow(0 0 18px rgba(255,196,60,0.85))}@keyframes bag-celebrate{0%{transform:scale(1)}35%{transform:scale(1.07) rotate(-2deg)}70%{transform:scale(0.98) rotate(1deg)}100%{transform:scale(1)}}.confetti-layer{position:absolute;inset:0;pointer-events:none;overflow:hidden}.confetti-piece{position:absolute;top:-14px;width:8px;height:13px;border-radius:2px;animation:confetti-fall 1.9s ease-in forwards}@keyframes confetti-fall{0%{transform:translateY(0) rotate(0deg);opacity:1}100%{transform:translateY(460px) rotate(560deg);opacity:0}}.money-bag .mb-done{display:none;margin-top:6px;font-size:16px;font-weight:800;color:var(--color-green)}.money-bag.stage-done .mb-done{display:block}@media(prefers-reduced-motion:reduce){.bag-wave{animation:none}.bag-fill{transition-duration:0.8s}.money-bag.celebrate .money-bag-svg{animation:none}.confetti-piece{display:none}}:root{--up: #e0393e;--down: #1f6fe5;--flat: #8a8f98;--up-text: #c62828;--down-text: #1a5ccc;--chart-grid: #eceef1;--chart-axis: #8a8f98;--series-1: #2a78d6;--series-2: #eb6834;--series-3: #1baf7a;--series-4: #eda100;--series-5: #e87ba4;--series-6: #008300;--series-7: #4a3aa7;--series-8: #e34948}.up-text{color:var(--up-text)}.down-text{color:var(--down-text)}.ok-text{color:#117a45}.warn-text{color:#c62828}.flat-text{color:var(--color-text-sub)}.stock-portfolio .pf-label{font-size:13px;color:var(--color-text-sub)}.stock-portfolio .pf-value{font-size:30px;font-weight:800;margin-top:2px}.stock-portfolio .pf-profit{font-size:15px;font-weight:700;margin-top:2px}.stock-portfolio .pf-sub{font-size:12.5px;color:var(--color-text-sub);margin-top:6px}.stock-card{transition:transform 0.15s ease,box-shadow 0.15s ease}.stock-card:hover{transform:translateY(-2px)}.stock-card-top{display:flex;justify-content:space-between;align-items:flex-start;gap:10px}.stock-card-name{font-size:15px;font-weight:700}.stock-card-price{font-size:20px;font-weight:800;text-align:right;border-radius:6px;padding:0 4px}.stock-card-delta{font-size:13px;font-weight:700;text-align:right}.stock-card-spark{display:block;width:100%;height:auto;margin-top:8px}.stock-card-holding{font-size:12.5px;color:var(--color-text-sub);margin-top:6px}.stock-card-holding.mine{display:grid;gap:4px;margin-top:8px;padding-top:8px;border-top:1px solid var(--color-border);font-size:13px;font-variant-numeric:tabular-nums}.mine-line{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 10px}.mine-line>:last-child{margin-left:auto;white-space:nowrap}.mine-line strong{color:var(--color-text)}.badge-etf{display:inline-block;padding:2px 8px;border-radius:999px;background:#e8f0fe;color:#1e4fbf;font-size:11px;font-weight:800;margin-left:6px;vertical-align:middle}.badge-halted{display:inline-block;padding:2px 8px;border-radius:999px;background:var(--color-gray-bg);color:var(--color-text-sub);font-size:11px;font-weight:700;margin-left:6px;vertical-align:middle}.badge-cat{display:inline-block;padding:2px 8px;border-radius:999px;font-size:11px;font-weight:800;margin-left:6px;vertical-align:middle;white-space:nowrap}.badge-cat.class{background:#fff1e6;color:#9a4a08}.badge-cat.general{background:#e6edf3;color:#2f4b63}.sector-chips{margin-top:-2px}.sector-chips .range-btn{padding:5px 10px;font-size:12px}.sector-chips .range-btn span{font-weight:600;opacity:0.8}.flash-up{animation:flash-up 1.4s ease-out}.flash-down{animation:flash-down 1.4s ease-out}@keyframes flash-up{0%{background:rgba(224,57,62,0.28)}100%{background:transparent}}@keyframes flash-down{0%{background:rgba(31,111,229,0.24)}100%{background:transparent}}.stock-detail-head{text-align:center;margin:2px 0 14px}.stock-detail-name{font-size:17px;font-weight:700}.stock-hero{font-size:48px;font-weight:800;line-height:1.15;margin-top:2px}.stock-delta{font-size:18px;font-weight:800}.stock-range-row{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-bottom:10px}.range-btn{border:1.5px solid var(--color-border);background:#fff;color:var(--color-text-sub);padding:6px 12px;border-radius:999px;font-size:12.5px;font-weight:700;cursor:pointer;font-family:inherit}.range-btn.active{background:var(--color-text);border-color:var(--color-text);color:#fff}.stock-range-change{margin-left:auto;font-size:13px;font-weight:700}.stock-chart-wrap{position:relative;height:300px}.stock-chart-message{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:0 20px;text-align:center;font-size:13px;color:var(--color-text-sub);background:var(--color-card)}table th,table td{text-align:center}.stock-table{max-height:260px;overflow-y:auto;margin-top:6px}.stock-table table{width:100%;border-collapse:collapse;font-size:13px;font-variant-numeric:tabular-nums}.stock-table th,.stock-table td{padding:7px 4px;border-bottom:1px solid var(--color-border);text-align:center}.stock-table th{position:sticky;top:0;background:var(--color-card);color:var(--color-text-sub);font-weight:600}.etf-bar{display:flex;gap:2px;height:24px;border-radius:6px;overflow:hidden;background:var(--color-card)}.etf-seg{display:flex;align-items:center;justify-content:center;min-width:4px;font-size:11.5px;font-weight:800;white-space:nowrap}.etf-legend{margin-top:10px}.etf-legend-row{display:flex;align-items:center;gap:10px;padding:8px 0;border-bottom:1px solid var(--color-border);font-size:13.5px}.etf-legend-row:last-child{border-bottom:none}.etf-swatch{width:12px;height:12px;border-radius:3px;flex-shrink:0}.etf-legend-name{flex:1;font-weight:600;min-width:0}.etf-legend-weight{font-weight:800;text-align:right}.etf-legend-price{text-align:right;font-size:12.5px;min-width:96px}.stock-holding .hold-row{display:flex;justify-content:space-between;padding:5px 0;font-size:14px}.stock-holding .hold-row span:first-child{color:var(--color-text-sub)}.trade-total{font-size:18px;font-weight:800;margin-top:12px}.etf-row{display:flex;gap:8px;align-items:center;margin-top:8px}.etf-row select{flex:2;min-width:0}.etf-row input{flex:1;min-width:0}.etf-row .btn{flex-shrink:0}.etf-summary{margin-top:10px;font-size:13.5px;font-weight:700}.stock-source-note{font-size:11.5px;margin-top:4px}.stock-ticker{font-size:11.5px;font-weight:600;color:var(--color-text-sub);margin-top:2px}.stock-session{white-space:nowrap;font-weight:700}.stock-session.pre{color:#b45309}.stock-session.post{color:#5b2bb8}.stock-quote-preview{margin-top:10px;padding:10px 12px;border-radius:10px;background:var(--color-gray-bg);font-size:13.5px}.stock-manage-info{font-size:12.5px;color:var(--color-text-sub);margin-top:6px}.stock-manage-actions{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:12px}.stock-manage-actions label{margin:0;display:flex;align-items:center;gap:6px;font-size:13px}.preset-tabs{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:10px}.preset-actions{display:flex;gap:8px;flex-wrap:wrap;margin-top:10px}.preset-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(136px,1fr));gap:6px;max-height:380px;overflow-y:auto;margin-top:10px;padding:2px}.preset-group-title{grid-column:1 / -1;font-size:12.5px;font-weight:800;color:var(--color-text-sub);margin-top:8px}.preset-group-title:first-child{margin-top:0}.preset-group-title span{font-weight:600}.preset-empty{grid-column:1 / -1}.preset-item{display:flex;align-items:center;gap:6px;margin:0;padding:8px;min-width:0;border:1.5px solid var(--color-border);border-radius:10px;background:#fff;cursor:pointer}.preset-item input{width:18px;height:18px;flex-shrink:0;margin:0;accent-color:var(--color-primary)}.preset-item.checked{border-color:var(--color-primary);background:#eef4ff}.preset-item.added{background:var(--color-gray-bg);color:var(--color-text-sub);cursor:default}.preset-item-text{display:flex;flex-direction:column;min-width:0;line-height:1.3}.preset-item-name{font-size:13px;font-weight:700;overflow-wrap:anywhere}.preset-item-code{font-size:11px;font-weight:600;color:var(--color-text-sub)}.preset-star{margin-left:auto;font-size:11px;flex-shrink:0}.preset-footer{display:flex;gap:10px;align-items:flex-end;margin-top:12px}.preset-ratio{width:110px;flex-shrink:0}.preset-ratio label{margin:0 0 6px}.preset-footer .btn{flex:1;margin-top:0;min-height:48px}.modal-box.name-review-box{display:flex;flex-direction:column;max-height:92vh}.name-word-row{display:flex;gap:8px;align-items:center;margin-bottom:10px}.name-word-row input{flex:1;min-width:0;padding:9px 12px}.name-word-row .btn{flex-shrink:0}.name-review-list{flex:1 1 auto;min-height:90px;overflow-y:auto;border-top:1px solid var(--color-border);border-bottom:1px solid var(--color-border);margin-bottom:10px}.name-review-row{padding:10px 2px;border-bottom:1px solid var(--color-border)}.name-review-row:last-child{border-bottom:none}.name-review-row input{padding:9px 12px;font-weight:700}.name-review-row input.invalid{border-color:var(--color-red)}.name-review-meta{font-size:12px;color:var(--color-text-sub);margin-top:4px}.name-review-error{color:var(--color-red);font-size:12px;font-weight:600;margin-top:2px}.name-review-error:empty{display:none}.modal-box p.name-review-note{margin-bottom:12px;font-size:12.5px}.stock-select{margin:2px 0 0;flex-shrink:0;cursor:pointer}.stock-select input{width:18px;height:18px;margin:0;accent-color:var(--color-red);cursor:pointer}.stock-select input:disabled{cursor:not-allowed}.stock-card-top .stock-card-main{flex:1;min-width:0}.card.stock-selected{box-shadow:0 0 0 2px var(--color-red),var(--shadow)}.screen.has-bulk-bar{padding-bottom:190px}.bulk-bar .btn{word-break:keep-all}.stock-bulk-hint{margin-top:6px;font-size:12px}.stock-bulk-hint:empty{display:none}.stock-tab-tools{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.stock-tab-picked{font-size:12.5px;font-weight:700;color:var(--color-red)}.stock-tab-picked:empty{display:none}.stock-tab-note{font-size:12px;margin:6px 0 12px}.stock-selected-breakdown{font-weight:700;color:var(--color-text)}.stock-bulk-summary{margin-bottom:8px}.bulk-bar .stock-bulk-quick{flex-wrap:wrap;gap:6px;margin-bottom:8px}.bulk-bar .stock-bulk-quick .btn{flex:1 1 auto}#view-stock-manage.has-bulk-bar{padding-bottom:340px}@media(max-width:479px){#stock-bulk-bar{padding:10px 14px}#stock-bulk-bar .stock-bulk-summary{margin-bottom:6px;font-size:12.5px}#stock-bulk-bar .stock-bulk-actions{display:grid;grid-template-columns:1fr 1fr;gap:6px}#stock-bulk-bar .stock-bulk-actions>.btn-row{display:contents}#stock-bulk-bar .stock-bulk-actions .btn{width:100%;min-height:36px;padding:8px 6px;font-size:12.5px;border-radius:10px;margin:0}#stock-bulk-bar #stock-bulk-delete-btn{grid-column:1 / -1}#stock-bulk-bar #stock-bulk-interval-btn{grid-column:1 / -1}#view-stock-manage.has-bulk-bar{padding-bottom:340px}}.cat-choice{margin-top:2px}.sector-list{display:grid;gap:8px}.sector-row{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:8px 12px;padding:10px 12px;border:1px solid var(--color-border);border-radius:12px;background:var(--color-card)}.sector-row.off{background:var(--color-gray-bg)}.sector-row-main{flex:1 1 220px;min-width:0}.sector-row-name{font-weight:700;font-size:14px;word-break:keep-all}.sector-row-meta{font-size:12px;color:var(--color-text-sub);margin-top:2px;word-break:keep-all}.sector-row-desc{font-size:12.5px;margin-top:4px}.sector-row-actions{display:flex;flex-wrap:wrap;gap:6px}.sector-row-actions .btn{word-break:keep-all}.feature-add-box{margin-top:12px}.feature-add-box>summary{cursor:pointer;font-weight:700;font-size:14px;color:var(--color-primary);padding:6px 0}.relation-form-grid{display:grid;grid-template-columns:1fr;gap:0 8px}.relation-form-grid select{width:100%}@media(min-width:420px){.relation-form-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}.relation-type-hint{font-size:12px;margin:6px 0 0}.relation-type-hint:empty{display:none}.class-settings-grid.two{grid-template-columns:repeat(2,minmax(0,1fr))}.modal-box textarea.profile-input{min-height:56px}.stock-split-note{display:inline-block;margin-top:6px;padding:3px 8px;border-radius:8px;background:var(--color-yellow-bg);color:#7a5a00;font-size:12px;font-weight:700}.stock-split-note.detail{display:block;margin:8px auto 0;max-width:460px;font-weight:600;line-height:1.45}.modal-box.split-box{display:flex;flex-direction:column;max-height:92vh;overflow-y:auto}.split-now{font-size:13px;background:var(--color-gray-bg);border-radius:10px;padding:10px 12px;margin-bottom:12px}.split-choices{display:grid;grid-template-columns:1fr 1fr;gap:8px}.split-group-title{grid-column:1 / -1;font-size:12.5px;font-weight:800;color:var(--color-text-sub);margin-top:4px}.split-choice{display:flex;gap:8px;align-items:flex-start;margin:0;padding:10px;border:1.5px solid var(--color-border);border-radius:10px;cursor:pointer;font-weight:400}.split-choice input{width:16px;height:16px;margin:2px 0 0;flex-shrink:0;accent-color:var(--color-primary)}.split-choice.checked{border-color:var(--color-primary);background:#eef4ff}.split-choice.disabled{opacity:0.55;cursor:not-allowed}.split-choice-title{display:block;font-size:13.5px;font-weight:700}.split-choice-sub{display:block;font-size:12px;font-weight:600;color:var(--color-text-sub);margin-top:2px}.split-effect{font-size:13px;line-height:1.5;margin:12px 0;padding:10px 12px;border-radius:10px;background:var(--color-gray-bg)}.split-effect ul{margin:6px 0 0;padding-left:18px}.split-effect-note{margin-top:6px;font-size:12px;color:var(--color-text-sub)}.rtx-batch{padding-bottom:6px;border-bottom:1px solid var(--color-border)}.rtx-batch:last-child{border-bottom:none;padding-bottom:0}.rtx-batch-head{display:flex;justify-content:space-between;align-items:center;gap:10px;padding:10px 0 4px}.rtx-batch-head .meta{min-width:0}.rtx-batch-head .meta strong{display:block;font-size:14px}.rtx-batch-head .meta span{font-size:12px;color:var(--color-text-sub)}.rtx-batch-head .btn{flex-shrink:0}.list-row.rtx-row{padding:8px 0 8px 2px;border-bottom:none;gap:10px}.list-row.rtx-row.selected{background:var(--color-red-bg);border-radius:10px}.rtx-check{display:flex;align-items:center;gap:10px;margin:0;flex:1;min-width:0;cursor:pointer;font-weight:400}.rtx-check input{width:18px;height:18px;margin:0 0 0 6px;flex-shrink:0;accent-color:var(--color-red);cursor:pointer}.rtx-check input:disabled{cursor:not-allowed}.rtx-row .actions{align-items:center;flex-shrink:0}.rtx-amount{font-weight:800;white-space:nowrap}.rtx-amount.minus{color:var(--color-red)}.rtx-amount.plus{color:var(--color-green)}.rtx-amount.cancelled{text-decoration:line-through;color:var(--color-text-sub);font-weight:600}.class-settings-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}.class-settings-grid input{padding:10px 12px}.check-line{display:flex;align-items:center;gap:8px;font-weight:600;font-size:13px;margin:12px 0 4px;cursor:pointer}.check-line input{width:18px;height:18px;margin:0;accent-color:var(--color-primary)}.modal-box p.vol-preview{font-size:13px;font-weight:700;color:var(--color-text);margin:10px 0 4px}.delisted-box{background:var(--color-card);border-radius:var(--radius);box-shadow:var(--shadow);padding:14px 18px}.delisted-box summary{cursor:pointer;font-weight:800;font-size:14px}.delisted-box[open] summary{margin-bottom:4px}.delisted-card{background:var(--color-gray-bg);box-shadow:none}.stock-delisted-note{display:block;margin:8px auto 0;max-width:460px;padding:6px 10px;border-radius:8px;background:var(--color-gray-bg);color:var(--color-text-sub);font-size:12.5px;font-weight:600;line-height:1.45}.class-create-fill{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-bottom:10px}.class-create-fill input{flex:1 1 140px;min-width:0;padding:9px 12px}.class-create-rows{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:8px;margin-bottom:8px}.class-create-row{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.class-create-row .cc-industry{flex:1 0 calc(100% - 28px);margin:0 0 4px 28px;padding:7px 10px;font-size:13.5px;min-width:0}#class-create-fill-industry{width:auto;max-width:100%;padding:8px 10px;font-size:13.5px}.class-create-row .cc-no{flex:0 0 22px;font-size:12px;font-weight:800;color:var(--color-text-sub);text-align:right}.class-create-row .cc-name{flex:3 1 0;min-width:0;padding:9px 10px;font-weight:700}.class-create-row .cc-price{flex:2 1 0;min-width:0;padding:9px 10px;text-align:right}.class-create-row .cc-unit{flex:0 0 auto;font-size:13px;color:var(--color-text-sub)}.class-create-row input.invalid{border-color:var(--color-red)}.holdings-controls{display:flex;gap:10px;align-items:center;flex-wrap:wrap;margin-bottom:12px}.holdings-controls .preset-tabs{margin-bottom:0}.holdings-controls select{flex:1 1 180px;width:auto;min-width:0;padding:8px 12px;font-size:14px}.holdings-table-wrap{overflow-x:auto}.holdings-table{width:100%;border-collapse:collapse;font-size:13px;font-variant-numeric:tabular-nums;white-space:nowrap}.holdings-table th,.holdings-table td{padding:8px 6px;border-bottom:1px solid var(--color-border);text-align:center}.holdings-table thead th{color:var(--color-text-sub);font-weight:600;font-size:12px}.holdings-table tr.hold-group th{background:var(--color-gray-bg);font-weight:800;font-size:13px}.holdings-table td .muted{font-size:11px}.holdings-table{display:none}.holdings-list{font-size:14px;font-variant-numeric:tabular-nums}.hold-m-group+.hold-m-group{margin-top:14px}.hold-m-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 10px;padding:8px 10px;border-radius:8px;background:var(--color-gray-bg);font-size:13px}.hold-m-sum{margin-left:auto;font-weight:700;white-space:nowrap}.hold-m-row{padding:10px 2px;border-bottom:1px solid var(--color-border)}.hold-m-row:last-child{border-bottom:none}.hold-m-line{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 10px}.hold-m-line>:last-child{margin-left:auto;white-space:nowrap}.hold-m-name{font-weight:600;min-width:0}.hold-m-sub{margin-top:3px;font-size:12px;color:var(--color-text-sub)}.tx-item .tx-select{flex:0 0 28px;margin:0;display:flex;align-items:center}.tx-item .tx-select input{width:18px;height:18px;margin:0;accent-color:var(--color-red);cursor:pointer}.tx-item.selectable .tx-left{flex:1;min-width:0}.tx-item.selected{background:var(--color-red-bg);border-radius:10px}#history-cancel-tools .muted{flex-basis:100%}.goal-preview{font-size:13px;font-weight:600;margin:8px 0 16px;min-height:20px}.list-row.admin-donation-row{flex-wrap:wrap;row-gap:8px}.list-row.admin-stock-row{flex-wrap:wrap;row-gap:6px}.admin-stock-detail{flex-basis:100%}.admin-stock-detail .progress-bar-track{margin-top:2px;height:10px}.admin-stock-detail .muted{margin-top:6px;word-break:keep-all}.progress-bar-fill.admin-stock-fill{background:#8b5cf6}.admin-donation-actions{flex-basis:100%;display:flex;justify-content:flex-end}.rank-row.me{background:#fff8e1;border-radius:10px;padding-left:8px;padding-right:8px}.purchase-select-student{display:flex;align-items:center;gap:8px;margin:0;padding:10px 0;font-size:13px;font-weight:700;color:var(--color-text);cursor:pointer;border-bottom:1px solid var(--color-border)}.bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:480px;background:#fff;border-top:1px solid var(--color-border);display:flex;z-index:20}.bottom-nav .nav-item{flex:1;text-align:center;padding:10px 4px 12px;font-size:11px;color:var(--color-text-sub);cursor:pointer;background:none;border:none;font-family:inherit;position:relative}.bottom-nav .nav-item .nav-emoji{display:block;font-size:19px;margin-bottom:2px}.bottom-nav .nav-item.active{color:var(--color-primary);font-weight:700}.bottom-nav .nav-item.nav-secondary{display:none}.modal-overlay{position:fixed;inset:0;background:rgba(15,17,25,0.5);display:flex;align-items:flex-end;justify-content:center;z-index:100}.modal-box{background:#fff;width:100%;max-width:480px;border-radius:20px 20px 0 0;padding:24px 20px 28px}.modal-box h3{margin:0 0 8px;font-size:17px}.modal-box p{margin:0 0 16px;font-size:13.5px;color:var(--color-text-sub);white-space:pre-line}.modal-box .modal-detail{background:var(--color-gray-bg);border-radius:12px;padding:12px 14px;font-size:13px;margin-bottom:16px}.modal-box .modal-detail{max-height:50vh;overflow-y:auto}.modal-box .modal-detail div{display:flex;justify-content:space-between;gap:12px;padding:3px 0}.modal-box .modal-detail .v{text-align:right}.modal-box .modal-detail .k{color:var(--color-text-sub)}.modal-box .modal-detail .k,.modal-box .modal-detail .v{word-break:keep-all}.toast-wrap{position:fixed;top:14px;left:50%;transform:translateX(-50%);width:calc(100% - 40px);max-width:440px;z-index:200;display:flex;flex-direction:column;gap:8px;pointer-events:none}.toast{padding:12px 16px;border-radius:12px;font-size:13.5px;font-weight:600;box-shadow:var(--shadow);animation:toast-in 0.2s ease-out}.toast.success{background:var(--color-green);color:#fff}.toast.error{background:var(--color-red);color:#fff}.toast.info{background:#333;color:#fff}@keyframes toast-in{from{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.spinner{width:16px;height:16px;border:2px solid rgba(255,255,255,0.4);border-top-color:#fff;border-radius:50%;display:inline-block;animation:spin 0.7s linear infinite;margin-right:6px;vertical-align:middle}@keyframes spin{to{transform:rotate(360deg)}}.muted{color:var(--color-text-sub);font-size:12.5px}.text-center{text-align:center}.mt-16{margin-top:16px}.mb-0{margin-bottom:0}.top-bar-actions{display:flex;align-items:center;justify-content:flex-end;flex-wrap:wrap;gap:8px;min-width:0}.top-bar>:first-child{flex-shrink:0}.top-bar{gap:12px}.modal-box{max-height:92vh;overflow-y:auto}@supports (height: 100dvh){.modal-box{max-height:92dvh}}.modal-box{padding-bottom:calc(28px + env(safe-area-inset-bottom))}@supports (-webkit-touch-callout: none){input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=file]),select,textarea{font-size:16px!important}}.home-hello{margin:4px 0 18px;position:relative}.home-hello-gear{position:absolute;top:8px;right:8px;z-index:3;width:34px;height:34px;padding:0;border:1px solid rgba(150,110,20,0.18);border-radius:50%;background:rgba(255,255,255,0.85);font-size:17px;line-height:1;cursor:pointer;box-shadow:0 2px 6px rgba(150,110,20,0.12)}.home-hello-gear:hover,.home-hello-gear.active{background:#fff;box-shadow:0 4px 10px rgba(150,110,20,0.22)}.home-hello-gear:focus-visible{outline:3px solid #ffd54f;outline-offset:2px}.home-hello-gear.hidden,.home-settings-menu.hidden{display:none}@media(max-width:599px){.home-hello.has-avatar.has-gear{padding-top:40px}}.home-settings-menu{position:absolute;top:48px;right:8px;z-index:4;display:flex;flex-direction:column;min-width:180px;padding:6px;border-radius:14px;background:#fff;box-shadow:0 10px 28px rgba(0,0,0,0.16);border:1px solid var(--color-border)}.home-settings-menu button{padding:10px 12px;border:0;border-radius:10px;background:none;font:inherit;font-size:14px;font-weight:700;text-align:left;color:inherit;cursor:pointer}.home-settings-menu button:hover,.home-settings-menu button:focus-visible{background:var(--color-gray-bg);outline:none}.brand-logo{display:block;width:140px;height:140px;margin:0 auto 4px;object-fit:contain;border-radius:24px}.top-bar-brand{display:flex;align-items:center;gap:10px;min-width:0}.top-bar-logo{flex:0 0 auto;width:38px;height:38px;border-radius:10px;object-fit:contain;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,0.18)}.branding-preview{margin-top:4px;padding:12px;border-radius:14px;background:var(--color-gray-bg)}.branding-preview-big{display:flex;justify-content:center}.branding-preview-big .brand-hub{max-width:140px}.branding-preview-bar{display:flex;align-items:center;gap:10px;margin-top:10px;padding:10px 12px;border-radius:12px;background:var(--color-primary);color:#fff}.branding-preview-bar strong{min-width:0;overflow-wrap:anywhere;font-size:15px}.branding-preview-note{margin:8px 0 0;font-size:12px;color:var(--color-text-sub);word-break:keep-all}.stock-group-title{grid-column:1 / -1;margin:12px 2px 0;font-size:15px;font-weight:800;word-break:keep-all}.stock-group-title:first-child{margin-top:0}.stock-group-title span{margin-left:4px;font-size:13px;font-weight:700;color:var(--color-text-sub)}.home-order-row .eye{flex:0 0 auto;height:34px;padding:0 10px;border:1px solid var(--color-border);border-radius:10px;background:#fff;font-size:13px;font-weight:700;cursor:pointer;white-space:nowrap}.home-order-row .eye.off{background:var(--color-gray-bg);color:var(--color-text-sub)}.home-order-row .flags{display:flex;gap:6px;flex:0 0 auto}.home-order-row.has-subs{flex-wrap:wrap}.home-order-row .subs{display:grid;gap:6px;flex:1 0 100%;padding:8px 0 2px 32px;border-top:1px dashed var(--color-border)}.home-order-row .flags.sub{align-items:center;justify-content:flex-end}.home-order-row .flags.sub .part{flex:1 1 auto;min-width:0;font-size:14px;font-weight:700}.home-order-row .eye:disabled{opacity:.55;cursor:default}.home-order-row .eye.test{color:var(--color-text-sub)}.home-order-row .eye.test.on{background:#fff4dc;border-color:#f2c14e;color:#7a5200}@media(max-width:560px){.home-order-row{flex-wrap:wrap}.home-order-row .flags{flex:1 0 100%;justify-content:flex-end}}.home-card.card-off{opacity:.55;filter:grayscale(.6)}.home-card.card-locked{opacity:.5;filter:grayscale(.8)}.home-locked-note{margin:0 0 14px;padding:12px 14px;border-radius:14px;background:var(--color-red-bg);color:var(--color-red);border:1px solid #f2b8ba;font-weight:800;word-break:keep-all}.home-locked-note.hidden{display:none}.roster-row-main .meta{min-width:0}@media(max-width:560px){.roster-row-main{flex-wrap:wrap}.roster-row-main .actions{width:100%;justify-content:flex-end;margin-top:8px}}.roster-lock{display:inline-block;margin-top:2px;padding:1px 8px;border-radius:999px;background:var(--color-red-bg);color:var(--color-red);font-size:12px;font-weight:700}.roster-test{display:inline-block;margin-top:2px;padding:1px 8px;border-radius:999px;background:var(--color-yellow-bg);color:#7a5200;font-size:12px;font-weight:700}.status-pill.test{background:#fff4dc;color:#8a5a00}.student-lock-all{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:6px 0 10px;padding:10px 12px;border-radius:12px;background:var(--color-red-bg)}.student-lock-all input,.student-lock-grid input{width:18px;height:18px;flex:0 0 auto}.student-lock-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 12px}.student-lock-grid label{display:flex;align-items:center;gap:6px;margin:0;font-weight:600;word-break:keep-all}.home-trophy-tiles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px;width:100%;margin-top:8px}.home-trophy-tiles.hidden{display:none}.home-trophy-tiles .trophy-tile{display:block;min-width:0;padding:8px 4px 7px;border-radius:12px;box-shadow:0 3px 8px rgba(0,0,0,0.12)}.home-trophy-tiles .trophy-tile>span{display:block}.home-trophy-tiles .trophy-tile-emoji{font-size:22px;animation:none}.home-trophy-tiles .trophy-tile-label{margin-top:2px;font-size:11px;line-height:1.25;word-break:keep-all}.home-trophy-tiles .trophy-tile-name{margin-top:2px;font-size:14px;line-height:1.25;overflow-wrap:anywhere}.home-trophy-tiles .trophy-name-line.more{font-size:11px}.home-trophy-tiles .trophy-tile-value{margin-top:2px;font-size:11px;line-height:1.25;word-break:keep-all}.home-trophy-tiles .trophy-tile.trophy-stage{display:flex;flex-direction:column;padding:6px 5px 7px}.home-trophy-tiles .trophy-tile.trophy-stage>.trophy-stage-figs{display:grid;flex:1 1 auto;min-height:92px;height:auto;align-items:end;justify-items:center}.home-trophy-tiles .trophy-tile.trophy-stage>.trophy-tile-names{display:grid;margin-top:4px;font-size:13px}.home-trophy-tiles .trophy-stage-figs .trophy-figure{height:100%;max-height:220px}.home-trophy-tiles .trophy-tile.trophy-stage>.trophy-plinth{display:block;padding:4px 3px;border-radius:8px 8px 5px 5px}.home-trophy-tiles .trophy-plinth .trophy-tile-label{margin:0;font-size:10.5px}.home-trophy-tiles .trophy-stage .trophy-tile-name{margin-top:4px;font-size:13px}@media(min-width:900px){.home-trophy-tiles .trophy-tile.trophy-stage>.trophy-stage-figs{min-height:124px}.home-trophy-tiles .trophy-plinth .trophy-tile-label{font-size:11.5px}}.home-trophy-tiles .trophy-me{padding:0 5px;font-size:10px;vertical-align:1px}.trophy-tile.trophy-pods-tile.trophy-stage{overflow:visible;border:0;justify-content:flex-end;color:#fff;isolation:isolate;background:radial-gradient(ellipse 70% 55% at 50% 50%,rgba(255,206,92,0.2),rgba(255,206,92,0) 72%),radial-gradient(ellipse 120% 90% at 50% 0%,rgba(0,0,0,0) 55%,rgba(0,0,0,0.45)),linear-gradient(180deg,#2e2332 0%,#231a27 60%,#3a281c 60.5%,#24170e 100%)}.trophy-row .trophy-tile.trophy-pods-tile{padding:10px 8px 14px}.trophy-tile.trophy-pods-tile>.trophy-pods-label{margin-bottom:auto;padding-bottom:4px}.trophy-row .trophy-pods-label{font-size:13px;margin-bottom:4px}.trophy-row .trophy-pod{width:112px;max-width:100%;padding-top:calc((1.52 - var(--ar)) * 112px)}@media(min-width:900px){.trophy-row .trophy-pod{width:170px;padding-top:calc((1.52 - var(--ar)) * 170px)}}.trophy-stage-figs.pods{height:auto;grid-template-rows:auto;align-items:end;justify-items:center}.trophy-pods-more{display:block;margin-top:6px;font-size:12px;font-weight:700;color:#eadfc6;text-align:center}.trophy-pods-tile.empty .trophy-pod-seat{opacity:0.35;filter:grayscale(0.6)}.trophy-pods-tile.empty .trophy-pod-box::before{display:none}.trophy-pods-tile.empty .trophy-pods-label{opacity:0.6}.trophy-pod .podium-plate.me{box-shadow:inset 0 0 0 2px #ffd54f}.trophy-pod.open{position:relative;z-index:6}.trophy-pod .podium-plate.open{left:-4%;right:-4%}.home-trophy-tiles .trophy-tile.trophy-pods-tile{justify-content:flex-end;padding:7px 3px 12px;color:#fff;isolation:isolate;background:radial-gradient(ellipse 70% 55% at 50% 50%,rgba(255,206,92,0.2),rgba(255,206,92,0) 72%),radial-gradient(ellipse 120% 90% at 50% 0%,rgba(0,0,0,0) 55%,rgba(0,0,0,0.45)),linear-gradient(180deg,#2e2332 0%,#231a27 60%,#3a281c 60.5%,#24170e 100%)}.trophy-pods-label{display:block;margin:0 2px 3px;font-size:11.5px;font-weight:900;line-height:1.2;text-align:center;color:#fff;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-shadow:0 1px 0 #000,0 0 4px rgba(0,0,0,0.9)}.trophy-pods-label.r1{color:#ffe08a}.home-trophy-tiles .trophy-stage-figs.pods{column-gap:2px;min-height:0}.trophy-pod{display:block;width:100%;align-self:end;padding-top:max(0px,calc((var(--cw) * 4 / 3 - var(--seat) * var(--ar)) * 100%))}.trophy-pod.r1{--ar: 1.2694;--seat: .62;--cw: .66}.trophy-pod.r2{--ar: 1.35;--seat: .615;--cw: .66}.trophy-pod.r3{--ar: 1.2;--seat: .625;--cw: .66}.trophy-pod.r4{--ar: .5944;--seat: .26;--cw: .7}.home-trophy-tiles.pods-fixed .trophy-pod{width:var(--pod-w);max-width:100%;padding-top:calc((1.4 - var(--ar)) * var(--pod-w))}.trophy-pod-box{position:relative;display:block}.trophy-pod-box::before{content:"";position:absolute;inset:-6% -16% 14%;z-index:0;pointer-events:none;background:radial-gradient(closest-side,var(--glow, transparent),transparent)}.trophy-pod.r1 .trophy-pod-box::before{--glow: rgba(255, 196, 64, 0.6)}.trophy-pod.r2 .trophy-pod-box::before{--glow: rgba(226, 232, 240, 0.32)}.trophy-pod.r3 .trophy-pod-box::before{--glow: rgba(232, 150, 86, 0.34)}.trophy-pod-seat{position:relative;z-index:1;display:block;width:100%;height:auto;aspect-ratio:1 / var(--ar);filter:drop-shadow(0 6px 6px rgba(0,0,0,0.45))}.trophy-pod-char{position:absolute;z-index:2;left:50%;bottom:calc((1 - var(--seat)) * 100%);width:calc(var(--cw) * 100%);aspect-ratio:3 / 4;transform:translateX(-50%);display:flex;align-items:flex-end;justify-content:center}.trophy-pod-char .trophy-pod-img{width:100%;height:100%;object-fit:contain;object-position:50% 100%;filter:drop-shadow(0 3px 3px rgba(0,0,0,0.5))}.trophy-pods-tile .trophy-pod-char .trophy-figure-none{height:80%;width:auto;fill:rgba(255,255,255,0.9);filter:drop-shadow(0 0 2px rgba(0,0,0,0.5))}.trophy-pod-plate{position:absolute;z-index:3;left:1%;right:1%;top:calc(var(--seat) * 100% - 2px);padding:3px 2px 4px;border-radius:7px;background:rgba(20,16,24,0.42);box-shadow:inset 0 0 0 1px rgba(255,255,255,0.18);color:#fff;text-align:center;text-shadow:0 1px 2px rgba(0,0,0,0.95),0 0 4px rgba(0,0,0,0.7)}.trophy-pod-plate.me{box-shadow:inset 0 0 0 2px #ffd54f}.home-trophy-tiles .trophy-pod-plate .trophy-me{position:absolute;top:-9px;right:-3px;padding:0 5px;font-size:10px;line-height:16px;vertical-align:0;text-shadow:none;box-shadow:0 1px 3px rgba(0,0,0,0.4)}.home-card-off-tag{display:inline-block;margin-top:6px;padding:2px 8px;border-radius:999px;background:rgba(0,0,0,.35);color:#fff;font-size:11.5px;font-weight:800}.home-news-due{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin:0 0 14px;padding:12px 14px;border-radius:14px;background:var(--color-yellow-bg);border:1px solid #f0d58a}.home-news-due.hidden{display:none}.home-week{margin:0 0 14px;padding:12px 14px}.home-week.hidden{display:none}.home-week-summary{display:flex;align-items:center;justify-content:space-between;gap:8px;cursor:pointer;font-size:16px;font-weight:800;list-style:none}.home-week-summary::-webkit-details-marker{display:none}.home-week-toggle{flex:0 0 auto;margin-left:auto;background:#eef2ff;color:#526482}.home-week .home-week-expand{display:none}.home-week:not([open]) .home-week-expand{display:inline}.home-week:not([open]) .home-week-collapse{display:none}.home-week-summary .muted{font-size:13px;font-weight:600}#home-week-body{margin-top:10px;display:flex;flex-direction:column;gap:6px}.week-row{display:flex;align-items:flex-start;gap:10px;width:100%;padding:10px 12px;border:1px solid var(--color-border);border-radius:12px;background:#fff;text-align:left;font:inherit;color:inherit}button.week-row{cursor:pointer}button.week-row:hover{background:var(--color-gray-bg)}.week-row.warn{border-color:#f0d58a;background:var(--color-yellow-bg)}.week-icon{flex:0 0 auto;font-size:20px;line-height:1.3}.week-text{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:2px;font-size:13.5px;word-break:keep-all;overflow-wrap:anywhere}.week-text strong{font-size:14.5px}.week-text small{font-size:12.5px;color:var(--color-text-sub)}.week-text .plus{color:var(--color-green)}.week-text .minus{color:var(--color-red)}.week-go{flex:0 0 auto;align-self:center;font-size:20px;color:var(--color-text-sub)}.week-todo{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:10px 12px;border-radius:12px;background:var(--color-yellow-bg);border:1px solid #f0d58a}.week-todo strong{margin-right:4px;font-size:14.5px}.week-chip{padding:5px 10px;border:1px solid #f0d58a;border-radius:999px;background:#fff;font:inherit;font-size:13px;font-weight:700;cursor:pointer}.week-chip b{color:var(--color-red)}.home-hello .home-news-due{margin:0;padding:0;border:0;background:none}.home-hello-notes{display:flex;flex-direction:column;align-items:flex-start;gap:6px;max-width:100%;margin:10px 0 0}.home-hello-notes:not(:has(>:not(.hidden))){display:none}.home-alerts{display:flex;flex-direction:column;align-items:inherit;gap:6px;max-width:100%}.home-alerts.hidden{display:none}.home-alert-toggle{display:inline-flex;align-items:center;gap:6px;max-width:100%;padding:10px 18px;border:2px solid #fff;border-radius:999px;background:#e5243b;color:#fff;box-shadow:0 4px 14px rgba(229,36,59,0.35);font:inherit;font-size:16px;font-weight:800;cursor:pointer}.home-alert-toggle b{color:#fff;font-size:18px}.home-alert-toggle .caret{font-size:12px;opacity:0.9}.home-alert-toggle:hover{background:#c81d31}.home-alert-toggle:focus-visible{outline:3px solid #ffd54f;outline-offset:2px}.home-alert-toggle.calm{background:#fff;color:var(--color-text-sub);border-color:#f0d58a;box-shadow:0 4px 12px rgba(150,110,20,0.12);font-size:14px;padding:8px 14px}.home-alert-toggle.calm:hover{background:#fffaf0}.home-alert-toggle.hidden,.home-alert-box.hidden,.home-alert-none.hidden{display:none}.home-alert-box{display:flex;flex-direction:column;align-items:inherit;gap:6px;max-width:100%;padding:10px;border-radius:18px;background:rgba(255,255,255,0.55);box-shadow:inset 0 0 0 1px #f0d58a}.home-alert-none{margin:2px 4px;color:var(--color-text-sub);font-size:14px;font-weight:700}.home-alert{display:flex;align-items:center;gap:4px;max-width:100%}.home-alert .home-news-chip{white-space:normal;text-align:left;line-height:1.35}.home-alert .home-news-chip .t{min-width:0;overflow-wrap:anywhere;word-break:keep-all}.home-alert .home-news-chip .go{white-space:nowrap}.home-alert.due .home-news-chip{border-color:#f3b6cf}.home-alert.success .home-news-chip{border-color:#9fd9b4}.home-alert.failed .home-news-chip{border-color:#c9d2e0}.home-alert.cheer .home-news-chip{border-color:#f6c58f}.home-alert.worry .home-news-chip{border-color:#eda08b}.home-alert.minus .home-news-chip{border-color:#f5b5b5}.home-alert.plus .home-news-chip{border-color:#a9cdf3}.home-alert-x{flex:0 0 auto;width:30px;height:30px;padding:0;border:0;border-radius:50%;background:rgba(255,255,255,0.75);color:var(--color-text-sub);font-size:13px;cursor:pointer}.home-alert-x:hover{background:#fff;color:var(--color-text)}.home-alert-x:focus-visible{outline:3px solid #ffd54f;outline-offset:2px}@media(max-width:599px){.home-alert .home-news-chip{padding:7px 12px;font-size:13px}}.home-online.hidden{display:none}.online-dot{display:inline-block;flex:0 0 auto;width:10px;height:10px;border-radius:50%;background:#c3cad5}.online-dot.on{background:#22c55e;box-shadow:0 0 0 3px rgba(34,197,94,0.22)}.online-dot.idle{background:#f5b301}.home-online-chip .idle{color:#a16207;font-weight:700}.online-sum b.idle{color:#a16207}.online-row.idle{background:#fffbeb}.online-row.idle .when{color:#a16207;font-weight:700}.home-online-chip b{color:#15803d}.online-sum{margin:0 0 8px;font-size:13.5px;color:var(--color-text-sub)}.online-sum b{color:#15803d}.online-list{display:flex;flex-direction:column;gap:4px;max-height:55vh;overflow-y:auto;margin:0 0 8px}.online-row{display:flex;align-items:center;gap:10px;padding:8px 10px;border-radius:10px;background:var(--color-gray-bg);font-size:14px}.online-row.on{background:#ecfdf3}.online-row .nm{flex:1 1 auto;min-width:0;font-weight:700;overflow-wrap:anywhere}.online-row .nm .login{display:block;margin-top:1px;font-size:11.5px;font-weight:500;color:var(--color-text-sub)}.online-row .when{flex:0 0 auto;color:var(--color-text-sub);font-size:12.5px;white-space:nowrap}.online-row.on .when{color:#15803d;font-weight:700}.online-note{margin:0 0 4px;font-size:12px;color:var(--color-text-sub);word-break:keep-all}.home-news-chip{display:inline-flex;align-items:center;gap:6px;max-width:100%;padding:8px 14px;border:1px solid #f0d58a;border-radius:999px;background:#fff;box-shadow:0 4px 12px rgba(150,110,20,0.12);font:inherit;font-size:14px;font-weight:700;color:inherit;cursor:pointer;white-space:nowrap}.home-news-chip b{color:var(--color-red)}.home-news-chip .go{color:var(--color-primary, #2563eb);font-weight:800}.home-news-chip:hover{box-shadow:0 6px 16px rgba(150,110,20,0.2)}.home-news-chip:focus-visible{outline:3px solid #ffd54f;outline-offset:2px}.news-thought-badge.locked{background:var(--color-red-bg);color:var(--color-red)}.class-news-pop{max-height:88vh;overflow-y:auto}.class-news-item{margin:10px 0;padding:10px 12px;border:1px solid var(--color-border);border-left:4px solid var(--color-primary);border-radius:12px;background:#fff}.class-news-title{display:block;margin:4px 0;font-size:16px;word-break:keep-all}.class-news-preview{margin:0 0 8px;font-size:14px;line-height:1.5;color:var(--color-text);word-break:keep-all}.class-news-foot{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap}.class-news-foot .muted{font-size:12.5px}.news-thought-badge{margin:0 0 6px;padding:8px 10px;border-radius:10px;background:var(--color-yellow-bg);color:var(--color-text);font-size:13.5px;font-weight:700;word-break:keep-all}.news-thought-q{margin:8px 0 0;padding:8px 10px;border-radius:10px;background:#eef4ff;font-weight:700;word-break:keep-all}.news-thought-label{display:block;margin:12px 0 6px;font-size:14px;font-weight:800;word-break:keep-all}.news-thought-dirs{display:flex;flex-wrap:wrap;gap:6px}.news-thought-dir{display:inline-flex;align-items:center;gap:6px;margin:0;padding:8px 12px;border:1.5px solid var(--color-border);border-radius:999px;background:#fff;font-weight:700;font-size:14px;cursor:pointer}.news-thought-dir input{width:auto;margin:0}.news-thought-dir:has(input:checked){border-color:var(--color-primary);background:#eef4ff}#news-thought-text{margin:0}.news-thought-count{text-align:right;font-size:12px}.news-summary{margin:8px 0 4px;padding:10px 12px;border-radius:12px;background:#eef4ff;font-weight:800;line-height:1.5;word-break:keep-all}.news-sec{margin-top:12px}.news-sec h4{margin:0 0 4px;font-size:15px;word-break:keep-all}.news-sec .v3-prose{margin:0;line-height:1.65}.news-sides{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:12px}.news-sides .news-sec{margin-top:0;padding:10px 12px;border-radius:12px}.news-sides .news-sec.good{background:var(--color-green-bg)}.news-sides .news-sec.worry{background:var(--color-yellow-bg)}@media(max-width:520px){.news-sides{grid-template-columns:minmax(0,1fr)}}.news-term{margin-top:12px;padding:10px 12px;border-radius:12px;border:1px dashed #c9b6f2;background:#faf7ff;line-height:1.5;word-break:keep-all}.news-term-label{display:block;font-size:12.5px;font-weight:800;color:#6b46c1;margin-bottom:2px}.news-questions{margin:4px 0 0;padding-left:20px}.news-questions li{margin:4px 0;line-height:1.5;word-break:keep-all}.news-q-tag{display:inline-block;margin-right:6px;padding:0 7px;border-radius:999px;background:var(--color-gray-bg);font-size:11.5px;font-weight:800;color:var(--color-text-sub)}.news-caution{margin:12px 0 0;font-size:12px}.news-thoughts-evidence{margin:6px 0 0;padding:6px 10px;border-radius:10px;background:#eef4ff;font-size:13.5px;line-height:1.5;overflow-wrap:anywhere}.breaking-badge{display:inline-block;margin:0 0 6px;padding:4px 12px;border-radius:999px;background:var(--color-red);color:#fff;font-size:13px;font-weight:800}.class-news-item.breaking,.news-card.breaking{border-left-color:var(--color-red);border-left:4px solid var(--color-red)}.news-thoughts-article{margin:10px 0;padding:8px 12px;border-radius:12px;background:var(--color-gray-bg)}.news-thoughts-article summary{cursor:pointer;font-weight:800;word-break:keep-all}.news-thoughts-stock{margin-top:14px;padding-top:12px;border-top:1px solid var(--color-border)}.news-thoughts-head{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 10px;font-size:16px}.news-thoughts-head .muted{font-size:13px}.news-thoughts-counts{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}.news-thoughts-count{padding:4px 10px;border-radius:999px;background:var(--color-gray-bg);font-size:13px}.news-thoughts-count.done{background:var(--color-green-bg);color:var(--color-green)}.news-thoughts-row{padding:10px 0;border-bottom:1px solid var(--color-border)}.news-thoughts-row:last-of-type{border-bottom:0}.news-thoughts-who{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;font-size:14px}.news-thoughts-who .muted{font-size:12px}.news-thoughts-dir{padding:2px 8px;border-radius:999px;background:#eef4ff;font-size:12.5px;font-weight:700}.news-thoughts-reason{margin:6px 0 0;padding:8px 10px;border-radius:10px;background:#fffdf3;border:1px solid #f3e7b5;font-size:14px;line-height:1.5;white-space:pre-wrap;overflow-wrap:anywhere}.news-picks h3{margin:0 0 4px;font-size:16px}.news-picks.locked{background:#fffdf3;border:1px dashed #f0d58a}.news-pick{padding:10px 0;border-bottom:1px solid var(--color-border)}.news-pick:last-child{border-bottom:0}.news-pick.mine .news-thoughts-reason{background:#fff6d6;border-color:#f0c94a}.news-pick-head{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;font-size:14px}.news-pick-head .link-btn{margin-left:auto}.news-pick-mine,.news-pick-on{padding:2px 8px;border-radius:999px;background:#fff1c2;color:#8a5a00;font-size:12.5px;font-weight:800}.news-pick-badge{display:inline-block;margin:0 0 6px;padding:3px 10px;border-radius:999px;background:#fff6d6;color:#8a5a00;font-size:13px;font-weight:700}.news-pick-badge.mine{background:#ffe58a;color:#6b4300}.news-pick-actions{margin-top:6px;display:flex;flex-wrap:wrap;align-items:center;gap:6px}.news-pick-actions .btn{width:auto}.news-reward-cancelled{padding:2px 8px;border-radius:999px;background:#f1f3f5;color:#6b7280;font-size:12.5px;font-weight:800}.news-pick-reward{padding:2px 8px;border-radius:999px;background:var(--color-green-bg);color:var(--color-green);font-size:12.5px;font-weight:800}.news-pick-btns{display:inline-flex;align-items:center;gap:8px;margin-left:auto}.news-pick-btns .link-btn{margin-left:0}.news-reward-quick{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.news-reward-quick .range-btn{padding:5px 10px;font-size:13px}.news-picks-teacher{margin:8px 0 4px;padding:8px 12px;border-radius:12px;background:#fffdf3;border:1px solid #f3e7b5}.news-picks-title{font-weight:800;font-size:14px}.news-picks-hint{font-size:12.5px;margin:4px 0}.home-order-list{display:flex;flex-direction:column;gap:6px;margin:4px 0 12px;max-height:60vh;overflow-y:auto}.home-order-row{display:flex;align-items:center;gap:10px;padding:8px 10px;border:1px solid var(--color-border);border-radius:12px;background:#fff}.home-order-row .no{flex:0 0 22px;font-weight:800;color:var(--color-text-sub);text-align:center}.home-order-row .emoji{flex:0 0 auto;font-size:20px}.modal-box.home-order-modal{width:min(760px,calc(100vw - 24px));max-width:min(760px,calc(100vw - 24px))}.home-order-row .title{flex:1 0 auto;font-weight:700;white-space:nowrap}.home-order-row .move{flex:0 0 auto;width:38px;height:34px;border:1px solid var(--color-border);border-radius:10px;background:var(--color-gray-bg);font-size:14px;cursor:pointer}.home-order-row .move:disabled{opacity:.35;cursor:default}.home-order-row.moved{animation:homeOrderFlash .5s ease-out}@keyframes homeOrderFlash{from{background:#eef4ff}to{background:#fff}}.home-hello-name{font-size:22px;font-weight:800;word-break:keep-all}.home-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.home-card{display:flex;flex-direction:column;align-items:flex-start;gap:6px;width:100%;min-height:172px;padding:26px 22px;border:none;border-radius:20px;color:#fff;text-align:left;cursor:pointer;font-family:inherit;box-shadow:0 8px 22px rgba(20,30,60,0.14);transition:transform 0.12s ease,box-shadow 0.12s ease}.home-card:active{transform:scale(0.98)}.home-card:focus-visible{outline:3px solid #ffd54f;outline-offset:3px}.home-card-bank{background:linear-gradient(135deg,#2f6fed,#1e4fbf)}.home-card-securities{background:linear-gradient(135deg,#167f73,#09554f)}.home-card-message{background:linear-gradient(135deg,#cb4774,#8b2856)}.home-card-message{position:relative}#home-thanks-status2{display:none}.home-card-status[data-off]{display:none}.home-order-row[data-k=message]{flex-wrap:wrap}.home-order-row .flags.sub{flex-basis:100%;justify-content:flex-end}.home-order-row .part{font-size:12.5px;font-weight:700;color:var(--color-text-sub);white-space:nowrap}@media(max-width:560px){.home-order-row .flags.sub{flex-wrap:wrap}.home-order-row .flags.sub .part{flex:1 0 100%}.home-order-row .subs{padding-left:8px}}.home-card-quiz{background:linear-gradient(135deg,#6d44d8,#4f2bb0)}.home-card-trophy{background:linear-gradient(135deg,#b86e00,#8a4b00)}.home-card-event{background:radial-gradient(140% 120% at 100% 100%,rgba(236,72,153,0.75),rgba(236,72,153,0) 58%),linear-gradient(135deg,#0d8074,#0a5c63)}.home-card-emoji{font-size:40px;line-height:1}.home-card-title{font-size:24px;font-weight:800}.home-card-desc{font-size:13.5px;opacity:0.92}.home-card-status{margin-top:6px;padding:6px 12px;border-radius:14px;background:rgba(255,255,255,0.2);font-size:13px;font-weight:700;word-break:keep-all}.home-card-status:empty{display:none}.home-card-status.new{background:#fff;color:var(--color-primary-dark)}.home-card-quiz .home-card-status.new{color:#4f2bb0}.home-card-trophy .home-card-status.new{color:#8a4b00}.home-card-event .home-card-status.new{color:#0a5c63}.home-card-status.done{background:#fff4c7;color:#7a5200}.home-card-status.alert{background:#fff;color:#b3261e;box-shadow:0 0 0 2px #ffd54f;font-weight:800}.home-card-worry{position:relative}.home-card-badge{position:absolute;top:10px;right:10px;min-width:28px;height:28px;padding:0 8px;box-sizing:border-box;border:2px solid #fff;border-radius:14px;background:#e5243b;color:#fff;font-size:14px;font-weight:800;line-height:24px;text-align:center;box-shadow:0 2px 8px rgba(0,0,0,0.25)}.trophy-brand{margin-bottom:14px}.trophy-tiles{display:grid;grid-template-columns:repeat(auto-fit,minmax(150px,1fr));gap:12px;margin-bottom:20px}.trophy-tiles:empty{display:none}.trophy-tile{position:relative;overflow:hidden;padding:18px 14px 16px;border-radius:18px;text-align:center;box-shadow:0 6px 18px rgba(120,80,0,0.14)}.trophy-tile-donation{background:radial-gradient(90% 70% at 50% 0%,rgba(255,255,255,0.75),rgba(255,255,255,0) 70%),linear-gradient(160deg,#fff4c9,#ffd45e);color:#5c3b00;border:1px solid #f0c64f}.trophy-groups:empty{display:none}.trophy-group{margin-bottom:18px}.trophy-group-title{margin:0 2px 8px;font-size:15px;font-weight:800;color:var(--color-text)}.trophy-group-note{margin-left:4px;font-size:12px;font-weight:600;color:var(--color-text-sub)}.trophy-row{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(132px,1fr);gap:10px;overflow-x:auto;padding:2px 2px 8px;scroll-snap-type:x proximity}.trophy-row .trophy-tile{scroll-snap-align:start;padding:14px 10px 12px;border-radius:16px}.trophy-row>.trophy-tile:only-child{max-width:300px}.trophy-row .trophy-tile-emoji{font-size:30px}.trophy-row .trophy-tile-name{font-size:16px}.trophy-row .trophy-tile-value{font-size:12.5px}.trophy-tile-stock{background:radial-gradient(90% 70% at 50% 0%,rgba(255,255,255,0.75),rgba(255,255,255,0) 70%),linear-gradient(160deg,#e7f0ff,#a9c8ff);color:#123d7a;border:1px solid #8fb3f2;box-shadow:0 6px 18px rgba(18,61,122,0.12)}.trophy-tile-quiz{background:radial-gradient(90% 70% at 50% 0%,rgba(255,255,255,0.75),rgba(255,255,255,0) 70%),linear-gradient(160deg,#f1e9ff,#cdb5ff);color:#42207a;border:1px solid #b89cf0;box-shadow:0 6px 18px rgba(66,32,122,0.12)}.trophy-tile-shop{background:radial-gradient(90% 70% at 50% 0%,rgba(255,255,255,0.75),rgba(255,255,255,0) 70%),linear-gradient(160deg,#ffeef0,#ffb3c1);color:#7a1730;border:1px solid #f59aae;box-shadow:0 6px 18px rgba(122,23,48,0.12)}.trophy-tile-balance{background:radial-gradient(90% 70% at 50% 0%,rgba(255,255,255,0.75),rgba(255,255,255,0) 70%),linear-gradient(160deg,#e6f8ee,#a9e3c4);color:#0e5232;border:1px solid #8fd3b0;box-shadow:0 6px 18px rgba(14,82,50,0.12)}.trophy-tile.empty{background:var(--color-card);color:var(--color-text-sub);border:1.5px dashed #d6d9de;box-shadow:none}.trophy-tile-emoji{display:inline-block;font-size:40px;line-height:1.1;animation:trophy-pop 0.6s cubic-bezier(0.2,1.4,0.4,1) both}.trophy-tile.empty .trophy-tile-emoji{filter:grayscale(1);opacity:0.5;animation:none}.trophy-tile-label{margin-top:4px;font-size:12.5px;font-weight:800;opacity:0.85}.trophy-tile-name{margin-top:4px;font-size:20px;font-weight:800;line-height:1.3;word-break:keep-all}.trophy-tile.empty .trophy-tile-name{font-size:16px}.trophy-tile-value{margin-top:2px;font-size:14px;font-weight:700}.trophy-tile.empty .trophy-tile-value{font-size:12.5px;font-weight:600;line-height:1.45;word-break:keep-all}.trophy-name-line{display:block}.trophy-name-dots{display:block;margin-top:2px;font-size:8px;letter-spacing:3px;line-height:1;opacity:0.35}.trophy-name-dots .on{opacity:1}.trophy-name-line.more{font-size:13px;font-weight:700;opacity:0.8}.trophy-tile-news{background:radial-gradient(90% 70% at 50% 0%,rgba(255,255,255,0.75),rgba(255,255,255,0) 70%),linear-gradient(160deg,#e2f8f6,#93dcd4);color:#0b4f4a;border:1px solid #77cbc2;box-shadow:0 6px 18px rgba(11,79,74,0.12)}.trophy-tile-worry{background:radial-gradient(90% 70% at 50% 0%,rgba(255,255,255,0.75),rgba(255,255,255,0) 70%),linear-gradient(160deg,#fff0e8,#ffc2a8);color:#7a2e14;border:1px solid #f5a98a;box-shadow:0 6px 18px rgba(122,46,20,0.12)}.trophy-tile-game{background:radial-gradient(90% 70% at 50% 0%,rgba(255,255,255,0.75),rgba(255,255,255,0) 70%),linear-gradient(160deg,#eefbe8,#a9e3a0);color:#1f5e2a;border:1px solid #8fd189;box-shadow:0 6px 18px rgba(31,94,42,0.12)}.trophy-tile-card{background:radial-gradient(90% 70% at 50% 0%,rgba(255,255,255,0.75),rgba(255,255,255,0) 70%),linear-gradient(160deg,#fff6e0,#f6d48a);color:#6b4a00;border:1px solid #e9c46a;box-shadow:0 6px 18px rgba(107,74,0,0.12)}.trophy-tile-dice,.trophy-tile-ten{background:radial-gradient(90% 70% at 50% 0%,rgba(255,255,255,0.75),rgba(255,255,255,0) 70%),linear-gradient(160deg,#e9f0ff,#b4c6f5);color:#233a7a;border:1px solid #9ab0e8;box-shadow:0 6px 18px rgba(35,58,122,0.12)}.trophy-tile-off{opacity:0.45;filter:grayscale(0.6)}.trophy-brand{position:relative}.pin-student-row{display:flex;align-items:center;gap:10px;padding:10px 2px;border-bottom:1px solid var(--color-border);margin:0;cursor:pointer;font-size:14px}.pin-student-row:last-child{border-bottom:0}.pin-student-row input{width:18px;height:18px;flex:0 0 auto;margin:0}.pin-student-row .pin-student-name{flex:1 1 auto;min-width:0;font-weight:700;overflow-wrap:anywhere}.pin-student-row .pin-student-state{flex:0 0 auto;font-size:12.5px;color:var(--color-text-sub)}.pin-student-row:has(input:checked){background:#eef4ff}#pin-reset-selected{margin:12px 0 16px}.pin-result-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:6px}.pin-result-row{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:8px 12px;border-radius:10px;background:var(--color-gray-bg);font-size:14px}.pin-result-row span{min-width:0;overflow-wrap:anywhere;font-weight:600}.pin-result-row b{flex:0 0 auto;font-size:17px;letter-spacing:1px;font-variant-numeric:tabular-nums}.trophy-settings-btn{position:absolute;top:0;right:0;padding:6px 12px;border:1px solid var(--color-border);border-radius:999px;background:var(--color-card);font:inherit;font-size:13px;font-weight:700;color:var(--color-text);cursor:pointer}.trophy-settings-btn.active{background:#eef4ff;border-color:#b9d3f7;color:var(--color-primary)}.trophy-settings-btn:focus-visible{outline:3px solid var(--color-primary);outline-offset:2px}.trophy-settings-panel{margin:0 0 16px;padding:12px;border:1.5px solid #b9d3f7;border-radius:var(--radius);background:#f5f9ff}.trophy-settings-panel .card{margin-bottom:10px}.trophy-settings-panel .card:last-child{margin-bottom:0}.trophy-settings-head{display:flex;align-items:center;justify-content:space-between;margin:0 2px 10px}.trophy-hide-list{display:flex;flex-direction:column;gap:8px;max-height:55vh;overflow-y:auto;margin:8px 0}.trophy-hide-group{margin:0;padding:8px 12px 10px;border:1px solid var(--color-border);border-radius:12px}.trophy-hide-group legend{padding:0 4px;font-weight:800}.trophy-hide-group label{display:flex;align-items:center;gap:8px;margin:4px 0 0;font-size:14px;cursor:pointer}.trophy-hide-group input{width:18px;height:18px;flex-shrink:0}.trophy-me{display:inline-block;padding:1px 8px;border-radius:999px;background:var(--color-red);color:#fff;font-size:12px;vertical-align:3px}.trophy-tile:not(.empty):not(.trophy-pods-tile)::after{content:"";position:absolute;top:-40%;left:-60%;width:38%;height:180%;pointer-events:none;background:linear-gradient(90deg,rgba(255,255,255,0),rgba(255,255,255,0.7),rgba(255,255,255,0));transform:rotate(18deg);animation:trophy-shine 1.4s ease-out 0.35s 1 both}@keyframes trophy-shine{from{left:-60%}to{left:130%}}@keyframes trophy-pop{from{transform:scale(0.4);opacity:0}to{transform:scale(1);opacity:1}}.trophy-visibility{padding:3px 10px;border-radius:999px;background:var(--color-gray-bg);color:#4b5563;font-size:12px;font-weight:700}.trophy-visibility.on{background:var(--color-green-bg);color:#136c39}.trophy-note{margin:0 0 6px;font-size:12.5px;line-height:1.45;color:var(--color-text-sub);word-break:keep-all}.trophy-locked{padding:26px 12px 22px;text-align:center;color:var(--color-text-sub);font-size:14px;word-break:keep-all}.trophy-locked-icon{font-size:36px;line-height:1.2;margin-bottom:6px;filter:grayscale(1);opacity:0.45}.setting-row{display:flex;align-items:center;justify-content:space-between;gap:14px;margin:0;padding:4px 0;font-weight:400;cursor:pointer}.setting-text{display:flex;flex-direction:column;gap:3px;min-width:0}.setting-text strong{font-size:14px}.setting-check{flex-shrink:0;width:22px;height:22px;margin:0;accent-color:var(--color-primary)}@media(prefers-reduced-motion:reduce){.trophy-tile-emoji{animation:none}.trophy-tile:not(.empty)::after{display:none}}.quiz-progress-card{padding:16px 18px}.quiz-dots{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}.quiz-dot{width:36px;height:36px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:var(--color-gray-bg);color:var(--color-text-sub);font-weight:800;font-size:14px;border:2px solid transparent}.quiz-dot.ok{background:var(--color-green-bg);color:var(--color-green)}.quiz-dot.wrong{background:var(--color-red-bg);color:var(--color-red)}.quiz-dot.current{border-color:var(--color-primary)}.quiz-dot.current:not(.ok):not(.wrong){color:var(--color-primary);background:#fff}.quiz-progress-text{margin-top:10px;text-align:center;font-size:13.5px;color:var(--color-text-sub)}.quiz-progress-text strong{color:var(--color-text)}.quiz-card-top{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}.quiz-no{font-size:13px;font-weight:800;color:var(--color-primary)}.quiz-chip{display:inline-block;padding:3px 10px;border-radius:999px;font-size:12px;font-weight:800}.quiz-chip.cat-korean{background:#fde7ef;color:#a51d57}.quiz-chip.cat-social{background:#f5ecdc;color:#6f4a12}.quiz-chip.cat-english{background:#e6edf3;color:#2f4b63}.quiz-chip.cat-general{background:#e8f0fe;color:#1e4fbf}.quiz-chip.cat-science{background:#dff5f2;color:#0f6b62}.quiz-chip.cat-nonsense{background:#fff1e6;color:#b45309}.quiz-chip.cat-math{background:var(--color-green-bg);color:var(--color-green)}.quiz-chip.cat-etc{background:#f1e8ff;color:#5b2bb8}.quiz-question{margin:4px 0 16px;font-size:19px;font-weight:800;line-height:1.45;word-break:keep-all}.quiz-choices{display:grid;gap:10px}.quiz-choice{display:flex;align-items:center;gap:12px;width:100%;padding:13px 14px;border:2px solid var(--color-border);border-radius:14px;background:#fff;color:var(--color-text);font-family:inherit;font-size:15.5px;font-weight:600;text-align:left;cursor:pointer;word-break:keep-all}.quiz-choice:disabled{cursor:default}.quiz-choice-key{flex-shrink:0;width:30px;height:30px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:var(--color-gray-bg);font-weight:800}.quiz-choice.picked{border-color:var(--color-primary);background:#eef4ff}.quiz-choice.picked .quiz-choice-key{background:var(--color-primary);color:#fff}.quiz-choice.correct{border-color:var(--color-green);background:var(--color-green-bg)}.quiz-choice.correct .quiz-choice-key{background:var(--color-green);color:#fff}.quiz-choice.wrong{border-color:var(--color-red);background:var(--color-red-bg)}.quiz-choice.wrong .quiz-choice-key{background:var(--color-red);color:#fff}.quiz-choice.dim{opacity:0.55}.quiz-feedback{margin-top:14px;padding:12px 14px;border-radius:12px;font-size:14.5px;font-weight:700;word-break:keep-all}.quiz-feedback.ok{background:var(--color-green-bg);color:var(--color-green)}.quiz-feedback.wrong{background:var(--color-red-bg);color:var(--color-red)}.quiz-result{position:relative;overflow:hidden;padding:30px 20px;text-align:center}.quiz-result.perfect{background:linear-gradient(135deg,#fff8e1,#ffe9b3)}.quiz-result.celebrate{animation:bag-celebrate 0.9s ease-out}.quiz-result-emoji{font-size:48px;line-height:1.2}.quiz-result-title{margin:6px 0 4px;font-size:22px;font-weight:800}.quiz-empty{padding:30px 20px;text-align:center}.quiz-empty-emoji{font-size:40px;margin-bottom:6px}.quiz-empty p{margin:6px 0 0}.quiz-review-row{display:flex;gap:10px;padding:10px 0;border-bottom:1px solid var(--color-border)}.quiz-review-row:last-child{border-bottom:none}.quiz-review-mark{flex-shrink:0}.quiz-review-q{font-size:14px;font-weight:700;word-break:keep-all}.quiz-ai-cats{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-bottom:6px}.quiz-ai-label{font-size:13px;font-weight:700;margin-right:2px}.quiz-perday-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:0 0 12px;font-size:14px;font-weight:700}.quiz-perday-row label{display:inline;margin:0;font-size:14px;font-weight:700}.quiz-perday-row input[type=number]{width:80px;padding:8px 10px;text-align:center;font-weight:800}.quiz-perday-row .muted{font-size:12.5px;font-weight:600}.quiz-cat-checks{display:flex;flex-wrap:wrap;gap:6px}.quiz-cat-filter{margin-top:-2px}.cat-check{display:inline-flex;align-items:center;gap:6px;margin:0;padding:6px 12px 6px 9px;border:1.5px solid var(--color-border);border-radius:999px;background:#fff;color:var(--color-text-sub);font-size:13px;font-weight:700;cursor:pointer;user-select:none;-webkit-user-select:none}.cat-check input{width:16px;height:16px;margin:0;accent-color:var(--color-primary);cursor:pointer}.cat-check.on{color:var(--color-text);border-color:var(--color-primary);background:#eef4ff}.cat-check:focus-within{outline:2px solid var(--color-primary);outline-offset:2px}.cat-check .cat-count{min-width:22px;padding:1px 6px;border-radius:999px;background:var(--color-gray-bg);font-size:11.5px;text-align:center}.cat-check.on .cat-count{background:#fff;color:var(--color-primary-dark)}.quiz-daily-note{margin:10px 0 0;font-size:13px;color:var(--color-text-sub);line-height:1.5;word-break:keep-all}.quiz-daily-note:empty{display:none}.quiz-daily-note strong{color:var(--color-text)}.quiz-daily-note .warn{color:var(--color-red);font-weight:700}.quiz-daily-note .pending{color:var(--color-primary-dark);font-weight:700}#quiz-daily-save-btn{margin-top:10px}.quiz-ai-row{display:flex;align-items:center;gap:10px;flex-wrap:wrap}.quiz-ai-row input{width:90px}.quiz-ai-row .btn{flex:1;width:auto;min-width:150px;margin-top:0}.quiz-import-actions{flex-wrap:wrap}.quiz-import-actions .btn{flex:1;min-width:140px}.quiz-import-help{margin-top:10px;font-size:13px}.quiz-import-help summary{cursor:pointer;font-weight:700;color:var(--color-primary-dark)}.quiz-import-help ul{margin:6px 0 0;padding-left:18px;line-height:1.6;word-break:keep-all}.quiz-format-wrap{overflow-x:auto;margin:8px 0;-webkit-overflow-scrolling:touch}.quiz-format-table{border-collapse:collapse;font-size:12px;white-space:nowrap}.quiz-format-table th,.quiz-format-table td{border:1px solid var(--color-border);padding:4px 8px;text-align:center}.quiz-format-table th{background:#e8f0fe;color:var(--color-text)}.quiz-import-preview{margin-top:12px;padding-top:12px;border-top:1px dashed var(--color-border)}.quiz-import-file{margin-bottom:8px;font-size:13.5px;word-break:break-all}.quiz-import-summary{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:6px}.quiz-import-pill{padding:4px 10px;border-radius:999px;font-size:12.5px;font-weight:800;background:var(--color-gray-bg);color:var(--color-text-sub)}.quiz-import-pill.ok{background:var(--color-green-bg);color:var(--color-green)}.quiz-import-pill.err{background:var(--color-red-bg);color:var(--color-red)}.quiz-import-pill.dup{background:#fff4c7;color:#7a5200}.quiz-import-notice{margin:8px 0 0;font-size:12.5px}.quiz-import-list{display:grid;gap:6px;margin:10px 0 0;max-height:320px;overflow-y:auto}.quiz-import-row{padding:8px 10px;border-radius:10px;background:var(--color-gray-bg);font-size:13px;line-height:1.45;word-break:keep-all}.quiz-import-row.error{background:var(--color-red-bg)}.quiz-import-row.duplicate,.quiz-import-row.note{background:#fff8e1}.quiz-import-row .muted{margin-top:2px;font-size:12px}.quiz-import-line{font-weight:800;margin-right:2px}.quiz-import-hint{margin:6px 0 0;font-size:12.5px}.quiz-import-ok{margin:10px 0 0;font-size:13px}.quiz-import-ok summary{cursor:pointer;font-weight:700;color:var(--color-primary-dark)}.quiz-import-ok .quiz-import-row{margin-top:6px;background:#fff;border:1px solid var(--color-border)}.quiz-import-preview .btn-row{margin-top:8px}#quiz-question-list{display:grid;gap:12px}#quiz-question-list>.card{margin-bottom:0}.quiz-q-card{position:relative;padding-left:48px}.quiz-q-card.selected{box-shadow:0 0 0 2px var(--color-primary)}.quiz-q-select{position:absolute;left:18px;top:20px;margin:0}.quiz-q-select input{width:18px;height:18px;margin:0;accent-color:var(--color-primary);cursor:pointer}.quiz-q-top{display:flex;align-items:center;gap:6px;flex-wrap:wrap;margin-bottom:6px}.quiz-src{padding:2px 8px;border-radius:999px;background:var(--color-gray-bg);color:var(--color-text-sub);font-size:11px;font-weight:700}.quiz-q-text{font-size:15px;font-weight:700;line-height:1.45;word-break:keep-all}.quiz-q-choices{list-style:none;margin:8px 0 0;padding:0;display:grid;gap:4px;font-size:13.5px}.quiz-q-choices li{padding:4px 8px;border-radius:8px;color:var(--color-text-sub);word-break:keep-all}.quiz-q-choices li.correct{background:var(--color-green-bg);color:var(--color-green);font-weight:700}.quiz-q-actions{margin-top:10px;flex-wrap:wrap}.quiz-choice-input{display:flex;align-items:center;gap:8px;margin-bottom:8px}.quiz-choice-input input[type=text]{flex:1;min-width:0}.quiz-answer-pick{display:flex;align-items:center;gap:4px;width:46px;flex-shrink:0;margin:0;font-weight:800;cursor:pointer}.quiz-answer-pick input{width:18px;height:18px;margin:0;accent-color:var(--color-green)}.quiz-date-row{display:flex;align-items:center;gap:10px}.quiz-date-row input{flex:1;min-width:0}.quiz-summary{display:grid;grid-template-columns:repeat(auto-fill,minmax(100px,1fr));gap:8px;margin-top:12px}.quiz-stat{padding:10px 12px;border-radius:12px;background:var(--color-gray-bg)}.quiz-stat .k{font-size:12px;color:var(--color-text-sub)}.quiz-stat .v{font-size:16px;font-weight:800}.quiz-result-row{border-bottom:1px solid var(--color-border)}.quiz-result-row:last-child{border-bottom:none}.quiz-result-row summary{display:flex;align-items:center;gap:10px;padding:12px 0;cursor:pointer;list-style:none;flex-wrap:wrap}.quiz-result-row summary::-webkit-details-marker{display:none}.quiz-result-row .name{flex:1;min-width:70px;font-weight:700}.quiz-result-row .score{font-size:13px;font-weight:700;white-space:nowrap}.quiz-mini-dots{display:inline-flex;flex-wrap:wrap;gap:4px}.quiz-mini-dot{width:22px;height:22px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:var(--color-gray-bg);color:var(--color-text-sub);font-size:11px;font-weight:800}.quiz-mini-dot.ok{background:var(--color-green-bg);color:var(--color-green)}.quiz-mini-dot.wrong{background:var(--color-red-bg);color:var(--color-red)}.quiz-result-detail{display:grid;gap:8px;padding:0 0 12px}.quiz-answer-line{padding:8px 10px;border-radius:10px;background:var(--color-gray-bg);font-size:13px;word-break:keep-all}#event-live-list,#event-manage-list{display:grid;gap:16px;margin-bottom:16px}#event-live-list>.card,#event-manage-list>.card{margin-bottom:0}.event-type-chip{display:inline-flex;align-items:center;gap:2px;padding:3px 10px;border-radius:999px;font-size:12px;font-weight:800;white-space:nowrap}.event-type-chip.first{background:#dff5f2;color:#0f6b62}.event-type-chip.answer{background:#f1e8ff;color:#5b2bb8}.event-type-chip.vote{background:#fff0e0;color:#b4530b}.event-type-chip.mission{background:#ffe8f0;color:#a3245a}.event-vote-options{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:8px;margin:4px 0 6px}.event-vote-option{display:flex;align-items:center;gap:10px;margin:0;padding:12px 14px;border:2px solid var(--color-border);border-radius:14px;background:var(--color-card);font-size:16px;font-weight:800;cursor:pointer;word-break:keep-all}.event-vote-option input{position:absolute;opacity:0;width:1px;height:1px}.event-vote-dot{flex:0 0 auto;width:20px;height:20px;border-radius:50%;border:2px solid #c9b8a6;background:#fff;box-sizing:border-box}.event-vote-option.on{border-color:#f08c00;background:#fff4e6}.event-vote-option.on .event-vote-dot{border:6px solid #f08c00}.event-vote-options.multi .event-vote-dot{position:relative;border-radius:6px}.event-vote-options.multi .event-vote-option.on .event-vote-dot{border:2px solid #f08c00;background:#f08c00}.event-vote-options.multi .event-vote-option.on .event-vote-dot::after{content:"✓";position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#fff;font-size:13px;font-weight:900;line-height:1}.event-vote-option:focus-within{outline:3px solid #ffd54f;outline-offset:2px}.event-vote-result{margin:10px 0 4px;padding:12px;border-radius:12px;background:#fff7ed;border:1px solid #fde2c2}.event-vote-title{font-size:15px;font-weight:800;margin-bottom:8px}.event-vote-row+.event-vote-row{margin-top:10px}.event-vote-top{display:flex;justify-content:space-between;gap:8px;font-size:14px}.event-vote-bar{height:10px;margin:4px 0 6px;border-radius:999px;background:#f1e6d8;overflow:hidden}.event-vote-bar span{display:block;height:100%;border-radius:999px;background:#f6a54b}.event-vote-row.top .event-vote-bar span{background:#e8590c}.event-vote-names{display:flex;flex-wrap:wrap;gap:6px}.event-vote-mini{margin:4px 0 0;font-size:13px;color:var(--color-text-secondary, #555)}.event-vote-mini b{color:#e8590c}.event-reward-chip{display:inline-flex;align-items:center;padding:3px 10px;border-radius:999px;background:#fff3c4;color:#7a5200;font-size:12px;font-weight:800;white-space:nowrap}.event-repeat-chip{display:inline-flex;padding:3px 10px;border-radius:999px;background:#e8f0fe;color:#1e4fbf;font-size:12px;font-weight:800;white-space:nowrap}.event-title{margin:8px 0 0;font-size:17px;font-weight:800;line-height:1.35;word-break:keep-all;overflow-wrap:anywhere}.event-desc{margin:6px 0 0;font-size:13.5px;color:var(--color-text-sub);line-height:1.5;white-space:pre-wrap;word-break:keep-all;overflow-wrap:anywhere}.event-period{margin-top:8px;font-size:13px;color:var(--color-text-sub);word-break:keep-all}.event-when{flex-shrink:0;padding:3px 9px;border-radius:999px;background:#fff1e6;color:#9a3412;font-size:12px;font-weight:800;white-space:nowrap}.event-card-chips .event-when{margin-left:auto}.status-pill.선정됨{background:#e8f0fe;color:#1e4fbf}.status-pill.미선정{background:var(--color-gray-bg);color:#4b5563}.status-pill.ev-part{white-space:nowrap}.status-pill.ev-part.대기{color:#7a5200}.status-pill.ev-part.지급완료{color:#136c39}.event-empty{padding:30px 20px;text-align:center}.event-empty-emoji{font-size:44px;line-height:1.2;margin-bottom:6px}.event-empty p{margin:6px 0 0}.event-empty .btn{margin-top:14px;width:auto}#view-event-list .section-title{flex-wrap:wrap;gap:2px 8px}#event-live-count{white-space:nowrap}.event-card{position:relative;overflow:hidden;padding-top:22px}.event-card::before{content:"";position:absolute;left:0;top:0;right:0;height:5px;background:linear-gradient(90deg,#14b8a6,#2f6fed)}.event-card.ev-answer::before{background:linear-gradient(90deg,#8b5cf6,#ec4899)}.event-card.ev-mission::before,.event-manage-card.ev-mission::before{background:linear-gradient(90deg,#f06f9b,#f59e0b)}.event-mission .event-seats-fill{background:linear-gradient(90deg,#f06f9b,#e05a8a)}.event-mission.done .event-seats-fill{background:linear-gradient(90deg,#22c55e,#16a34a)}.event-card-chips{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.event-card>.btn{margin-top:14px}.event-card.celebrate{animation:bag-celebrate 0.9s ease-out;box-shadow:0 0 0 3px rgba(47,181,116,0.45),var(--shadow)}.event-seats{margin-top:14px;padding:14px 16px 12px;border-radius:14px;background:linear-gradient(135deg,#ecfdf8,#e6f0ff);border:1px solid #cdeee6}.event-seats-top{display:flex;align-items:flex-end;justify-content:space-between;gap:10px}.event-seats-label{font-size:13px;font-weight:800;color:#0f6b62;padding-bottom:6px}.event-seats-num{display:inline-flex;align-items:baseline;gap:4px}.event-seats-left{font-size:46px;font-weight:900;line-height:1;color:#0d7d6c;font-variant-numeric:tabular-nums}.event-seats-cap{font-size:16px;font-weight:800;color:var(--color-text-sub)}.event-seats-track{margin-top:10px;height:14px;border-radius:999px;background:rgba(15,107,98,0.12);overflow:hidden}.event-seats-fill{height:100%;min-width:0;border-radius:inherit;background:linear-gradient(90deg,#2dd4bf,#0f9d8a);transition:width 0.6s cubic-bezier(0.22,1,0.36,1)}.event-seats-note{margin-top:8px;font-size:13px;font-weight:700;color:#0f6b62;word-break:keep-all}.event-seats.few{background:linear-gradient(135deg,#fff7ed,#ffedd5);border-color:#fed7aa}.event-seats.few .event-seats-label,.event-seats.few .event-seats-note{color:#9a3412}.event-seats.few .event-seats-left{color:#c2410c}.event-seats.few .event-seats-track{background:rgba(194,65,12,0.14)}.event-seats.few .event-seats-fill{background:linear-gradient(90deg,#fb923c,#ea580c)}.event-seats.full{background:var(--color-gray-bg);border-color:#e1e4e8}.event-seats.full .event-seats-label,.event-seats.full .event-seats-note{color:#4b5563}.event-seats.full .event-seats-left{color:#6b7280}.event-seats.full .event-seats-track{background:#e1e4e8}.event-seats.full .event-seats-fill{background:#9ca3af}.ev-join-btn{font-size:16px}.ev-join-btn.done:disabled{opacity:1;background:var(--color-green-bg);color:#136c39;cursor:default}.event-mine{margin-top:8px;text-align:center;font-size:13px;font-weight:700;color:var(--color-text-sub);word-break:keep-all}.event-mine.ok{color:#136c39;font-size:14px}.event-question{display:flex;gap:10px;margin-top:12px;padding:12px 14px;border-radius:12px;background:#f7f2ff;border:1px solid #e6dafb}.event-question p{margin:0;font-size:14.5px;font-weight:700;line-height:1.55;color:#2e1a63;white-space:pre-wrap;word-break:keep-all;overflow-wrap:anywhere}.event-question.compact{margin-top:10px}.event-question.compact p{font-size:13.5px}.event-q-mark{flex-shrink:0;width:24px;height:24px;border-radius:50%;display:inline-flex;align-items:center;justify-content:center;background:#6d44d8;color:#fff;font-size:13px;font-weight:900}.event-answer-label{margin-top:14px}.event-answer-input{min-height:104px;line-height:1.55}.event-answer-foot{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;margin-top:4px}.event-answer-foot .field-error{margin-top:0;flex:1}.event-answer-count{flex-shrink:0;font-size:12px;font-weight:700;color:var(--color-text-sub);font-variant-numeric:tabular-nums}.event-answer-count.near{color:#b42318}.event-paper{position:relative;margin-top:28px;padding:0 14px 6px;border-radius:12px;border:1px solid #ece3cf;background:repeating-linear-gradient(180deg,#fffdf7 0,#fffdf7 27px,#efe6d2 27px,#efe6d2 28px)}.event-paper-label{padding-right:108px;font-size:12px;font-weight:700;color:#8a6d3b;line-height:28px}.event-paper-text{margin:0;font-size:14.5px;line-height:28px;color:var(--color-text);white-space:pre-wrap;word-break:keep-all;overflow-wrap:anywhere}.event-stamp{position:absolute;top:-22px;right:10px;z-index:1;display:inline-flex;flex-direction:column;align-items:center;justify-content:center;min-width:92px;padding:5px 11px 4px;border:4px double #cf3138;border-radius:12px;background:rgba(255,255,255,0.55);color:#c62828;line-height:1.15;transform:rotate(-9deg);opacity:0.92;mix-blend-mode:multiply;pointer-events:none;box-shadow:inset 0 0 0 1px rgba(207,49,56,0.28)}.event-stamp::after{content:"";position:absolute;inset:-4px;border-radius:inherit;pointer-events:none;background-image:radial-gradient(rgba(255,255,255,0.85) 0.7px,transparent 1.2px),radial-gradient(rgba(255,255,255,0.6) 0.6px,transparent 1.1px);background-size:9px 7px,13px 11px;background-position:0 0,5px 3px}.event-stamp-main{font-size:15px;font-weight:900;letter-spacing:2px}.event-stamp-date{margin-top:1px;font-size:10.5px;font-weight:800;letter-spacing:1px}.event-stamp.stamp-now{animation:event-stamp-in 0.5s cubic-bezier(0.2,0.9,0.3,1.25) both}.event-paper.stamp-now{animation:event-paper-thud 0.42s ease-out 0.2s}@keyframes event-stamp-in{0%{opacity:0;transform:rotate(-9deg) scale(2.1)}55%{opacity:0.96;transform:rotate(-9deg) scale(0.9)}78%{transform:rotate(-9deg) scale(1.04)}100%{opacity:0.92;transform:rotate(-9deg) scale(1)}}@keyframes event-paper-thud{0%,100%{transform:none}40%{transform:translateY(2px) scale(0.996)}}.event-result{margin-top:10px;padding:10px 12px;border-radius:12px;font-size:14px;font-weight:800;text-align:center;word-break:keep-all}.event-result.waiting{background:var(--color-yellow-bg);color:#7a5200}.event-result.picked{background:linear-gradient(135deg,#178045,#11673a);color:#fff;box-shadow:0 2px 8px rgba(17,103,58,0.25)}.event-result.unpicked{background:var(--color-gray-bg);color:#4b5563}.event-upcoming-card{padding-top:8px;padding-bottom:8px}.event-upcoming-row{display:flex;align-items:center;gap:12px;padding:12px 0;border-bottom:1px solid var(--color-border)}.event-upcoming-row:last-child{border-bottom:none}.event-cal{flex-shrink:0;width:52px;border-radius:12px;overflow:hidden;text-align:center;background:#fff;box-shadow:0 2px 6px rgba(20,30,60,0.14)}.event-cal-m{display:block;padding:2px 0;background:linear-gradient(135deg,#db2777,#7c3aed);color:#fff;font-size:11px;font-weight:800}.event-cal-d{display:block;padding:3px 0 4px;font-size:20px;font-weight:900;line-height:1.2;color:var(--color-text)}.event-upcoming-main{flex:1;min-width:0}.event-upcoming-top{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.event-upcoming-top strong{font-size:14.5px;word-break:keep-all;overflow-wrap:anywhere}.event-upcoming-main .muted{display:block;margin-top:3px;word-break:keep-all}.event-dday{flex-shrink:0;padding:3px 10px;border-radius:999px;background:#f1e8ff;color:#5b2bb8;font-size:12px;font-weight:800}.event-history-row{display:flex;align-items:flex-start;justify-content:space-between;gap:10px;padding:12px 0;border-bottom:1px solid var(--color-border)}.event-history-row:last-child{border-bottom:none}.event-history-main{min-width:0;display:flex;flex-direction:column;gap:2px}.event-history-main strong{font-size:14px;word-break:keep-all;overflow-wrap:anywhere}.event-history-answer{font-size:12.5px;color:var(--color-text-sub);white-space:pre-wrap;word-break:keep-all;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.event-history-side{display:flex;flex-direction:column;align-items:flex-end;gap:4px;flex-shrink:0}.event-history-amount{font-size:14px;font-weight:800;color:#136c39;white-space:nowrap}#event-create-form .section-title{margin-bottom:4px}.event-type-choice{margin:0 0 6px}.event-type-choice .range-btn{padding:8px 16px;font-size:14px}.event-type-choice .range-btn:disabled{opacity:0.55;cursor:not-allowed}.event-type-hint{margin:0;font-size:12.5px;line-height:1.45;color:var(--color-text-sub);word-break:keep-all}.event-field-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.event-field-row>div{min-width:0}.event-datetime{display:flex;flex-direction:column;gap:6px}.event-datetime input{margin:0;min-width:0;width:100%}.event-datetime input[type=time]{padding-left:10px;padding-right:10px}@media(max-width:560px){.event-when-row{grid-template-columns:minmax(0,1fr)}.event-when-row .event-datetime{flex-direction:row}.event-when-row .event-datetime input{flex:1 1 0;padding-left:8px;padding-right:8px;font-size:14px}}#evc-time-hint,#evm-time-hint{margin-top:6px}.event-switch{position:relative;display:flex;align-items:flex-start;gap:12px;margin:14px 0 4px;padding:12px 14px;border:1.5px solid var(--color-border);border-radius:12px;font-weight:400;cursor:pointer}.event-switch-input{position:absolute;opacity:0;width:1px;height:1px;margin:0;pointer-events:none}.event-switch-track{position:relative;flex-shrink:0;width:44px;height:26px;margin-top:1px;border-radius:999px;background:#8b93a1;transition:background 0.2s ease}.event-switch-track::after{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#fff;box-shadow:0 1px 3px rgba(0,0,0,0.25);transition:transform 0.2s ease}.event-switch-input:checked+.event-switch-track{background:var(--color-primary)}.event-switch-input:checked+.event-switch-track::after{transform:translateX(18px)}.event-switch-input:focus-visible+.event-switch-track{outline:2px solid var(--color-primary);outline-offset:2px}.event-switch:has(.event-switch-input:checked){border-color:var(--color-primary);background:#eef4ff}.event-switch.locked{cursor:not-allowed;opacity:0.7}.news-answer-card .event-switch{margin:10px 0 0}.news-reward-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 14px;margin-top:12px}.news-reward-input{display:flex;align-items:center;gap:6px}.news-reward-input input{width:110px;margin:0}.news-reward-input .btn{width:auto}.event-switch-text{display:flex;flex-direction:column;gap:2px;min-width:0}.event-switch-text strong{font-size:14px}.event-switch-hint{font-size:12.5px;line-height:1.45;color:var(--color-text-sub);word-break:keep-all}.modal-box.event-form-box textarea{min-height:60px}.event-manage-card{position:relative;overflow:hidden;padding-top:22px}.event-manage-card::before{content:"";position:absolute;left:0;top:0;right:0;height:4px;background:linear-gradient(90deg,#14b8a6,#2f6fed)}.event-manage-card.ev-answer::before{background:linear-gradient(90deg,#8b5cf6,#ec4899)}.event-manage-card.ended{background:#fbfbfc}.event-manage-card.ended::before{background:#d1d5db}.event-manage-head{display:flex;align-items:center;gap:6px;flex-wrap:wrap}.event-state{display:inline-flex;padding:3px 10px;border-radius:999px;font-size:12px;font-weight:800;white-space:nowrap}.event-state.open{background:var(--color-green-bg);color:#136c39}.event-state.upcoming{background:#e8f0fe;color:#1e4fbf}.event-state.ended{background:var(--color-gray-bg);color:#4b5563}.event-manage-meta{display:flex;flex-direction:column;gap:2px;margin-top:8px;font-size:13px;color:var(--color-text-sub);word-break:keep-all}.event-stat-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(84px,1fr));gap:8px;margin-top:12px}.event-stat{padding:8px 10px;border-radius:12px;background:var(--color-gray-bg);min-width:0}.event-stat .k{display:block;font-size:11.5px;font-weight:700;color:var(--color-text-sub)}.event-stat .v{display:block;font-size:15px;font-weight:800;font-variant-numeric:tabular-nums;word-break:keep-all}.event-stat .v small{font-size:11.5px;font-weight:700;color:var(--color-text-sub)}.event-stat.todo{background:#fff1f1;box-shadow:inset 0 0 0 1.5px #f5c2c4}.event-stat.todo .v{color:#b42318}.event-stat.full .v{color:#4b5563}.event-mini-track{margin-top:8px;height:8px;border-radius:999px;background:var(--color-gray-bg);overflow:hidden}.event-mini-fill{height:100%;border-radius:inherit;background:linear-gradient(90deg,#2dd4bf,#0f9d8a)}.event-mini-fill.full{background:#9ca3af}.event-actions{margin-top:12px;flex-wrap:wrap;gap:6px}.event-review-picker select{font-weight:700}.event-review-info{margin-top:10px}.event-review-info:empty{display:none}.event-review-info .event-manage-head .muted{font-size:12.5px}#event-review-groups{display:grid;gap:16px}#event-review-groups>.card{margin-bottom:0}.event-review-group{padding:16px 16px 12px}.event-review-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px 10px;flex-wrap:wrap}.event-review-date{font-size:16px;font-weight:800}.event-review-tools{display:flex;gap:6px;flex-wrap:wrap}.event-missing{margin:10px 0 4px;padding:10px 12px;border-radius:12px;background:var(--color-yellow-bg)}.event-missing.all-done{background:var(--color-green-bg)}.event-missing-title{font-size:14px;font-weight:700;color:var(--color-text);word-break:keep-all}.event-missing.all-done .event-missing-title{color:var(--color-green)}.event-missing-names{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.event-missing-chip{padding:4px 10px;border-radius:999px;background:#fff;border:1px solid #f0d58a;font-size:13px;font-weight:700;color:var(--color-text)}.event-cancel-row{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-top:10px;font-size:12.5px}.event-cancel-row .muted{word-break:keep-all}.event-review-rows{margin-top:10px}.event-review-row{display:flex;gap:10px;padding:12px 8px;border-top:1px solid var(--color-border)}.event-review-row.picked{background:#eef4ff;border-radius:12px;border-top-color:transparent;box-shadow:inset 0 0 0 1.5px #bfd3fb}.event-review-row.paid{background:#f4fbf7}.event-review-row.has-error{box-shadow:inset 0 0 0 1.5px #f5c2c4;border-radius:12px}.event-review-check{flex:0 0 24px;margin:1px 0 0;display:flex;justify-content:center;font-size:15px;cursor:pointer}span.event-review-check{cursor:default}.event-review-check input{width:20px;height:20px;margin:0;accent-color:var(--color-primary);cursor:pointer}.event-review-check input:disabled{cursor:not-allowed}.event-review-body{flex:1;min-width:0}.event-review-top{display:flex;align-items:center;gap:4px 8px;flex-wrap:wrap}.event-review-top strong{font-size:14.5px}.event-review-top .status-pill{margin-left:auto}.event-review-answer{margin:6px 0 0;font-size:14px;line-height:1.6;white-space:pre-wrap;word-break:keep-all;overflow-wrap:anywhere}.acrostic{display:flex;flex-direction:column;gap:6px;white-space:normal}.acrostic-line{display:flex;align-items:center;gap:10px}.acrostic-head{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:50%;background:linear-gradient(160deg,#ff9a62,#e8457a);color:#fff;font-size:17px;font-weight:800;line-height:1;box-shadow:0 2px 6px rgba(232,69,122,0.3)}.acrostic-text{flex:1 1 auto;line-height:1.5}.acrostic-echo{color:#d6336c;font-size:1.15em;font-weight:800}.event-history-answer .acrostic-head{width:22px;height:22px;font-size:12px}.acrostic-inputs{display:flex;flex-direction:column;gap:8px;margin-bottom:6px}.acrostic-input-row{display:flex;align-items:center;gap:10px}.acrostic-input-row input{flex:1 1 auto;margin:0}.event-question.acrostic-word .event-q-mark{background:linear-gradient(160deg,#ff9a62,#e8457a)}.event-review-amount{display:flex;align-items:center;gap:6px;margin-top:8px}.event-review-amount label{margin:0;font-size:12.5px}.event-review-amount input{width:112px;padding:7px 10px;text-align:right;font-weight:800;font-variant-numeric:tabular-nums}.event-review-row.has-error .ev-amount{border-color:var(--color-red)}.event-review-paid{margin-top:8px;font-size:13px;font-weight:800;color:#136c39}.event-review-blocked{margin-top:8px;font-size:12.5px;font-weight:600;color:var(--color-text-sub)}.event-review-error{margin-top:4px;font-size:12.5px;font-weight:700;color:#b42318}.event-review-error:empty{display:none}.event-review-foot{position:sticky;bottom:76px;z-index:5;margin:10px -16px -12px;padding:10px 16px 12px;border-top:1px solid var(--color-border);background:#fff;border-radius:0 0 var(--radius) var(--radius);box-shadow:0 -6px 12px -8px rgba(20,30,60,0.18)}.event-review-foot .btn{word-break:keep-all}.ev-pay-note{margin-bottom:6px;line-height:1.45;word-break:keep-all}.ev-pay-note:empty{display:none}@media(prefers-reduced-motion:reduce){.event-stamp.stamp-now,.event-paper.stamp-now,.event-card.celebrate{animation:none}.event-seats-fill,.event-switch-track,.event-switch-track::after{transition:none}}.btn-danger-outline{color:var(--color-red);border-color:var(--color-red)}.reset-warning{background:var(--color-red-bg);border:1px solid #f5c2c4;color:#8a1c20}.reset-warning p{margin:6px 0 0;font-size:13px}.reset-mode{display:flex;align-items:flex-start;gap:10px;margin:0 0 10px;padding:12px;border:1.5px solid var(--color-border);border-radius:12px;font-weight:400;cursor:pointer}.reset-mode input{width:18px;height:18px;margin:3px 0 0;flex-shrink:0;accent-color:var(--color-red)}.reset-mode:has(input:checked){border-color:var(--color-red);background:#fff7f7}.reset-lists{display:grid;gap:12px;margin-top:6px}.reset-list-title{margin-bottom:4px;font-size:13.5px;font-weight:800}.reset-list{display:grid;gap:3px;margin:0;padding-left:18px;font-size:13px;color:var(--color-text-sub)}@media(min-width:900px){:root{--sidebar-width: 240px}body{display:flex;justify-content:center}#app{max-width:100%;margin:0;width:100%}#app.with-bottom-nav{padding-bottom:0;padding-left:var(--sidebar-width)}.screen{max-width:1080px;padding:36px 44px}.center-screen{max-width:420px;margin:0 auto}.card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px;align-items:start}.card-grid>.card,.card-grid>.shop-item-card{margin-bottom:0}.holdings-table{display:table}#donate-campaign-list,#campaign-manage-list{grid-template-columns:repeat(auto-fill,minmax(340px,1fr));align-items:start}.holdings-list{display:none}.bottom-nav{top:0;bottom:0;left:0;transform:none;width:var(--sidebar-width);max-width:var(--sidebar-width);height:100vh;flex-direction:column;align-items:stretch;justify-content:flex-start;border-top:none;border-right:1px solid var(--color-border);padding-top:24px}.bottom-nav .nav-item{flex:none;display:flex;align-items:center;gap:12px;text-align:left;padding:14px 24px;font-size:14.5px;border-radius:0}.bottom-nav .nav-item .nav-emoji{margin-bottom:0;font-size:19px}.bottom-nav .nav-item.nav-secondary{display:flex}.modal-overlay{align-items:center}.modal-box{max-width:440px;border-radius:16px}.toast-wrap{left:calc(50% + var(--sidebar-width) / 2)}.bulk-bar{bottom:24px;left:calc(50% + var(--sidebar-width) / 2);max-width:600px;border:1px solid var(--color-border);border-radius:14px;box-shadow:var(--shadow)}.select-bar{bottom:24px}.stock-chart-wrap{height:360px}.preset-list{grid-template-columns:repeat(auto-fill,minmax(170px,1fr))}#view-home{width:100%;max-width:1080px;margin:0 auto}.home-cards{grid-template-columns:repeat(2,1fr)}#view-trophy{width:100%;max-width:1080px;margin:0 auto}.trophy-tile{padding:24px 18px 20px}.trophy-tile-emoji{font-size:48px}.trophy-tile-name{font-size:22px}.home-card{min-height:250px;padding:32px 30px}.home-card:hover{transform:translateY(-2px);box-shadow:0 12px 28px rgba(20,30,60,0.18)}.home-card-emoji{font-size:52px}.home-card-title{font-size:28px}#view-daily-quiz{max-width:720px}#view-event-list{width:100%;max-width:900px;margin:0 auto}#event-live-list{grid-template-columns:repeat(auto-fill,minmax(340px,1fr));align-items:start}#event-create-form{max-width:760px}#event-manage-list{grid-template-columns:repeat(auto-fill,minmax(340px,1fr));align-items:start}#view-event-review{max-width:900px}.event-review-foot{bottom:16px}#quiz-question-list{grid-template-columns:repeat(auto-fill,minmax(340px,1fr));align-items:start}.reset-lists{grid-template-columns:1fr 1fr}#view-bank-reset{max-width:820px}.deposit-layout{flex-direction:row;align-items:flex-start;gap:24px}.deposit-form-col{width:360px;flex:none;position:sticky;top:24px}.deposit-list-col{flex:1;min-width:0}}@media(min-width:1200px){.home-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(min-width:600px)and (max-width:899px){#app{max-width:100%}.bottom-nav{max-width:100%}.bulk-bar{max-width:640px}.screen{padding:24px 28px}.card-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:12px;align-items:start}.card-grid>.card,.card-grid>.shop-item-card{margin-bottom:0}.home-card{min-height:190px}}.v3-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}.v3-grid input{min-width:0;width:100%}.v3-note{padding:14px;margin:12px 0;border:1px solid #d8deea;border-radius:12px;background:#f7f9fd;overflow-wrap:anywhere}.v3-prose{white-space:pre-wrap;line-height:1.75;overflow-wrap:anywhere}.news-card h2{font-size:18px;line-height:1.5;margin:8px 0}.news-card h2 button{text-align:left;white-space:normal;font-size:inherit;font-weight:700}#stock-wizard progress{width:100%;accent-color:#4338ca}#stock-wizard h3,#news-detail h3{margin:10px 0;font-size:16px}#stock-wizard input[type=checkbox],#news-settings-form input[type=checkbox]{width:auto}#news-detail:focus{outline:2px solid #4338ca;outline-offset:4px}#news-schedules button,#news-manage-list button{white-space:normal}@media(max-width:400px){.v3-grid{grid-template-columns:1fr}}.securities-nav{display:flex;flex-wrap:wrap;gap:8px;margin:12px 0 18px}.securities-nav{border-bottom:1px solid #dce4ef;padding-bottom:12px}#account-menu-btn{max-width:180px;white-space:normal}[role=link].tx-item{cursor:pointer}#dashboard-stock-value{display:block;margin:8px 0 16px}@media(max-width:767px){.home-card{min-width:0;min-height:168px;padding:18px 14px;border-radius:16px;gap:5px}.home-card-emoji{font-size:32px}.home-card-title{font-size:20px}.home-card-desc{font-size:12px;overflow-wrap:anywhere}.home-card-status{font-size:11px;padding:5px 8px;max-width:100%;box-sizing:border-box;overflow-wrap:anywhere}}@media(max-width:480px){.securities-nav .range-btn{flex:1 0 28%}}.securities-nav [aria-current=page]{color:var(--color-primary);background:#eef4ff;font-weight:700}@media(min-width:900px){#app.with-section-sidebar{padding-left:var(--sidebar-width)}#securities-nav{position:fixed;top:0;bottom:0;left:0;z-index:20;width:var(--sidebar-width);height:100dvh;overflow-y:auto;display:flex;flex-direction:column;flex-wrap:nowrap;align-items:stretch;justify-content:flex-start;gap:0;margin:0;padding:24px 0;background:#fff;border:0;border-right:1px solid var(--color-border)}#securities-nav .range-btn{display:flex;align-items:center;justify-content:flex-start;gap:12px;flex:none;width:100%;margin:0;padding:14px 24px;border:0;border-radius:0;box-shadow:none;text-align:left;white-space:normal;font-size:14.5px;background:transparent;color:var(--color-text-sub);font-weight:400}#securities-nav [aria-current=page]{color:var(--color-primary);background:#eef4ff;font-weight:700}#securities-nav button:hover{background:#f3f6fc}}#messaging-tabs{display:flex;flex-wrap:wrap;gap:8px;margin:16px 0}#messaging-tabs.hidden,#messaging-tabs:empty{display:none}#messaging-tabs .btn{flex:0 1 auto;width:auto;margin:0}#messaging-tabs .btn[aria-selected=true]{color:var(--color-primary);background:#eef4ff;font-weight:700}.home-card-donation{background:linear-gradient(135deg,#e1577d,#a82b52)}.home-card-shop{background:linear-gradient(135deg,#d98816,#a45b0b)}.home-card-roulette{background:linear-gradient(135deg,#7c4dde,#4b2aa3)}.home-card-character{background:linear-gradient(135deg,#2f8f6b,#1d5e6e)}.home-card-mbti{background:linear-gradient(135deg,#1188c2,#0b5a84)}.home-card-classboard{background:linear-gradient(135deg,#3b6fd8,#22449c)}body.cb-tv-on{overflow:hidden}.tv-picks{display:grid;gap:8px;margin:12px 0 6px}.tv-pick{display:flex;flex-direction:column;align-items:flex-start;gap:3px;width:100%;padding:12px 14px;border:1.5px solid var(--color-border);border-radius:14px;background:#fff;color:inherit;text-align:left;font:inherit;cursor:pointer}.tv-pick:hover,.tv-pick:focus-visible{border-color:#3b6fd8;background:#f3f7ff;outline:none}.tv-pick b{font-size:15px}.tv-pick span{font-size:13px;color:var(--color-text-sub)}.tv-pick small{font-size:12px;font-weight:700;color:#3b6fd8}.tv-note{margin:6px 0 0;font-size:12.5px;color:var(--color-text-sub);word-break:keep-all}.tv-status{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;margin:0 0 10px;padding:10px 14px;border:1px solid #c9dafc;border-radius:14px;background:#eef4ff;color:#1d4fb8;font-size:13.5px;font-weight:700}.tv-status.hidden{display:none}.tv-status span{flex:1 1 220px;min-width:0;word-break:keep-all}.tv-status .btn{width:auto;margin:0}.tv-hint{position:absolute;top:2.5%;left:50%;z-index:6;transform:translateX(-50%);padding:.6em 1.2em;border-radius:999px;background:rgba(10,14,30,.68);color:#fff;font-size:clamp(14px,1.4vw,26px);font-weight:800;white-space:nowrap;pointer-events:none;box-shadow:0 4px 16px rgba(0,0,0,.25)}.tv-hint.hidden{display:none}body.tv-window #top-bar{display:none}body.tv-window.tv-idle,body.tv-window.tv-idle *{cursor:none!important}body.tv-window .cb-exit,body.tv-window .marble-zoom{transition:opacity .4s}body.tv-window.tv-idle .cb-exit,body.tv-window.tv-idle .marble-zoom{opacity:0!important;pointer-events:none}.home-card-worry{background:linear-gradient(135deg,#df7a5e,#a8463a)}.home-card-game{background:linear-gradient(135deg,#3fa34d,#1f6e3a)}.home-card-cta{display:inline-block;margin-top:8px;padding:5px 12px;border-radius:999px;background:rgba(255,255,255,.22);color:#fff;font-size:13px;font-weight:800}@media(min-width:1200px){.home-cards{grid-template-columns:repeat(4,minmax(0,1fr))}}@media(max-width:899px){#app{width:100%;min-height:100dvh}.screen{min-width:0}.top-bar{padding:12px max(12px,env(safe-area-inset-right)) 12px max(12px,env(safe-area-inset-left));gap:8px}.top-bar .title{font-size:15px}.top-bar .sub{font-size:11px}.top-bar-actions{gap:5px;flex:1}.top-bar button.icon-btn{font-size:12px;padding:7px 8px}#account-menu-btn{max-width:130px}#app.with-bottom-nav{padding-bottom:calc(76px + env(safe-area-inset-bottom))}.bottom-nav{padding-bottom:calc(8px + env(safe-area-inset-bottom))}input,select,textarea{font-size:16px;max-width:100%}.home-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}#messaging-tabs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}#messaging-tabs .btn{min-width:0;white-space:normal}}@media(max-width:899px){#view-stock-manage>.btn-row,#open-stock-holdings-btn,#view-stocks>.btn-row{display:none}}.mobile-menu-toggle{display:none}@media(max-width:899px){#app.with-bottom-nav,#app.with-section-sidebar{padding-bottom:calc(var(--mobile-menu-height,90px) + 24px)}.bulk-bar,.event-review-foot,.select-bar{bottom:var(--mobile-menu-height,76px)}.bottom-nav.mobile-menu,#securities-nav.mobile-menu{position:fixed;top:auto;bottom:0;left:50%;transform:translateX(-50%);width:100%;max-width:480px;height:auto;max-height:60dvh;overflow-y:auto;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));align-items:stretch;gap:0;margin:0;padding:22px 0 calc(8px + env(safe-area-inset-bottom));background:#fff;border:0;border-top:1px solid var(--color-border);z-index:30}.mobile-menu .mobile-menu-item,#securities-nav.mobile-menu .range-btn{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;width:100%;min-width:0;min-height:58px;margin:0;padding:8px 3px;border:0;border-radius:0;background:transparent;color:var(--color-text-sub);font-size:11px;line-height:1.3;white-space:normal;text-align:center;box-shadow:none}.mobile-menu .mobile-menu-item>span:first-child{display:block;font-size:21px;margin:0}.bottom-nav.mobile-menu .nav-item.nav-secondary{display:flex}.mobile-menu:not(.mobile-menu-expanded) .mobile-menu-extra{display:none!important}.mobile-menu .mobile-menu-toggle{display:block;position:absolute;top:0;left:calc(50% - 24px);width:48px;height:22px;border:0;border-radius:8px;background:#edf2fa;color:var(--color-primary);font-size:20px;line-height:20px;cursor:pointer}.mobile-menu .mobile-menu-item.active,#securities-nav.mobile-menu [aria-current=page]{color:var(--color-primary);background:#eef4ff;font-weight:700}}@media(min-width:600px)and (max-width:899px){.bottom-nav.mobile-menu,#securities-nav.mobile-menu{max-width:100%}}@media(min-width:760px)and (max-width:899px){.home-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}.chat-read.done{color:var(--color-text-sub);font-weight:700}.home-chat-icon{display:inline-block;width:1em;height:1em}.home-chat-icon svg{display:block;width:100%;height:100%;filter:drop-shadow(0 2px 3px rgba(0,0,0,.18))}.dice-room-form{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}.dice-room-form input{flex:1 1 150px;min-width:0;margin:0}.dice-room-form .btn{width:auto}.dice-room.mine{margin:8px 0;padding:10px 12px;border-radius:12px;background:#fff8e6;border:1px solid #ffe08a}.dice-room.mine .btn{width:auto}.dice-room-list{margin-top:10px}.dice-room-list>strong{display:block;font-size:14px;margin-bottom:4px}.dice-room-empty{font-size:13px;padding:6px 0}.play-tile .s.reward{color:#2b8a3e;font-weight:800}.play-tile .s.reward small{font-weight:600;opacity:.8}.play-reward-btn{width:auto;margin-top:10px}.modal-box.game-reward-modal{width:min(980px,calc(100vw - 24px));max-width:min(980px,calc(100vw - 24px))}.game-reward-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:12px 20px}.game-reward-col{display:flex;flex-direction:column;gap:6px;min-width:0}.game-reward-col>strong{white-space:nowrap}.game-reward-field{display:grid;grid-template-columns:minmax(0,1fr) 76px auto;align-items:center;gap:6px;margin:0;font-size:13px;font-weight:700}.game-reward-field>span{white-space:nowrap}.game-reward-field input{margin:0;padding:6px 10px;height:36px;min-height:0;text-align:right}.game-reward-field em{font-style:normal;font-size:12px;color:var(--color-text-sub)}.game-reward-sub{margin:6px 0 0;padding-top:6px;border-top:1px dashed var(--color-border);font-size:12.5px;font-weight:800;color:var(--color-text-sub)}.game-rank-prize{margin-left:auto;padding:2px 8px;border-radius:999px;background:#fff3bf;color:#8a5a00;font-size:12px;font-weight:800;white-space:nowrap}.game-reward-recent{margin-top:12px;font-size:13px}.game-reward-recent ul{margin:4px 0 0;padding:0;list-style:none;max-height:180px;overflow:auto}.game-reward-recent li{display:flex;justify-content:space-between;gap:8px;padding:4px 2px;border-bottom:1px solid var(--color-border)}.game-reward-recent b{color:#2b8a3e}.home-card-calendar{grid-column:1 / -1;flex-direction:column;align-items:stretch;gap:8px;min-height:0;cursor:default;background:linear-gradient(135deg,#1a73e8,#174ea6)}.home-card-calendar:active{transform:none}.home-cal-head{display:flex;align-items:center;gap:10px}.home-cal-head .home-card-emoji{font-size:30px}.home-cal-actions{margin-left:auto;display:flex;gap:6px}.home-cal-btn{padding:5px 10px;border:0;border-radius:999px;background:rgba(255,255,255,.2);color:#fff;font:inherit;font-size:13px;font-weight:800;cursor:pointer}.home-cal-btn:disabled{opacity:.6}.home-fold-note{display:none;font-size:13px;font-weight:800;opacity:.85}.home-card.folded .home-fold-note{display:inline}.home-card.folded .home-cal-body{display:none}.home-card.folded .home-cal-actions>:not([data-home-fold]){display:none!important}.home-card.folded .home-cal-head .home-card-emoji{font-size:24px}.home-fold-btn{background:rgba(255,255,255,.28)}.home-fold-btn,.home-week-toggle{display:inline-flex;align-items:center;justify-content:center;flex-shrink:0;width:60px;height:30px;padding:5px 10px;border:0;border-radius:999px;font:inherit;font-size:13px;font-weight:800;line-height:20px;white-space:nowrap}.home-cal-connect{align-self:flex-start;padding:8px 14px;border:0;border-radius:12px;background:#fff;color:#174ea6;font:inherit;font-weight:800;cursor:pointer}.home-cal-empty{margin:0;font-size:14px;opacity:.95}.home-cal-error{margin:0;font-size:12.5px;font-weight:700;color:#ffe066}.home-cal-sync{margin:0;font-size:11.5px;opacity:.8}.home-card-notion{grid-column:1 / -1;flex-direction:column;align-items:stretch;gap:8px;min-height:0;cursor:default;background:linear-gradient(135deg,#3b3a36,#1f1e1b)}.home-card-notion:active{transform:none}a.home-cal-btn{text-decoration:none;display:inline-flex;align-items:center}.home-card-notion .notion-connect{color:#2f2e2a}.notion-list{display:flex;flex-direction:column;gap:4px}.notion-item{display:flex;align-items:center;gap:10px;margin:0;padding:8px 10px;border-radius:10px;background:rgba(255,255,255,.1);color:#fff;font-size:14.5px;font-weight:600;cursor:pointer;line-height:1.4}.notion-item:hover{background:rgba(255,255,255,.16)}.notion-item input{flex:0 0 auto;width:20px;height:20px;margin:0;accent-color:#4ade80;cursor:pointer}.notion-item .notion-text{flex:1 1 auto;min-width:0;overflow-wrap:anywhere;word-break:keep-all}.notion-item.done .notion-text{text-decoration:line-through;opacity:.65}.notion-due{flex:0 0 auto;padding:1px 7px;border-radius:999px;background:rgba(255,255,255,.18);font-size:11.5px;font-weight:800}.notion-done summary{cursor:pointer;font-size:13px;font-weight:800;opacity:.85;margin:2px 0 6px}.notion-add{display:flex;gap:6px}.notion-add input{flex:1 1 auto;min-width:0;margin:0;padding:8px 12px;border:1px solid rgba(255,255,255,.3);border-radius:10px;background:rgba(255,255,255,.95);font:inherit;font-size:14px;color:#1f1e1b}.notion-add .home-cal-btn{flex:0 0 auto}.notion-steps{margin:0 0 10px;padding-left:20px;font-size:13px;line-height:1.6;color:var(--color-text-sub)}.notion-steps li{margin-bottom:4px}.cal-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:8px 14px}.cal-day-head{font-size:12.5px;font-weight:800;opacity:.9;margin-bottom:2px}.cal-item{display:flex;gap:8px;align-items:baseline;padding:3px 0;font-size:14px}.cal-time{flex:0 0 auto;min-width:44px;font-size:12px;font-weight:800;opacity:.85}.cal-title{min-width:0;font-weight:700;overflow-wrap:anywhere}.cal-until{font-size:11.5px;font-weight:600;opacity:.8}.cal-dot{display:inline-block;width:8px;height:8px;margin-right:5px;border-radius:50%;vertical-align:1px}.cal-conn-list{margin:0 0 10px;padding:0;list-style:none}.cal-conn-list li{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:6px 2px;border-bottom:1px solid var(--color-border);font-size:13.5px}.cal-err{color:#c92a2a;font-size:12px;font-weight:700}.cal-add{display:flex;flex-direction:column;gap:6px;font-size:13px}.cal-add input{margin:0}.cal-all-modal{max-width:620px}.cal-all-modal .cal-list{grid-template-columns:1fr;max-height:60vh;overflow:auto}.cal-all-modal .cal-day{padding:6px 0;border-bottom:1px solid var(--color-border)}.cal-all-modal .cal-time{color:var(--color-primary)}.school-date-warn{margin:4px 0 0;font-size:12.5px;font-weight:700;color:#c92a2a;line-height:1.4}input.school-off{border-color:#e03131;background:#fff5f5}.school-days-modal{max-width:520px}.school-days-modal .sd-help{font-size:12.5px;line-height:1.5;margin:0 0 8px}.sd-nav{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:4px 0 6px}.sd-nav .btn{width:auto}.sd-grid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:3px}.sd-head{text-align:center;font-size:12px;font-weight:800;color:var(--color-text-sub)}.sd-head.sun{color:#e03131}.sd-head.sat{color:#1c7ed6}.sd-cell{display:flex;flex-direction:column;align-items:center;justify-content:flex-start;min-height:46px;padding:4px 1px;border:1px solid var(--color-border);border-radius:8px;background:#fff;color:var(--color-text);font:inherit;cursor:pointer;overflow:hidden}.sd-cell.blank{border:0;background:transparent;cursor:default}.sd-cell b{font-size:13px}.sd-cell small{font-size:9.5px;line-height:1.15;font-weight:700;word-break:keep-all;text-align:center}.sd-cell.sun b{color:#e03131}.sd-cell.sat b{color:#1c7ed6}.sd-cell.off-weekend{background:#f1f3f5}.sd-cell.off-holiday{background:#fff0f0;border-color:#ffc9c9;color:#c92a2a}.sd-cell.off-holiday b{color:#c92a2a}.sd-cell.off-custom{background:#fff4e6;border-color:#ffd8a8;color:#d9480f}.sd-cell.on{background:#ebfbee;border-color:#b2f2bb;color:#2b8a3e}.sd-cell.off-calendar{background:#f3f0ff;border-color:#d0bfff;color:#6741d9}.sd-cell.today{box-shadow:inset 0 0 0 2px var(--color-primary)}.sd-legend{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0;font-size:11.5px;font-weight:700}.sd-legend span{padding:2px 8px;border-radius:999px;border:1px solid var(--color-border)}.sd-legend .off-holiday{background:#fff0f0;color:#c92a2a}.sd-legend .off-weekend{background:#f1f3f5}.sd-legend .off-custom{background:#fff4e6;color:#d9480f}.sd-legend .on{background:#ebfbee;color:#2b8a3e}.sd-legend .off-calendar{background:#f3f0ff;color:#6741d9}.sd-add{margin-top:6px;font-size:13px}.sd-add-row{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:6px}.sd-add-row input[type=date]{flex:1 1 130px;min-width:0;margin:0}.sd-add-row input[type=text]{flex:2 1 160px;min-width:0;margin:0}.sd-add-row .btn{width:auto}.sd-list{margin-top:10px;font-size:13px}.sd-list ul{margin:4px 0 0;padding:0;list-style:none}.sd-list li{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:5px 2px;border-bottom:1px solid var(--color-border)}@media(max-width:420px){.sd-cell{min-height:40px}.sd-cell small{font-size:8.5px}}.home-cards{grid-auto-flow:row dense}#home-trophy-card{grid-column:1 / -1;flex-direction:row;align-items:stretch;gap:16px;padding-top:18px;padding-bottom:18px;--trophy-slot:122px;--trophy-gap:8px}#home-trophy-card .home-trophy-head{display:flex;flex-direction:column;align-items:flex-start;gap:6px;flex:1 1 auto;min-width:0}#home-trophy-card.has-tiles .home-trophy-head{flex:0 0 auto;width:132px}#home-trophy-card .home-trophy-tiles{display:flex;flex:1 1 auto;gap:var(--trophy-gap);min-width:0;margin:0;align-items:stretch}#home-trophy-card .home-trophy-tiles.hidden{display:none}#home-trophy-card .home-trophy-tiles .trophy-tile.trophy-stage{flex:var(--n,1) 1 calc(var(--trophy-slot) * var(--n,1) + var(--trophy-gap) * (var(--n,1) - 1));max-width:calc((var(--trophy-slot) * var(--n,1) + var(--trophy-gap) * (var(--n,1) - 1)) * 1.5);min-width:0}#home-trophy-card .home-trophy-tiles .trophy-tile.trophy-stage>.trophy-stage-figs{min-height:120px}@media(min-width:900px){#home-trophy-card{--trophy-slot:136px;gap:22px}#home-trophy-card.has-tiles .home-trophy-head{width:150px}#home-trophy-card .home-trophy-tiles .trophy-tile.trophy-stage>.trophy-stage-figs{min-height:150px}}@media(max-width:599px){#home-trophy-card{gap:10px;--trophy-slot:100px;--trophy-gap:6px}#home-trophy-card.has-tiles .home-trophy-head{width:74px}#home-trophy-card .home-trophy-tiles .trophy-tile.trophy-stage>.trophy-stage-figs{min-height:104px}}.trophy-tile.tappable [data-trophy-who]{cursor:pointer;border-radius:12px;transition:transform .12s ease}.trophy-tile.tappable .trophy-figure[data-trophy-who]:hover{transform:translateY(-3px)}.trophy-tile.tappable .trophy-name-cell[data-trophy-who]{text-decoration:underline dotted;text-underline-offset:3px}.trophy-tile.tappable [data-trophy-who]:focus-visible{outline:3px solid #ffd54f;outline-offset:2px}.news-trophy-box{max-width:560px;width:100%}.news-trophy-body{max-height:min(62vh,560px);overflow-y:auto;margin:4px 0 8px}.news-trophy-item{padding:10px 12px;margin:0 0 8px;border:1px solid var(--color-border);border-radius:12px;background:#fafbfc}.news-trophy-item .head{display:flex;justify-content:space-between;align-items:flex-start;gap:8px}.news-trophy-item .head strong{font-size:14px;line-height:1.4}.news-trophy-item .meta{margin:2px 0 6px;font-size:12.5px;color:var(--color-text-sub)}.news-trophy-item p{margin:4px 0 0;font-size:13.5px;line-height:1.55;word-break:keep-all;overflow-wrap:anywhere}.news-trophy-star{flex:none;padding:2px 8px;border-radius:999px;background:#fff3bf;color:#8a5a00;font-size:12px;font-weight:800;white-space:nowrap}.news-trophy-sum{display:flex;gap:8px;margin:0 0 10px}.news-trophy-sum div{flex:1;padding:8px;border-radius:12px;background:#f1f5ff;text-align:center;font-size:12.5px;color:var(--color-text-sub)}.news-trophy-sum b{display:block;font-size:18px;color:var(--color-text, #111827)}.trophy-choice{display:grid;gap:8px}.trophy-choice .btn{width:100%;padding:14px;font-size:15px}.pay-mode-opts{display:flex;flex-direction:column;gap:8px}.pay-mode-opt{display:flex;flex-direction:column;gap:3px;width:100%;padding:12px 14px;border:1.5px solid var(--color-border);border-radius:12px;background:var(--color-gray-bg);font:inherit;text-align:left;color:inherit;cursor:pointer}.pay-mode-opt b{font-size:15.5px}.pay-mode-opt span{font-size:13px;color:var(--color-text-sub);word-break:keep-all}.pay-mode-opt:hover:not(:disabled){border-color:var(--color-primary)}.pay-mode-opt:disabled{opacity:.55;cursor:default}.pay-mode-opt.busy{border-color:var(--color-primary);background:#eef4ff}

.worry-hub-list{margin-top:18px}.worry-hub-tile{position:relative;min-height:112px}.worry-hub-tile .t strong{font-size:18px;line-height:1.4;word-break:keep-all}.worry-hub-tile .t strong .home-card-title{font-size:inherit;font-weight:inherit}.worry-hub-counsel{background:linear-gradient(135deg,#fff6e8,#ffdec8);color:#8a421d;box-shadow:0 4px 14px rgba(138,66,29,.12)}.worry-hub-orb{background:linear-gradient(135deg,#f5efff,#dcd0ff);color:#513185;box-shadow:0 4px 14px rgba(81,49,133,.14)}.worry-hub-mbti{background:linear-gradient(135deg,#eaf6ff,#c5e4fb);color:#2a5b7d;box-shadow:0 4px 14px rgba(42,91,125,.12)}.worry-hub-tile .home-card-status{margin:0;font-size:13px}.worry-hub-tile .home-card-off-tag,.worry-hub-tile .home-card-time-tag{position:absolute;top:8px;right:12px;margin:0;background:rgba(0,0,0,.55);color:#fff}.worry-hub-tile.card-off{opacity:.6}.worry-hub-tile.card-locked{opacity:.55}.worry-hub-tile .s.alert{align-self:flex-start;padding:2px 9px;border-radius:999px;background:#fff;color:#a62939}.magic-orb-mini{display:block;flex:0 0 64px;width:64px;height:64px;object-fit:contain;filter:drop-shadow(0 2px 5px #6652ba55)}.magic-orb-modes{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin:16px 0}.magic-orb-mode{min-height:44px;padding:10px 18px;border:1px solid #d8cbe9;border-radius:999px;background:#fff;color:#5d4579;font:inherit;font-weight:700;cursor:pointer}.magic-orb-mode.active{border-color:#6d4d95;background:#6d4d95;color:#fff;box-shadow:0 3px 12px #6d4d9526}.magic-orb-mode:focus-visible{outline:3px solid #b5a0da;outline-offset:3px}.magic-orb-stage{position:relative;isolation:isolate;overflow:hidden;max-width:780px;margin:16px auto 0;padding:42px 32px 24px;border:1px solid #302b51;border-radius:28px;background:radial-gradient(ellipse at 50% 38%,#29204d 0,#12112b 45%,#070c19 85%);text-align:center;color:#f4ecff;box-shadow:0 14px 40px #0a082826}.magic-orb-stage::before{content:"";position:absolute;inset:0;z-index:-1;pointer-events:none;opacity:.65;background-image:radial-gradient(circle at 11% 16%,#c6caff 0 1px,transparent 2px),radial-gradient(circle at 87% 22%,#e8dcff 0 1px,transparent 2px),radial-gradient(circle at 17% 68%,#948cda 0 1px,transparent 2px),radial-gradient(circle at 92% 74%,#c3dcff 0 1px,transparent 2px);background-size:173px 211px,239px 241px,197px 257px,281px 179px}.magic-orb-stage::after{content:"";position:absolute;left:12%;right:12%;top:40%;height:220px;border-radius:50%;background:#784de622;filter:blur(40px);pointer-events:none;z-index:-1}.magic-orb-sphere{position:relative;display:flex;align-items:center;justify-content:center;width:min(100%,460px);aspect-ratio:1;margin:0 auto;border-radius:50%;background:#10112b;box-shadow:0 0 56px #8764e43d,0 16px 48px #0007;z-index:1}.magic-orb-art{position:absolute;inset:-5%;width:110%;height:110%;max-width:none;object-fit:contain;pointer-events:none;user-select:none;z-index:1;filter:drop-shadow(0 0 12px #8b8bff45)}.magic-orb-cosmos{position:absolute;inset:4%;border-radius:50%;overflow:hidden;pointer-events:none;z-index:2;mix-blend-mode:screen;opacity:.68;mask-image:radial-gradient(circle,#000 45%,#0008 68%,transparent 76%)}.magic-orb-nebula{position:absolute;inset:-25%;background:radial-gradient(ellipse at 36% 35%,#e6b5ff8a 0,transparent 32%),radial-gradient(ellipse at 66% 58%,#62cdfd9a 0,transparent 30%),conic-gradient(from 40deg,transparent,#b280ff80,transparent 35%,#4977ef70,transparent 70%,#b280ff80,transparent);filter:blur(12px);animation:magic-orb-galaxy 32s linear infinite}.magic-orb-stars{position:absolute;inset:-20%;background-image:radial-gradient(circle,#fff 0 1px,transparent 1.7px),radial-gradient(circle,#bcdcff 0 1.2px,transparent 2px);background-size:43px 57px,79px 93px;background-position:0 0,17px 31px;transform:rotate(-18deg);animation:magic-orb-galaxy 65s linear infinite reverse;opacity:.7}.magic-orb-inner{position:relative;width:76%;max-width:350px;padding:16px 8px;color:#f6efff;z-index:4}.magic-orb-inner label{display:block;margin:0 0 9px;font-weight:800;font-size:17px;color:#f9f3ff;text-shadow:0 2px 8px #050413}.magic-orb-input{display:block;width:100%;min-height:96px;max-height:140px;margin:0;padding:12px 13px;resize:vertical;border:1.5px solid #a4a3dc;border-radius:16px;background:#080e25e8;color:#fff7ff;font:inherit;font-size:15px;line-height:1.65;box-shadow:inset 0 2px 12px #0006,0 0 16px #949aff26}.magic-orb-input::placeholder{color:#c5bfd9}.magic-orb-input:focus{outline:3px solid #c5baff70;outline-offset:2px;border-color:#e1d7ff}.magic-orb-input:disabled{opacity:.75}.magic-orb-count{display:block;margin:5px 3px 10px;text-align:right;font-size:11px;color:#ddd4f1;text-shadow:0 1px 5px #080513}.magic-orb-solve{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:44px;margin:0;padding:10px 18px;border:1px solid #ded4ff;border-radius:999px;background:linear-gradient(135deg,#ecddff,#c6ccff);color:#30234c;font:inherit;font-size:15px;font-weight:800;box-shadow:0 0 22px #c9acff4d,0 4px 14px #0006;cursor:pointer}.magic-orb-solve:hover{background:linear-gradient(135deg,#fff2ff,#e0e4ff)}.magic-orb-solve:focus-visible{outline:3px solid #e1d3ff;outline-offset:4px}.magic-orb-solve:disabled{opacity:.55;cursor:default}.magic-orb-sphere.is-thinking .magic-orb-art{animation:magic-orb-breathe 2.2s ease-in-out infinite}.magic-orb-sphere.is-thinking .magic-orb-nebula{animation-duration:7s}.magic-orb-answer-caption{margin:0 0 14px;font-size:12px;color:#e2d5ff;letter-spacing:.07em;text-shadow:0 2px 8px #050413}.magic-orb-answer{margin:0 0 19px;padding:12px 7px;border-radius:18px;background:#090f26c9;font-size:clamp(19px,4.8vw,29px);font-weight:900;line-height:1.55;color:#fff7df;word-break:keep-all;overflow-wrap:anywhere;text-shadow:0 0 18px #d7b0ff70;box-shadow:0 0 28px #18112e66}.magic-orb-sphere.is-revealed .magic-orb-answer{animation:magic-orb-reveal 1.1s cubic-bezier(.16,.8,.25,1) both}.magic-orb-again{min-height:40px;border:1px solid #cec0ef;border-radius:999px;background:#15132cd9;padding:8px 14px;color:#f2eaff;font:inherit;font-size:13px;font-weight:700;cursor:pointer}.magic-orb-again:focus-visible{outline:3px solid #d8c9ff;outline-offset:3px}.magic-orb-magic{position:absolute;inset:0;pointer-events:none;z-index:3}.magic-orb-ring{position:absolute;inset:8%;border:1px solid #e2c3ff;border-radius:50%;opacity:0;box-shadow:0 0 16px #b58aff99,inset 0 0 12px #b58aff66}.magic-orb-sphere.is-revealed .magic-orb-ring{animation:magic-orb-ring 1.7s ease-out both}.magic-orb-sphere.is-revealed .magic-orb-ring.second{animation-delay:.35s}.magic-orb-spark{position:absolute;left:50%;top:50%;font-size:16px;color:#fff1b8;opacity:0;text-shadow:0 0 8px #e4bcff}.magic-orb-sphere.is-revealed .magic-orb-spark{animation:magic-orb-spark 1.8s ease-out both;animation-delay:calc(var(--i)*.035s)}.magic-orb-note{max-width:480px;margin:15px auto 0;color:#bfb6d2;font-size:12px;line-height:1.6;word-break:keep-all}.magic-orb-question{max-width:480px;margin:23px auto 0;padding:13px 16px;border:1px solid #73638b80;border-radius:14px;background:#090e20ba;text-align:left;color:#f0e8fc}.magic-orb-question strong{font-size:12px;color:#c2b0df}.magic-orb-question p{margin:6px 0 0;font-size:14px;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7}.magic-orb-error{min-height:20px;max-width:480px;margin:12px auto 0;color:#b33145;font-size:13px;line-height:1.6}.magic-orb-stage .magic-orb-error{color:#ffbec9}.magic-orb-admin-top{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin:16px 0 10px}.magic-orb-periods{display:flex;flex-wrap:wrap;gap:6px}.magic-orb-log{margin:12px 0;padding:17px 18px;border:1px solid #e4dcee;border-radius:17px;background:#fff;box-shadow:0 2px 9px rgba(73,51,101,.04)}.magic-orb-log.unread{border-left:4px solid #9671c1;background:#fffdff}.magic-orb-log-meta{display:flex;align-items:center;justify-content:space-between;gap:8px;flex-wrap:wrap;margin-bottom:12px;font-size:12px;color:#8b8095}.magic-orb-log-meta strong{font-size:16px;color:#49395d}.magic-orb-log-meta .new{display:inline-block;margin-left:6px;border-radius:999px;padding:1px 7px;background:#eee3fc;color:#6c429a;font-size:11px}.magic-orb-log-label{display:block;margin:0 0 4px;font-size:12px;font-weight:800;color:#9681a6}.magic-orb-log-question{margin:0 0 12px;font-size:14px;line-height:1.75;white-space:pre-wrap;overflow-wrap:anywhere}.magic-orb-log-answer{margin:0;padding:11px 13px;border-radius:12px;background:#f5f0fc;font-size:15px;font-weight:800;line-height:1.7;white-space:pre-wrap;overflow-wrap:anywhere;color:#654486}.magic-orb-log-actions{text-align:right;margin-top:12px}.magic-orb-more{display:block;margin:14px auto;width:auto}@keyframes magic-orb-galaxy{to{transform:rotate(360deg)}}@keyframes magic-orb-breathe{50%{filter:drop-shadow(0 0 23px #ba9cff80) brightness(1.12)}}@keyframes magic-orb-reveal{from{opacity:0;transform:translateY(15px) scale(.9);filter:blur(7px)}to{opacity:1;transform:translateY(0) scale(1);filter:blur(0)}}@keyframes magic-orb-ring{0%{opacity:0;transform:scale(.55)}25%{opacity:.8}100%{opacity:0;transform:scale(1.35)}}@keyframes magic-orb-spark{0%{opacity:0;transform:rotate(calc(var(--i)*25.714deg)) translateY(-36px) scale(.3)}25%{opacity:.9}100%{opacity:0;transform:rotate(calc(var(--i)*25.714deg)) translateY(-220px) scale(.6)}}@media(max-width:520px){.magic-orb-stage{padding:28px 16px 18px;border-radius:22px}.magic-orb-inner{width:78%;padding:12px 5px}.magic-orb-input{min-height:88px;max-height:110px}.magic-orb-spark{font-size:13px}}@media(max-width:380px){.magic-orb-stage{padding:22px 12px 18px}.magic-orb-inner{width:80%;padding:10px 5px}.magic-orb-inner label{font-size:15px}.magic-orb-input{min-height:78px;max-height:96px;padding:9px 10px;font-size:13px}.magic-orb-solve{padding:8px 13px;font-size:13px;min-height:40px}.magic-orb-answer{font-size:19px}.magic-orb-answer-caption{margin-bottom:9px;font-size:11px}.worry-hub-tile{padding:15px 13px;gap:12px}.worry-hub-tile .t strong{font-size:17px}}@media(prefers-reduced-motion:reduce){.magic-orb-stage *,.magic-orb-stage *::before,.magic-orb-stage *::after{animation:none!important;transition:none!important}.magic-orb-sphere.is-revealed .magic-orb-answer{opacity:1;transform:none;filter:none}}

.stock-trades-filters{display:flex;align-items:flex-end;flex-wrap:wrap;gap:10px;margin:0 0 16px}.stock-trades-filters.hidden{display:none}.stock-trades-filters label{margin:0;min-width:160px}.stock-trades-filters input{display:block;margin-top:6px}.stock-trades-filters .btn{width:auto;margin:0;min-height:42px}

.student-chat-notice-card{border-left:4px solid #5d8ccb}.message-text{white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.7;margin:12px 0}.message-card{border:1px solid var(--color-border,#ddd);border-radius:12px;padding:16px;margin:12px 0;background:white}.message-card.message-announcement{border-left:5px solid var(--color-primary,#2f6fed)}.message-meta{display:flex;gap:8px;flex-wrap:wrap;align-items:center;justify-content:space-between;color:var(--color-text-sub,#555);font-size:13px}.message-pick-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));gap:6px;max-height:280px;overflow:auto;margin:12px 0}.message-pick-list label{display:flex;align-items:center;gap:8px;padding:8px;margin:0;border:1px solid var(--color-border,#ddd);border-radius:8px}.message-pick-list input[type=checkbox]{width:auto;margin:0}.message-filter{display:flex;gap:10px;flex-wrap:wrap;align-items:end;margin-top:12px}.message-filter label{flex:1;min-width:130px}.message-filter input[type=checkbox]{width:auto}@media(max-width:899px){#messaging-tabs{margin:16px 0;gap:6px;flex-wrap:wrap}}@media(max-width:899px){#messaging-tabs [aria-selected=true]{background:var(--color-primary,#2f6fed);color:white}}.message-compose textarea{width:100%;min-height:140px}.message-conversation{width:100%;text-align:left;display:flex;justify-content:space-between;gap:12px;margin:8px 0;padding:16px}.message-pill{display:inline-block;border-radius:12px;background:#e8efff;color:#254d9a;padding:2px 8px;font-size:12px}@media(max-width:480px){#messaging-tabs .btn{flex:1 1 30%;font-size:13px;padding:9px 7px}.message-card{padding:12px}.message-filter label{min-width:100px}}.chat-list-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin:4px 2px 10px}.chat-list-head:has(.student-notice-actions){flex-wrap:wrap}.student-notice-actions{margin:0;justify-content:flex-end;flex-wrap:wrap}.chat-list-head strong{font-size:17px}.chat-list{display:flex;flex-direction:column;background:var(--color-card,#fff);border-radius:16px;overflow:hidden;box-shadow:0 2px 10px rgba(0,0,0,.05)}.chat-room{display:flex;align-items:center;gap:12px;width:100%;padding:12px 14px;border:0;border-bottom:1px solid #f0f1f3;background:none;text-align:left;cursor:pointer;font:inherit;color:inherit}.chat-room:last-child{border-bottom:0}.chat-room:hover{background:#f7f8fa}.chat-avatar{flex:0 0 auto;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;border-radius:16px;background:#a8c3e8;color:#fff;font-weight:800;font-size:17px}.chat-avatar.teacher{background:#f5b400}.chat-avatar.pair{background:#9aa7b8;font-size:13px;letter-spacing:-1px}.chat-avatar.small{width:32px;height:32px;border-radius:12px;font-size:14px}.chat-room-main{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:3px}.chat-room-top,.chat-room-bottom{display:flex;align-items:center;justify-content:space-between;gap:8px}.chat-room-top strong{font-size:15px}.chat-room-time{flex:0 0 auto;font-size:12px;color:var(--color-text-sub,#888)}.chat-room-preview{flex:1 1 auto;min-width:0;font-size:13px;color:var(--color-text-sub,#777);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.chat-unread{flex:0 0 auto;min-width:20px;padding:1px 7px;border-radius:999px;background:#ff5a4a;color:#fff;font-size:12px;font-weight:800;text-align:center}.chat-unread.warn{background:#fff1e6;color:#c2410c}.chat-teacher-unread,.chat-teacher-read{display:block;font-size:11px;font-weight:800;white-space:nowrap}.chat-teacher-unread{color:#a23b10}.chat-teacher-read{color:#1b684c}.chat-unread-info{padding:10px 14px;background:#f5f9ff;color:#24456d;font-size:13px;line-height:1.5}.chat-peek-actions{margin:0;padding:6px 12px 10px;background:#f5f9ff;flex-wrap:wrap}.chat-count{flex:0 0 auto;font-size:12px;color:var(--color-text-sub,#999)}.chat-picker{margin:0 0 12px}.chat-picker-title{font-weight:800;margin-bottom:8px}.chat-person{display:inline-flex;align-items:center;gap:8px;margin:4px 6px 4px 0;padding:6px 12px 6px 6px;border:1px solid #e3e6ea;border-radius:999px;background:#fff;cursor:pointer;font:inherit}.chat-person .chat-avatar{width:28px;height:28px;border-radius:10px;font-size:13px}.chat-room-view{display:flex;flex-direction:column;border-radius:18px;overflow:hidden;background:#b2c7da;box-shadow:0 2px 12px rgba(0,0,0,.08)}.chat-head{display:flex;align-items:center;gap:10px;padding:10px 12px;background:#a9bfd3;color:#1f2a37}.chat-head strong{font-size:16px}.chat-head-note{margin-left:auto;font-size:12px;color:#334155}.chat-back{border:0;background:none;font-size:22px;line-height:1;padding:2px 6px;cursor:pointer;color:#1f2a37}.chat-body{height:min(60vh,520px);overflow-y:auto;padding:10px 12px 14px;display:flex;flex-direction:column;gap:4px}.chat-older{align-self:center;margin:4px 0 8px;border:0;border-radius:999px;padding:5px 12px;background:rgba(255,255,255,.6);font-size:12.5px;cursor:pointer}.chat-empty{margin:auto;color:#334155;font-size:14px}.chat-day{display:flex;justify-content:center;margin:10px 0 6px}.chat-day span{padding:3px 12px;border-radius:999px;background:rgba(0,0,0,.18);color:#fff;font-size:12px}.chat-msg{display:flex;flex-direction:column;max-width:100%}.chat-msg.theirs{align-items:flex-start}.chat-msg.mine{align-items:flex-end}.chat-name{margin:6px 0 3px 4px;font-size:12.5px;color:#334155}.chat-msg.mine .chat-name{margin:6px 4px 3px 0}.chat-line{display:flex;align-items:flex-end;gap:5px;max-width:82%}.chat-msg.has-pf{flex-direction:row;align-items:flex-start;gap:6px}.chat-msg.has-pf.mine{flex-direction:row-reverse}.chat-pf{flex:0 0 40px;width:40px;padding-top:4px}.chat-avatar.msg{width:40px;height:40px;border-radius:14px;font-size:16px}.chat-msg-main{flex:1 1 auto;min-width:0;display:flex;flex-direction:column}.chat-msg.theirs .chat-msg-main{align-items:flex-start}.chat-msg.mine .chat-msg-main{align-items:flex-end}.chat-msg.mine .chat-line{flex-direction:row-reverse}.chat-bubble{padding:8px 12px;border-radius:14px;background:#fff;color:#111;font-size:14.5px;line-height:1.45;white-space:pre-wrap;overflow-wrap:anywhere;word-break:keep-all;box-shadow:0 1px 1px rgba(0,0,0,.04)}.chat-msg.theirs .chat-bubble{border-top-left-radius:4px}.chat-msg.mine .chat-bubble{background:#fee500;border-top-right-radius:4px}.chat-room-view.peek .chat-msg.mine .chat-bubble{background:#fff7c2}.chat-msg.announcement .chat-bubble{border:2px solid #f5b400}.chat-msg.hidden-msg .chat-bubble{opacity:.6}.chat-pill{display:inline-block;margin-right:6px;padding:0 6px;border-radius:6px;background:#fff1c2;color:#7a5200;font-size:11.5px;font-weight:800;vertical-align:1px}.chat-meta{flex:0 0 auto;display:flex;flex-direction:column;align-items:flex-end;gap:1px;font-size:11px;color:#3f4b5b;white-space:nowrap}.chat-msg.theirs .chat-meta{align-items:flex-start}.chat-read{color:#f5b400;font-weight:800;font-size:11.5px}.chat-tools{display:flex;gap:6px;margin:3px 4px 2px}.chat-tool{border:0;background:rgba(255,255,255,.55);border-radius:8px;padding:2px 8px;font-size:11.5px;color:#334155;cursor:pointer}.chat-tool.warn{background:#fff1e6;color:#c2410c;font-weight:700}.chat-tool:disabled{opacity:.6;cursor:default}.chat-report-note{margin:3px 4px 0;font-size:12px;color:#7c2d12;background:#fff1e6;border-radius:8px;padding:3px 8px;max-width:82%}.chat-note{padding:6px 12px;background:#eef3f8;color:#334155;font-size:12.5px}.chat-manners{padding:10px 12px;background:#fffbea;border-top:1px solid #f3e3a6;font-size:13.5px;line-height:1.5;color:#3f3a1f}.chat-manners.folded{padding:4px 12px}.chat-manners-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin-bottom:4px}.chat-manners-steps{list-style:none;margin:0 0 6px;padding:0;display:grid;gap:2px}.chat-manners-steps li{display:flex;gap:8px}.chat-manners-steps b{flex:0 0 auto;min-width:76px;color:#8a5a00}.chat-manners-ex{margin:6px 0;padding:6px 10px;border-radius:10px;background:#fff;box-shadow:inset 0 0 0 1px #f3e3a6;word-break:keep-all;overflow-wrap:anywhere}.chat-manners-tips{margin:0 0 6px;color:#6b5d2a;font-size:12.5px;word-break:keep-all}.chat-input{display:flex;align-items:flex-end;gap:8px;padding:8px;background:#fff;margin:0}.chat-input textarea{flex:1 1 auto;margin:0;min-height:40px;max-height:120px;resize:none;border:1px solid #e3e6ea;border-radius:12px;padding:9px 12px;font-size:14.5px;line-height:1.4}.chat-send{flex:0 0 auto;height:40px;padding:0 16px;border:0;border-radius:12px;background:#fee500;color:#3c1e1e;font-weight:800;cursor:pointer}.chat-send:disabled{opacity:.5;cursor:default}#chat-error:empty{display:none}#chat-error{padding:4px 12px 8px;background:#fff}@media(max-width:480px){.chat-body{height:62vh}.chat-line{max-width:88%}}

.play-tile-wheel{background:linear-gradient(135deg,#fff4e6,#ffd8a8);color:#a34a00;box-shadow:0 4px 14px rgba(163,74,0,.14)}.roulette-stats{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin:0 0 14px}.roulette-stat{display:flex;flex-direction:column;align-items:center;min-width:92px;padding:8px 12px;border-radius:12px;background:var(--color-gray-bg)}.roulette-stat .k{font-size:12px;color:var(--color-text-sub)}.roulette-stat .v{font-size:16px;font-weight:800}.roulette-stage{position:relative;width:100%;max-width:340px;aspect-ratio:1;margin:6px auto 0}.roulette-stage.small{max-width:240px;margin-top:14px}.roulette-wheel{width:100%;height:100%;display:block;filter:drop-shadow(0 6px 14px rgba(0,0,0,.18))}.roulette-spin{transform-origin:50% 50%;transform-box:view-box}.roulette-pointer{position:absolute;left:50%;top:-6px;transform:translateX(-50%);width:0;height:0;border-left:15px solid transparent;border-right:15px solid transparent;border-top:28px solid #1c1f26;filter:drop-shadow(0 2px 2px rgba(0,0,0,.25));z-index:2}.roulette-label{font-weight:800;fill:#fff;paint-order:stroke;stroke:rgba(0,0,0,.35);stroke-width:2.2px;pointer-events:none}.roulette-hub{fill:#fff;stroke:#1c1f26;stroke-width:3}.roulette-go{display:block;width:100%;max-width:340px;margin:16px auto 6px;font-size:18px;padding:14px}.roulette-note{text-align:center;font-size:13px;color:var(--color-text-sub);word-break:keep-all}.roulette-legend{display:flex;flex-direction:column;gap:6px}.roulette-legend-row{display:flex;align-items:center;gap:10px;font-size:14px}.roulette-dot{flex:0 0 auto;width:14px;height:14px;border-radius:5px}.roulette-legend-row .name{flex:1 1 auto;min-width:0;font-weight:700;overflow-wrap:anywhere}.roulette-legend-row .pct{flex:0 0 auto;font-variant-numeric:tabular-nums;color:var(--color-text-sub)}.roulette-legend-row .won{flex:0 0 auto;font-weight:700;color:var(--color-green)}.roulette-legend-sub{margin:-3px 0 2px 24px;font-size:12.5px;color:var(--color-text-sub);word-break:keep-all}.roulette-draw{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:9px 0;border-bottom:1px solid var(--color-border);font-size:14px}.roulette-draw:last-child{border-bottom:0}.roulette-draw .who{min-width:0;overflow-wrap:anywhere}.roulette-draw .when{display:block;font-size:12px;color:var(--color-text-sub)}.roulette-draw .amt{flex:0 0 auto;text-align:right;font-weight:700;font-variant-numeric:tabular-nums}.roulette-draw .amt .plus{color:var(--color-green)}.roulette-draw .amt .minus{color:var(--color-text-sub);font-weight:600;font-size:12.5px;display:block}.roulette-result{text-align:center}.roulette-result .big{font-size:44px;line-height:1.1;margin:6px 0}.roulette-result .item{font-size:22px;font-weight:800;margin:4px 0 6px;overflow-wrap:anywhere}.roulette-result .gain{font-size:16px;font-weight:800;color:var(--color-green)}.roulette-result.pop .big{animation:roulettePop .5s ease-out}.home-roulette-list{display:flex;flex-direction:column;align-items:flex-start;gap:5px;max-width:100%}.home-roulette-list:empty{display:none}.home-roulette-line{display:flex;flex-direction:column;align-items:flex-start;gap:1px;text-align:left}.home-roulette-line small{font-size:.92em;font-weight:700;opacity:.92}.home-card-roulette .home-card-status.new{color:#4b2aa3}.roulette-result .big.has-card{font-size:0;line-height:0}.roulette-card{position:relative;display:inline-block;width:150px;aspect-ratio:3/4;border:2px solid #f0b429;border-radius:16px;background:linear-gradient(165deg,#fffdf6,#f4ead2);box-shadow:0 6px 18px rgba(120,80,0,.18)}.roulette-card img{position:relative;z-index:2;width:100%;height:100%;object-fit:contain}.roulette-card .tag{z-index:3}.roulette-card.dup{border-color:#d8cdb6}.roulette-card.dup img{opacity:.75}.roulette-card .tag{position:absolute;top:6px;right:6px;padding:2px 8px;border-radius:999px;background:#868e96;color:#fff;font-size:11px;font-weight:800;line-height:1.5}.roulette-card .tag.new{background:#e8590c}@keyframes roulettePop{0%{transform:scale(.4);opacity:0}70%{transform:scale(1.15);opacity:1}100%{transform:scale(1)}}.roulette-items{display:flex;flex-direction:column;gap:8px;margin-top:6px}.roulette-item{display:flex;flex-direction:column;gap:6px;padding:8px;border:1px solid var(--color-border);border-radius:12px;background:#fff}.roulette-item .r1{display:grid;grid-template-columns:14px minmax(0,1fr) 92px 30px;gap:6px;align-items:center}.roulette-item .r2{display:grid;grid-template-columns:132px minmax(0,1fr);gap:6px;align-items:center}.roulette-item input,.roulette-item select{margin:0;padding:9px 8px;font-size:14px;min-width:0;width:100%}.roulette-item .ri-value{min-width:0}.roulette-item .r3{display:flex;align-items:center;flex-wrap:wrap;gap:6px 12px;font-size:13px}.roulette-item .ri-fw-label{display:flex;align-items:center;gap:6px;margin:0;font-size:13px;font-weight:700;color:var(--color-text-sub)}.roulette-item .r3 select{width:auto;padding:6px 8px;font-size:13px}.roulette-item .ri-fw-try{font-size:13px}.ri-pct-wrap{display:flex;align-items:center;gap:3px;font-weight:700;color:var(--color-text-sub)}.ri-pct-wrap input{text-align:right}.ri-warn{font-size:12.5px;font-weight:700;color:var(--color-red)}.roulette-item .del{border:0;background:none;font-size:17px;cursor:pointer;padding:4px}.roulette-item .del:disabled{opacity:.3;cursor:default}.ri-box{display:flex;flex-direction:column;gap:6px;padding:8px 10px;border-radius:10px;background:var(--color-gray-bg)}.ri-box-k{font-size:13px;font-weight:800;color:var(--color-text-sub)}.ri-box-scope{margin:0}.ri-box-tiers,.ri-box-odds{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px}.ri-box-tier{display:inline-flex;align-items:center;gap:4px;margin:0;padding:4px 10px;border:1.5px solid var(--color-border);border-radius:999px;background:#fff;font-size:13px;font-weight:700;cursor:pointer}.ri-box-tier.on{border-color:var(--color-text)}.roulette-item .ri-box-tier input{width:auto;margin:0;padding:0}.ri-box-tier small{color:var(--color-text-sub);font-weight:600}.ri-box-ids{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:13px;word-break:keep-all}.ri-odds-label{display:inline-flex;align-items:center;gap:4px;margin:0;font-size:13px;font-weight:700;color:var(--color-text-sub)}.roulette-item .ri-odds-label input{width:58px;padding:6px;text-align:right}.ri-box-note{font-size:12.5px;color:var(--color-text-sub);word-break:keep-all}.pick-bulk{margin:4px 0 0;gap:6px;justify-content:flex-start}.roulette-sum{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin-top:10px;font-size:13.5px}.roulette-sum .ok{color:var(--color-green);font-weight:800}.roulette-sum .bad{color:var(--color-red);font-weight:800}.roulette-field-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.roulette-field-row>div{min-width:0}.roulette-wheel-chips{margin:0 0 12px;flex-wrap:wrap}.roulette-wheel-chips .range-btn{font-weight:700}.roulette-chip-off{margin-left:2px;padding:0 6px;border-radius:999px;background:var(--color-gray-bg);color:var(--color-text-sub);font-size:11px}.roulette-add-wheel{border-style:dashed}.roulette-wheel-title{margin:0 0 10px;text-align:center;font-size:18px;overflow-wrap:anywhere}.roulette-who-tabs{margin:4px 0 0;flex-wrap:wrap}.roulette-who-tabs .range-btn{font-weight:700}.roulette-who-box{margin-top:8px;padding:10px 12px;border-radius:12px;background:var(--color-gray-bg)}.roulette-who-head{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:14px;word-break:keep-all}.roulette-who-head .btn{flex:0 0 auto;width:auto;margin:0}.roulette-who-names{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.roulette-who-names .roulette-win-chip{background:#fff}.roulette-who-box .hint{display:block;margin:8px 0 0;font-size:12.5px;color:var(--color-text-sub)}.roulette-limit-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;gap:6px;align-items:center}.roulette-limit-row select,.roulette-limit-row input{margin:0;min-width:0}.roulette-limit-row span{font-weight:700;color:var(--color-text-sub)}@media(max-width:560px){.roulette-field-row{grid-template-columns:1fr}}.roulette-ev{margin:10px 0 0;padding:10px 12px;border-radius:12px;background:var(--color-gray-bg);font-size:13.5px;word-break:keep-all}.roulette-ev-warn{color:var(--color-red);font-weight:700}.roulette-check{display:flex;align-items:flex-start;gap:8px;margin-top:12px;font-weight:600;word-break:keep-all}.roulette-check input{width:18px;height:18px;flex:0 0 auto;margin-top:2px}.roulette-check{flex-wrap:wrap}.roulette-check .hint{display:block;flex-basis:100%;padding-left:26px;font-weight:400}.roulette-ev-card p{margin:0 0 8px;font-size:14px;word-break:keep-all}.roulette-ev-big{font-size:16px!important}.roulette-ev-big strong{font-size:20px;color:var(--color-primary)}.roulette-ev-calc{margin:6px 0 8px;padding:8px 12px;border-radius:12px;background:var(--color-gray-bg)}.roulette-ev-calc summary{cursor:pointer;font-weight:700;font-size:13.5px}.roulette-ev-calc ul{list-style:none;margin:8px 0;padding:0;display:flex;flex-direction:column;gap:4px;font-size:13.5px}.roulette-ev-calc li{display:flex;justify-content:space-between;gap:10px;font-variant-numeric:tabular-nums;overflow-wrap:anywhere}.roulette-ev-calc li b{flex:0 0 auto}.roulette-ev-calc li.sum{border-top:1px solid var(--color-border);padding-top:6px;font-weight:800}.roulette-ev-calc .muted{font-size:12.5px;margin:0}.roulette-month{padding:8px 12px;border-radius:12px;border:1px dashed var(--color-border);margin:0!important}.roulette-win-total{margin:0 0 10px;font-size:13.5px;color:var(--color-text-sub)}.roulette-win-list{display:flex;flex-direction:column}.roulette-win-item{padding:10px 0;border-bottom:1px solid var(--color-border)}.roulette-win-item:last-child{border-bottom:0;padding-bottom:0}.roulette-win-item.empty .name,.roulette-win-item.empty .cnt{color:var(--color-text-sub)}.roulette-win-head{display:flex;align-items:center;gap:8px;font-size:14px}.roulette-win-head .name{flex:1 1 auto;min-width:0;font-weight:800;overflow-wrap:anywhere}.roulette-win-head .what{flex:0 0 auto;font-size:12.5px;font-weight:700;color:var(--color-green)}.roulette-win-head .cnt{flex:0 0 auto;font-weight:800;font-variant-numeric:tabular-nums}.roulette-win-names{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0 0 22px}.roulette-win-chip{padding:3px 10px;border-radius:999px;background:var(--color-gray-bg);font-size:13px;font-weight:600}.roulette-win-chip b{color:var(--color-primary)}@media(max-width:420px){.roulette-item .r1{grid-template-columns:12px minmax(0,1fr) 78px 28px;gap:4px}.roulette-item .r2{grid-template-columns:112px minmax(0,1fr);gap:4px}.roulette-item input,.roulette-item select{padding:8px 6px;font-size:13.5px}}.roulette-fireworks{position:fixed;inset:0;width:100%;height:100%;pointer-events:none;z-index:150}@media(prefers-reduced-motion:reduce){.roulette-result.pop .big{animation:none}}.roulette-week-nav{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:4px 0 8px;font-size:14px}.roulette-week-nav .btn{width:auto;min-width:40px}.roulette-week-days{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));gap:4px;margin:0 0 10px}.roulette-day{display:flex;flex-direction:column;align-items:center;gap:1px;padding:6px 2px;border:1.5px solid var(--color-border);border-radius:10px;background:var(--color-surface,#fff);color:var(--color-text);font:inherit;cursor:pointer;min-width:0}.roulette-day b{font-size:14px}.roulette-day span{font-size:11px;color:var(--color-text-sub)}.roulette-day em{font-style:normal;font-size:11.5px;font-weight:700;color:var(--color-text-sub)}.roulette-day.has em{color:var(--color-primary)}.roulette-day.active{border-color:var(--color-primary);background:var(--color-primary);color:#fff}.roulette-day.active span,.roulette-day.active em{color:#fff}.roulette-day:disabled{opacity:.4;cursor:default}

.dex-top{display:flex;align-items:center;gap:14px}.dex-top-avatar{flex:0 0 auto;width:64px;height:84px;padding:0;border-radius:14px;border:2px solid #e9c98a;background:linear-gradient(165deg,#fffdf6,#f4ead2);display:flex;align-items:center;justify-content:center;overflow:hidden;cursor:pointer;font:inherit}.dex-top-avatar img{width:100%;height:100%;object-fit:contain}.dex-top-avatar.none{border-style:dashed;border-color:var(--color-border);background:var(--color-gray-bg);color:var(--color-text-sub);font-size:24px;cursor:default}.dex-top-body{flex:1 1 auto;min-width:0}.dex-progress{height:10px;border-radius:999px;background:var(--color-gray-bg);overflow:hidden;margin:6px 0 4px}.dex-progress span{display:block;height:100%;border-radius:999px;background:linear-gradient(90deg,#f59f00,#fab005)}.dex-filter{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 10px}.dex-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(108px,1fr));gap:10px}.dex-card{position:relative;display:flex;flex-direction:column;align-items:stretch;padding:6px 6px 8px;border-radius:14px;border:2px solid #e3d5b5;background:linear-gradient(165deg,#fffdf6,#f4ead2);cursor:pointer;text-align:center;font:inherit;color:inherit;min-width:0}.dex-card .no{font-size:11px;font-weight:800;color:#9c7a3c;text-align:left}.dex-card .art{display:block;width:100%;aspect-ratio:3/4;margin:2px 0 4px}.dex-card .art img{display:block;width:100%;height:100%;object-fit:contain}.dex-card .nm{font-size:13px;font-weight:800;line-height:1.25;word-break:keep-all}.dex-card .sub{margin-top:2px;font-size:11.5px;color:var(--color-text-sub);word-break:keep-all}.dex-card.owned{border-color:#f0b429;box-shadow:0 3px 10px rgba(240,180,41,.25)}.dex-card.locked{border-style:dashed;border-color:#d8cdb6;background:linear-gradient(165deg,#fbfaf7,#efe9dc)}.dex-card.locked .art img{opacity:.32;filter:grayscale(.35)}.dex-card.locked .nm{color:var(--color-text-sub)}.dex-card.off{opacity:.6}.dex-select-tools{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:10px 0 0}.dex-select-tools .muted{flex:1 1 100%;font-size:12.5px}.dex-card .sel{position:absolute;top:4px;right:4px;z-index:3;width:22px;height:22px;border-radius:50%;border:2px solid #fff;background:rgba(33,37,41,.28);color:#fff;font-size:12px;font-weight:900;line-height:18px;text-align:center;box-shadow:0 1px 3px rgba(0,0,0,.2)}.dex-grid.selecting .dex-card.picked{outline:3px solid var(--color-primary);outline-offset:2px;opacity:1}.dex-grid.selecting .dex-card.picked .sel{background:var(--color-primary)}.dex-select-bar .dex-select-row{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:8px}.dex-select-bar .dex-select-row .lbl{flex:1 1 100%;font-size:12.5px;font-weight:800;color:var(--color-text-sub)}.dex-select-bar .dex-select-row .btn{flex:1 1 auto;margin:0;padding:8px 6px}.dex-select-bar .dex-select-row input{flex:1 1 90px;min-width:0;width:auto;margin:0;padding:8px 10px}.dex-select-bar .dex-select-row .cur{font-size:13px;font-weight:700}.dex-deleted summary{cursor:pointer;font-weight:800}.dex-deleted .row{display:flex;align-items:center;gap:10px;padding:8px 0;border-top:1px solid var(--color-border)}.dex-deleted .row img{width:40px;height:53px;object-fit:contain;flex-shrink:0}.dex-deleted .row .info{flex:1;min-width:0;font-size:13.5px;font-weight:700}.dex-deleted .row .info small{display:block;font-weight:400;color:var(--color-text-sub);font-size:12px}.dex-card .badge{position:absolute;top:5px;right:5px;z-index:2;font-size:13px;line-height:1}.dex-card .art{position:relative}.dex-card .cnt,.synth-card .cnt{position:absolute;right:2px;bottom:2px;z-index:2;padding:1px 7px;border-radius:999px;background:rgba(33,37,41,.82);color:#fff;font-size:12px;font-weight:900;line-height:1.5}@property --rare-a{syntax:"<angle>";inherits:false;initial-value:0deg}.rare{border:3px solid transparent!important;background:var(--rare-bg,linear-gradient(165deg,#fffdf6,#f4ead2)) padding-box,var(--rare-border) border-box!important}.dex-card.locked.rare{--rare-bg:linear-gradient(165deg,#fbfaf7,#efe9dc)}.rare-fx{position:absolute;inset:0;z-index:1;border-radius:inherit;overflow:hidden;pointer-events:none}.r-blue{--rare-border:linear-gradient(135deg,#a5d8ff,#1c7ed6,#74c0fc);--rare-glow:28,126,214;animation:rareGlow 3s ease-in-out infinite}.r-purple{--rare-border:conic-gradient(from var(--rare-a),#9775fa,#f3d9fa,#7048e8,#e599f7,#9775fa);--rare-glow:121,80,242;animation:rareSpin 5s linear infinite,rareGlow 2.6s ease-in-out infinite}.r-orange{--rare-border:conic-gradient(from var(--rare-a),#ff922b,#ffe066,#f76707,#ffc078,#ff922b);--rare-glow:247,103,7;animation:rareSpin 3.2s linear infinite,rareGlow 2s ease-in-out infinite}.r-gold{--rare-bg:linear-gradient(165deg,#fffbe6,#ffe8a3);--rare-border:conic-gradient(from var(--rare-a),#ffd43b,#fffbe6,#f59f00,#fff3bf,#e67700,#ffe066,#ffd43b);animation:rareSpin 2.2s linear infinite,rareGlowGold 1.6s ease-in-out infinite}.dex-card.locked.r-gold{--rare-bg:linear-gradient(165deg,#fffdf3,#f6ecc9)}@keyframes rareSpin{to{--rare-a:360deg}}@keyframes rareGlow{0%,100%{box-shadow:0 2px 8px rgba(var(--rare-glow),.18)}50%{box-shadow:0 0 16px 3px rgba(var(--rare-glow),.5)}}@keyframes rareGlowGold{0%,100%{box-shadow:0 0 10px 2px rgba(245,159,0,.45)}50%{box-shadow:0 0 24px 7px rgba(255,212,59,.8),0 0 44px 12px rgba(255,236,153,.4)}}.r-purple .rare-fx::before,.r-orange .rare-fx::before,.r-gold .rare-fx::before{content:"";position:absolute;top:-25%;bottom:-25%;left:-70%;width:45%;background:linear-gradient(105deg,transparent,rgba(255,255,255,.7),transparent);transform:skewX(-14deg);animation:rareSweep 4.2s ease-in-out infinite}.r-purple .rare-fx::before{opacity:.45}.r-orange .rare-fx::before{animation-duration:3s}.r-gold .rare-fx::before{animation-duration:2.1s}@keyframes rareSweep{0%{left:-70%}55%,100%{left:135%}}.r-gold .rare-fx::after{content:"";position:absolute;inset:0;background:radial-gradient(circle at 16% 20%,#fff 0 2px,transparent 3.5px),radial-gradient(circle at 84% 28%,#fff7d6 0 2.5px,transparent 4px),radial-gradient(circle at 72% 80%,#fff 0 1.8px,transparent 3.5px),radial-gradient(circle at 24% 72%,#ffe066 0 2.2px,transparent 4px),radial-gradient(circle at 50% 10%,#fff 0 1.6px,transparent 3px),radial-gradient(circle at 90% 60%,#fff3bf 0 1.6px,transparent 3px);animation:rareTwinkle 1.2s ease-in-out infinite alternate}@property --rare-r{syntax:"<angle>";inherits:false;initial-value:0deg}@property --rare-h{syntax:"<angle>";inherits:false;initial-value:115deg}@property --rare-g{syntax:"<percentage>";inherits:false;initial-value:24%}.r-blue{--rare-bg:radial-gradient(ellipse at 28% 8%,rgba(255,255,255,.95),rgba(255,255,255,0) 58%) padding-box,linear-gradient(165deg,#f4f9ff,#e2efff 60%,#d1e5ff)}.r-purple{--rare-bg:radial-gradient(circle at 50% 44%,#fff 0,rgba(255,255,255,.65) var(--rare-g),rgba(255,255,255,0) 60%) padding-box,radial-gradient(circle at 10% 90%,rgba(229,153,247,.38),rgba(229,153,247,0) 46%) padding-box,radial-gradient(circle at 90% 10%,rgba(151,117,250,.3),rgba(151,117,250,0) 44%) padding-box,linear-gradient(165deg,#fbf7ff,#eee3ff 55%,#e1cfff)}.rare.r-purple{animation:rareSpin 5s linear infinite,rareGlow 2.6s ease-in-out infinite,rareHalo 3.2s ease-in-out infinite}.r-orange{--rare-bg:radial-gradient(circle at 50% 44%,#fff 0,rgba(255,251,242,.75) 22%,rgba(255,255,255,0) 56%) padding-box,repeating-conic-gradient(from var(--rare-r) at 50% 44%,rgba(255,169,77,.24) 0 9deg,rgba(255,169,77,0) 9deg 18deg) padding-box,radial-gradient(circle at 90% 92%,rgba(255,212,59,.3),rgba(255,212,59,0) 45%) padding-box,linear-gradient(165deg,#fffaf3,#ffeddb 55%,#ffd9b8)}.rare.r-orange{animation:rareSpin 3.2s linear infinite,rareGlow 2s ease-in-out infinite,rareRays 16s linear infinite}.r-gold{--rare-bg:radial-gradient(circle at 50% 44%,#fff 0,rgba(255,252,232,.85) var(--rare-g),rgba(255,255,255,0) 56%) padding-box,repeating-conic-gradient(from var(--rare-r) at 50% 44%,rgba(255,193,7,.34) 0 6deg,rgba(255,255,255,.4) 6deg 9deg,rgba(255,255,255,0) 9deg 15deg) padding-box,linear-gradient(var(--rare-h),rgba(255,175,204,.42),rgba(255,236,153,.36),rgba(178,242,187,.38),rgba(165,216,255,.42),rgba(229,153,247,.38),rgba(255,175,204,.42)) padding-box,linear-gradient(160deg,#fffdf2,#fff0b8 45%,#ffdc85)}.rare.r-gold{border-width:4px!important;--rare-border:conic-gradient(from var(--rare-a),#ffd43b,#fffdf0,#f59f00,#ffe066,#ffffff,#e67700,#fcc419,#fff3bf,#ffb3c6,#ffd43b);animation:rareSpin 1.6s linear infinite,rareGlowGold2 1.3s ease-in-out infinite,rareRays 9s linear infinite,rareHolo 5s linear infinite,rareHalo 2.2s ease-in-out infinite}@keyframes rareRays{to{--rare-r:360deg}}@keyframes rareHolo{to{--rare-h:475deg}}@keyframes rareHalo{0%,100%{--rare-g:18%}50%{--rare-g:32%}}@keyframes rareGlowGold2{0%,100%{box-shadow:0 0 12px 3px rgba(245,159,0,.55),inset 0 0 0 1px rgba(255,255,255,.7)}50%{box-shadow:0 0 28px 9px rgba(255,212,59,.85),0 0 54px 16px rgba(255,236,153,.45),inset 0 0 0 2px rgba(255,255,255,.95)}}@keyframes rareTwinkle{from{opacity:.2;transform:scale(.95) rotate(-2deg)}to{opacity:1;transform:scale(1.04) rotate(2deg)}}.r-special{--rare-glow:25,182,164;--rare-bg:radial-gradient(circle at 50% 44%,#fff 0,rgba(247,255,254,.9) var(--rare-g),rgba(255,255,255,0) 57%) padding-box,repeating-conic-gradient(from var(--rare-r) at 50% 44%,rgba(45,212,191,.25) 0 6deg,rgba(255,255,255,.65) 6deg 9deg,transparent 9deg 18deg) padding-box,linear-gradient(var(--rare-h),rgba(94,234,212,.46),rgba(224,242,254,.55),rgba(249,168,212,.38),rgba(221,214,254,.46),rgba(94,234,212,.46)) padding-box,linear-gradient(160deg,#f8fffd,#ddfff7 48%,#eae4ff)}.rare.r-special{border-width:4px!important;--rare-border:conic-gradient(from var(--rare-a),#18b6a4,#f4ffff,#f0abdf,#c7fff1,#8297bc,#fff,#77e6df,#18b6a4);animation:rareSpin 1.8s linear infinite,rareGlowSpecial 1.6s ease-in-out infinite,rareRays 11s linear infinite,rareHolo 6s linear infinite,rareHalo 2.4s ease-in-out infinite}.dex-card.locked.rare.r-special{--rare-bg:radial-gradient(ellipse at 50% 35%,#fff,rgba(255,255,255,.2) 70%) padding-box,linear-gradient(160deg,#f4fffb,#e3f5f0,#eee8fa)}.r-special .no{color:#176e6a}.r-special .rare-fx::before{content:"";position:absolute;top:-25%;bottom:-25%;left:-70%;width:45%;background:linear-gradient(105deg,transparent,rgba(233,255,253,.85),transparent);transform:skewX(-14deg);animation:rareSweep 2.4s ease-in-out infinite}.r-special .rare-fx::after{content:"";position:absolute;inset:0;background:radial-gradient(ellipse 2px 8px at 14% 19%,#fff 92%,transparent),radial-gradient(ellipse 8px 2px at 14% 19%,#fff 92%,transparent),radial-gradient(circle at 83% 27%,#a3fff0 0 2px,transparent 4px),radial-gradient(ellipse 1.5px 6px at 76% 78%,#fff 92%,transparent),radial-gradient(ellipse 6px 1.5px at 76% 78%,#fff 92%,transparent),radial-gradient(circle at 22% 73%,#fbc4e9 0 2px,transparent 4px),radial-gradient(circle at 50% 9%,#fff 0 1.5px,transparent 3px);animation:rareTwinkle 1.4s ease-in-out infinite alternate}@keyframes rareGlowSpecial{0%,100%{box-shadow:0 0 12px 3px rgba(19,182,163,.42),0 0 24px 5px rgba(226,218,255,.35),inset 0 0 0 1px rgba(255,255,255,.9)}50%{box-shadow:0 0 28px 8px rgba(64,224,208,.63),0 0 50px 13px rgba(244,173,218,.4),inset 0 0 0 2px #fff}}@media(prefers-reduced-motion:reduce){.rare.r-special{animation:rareSpin 4.8s linear infinite,rareGlowSpecial 3.2s ease-in-out infinite,rareRays 18s linear infinite,rareHolo 12s linear infinite,rareHalo 4.8s ease-in-out infinite}.r-special .rare-fx::before{animation-duration:6s}.r-special .rare-fx::after{animation-duration:3s}}.dex-rarity-pick{display:flex;flex-direction:column;gap:4px;font-size:13px;font-weight:700;text-align:left}.dex-synth-set{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;margin-top:10px;font-size:13px}.dex-synth-set label{display:flex;align-items:center;gap:4px;margin:0;font-weight:700}.dex-synth-set input{width:64px;margin:0;padding-left:6px;padding-right:6px;text-align:center}.dex-synth-set .btn{width:auto}.dex-req{margin-top:12px;padding-top:10px;border-top:1px dashed var(--color-border);font-size:13px}.dex-req-step{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;margin:6px 0;padding:8px 10px;border-radius:10px;background:#f8f9fb}.dex-req-step .st{min-width:132px;font-weight:800;white-space:nowrap}.dex-req-step label{display:flex;align-items:center;gap:4px;margin:0;font-weight:700}.dex-req-step input{width:64px;margin:0;padding-left:6px;padding-right:6px;text-align:center}.dex-req-step .q{margin-left:auto;color:var(--color-text-sub);font-size:12.5px;white-space:nowrap}.dex-req .btns .btn{width:auto}@media(max-width:520px){.dex-req-step .st{flex-basis:100%}}.dex-synth-tabs{flex-wrap:wrap}.synth-row{display:flex;align-items:center;justify-content:center;gap:10px;margin:10px 0 4px;flex-wrap:wrap}.synth-slots{display:flex;flex-wrap:wrap;gap:6px;justify-content:center}.synth-slot{position:relative;display:flex;align-items:center;justify-content:center;width:62px;aspect-ratio:3/4;border:2px dashed #d8cdb6;border-radius:12px;background:#faf7ef;padding:0;font:inherit}.synth-slot.filled{cursor:pointer}.synth-slot img,.synth-card img{position:relative;z-index:2;width:100%;height:100%;object-fit:contain}.synth-slot.result b{position:relative;z-index:2;font-size:28px;color:#8a5a00}.synth-arrow{font-size:24px;color:var(--color-text-sub)}.synth-pool{display:grid;grid-template-columns:repeat(auto-fill,minmax(70px,1fr));gap:8px;margin-top:10px}.synth-card{position:relative;aspect-ratio:3/4;padding:2px;border-radius:12px;cursor:pointer}.synth-card:disabled{opacity:.4;cursor:default}.synth-req{margin:8px 0 10px;padding:10px 12px;border:1px solid var(--color-border);border-radius:12px;background:#f8f9fb}.synth-req.ok{border-color:#b2f2bb;background:#f1fbf3}.synth-req h4{margin:0 0 4px;font-size:14px}.synth-req-row{display:grid;grid-template-columns:auto minmax(60px,1fr) auto auto;align-items:center;gap:4px 10px;margin:6px 0;font-size:13px}.synth-req-row .t{font-weight:700;white-space:nowrap}.synth-req-row .bar{height:8px;border-radius:999px;background:#e5e7eb;overflow:hidden}.synth-req-row .bar span{display:block;height:100%;border-radius:inherit;background:#5c7cfa}.synth-req-row.done .bar span{background:#40c057}.synth-req-row .n{white-space:nowrap}.synth-req-row .ok{color:#2b8a3e;font-weight:800;white-space:nowrap}.synth-req-row .left{color:var(--color-text-sub);white-space:nowrap}.synth-req-row .btn{width:auto;white-space:nowrap}.synth-req-help{margin:6px 0 0;padding-left:18px;font-size:12.5px;line-height:1.6;color:var(--color-text-sub)}@media(max-width:520px){.synth-req-row{grid-template-columns:auto minmax(40px,1fr) auto}.synth-req-row .btn,.synth-req-row .ok,.synth-req-row .left{grid-column:1/-1;justify-self:start}}.dex-missing-note{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 10px;margin:8px 0;padding:8px 10px;border-radius:10px;background:#fff9db;font-size:13px;scroll-margin-top:90px}.dex-missing-note .btn{width:auto}.dex-sheet .big.rare{border-radius:18px}.dex-sheet .big.rare img{position:relative;z-index:2}.dex-card .badge.main{padding:2px 6px;border-radius:999px;background:#f59f00;color:#fff;font-size:10.5px;font-weight:900}.modal-box.dex-reward-log-modal{width:min(820px,calc(100vw - 24px));max-width:min(820px,calc(100vw - 24px))}.dex-reward-log td{white-space:normal;word-break:keep-all}.dex-reward-log small{color:var(--color-text-sub)}.row-gift{display:grid;grid-template-columns:auto 1fr auto 1fr;gap:8px;align-items:center}.row-gift label{margin:0}.dex-gift-names{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:4px 8px;max-height:220px;overflow:auto;margin-top:6px}.dex-gift-names label{margin:0;font-weight:400;display:flex;gap:6px;align-items:center}.dex-gift-names input{width:auto;min-height:0;margin:0}.dex-fold-head{display:flex;align-items:center;justify-content:space-between;gap:10px}.dex-fold-head h3{margin:0;font-size:16px}#app.app-shell-active .dex-fold-head .btn{width:auto;min-height:0;height:32px;padding:0 12px;line-height:30px;margin:0;flex:none;white-space:nowrap}.dex-fold-body{margin-top:10px}.dex-fold-body[hidden]{display:none}.dex-reward-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(300px,100%),1fr));gap:12px}.dex-reward-table{width:100%;border-collapse:collapse;font-size:13px}.dex-reward-table caption{text-align:left;font-weight:800;padding:0 0 4px}.dex-reward-table th,.dex-reward-table td{text-align:center;padding:4px;border-bottom:1px solid var(--color-border);white-space:nowrap}#app.app-shell-active .dex-reward-table input{width:56px;min-height:34px;height:34px;padding:2px 4px;margin:0;text-align:center}#app.app-shell-active .dex-reward-table td{white-space:normal;word-break:keep-all}.dex-reward-table td.n input{width:82px}.dex-pose-tools{display:flex;gap:6px;justify-content:center;flex-wrap:wrap;margin:6px 0 8px}.dex-pose-tools+.dex-pose-hide{margin-top:0}.dex-pose-tools .btn{width:auto}#app.app-shell-active .dex-overlay .dex-pose-tools .btn,#app.app-shell-active .dex-overlay .dex-pose-hide{min-height:0;height:32px;padding:0 12px;font-size:13px;line-height:30px;white-space:nowrap;margin-top:0}.dex-overlay{position:fixed;inset:0;z-index:90;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(20,24,33,.55)}@supports (height:100dvh){.dex-sheet{max-height:calc(100dvh - 32px - env(safe-area-inset-bottom))!important}}.dex-sheet{width:min(360px,100%);max-height:calc(100vh - 32px);overflow:auto;overflow-x:hidden;padding:16px;border-radius:20px;background:var(--color-card);text-align:center;box-shadow:0 12px 40px rgba(0,0,0,.25)}.dex-sheet .big{position:relative;width:min(220px,62vw);aspect-ratio:3/4;margin:0 auto 8px;border-radius:18px;border:2px solid #f0b429;background:linear-gradient(165deg,#fffdf6,#f4ead2);overflow:hidden}.dex-sheet .big img{width:100%;height:100%;object-fit:contain}.dex-sheet .big.locked{border-style:dashed;border-color:#d8cdb6}.dex-sheet .big.locked img{opacity:.32;filter:grayscale(.35)}.dex-sheet .big.unlock img{animation:dexUnlock .9s ease-out both}.dex-sheet .big.unlock::after{content:"";position:absolute;inset:0;background:radial-gradient(circle,rgba(255,236,153,.95),rgba(255,236,153,0) 62%);animation:dexFlash .9s ease-out both;pointer-events:none}.dex-sheet h3{margin:4px 0 2px;font-size:19px}.dex-sheet .meta{font-size:13px;color:var(--color-text-sub)}.dex-sheet .price{margin-top:6px;font-size:16px;font-weight:800}.dex-sheet .btns{display:flex;flex-direction:column;gap:6px;margin-top:12px}.dex-sheet .note{margin:8px 0 0;font-size:12.5px;color:var(--color-text-sub);word-break:keep-all}.dex-sheet .fields{display:flex;flex-direction:column;gap:8px;margin-top:10px;text-align:left}.dex-sheet .fields input[type=number]{margin:0}.dex-sheet .owners{margin-top:10px;font-size:13px;text-align:left;word-break:keep-all}.dex-sheet.wide{width:min(640px,100%)}.dex-sheet .dex-grid.small{grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:8px;margin-top:10px;text-align:center}.dex-sheet .dex-grid.small .dex-card{cursor:default}.pick-sheet h3{margin:0 0 4px}.pick-sheet .pick-note{margin:0 0 8px;font-size:12.5px}.pick-sheet .pick-tiers{margin:0 0 4px}.dex-sheet .dex-grid.small.pick-grid{max-height:min(50vh,440px);overflow:auto;padding:4px;margin-top:6px}.dex-sheet .dex-grid.small.pick-grid .dex-card{cursor:pointer}.pick-grid .dex-card.picked{outline:3px solid #f0b429;outline-offset:2px}.pick-grid .dex-card.unpicked{opacity:.45}.pick-grid .pick-check{position:absolute;top:4px;right:5px;z-index:3;font-size:15px;line-height:1}.pick-sheet .pick-msg{margin:6px 0 0;font-weight:700;word-break:keep-all}.card.dex-pick-banner{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;background:#fff8e6;border:1.5px solid #f0b429;font-weight:800;word-break:keep-all}.dex-overlay .dex-pose-hide{display:block;width:auto;margin:6px auto 8px}.dex-pose-hide-note{margin:0 0 8px;text-align:center;font-size:12.5px;color:var(--color-text-sub);word-break:keep-all}.dex-poses{display:grid;grid-template-columns:repeat(var(--k,3),minmax(0,1fr));gap:6px;margin:0 0 8px}.dex-poses .range-btn{min-width:0;padding:6px 4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dex-poses.k5{grid-template-columns:repeat(6,minmax(0,1fr))}.dex-poses.k5 .range-btn{grid-column:span 2}.dex-poses.k5 .range-btn:nth-child(4){grid-column:2/span 2}.dex-poses.k7{grid-template-columns:repeat(6,minmax(0,1fr))}.dex-poses.k7 .range-btn{grid-column:span 2}.dex-poses.k7 .range-btn:nth-child(7){grid-column:3/span 2}.dex-sheet .big.jump img{animation:dexJump .6s ease-out}.dex-sheet .big.sit img{animation:dexSit .45s ease-out}@keyframes dexSit{0%{transform:translateY(-12px)}70%{transform:translateY(3px)}100%{transform:translateY(0)}}.dex-sheet .big.tired img{transform-origin:50% 100%;animation:dexTired .8s ease-out}@keyframes dexTired{0%{transform:scaleY(1.04)}60%{transform:scaleY(.97)}100%{transform:none}}.dex-sheet .big.angry img{transform-origin:50% 100%;animation:dexAngry .5s ease-out}.dex-sheet .big.sad img{transform-origin:50% 100%;animation:dexSad 1s ease-out}.dex-sheet .big.excited img{animation:dexJump .6s ease-out}.dex-sheet .big.attack img{transform-origin:50% 100%;animation:dexAttack .55s ease-out}.dex-sheet .big.attack{overflow:visible}.dex-sheet .big.attack img{position:absolute;left:50%;bottom:0;z-index:2;width:auto;height:100%;max-width:140%;object-fit:contain;object-position:50% 100%;translate:-50% 0}@keyframes dexAttack{0%{transform:translateX(-7px) scale(.97)}45%{transform:translateX(4px) scale(1.03)}100%{transform:none}}@keyframes dexSad{0%{transform:translateY(-6px)}55%{transform:translateY(2px) scaleY(.98)}100%{transform:none}}@keyframes dexAngry{0%,100%{transform:none}20%{transform:translateX(-4px) rotate(-1.5deg)}40%{transform:translateX(4px) rotate(1.5deg)}60%{transform:translateX(-3px)}80%{transform:translateX(2px)}}@keyframes dexJump{0%{transform:translateY(14px) scale(.96)}55%{transform:translateY(-10px)}100%{transform:translateY(0)}}@keyframes dexUnlock{0%{opacity:.32;filter:grayscale(.35);transform:scale(.9)}60%{opacity:1;filter:none;transform:scale(1.07)}100%{opacity:1;filter:none;transform:scale(1)}}@keyframes dexFlash{0%{opacity:0}30%{opacity:1}100%{opacity:0}}.dex-bulk{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.dex-bulk input{width:110px;margin:0}.dex-bulk .btn{width:auto}.dex-students .row{display:flex;align-items:center;gap:10px;width:100%;padding:6px 2px;border:0;border-bottom:1px solid var(--color-border);background:none;font:inherit;font-size:14px;color:inherit;text-align:left}button.row{cursor:pointer}.dex-students .row.me{border-radius:8px;background:#eef4ff}.dex-students .rk{flex:0 0 42px;text-align:center;font-weight:800}.dex-students .go{color:var(--color-text-sub);font-size:18px}.dex-students .row:last-child{border-bottom:0}.dex-students .t{flex:1 1 auto;min-width:0;overflow-wrap:anywhere}.dex-students .n{font-weight:800;font-variant-numeric:tabular-nums}.dex-mini{flex:0 0 auto;width:30px;height:40px;object-fit:contain}.dex-mini.none{display:inline-block;border-radius:8px;background:var(--color-gray-bg)}.home-hello.has-avatar{display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-rows:1fr auto auto auto 1fr auto;column-gap:18px;align-items:center;padding:6px 20px 0;border-radius:24px;border:1px solid #f1dcaa;background:radial-gradient(70% 60% at 14% 100%,rgba(255,214,102,.55),rgba(255,214,102,0) 70%),linear-gradient(135deg,#fffaf0,#fdf0d2);overflow:hidden}.home-hello-avatar{width:132px;height:176px;object-fit:contain;object-position:50% 100%;filter:drop-shadow(0 6px 6px rgba(120,80,0,.25))}.home-hello.has-avatar .home-hello-avatar{grid-column:1;grid-row:1 / 6;align-self:end}.home-hello-name.editable{cursor:pointer}.home-hello-name.editable:hover{box-shadow:0 6px 16px rgba(150,110,20,.24)}.home-hello-name.editable:focus-visible{outline:3px solid #ffd54f;outline-offset:2px}.teacher-hero-sheet{width:min(460px,100%)}.teacher-hero-preview{display:flex;align-items:center;justify-content:center;gap:10px;padding:10px;border-radius:16px;background:radial-gradient(70% 60% at 30% 100%,rgba(255,214,102,.5),rgba(255,214,102,0) 70%),#fffaf0}.teacher-hero-preview img{width:96px;height:128px;object-fit:contain;object-position:50% 100%}.teacher-hero-bubble{max-width:60%;padding:10px 14px;border-radius:16px;background:#fff;box-shadow:0 4px 12px rgba(150,110,20,.14);font-weight:800;font-size:15px;word-break:keep-all;overflow-wrap:anywhere}.teacher-hero-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(52px,1fr));gap:6px;max-height:210px;overflow-y:auto;padding:2px}.teacher-hero-card{aspect-ratio:3/4;padding:2px;border:2px solid var(--color-border);border-radius:10px;background:#fff;cursor:pointer}.teacher-hero-card img{width:100%;height:100%;object-fit:contain}.teacher-hero-card.active{border-color:#f0b429;background:#fff8e6;box-shadow:0 0 0 2px rgba(240,180,41,.35)}.home-hello-avatar{transform-origin:50% 100%;scale:min(max(calc(var(--ar, .75) / .75),1),1.2)}.home-hello-avatar.wide{object-position:50% 50%;transform-origin:50% 50%}.home-hello.has-avatar .home-hello-avatar.wide{align-self:center;translate:0 -3px}@media(min-width:900px){.home-hello.has-avatar .home-hello-avatar.wide{translate:0 -4px}}.home-hello.has-avatar .home-hello-name{grid-column:2;grid-row:2;position:relative;justify-self:start;padding:12px 16px;border-radius:18px;background:#fff;box-shadow:0 6px 16px rgba(150,110,20,.14);font-size:20px}.home-hello-name.long,.teacher-hero-bubble.long{white-space:pre-line;text-align:left;line-height:1.5}.home-hello.has-avatar .home-hello-name.long{font-size:15px}.teacher-hero-bubble.long{font-size:13px;max-height:180px;overflow:auto}#teacher-hero-text{width:100%;min-height:72px;resize:vertical;font:inherit;line-height:1.5}.home-hello.has-avatar .home-hello-name::before{content:"";position:absolute;left:-9px;top:50%;margin-top:-9px;border-style:solid;border-width:9px 10px 9px 0;border-color:transparent #fff transparent transparent}.home-hello.has-avatar #home-hello-date{grid-column:2;grid-row:3;margin:8px 0 0 6px}.home-hello.has-avatar .home-hello-notes{grid-column:2;grid-row:4;align-self:start;margin:10px 0 0}@media(max-width:599px){.home-hello.has-avatar .home-hello-notes{grid-column:1 / -1;grid-row:6;justify-self:center;align-items:center;margin:0 0 14px}}@media(max-width:599px){.home-hello.has-avatar.long-bubble{grid-template-rows:auto 1fr auto auto 1fr auto}.home-hello.has-avatar.long-bubble .home-hello-name{grid-column:1 / -1;grid-row:1;justify-self:stretch;margin:12px 0 10px}.home-hello.has-avatar.long-bubble .home-hello-name::before{left:56px;top:auto;bottom:-9px;margin-top:0;border-width:10px 9px 0 9px;border-color:#fff transparent transparent transparent}.home-hello.has-avatar.long-bubble .home-hello-avatar{grid-row:2 / 6}}@media(min-width:600px){.home-hello-avatar{width:168px;height:224px}.home-hello.has-avatar .home-hello-name{font-size:24px}.home-hello.has-avatar .home-hello-name.long{font-size:17px}}@media(min-width:900px){.home-hello-avatar{width:196px;height:261px}.home-hello.has-avatar{padding:8px 32px 0;column-gap:26px}.home-hello.has-avatar .home-hello-name{font-size:28px;padding:16px 22px}.home-hello.has-avatar .home-hello-name.long{font-size:19px}}.trophy-avatar{width:22px;height:29px;object-fit:contain;vertical-align:middle;margin-right:3px}.trophy-stage{display:flex;flex-direction:column;align-items:stretch}.trophy-row .trophy-tile.trophy-stage{padding:10px 10px 12px}.trophy-stage-figs{height:160px;display:grid;grid-template-columns:repeat(var(--n,1),minmax(0,1fr));grid-template-rows:minmax(0,100%);column-gap:4px;align-items:end;justify-items:center}.trophy-stage-figs>.trophy-figure{max-height:100%}.trophy-figure{height:100%;width:auto;max-width:100%;object-fit:contain;filter:drop-shadow(0 5px 5px rgba(0,0,0,.25))}.trophy-tile-names{display:grid;grid-template-columns:repeat(var(--n,1),minmax(0,1fr));column-gap:4px;margin-top:8px;font-size:15px;font-weight:800;line-height:1.25}.trophy-name-cell{min-width:0;overflow-wrap:anywhere}.trophy-tile-more{margin-top:2px;font-size:12px;font-weight:700}.trophy-row .trophy-tile.trophy-stage.multi{grid-column:span var(--n,1)}.home-trophy-tiles .trophy-tile.trophy-stage.multi{grid-column:1 / -1}.trophy-figure-emoji{margin-bottom:10px;font-size:64px;line-height:1}.trophy-tile.empty .trophy-figure-emoji{opacity:.35;filter:grayscale(1)}.trophy-plinth{position:relative;margin:0 -2px;padding:8px 6px;border-radius:10px 10px 6px 6px;background:linear-gradient(180deg,rgba(255,255,255,.95),rgba(255,255,255,.6));box-shadow:inset 0 -4px 0 rgba(0,0,0,.08),0 4px 10px rgba(0,0,0,.1)}.trophy-plinth .trophy-tile-label{margin:0;font-size:13.5px;font-weight:900;line-height:1.3}.trophy-plinth-mark{margin-right:4px}.trophy-stage-figs .trophy-figure-none{fill:rgba(60,40,10,.2);height:78%;width:auto;aspect-ratio:60 / 80;filter:none}.trophy-tile.empty .trophy-figure-none{fill:rgba(60,40,10,.1)}.trophy-stage .trophy-tile-name{margin-top:8px}@media(min-width:900px){#view-trophy .trophy-row{display:flex;flex-wrap:wrap;overflow:visible}#view-trophy .trophy-row>.trophy-tile{flex:0 0 calc(222px * var(--n,1) + 10px * (var(--n,1) - 1));max-width:100%}#view-trophy .trophy-row>.trophy-tile:only-child{max-width:100%}.trophy-tile-names{font-size:18px}}@media(min-width:900px){.trophy-stage-figs{height:214px}.trophy-figure-emoji{font-size:84px}.trophy-plinth .trophy-tile-label{font-size:15px}}.chat-avatar.has-img{background:linear-gradient(165deg,#fffdf6,#f4ead2);overflow:hidden;padding:0}.chat-avatar.has-img img{display:block;width:100%;height:100%;object-fit:cover;object-position:50% 0}.podium{position:relative;display:grid;grid-template-columns:17fr 20.5fr 25fr 20.5fr 17fr;align-items:end;max-width:680px;margin:10px auto 12px;padding:12px 4px 12px;border-radius:16px;color:#fff;isolation:isolate;background:radial-gradient(ellipse 46% 60% at 50% 36%,rgba(255,206,92,.26),rgba(255,206,92,0) 72%),radial-gradient(ellipse 120% 90% at 50% 0%,rgba(0,0,0,0) 55%,rgba(0,0,0,.45)),linear-gradient(180deg,#2e2332 0%,#231a27 58%,#3a281c 58.5%,#24170e 100%)}.podium.n3{grid-template-columns:30fr 36fr 30fr;max-width:470px}.podium.n4{grid-template-columns:24fr 25fr 30fr 24fr;max-width:580px}.podium-spot{position:relative;min-width:0;display:flex;flex-direction:column;text-align:center}.podium-spot.p1{z-index:2}.podium-spot.p2,.podium-spot.p3{z-index:1}.podium-spot.me{z-index:4}.podium-spot.open{z-index:6}.podium-spot.r1{--ar:1.2694;--seat:.62;--cw:.56}.podium-spot.r2{--ar:1.35;--seat:.615;--cw:.56}.podium-spot.r3{--ar:1.2;--seat:.625;--cw:.56}.podium-spot.r4{--ar:.5944;--seat:.26;--cw:.6}.podium-spot.r5{--ar:.6444;--seat:.25;--cw:.6}.podium-rank{position:relative;z-index:3;margin-bottom:1px;font-size:13px;font-weight:900;line-height:1.15;text-shadow:0 1px 0 #000,0 0 4px rgba(0,0,0,.9),0 0 8px rgba(0,0,0,.6)}.podium-spot.p1 .podium-rank{font-size:16px}.podium-spot.r1 .podium-rank{color:#ffe08a}.podium-fig{padding-top:max(0px,calc((var(--cw) * 4 / 3 - var(--seat) * var(--ar)) * 100% + 2px))}.podium-seatbox{position:relative}.podium-seatbox::before{content:"";position:absolute;inset:-6% -16% 14%;z-index:0;pointer-events:none;background:radial-gradient(closest-side,var(--glow,transparent),transparent)}.podium-spot.r1 .podium-seatbox::before{--glow:rgba(255,196,64,.6)}.podium-spot.r2 .podium-seatbox::before{--glow:rgba(226,232,240,.32)}.podium-spot.r3 .podium-seatbox::before{--glow:rgba(232,150,86,.34)}.podium-seat{position:relative;z-index:1;display:block;width:100%;height:auto;filter:drop-shadow(0 6px 6px rgba(0,0,0,.45))}.podium-char{position:absolute;z-index:2;left:50%;bottom:calc((1 - var(--seat)) * 100%);width:calc(var(--cw) * 100%);aspect-ratio:3 / 4;transform:translateX(-50%);display:flex;align-items:flex-end;justify-content:center}.podium-char img{width:100%;height:100%;object-fit:contain;object-position:50% 100%;filter:drop-shadow(0 3px 3px rgba(0,0,0,.5))}.pose-pick{cursor:pointer;border-radius:12px;transition:transform .12s ease}.pose-pick:hover{transform:translateY(-3px)}.pose-pick:focus-visible{outline:3px solid #ffd54f;outline-offset:2px}.pose-sheet{width:min(520px,100%)}.pose-opts{display:grid;grid-template-columns:repeat(var(--k,3),minmax(0,1fr));gap:8px}@media(max-width:480px){.pose-opts.k4{grid-template-columns:repeat(2,minmax(0,1fr))}.pose-opts.k4 .pose-opt .pose-art{width:78%}.pose-opts.k5{grid-template-columns:repeat(3,minmax(0,1fr))}}.pose-opts.k6{grid-template-columns:repeat(3,minmax(0,1fr))}.pose-opts.k7{grid-template-columns:repeat(4,minmax(0,1fr))}.pose-opt{display:flex;flex-direction:column;align-items:center;gap:4px;padding:8px 6px 10px;border:2px solid var(--color-border);border-radius:16px;background:var(--color-card);color:inherit;font:inherit;cursor:pointer}.pose-opt.active{border-color:#f0b429;background:#fff8e6}.pose-opt:focus-visible{outline:3px solid #ffd54f;outline-offset:2px}.pose-opt .pose-art{display:block;width:100%;aspect-ratio:3/4;border-radius:12px;background:linear-gradient(165deg,#fffdf6,#f4ead2)}.pose-opt .pose-art img{width:100%;height:100%;object-fit:contain}.pose-opt b{font-size:13.5px;line-height:1.25;word-break:keep-all}.pose-opt small{font-size:11.5px;font-weight:800;color:#8a5a00}.pose-note{margin:10px 0 0;padding:8px 10px;border-radius:10px;background:#f1f3f5;font-size:12.5px;line-height:1.5;text-align:left}.podium-none{font-size:26px;line-height:1;opacity:.75}.podium-plate{position:absolute;z-index:3;left:1%;right:1%;top:calc(var(--seat) * 100% - 2px);padding:3px 2px 4px;border-radius:7px;background:rgba(20,16,24,.42);box-shadow:inset 0 0 0 1px rgba(255,255,255,.18);text-shadow:0 1px 2px rgba(0,0,0,.95),0 0 4px rgba(0,0,0,.7);cursor:pointer;-webkit-tap-highlight-color:transparent}.podium-name,.podium-rec{display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.podium-name{font-size:11.5px;font-weight:800;line-height:1.25}.podium-rec{margin-top:1px;font-size:9.5px;line-height:1.25;color:#f6e7bf}.podium-line{font-weight:800}.podium-sub{font-weight:600;color:#e2d9cb}.podium-more{display:none;margin-top:1px;font-size:9.5px;font-weight:600;line-height:1.3;color:#e2d9cb}.podium-plate:focus-visible{outline:2px solid #ffd54f;outline-offset:1px}.podium-plate.open{left:-14%;right:-14%;background:rgba(20,16,24,.9)}.podium-spot:first-child .podium-plate.open{left:-2%;right:-26%}.podium-spot:last-child .podium-plate.open{left:-26%;right:-2%}.podium-plate.open .podium-name,.podium-plate.open .podium-rec{white-space:normal;overflow:visible;word-break:keep-all;overflow-wrap:anywhere}.podium-plate.open .podium-sub{display:inline}.podium-plate.open .podium-more{display:block}.podium-plate .trophy-me{position:absolute;top:-9px;right:-3px;padding:0 5px;font-size:10px;line-height:16px;box-shadow:0 1px 3px rgba(0,0,0,.4)}.podium-spot.me .podium-plate{box-shadow:inset 0 0 0 2px #ffd54f}.podium-spot.empty .podium-seat{opacity:.32;filter:grayscale(.7)}.podium-spot.empty .podium-seatbox::before{display:none}.podium-spot.empty .podium-rank{opacity:.45}@media(max-width:599px){.podium{margin-left:-14px;margin-right:-14px;padding:10px 2px 12px}.podium-sub{display:none}}@media(min-width:600px){.podium{padding:16px 10px 16px}.podium-rank{font-size:16px}.podium-spot.p1 .podium-rank{font-size:21px}.podium-name{font-size:14px}.podium-rec{font-size:11.5px}.podium-more{font-size:11px}.podium-plate{padding:4px 4px 5px;border-radius:9px}.podium-none{font-size:38px}}@keyframes dexBob{0%,100%{transform:translateY(0)}50%{transform:translateY(-3px)}}.dex-synth-keep{margin:0 0 8px;padding:6px 10px;border-radius:10px;background:#e7f5ff;color:#1864ab;font-size:12.5px;word-break:keep-all}

.mbti-intro{display:flex;flex-direction:column;gap:2px;background:#fffaf0;border:1.5px dashed #f0c56a}.mbti-intro span{font-size:13px;color:var(--color-text-sub)}.mbti-group{padding:14px 14px 6px;border:2px solid var(--mbti-line);background:var(--mbti-bg)}.mbti-group h3{margin:0 0 6px;font-size:16px}.mbti-tone-yellow{--mbti-bg:#fff8e3;--mbti-line:#f2c14e}.mbti-tone-purple{--mbti-bg:#f1eeff;--mbti-line:#a99ae6}.mbti-tone-green{--mbti-bg:#ebf7f0;--mbti-line:#8fcfa9}.mbti-tone-blue{--mbti-bg:#eaf3fc;--mbti-line:#8dbbe8}.mbti-q{display:grid;grid-template-columns:24px minmax(0,1fr) auto;gap:8px;align-items:center;padding:9px 0;border-top:1px solid rgba(0,0,0,.07)}.mbti-q:first-of-type{border-top:0}.mbti-q.missing{background:#fff1f1;border-radius:10px;box-shadow:0 0 0 4px #fff1f1}.mbti-q-num{display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;background:#fff;border:1px solid var(--mbti-line);font-size:12px;font-weight:800}.mbti-q-text{font-size:15px;line-height:1.45;word-break:keep-all;overflow-wrap:anywhere}.mbti-q-btns{display:flex;gap:6px}.mbti-ans{min-width:64px;min-height:40px;padding:6px 10px;border:1.5px solid var(--color-border);border-radius:999px;background:#fff;font:inherit;font-size:14px;font-weight:700;color:var(--color-text-sub);cursor:pointer}.mbti-ans.yes.on{background:#e0393e;border-color:#e0393e;color:#fff}.mbti-ans.no.on{background:#4b5563;border-color:#4b5563;color:#fff}.mbti-ans:focus-visible{outline:3px solid var(--color-primary);outline-offset:2px}.mbti-test-foot{position:sticky;bottom:0;z-index:5;margin:0 -4px;padding:10px 12px calc(10px + env(safe-area-inset-bottom));background:var(--color-bg);border-top:1px solid var(--color-border)}.mbti-progress{height:8px;border-radius:999px;background:var(--color-gray-bg);overflow:hidden}.mbti-progress-bar{height:100%;width:0;background:var(--color-primary);border-radius:999px;transition:width .2s}.mbti-test-foot #mbti-progress-text{display:block;margin:4px 0 6px;font-size:13px;color:var(--color-text-sub)}.mbti-test-foot .btn-row{margin:0}.mbti-temp-nt{--mbti-c:#6a4bc4;--mbti-soft:#f1ecff}.mbti-temp-nf{--mbti-c:#1d8a57;--mbti-soft:#e7f6ee}.mbti-temp-sj{--mbti-c:#2465b8;--mbti-soft:#e8f1fc}.mbti-temp-sp{--mbti-c:#a86a00;--mbti-soft:#fff4dc}.mbti-retake-bar{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 12px;padding:12px 14px}.mbti-retake-bar span{flex:1 1 180px;font-size:14px;word-break:keep-all}.mbti-retake-bar .btn{flex:0 0 auto;width:auto}.mbti-result{border:2px solid var(--mbti-c);background:linear-gradient(180deg,var(--mbti-soft),#fff 70%)}.mbti-result-head{display:flex;align-items:center;gap:14px;margin-bottom:8px}.mbti-big-emoji{font-size:48px;line-height:1}.mbti-mine-label{font-size:13px;font-weight:700;color:var(--color-text-sub)}.mbti-type-letters{font-size:34px;font-weight:900;letter-spacing:2px;color:var(--mbti-c);line-height:1.1}.mbti-type-name{font-size:17px;font-weight:800;word-break:keep-all}.mbti-tags{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0 10px}.mbti-tags span{padding:3px 10px;border-radius:999px;background:var(--mbti-soft);color:var(--mbti-c);font-size:13px;font-weight:800}.mbti-summary{margin:0 0 10px;padding:10px 12px;border-radius:12px;background:#fff;border:1.5px solid var(--mbti-c);font-weight:700;word-break:keep-all}.mbti-lines-title{margin:4px 0 4px;font-size:14px;font-weight:800}.mbti-lines{margin:0;padding-left:20px;word-break:keep-all}.mbti-lines li{margin:3px 0}.mbti-letters{display:grid;gap:4px;margin:10px 0 0;padding:0;list-style:none;font-size:13px;color:var(--color-text-sub)}.mbti-letters b{color:var(--color-text)}.mbti-axis{display:grid;grid-template-columns:78px minmax(0,1fr) 78px;gap:8px;align-items:center;margin:10px 0 2px}.mbti-axis-side{font-size:13px;color:var(--color-text-sub);white-space:nowrap}.mbti-axis-side.right{text-align:right}.mbti-axis-side b{font-size:17px;color:var(--color-text-sub)}.mbti-axis-side.on,.mbti-axis-side.on b{color:var(--color-text);font-weight:800}.mbti-axis-bar{display:flex;gap:2px;height:12px}.mbti-axis-bar span{display:block;height:100%;background:#d6d9df}.mbti-axis-bar span:first-child{border-radius:4px 0 0 4px}.mbti-axis-bar span:last-child{border-radius:0 4px 4px 0}.mbti-axis-bar span.on{background:var(--color-primary)}.mbti-axis-note{margin:2px 0 0;font-size:13px;color:var(--color-text-sub);text-align:center}.mbti-notes{margin-top:12px;line-height:1.7}.mbti-chips{display:flex;flex-wrap:wrap;gap:8px}.mbti-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(108px,1fr));gap:10px}.mbti-card{display:flex;flex-direction:column;align-items:center;gap:2px;padding:8px 6px 10px;border:1.5px solid var(--mbti-c);border-radius:16px;background:var(--mbti-soft);font:inherit;color:inherit;cursor:pointer;text-align:center;min-width:0}.mbti-card .art{display:flex;align-items:flex-end;justify-content:center;width:100%;height:120px}.mbti-card .art img{height:100%;width:auto;max-width:100%;object-fit:contain;filter:drop-shadow(0 3px 3px rgba(0,0,0,.2))}.mbti-card .art .emoji{font-size:54px;line-height:1;margin-bottom:10px}.mbti-card .who{font-size:14px;font-weight:800;word-break:keep-all;overflow-wrap:anywhere}.mbti-card .type{font-size:13px;font-weight:800;color:var(--mbti-c)}@media(min-width:900px){.mbti-cards{grid-template-columns:repeat(auto-fill,minmax(130px,1fr))}.mbti-card .art{height:150px}}.mbti-row-av{flex:0 0 auto;width:48px;height:64px;object-fit:contain;margin-right:10px}.mbti-row-av.none{display:inline-block;border-radius:12px;background:var(--color-gray-bg)}.mbti-chip{display:inline-flex;flex-direction:column;align-items:flex-start;gap:1px;min-width:96px;padding:8px 12px;border:1.5px solid var(--mbti-c);border-radius:12px;background:var(--mbti-soft);font:inherit;color:inherit;cursor:pointer;text-align:left}.mbti-chip .who{font-size:14px;font-weight:800;word-break:keep-all}.mbti-chip .type{font-size:13px;font-weight:800;color:var(--mbti-c)}.mbti-chip.small{min-width:0;padding:4px 10px;flex-direction:row;align-items:center}.mbti-chip:focus-visible,.mbti-tile:focus-visible{outline:3px solid var(--color-primary);outline-offset:2px}.mbti-tiles{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}.mbti-tile{display:flex;flex-direction:column;align-items:center;gap:2px;padding:12px 6px;border:1.5px solid var(--mbti-c);border-radius:14px;background:var(--mbti-soft);font:inherit;color:inherit;cursor:pointer;text-align:center}.mbti-tile .emoji{font-size:26px;line-height:1.2}.mbti-tile .type{font-size:17px;font-weight:900;letter-spacing:1px;color:var(--mbti-c)}.mbti-tile .name{font-size:12px;font-weight:700;line-height:1.3;word-break:keep-all}.mbti-tile .count{margin-top:2px;font-size:12px;color:var(--color-text-sub)}.mbti-tile .count.some{color:var(--color-text);font-weight:800}.mbti-stats{display:flex;flex-wrap:wrap;gap:6px 14px;margin:6px 0 0;font-size:13px;color:var(--color-text-sub)}.mbti-stats b{color:var(--color-text)}.mbti-row .actions{display:flex;align-items:center;gap:6px}.mbti-modal{max-height:86vh;overflow-y:auto}.mbti-modal h3{color:var(--mbti-c)}.mbti-modal-who{margin:0 0 2px;font-size:13px;font-weight:700;color:var(--color-text-sub)}.mbti-modal-names{margin:10px 0 0;font-size:13px;color:var(--color-text-sub);word-break:keep-all}@media(max-width:560px){.mbti-q{grid-template-columns:22px minmax(0,1fr)}.mbti-q-btns{grid-column:2;justify-content:flex-start}.mbti-ans{flex:1;max-width:140px}.mbti-tiles{grid-template-columns:repeat(2,minmax(0,1fr))}.mbti-axis{grid-template-columns:64px minmax(0,1fr) 64px}}

.cb-top{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.cb-tv-btn{width:auto;padding:10px 18px}.cb-tip{margin:8px 2px 12px;font-size:13px}.cb-stage{position:relative;width:100%;aspect-ratio:16 / 9;container-type:size;border-radius:18px;overflow:hidden;box-shadow:0 8px 28px rgba(40,60,120,.18)}.cb-stage.tv,.cb-stage:fullscreen{position:fixed;inset:0;z-index:2000;width:100vw;height:100vh;aspect-ratio:auto;border-radius:0;box-shadow:none}.cb-exit{display:none;position:absolute;bottom:1.4cqh;right:1.4cqw;z-index:3;padding:.6em 1em;border:0;border-radius:999px;background:rgba(0,0,0,.45);color:#fff;font-weight:800;font-size:max(13px,1.1cqw);cursor:pointer;opacity:.25;transition:opacity .2s}.cb-stage.tv .cb-exit,.cb-stage:fullscreen .cb-exit{display:block}.cb-exit:hover,.cb-exit:focus-visible{opacity:1}body.cb-tv-idle .cb-stage,body.cb-tv-idle .cb-stage *{cursor:none}body.cb-tv-idle .cb-exit{opacity:0;pointer-events:none}.cb-loading{display:flex;align-items:center;justify-content:center;height:100%;color:#667;font-size:18px}.cb-board{--u:min(1cqw,1.7778cqh);height:100%;box-sizing:border-box;display:grid;grid-template-columns:27fr 43fr 30fr;grid-template-rows:auto auto minmax(0,1fr);grid-template-areas:"head head head" "hero now now" "hero table rules";gap:calc(var(--u) * 1.2);padding:calc(var(--u) * 1.5) calc(var(--u) * 1.8);background:radial-gradient(60% 70% at 12% 90%,rgba(255,214,102,.45),rgba(255,214,102,0) 70%),linear-gradient(135deg,#fffaf0 0%,#f3f7ff 55%,#eaf2ff 100%);color:#1f2a44;font-size:calc(var(--u) * 1.5)}.cb-panel{min-width:0;min-height:0;border-radius:calc(var(--u) * 1.4);background:#fff;box-shadow:0 calc(var(--u) * .3) calc(var(--u) * 1.2) rgba(60,80,140,.12)}.cb-head{grid-area:head;display:flex;align-items:center;gap:calc(var(--u) * 1.6);min-width:0}.cb-title{flex:1;min-width:0;font-size:calc(var(--u) * 2.5);font-weight:900;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cb-date{font-size:calc(var(--u) * 1.8);font-weight:800;color:#4a5878;white-space:nowrap}.cb-clock{font-size:calc(var(--u) * 3.6);font-weight:900;line-height:1;font-variant-numeric:tabular-nums;letter-spacing:-.02em;white-space:nowrap}.cb-clock small{font-size:.45em;color:#7a86a4;margin-left:.15em}.cb-hero{grid-area:hero;display:flex;flex-direction:column;align-items:center;min-height:0;cursor:pointer;border-radius:calc(var(--u) * 1.4);outline-offset:4px}.cb-stage.tv .cb-hero,.cb-stage:fullscreen .cb-hero{cursor:default}.cb-hero:focus-visible{outline:3px solid #ffd54f}.cb-bubble{position:relative;flex:0 1 auto;max-height:52%;overflow:auto;scrollbar-width:none;align-self:stretch;padding:calc(var(--u) * 1.1) calc(var(--u) * 3.3) calc(var(--u) * 1.1) calc(var(--u) * 1.3);border-radius:calc(var(--u) * 1.6);background:#fff;box-shadow:0 calc(var(--u) * .3) calc(var(--u) * 1.2) rgba(150,110,20,.18);font-size:calc(var(--u) * 1.9);font-weight:800;line-height:1.45;text-align:center;white-space:pre-line;word-break:keep-all;overflow-wrap:anywhere}.cb-bubble.long{font-size:calc(var(--u) * 1.45);text-align:left}.cb-bubble.xlong{font-size:calc(var(--u) * 1.15);text-align:left}.cb-bubble-tail{flex:none;width:0;height:0;border-style:solid;border-width:calc(var(--u) * 1.2) calc(var(--u) * 1) 0;border-color:#fff transparent transparent;filter:drop-shadow(0 2px 1px rgba(150,110,20,.12))}.cb-hero-img{flex:1 1 0;min-height:0;width:100%;object-fit:contain;object-position:50% 100%;filter:drop-shadow(0 calc(var(--u) * .5) calc(var(--u) * .5) rgba(120,80,0,.25));animation:dexBob 2.6s ease-in-out infinite}.cb-now{grid-area:now;display:grid;grid-template-columns:auto minmax(0,1fr);align-items:center;column-gap:calc(var(--u) * 2.2);padding:calc(var(--u) * 1.3) calc(var(--u) * 2);color:#fff;background:linear-gradient(120deg,var(--cb-a),var(--cb-b));box-shadow:0 calc(var(--u) * .4) calc(var(--u) * 1.4) var(--cb-shadow)}.cb-now.t-class{--cb-a:#2f6fde;--cb-b:#4f8ff7;--cb-shadow:rgba(47,111,222,.35)}.cb-now.t-break{--cb-a:#1f9d6b;--cb-b:#3cc28b;--cb-shadow:rgba(31,157,107,.3)}.cb-now.t-lunch{--cb-a:#e8792b;--cb-b:#f6a23c;--cb-shadow:rgba(232,121,43,.32)}.cb-now.t-before,.cb-now.t-after{--cb-a:#6a55d8;--cb-b:#8b78ef;--cb-shadow:rgba(106,85,216,.3)}.cb-now.t-off{--cb-a:#5d6b86;--cb-b:#8391ab;--cb-shadow:rgba(93,107,134,.3)}.cb-now-left{display:flex;flex-direction:column;min-width:0}.cb-now-label{font-size:calc(var(--u) * 1.4);font-weight:800;opacity:.85}.cb-now-main{display:flex;align-items:baseline;gap:calc(var(--u) * 1.2);font-weight:900;line-height:1.1;white-space:nowrap}.cb-now-period{font-size:calc(var(--u) * 3.4)}.cb-now-subject{font-size:calc(var(--u) * 4.6);overflow:hidden;text-overflow:ellipsis}.cb-now-right{display:flex;flex-direction:column;gap:calc(var(--u) * .6);min-width:0}.cb-now-time{font-size:calc(var(--u) * 1.9);font-weight:800;font-variant-numeric:tabular-nums}.cb-now-time b{font-size:1.15em}.cb-progress{height:calc(var(--u) * .9);border-radius:999px;background:rgba(255,255,255,.3);overflow:hidden}.cb-progress i{display:block;height:100%;border-radius:inherit;background:#fff;transition:width .6s}.cb-now-note{grid-column:1 / -1;display:flex;align-items:center;gap:calc(var(--u) * 1.3);margin-top:calc(var(--u) * 1);padding:calc(var(--u) * .9) calc(var(--u) * 1.4);border-radius:calc(var(--u) * 1.2);background:#fff8d6;color:#3b2600;box-shadow:0 0 0 calc(var(--u) * .4) #ffc93c,0 calc(var(--u) * .5) calc(var(--u) * 1.4) rgba(0,0,0,.22);animation:cbNoteGlow 2.4s ease-in-out infinite}.cb-note-tag{flex:none;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:calc(var(--u) * 7.5);padding:calc(var(--u) * .5) calc(var(--u) * .8);border-radius:calc(var(--u) * .9);background:#d9480f;color:#fff;font-size:calc(var(--u) * 1.9);font-weight:900;line-height:1.1;white-space:nowrap;text-align:center}.cb-note-tag .i{font-size:1.3em;line-height:1}.cb-note-tag small{font-size:.62em;font-weight:800;opacity:.92}.cb-note-text{min-width:0;font-size:calc(var(--u) * 3.1);font-weight:900;line-height:1.25;word-break:keep-all;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.cb-now-note.long .cb-note-text{font-size:calc(var(--u) * 2.35)}@keyframes cbNoteGlow{0%,100%{box-shadow:0 0 0 calc(var(--u) * .4) #ffc93c,0 calc(var(--u) * .5) calc(var(--u) * 1.4) rgba(0,0,0,.22)}50%{box-shadow:0 0 0 calc(var(--u) * .8) #ffb300,0 calc(var(--u) * .5) calc(var(--u) * 1.8) rgba(255,160,0,.45)}}@media(prefers-reduced-motion:reduce){.cb-now-note{animation:none}}.cb-now-note.keep{animation:none}.cb-now-notes{grid-column:1 / -1;display:flex;gap:calc(var(--u) * 1.2);min-width:0}.cb-now-notes .cb-now-note{flex:1 1 0;min-width:0}.cb-now-notes.two .cb-now-note{gap:calc(var(--u) * .9);padding:calc(var(--u) * .7) calc(var(--u) * .9)}.cb-now-notes.two .cb-note-tag{min-width:calc(var(--u) * 6.4);font-size:calc(var(--u) * 1.6)}.cb-now-notes.two .cb-note-text{font-size:calc(var(--u) * 2.05);-webkit-line-clamp:3;line-clamp:3}.cb-now-notes.two .cb-now-note.long .cb-note-text{font-size:calc(var(--u) * 1.7);-webkit-line-clamp:4;line-clamp:4}.cb-table td.note-soon,.cb-table td.today.note-soon{background:#ffd54f;color:#3b2600;box-shadow:0 0 0 calc(var(--u) * .25) #ff9f00}.cb-table td.has-note{position:relative}.cb-note-btn{position:absolute;top:0;right:0;display:flex;align-items:center;justify-content:center;width:calc(var(--u) * 2.4);height:calc(var(--u) * 2.2);padding:0;border:0;border-radius:0 calc(var(--u) * .7) 0 calc(var(--u) * .7);background:transparent;font-size:calc(var(--u) * 1.3);line-height:1;cursor:pointer}.cb-note-btn:focus-visible{outline:calc(var(--u) * .25) solid #ffb300;outline-offset:calc(var(--u) * -.25)}.cb-note-pop{--u:min(1cqw,1.7778cqh);position:absolute;inset:0;z-index:4;display:flex;align-items:center;justify-content:center;padding:calc(var(--u) * 4);background:rgba(20,30,50,.35)}.cb-note-pop-card{width:min(100%,calc(var(--u) * 70));max-height:100%;box-sizing:border-box;display:flex;flex-direction:column;padding:calc(var(--u) * 2) calc(var(--u) * 2.4);border-radius:calc(var(--u) * 2);background:#fff8d6;color:#3b2600;box-shadow:0 0 0 calc(var(--u) * .5) #ffc93c,0 calc(var(--u) * 1) calc(var(--u) * 3) rgba(0,0,0,.3)}.cb-note-pop-head{display:flex;align-items:center;gap:calc(var(--u) * 1.4);margin-bottom:calc(var(--u) * 1.2)}.cb-note-pop-when{flex:1;min-width:0;display:flex;flex-direction:column;gap:calc(var(--u) * .2)}.cb-note-pop-when b{font-size:calc(var(--u) * 2.2);font-weight:900}.cb-note-pop-when span{font-size:calc(var(--u) * 1.5);font-weight:700;color:#7a5a12}.cb-note-pop-x{flex:none;width:calc(var(--u) * 4);height:calc(var(--u) * 4);border:0;border-radius:50%;background:#fff;color:#3b2600;font-size:calc(var(--u) * 1.8);font-weight:900;cursor:pointer;box-shadow:0 0 0 calc(var(--u) * .2) #f0c040}.cb-note-pop-text{margin:0;min-height:0;overflow:auto;font-size:calc(var(--u) * 4);font-weight:900;line-height:1.3;word-break:keep-all;overflow-wrap:anywhere;white-space:pre-wrap}.cb-pop-hero{flex:none;width:calc(var(--u) * 9);height:calc(var(--u) * 9);object-fit:contain;object-position:50% 100%}.cb-note-pop-card.bubble .cb-note-pop-text{white-space:pre-line;font-size:calc(var(--u) * 3.6)}.cb-note-pop-card.bubble.long .cb-note-pop-text{font-size:calc(var(--u) * 2.6);font-weight:800;line-height:1.45}.cb-bubble-btn{position:absolute;top:calc(var(--u) * .35);right:calc(var(--u) * .35);display:flex;align-items:center;justify-content:center;width:calc(var(--u) * 2.8);height:calc(var(--u) * 2.8);padding:0;border:0;border-radius:50%;background:transparent;font-size:calc(var(--u) * 1.6);line-height:1;cursor:pointer}.cb-bubble-btn:focus-visible{outline:calc(var(--u) * .25) solid #ffb300}.cb-off-chip{flex:none;max-width:40%;overflow:hidden;text-overflow:ellipsis;padding:calc(var(--u) * .35) calc(var(--u) * 1);border-radius:999px;background:#fff1d6;color:#9a5b00;font-size:calc(var(--u) * 1.35);font-weight:900;white-space:nowrap;box-shadow:inset 0 0 0 calc(var(--u) * .12) #f5c97a}.cb-now-next{font-size:calc(var(--u) * 1.5);font-weight:700;opacity:.92;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cb-table{grid-area:table;display:flex;flex-direction:column;padding:calc(var(--u) * .9)}.cb-table table{width:100%;height:100%;border-collapse:separate;border-spacing:calc(var(--u) * .3);table-layout:fixed}.cb-table th,.cb-table td{border-radius:calc(var(--u) * .7);text-align:center;vertical-align:middle;padding:0 calc(var(--u) * .3);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.cb-table thead th{height:calc(var(--u) * 2.6);font-size:calc(var(--u) * 1.45);font-weight:900;color:#4a5878;background:#f1f4fb}.cb-table thead th.today{background:#2f6fde;color:#fff}.cb-table tbody th{width:22%;font-size:calc(var(--u) * 1.35);font-weight:900;color:#33415f;background:#f6f8fd;line-height:1.15}.cb-table tbody th small{display:block;font-size:.72em;font-weight:700;color:#7a86a4;font-variant-numeric:tabular-nums}.cb-table td{font-size:calc(var(--u) * 1.55);font-weight:800;background:#fbfcff}.cb-table td.today{background:#eaf1ff;color:#1d4fb8}.cb-table td.now{background:#2f6fde;color:#fff;box-shadow:0 0 0 calc(var(--u) * .25) rgba(47,111,222,.35)}.cb-table td.empty{color:#b5bdd0;font-weight:600}.cb-table tr.lunch th,.cb-table tr.lunch td{background:#fff3e2;color:#c0620f}.cb-table tr.lunch.now th,.cb-table tr.lunch.now td{background:#f6a23c;color:#fff}.cb-table tr.lunch th small{color:#c98a4b}.cb-table tr.lunch.now th small{color:rgba(255,255,255,.9)}.cb-table tr.lunch td{font-size:calc(var(--u) * 1.4)}.cb-rules{grid-area:rules;display:flex;flex-direction:column;padding:calc(var(--u) * 1.2) calc(var(--u) * 1.5);background:linear-gradient(180deg,#fffdf6,#fff)}.cb-rules h3{margin:0 0 calc(var(--u) * .8);font-size:calc(var(--u) * 1.9);font-weight:900}.cb-rules ol{flex:1;min-height:0;overflow:hidden;margin:0;padding:0;list-style:none;counter-reset:cbr;display:flex;flex-direction:column;gap:.42em;font-size:calc(var(--u) * 2.2);font-weight:800;line-height:1.32}.cb-rules li{counter-increment:cbr;display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:.4em;align-items:start;word-break:keep-all;overflow-wrap:anywhere}.cb-rules li::before{content:counter(cbr);display:inline-flex;align-items:center;justify-content:center;width:1.6em;height:1.6em;border-radius:50%;background:#ffd54f;color:#5a4300;font-size:.8em;font-weight:900}.cb-rules li>span{grid-column:2;min-width:0}.cb-rules .cb-empty{color:#98a2bb;font-weight:700;font-size:calc(var(--u) * 1.35)}@media(max-width:699px){.cb-stage{aspect-ratio:auto;container-type:normal}.cb-stage.tv{overflow:auto}.cb-board{--u:7.6px;grid-template-columns:minmax(0,1fr);grid-template-rows:none;grid-template-areas:"head" "now" "hero" "table" "rules";height:auto;min-height:100%}.cb-head{flex-wrap:wrap;row-gap:4px}.cb-title{flex-basis:100%}.cb-hero{height:250px}.cb-now{grid-template-columns:minmax(0,1fr);row-gap:8px}.cb-now-notes{flex-direction:column;gap:0}.cb-table table{height:auto}.cb-table tbody th,.cb-table td{height:42px}.cb-rules ol{overflow:visible;font-size:calc(var(--u) * 2.3)}.cb-exit{position:fixed;font-size:13px;bottom:auto;top:8px;right:8px}.cb-live-chip{font-size:12px}.cb-stage:not(.tv) .cb-live-chip{position:relative;left:auto;bottom:auto;display:inline-block;max-width:calc(100% - 16px);margin:8px 0 0 8px}.cb-stage.tv .cb-live-chip{position:fixed;left:8px;bottom:8px;max-width:calc(100% - 16px)}.cb-note-pop{--u:7.6px;position:fixed}}.cb-notes-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px}.cb-notes-head h3{margin:0;font-size:17px}.cb-notes-days{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.cb-notes-days input[type=date]{width:auto;padding:6px 8px}.cb-notes-help{margin:6px 0 10px;font-size:13px;line-height:1.5;word-break:keep-all}.cb-notes-off{margin:6px 0 0;padding:10px 12px;border-radius:12px;background:#fff7e6;color:#8a5a00;font-weight:700}.cb-note-rows{display:flex;flex-direction:column;gap:6px}.cb-note-row{display:grid;grid-template-columns:52px minmax(56px,90px) minmax(0,1fr);align-items:center;gap:8px;margin:0;font-weight:700}.cb-note-row .sub{color:var(--color-text-sub);font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.cb-note-row input{width:100%;min-width:0;padding:8px 10px}.cb-note-row.lunch b{color:#c0620f}.cb-off-add{display:flex;flex-wrap:wrap;align-items:center;gap:6px}.cb-off-add input[type=date]{width:auto;padding:6px 8px}.cb-off-add input[type=text]{width:130px;padding:6px 8px}.cb-off-add .btn{width:auto}.cb-off-hint{margin:4px 0 8px;font-size:12.5px}.cb-off-list{list-style:none;margin:0 0 8px;padding:0;display:flex;flex-direction:column;gap:4px}.cb-off-list li{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 10px;border-radius:10px;background:#fff7e6;box-shadow:inset 0 0 0 1px #f5d39b}.cb-off-none{margin:0 0 8px;font-size:13px}#cb-off-box .btn[data-school-days]{width:auto}.cb-display-card h3{margin:0 0 6px;font-size:17px}.cb-display-card h3 .hint{font-size:13px;font-weight:600}.cb-display-help{margin:0 0 10px;font-size:13.5px;line-height:1.55;word-break:keep-all}.cb-display-link{display:flex;flex-wrap:wrap;gap:6px;align-items:center}.cb-display-link input{flex:1 1 260px;min-width:0;padding:8px 10px;font-size:13px}.cb-display-link .btn,.cb-display-card>.btn{width:auto}.cb-display-more{display:flex;flex-wrap:wrap;gap:14px;margin-top:8px;font-size:13px}body.cb-display .cb-exit{display:block;opacity:.85;font-size:max(14px,1.2cqw)}body.cb-display .cb-exit.hidden{display:none}.cb-live-chip{position:absolute;left:1.4cqw;bottom:1.4cqh;z-index:3;max-width:60%;padding:.45em .9em;border-radius:999px;background:rgba(0,0,0,.45);color:#fff;font-weight:800;font-size:max(12px,.95cqw);line-height:1.3;word-break:keep-all;pointer-events:none;transition:opacity .2s}.cb-live-chip.wait{background:rgba(0,0,0,.3)}.cb-live-chip.slow{background:rgba(120,72,0,.72)}body.cb-tv-idle .cb-live-chip{opacity:0}body.cb-display .toast-wrap{top:auto;bottom:4%;left:50%}.cb-stale{position:absolute;left:50%;bottom:calc(var(--u, 1cqw) * 1.2);transform:translateX(-50%);z-index:5;max-width:90%;padding:6px 14px;border-radius:999px;background:rgba(179,38,30,.88);color:#fff;font-size:13px;font-weight:800;text-align:center;word-break:keep-all}.cb-settings>summary{cursor:pointer;font-weight:800;font-size:16px}.cb-settings[open]>summary{margin-bottom:12px}.cb-set-section{margin-top:16px}.cb-set-section h4{margin:0 0 8px;font-size:15px}.cb-set-section .hint{font-weight:400}.cb-times{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:8px}.cb-time-row{display:flex;align-items:center;gap:6px;padding:8px 10px;border:1px solid var(--color-border);border-radius:12px;background:var(--color-card,#fff)}.cb-time-row b{min-width:52px}.cb-time-row input{width:auto;min-width:0;flex:1;padding:6px 8px;text-align:center;font-variant-numeric:tabular-nums}.cb-time-row.lunch{background:#fff8ec;border-color:#f5d39b}.cb-subjects-wrap{overflow-x:auto}.cb-subjects{width:100%;min-width:520px;border-collapse:separate;border-spacing:4px}.cb-subjects th{font-size:13px;color:var(--color-text-sub,#666);font-weight:800;white-space:nowrap}.cb-subjects input{width:100%;padding:7px 6px;text-align:center}#cb-rules-text{width:100%;min-height:120px;resize:vertical;font:inherit;line-height:1.6}.cb-set-actions{display:flex;gap:8px;justify-content:flex-end;margin-top:14px}.cb-set-actions .btn{width:auto;padding:10px 22px}.modal-box.cs-box{max-width:760px;width:min(760px,96vw)}.cs-help{margin:0 0 6px;font-size:13.5px;color:var(--color-text-sub);line-height:1.5;word-break:keep-all}.cs-now{margin:0 0 10px;font-weight:800;font-size:14px;color:#8a3324;word-break:keep-all}.cs-row{padding:10px 0;border-top:1px solid #eef1f5}.cs-head{display:flex;align-items:center;flex-wrap:wrap;gap:8px;margin-bottom:6px}.cs-head b{font-size:15px}.cs-head .cb-time{width:72px;text-align:center}.cs-label{width:120px;padding:6px 8px;border:1.5px solid var(--color-border);border-radius:8px;font:inherit}.cs-cards{display:flex;flex-wrap:wrap;gap:5px}.cs-chip{padding:5px 10px;border:1.5px solid var(--color-border);border-radius:999px;background:var(--color-card);font:inherit;font-size:13px;font-weight:700;cursor:pointer;color:inherit}.cs-chip.on{border-color:#e5243b;background:#fdecec;color:#b3261e}.cs-days{display:flex;flex-wrap:wrap;align-items:center;gap:5px;margin-bottom:6px}.cs-day{width:34px;height:30px;border:1.5px solid var(--color-border);border-radius:8px;background:var(--color-card);font:inherit;font-weight:800;cursor:pointer;color:inherit}.cs-day.on{border-color:var(--color-primary);background:#eef4ff;color:var(--color-primary)}.cs-school{display:inline-flex;align-items:center;gap:4px;margin-left:6px;font-size:13px;font-weight:700}.home-card-time-tag{display:inline-block;margin-top:6px;padding:2px 8px;border-radius:999px;background:rgba(0,0,0,.45);color:#fff;font-size:11.5px;font-weight:800;word-break:keep-all}.home-time-note{margin:0 0 12px;padding:10px 14px;border-radius:14px;background:#fff7e6;color:#8a5a00;font-weight:700;word-break:keep-all}.home-time-note.hidden{display:none}

.worry-list{display:flex;flex-direction:column;gap:8px}.worry-item{display:flex;flex-direction:column;gap:3px;width:100%;padding:12px 14px;border:1.5px solid var(--color-border);border-radius:14px;background:#fff;font:inherit;color:inherit;text-align:left;cursor:pointer}.worry-item:hover{border-color:#e9a28f;background:#fffaf8}.worry-item:focus-visible,.worry-link:focus-visible{outline:3px solid var(--color-primary);outline-offset:2px}.worry-item .title{font-size:16px;font-weight:800;word-break:keep-all;overflow-wrap:anywhere}.worry-item .preview{font-size:14px;color:var(--color-text-sub);overflow-wrap:anywhere}.worry-meta{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:12px;color:var(--color-text-sub)}.worry-pill{display:inline-block;padding:1px 8px;border-radius:999px;font-size:12px;font-weight:800;background:var(--color-gray-bg);color:var(--color-text-sub)}.worry-pill.new{background:#fdecec;color:#c62828}.worry-pill.teacher{background:#e8f8f0;color:#137a49}.worry-pill.mine{background:#eef4ff;color:#1e4fbf}.worry-pill.warn{background:#fff4dc;color:#8a5a00}.worry-pill.gone{background:#f1f2f4;color:#6b7280;text-decoration:line-through}.worry-pill.name{background:#f3eefe;color:#5b3bb0}.worry-promise{background:#fff8e3;border:2px solid #f2c14e}.worry-promise h3{margin:0 0 6px;font-size:16px}.worry-promise ol{margin:0;padding-left:22px;line-height:1.7;word-break:keep-all}.worry-promise .ex{color:var(--color-text-sub);font-size:13px}.worry-agree{display:flex;align-items:center;gap:8px;margin-top:10px;padding:10px 12px;border-radius:12px;background:#fff;font-weight:800;cursor:pointer}.worry-agree input{width:20px;height:20px;flex-shrink:0}.worry-count{display:block;text-align:right;font-size:12px;color:var(--color-text-sub)}.worry-post-title{margin:0 0 6px;font-size:19px;word-break:keep-all;overflow-wrap:anywhere}.worry-text{margin:0;white-space:pre-wrap;overflow-wrap:anywhere;line-height:1.6}.worry-note{margin:8px 0 0;padding:8px 12px;border-radius:10px;background:#fff4dc;color:#7a5200;font-size:13px;font-weight:700}.worry-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}.worry-replies{display:flex;flex-direction:column;gap:8px}.worry-reply{padding:10px 12px;border-radius:12px;background:var(--color-gray-bg)}.worry-reply.author{background:#fff1ec}.worry-reply.teacher{background:#e8f8f0}.worry-reply.off{opacity:.65}.worry-reply-head{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:4px;font-size:13px}.worry-reply-head strong{font-size:14px}.worry-reply .worry-actions{margin-top:6px}.worry-like-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-top:6px}.worry-like{display:inline-flex;align-items:center;gap:4px;padding:4px 12px;border:1.5px solid #f4a3be;border-radius:999px;background:#fff;font:inherit;font-size:13.5px;font-weight:800;color:#b83266;cursor:pointer}.worry-like.on{background:#ffe3ec;border-color:#e05a8a}.worry-like:disabled{opacity:.6;cursor:default}.worry-like:focus-visible{outline:3px solid var(--color-primary);outline-offset:2px}.worry-like-count{font-size:13.5px;font-weight:800;color:#b83266}.worry-like-hint{font-size:12px}.worry-link{border:0;background:none;padding:4px 2px;font:inherit;font-size:13px;font-weight:700;color:var(--color-text-sub);cursor:pointer;text-decoration:underline}.worry-link.danger{color:#c62828}.worry-back{margin-bottom:10px}.worry-reply-tip{margin:0 0 8px;font-size:13px;color:var(--color-text-sub);word-break:keep-all}.worry-anon{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 8px;font-weight:700;cursor:pointer}.worry-anon input{width:18px;height:18px}.worry-anon .muted{font-weight:400;font-size:13px}.worry-report-card{border-left:4px solid #e0393e}.worry-report-card .quote{margin:6px 0;padding:8px 10px;border-radius:10px;background:var(--color-gray-bg);white-space:pre-wrap;overflow-wrap:anywhere}.worry-reasons{display:flex;flex-direction:column;gap:6px;margin:8px 0}.worry-reasons label{display:flex;align-items:center;gap:8px;padding:8px 10px;border:1.5px solid var(--color-border);border-radius:10px;cursor:pointer}.worry-pill.best{background:#fff1d6;color:#9a5b00}.worry-reply.best{box-shadow:0 0 0 2px #f2c14e inset;background:#fffaf0}.worry-best-tip{margin:0 0 10px;padding:8px 12px;border-radius:10px;background:#fff8e3;color:#7a5200;font-size:13px;font-weight:700;word-break:keep-all}.worry-best-count{margin:0 0 8px;font-size:14px;color:#9a5b00}.worry-best-setting{margin:0 0 12px;padding:10px 12px;border-radius:12px;background:#fff8e3}.worry-best-row{display:flex;align-items:center;gap:8px}.worry-best-row input{width:110px;flex:0 0 auto}.worry-best-row .btn{width:auto}.worry-cats{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0 2px}.worry-cat{padding:7px 12px;border:2px solid var(--color-border);border-radius:999px;background:#fff;font:inherit;font-size:14px;font-weight:800;color:var(--color-text);cursor:pointer}.worry-cat.on{border-color:#e07a5f;background:#fff1ec;color:#a4401f}.worry-cat:focus-visible,.worry-filter:focus-visible{outline:3px solid var(--color-primary);outline-offset:2px}.worry-pill.cat{background:#fff1ec;color:#a4401f}.worry-filters{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 10px}.worry-filter{padding:5px 11px;border:1.5px solid var(--color-border);border-radius:999px;background:#fff;font:inherit;font-size:13px;font-weight:700;color:var(--color-text-sub);cursor:pointer}.worry-filter b{color:var(--color-text)}.worry-filter.on{border-color:#e07a5f;background:#fff1ec;color:#a4401f}.worry-stats{width:100%;border-collapse:collapse;font-size:14px}.worry-stats th{font-size:12.5px;color:var(--color-text-sub);padding:6px;border-bottom:1px solid var(--color-border)}.worry-stats td{padding:6px;border-bottom:1px solid #f1f3f6;font-variant-numeric:tabular-nums}.worry-stats .up{color:#c62828;font-weight:800}.worry-stats .down{color:#1e4fbf;font-weight:800}.worry-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}.worry-open-note{margin:0 0 10px;padding:8px 12px;border-radius:10px;background:#fff1ec;color:#8a3324;font-size:14px;font-weight:700;word-break:keep-all}.worry-open-note b{color:#c62828}

.home-mood{display:flex;flex-direction:column;align-items:inherit;gap:6px;max-width:100%}.home-mood.hidden{display:none}.mood-ask{width:100%;max-width:560px;box-sizing:border-box;padding:12px 12px 10px;background:#fff;border-radius:18px;box-shadow:0 0 0 2px #ffd54f;text-align:left}.mood-ask-head{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:8px;font-size:16px}.mood-lock{font-size:12px;color:var(--color-text-sub);font-weight:700;white-space:nowrap}.mood-reward{margin:-2px 0 8px;font-size:13px;font-weight:800;color:#8a5a00}.mood-row{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:6px}.mood-btn{border:2px solid #e5e7eb;background:#fff;border-radius:14px;padding:8px 2px 7px;display:flex;flex-direction:column;align-items:center;gap:2px;font:inherit;color:inherit;cursor:pointer;min-width:0}.mood-btn .w{font-size:30px;line-height:1.15}.mood-btn .l{font-size:13px;font-weight:800;white-space:nowrap}.mood-btn .d{font-size:11px;color:var(--color-text-sub);word-break:keep-all;text-align:center;line-height:1.25}.mood-btn.on{border-color:var(--color-primary,#2f6fed);background:#eef4ff}.mood-btn:focus-visible,.mood-chip:focus-visible,.mood-cell:focus-visible{outline:3px solid #ffd54f;outline-offset:2px}.mood-btn:disabled,.mood-chip:disabled{opacity:.6;cursor:default}.mood-more{margin-top:10px;padding-top:10px;border-top:1px dashed #d1d5db}.mood-emo-wrap{margin-top:10px}.mood-why{margin-top:10px}.mood-must{display:inline-block;margin-left:4px;padding:1px 8px;border-radius:999px;background:#fdecec;color:#c62828;font-size:12px;font-weight:800}.mood-why-error{margin:4px 0 0;min-height:0}.mood-why-list ul{list-style:none;margin:6px 0 0;padding:0;display:flex;flex-direction:column;gap:4px}.mood-why-list li{display:flex;flex-wrap:wrap;align-items:center;gap:6px;padding:6px 10px;border-radius:10px;background:var(--emo-bg);box-shadow:0 0 0 1px var(--emo-line) inset;font-size:14px}.mood-why-list li .emo{font-weight:800;color:var(--emo-on)}.mood-why-list li .why{color:#1f2937;overflow-wrap:anywhere}.mood-emo-wrap .mood-q{margin-top:0}.mood-emos{display:grid;grid-template-columns:repeat(auto-fill,minmax(96px,1fr));gap:6px}.mood-emo{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1px;min-width:0;padding:7px 4px;border:2px solid var(--emo-line);background:var(--emo-bg);border-radius:12px;font:inherit;color:#1f2937;cursor:pointer}.mood-emo b{font-size:15px;font-weight:800;word-break:keep-all;text-align:center}.mood-emo small{font-size:11.5px;font-weight:700;color:#4b5563;word-break:keep-all;text-align:center}.mood-emo.on{background:#fff;border-color:var(--emo-on);box-shadow:0 0 0 2px var(--emo-on) inset}.mood-emo.on b{color:var(--emo-on)}.mood-emo:focus-visible{outline:3px solid #ffd54f;outline-offset:2px}.mood-emo:disabled{opacity:.6;cursor:default}.mood-w1{--emo-bg:#f1f8e9;--emo-line:#c5e1a5;--emo-on:#4a7c22}.mood-w2{--emo-bg:#fff8e1;--emo-line:#ffd36b;--emo-on:#9a5b00}.mood-w3{--emo-bg:#f6ecf8;--emo-line:#d4a5de;--emo-on:#7b2d91}.mood-w4{--emo-bg:#e6f4fb;--emo-line:#8fcbe6;--emo-on:#0b6694}.mood-w5{--emo-bg:#fdeee9;--emo-line:#f4a98f;--emo-on:#b3401c}.mood-q{display:block;font-weight:800;font-size:14px;margin:8px 0 6px}.mood-q .muted{font-weight:600;font-size:12px}.mood-chips{display:flex;flex-wrap:wrap;gap:6px}.mood-chip{border:2px solid #e5e7eb;background:#fff;border-radius:999px;padding:5px 11px;font:inherit;font-weight:700;font-size:13px;color:inherit;cursor:pointer}.mood-chip.on{border-color:var(--color-primary,#2f6fed);background:#eef4ff;color:#1e4fbf}.mood-note{width:100%;box-sizing:border-box;border:2px solid #e5e7eb;border-radius:12px;padding:8px 10px;font:inherit;font-size:14px}.mood-talk{display:flex;align-items:center;gap:8px;margin-top:10px;font-weight:800;font-size:14px;cursor:pointer}.mood-talk input{width:18px;height:18px}.mood-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:10px}.mood-sent{font-weight:700;color:#15803d}.home-alert.mood .home-news-chip{border-color:#9ec5ff}.home-alert.mood-urgent .home-news-chip{border-color:#e5243b;box-shadow:0 0 0 1px #e5243b inset}.home-alert.mood-warn .home-news-chip{border-color:#f0a35e}.mood-tell-box{max-width:560px}.mood-tell-sub{margin:0 0 4px;color:var(--color-text-sub);font-size:13px;font-weight:700}@media(max-width:599px){.mood-btn .w{font-size:26px}.mood-btn .d{display:none}.mood-emos{grid-template-columns:repeat(auto-fill,minmax(84px,1fr))}.mood-emo{padding:6px 2px}.mood-emo b{font-size:14px}.mood-emo small{font-size:11px}}#view-mood h3{margin:0 0 10px;font-size:17px}#view-mood h3 .muted{font-size:13px;font-weight:600}.mood-switch{display:flex;align-items:center;gap:8px;font-weight:700;cursor:pointer}.mood-switch input{width:18px;height:18px}.mood-reward-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:10px;font-weight:700}.mood-reward-row input{width:110px;padding:6px 8px;border:2px solid #e5e7eb;border-radius:10px;font:inherit}.mood-help{font-size:13px;margin:8px 0 0;line-height:1.5}.mood-today{display:flex;flex-wrap:wrap;gap:8px}.mood-count{padding:6px 12px;border-radius:999px;background:#f3f6fb;font-weight:700}.mood-count.none{background:#fff4dc}.mood-talks{display:flex;flex-direction:column;gap:8px}.mood-talk-students,.mood-talk-dates,.mood-talk-pages{display:flex;flex-wrap:wrap;gap:7px;margin:8px 0}#mood-talk-browser .btn{width:auto}#mood-talk-browser [aria-pressed=true]{background:#e7edff;border-color:#315de9;color:#2547ae}.mood-post-list{display:grid;gap:8px;margin-top:12px}.mood-post{border:1px solid #dce4f2;border-radius:12px;overflow:hidden}.mood-post-title{display:flex;justify-content:space-between;align-items:center;gap:12px;width:100%;padding:12px;background:#f6f8ff;border:0;text-align:left;color:inherit;font:inherit;cursor:pointer}.mood-post-title span{font-weight:800}.mood-post-title small{color:var(--color-text-sub);white-space:nowrap}.mood-post-body{padding:12px}.mood-post-body.hidden{display:none}@media(max-width:599px){.mood-post-title{align-items:flex-start;flex-direction:column;gap:5px}}.mood-talk-item{display:flex;flex-direction:column;gap:6px;padding:10px 12px;border:2px solid #f3b4b4;border-radius:14px;background:#fff8f7}.mood-talk-item.done{border-color:#e5e7eb;background:#fafafa}.mood-talk-head{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.mood-talk-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin:4px 0}.mood-talk-field{min-width:0;padding:10px 12px;border:1px solid #f2dedb;border-radius:10px;background:#fff}.mood-talk-field:nth-child(n+3){grid-column:1/-1}.mood-talk-field dt{margin:0 0 5px;font-size:13px;font-weight:800;color:#6b5260}.mood-talk-field dd{margin:0;color:#26344a;line-height:1.55;white-space:pre-wrap;overflow-wrap:anywhere}@media(max-width:599px){.mood-talk-form{grid-template-columns:minmax(0,1fr)}}.mood-talk-note{color:#374151;background:#fff;border-radius:10px;padding:6px 10px;white-space:pre-wrap;overflow-wrap:anywhere}.mood-talk-done{color:#15803d;font-weight:700}.mood-pill{display:inline-block;padding:1px 8px;border-radius:999px;font-size:12px;font-weight:800}.mood-pill.new{background:#fdecec;color:#c62828}.mood-range{margin-bottom:8px}.mood-cal-wrap{overflow-x:auto}.mood-cal{border-collapse:separate;border-spacing:0;font-size:14px;width:100%}.mood-cal th{font-size:12px;color:var(--color-text-sub);font-weight:700;padding:4px 3px;white-space:nowrap}.mood-cal td{padding:2px;text-align:center;border-bottom:1px solid #eef2f7}.mood-cal td.n{text-align:center;font-weight:800;white-space:nowrap;padding:2px 8px}.mood-cal td.why,.mood-cal th.why{text-align:center;font-size:12.5px;font-weight:700;white-space:nowrap;padding:2px 8px}.mood-cal tr.flag td{background:#fff4f2}.mood-cal tr.test td{color:var(--color-text-sub)}.mood-cal .today{background:#eef4ff}.mood-cal tr.flag td.today{background:#ffe9e5}.mood-cal .x{color:#c0c7d2}.mood-cell{display:inline-flex;flex-direction:column;align-items:center;min-width:30px;padding:2px;border:0;background:none;font:inherit;font-size:19px;line-height:1.15;cursor:pointer;border-radius:8px}.mood-cell:hover{background:#fff}.mood-cell .chg{font-size:10px;color:#b3261e;font-weight:800;line-height:1}.mood-cell .chg.talk{color:inherit}.mood-cell .emo{font-size:10.5px;font-weight:700;color:#4b5563;white-space:nowrap;line-height:1.15}.mood-emo-sums{margin-top:10px}.mood-emo-sum{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-top:6px}.mood-emo-sum .wi{font-size:18px}.mood-emo-sum .chip{padding:3px 10px;border-radius:999px;background:var(--emo-bg);box-shadow:0 0 0 1px var(--emo-line) inset;font-weight:700;font-size:13.5px}.mood-emo-sum .chip b{color:var(--emo-on)}.mood-cell-detail ul{margin:6px 0;padding-left:20px;line-height:1.6}.mood-cell-day{margin:0 0 8px}.mood-cell-why{margin:0 0 8px;padding:10px 12px;border-radius:12px;background:var(--emo-bg,#f3f6fb);box-shadow:inset 0 0 0 1.5px var(--emo-line,#d6deea)}.mood-cell-why .k{display:block;font-size:12.5px;font-weight:800;color:var(--emo-on,#475569);margin-bottom:2px}.mood-cell-why p{margin:0;font-size:17px;font-weight:800;line-height:1.45;color:#1f2937;white-space:pre-wrap;overflow-wrap:anywhere}.mood-cell-why.none p{font-size:14px;font-weight:600;color:var(--color-text-sub)}.mood-cell-what{margin:0 0 6px;font-weight:700}.mood-cell-hist{margin-top:8px;padding-top:8px;border-top:1px dashed #d1d5db;font-size:14px}.mood-cell-hist .why{color:var(--color-text-sub);font-size:13px}.mood-cell-at{margin:4px 0 0;font-size:13px}

.home-alert.thanks .home-news-chip{border-color:#f4a3be}.thanks-left{margin:0 0 10px;font-weight:800;color:#b83266}.thanks-q{display:block;font-weight:800;font-size:15px;margin:12px 0 6px}.thanks-q .muted{font-weight:600;font-size:12px}.thanks-names{display:grid;grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:6px}.thanks-chip{border:2px solid #e5e7eb;background:#fff;border-radius:12px;padding:8px 6px;font:inherit;font-weight:700;font-size:14px;color:inherit;cursor:pointer;text-align:center}.thanks-chip.on{border-color:#e05a8a;background:#fff0f5;color:#b83266}.thanks-chip:disabled{opacity:.5;cursor:default}.thanks-chip small{display:block;font-size:11px;color:var(--color-text-sub);font-weight:700}.thanks-chip:focus-visible{outline:3px solid #ffd54f;outline-offset:2px}.thanks-reasons{display:flex;flex-wrap:wrap;gap:6px}.thanks-reasons .thanks-chip{border-radius:999px;padding:6px 12px}.thanks-input{width:100%;box-sizing:border-box;border:2px solid #e5e7eb;border-radius:12px;padding:9px 11px;font:inherit;font-size:15px}.thanks-card{padding:12px 14px;border-radius:16px;background:linear-gradient(135deg,#fff0f5,#ffe3ec);border:2px solid #f4a3be}.thanks-card .to{font-weight:800;color:#b83266}.thanks-card .why{font-size:17px;font-weight:800;margin:4px 0}.thanks-card .msg{white-space:pre-wrap;overflow-wrap:anywhere}.thanks-card .from{display:flex;justify-content:space-between;gap:8px;font-size:13px;color:var(--color-text-sub);font-weight:700;margin-top:4px}.thanks-card.hidden-card{opacity:.55;border-style:dashed}.thanks-list{display:flex;flex-direction:column;gap:8px}.thanks-preview{margin-top:12px}.thanks-send-row{display:flex;justify-content:flex-end;margin-top:12px}.thanks-pill{display:inline-block;padding:1px 8px;border-radius:999px;font-size:12px;font-weight:800;background:#fdecec;color:#c62828}.thanks-actions{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px}.thanks-table{width:100%;border-collapse:collapse;font-size:14px}.thanks-table th{font-size:12.5px;color:var(--color-text-sub);text-align:center;padding:6px 4px;border-bottom:1px solid var(--color-border)}.thanks-table td{padding:6px 4px;border-bottom:1px solid #f1f3f6;text-align:center}.thanks-table td.num{text-align:center;font-weight:800}.thanks-table tr.zero td{background:#fff7e6}.thanks-bar{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin-bottom:8px}.thanks-reward-kinds{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0}.thanks-reward-field{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin-top:8px;font-weight:700}.thanks-reward-field input,.thanks-reward-field select{padding:7px 9px;border:2px solid #e5e7eb;border-radius:10px;font:inherit}.thanks-reward-field input[type=number]{width:120px}.thanks-reward-field.hidden{display:none}.thanks-gift-row{display:flex;align-items:center;gap:8px;flex-wrap:wrap;margin:6px 0;font-weight:700}.thanks-gift-row label{min-width:110px}.thanks-gift-row input{width:120px;padding:7px 9px;border:2px solid #e5e7eb;border-radius:10px;font:inherit}.thanks-gift-row select{max-width:100%;padding:7px 9px;border:2px solid #e5e7eb;border-radius:10px;font:inherit}.thanks-fee-note{font-size:12.5px;margin:4px 0 0;word-break:keep-all}.thanks-card .gift{margin-top:6px;padding:4px 10px;border-radius:999px;background:#fff;display:inline-block;font-weight:800;color:#8a3324;font-size:14px}.thanks-send-row{align-items:center;gap:10px}.thanks-cost{flex:0 1 auto;font-weight:800;color:#8a5a00;font-size:14px;white-space:nowrap}.thanks-who{margin:4px 0 8px;font-weight:700;color:#374151;word-break:keep-all}.thanks-month-zero{margin-top:8px;padding:8px 10px;border-radius:10px;background:var(--color-gray-bg);font-size:14px;line-height:1.5;word-break:keep-all}.thanks-month-zero.on{background:#fff7e6;box-shadow:0 0 0 1.5px #f3c56b inset}.thanks-why{white-space:nowrap;font-weight:700}.thanks-text-count{font-size:12px;margin-top:5px}.thanks-count{min-width:44px;min-height:36px;padding:4px 8px;border:1px solid #f4a3be;border-radius:9px;background:#fff0f5;color:#a62a59;font:inherit;font-weight:800;text-decoration:underline;cursor:pointer}.thanks-count:hover{background:#ffe3ec}.thanks-count:focus-visible{outline:3px solid #ffd54f;outline-offset:2px}#thanks-student-cards:focus{outline:2px solid #f4a3be;outline-offset:2px}.thanks-detail-error{color:#b42318;overflow-wrap:anywhere}.thanks-history-filter{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap}.thanks-history-filter label{display:flex;flex-direction:column;gap:4px;margin:0;font-weight:700}.thanks-history-filter input{font:inherit;padding:8px 10px;border:1px solid var(--color-border);border-radius:9px;max-width:100%}.thanks-history-filter .btn,.thanks-history-more{width:auto;margin:0}.thanks-history-more{display:block;margin:12px auto 0}

.friends-head{margin:0 0 6px;font-size:17px}.friends-head .muted{font-size:13px;font-weight:600}.friends-names{margin:0 0 12px;font-size:14px;line-height:1.6;word-break:keep-all}.friends-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:8px}.friend-chip{display:flex;flex-direction:column;align-items:center;gap:2px;padding:10px 6px;border:2px solid #e5e7eb;border-radius:14px;background:#fff;font:inherit;font-weight:800;font-size:15px;color:inherit;cursor:pointer}.friend-chip .mark{font-size:20px;line-height:1.2}.friend-chip small{font-size:11.5px;font-weight:700;color:var(--color-text-sub)}.friend-chip.on{border-color:#f0a63a;background:#fff8e6;color:#8a5200}.friend-chip.on small{color:#a86a00}.friend-chip.bday small{color:#c2410c}.friend-chip:disabled{opacity:.6;cursor:default}.friend-chip:focus-visible{outline:3px solid #ffd54f;outline-offset:2px}.friends-rules{margin:0;padding-left:18px;font-size:14px;line-height:1.75;word-break:keep-all}

.together-tile{position:relative}.together-tile .t strong .home-card-title{font-size:inherit;font-weight:inherit}.together-tile.together-chat{background:linear-gradient(135deg,#e7f5ff,#a5d8ff);color:#1864ab;box-shadow:0 4px 14px rgba(24,100,171,.12)}.together-tile.together-friends{background:linear-gradient(135deg,#fff9db,#ffe066);color:#8a5a00;box-shadow:0 4px 14px rgba(138,90,0,.12)}.together-tile.together-school{background:linear-gradient(135deg,#ebfbee,#b2f2bb);color:#1f6f43;box-shadow:0 4px 14px rgba(31,111,67,.12)}.together-tile .s.new,.together-tile .s.alert{align-self:flex-start;padding:2px 9px;border-radius:999px;background:#fff;color:#c92a2a;box-shadow:0 0 0 1px rgba(201,42,42,.3) inset}.together-tile .s.done{align-self:flex-start;padding:2px 9px;border-radius:999px;background:#fff4c7;color:#7a5200}.together-tile .home-card-badge{top:-8px;right:-6px}.together-tile .home-card-off-tag,.together-tile .home-card-time-tag{position:absolute;top:8px;right:12px;margin:0;background:rgba(0,0,0,.55);color:#fff}.together-tile.card-off{opacity:.6}.together-tile.card-locked{opacity:.55}

.radio-head{display:flex;gap:8px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-bottom:6px}.radio-head .btn{width:auto;margin:0}#app.app-shell-active .radio-head .btn{min-height:0;height:32px;padding:0 12px;line-height:30px}.radio-label{font-weight:700}.radio-moods,.radio-filter{display:flex;flex-wrap:wrap;gap:6px}.radio-filter{margin:8px 0}.radio-form label.radio-chip{font-weight:400;cursor:pointer}.radio-chip input{position:absolute;opacity:0;width:0;height:0;margin:0}button.radio-chip,.radio-chip span{display:inline-block;padding:5px 11px;border:1px solid var(--color-border);border-radius:999px;background:var(--color-gray-bg);color:var(--color-text);font:inherit;font-size:13px;line-height:1.4;cursor:pointer}button.radio-chip.on,.radio-chip input:checked+span{background:#ffe8cc;border-color:#e0a458;color:#7a4a12;font-weight:700}.radio-chip input:focus-visible+span{outline:2px solid #e0a458;outline-offset:1px}.radio-mood{padding:1px 8px;border-radius:999px;background:#fff3e2;color:#7a4a12;font-size:12px;white-space:nowrap}.radio-form{display:grid;gap:8px}.radio-form label{font-weight:700;margin:0}.radio-form textarea{width:100%;box-sizing:border-box}.radio-form input{margin:0}.radio-item{border-top:1px solid var(--color-border);padding:10px 0}.radio-item:first-of-type{border-top:0}.radio-item .who{display:flex;gap:8px;justify-content:space-between;flex-wrap:wrap;font-size:13px;color:var(--color-text-sub)}.radio-item .who b{color:var(--color-text);font-size:14px}.radio-item p{margin:6px 0 0;white-space:pre-wrap;word-break:break-word;line-height:1.6}.radio-tools{display:flex;gap:6px;flex-wrap:wrap;margin-top:6px}.radio-tools .btn{width:auto;margin:0}#app.app-shell-active .radio-tools .btn{min-height:0;height:32px;padding:0 12px;line-height:30px}.radio-pill{padding:1px 8px;border-radius:999px;background:var(--color-gray-bg);font-size:12px}.radio-pill.on{background:#e6f6ec;color:#1f7a45}

.sl-wrap{--sl-ink:#1E2A44;--sl-paper:#FAFBFD;--sl-sky:#DCEBFA;--sl-green:#2F8F6A;--sl-gold:#F2B33D;--sl-rose:#D9576B;color:var(--sl-ink);max-width:980px;margin:0 auto}.sl-wrap .card{background:var(--sl-paper);color:var(--sl-ink)}.sl-wrap :focus-visible{outline:3px solid var(--sl-gold);outline-offset:2px}.sl-wrap .muted,.sl-wrap .hint{color:#55617a}.sl-card{max-width:560px;margin:0 auto;display:grid;gap:12px}.sl-card h2{margin:0;font-size:20px}.sl-promise{font-size:18px;line-height:1.7;margin:0}.sl-step{margin:0;font-size:14px;color:#55617a}.sl-q{display:block;margin:6px 0 0;font-size:17px;font-weight:700;line-height:1.5}.sl-go,.sl-wrap .btn.sl-go{background:var(--sl-green);color:#fff;border:0}.sl-wrap button{min-height:48px}.sl-progress{height:8px;border-radius:999px;background:var(--sl-sky);overflow:hidden}.sl-progress i{display:block;height:100%;background:var(--sl-green)}.sl-friend{display:flex;align-items:center;gap:12px;justify-content:center;font-size:30px;padding:8px 0}.sl-friend b{min-width:52px;height:52px;border-radius:50%;background:var(--sl-sky);display:grid;place-items:center;font-size:22px}.sl-scale{display:grid;grid-auto-flow:column;grid-auto-columns:1fr;gap:6px}.sl-dot{display:grid;justify-items:center;align-content:end;gap:6px;background:#fff;border:1px solid #c9d4e4;border-radius:12px;padding:8px 2px;color:var(--sl-ink);min-height:92px;cursor:pointer}.sl-dot .c{width:34px;height:34px;box-sizing:border-box;border-radius:50%;border:2px solid #1e2a4466;display:grid;place-items:center;color:#1E2A44;font-size:20px;font-weight:800}.sl-dot .w{font-size:13px;line-height:1.25;word-break:keep-all;text-align:center}.sl-dot.on{background:#fff6e0;border-color:#1E2A44;box-shadow:inset 0 0 0 2px #1E2A44}.sl-dot.on .c{border-color:#1E2A44}.sl-dot.on .c::after{content:"✓"}.sl-dot.on .w{font-weight:800}.sl-chips{display:grid;grid-template-columns:repeat(auto-fill,minmax(120px,1fr));gap:8px}.sl-chips.three{grid-template-columns:repeat(3,1fr)}.sl-chip{background:#fff;border:1px solid #c9d4e4;border-radius:12px;padding:8px;color:var(--sl-ink);cursor:pointer;font-size:15px;word-break:keep-all}.sl-chip.on{background:var(--sl-gold);border-color:#b57f12;font-weight:700}.sl-nav{display:flex;gap:8px;justify-content:space-between}.sl-nav .btn{width:auto;flex:1}.sl-warn{margin:0;min-height:20px;color:#a32639;font-size:14px}.sl-auto{margin:0;padding:8px 12px;border-radius:10px;background:var(--sl-sky);font-size:14px;line-height:1.5}.sl-wrap textarea{width:100%;box-sizing:border-box}.sl-top{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-bottom:10px}.sl-top select{flex:1 1 220px;min-width:0;min-height:48px}.sl-top .btn{width:auto}.sl-tabs{display:flex;gap:6px;flex-wrap:wrap;margin-bottom:10px}.sl-tabs button{flex:1 1 auto;background:var(--sl-sky);border:0;border-radius:10px;padding:6px 12px;color:var(--sl-ink);cursor:pointer;font-weight:700}.sl-tabs button.on{background:var(--sl-ink);color:#fff}.sl-table-wrap{overflow-x:auto}.sl-table{width:100%;border-collapse:collapse;font-size:14px}.sl-table th,.sl-table td{border-bottom:1px solid #dfe6ef;padding:7px 6px;text-align:center;white-space:nowrap}.sl-table th button{background:none;border:0;color:inherit;font:inherit;font-weight:700;cursor:pointer;min-height:32px}.sl-table input,.sl-table select{min-height:38px;text-align:center}.sl-table input[type=number]{width:70px}.sl-table input.err,.sl-paper input.err{border:2px solid var(--sl-rose);background:#fdeef0}.sl-table .btn{width:auto;min-height:38px;padding:4px 10px;font-size:13px}.sl-wrap .sl-table button.btn{min-height:38px}.sl-form{display:grid;gap:10px}.sl-form label{font-weight:700}.sl-form .row{display:flex;gap:10px;flex-wrap:wrap;align-items:center}.sl-form .row select{flex:1 1 180px;min-height:48px}.sl-bars{display:grid;gap:8px}.sl-bar{display:grid;grid-template-columns:64px 1fr 44px;gap:8px;align-items:center;font-size:14px}.sl-bar i{display:block;height:16px;border-radius:0 4px 4px 0;border:1px solid #9fb0c7}.sl-bar i.zero{border:0}.sl-warnbox{background:#fff6e0;border:1px solid var(--sl-gold);border-radius:10px;padding:8px 12px;margin:0 0 8px;font-size:14px}.sl-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(230px,1fr));gap:8px}.sl-care{border:1px solid var(--sl-rose);border-left-width:5px;border-radius:10px;padding:8px 10px;background:#fff}.sl-care strong{display:block;margin-bottom:4px}.sl-care span{display:inline-block;margin:2px 4px 2px 0;font-size:12px;background:#fdeef0;border-radius:999px;padding:2px 8px}.sl-socio{display:grid;grid-template-columns:minmax(0,1fr) 240px;gap:12px;align-items:start}.sl-socio svg{width:100%;height:auto;background:#fff;border:1px solid #dfe6ef;border-radius:10px;display:block}.sl-socio .node{cursor:pointer}.sl-socio .node:focus{outline:none}.sl-socio .node:focus-visible circle.ring{stroke:var(--sl-gold)}.sl-panel{border:1px solid #dfe6ef;border-radius:10px;padding:10px;background:#fff;font-size:14px;line-height:1.7}.sl-legend{display:flex;flex-wrap:wrap;gap:6px 12px;font-size:13px;margin-top:8px}.sl-legend i{display:inline-block;width:14px;height:14px;border:1px solid #1E2A44;vertical-align:-2px;margin-right:4px}.sl-paper .grid{display:grid;gap:8px}.sl-preview{max-height:640px;overflow:auto;background:#e8edf3;padding:12px;border-radius:10px}.sl-preview .sl-sheet{background:#fff;padding:15mm;margin:0 auto 12px;width:180mm;max-width:100%;box-sizing:border-box;overflow:hidden}@media(max-width:760px){.sl-socio{grid-template-columns:minmax(0,1fr)}}@media(max-width:420px){.sl-dot .w{font-size:11px}}.sl-sheet{color:#000;font-size:11pt;line-height:1.5}.sl-sheet h2{font-size:15pt;margin:0 0 4pt}.sl-sheet h3{font-size:12pt;margin:10pt 0 4pt}.sl-sheet .who{margin:0 0 6pt}.sl-sheet .intro{border:1px solid #000;padding:6pt 8pt;margin:6pt 0}.sl-sheet table{border-collapse:collapse;width:100%}.sl-sheet th,.sl-sheet td{border:1px solid #000;padding:3pt 4pt;text-align:center}.sl-sheet tr{break-inside:avoid}.sl-sheet td.self{background:repeating-linear-gradient(45deg,#000 0 1px,#fff 1px 6px);-webkit-print-color-adjust:exact;print-color-adjust:exact}.sl-sheet .blank{display:block;border-bottom:1px solid #000;height:20pt;margin:2pt 0 8pt}.sl-sheet .lines{display:block;border:1px solid #000;height:60pt;margin-top:3pt}.sl-sheet .read{font-size:10pt;font-weight:400;margin-left:4pt}.sl-sheet .names{display:grid;grid-template-columns:repeat(4,1fr);gap:2pt 8pt;margin:3pt 0 8pt}.sl-sheet .q{margin:6pt 0 2pt;font-weight:700;break-after:avoid}.sl-sheet.big{font-size:16pt}.sl-sheet.big h2{font-size:20pt}.sl-sheet.big h3{font-size:17pt}.sl-sheet .dots{white-space:nowrap}.sl-sheet .dots i{display:inline-grid;place-items:center;width:20pt;height:20pt;box-sizing:border-box;border:1.2pt solid #000;border-radius:50%;margin:0 4pt;vertical-align:middle;font-style:normal;font-size:12pt;-webkit-print-color-adjust:exact;print-color-adjust:exact}#sl-print-root{display:none}@media print{body.sl-printing>*{display:none!important}body.sl-printing>#sl-print-root{display:block!important}body.sl-printing{background:#fff!important}#sl-print-root .sl-sheet{break-before:page;padding:0;width:auto}#sl-print-root .sl-sheet:first-child{break-before:auto}}

.home-card-economy{background:linear-gradient(135deg,#2f6fed,#1e4fbf)}.home-card-warmth{background:linear-gradient(135deg,#b83e68,#822548)}.activity-list{margin-top:18px}.activity-tile{position:relative;min-height:112px}.activity-tile .t strong .home-card-title{font-size:inherit;font-weight:inherit}.activity-bank{background:linear-gradient(135deg,#fff8e6,#ffe4a8);color:#845417;box-shadow:0 4px 14px rgba(132,84,23,.12)}.activity-securities{background:linear-gradient(135deg,#e7f5ff,#b9ddff);color:#245585;box-shadow:0 4px 14px rgba(36,85,133,.12)}.activity-shop{background:linear-gradient(135deg,#f0fbe9,#cdeec1);color:#416c2d;box-shadow:0 4px 14px rgba(65,108,45,.12)}.activity-donation{background:linear-gradient(135deg,#fff6e8,#ffe0c1);color:#8a501d;box-shadow:0 4px 14px rgba(138,80,29,.12)}.activity-radio{background:linear-gradient(135deg,#fff4e6,#ffd8a8);color:#a85a00;box-shadow:0 4px 14px rgba(168,90,0,.12)}.activity-thanks{background:linear-gradient(135deg,#fff0f6,#fcc2d7);color:#a61e4d;box-shadow:0 4px 14px rgba(166,30,77,.12)}.activity-exam{background:linear-gradient(135deg,#eaf3ff,#c4dcff);color:#2b5386;box-shadow:0 4px 14px rgba(43,83,134,.12)}.activity-tower{background:linear-gradient(135deg,#f3edff,#d9caff);color:#4f3a96;box-shadow:0 4px 14px rgba(79,58,150,.14)}.activity-tile .home-card-status{margin:0;font-size:13px}.activity-tile #home-thanks-status2{display:block}.activity-tile .home-card-status.new,.activity-tile .home-card-status.alert{align-self:flex-start;padding:2px 9px;border-radius:999px;background:#fff;color:#b12b3a}.activity-tile .home-card-status.done{align-self:flex-start;padding:2px 9px;border-radius:999px;background:#fff7d9;color:#7a5200}.activity-tile .home-card-off-tag,.activity-tile .home-card-time-tag{position:absolute;top:8px;right:12px;margin:0;background:rgba(0,0,0,.55);color:#fff}.activity-tile.card-off{opacity:.6}.activity-tile.card-locked{opacity:.55}@media(max-width:380px){.activity-tile{padding:15px 13px;gap:12px}.activity-tile .t strong{font-size:17px}}

.sv-bonus-fields{min-width:0;border:1px solid #f1d58c;background:#fffbef;border-radius:14px;padding:14px;margin:14px 0}.sv-bonus-fields legend{font-weight:800;padding:0 6px}.sv-bonus-fields .muted{font-size:12px;line-height:1.6}.sv-bonus-note{background:#fff5d8;border:1px solid #f4df9b;border-radius:10px;padding:10px;color:#79520f;font-size:13px;line-height:1.7;overflow-wrap:anywhere}.sv-interest-audit{margin-top:9px;width:100%;max-width:100%;font-size:13px;overflow-wrap:anywhere}.sv-interest-audit summary{cursor:pointer;color:#315b9b;font-weight:700}.sv-interest-audit p{line-height:1.7}.sv-interest-audit .sv-history{max-height:300px;overflow:auto}.sv-interest-audit .sv-history li{gap:12px;flex-wrap:wrap}.sv-teacher-select{display:flex;align-items:center;gap:9px;margin:0}.sv-teacher-select input{width:20px;min-height:20px;flex-shrink:0;margin:0}.sv-guide{background:#f1f7ff;border:1.5px solid #b9d3f7}.sv-guide h3{margin:0 0 6px;font-size:16px}.sv-guide ol{margin:0;padding-left:22px;line-height:1.7;word-break:keep-all}.sv-money{display:flex;align-items:baseline;justify-content:space-between;gap:8px;flex-wrap:wrap}.sv-money strong{font-size:22px}.sv-card h3{margin:0;font-size:17px;word-break:keep-all}.sv-rate{display:inline-block;margin-top:4px;padding:2px 10px;border-radius:999px;background:#fff1e6;color:#a24a00;font-size:13px;font-weight:800}.sv-total{margin:10px 0 4px;font-size:26px;font-weight:900}.sv-parts{display:flex;flex-wrap:wrap;gap:4px 14px;font-size:13px;color:var(--color-text-sub)}.sv-parts b{color:var(--color-text)}.sv-wait{margin:8px 0 0;padding:8px 12px;border-radius:10px;background:#fff8e3;color:#7a5200;font-size:13px;font-weight:700;word-break:keep-all}.sv-put{display:flex;gap:8px;align-items:center;margin-top:10px}.sv-put input{flex:1 1 auto;min-width:0}.sv-put .btn{flex:0 0 auto;width:auto;white-space:nowrap}.sv-actions{display:flex;flex-wrap:wrap;gap:6px 14px;margin-top:8px}.sv-close-note{margin:8px 0 0;font-size:13px;color:var(--color-text-sub);word-break:keep-all}.sv-join{margin-top:10px;padding:10px 12px;border-radius:12px;background:var(--color-gray-bg)}.sv-join label{margin-top:6px}.sv-join label:first-child{margin-top:0}.sv-auto-row{display:grid;grid-template-columns:110px minmax(0,1fr);gap:8px}.sv-need{display:inline-block;margin-left:4px;padding:1px 8px;border-radius:999px;background:#fdecec;color:#c62828;font-size:12px;font-weight:800}.sv-hint{margin:6px 0 0;font-size:12px;color:var(--color-text-sub);word-break:keep-all}.sv-auto{margin:8px 0 0;font-size:14px;font-weight:700;color:#1e4fbf;word-break:keep-all}.sv-auto.off{color:var(--color-text-sub);font-weight:400}.sv-close-note.ok{color:#137a49;font-weight:700}.sv-close-rate{background:#eef4ff;color:#1e4fbf}.sv-link{border:0;background:none;padding:4px 0;font:inherit;font-size:13px;font-weight:700;color:var(--color-text-sub);cursor:pointer;text-decoration:underline}.sv-link.danger{color:#c62828}.sv-link:focus-visible{outline:3px solid var(--color-primary);outline-offset:2px}.sv-history{margin:8px 0 0;padding:0;list-style:none;font-size:13px}.sv-history li{display:flex;justify-content:space-between;gap:8px;padding:5px 0;border-top:1px solid var(--color-border)}.sv-history .plus{color:#137a49;font-weight:800}.sv-example{margin:6px 0 0;font-size:13px;color:var(--color-text-sub)}.sv-preview{margin:8px 0 0;padding:10px 12px;border-radius:10px;background:var(--color-gray-bg);font-size:14px;word-break:keep-all}.sv-preview b{color:#a24a00}.sv-grid{display:grid;grid-template-columns:minmax(0,1fr) 120px;gap:8px}.sv-product-head{display:flex;justify-content:space-between;align-items:flex-start;gap:8px;flex-wrap:wrap}.sv-stats{display:flex;flex-wrap:wrap;gap:4px 14px;margin-top:6px;font-size:13px;color:var(--color-text-sub)}.sv-stats b{color:var(--color-text)}.sv-off{opacity:.7}@media(max-width:560px){.sv-grid{grid-template-columns:1fr}}

.exam-note{margin:0 0 12px;padding:10px 12px;border-radius:12px;background:#f1f7ff;border:1.5px solid #b9d3f7;font-size:13.5px;word-break:keep-all}.exam-quiz-link{display:flex;align-items:center;gap:10px;width:100%;margin:0 0 14px;padding:12px 14px;border:1px solid var(--color-border);border-radius:var(--radius);background:var(--color-card);font:inherit;text-align:left;cursor:pointer}.exam-quiz-link .t{flex:1 1 auto;min-width:0;font-weight:800}.exam-quiz-link .t span{display:block;font-size:12.5px;font-weight:600;color:var(--color-text-sub);overflow-wrap:anywhere}.exam-quiz-link .go{flex:0 0 auto;font-weight:800;color:var(--color-primary)}.exam-head{display:flex;align-items:flex-start;justify-content:space-between;gap:8px}.exam-head h3{margin:0;font-size:17px;overflow-wrap:anywhere}.exam-meta{margin:4px 0 10px;font-size:13px;color:var(--color-text-sub)}.exam-badge{flex:0 0 auto;padding:3px 10px;border-radius:999px;font-size:12px;font-weight:800;white-space:nowrap}.exam-badge.open{background:#e8f6ec;color:#1f7a3a}.exam-badge.closed{background:var(--color-gray-bg);color:var(--color-text-sub)}.exam-mine{width:100%;border-collapse:collapse;font-size:14px}.exam-mine th,.exam-mine td{padding:8px 6px;border-bottom:1px solid var(--color-border);text-align:center;font-variant-numeric:tabular-nums}.exam-mine th{font-size:12.5px;color:var(--color-text-sub);font-weight:700}.exam-mine th:first-child,.exam-mine td:first-child{font-weight:700}.exam-mine tfoot td{border-bottom:0;font-weight:800}.exam-mine input{width:76px;margin:0;padding:7px 6px;text-align:center;font-size:15px}.exam-mine .avg{color:var(--color-primary);font-weight:800}.exam-mine .wait{font-size:12px;color:var(--color-text-sub);font-weight:600}.exam-foot-note{margin:8px 0 0;font-size:12.5px;color:var(--color-text-sub);word-break:keep-all}.exam-save{margin-top:12px}.exam-chips{margin:0 0 12px;flex-wrap:wrap}.exam-chips .range-btn{font-weight:700}.exam-actions{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 12px}.exam-actions .btn{width:auto}.exam-stats{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 4px}.exam-stat{display:flex;flex-direction:column;align-items:center;min-width:84px;padding:8px 12px;border-radius:12px;background:var(--color-gray-bg)}.exam-stat .k{font-size:12px;color:var(--color-text-sub)}.exam-stat .v{font-size:16px;font-weight:800;font-variant-numeric:tabular-nums}.exam-grid-wrap{overflow-x:auto;margin:0 -4px;padding:0 4px;-webkit-overflow-scrolling:touch}.exam-grid{border-collapse:separate;border-spacing:0;min-width:100%;font-size:13.5px}.exam-grid th,.exam-grid td{padding:8px 8px;border-bottom:1px solid var(--color-border);text-align:center;white-space:nowrap;font-variant-numeric:tabular-nums}.exam-grid th:first-child,.exam-grid td:first-child{position:sticky;left:0;z-index:1;background:var(--color-card);font-weight:700}.exam-grid thead th{font-size:12.5px;color:var(--color-text-sub)}.exam-grid thead button{border:0;background:none;padding:2px 4px;font:inherit;font-weight:800;color:inherit;cursor:pointer}.exam-grid thead button.on{color:var(--color-primary)}.exam-grid tbody tr{cursor:pointer}.exam-grid tbody tr:hover td{background:#f7faff}.exam-grid tbody tr:hover td:first-child{background:#f7faff}.exam-grid .none{color:var(--color-border)}.exam-grid tfoot td{border-bottom:0;font-weight:800;color:var(--color-primary)}.exam-grid tfoot td:first-child{color:var(--color-text)}.exam-grid tfoot .cnt{display:block;font-size:11px;font-weight:600;color:var(--color-text-sub)}.exam-grid .tag{margin-left:4px;padding:0 6px;border-radius:999px;background:#fff1e6;color:#a24a00;font-size:11px;font-weight:800}.exam-missing{margin:10px 0 0;font-size:13px;color:var(--color-text-sub);word-break:keep-all}.exam-subject-chips{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0 4px}.exam-subject-chips button{padding:6px 12px;border:1.5px solid var(--color-border);border-radius:999px;background:var(--color-card);font:inherit;font-size:13.5px;font-weight:700;cursor:pointer}.exam-subject-chips button[aria-pressed=true]{border-color:var(--color-primary);background:#eef4ff;color:var(--color-primary)}.exam-add-subject{display:flex;gap:6px}.exam-add-subject input{flex:1 1 auto;min-width:0;margin:0}.exam-units{display:flex;flex-direction:column;gap:6px;margin:6px 0 8px}.exam-unit-row{display:flex;align-items:center;gap:8px}.exam-unit-row .sub{flex:0 0 auto;min-width:48px;font-weight:800;font-size:14px}.exam-unit-row input{flex:1 1 auto;min-width:0;margin:0}.exam-unit-lib{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 4px 56px}.exam-unit-chip{display:inline-flex;align-items:center;border:1.5px solid var(--color-border);border-radius:999px;background:var(--color-card);overflow:hidden}.exam-unit-chip button{border:0;background:none;font:inherit;font-size:13px;font-weight:700;padding:4px 10px;cursor:pointer;color:inherit}.exam-unit-chip button.del{padding:4px 8px 4px 2px;color:var(--color-text-sub);font-size:12px}.exam-unit-chip.on{border-color:var(--color-primary);background:#eef4ff;color:var(--color-primary)}.exam-unit{display:block;font-size:12px;font-weight:600;color:var(--color-text-sub);word-break:keep-all}.exam-add-subject .btn{flex:0 0 auto;width:auto}.exam-edit-grid{display:grid;grid-template-columns:minmax(0,1fr) 96px;gap:6px 10px;align-items:center;margin-top:6px}.exam-edit-grid label{margin:0;font-weight:700}.exam-edit-grid input{margin:0;text-align:center}.exam-reward-rows{display:grid;gap:6px}.exam-reward-row{display:flex;flex-wrap:wrap;align-items:center;gap:6px;font-size:14px}.exam-reward-row input{width:84px;margin:0;text-align:center}.exam-reward-row .btn{width:auto;padding:4px 10px}.exam-reward .btn-row .btn{width:auto}.exam-reward-pay{width:100%;margin-top:10px}.exam-reward-due{font-weight:800;color:#1c7ed6;white-space:nowrap}.exam-reward-paid{font-weight:800;color:#2b8a3e;white-space:nowrap}.exam-reward-note{display:grid;gap:4px;margin:8px 0 0;padding:8px 10px;border-radius:10px;background:#fff9db;font-size:13px;line-height:1.5}.exam-edit-ico{margin-left:4px;font-size:12px;opacity:.55}tr[data-exam-student]:hover .exam-edit-ico{opacity:1}.tag.unlock{background:#e7f5ff;color:#1864ab}.exam-reward-warn{font-weight:800;color:#c92a2a;white-space:nowrap}.exam-unlock-note{margin:6px 0 8px;padding:8px 10px;border-radius:10px;background:#e7f5ff;color:#1864ab;font-size:13px;font-weight:700;word-break:keep-all}.exam-fix{display:grid;gap:8px;margin-top:12px}.exam-fix-row{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 10px;padding:8px 10px;border-radius:10px;background:#f8f9fb;font-size:13px;word-break:keep-all}.exam-fix-row.warn{background:#fff5f5}.exam-fix-row .btn{width:auto}.exam-class-avg{margin:10px 0 0;padding:8px 10px;border-radius:10px;background:#f1f3f5;font-size:13.5px;word-break:keep-all}.exam-class-avg.on{background:#fff3bf;color:#7a5200}.exam-reward-extra{font-weight:800;color:#2b8a3e;white-space:nowrap}.exam-extra-btn{width:auto;padding:2px 8px;font-size:12px;margin-left:2px}.exam-fix-row.extra{display:block}.exam-extra{display:grid;gap:6px}.exam-extra-given{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:4px 0;border-bottom:1px dashed var(--color-border)}.exam-extra-given .btn{width:auto}.exam-extra-form{display:grid;grid-template-columns:110px minmax(0,1fr) auto;gap:6px;align-items:center}.exam-extra-form input{margin:0}.exam-extra-form .btn{width:auto}@media(max-width:420px){.exam-extra-form{grid-template-columns:1fr 1fr}.exam-extra-form .btn{grid-column:1 / -1;width:100%}}.exam-reward-pair{display:grid;grid-template-columns:repeat(auto-fit,minmax(320px,1fr));gap:12px;align-items:start}.exam-reward-pair .card{margin:0}.exam-reward-pair .exam-reward-row{gap:4px;font-size:13.5px}.exam-reward-pair .exam-reward-row input{width:64px;padding-left:4px;padding-right:4px}.exam-reward-pair .exam-reward-row .btn{padding:4px 8px}.exam-reward-title{margin:0 0 6px;font-size:16px}.exam-reward-line{display:block;white-space:nowrap}.exam-reward-line .lbl{display:inline-block;min-width:28px;padding:0 4px;border-radius:6px;background:#f1f3f5;color:var(--color-text-sub);font-size:11px;font-weight:800;text-align:center}@media(max-width:420px){.exam-reward-pair{grid-template-columns:1fr}}

.game-stage{display:grid;grid-template-columns:1fr auto 1fr;grid-template-areas:"score ring next" "board board board";align-items:center;justify-items:center;gap:8px 6px;max-width:600px;margin:0 auto 14px;padding:14px 10px 12px;border-radius:22px;background:#d49a53;box-shadow:inset 0 0 0 3px rgba(138,83,23,.18)}.game-title{display:block;font-weight:900;font-size:15px;line-height:1.1;color:#fff7e0;letter-spacing:.02em;text-shadow:2px 0 0 #8a5317,-2px 0 0 #8a5317,0 2px 0 #8a5317,0 -2px 0 #8a5317,1.4px 1.4px 0 #8a5317,-1.4px 1.4px 0 #8a5317,1.4px -1.4px 0 #8a5317,-1.4px -1.4px 0 #8a5317,0 3px 2px rgba(0,0,0,.18)}.game-bubble{position:relative;width:104px;aspect-ratio:1;display:flex;flex-direction:column;align-items:center;justify-content:center;background:url(/game/bubble.webp) center/contain no-repeat}.game-bubble .game-title{position:absolute;top:-6px;left:50%;transform:translateX(-50%);white-space:nowrap}.game-score-bubble{grid-area:score}.game-score-bubble .v{font-size:26px;font-weight:900;line-height:1.1;color:#fff;font-variant-numeric:tabular-nums;text-shadow:2px 0 0 #8a5317,-2px 0 0 #8a5317,0 2px 0 #8a5317,0 -2px 0 #8a5317,1.4px 1.4px 0 #8a5317,-1.4px -1.4px 0 #8a5317,1.4px -1.4px 0 #8a5317,-1.4px 1.4px 0 #8a5317}.game-score-bubble .k{margin-top:4px;font-size:10.5px;font-weight:800;color:#f9dc8c}.game-score-bubble .b{font-size:14px;font-weight:900;color:#f9dc8c;font-variant-numeric:tabular-nums}.game-next-bubble{grid-area:next}.game-next-bubble canvas{width:56%;height:56%}.game-ring-box{grid-area:ring;display:flex;flex-direction:column;align-items:center;gap:2px}.game-ring-box img{display:block;width:96px;height:auto}.game-ring-box .game-title{font-size:12.5px}.game-stage,.game-stage *{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent}.game-stage img{-webkit-user-drag:none}.game-canvas-wrap{grid-area:board;position:relative;max-width:100%;border-radius:14px;overflow:hidden;background:#d49a53}#game-canvas{display:block;width:100%;touch-action:none;user-select:none;-webkit-user-select:none;cursor:pointer;outline:none}#game-canvas:focus-visible{box-shadow:inset 0 0 0 3px #fff7e0}.game-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(122,74,18,.28);word-break:keep-all}.game-overlay.hidden{display:none}.game-panel{display:flex;flex-direction:column;align-items:center;gap:8px;max-width:330px;padding:18px 20px;border-radius:20px;text-align:center;background:#fff4d6;border:4px solid #f5d781;box-shadow:0 8px 24px rgba(90,50,10,.28)}.game-panel h2{margin:0;font-size:24px;color:#7a4a12}.game-panel .big{font-size:40px;font-weight:900;color:#d9480f;font-variant-numeric:tabular-nums}.game-panel .new{font-size:17px;font-weight:900;color:#2b8a3e}.game-panel p{margin:0;font-size:14px;color:#7a4a12}.game-panel .btn{width:auto;min-width:180px}.game-panel .rules{font-size:13.5px;line-height:1.6}.game-chips{display:flex;flex-wrap:wrap;gap:8px;justify-content:center;margin:0 0 12px}.game-chip{display:flex;flex-direction:column;align-items:center;min-width:92px;padding:8px 12px;border-radius:12px;background:var(--color-gray-bg)}.game-chip .k{font-size:12px;color:var(--color-text-sub)}.game-chip .v{font-size:16px;font-weight:800;font-variant-numeric:tabular-nums}.game-today{margin-top:6px;font-size:13px}.game-today-row{display:grid;grid-template-columns:38px minmax(0,1fr) 56px 84px;gap:4px;align-items:center;padding:6px 2px;border-bottom:1px solid var(--color-border);text-align:center;font-variant-numeric:tabular-nums}.game-today-row:last-child{border-bottom:0}.game-today-row .nm{overflow-wrap:anywhere}.game-today-row .sc{font-weight:800}.game-today-row.head{font-size:12px;font-weight:800;color:var(--color-text-sub)}.game-today-row.me{border-radius:8px;background:#eef4ff}.game-today-row.none{color:var(--color-text-sub)}.game-rank-modes{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 8px}.game-rank-row{display:flex;align-items:center;gap:10px;padding:8px 2px;border-bottom:1px solid var(--color-border);font-size:14px}.game-rank-row:last-child{border-bottom:0}.game-rank-row .no{flex:0 0 32px;font-weight:900;text-align:center}.game-rank-row .name{flex:1 1 auto;min-width:0;font-weight:700;overflow-wrap:anywhere}.game-rank-row .score{flex:0 0 auto;font-weight:800;font-variant-numeric:tabular-nums}.game-rank-row.me{background:#eef4ff;border-radius:10px}.game-teacher-row{display:grid;grid-template-columns:minmax(0,1.6fr) repeat(4,minmax(0,1fr));gap:4px 12px;align-items:center;text-align:center;padding:8px 2px;border-bottom:1px solid var(--color-border);font-size:13.5px;font-variant-numeric:tabular-nums}.game-teacher-row.head{font-size:12px;color:var(--color-text-sub);font-weight:700}.game-teacher-row:last-child{border-bottom:0}.game-setting{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.game-setting input{width:90px;margin:0}.game-setting .btn{width:auto}.play-list{display:grid;gap:12px;max-width:560px;margin:0 auto}.play-tile{display:flex;align-items:center;gap:14px;width:100%;padding:16px 18px;border:0;border-radius:var(--radius);background:linear-gradient(135deg,#eefbe8,#c9eec0);box-shadow:0 4px 14px rgba(31,94,42,.12);font:inherit;text-align:left;color:#1f5e2a;cursor:pointer}.play-tile:focus-visible{outline:3px solid var(--color-primary);outline-offset:2px}.play-tile img{flex:0 0 auto;width:64px;height:64px}.play-tile .t{flex:1 1 auto;min-width:0;display:flex;flex-direction:column;gap:3px}.play-tile .t strong{font-size:18px}.play-tile .t span{font-size:13px;word-break:keep-all}.play-tile .s{font-weight:800}.play-tile .go{flex:0 0 auto;font-size:22px;font-weight:900}.play-more{text-align:center;font-size:12.5px;margin:4px 0 0}.play-tile-dice{background:linear-gradient(135deg,#e7f5ff,#bac8ff);color:#2b3a8f;box-shadow:0 4px 14px rgba(43,58,143,.12)}.play-emoji{flex:0 0 auto;width:64px;text-align:center;font-size:46px;line-height:64px}@media(min-width:900px){.game-stage{grid-template-columns:180px auto 180px;grid-template-rows:auto 1fr;grid-template-areas:"score board next" ". board ring";align-items:start;column-gap:16px;row-gap:14px;max-width:none;width:fit-content;padding:22px 20px 20px;border-radius:26px}.game-bubble{width:170px;margin-top:14px}.game-title{font-size:22px}.game-bubble .game-title{top:-12px}.game-score-bubble .v{font-size:42px}.game-score-bubble .k{font-size:14px;margin-top:8px}.game-score-bubble .b{font-size:20px}.game-ring-box img{width:180px}.game-ring-box .game-title{font-size:20px}}

.dice-wrap{max-width:620px;margin:0 auto}#dice-body{container-type:inline-size}.dice-levels{display:flex;flex-wrap:wrap;gap:6px;margin:8px 0}.dice-list-row{display:flex;align-items:center;gap:8px;padding:8px 2px;border-bottom:1px solid var(--color-border);font-size:14px}.dice-list-row:last-child{border-bottom:0}.dice-list-row .t{flex:1 1 auto;min-width:0;overflow-wrap:anywhere}.dice-list-row .btn{width:auto;flex:0 0 auto}.dice-turn-pill{display:inline-block;margin-left:4px;padding:1px 8px;border-radius:999px;background:#fff3c4;color:#8a5a00;font-size:12px;font-weight:800}.dice-challenge{display:flex;gap:8px;margin-top:10px}.dice-challenge select{flex:1 1 auto;min-width:0;margin:0}.dice-challenge .btn{width:auto;flex:0 0 auto}.dice-record{display:flex;gap:8px;justify-content:center}.dice-record div{flex:1 1 0;min-width:0;max-width:96px;padding:8px 10px;border-radius:12px;background:var(--color-gray-bg);text-align:center}.dice-record b{display:block;font-size:20px}.dice-record .rate b{color:#1971c2}.dice-recent-title{display:none;font-size:13px;font-weight:800;color:var(--color-text-secondary,#666)}.dice-rules{font-size:13.5px;line-height:1.7;word-break:keep-all}.dice-standings{margin-top:6px;font-size:13px}.dice-st-row{display:grid;grid-template-columns:34px minmax(0,1fr) 28px 76px 48px 44px;gap:4px;align-items:center;padding:6px 2px;border-bottom:1px solid var(--color-border);text-align:center;font-variant-numeric:tabular-nums}.dice-st-row:last-child{border-bottom:0}.dice-st-row .nm{overflow-wrap:anywhere}.dice-st-row.head{font-size:12px;font-weight:800;color:var(--color-text-sub)}.dice-st-row.me{border-radius:8px;background:#eef4ff}.dice-st-row.none{color:var(--color-text-sub)}.dice-st-row .rec{white-space:nowrap;font-size:12.5px}.dice-st-row .sc{font-weight:800}@media(max-width:420px){.dice-st-row{grid-template-columns:26px minmax(0,1fr) 22px 62px 40px 36px;gap:3px;font-size:12px}.dice-st-row .rec{font-size:11.5px}}.dice-week{display:grid;gap:4px;margin:8px 0 2px}.dice-week-row{display:grid;grid-template-columns:40px minmax(0,1fr) auto auto auto;align-items:center;gap:4px 8px;padding:6px 8px;border-radius:10px;background:#f8f9fb;font-size:13px}.dice-week-row.me{background:#eef4ff}.dice-week-row .rk{font-weight:800;text-align:center}.dice-week-row .nm{font-weight:700;overflow-wrap:anywhere}.dice-week-row .st{color:var(--color-text-sub);font-size:12px;white-space:nowrap}.dice-week-row .sc{font-weight:800;white-space:nowrap}.dice-week-row .prize{padding:2px 8px;border-radius:999px;background:#fff3bf;color:#8a5a00;font-size:12px;font-weight:800;white-space:nowrap}@media(max-width:420px){.dice-week-row{grid-template-columns:34px minmax(0,1fr) auto auto}.dice-week-row .st{grid-column:2 / -1;grid-row:2}}.dice-rank-lead{margin:0 0 12px;padding:8px 10px;border-radius:10px;background:#fff7e6;border:1px solid #ffe2a8;font-size:13px;line-height:1.5;color:var(--color-text);word-break:keep-all}.dice-rank-note{margin:10px 0 0;padding:8px 10px;border-radius:10px;background:#f8f9fb;font-size:12.5px;line-height:1.55;color:var(--color-text-sub);word-break:keep-all}.dice-rules summary{cursor:pointer;font-weight:800}.dice-rules ul{margin:6px 0 0;padding-left:20px}.dice-game{max-width:720px;--die:min(68px, calc((min(100vw, 744px) - 200px) / 6))}.dice-table,.dice-table *{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent}.dice-table img{-webkit-user-drag:none}.dice-table :is(input,textarea),.dice-table :is(input,textarea) *{-webkit-user-select:text;user-select:text;-webkit-touch-callout:default}.dice-timer{display:flex;align-items:center;gap:10px;margin:8px 0 0;padding:6px 10px;border-radius:12px;background:#fff8e1;font-size:13.5px;font-weight:800;color:#8a5a00;font-variant-numeric:tabular-nums}.dice-timer .t{flex:0 0 auto;white-space:nowrap}.dice-timer .bar{flex:1 1 auto;height:8px;border-radius:999px;background:#ffe08a;overflow:hidden}.dice-timer .bar i{display:block;height:100%;width:100%;border-radius:999px;background:#f59f00;transition:width .2s linear}.dice-timer.warn{background:#fff0f0;color:#c92a2a}.dice-timer.warn .bar{background:#ffc9c9}.dice-timer.warn .bar i{background:#e03131}.dice-tour-lb{margin-top:12px;padding:10px 10px 4px;border-radius:14px;background:#f1f3f5;border:1px dashed #ced4da}.dice-tour-lb>.dice-tour-round:first-child{margin-top:0}.dice-table{display:grid;grid-template-columns:1fr auto 1fr;grid-template-areas:"me vs opp" "board board board";gap:6px;align-items:end}.dice-name{min-width:0;display:flex;align-items:flex-end;gap:8px;font-size:14px;line-height:1.3}.dice-name-t{min-width:0}.dice-name b{display:block;font-weight:800;overflow-wrap:anywhere}.dice-name.me{grid-area:me}.dice-name.opp{grid-area:opp;flex-direction:row-reverse;text-align:right}.dice-av{flex:0 0 auto;width:44px;height:58px;display:flex;align-items:flex-end;justify-content:center}.dice-av img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 2px 2px rgba(0,0,0,.2))}.dice-av.robot{align-items:center;font-size:32px}.dice-name.turn b{color:var(--color-primary)}.dice-name .rr{display:block;font-size:11.5px;font-weight:600;color:var(--color-text-sub)}.dice-vs{grid-area:vs;font-size:13px;font-weight:800;padding-bottom:4px}.dice-board{grid-area:board;display:flex;flex-direction:column;gap:8px;padding:10px;border-radius:18px;background:#2f6b4f;box-shadow:inset 0 0 0 4px #24553e}.dice-row{display:grid;grid-template-columns:1fr 64px 1fr;gap:6px;align-items:center}.dice-cells{display:flex;gap:6px;justify-content:center;align-items:center;padding:8px;border-radius:14px;background:rgba(255,255,255,.12);min-height:calc(var(--die) + 16px);box-sizing:border-box;position:relative;transition:background .2s}.dice-cells.mine{flex-direction:row-reverse}.dice-cells.theirs{flex-direction:row}.dice-cells.target{background:rgba(255,236,153,.35);box-shadow:0 0 0 2px #ffe066;cursor:pointer;animation:diceGlow 1.2s ease-in-out infinite}.dice-cells.hit{animation:diceHit .5s ease-out .34s}.dice-combo{position:absolute;bottom:-7px;left:50%;transform:translateX(-50%);z-index:1;padding:0 6px;border-radius:999px;background:#fab005;color:#3b2a00;font-size:10.5px;font-weight:900;line-height:14px;white-space:nowrap;pointer-events:none}.dice-combo.c5{background:#ff6b6b;color:#fff}.dice-mid{text-align:center;color:#fff;font-size:12px;line-height:1.25}.dice-mid .tag{display:block;font-size:11px;opacity:.85}.dice-mid .nm-v{display:none}.dice-mid .vs{display:flex;justify-content:center;gap:6px;align-items:baseline}.dice-mid .vs b{font-size:19px;font-variant-numeric:tabular-nums}.dice-mid .vs b.win{color:#ffe066}.die{width:var(--die);height:var(--die);flex:0 0 auto;display:grid;grid-template-columns:repeat(3,1fr);grid-template-rows:repeat(3,1fr);padding:calc(var(--die) * .13);border-radius:calc(var(--die) * .2);background:#fff;border:2px solid #343a40;position:relative;box-sizing:border-box}.die i{width:calc(var(--die) * .15);height:calc(var(--die) * .15);border-radius:50%;place-self:center;background:transparent}.die i.on{background:#212529}.die.shield{background:#d0ebff;border-color:#1c7ed6}.die.shield i.on{background:#1864ab}.die.shield::after{content:"🛡";position:absolute;right:calc(var(--die) * -.12);top:calc(var(--die) * -.16);font-size:calc(var(--die) * .26)}.die.empty{background:transparent;border:2px dashed rgba(255,255,255,.35)}.die.empty.knock{border-color:#ff8787;background:rgba(250,82,82,.3);animation:diceKnockPulse 1.1s ease-in-out infinite}.die.empty.knock::before{content:"💥";position:absolute;left:0;right:0;top:10%;text-align:center;font-size:calc(var(--die) * .36);line-height:1}.die.empty.knock::after{content:"알까기";position:absolute;left:0;right:0;bottom:9%;text-align:center;font-size:max(10px,calc(var(--die) * .2));font-weight:900;line-height:1;color:#fff;text-shadow:0 1px 2px rgba(0,0,0,.55);white-space:nowrap}.dice-fx{position:fixed;inset:0;pointer-events:none;z-index:9000;overflow:hidden}.dice-fx .die{box-shadow:0 6px 14px rgba(0,0,0,.35)}.dice-fx-boom{position:fixed;transform:translate(-50%,-50%);padding:4px 12px;border-radius:999px;background:#fa5252;color:#fff;font-size:18px;font-weight:900;white-space:nowrap;box-shadow:0 4px 14px rgba(250,82,82,.45)}.die.combo2{box-shadow:0 0 0 3px #fab005}.die.combo3{box-shadow:0 0 0 3px #ff6b6b}.die.fresh{animation:diePop .45s ease-out}.die.pick{cursor:pointer;opacity:.55}.die.pick.on{opacity:1;box-shadow:0 0 0 4px var(--color-primary)}.dice-panel{display:flex;align-items:center;gap:12px;margin-top:8px;padding:8px 12px;border-radius:14px;background:var(--color-card);border:1px solid var(--color-border)}.dice-panel-die{flex:0 0 auto;display:flex;gap:6px}.dice-panel-body{flex:1 1 auto;min-width:0}.dice-status{font-size:14.5px;font-weight:800;word-break:keep-all}.dice-note{font-size:12.5px;color:var(--color-text-sub);margin:2px 0 0;word-break:keep-all}.dice-btns{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}.dice-btns .btn{width:auto}.dice-result{margin-top:8px;padding:10px 12px;border-radius:14px;background:#fff8e3;border:2px solid #e9c98a;text-align:center}.dice-result h2{margin:0 0 2px;font-size:20px;color:#7a4a12}.dice-result .rows{font-size:13.5px;color:#7a4a12;margin:2px 0 8px}.dice-result .dice-btns{justify-content:center}.dice-roll-slot{display:flex;flex-direction:column;align-items:center;gap:2px;margin-left:auto;padding:4px 6px 3px;border-radius:12px;border:2px dashed transparent}.dice-name.opp .dice-roll-slot{margin-left:0;margin-right:auto}.dice-roll-slot.active{border-color:#ffd43b;background:rgba(255,212,59,.18)}.dice-roll-dice{display:flex;gap:6px}.dice-roll-slot .die.empty{opacity:.35}.dice-roll-cap{font-size:10.5px;font-weight:800;color:var(--color-text-sub);white-space:nowrap}.dice-roll-slot.active .dice-roll-cap{color:#8a5a00}.die.tumble{animation:diceTumble .55s cubic-bezier(.2,.8,.3,1.15)}@keyframes diceTumble{0%{transform:translateY(-16px) rotate(-280deg) scale(.7)}55%{transform:translateY(4px) rotate(24deg) scale(1.08)}80%{transform:rotate(-6deg)}100%{transform:none}}@media(max-width:560px){.dice-game{--die:clamp(40px, min(calc((100vh - 430px) / 6), calc((100vw - 110px) / 3)), 60px)}.dice-table{grid-template-columns:1fr;grid-template-areas:"opp" "board" "me";row-gap:4px}.dice-vs{display:none}.dice-name{align-items:center;gap:6px;font-size:13.5px}.dice-name b,.dice-name .rr{display:inline}.dice-name .rr{margin-left:6px}.dice-name.opp{flex-direction:row;text-align:left}.dice-name.opp .dice-roll-slot{margin-left:auto;margin-right:0}.dice-roll-cap{display:none}.dice-av{width:28px;height:37px}.dice-av.robot{font-size:22px}.dice-board{flex-direction:row;gap:6px;padding:8px}.dice-row{display:flex;flex-direction:column-reverse;flex:1 1 0;min-width:0;gap:4px}.dice-cells{padding:6px 4px;gap:4px;min-height:0}.dice-cells.mine{flex-direction:column}.dice-cells.theirs{flex-direction:column-reverse}.dice-mid{padding:2px 0}.dice-mid .nm-h{display:none}.dice-mid .nm-v{display:block}.dice-mid .vs{flex-direction:column-reverse;gap:0}.dice-mid .vs b{font-size:16px;line-height:1.15}.dice-panel{gap:10px;padding:8px 10px}.dice-status{font-size:14px}.dice-note{font-size:12px}.dice-btns{gap:4px;margin-top:4px}.dice-btns .btn{padding:5px 9px;font-size:12.5px;min-height:0}}@container (min-width: 600px){.dice-av{width:72px;height:96px}.dice-av.robot{font-size:50px}.dice-name{font-size:15.5px}}@container (min-width: 900px){.dice-lobby{max-width:1040px;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));column-gap:14px;align-items:start}.dice-lobby>.dice-standings-card,.dice-lobby>.dice-rules{grid-column:1 / -1}.dice-lobby>.dice-top-full{grid-column:1 / -1}.dice-lobby>.dice-top-left{grid-column:1;align-self:stretch;display:flex;flex-direction:column}.dice-lobby>.dice-top-left>.btn:last-child{margin-top:auto}.dice-lobby>.dice-pair-fit{align-self:stretch;height:0;min-height:calc(100% - 16px);display:grid;grid-template-columns:auto minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);column-gap:16px;overflow:hidden}.dice-pair-fit>h3{grid-column:1 / -1}.dice-pair-fit .dice-record{display:grid;grid-template-columns:repeat(2,68px);gap:6px;align-content:start}.dice-pair-fit .dice-record div{max-width:none;padding:6px 4px}.dice-pair-fit .dice-record b{font-size:17px}.dice-pair-fit .dice-recent{min-height:0;overflow-y:auto}.dice-pair-fit .dice-list-row{padding:2px;font-size:13px;line-height:1.35}.dice-pair-fit .dice-list-row .t{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.dice-lobby>.dice-record-wide{grid-column:1 / -1;display:grid;grid-template-columns:auto minmax(0,1fr);column-gap:28px;align-items:start}.dice-record-wide>h3{grid-column:1 / -1}.dice-record-wide .dice-record{justify-content:flex-start}.dice-record-wide .dice-record div{flex:0 0 auto;min-width:84px;max-width:none}.dice-record-wide .dice-recent{display:grid;grid-template-columns:repeat(auto-fill,minmax(190px,1fr));gap:8px}.dice-record-wide .dice-recent-title{display:block;grid-column:1 / -1}.dice-record-wide .dice-list-row,.dice-record-wide .dice-list-row:last-child{padding:9px 12px;border:1px solid var(--color-border);border-radius:12px;background:var(--color-card)}.dice-lobby>.dice-tour-side{grid-column:2;grid-row:var(--row0,1) / span var(--rows,1);align-self:stretch;display:flex;flex-direction:column}.dice-tour-side>.dice-tour-podium{flex:1 1 auto;display:flex;flex-direction:column}.dice-tour-side>.dice-tour-podium>.podium{width:100%;margin-top:auto;margin-bottom:auto}.dice-game{max-width:1080px;--die:min(68px, calc((100cqw - 524px) / 6))}.dice-table{grid-template-columns:170px minmax(0,1fr) 170px;grid-template-areas:"me board opp";column-gap:16px;align-items:center}.dice-vs{display:none}.dice-name,.dice-name.opp{flex-direction:column;align-items:center;justify-content:center;gap:8px;text-align:center}.dice-av{width:160px;height:213px}.dice-av.robot{height:160px;font-size:110px}.dice-name b{font-size:17px}.dice-roll-slot,.dice-name.opp .dice-roll-slot{margin:4px 0 0}}@supports (height:100svh){@media(max-width:560px){.dice-game{--die:clamp(40px, min(calc((100svh - 430px) / 6), calc((100vw - 110px) / 3)), 60px)}}}@keyframes diceKnockPulse{0%,100%{transform:scale(1)}50%{transform:scale(1.07)}}@keyframes diceGlow{0%,100%{box-shadow:0 0 0 2px #ffe066}50%{box-shadow:0 0 0 4px #ffe066}}@keyframes diceHit{0%{transform:translateX(0)}25%{transform:translateX(-6px)}50%{transform:translateX(6px)}75%{transform:translateX(-3px)}100%{transform:translateX(0)}}@keyframes diePop{0%{transform:scale(.3);opacity:0}70%{transform:scale(1.15);opacity:1}100%{transform:scale(1)}}@keyframes diceRoll{0%{transform:rotate(-200deg) scale(.5)}100%{transform:rotate(0) scale(1)}}@media(prefers-reduced-motion:reduce){.dice-cells.target{animation:none}}.dice-continue{margin:8px 0 4px;padding:10px;border-radius:12px;background:#fff8e6;border:1.5px dashed #f0b429}.dice-continue .dice-note{margin:0 0 6px}.dice-note.strong{font-weight:800;color:#c2410c;word-break:keep-all}.dice-continue .dice-btns{justify-content:center;flex-wrap:wrap}.dice-pop .dice-continue{margin:0 0 12px}.dice-pop{text-align:center}.dice-pop.win{background:linear-gradient(180deg,#fff4d6,#fff 55%)}.dice-pop .big{font-size:60px;line-height:1.1;margin:2px 0 4px;animation:dicePopIn .55s ease-out}.dice-pop h3{margin:0 0 4px;font-size:28px;font-weight:900}.dice-pop.win h3{color:#e8590c}.dice-pop.lose h3{color:#495057}.dice-pop .why{margin:0 0 12px;color:var(--color-text-sub);font-size:14.5px;font-weight:700;word-break:keep-all}.dice-pop .score{display:flex;justify-content:center;gap:10px;margin:0 0 14px}.dice-pop .score div{flex:0 1 130px;padding:8px 6px;border-radius:12px;background:var(--color-gray-bg)}.dice-pop .score span{display:block;font-size:12px;font-weight:700;color:var(--color-text-sub)}.dice-pop .score b{font-size:21px;font-variant-numeric:tabular-nums}.dice-pop .btn-row{flex-wrap:wrap;justify-content:center;gap:8px}@keyframes dicePopIn{0%{transform:scale(.3);opacity:0}70%{transform:scale(1.2);opacity:1}100%{transform:scale(1)}}.home-tour{padding:16px;border:2px solid #f2c94c;background:linear-gradient(180deg,#fffbea,#fff 60%)}.dice-tour-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 10px}.dice-tour-head h3{margin:0;font-size:18px;word-break:keep-all}.dice-tour.big .dice-tour-head h3{font-size:21px}.dice-tour-pill{padding:3px 10px;border-radius:999px;background:#f1f3f5;font-size:12.5px;font-weight:800;color:var(--color-text-sub);white-space:nowrap}.dice-tour-pill.live{background:#ffe3e3;color:#c92a2a}.dice-tour-sub{margin:4px 0 8px;font-size:12.5px}.dice-tour-me{margin:6px 0;padding:8px 10px;border-radius:10px;background:#e7f5ff;color:#1864ab;font-weight:700;font-size:13.5px;word-break:keep-all}.dice-tour-go{width:100%;margin:6px 0;font-size:16px;padding:12px}.dice-tour-ctl{margin:8px 0 4px;flex-wrap:wrap}.dice-tour-ctl .btn{width:auto}.dice-tour-note{margin:4px 0 0;font-size:12px;word-break:keep-all}.dice-tour-round{margin:10px 0 6px;font-size:14px}.dice-tour-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:8px}.dice-tour.big .dice-tour-grid{grid-template-columns:repeat(auto-fill,minmax(230px,1fr))}.dice-tour-match{display:flex;flex-direction:column;gap:4px;padding:10px;border:1.5px solid var(--color-border);border-radius:12px;background:var(--color-surface,#fff);min-width:0}.dice-tour-match.mine{border-color:var(--color-primary);box-shadow:0 0 0 2px rgba(49,130,246,.15)}.dice-tour-match.live{background:#fff9db}.dice-tour-match.done{background:#f8f9fa}.dice-tour-match.bye{border-style:dashed}.dice-tour-match .vs-line{display:flex;align-items:center;gap:6px;flex-wrap:wrap;font-size:15px}.dice-tour-match .vs{font-size:11px;font-weight:800;color:var(--color-text-sub)}.dice-tour-match .vs.score{font-size:15px;color:var(--color-text);padding:0 4px;border-radius:6px;background:#fff3bf}.dice-tour-format{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin:4px 0 6px}.dice-tour-format .lbl{font-size:13px;font-weight:800;color:var(--color-text-sub)}.dice-tour-score{margin-left:4px;padding:0 6px;border-radius:6px;background:#fff;white-space:nowrap}.tour-format-pick{position:relative;cursor:pointer}.dice-tour-match .pl{font-weight:800;word-break:keep-all}.dice-tour-match .pl.me{color:var(--color-primary)}.dice-tour-match .pl.win{color:#b7791f}.dice-tour-match .pl.lose{color:var(--color-text-sub);text-decoration:line-through;font-weight:600}.dice-tour-match .st{font-size:12px;color:var(--color-text-sub)}.dice-tour-match .st.live{color:#c92a2a;font-weight:800}.dice-tour-match .acts{display:flex;flex-wrap:wrap;gap:6px}.dice-tour-match .acts .btn{width:auto}.dice-tour-result{display:grid;gap:4px;margin:6px 0;padding:10px 12px;border-radius:12px;background:#fff3bf;font-size:15px}.dice-tour-result .gold{font-size:18px}.dice-tour-history{margin-top:10px}.dice-tour-history summary{cursor:pointer;font-weight:700;font-size:13.5px}.dice-tour-past{margin-top:8px}.dice-tour-past strong{display:block;margin-bottom:4px;font-size:13px}.dice-tour-strip{margin:0 0 8px;padding:6px 10px;border-radius:10px;background:#fff3bf;font-weight:800;font-size:13.5px;text-align:center;word-break:keep-all}.dice-tour-strip.watch{background:#e7f5ff;color:#1864ab;border:2px solid #74c0fc}.dice-watch-note{margin-top:2px;font-size:14px}.dice-watch-go{margin-top:6px}.dice-watch-go .btn{width:auto}.dice-tour-match .mine-tag{align-self:flex-start;padding:1px 8px;border-radius:999px;background:var(--color-primary);color:#fff;font-size:11.5px;font-weight:800}.tour-pick-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:10px 0 4px}.tour-pick-head .btn{width:auto}.tour-pick{display:grid;grid-template-columns:repeat(auto-fill,minmax(110px,1fr));gap:4px 8px;max-height:220px;overflow:auto;padding:8px;border:1px solid var(--color-border);border-radius:10px}.tour-pick-item{display:flex;align-items:center;gap:6px;margin:0;font-weight:600;font-size:14px}.tour-pick-item input{width:auto;margin:0}.tour-admin-join{display:flex;align-items:flex-start;gap:10px;margin:12px 0;padding:12px;border:1px solid #b6c9ef;background:#eef5ff;border-radius:12px}.tour-admin-join input{width:20px;min-height:20px;margin:2px 0 0;flex-shrink:0}.tour-admin-join small{display:block;margin-top:4px;font-size:12px;line-height:1.6;color:#50688b}.tour-rewards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:6px 10px}.tour-rewards label{margin:0;font-size:13px}@media(max-width:420px){.dice-tour-grid,.dice-tour.big .dice-tour-grid{grid-template-columns:1fr}}.dice-tour-podium-head{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:0 0 8px}.dice-tour-podium-head h3{margin:0;font-size:16px}.dice-tour-podium-head .btn{width:auto;margin:0;flex:0 0 auto}.dice-tour-podium-pick{width:100%;padding:8px 10px;border:1px solid var(--color-border);border-radius:10px;background:var(--color-card);color:inherit;font:inherit;font-size:14px}.dice-tour-podium-name{margin:0;font-size:13px}.dice-hist-box{max-width:680px;max-height:88vh;overflow:auto}.dice-hist-list{display:flex;flex-direction:column;gap:8px}.dice-hist-row{display:flex;flex-direction:column;gap:3px;width:100%;padding:10px 12px;border:1px solid var(--color-border);border-radius:12px;background:var(--color-gray-bg);font:inherit;text-align:left;cursor:pointer;color:inherit}.dice-hist-row:hover{border-color:#f08c00}.dice-hist-row .top{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px}.dice-hist-row .top small{color:var(--color-text-sub);font-size:12.5px}.dice-hist-row .res{font-size:13.5px;word-break:keep-all}.dice-hist-row .mine{font-size:13px;font-weight:700;color:#e67700}

.ten-play{position:fixed;inset:0;z-index:50;display:flex;flex-direction:column;gap:6px;padding:max(8px,env(safe-area-inset-top)) 10px max(8px,env(safe-area-inset-bottom));background:#f7f8fd}.ten-play>*{width:100%;max-width:640px;margin-left:auto;margin-right:auto}.ten-play.wide>*{max-width:1180px}html.ten-full #top-bar,html.ten-full #app-shell-sidebar,html.ten-full #app-shell-location,html.ten-full #app-shell-subnav,html.ten-full #app-shell-mobile,html.ten-full .bottom-nav,html.ten-full .mobile-menu{display:none!important}.ten-stage{flex:1 1 auto;min-height:0;display:flex;align-items:center;justify-content:center;container-type:size}.ten-hud{display:grid;grid-template-columns:1fr auto 1fr;gap:8px;align-items:stretch}.ten-hud>div{display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:0;padding:6px 8px;border-radius:12px;background:#eef1fb;color:#27315c}.ten-hud small{max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:12px;color:#5a6488}.ten-hud b{font-size:22px;line-height:1.15;font-variant-numeric:tabular-nums}.ten-hud .time{min-width:84px;background:#27315c;color:#fff}.ten-hud .time small{color:#c9d2f2}.ten-hud .time.low{background:#c92a2a}.ten-sum{display:flex;align-items:center;justify-content:center;gap:8px;min-height:24px;font-size:14px;font-weight:700;color:#27315c}.ten-sum .pill{padding:1px 12px;border-radius:999px;background:#eef1fb}.ten-sum .pill.ok{background:#2f9e44;color:#fff}.ten-sum .pill.over{background:#c92a2a;color:#fff}.ten-board{position:relative;box-sizing:border-box;width:min(100cqw,calc(100cqh * 10 / 17.3));display:grid;grid-template-columns:repeat(10,1fr);gap:2px;padding:5px;border-radius:14px;background:#1f2a52;touch-action:none;user-select:none;-webkit-user-select:none;-webkit-touch-callout:none;cursor:pointer}.ten-play,.ten-play *{-webkit-tap-highlight-color:transparent}.ten-board:focus,.ten-cell:focus{outline:none}.ten-board.wide{grid-template-columns:repeat(17,1fr);width:min(100cqw,calc(100cqh * 17 / 10.3))}.ten-cell{position:relative;display:flex;align-items:center;justify-content:center;aspect-ratio:1;border-radius:6px;background:var(--ten-tile,#f6f4ff);color:#27315c;font-size:clamp(13px,3.3cqh,24px);font-weight:800;line-height:1}.ten-board.wide .ten-cell{font-size:clamp(13px,min(5.4cqh,2.8cqw),28px)}.ten-cell.star{background:#ffd43b;color:#5c3d00}.ten-cell.star::after{content:"★";position:absolute;top:0;right:2px;font-size:9px;color:#b35c00}.ten-cell.gone{background:transparent;color:transparent}.ten-cell.gone::after{content:none}.ten-cell.sel{box-shadow:inset 0 0 0 2px #4dabf7;background:#d0ebff}.ten-cell.star.sel{background:#ffe066}.ten-cell.gone.sel{background:rgba(77,171,247,.28);box-shadow:none}.ten-board.ok .ten-cell.sel{box-shadow:inset 0 0 0 2px #2f9e44;background:#b2f2bb}.ten-board.ok .ten-cell.gone.sel{background:rgba(47,158,68,.3);box-shadow:none}.ten-board.bad .ten-cell.sel{box-shadow:inset 0 0 0 2px #e03131;background:#ffc9c9}.ten-board.bad .ten-cell.gone.sel{background:rgba(224,49,49,.3);box-shadow:none}.ten-cover{position:absolute;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:16px;border-radius:14px;background:#1f2a52;color:#fff;text-align:center;font-weight:700}.ten-cover b{font-size:56px;line-height:1}.ten-foot{display:flex;flex-wrap:wrap;gap:6px;justify-content:center}.ten-result .ten-foot{margin-top:8px}.ten-foot .btn{width:auto}.ten-result{text-align:center}.ten-result h2{margin:0 0 6px;font-size:24px}.ten-score{display:flex;justify-content:center;gap:18px;margin:10px 0;font-size:15px}.ten-score>div{padding:6px 14px;border-radius:12px}.ten-score b{display:block;font-size:30px;font-variant-numeric:tabular-nums}.ten-rules{margin:0;padding-left:20px;font-size:14px;line-height:1.7}.play-tile-ten{background:linear-gradient(135deg,#e6f6ff,#c3d9ff);color:#1f2a52;box-shadow:0 4px 14px rgba(31,42,82,.12)}

:root{--tower-wall:url(/tower/fx-wall.webp)}.tower-layout{display:grid;grid-template-columns:minmax(240px,300px) minmax(0,1fr);gap:16px;align-items:start}.tower-main{min-width:0;margin:0}.tower-side{display:flex;flex-direction:column;gap:10px;padding:14px;border-radius:18px;color:#f1efff;background:linear-gradient(180deg,#25215a 0%,#14122f 100%);box-shadow:0 8px 24px #1412302e}.tower-floorbar{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:6px}.tower-grade{justify-self:start;padding:3px 10px;border-radius:999px;font-size:12.5px;font-weight:800;white-space:nowrap;background:#ffffff24}.tower-grade.g-common{background:#8b90a3;color:#fff}.tower-grade.g-rare{background:#3f74ff;color:#fff}.tower-grade.g-epic{background:#8f5cf7;color:#fff}.tower-grade.g-legend{background:#f0a31f;color:#2d1a00}.tower-floorno{font-size:30px;line-height:1.1;font-weight:900;font-variant-numeric:tabular-nums;white-space:nowrap}.tower-stage{justify-self:end;font-size:12.5px;color:#cfcbf2;white-space:nowrap}.tower-gauge{height:8px;border-radius:999px;background:#ffffff1f;overflow:hidden}.tower-gauge i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,#7c6bff,#ffcf5c)}.tower-scene{position:relative;height:230px;border-radius:14px;overflow:hidden;background:#1a1840 center bottom/cover no-repeat}.tower-scene.z1{background-image:url(/tower/scene-1.webp)}.tower-scene.z2{background-image:url(/tower/scene-2.webp)}.tower-scene.z3{background-image:url(/tower/scene-3.webp)}.tower-scene.z4{background-image:url(/tower/scene-4.webp)}.tower-banner{margin-bottom:12px;border-radius:18px;overflow:hidden;background:#14122f;box-shadow:0 8px 24px #1412302e}.tower-banner img{display:block;width:100%;height:clamp(150px,24vw,260px);object-fit:cover;object-position:50% 32%}.tower-tile-icon{display:block;flex:0 0 64px;width:64px;height:64px;object-fit:contain}.tower-title-icon{width:30px;height:30px;vertical-align:-6px;object-fit:contain}.tower-hero{position:absolute;z-index:1;left:50%;bottom:8px;height:196px;max-width:94%;transform:translateX(-50%);object-fit:contain;object-position:50% 100%;filter:drop-shadow(0 6px 8px #0009)}.tower-hero.none{display:flex;align-items:flex-end;justify-content:center;height:auto;font-size:96px;line-height:1}.tower-tags{display:flex;flex-wrap:wrap;gap:6px}.tower-tags:empty{display:none}.tower-tag{padding:3px 9px;border-radius:999px;font-size:12px;font-weight:800;color:#2c1a00;background:#ffcf5c}.tower-tag.rocket{background:#ff8a5c}.tower-slots{list-style:none;margin:0;padding:0;display:grid;gap:6px}.tower-slot{display:flex;align-items:center;justify-content:center;gap:6px;min-height:34px;padding:0 6px;border-radius:10px;border:1.5px dashed #ffffff38;color:#aaa7d6;font-size:13px;font-weight:800;font-variant-numeric:tabular-nums;white-space:nowrap}.tower-slot b{font-size:14px;font-weight:900}.tower-slot span{font-size:12px;font-weight:700;opacity:.9}.tower-slot.done{border:0;color:#fff;background:#ffffff1f}.tower-slot.done.t2{background:#6c5ce7a6}.tower-slot.done.t3{color:#2c1200;background:linear-gradient(90deg,#ff7a3d,#ffc05c)}.tower-slot.done.up{background:#2bb6a380}.tower-slot.done.now{position:relative;overflow:hidden;outline:3px solid #ffe15a;outline-offset:-3px;box-shadow:0 0 0 2px #ffe15a55,0 0 16px 4px #ffcf5cb3}.tower-scene.now{outline:4px solid #ffe15a;outline-offset:-4px;box-shadow:0 0 0 2px #ffe15a55,0 0 20px 5px #ffcf5cb3}.tower-slot.done.now::after,.tower-scene.now::after{content:"";position:absolute;z-index:3;top:-20%;bottom:-20%;left:-60%;width:45%;background:linear-gradient(100deg,#fff0 0,#ffffffb3 50%,#fff0 100%);transform:skewX(-20deg);pointer-events:none;animation:tower-shine 2.2s ease-in-out infinite}@keyframes tower-shine{0%{left:-60%}55%,100%{left:125%}}@media(prefers-reduced-motion:reduce){.tower-slot.done.now::after,.tower-scene.now::after{display:none}}.tower-note{margin:0;font-size:12.5px;color:#cfcbf2;text-align:center}.tower-preview-bar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin-bottom:12px;padding:10px 14px;border-radius:12px;font-size:14px;font-weight:700;color:#5b2bb8;background:#f1e8ff}#tower-body.tower-busy button{pointer-events:none}.tower-hero-bar{display:flex;gap:8px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-bottom:12px;padding:10px 12px;border:1px solid var(--color-border);border-radius:14px;font-weight:700}.tower-hero-bar .btn{width:auto;margin:0}#app.app-shell-active .tower-hero-bar .btn{min-height:0;height:32px;padding:0 12px;line-height:30px}.tower-hero-cards{display:grid;grid-template-columns:repeat(auto-fill,minmax(92px,1fr));gap:8px;max-height:340px;overflow-y:auto;padding:2px}.tower-hero-card{display:flex;flex-direction:column;align-items:center;gap:4px;padding:6px 4px;border:2px solid var(--color-border);border-radius:12px;background:var(--color-card);color:var(--color-text);font:inherit;font-size:12px;cursor:pointer}.tower-hero-card img{width:100%;aspect-ratio:3/4;object-fit:contain}.tower-hero-card span{word-break:keep-all;line-height:1.3;text-align:center}.tower-hero-card.on{border-color:var(--color-primary)}.tower-hero-poses{display:flex;flex-wrap:wrap;gap:6px}.tower-hero-poses .range-btn{flex:0 0 auto}.tower-hero-actions{display:flex;flex-wrap:wrap;gap:8px;margin-top:14px}.tower-hero-actions .btn{width:auto;margin:0}.tower-keys{display:grid;grid-template-columns:repeat(4,1fr);gap:10px}.tower-key{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:0;padding:14px 8px;border-radius:14px;border:2px solid #c5cad6;background:#f5f6fa;text-align:center}.tower-key.g-rare{border-color:#4a7dff;background:#eef3ff}.tower-key.g-epic{border-color:#8f5cf7;background:#f5efff}.tower-key.g-legend{border-color:#e89a1c;background:#fff6e4}.tower-key .ico{display:block;width:68px;height:68px;object-fit:contain}.tower-key b{font-size:15px}.tower-key .n{font-size:24px;font-weight:900;line-height:1.1;font-variant-numeric:tabular-nums}.tower-key small{font-size:12px;color:var(--color-text-sub);word-break:keep-all}.tower-key .btn{width:100%;margin:6px 0 0;padding:9px 6px}.tower-rules{margin-top:14px;font-size:14px;line-height:1.6}.tower-rules summary{cursor:pointer;font-weight:800}.tower-rules ul{margin:8px 0 0;padding-left:20px}.tower-history{margin-top:14px}.tower-history h4{margin:0 0 6px;font-size:14px}.tower-history li{font-size:13.5px;line-height:1.6}.tower-history ul{margin:0;padding-left:18px}.tower-ask{margin:16px 0 10px;text-align:center;font-size:16px;font-weight:800}.tower-pits{display:grid;grid-template-columns:repeat(2,1fr);gap:12px}.tower-pits.n3{grid-template-columns:1fr 1.25fr 1fr}.tower-pit{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;min-height:128px;padding:14px 8px;border:0;border-radius:16px;font:inherit;font-size:16px;font-weight:800;color:#fff;cursor:pointer;background:linear-gradient(180deg,#2d2963,#171536);transition:transform .12s}.tower-pit:active{transform:scale(.97)}.tower-pit .hole{display:block;width:96px;height:96px;object-fit:contain}.tower-pit.big{background:linear-gradient(180deg,#6a2436,#2a0f1c)}.tower-pit.big .hole{width:118px;height:118px}.tower-pit small{font-size:12px;font-weight:600;opacity:.88;word-break:keep-all}.tower-stagebox{display:flex;flex-direction:column;align-items:center;gap:12px;padding:26px 16px;border-radius:16px;text-align:center;color:#f4f2ff;background:radial-gradient(circle at 50% 30%,#3a3488 0%,#15132f 72%)}.tower-stagebox h3{margin:0;font-size:20px;color:#fff}.tower-stagebox p{margin:0;font-size:14.5px;line-height:1.6;word-break:keep-all}.tower-stagebox .btn{margin:0;width:auto;min-width:160px}.tower-orb{display:block;width:176px;height:176px;padding:0;border:0;border-radius:50%;cursor:pointer;background:none;animation:tower-float 2.4s ease-in-out infinite}.tower-orb img{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 0 18px #8f7bffcc)}@keyframes tower-float{0%,100%{transform:translateY(0)}50%{transform:translateY(-8px)}}.tower-orb-icon{font-size:64px;line-height:1.1;animation:tower-pop .5s cubic-bezier(.2,1.6,.4,1) both}@keyframes tower-pop{from{transform:scale(.3);opacity:0}to{transform:scale(1);opacity:1}}.tower-altar{display:block;width:220px;height:220px;padding:0;border:0;background:none;cursor:pointer}.tower-altar img{display:block;width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 0 16px #4fb4ff66)}.tower-altar:disabled{cursor:default}.tower-odds{display:flex;flex-wrap:wrap;justify-content:center;gap:6px}.tower-odds span{padding:3px 9px;border-radius:999px;font-size:12.5px;font-weight:700;background:#ffffff26}.tower-altar-buttons{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}.tower-make{display:flex;align-items:center;justify-content:center;gap:12px;font-size:19px;font-weight:900;color:#fff}.tower-make img{width:84px;height:84px;object-fit:contain}.tower-make.up{color:#ffe08a}.tower-make.down{color:#b9c4e8}.tower-boxhead{margin-bottom:14px;text-align:center}.tower-boxhead h3{margin:0 0 2px;font-size:19px}.tower-boxes{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.tower-boxes.n4,.tower-boxes.n6{grid-template-columns:repeat(4,1fr)}.tower-box{position:relative;display:flex;flex-direction:column;align-items:center;gap:6px;min-width:0;padding:18px 8px 12px;border:2px solid var(--color-border);border-radius:16px;font:inherit;color:var(--color-text);background:#fff;cursor:pointer;transition:transform .12s}.tower-box:active{transform:scale(.97)}.tower-box b{font-size:14.5px;word-break:keep-all}.tower-box small{font-size:13px;font-weight:700;color:var(--color-text-sub);word-break:keep-all}.tower-box.rich{border-color:#e5a800;background:linear-gradient(180deg,#fff8dc,#fff);box-shadow:0 0 18px #ffcf5c8c}.tower-box .tag{position:absolute;top:-11px;left:50%;padding:2px 10px;border-radius:999px;font-size:12px;font-weight:900;white-space:nowrap;color:#3a2500;background:#ffcf5c;transform:translateX(-50%)}.tower-chest{display:block;width:156px;height:156px;margin:-18px 0 -22px;object-fit:contain}.tower-box.opening{animation:tower-shake .3s linear infinite}.tower-box.opened{border-color:#ffb347;box-shadow:0 0 30px #ffb347}.tower-boxes.choosing .tower-box:not(.opening):not(.opened){opacity:.4}@keyframes tower-shake{0%,100%{transform:rotate(-2deg)}50%{transform:rotate(2deg)}}.tower-done{text-align:center}.tower-done .tower-done-box{width:210px;height:210px;margin:-10px auto -22px}.tower-done h3{margin:6px 0 4px;font-size:20px}.tower-done .prize{margin:0;font-size:26px;font-weight:900;color:#b66a00;animation:tower-pop .5s cubic-bezier(.2,1.6,.4,1) both}.tower-done .rich{display:inline-block;margin-top:6px;padding:2px 10px;border-radius:999px;font-size:12.5px;font-weight:900;color:#3a2500;background:#ffcf5c}.tower-won{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:12px}.tower-won figure{margin:0;width:104px;font-size:13px;font-weight:700}.tower-won img{display:block;width:100%;height:128px;object-fit:contain}.tower-sum{display:grid;gap:6px;max-width:440px;margin:16px auto 0;padding:12px 14px;border-radius:12px;font-size:14.5px;background:var(--color-bg)}.tower-sum div{display:flex;justify-content:space-between;gap:12px}.tower-sum b{font-variant-numeric:tabular-nums}.tower-done-buttons{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin-top:16px}.tower-done-buttons .btn{width:auto;min-width:150px;margin:0}.tower-manage-head{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin-bottom:10px}.tower-manage-head .preset-tabs{margin:0}.tower-manage-head .btn{width:auto;margin:0}.tower-warn{margin:0 0 12px;padding:10px 14px;border-radius:12px;font-size:14px;font-weight:700;color:#8a4b00;background:#fff3dc}.tower-form{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px;margin-bottom:12px}.tower-field{display:flex;flex-direction:column;gap:4px;font-size:13px;font-weight:700;color:var(--color-text-sub)}.tower-field input,.tower-field select{min-height:40px;padding:6px 10px;border:1.5px solid var(--color-border);border-radius:10px;font:inherit;font-size:15px;color:var(--color-text);background:#fff}.tower-field input[type=number]{width:96px}.tower-field.grow{flex:1 1 180px}.tower-field.grow input{width:100%;box-sizing:border-box}.tower-form .btn{width:auto;margin:0}.tower-scroll{overflow-x:auto;-webkit-overflow-scrolling:touch}.tower-table{width:100%;border-collapse:collapse;font-size:14px}.tower-table th{padding:7px 5px;font-size:12.5px;color:var(--color-text-sub);white-space:nowrap;border-bottom:1px solid var(--color-border)}.tower-table td{padding:6px 5px;border-bottom:1px solid #f1f3f6}.tower-table input,.tower-table select{min-height:36px;padding:4px 6px;border:1.5px solid var(--color-border);border-radius:8px;font:inherit;font-size:14px;text-align:center;color:var(--color-text);background:#fff;box-sizing:border-box}.tower-table input[type=checkbox]{min-height:0;width:18px;height:18px}.tower-table .name-in{width:170px}.tower-table .num-in{width:76px}.tower-table .odd-in{width:58px}.tower-table td.zero{color:#b5bac6}.tower-table tfoot td{font-weight:800;border-bottom:0}.tower-table .bad{color:var(--color-red)}.tower-stages th:first-child,.tower-stages td:first-child{position:sticky;left:0;z-index:1;min-width:120px;background:#fff}.tower-stages th small{display:block;font-weight:600}.tower-save{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px;margin-top:12px}.tower-save .btn{width:auto;margin:0}.tower-save p{margin:0;font-size:13px}.tfx{position:fixed;inset:0;z-index:2000;display:flex;align-items:center;justify-content:center;overflow:hidden;cursor:pointer;user-select:none;-webkit-user-select:none;-webkit-tap-highlight-color:transparent;background:#090818}.tfx-in{position:absolute;inset:-30px;display:flex;align-items:center;justify-content:center;overflow:hidden;animation:tfx-in .18s ease-out}@keyframes tfx-in{from{opacity:0}to{opacity:1}}.tfx-blink{position:fixed;inset:0;z-index:2000;overflow:hidden;pointer-events:none}.tfx-blink i{position:absolute;left:-10%;right:-10%;height:56%;background:#000;animation:tfx-blink-top 1.5s ease-in-out both}.tfx-blink .top{top:0;border-radius:0 0 50% 50%/0 0 18% 18%}.tfx-blink .bottom{bottom:0;border-radius:50% 50% 0 0/18% 18% 0 0;animation-name:tfx-blink-bottom}@keyframes tfx-blink-top{0%,100%{transform:translateY(-105%)}16.7%,83.3%{transform:none}}@keyframes tfx-blink-bottom{0%,100%{transform:translateY(105%)}16.7%,83.3%{transform:none}}.tfx-wall{position:absolute;left:0;right:0;top:0;bottom:-800px;background-image:var(--tower-wall);background-size:1200px 800px;will-change:transform}.tfx.t2 .tfx-wall{opacity:.8;animation:tfx-fall 1.1s linear infinite}.tfx.t3 .tfx-wall{opacity:.9;animation:tfx-fall .6s linear infinite}.tfx.t0 .tfx-wall{opacity:.45;animation:tfx-rise 3s linear infinite}.tfx.land .tfx-wall{animation-play-state:paused}@keyframes tfx-fall{from{transform:translateY(0)}to{transform:translateY(-800px)}}@keyframes tfx-rise{from{transform:translateY(-800px)}to{transform:translateY(0)}}.tfx-beast{position:absolute;z-index:2;left:50%;top:calc(52px + env(safe-area-inset-top,0px) + clamp(34px,8vw,88px) * 1.3);width:min(118vw,980px);max-width:none;margin-left:calc(min(118vw,980px) / -2);animation:tfx-beast .7s cubic-bezier(.2,1.3,.4,1) both;filter:drop-shadow(0 0 30px #ffb34766)}.tfx-beast.devil{filter:drop-shadow(0 0 30px #a855f766)}@keyframes tfx-beast{from{opacity:0;transform:translateY(-14%) scale(.72)}to{opacity:1;transform:none}}.tfx-glow{position:absolute;inset:0;background:radial-gradient(circle at 50% 50%,transparent 22%,#0b0a22f0 80%)}.tfx.t2 .tfx-glow{background:radial-gradient(circle at 50% 50%,#6c5ce74d 0,transparent 42%,#0b0a22f2 82%)}.tfx.t3 .tfx-glow{background:radial-gradient(circle at 50% 50%,#ff8a3d73 0,#ff5a2a26 34%,#120618f5 82%)}.tfx.t0 .tfx-glow{background:radial-gradient(circle at 50% 40%,#7fffe24d 0,transparent 44%,#0b0a22f0 82%)}.tfx-line{position:absolute;top:100%;left:var(--x);width:var(--w);height:var(--h);border-radius:3px;background:linear-gradient(180deg,#fff0,var(--c));animation:tfx-line var(--t) linear var(--d) infinite;will-change:transform}.tfx.t0 .tfx-line{top:auto;bottom:100%;background:linear-gradient(0deg,#fff0,var(--c));animation-name:tfx-line-down}@keyframes tfx-line{to{transform:translateY(calc(-100vh - 130%))}}@keyframes tfx-line-down{to{transform:translateY(calc(100vh + 130%))}}.tfx.land .tfx-line{animation-iteration-count:1}.tfx-ring{position:absolute;left:50%;top:50%;width:150px;height:150px;margin:-75px 0 0 -75px;border:5px solid #ffcf5c;border-radius:50%;opacity:0;animation:tfx-ring 1s ease-out var(--d) infinite}@keyframes tfx-ring{0%{opacity:.9;transform:scale(.4)}100%{opacity:0;transform:scale(5)}}.tfx.land .tfx-ring{display:none}.tfx-trail{position:absolute;left:50%;bottom:30%;width:min(70vw,520px);height:130vh;margin-left:calc(min(70vw,520px) / -2);border-radius:50% 50% 46% 46%;background:linear-gradient(0deg,#ffc05c00 0,#ffd27ae6 12%,#ff7a3dcc 30%,#ff5a2a66 54%,#ff5a2a00 82%);filter:blur(14px);animation:tfx-aura .18s ease-in-out infinite alternate}.tfx.land .tfx-trail{opacity:0;transition:opacity .25s}.tfx-hero{position:relative;z-index:3;display:flex;align-items:center;justify-content:center;height:min(48vh,360px);will-change:transform}.tfx-hero img{display:block;height:100%;max-width:80vw;object-fit:contain;filter:drop-shadow(0 8px 14px #000a)}.tfx-hero span{font-size:min(30vh,200px);line-height:1}.tfx-aura{position:absolute;inset:-34% -60%;border-radius:50%;background:radial-gradient(ellipse at 50% 58%,#fff4bdcc 0 12%,#ffb347b3 30%,#ff5a2a80 50%,#ff5a2a00 70%);filter:blur(5px);animation:tfx-aura .2s ease-in-out infinite alternate}@keyframes tfx-aura{from{transform:scale(.94)}to{transform:scale(1.08)}}.tfx.land .tfx-aura{opacity:0;transition:opacity .3s}.tfx.t2 .tfx-hero{animation:tfx-jit-soft .5s ease-in-out infinite}.tfx.t3 .tfx-hero{animation:tfx-jit-soft .4s ease-in-out infinite}.tfx.t3 .tfx-hero img{transform:scale(1.08)}.tfx.t0 .tfx-hero{animation:tfx-float .9s ease-out both}@keyframes tfx-float{0%{transform:translateY(60px)}100%{transform:translateY(-10px)}}.tfx.land .tfx-hero{animation:tfx-impact .55s cubic-bezier(.2,1.4,.4,1) both}@keyframes tfx-impact{0%{transform:translateY(70px) scale(1.2,.76)}60%{transform:translateY(-14px) scale(.95,1.07)}100%{transform:none}}.tfx-title{position:absolute;z-index:4;top:calc(40px + env(safe-area-inset-top,0px));line-height:1.3;left:0;right:0;text-align:center;font-size:clamp(34px,8vw,88px);font-weight:900;letter-spacing:-.02em;color:#fff;text-shadow:0 0 18px #8f7bff,0 4px 0 #0007;animation:tfx-title .5s cubic-bezier(.2,1.7,.4,1) both}.tfx.t3 .tfx-title{color:#fff3b0;-webkit-text-stroke:7px #4a1000;paint-order:stroke fill;text-shadow:0 0 26px #ff5a2a,0 6px 0 #2a0800}@keyframes tfx-title{from{opacity:0;transform:scale(2.4)}to{opacity:1;transform:scale(1)}}.tfx-flash{position:absolute;z-index:5;inset:0;background:#fff;opacity:0;pointer-events:none}.tfx.t2.land .tfx-flash{animation:tfx-flash2 .4s ease-out}.tfx.t3.land .tfx-flash{animation:tfx-flash3 .7s ease-out}@keyframes tfx-flash2{0%{opacity:.5}100%{opacity:0}}@keyframes tfx-flash3{0%{opacity:1}100%{opacity:0}}.tfx.t2.land .tfx-in{animation:tfx-shake .3s linear}.tfx.t3.land .tfx-in{animation:tfx-shake3 .65s linear}@keyframes tfx-shake{0%,100%{transform:none}25%{transform:translate(-2px,2px)}50%{transform:translate(2px,-2px)}75%{transform:translate(-1px,1px)}}@keyframes tfx-shake3{0%,100%{transform:none}10%{transform:translate(-5px,4px)}25%{transform:translate(4px,-4px)}40%{transform:translate(-3px,3px)}55%{transform:translate(3px,-2px)}70%{transform:translate(-2px,2px)}85%{transform:translate(1px,-1px)}}.tfx-wave{position:absolute;z-index:2;left:50%;top:56%;width:44px;height:44px;margin:-22px 0 0 -22px;border:7px solid #fff;border-radius:50%;opacity:0}.tfx.t2.land .tfx-wave{animation:tfx-wave .6s ease-out}.tfx.t3.land .tfx-wave{border-color:#ffc05c;animation:tfx-wave .85s ease-out}.tfx.t3.land .tfx-wave.w2{border-color:#fff;animation-delay:.12s}@keyframes tfx-wave{0%{opacity:1;transform:scale(.4)}100%{opacity:0;transform:scale(26)}}.tfx-spark{position:absolute;z-index:2;left:50%;top:56%;width:var(--s);height:var(--s);margin:calc(var(--s) / -2);border-radius:50%;background:var(--c);opacity:0}.tfx.land .tfx-spark{animation:tfx-spark var(--t) cubic-bezier(.1,.7,.3,1) both}@keyframes tfx-spark{0%{opacity:1;transform:rotate(var(--a)) translateX(0)}100%{opacity:0;transform:rotate(var(--a)) translateX(var(--r))}}.tfx-coin{position:absolute;z-index:4;top:-10%;left:var(--x);font-size:var(--s);animation:tfx-coin var(--t) ease-in var(--d) both}@keyframes tfx-coin{from{opacity:1;transform:translateY(0) rotate(0)}to{opacity:1;transform:translateY(125vh) rotate(600deg)}}.tfx-bonus{position:absolute;z-index:5;top:26%;left:12px;right:12px;text-align:center;font-size:clamp(22px,5vw,44px);font-weight:900;color:#ffe08a;text-shadow:0 3px 0 #0008;animation:tfx-title .45s cubic-bezier(.2,1.7,.4,1) both}@media(prefers-reduced-motion:reduce){.tfx,.tfx *{animation:none!important}.tfx-line,.tfx-ring,.tfx-spark,.tfx-wave,.tfx-trail,.tfx-aura{display:none}}@keyframes tfx-jit-soft{0%,100%{transform:translate(0,0)}25%{transform:translate(-1.5px,1px)}75%{transform:translate(1.5px,-1px)}}@media(min-width:761px){.tfx-beast{top:0}.tfx.t3 .tfx-hero{margin-top:200px}}.tower-choose{display:flex;flex-direction:column}.tower-choose-pick{order:-1;margin-bottom:14px}@media(max-width:760px){.tfx-title{top:calc(56px + env(safe-area-inset-top,0px))}.tfx-beast{top:calc(68px + env(safe-area-inset-top,0px) + clamp(34px,8vw,88px) * 1.3)}.tfx.t3 .tfx-hero{margin-top:150px}.tower-layout{grid-template-columns:1fr}.tower-side{display:grid;grid-template-columns:104px minmax(0,1fr);gap:8px 12px;padding:12px}.tower-floorbar,.tower-gauge,.tower-tags,.tower-note{grid-column:1 / -1}.tower-scene{grid-column:1;grid-row:3 / span 2;height:128px}.tower-slots{grid-column:2;grid-row:3 / span 2}.tower-tags{grid-row:5}.tower-hero{bottom:8px;height:112px}.tower-hero.none{font-size:64px}.tower-chest{width:124px;height:124px;margin:-14px 0 -18px}.tower-orb{width:140px;height:140px}.tower-altar{width:170px;height:170px}.tower-pit .hole{width:76px;height:76px}.tower-pit.big .hole{width:92px;height:92px}.tower-slots{grid-template-columns:repeat(auto-fit,minmax(88px,1fr));align-content:start}.tower-slot{gap:4px;min-height:30px;padding:0 3px;font-size:12px}.tower-slot b{font-size:12.5px}.tower-slot span{font-size:11px}.tower-keys{grid-template-columns:repeat(2,1fr)}.tower-boxes,.tower-boxes.n4,.tower-boxes.n6{grid-template-columns:repeat(2,1fr)}.tower-pits.n3{grid-template-columns:1fr 1fr}.tower-pits.n3 .tower-pit.big{grid-column:1 / -1;grid-row:1}.tower-pit{min-height:104px}}.tower-slot.miss{background:#f1f3f5;border-color:#ced4da;color:#6b7280}

.marble-wrap{display:grid;gap:12px;max-width:1040px;margin:0 auto 14px}.marble-stage{position:relative;border-radius:18px;overflow:hidden;background:#0b1020;box-shadow:0 6px 20px rgba(11,16,32,.25)}#marble-canvas{display:block;width:100%;touch-action:pan-y}.marble-stage,.marble-stage *{-webkit-user-select:none;user-select:none;-webkit-touch-callout:none;-webkit-tap-highlight-color:transparent}.marble-rank{position:absolute;top:8px;right:8px;max-height:calc(100% - 16px);min-width:104px;max-width:46%;overflow:auto;padding:6px 8px;border-radius:12px;background:rgba(0,0,0,.5);color:#fff;font-size:12.5px;font-weight:700;line-height:1.5}.marble-rank:empty{display:none}.marble-rank .head{font-size:11.5px;color:#ced4da;margin-bottom:2px}.marble-rank .r{display:flex;gap:6px;align-items:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.marble-rank .r i{flex:0 0 10px;width:10px;height:10px;border-radius:50%}.marble-rank .r.win{color:#ffe066}.marble-zoom{position:absolute;right:8px;bottom:8px;display:flex;gap:4px}.marble-zoom button{min-width:36px;height:36px;padding:0 10px;border:0;border-radius:10px;background:rgba(0,0,0,.55);color:#fff;font:inherit;font-size:15px;font-weight:800;cursor:pointer}.marble-zoom button.on{background:rgba(112,72,232,.85)}.marble-stage:fullscreen{width:100vw;height:100vh;border-radius:0;background:#05070f}.marble-stage:-webkit-full-screen{width:100vw;height:100vh;border-radius:0;background:#05070f}.marble-stage.marble-full{position:fixed;inset:0;z-index:9999;width:100vw;height:100vh;border-radius:0;background:#05070f}.marble-stage .marble-full-only{display:none}.marble-stage:fullscreen .marble-full-only{display:inline-block}.marble-stage.marble-full .marble-full-only{display:inline-block}.marble-stage .marble-full-only.busy{display:none!important}.marble-stage:fullscreen .marble-rank{font-size:16px;min-width:150px}.marble-stage.marble-full .marble-rank{font-size:16px;min-width:150px}.marble-stage:fullscreen .marble-zoom button{height:44px;min-width:44px;font-size:17px}.marble-stage.marble-full .marble-zoom button{height:44px;min-width:44px;font-size:17px}.marble-overlay{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;padding:16px;background:rgba(5,8,20,.55)}.marble-overlay.hidden{display:none}.marble-win{max-width:340px;padding:18px 22px;border-radius:20px;text-align:center;background:#fff;box-shadow:0 10px 30px rgba(0,0,0,.35)}.marble-win h2{margin:0 0 4px;font-size:20px}.marble-win .who{margin:6px 0;font-size:34px;font-weight:900;word-break:keep-all;overflow-wrap:anywhere}.marble-win .how{margin:0 0 12px;font-size:13px;color:var(--color-text-sub)}.marble-win .btn{width:auto;min-width:120px;margin:4px}.marble-setup label{display:block}.marble-setup textarea{width:100%;min-height:96px;resize:vertical}.marble-row{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px}.marble-row .btn{width:auto;margin:0}.marble-count{margin:6px 0 0;font-size:12.5px}.marble-label{margin-top:10px;font-size:13px;font-weight:800}.marble-pick{margin:4px 0 0}.marble-nth{margin-top:8px;font-size:13px}.marble-nth input{width:80px;margin-left:6px}.marble-nth.hidden{display:none}.marble-check{display:flex!important;align-items:center;gap:8px;margin-top:10px;font-size:13.5px}.marble-check input{width:auto;margin:0}.marble-go{margin-top:12px}.marble-go .btn{flex:1 1 0}.marble-mode-hint{margin:5px 0 0;font-size:12.5px;color:var(--color-text-sub);word-break:keep-all}.marble-saved{padding-bottom:10px;margin-bottom:10px;border-bottom:1px dashed var(--color-border)}.marble-saved-list{display:flex;flex-wrap:wrap;gap:6px;margin-top:6px;font-size:13px}.marble-chip{display:inline-flex;align-items:center;max-width:100%;border:1px solid var(--color-border);border-radius:999px;background:var(--color-gray-bg)}.marble-chip.active{border-color:#7048e8;background:#f3f0ff;color:#5f3dc4}.marble-chip button{border:0;background:none;font:inherit;font-size:13px;font-weight:700;color:inherit;cursor:pointer;padding:6px 4px 6px 11px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.marble-chip button.x{padding:6px 10px 6px 4px;font-weight:400;color:var(--color-text-sub)}.marble-save-row{flex-wrap:nowrap}.marble-save-row input{flex:1 1 auto;min-width:0;margin:0}.marble-save-hint{margin:5px 0 0;font-size:12px}.marble-win{max-height:100%;overflow:auto}.marble-order-list{max-height:min(44vh,330px);overflow:auto;margin:6px 0 12px;padding:0 4px;list-style:none;text-align:left;font-size:15px;font-weight:700;counter-reset:mo}.marble-order-list li{display:flex;align-items:center;gap:8px;padding:5px 2px;border-bottom:1px solid var(--color-border);counter-increment:mo}.marble-order-list li::before{content:counter(mo) ".";flex:0 0 30px;text-align:right;color:var(--color-text-sub);font-variant-numeric:tabular-nums}.marble-order-list li i{flex:0 0 12px;width:12px;height:12px;border-radius:50%}.marble-order-list li span{min-width:0;overflow-wrap:anywhere}.marble-pick-tools{display:flex;flex-wrap:wrap;align-items:center;gap:6px;margin-bottom:8px}.marble-pick-tools .btn{width:auto;margin:0}.marble-pick-tools .n{margin-left:auto;font-size:13px;font-weight:800;color:#5f3dc4}.marble-pick-list{display:grid;grid-template-columns:repeat(auto-fill,minmax(104px,1fr));gap:6px;max-height:46vh;overflow:auto;padding:2px}.marble-pick-item{display:flex!important;align-items:center;gap:6px;margin:0!important;padding:8px 9px;border:1px solid var(--color-border);border-radius:10px;font-size:14px;font-weight:700;cursor:pointer;word-break:keep-all;overflow-wrap:anywhere}.marble-pick-item input{width:auto;margin:0;flex:0 0 auto}.marble-pick-item:has(input:checked){border-color:#7048e8;background:#f3f0ff;color:#5f3dc4}@media(max-width:899px){.marble-setup{order:-1}}.play-tile-marble{background:linear-gradient(135deg,#f3f0ff,#d0bfff);color:#5f3dc4;box-shadow:0 4px 14px rgba(95,61,196,.14)}@media(min-width:900px){.marble-wrap{grid-template-columns:minmax(0,1fr) 300px;align-items:start}.marble-setup{position:sticky;top:76px}}

.home-search>.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}#view-home .home-hello-notes{width:100%;min-width:0}#view-home .home-hello-actions{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:10px 16px;width:100%;min-width:0}#view-home .home-hello-actions>.home-alert-toggle{flex:0 1 auto;align-self:flex-end;margin:0}#view-home .home-search{position:relative;flex:1 1 180px;align-self:flex-end;max-width:390px;min-width:min(180px,100%);margin:0;text-align:left}#view-home .home-search-field{display:flex;align-items:center;gap:8px;padding:6px 10px 6px 13px;background:#fff;border:1px solid #cbdaf4;border-radius:14px;box-shadow:0 3px 12px #596b8a0c}#view-home .home-search-field input{flex:1;min-width:0;width:100%;margin:0;border:0;background:transparent;padding:7px 0;box-shadow:none;font-size:14px}#view-home .home-search-field button{border:0;border-radius:8px;background:#eef3ff;min-width:32px;min-height:32px;color:#587093;cursor:pointer}#view-home .home-hello:has(.home-search-open),#view-home .home-hello.has-avatar:has(.home-search-open){overflow:visible;position:relative;z-index:3}#home-search-input::-webkit-search-cancel-button{display:none}#view-home .home-search-results{position:absolute;top:calc(100% + 7px);right:0;z-index:20;width:100%;max-height:330px;overflow:auto;padding:8px;background:#fff;border:1px solid #d4e0f5;border-radius:14px;box-shadow:0 12px 30px #20385a24;box-sizing:border-box}#view-home .home-search-results.hidden{display:none}.home-search-result{display:flex;align-items:center;gap:12px;text-align:left;width:100%;padding:12px;border:0;border-radius:11px;background:#f2f6ff;margin:0 0 6px;color:#24395c;cursor:pointer;font:inherit}.home-search-result:last-child{margin-bottom:0}.home-search-result>span:first-child{font-size:26px}.home-search-result strong,.home-search-result small{display:block}.home-search-result small{font-size:12px;color:#687b98;margin-top:3px}.home-search-result:disabled{opacity:.6;cursor:default}.home-search-empty{font-size:13px;padding:12px;margin:0;color:#687b98}@media(max-width:599px){#view-home .home-search{flex-basis:180px;max-width:none}#view-home .home-search-field input{font-size:16px}.home-search-result{min-height:60px}}

@media(max-width:899px){#open-my-purchases-btn{display:none!important}}

#event-live-list>.event-card:has(.es-student-form),#event-live-list>.event-card:has(.es-response){grid-column:1/-1}.es-student-form{--es-theme:#673ab7;display:grid;gap:12px;margin:14px 0}.es-page{display:grid;gap:12px}.es-page.hidden{display:none}.es-required-note{margin:0;font-size:13px;color:#b91c1c}.es-section-head{padding:12px 14px;border-radius:12px;background:var(--es-theme);color:#fff}.es-section-head span{font-size:12px;opacity:.9}.es-section-head h4{margin:2px 0}.es-section-head p{margin:4px 0 0;white-space:pre-wrap}.es-progress{height:8px;border-radius:4px;background:#e2e8f0;overflow:hidden}.es-progress i{display:block;height:100%;background:var(--es-theme)}.es-progress-text{margin:0;font-size:12px;text-align:right}.es-student-question,.es-block{min-width:0;margin:0;padding:14px;border:1px solid #dce4f2;border-left:5px solid var(--es-theme);border-radius:12px;background:#fff}.es-student-question legend{font-weight:800;padding:0 6px;overflow-wrap:anywhere}.es-block h4{margin:0 0 4px}.es-block p{margin:0;white-space:pre-wrap}.es-block figcaption{font-weight:800;margin-bottom:6px}.es-q-desc{margin:0 0 8px;color:#475569;white-space:pre-wrap}.es-q-image,.es-block img{display:block;max-width:100%;max-height:420px;border-radius:8px;margin:6px 0}.es-student-question.es-invalid{border-color:#dc2626}.es-q-error{color:#b91c1c;font-size:13px;font-weight:700}.es-q-error:not(:empty){margin-top:8px}.es-student-question input[type=text],.es-student-question input[type=date],.es-student-question input[type=time],.es-student-question input[type=datetime-local],.es-student-question select,.es-student-question textarea{width:100%;box-sizing:border-box}.es-inline-inputs{display:flex;flex-wrap:wrap;gap:8px;align-items:center}.es-inline-inputs select,.es-inline-inputs input[type=time]{flex:1 1 110px;width:auto}.es-inline-inputs label{display:flex;align-items:center;gap:4px;margin:0}.es-inline-inputs input[type=number]{width:76px}.es-answer-choices{display:flex;flex-wrap:wrap;gap:9px;margin:10px 0}.es-answer-choices label{display:flex;gap:7px;align-items:center;margin:0;padding:8px 10px;border:1px solid #dce4f2;border-radius:10px;background:#f8faff}.es-answer-choices input[type=radio],.es-answer-choices input[type=checkbox],.es-name-grid input{width:18px;min-height:18px;margin:0;accent-color:#315de9}.es-other{flex:1 1 240px}.es-other input[type=text]{flex:1;min-width:0;margin:0}.es-scale{display:flex;flex-wrap:wrap;align-items:end;justify-content:center;gap:10px;text-align:center}.es-scale label{display:grid;justify-items:center;gap:4px;margin:0;min-width:32px;cursor:pointer}.es-scale input{width:20px;min-height:20px;margin:0}.es-scale-label{font-size:13px;color:#475569;align-self:center}.es-rating{display:flex;flex-wrap:wrap;gap:6px}.es-rating label{position:relative;display:grid;justify-items:center;margin:0;min-width:40px;cursor:pointer;color:#cbd5e1}.es-rating label.on{color:#f59e0b}.es-rating input{position:absolute;opacity:0;width:1px;height:1px}.es-rating span{font-size:30px;line-height:1.1}.es-rating small{font-size:11px;color:#64748b}.es-rating label:focus-within{outline:3px solid #ffd54f;border-radius:8px}.es-grid-scroll{width:100%;overflow-x:auto}.es-grid{width:100%;border-collapse:collapse}.es-grid th,.es-grid td{padding:8px 10px;text-align:center;border-bottom:1px solid #e2e8f0;overflow-wrap:anywhere}.es-grid input{width:18px;min-height:18px;margin:0}.es-video{position:relative;aspect-ratio:16/9;margin-top:6px}.es-video iframe{position:absolute;inset:0;width:100%;height:100%;border:0;border-radius:8px}.es-page-nav{display:flex;gap:10px}.es-page-nav .btn{flex:1 1 0}.es-page-nav .hidden{display:none}.es-file-list{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:6px}.es-file-chip{display:inline-flex;align-items:center;gap:6px;padding:4px 8px;border-radius:8px;background:#eef2ff;overflow-wrap:anywhere}.es-file-chip button{border:0;background:none;cursor:pointer;min-width:24px;min-height:24px}.es-file-pick{position:relative;width:auto;display:inline-flex;margin:0}.es-file-pick.es-busy{opacity:.5;pointer-events:none}.es-file-link{border:0;background:none;padding:0;color:#1d4ed8;text-decoration:underline;font:inherit;cursor:pointer;text-align:left}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.es-quiz{margin:10px 0;padding:12px;border-radius:12px;background:#f3effc}.es-quiz-score{font-size:20px;font-weight:900;margin-bottom:6px}.es-quiz-row{padding:6px 0;border-top:1px solid #ddd6f3}.es-quiz-row p{margin:2px 0 0;white-space:pre-wrap}.es-response-section{font-weight:900;padding:0 2px}.es-question-list{display:grid;gap:12px;margin:12px 0}.es-inline{display:flex;align-items:center;gap:7px;flex-wrap:wrap}.es-inline input{width:auto;min-height:0}.es-palette{display:flex;flex-wrap:wrap;gap:9px;margin:10px 0}.es-palette .btn{width:auto}.es-name-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:9px}.es-name-grid>label{display:flex;gap:8px;align-items:center;padding:10px;border:1px solid #dce4f2;border-radius:10px;margin:0}.es-color-tile{width:100%;min-height:75px;padding:12px;border:1px solid #cad7e9;border-radius:12px;background:#f8faff;color:#26344a;font:inherit;display:flex;flex-direction:column;align-items:center;gap:6px;cursor:pointer}.es-color-tile small{font-size:12px;overflow-wrap:anywhere}.es-swatch{display:inline-block;flex:0 0 16px;width:16px;height:16px;border:1px solid #0002;border-radius:4px;vertical-align:middle;margin-right:6px}.es-palette [aria-pressed=true]{outline:2px solid #315de9;outline-offset:1px}.es-roster-row{border-bottom:1px solid #e6ebf4;padding:12px 0}.es-response{margin:0;display:grid;gap:12px}.es-response>div{padding:12px;border:1px solid #dce4f2;border-radius:10px;background:#fff}.es-response dt{font-weight:800;margin-bottom:7px}.es-response dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}.es-response-row{padding:4px 0}.es-preview{margin:12px 0;padding:14px;border:2px solid #8ba9ed;border-radius:14px;background:#f5f8ff}.es-socio-scroll{width:100%;overflow-x:auto}.es-socio-scroll .insight-socio{min-width:560px;width:100%;max-height:none}@media(max-width:599px){.es-student-question,.es-block{padding:12px}.es-answer-choices{flex-direction:column}.es-name-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}

#event-survey-export summary{cursor:pointer;font-size:18px;color:#254873}#event-survey-export>details>label{display:block;max-width:420px}#es-export-date{display:block;width:100%}.es-export-tools{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:12px 0}.es-export-tools .btn{width:auto}.es-export-students{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:8px;max-height:270px;overflow:auto;padding:3px}.es-export-students>label{display:flex;align-items:center;gap:10px;border:1px solid #d4dff2;border-radius:11px;padding:10px;margin:0;cursor:pointer;background:#f7faff;min-width:0}.es-export-students input{width:20px;min-height:20px;margin:0;flex-shrink:0}.es-export-students span{overflow-wrap:anywhere}.es-export-students small{display:block;font-size:12px;color:#64748b;margin-top:3px}#es-export-progress{overflow-wrap:anywhere;margin:8px 0 0}@media(max-width:599px){.es-export-students{grid-template-columns:repeat(2,minmax(0,1fr))}.es-export-tools .btn{flex:1 1 140px}}

.es-body{margin-top:10px}.esb-tabs{display:flex;gap:4px;border-bottom:2px solid #e2e8f0;margin-bottom:12px}.esb-tab{flex:0 0 auto;min-height:40px;padding:8px 16px;border:0;border-bottom:3px solid transparent;background:none;font:inherit;font-weight:800;color:#64748b;cursor:pointer}.esb-tab.on{color:#5b3cc4;border-bottom-color:#5b3cc4}.esb-tools{position:sticky;top:64px;z-index:3;display:flex;flex-wrap:wrap;gap:6px;padding:8px;border:1px solid #dce4f2;border-radius:12px;background:#fff}.esb-tools .btn{width:auto}.esb-card{display:block;padding:14px;border:1px solid #dce4f2;border-radius:12px;background:#fff;min-width:0}.esb-card:not(.on){display:flex;justify-content:space-between;align-items:center;gap:12px;cursor:pointer}.esb-card.on{border-left:6px solid #5b3cc4}.esb-card.section{background:#f3effc}.esb-head{display:flex;flex-wrap:wrap;gap:8px}.esb-grow{flex:1 1 180px;min-width:0}.esb-title{font-weight:800}.esb-head .es-type{flex:0 0 190px;width:190px;max-width:100%}.esb-wide{display:block;width:100%;box-sizing:border-box;margin:8px 0}.esb-option{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:6px 0}.esb-option .btn{width:auto}.esb-option input{margin:0}.esb-mark{flex:0 0 20px;text-align:center;color:#64748b}.esb-option select{flex:0 1 190px;width:auto;min-width:0}.esb-key{display:flex;align-items:center;gap:4px;margin:0;font-size:13px}.esb-key input{width:18px;min-height:18px}.esb-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 auto;min-width:36px;min-height:36px;padding:0;border:0;border-radius:8px;background:none;font:inherit;cursor:pointer;margin:0}.esb-icon:hover{background:#eef2ff}.esb-icon:disabled{opacity:.35;cursor:default}.esb-foot{display:flex;flex-wrap:wrap;align-items:center;gap:6px 12px;margin-top:12px;padding-top:10px;border-top:1px solid #e2e8f0}.esb-foot .es-inline{margin:0}.esb-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px;margin:8px 0}.esb-row select{width:auto}.esb-sample{margin:10px 0;padding-bottom:6px;border-bottom:1px dotted #94a3b8;color:#64748b;max-width:60%}.esb-grid-edit{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:14px;margin:10px 0}.esb-grid-edit .btn{width:auto}.esb-valid{display:flex;flex-wrap:wrap;gap:8px;margin:10px 0}.esb-valid select{flex:0 1 150px;width:auto}.esb-valid input{flex:1 1 120px;min-width:0}.esb-quiz{margin:12px 0;padding:10px 12px;border-radius:10px;background:#f3effc}.esb-quiz input[type=number]{width:90px}.esb-quiz label{display:block}.esb-image{display:flex;align-items:flex-start;gap:6px}.esb-pick{cursor:pointer}.btn.esb-pick{width:auto;display:inline-flex;margin:8px 0}.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.esb-settings h4{margin:18px 0 6px}.esb-setting{align-items:flex-start;margin:8px 0;font-weight:400}.esb-setting input{width:20px;min-height:20px;margin:2px 0 0}.esb-setting small{display:block;color:#64748b}.esb-settings>label:not(.esb-setting){display:block;margin:8px 0}.esb-settings select,.esb-settings textarea{width:100%;box-sizing:border-box}.esb-themes{display:flex;flex-wrap:wrap;gap:8px}.esb-theme{width:36px;height:36px;border:0;border-radius:50%;cursor:pointer}.esb-theme.on{outline:3px solid #1e293b;outline-offset:2px}.es-tools{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin:12px 0}.es-tools input,.es-tools select{flex:1 1 200px;min-width:0}.es-tools .btn{width:auto}.es-relations{padding:12px;border-radius:10px;background:#f1f5ff;margin:10px 0}.es-relations label{display:block}.es-relations select{width:100%}.es-colors{display:flex;flex-wrap:wrap;gap:9px;margin:10px 0}.es-colors label{display:flex;align-items:center;gap:6px}.es-colors input[type=color]{width:44px;height:34px;padding:2px}.es-roster-config .btn{width:auto}@media(max-width:599px){.esb-card{padding:12px}.esb-head .es-type{flex:1 1 100%;width:100%}.esb-tools{top:56px}.esb-sample{max-width:100%}}

.es-results{margin:12px 0;padding:14px;background:#f8faff;border:1px solid #dce4f2;border-radius:12px}.esr-head{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-bottom:8px}.esr-head .btn{width:auto;margin-left:auto}.esr-body>select{width:100%;margin-bottom:10px}.esr-card{margin:10px 0;padding:14px;border:1px solid #dce4f2;border-radius:12px;background:#fff}.esr-card h4{margin:0 0 4px;overflow-wrap:anywhere}.esr-card>p{margin:0 0 8px}.esr-bars{display:grid;gap:8px}.esr-bar{display:grid;grid-template-columns:minmax(80px,30%) 1fr auto;gap:10px;align-items:center}.esr-bar-label{overflow-wrap:anywhere}.esr-bar-track{height:14px;border-radius:0 4px 4px 0;background:#eef1f6;overflow:hidden}.esr-bar-track i{display:block;height:100%;border-radius:0 4px 4px 0;background:#5b6ee1}.esr-bar-value{font-size:13px;color:#475569;text-align:right;white-space:nowrap}.esr-texts{margin:0;padding:0;list-style:none;max-height:320px;overflow:auto}.esr-texts li{padding:8px 10px;margin:6px 0;border-radius:8px;background:#f1f5f9;white-space:pre-wrap;overflow-wrap:anywhere}.esr-others{margin-top:8px;color:#475569}.esr-average{font-size:18px;font-weight:800}.esr-person{display:flex;align-items:center;justify-content:center;gap:12px;margin:8px 0 12px}@media(max-width:599px){.esr-bar{grid-template-columns:1fr auto}.esr-bar-track{grid-column:1/-1;grid-row:2}}

:root{color-scheme:light;--ui-space:20px;--ui-shell-width:208px;--ui-content-width:1200px;--color-bg:#f6f8fd;--color-card:#fff;--color-text:#26334c;--color-text-sub:#596a83;--color-border:#e0e7f1;--color-primary:#315fe6;--color-primary-dark:#234bc2;--radius:18px;--shadow:0 3px 14px rgba(38,58,100,.055)}body{background:var(--color-bg)}button,input,select,textarea{font-family:inherit}button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid #315fe6;outline-offset:3px}#app.app-shell-active{width:100%;max-width:none;min-width:0;margin:0 auto;padding-bottom:calc(82px + env(safe-area-inset-bottom));padding-left:0}#app.app-shell-active .screen{width:100%;max-width:var(--ui-content-width);min-width:0;margin:0 auto;padding:22px 20px 32px}#app.app-shell-active #view-home{max-width:var(--ui-content-width)}#app.app-shell-active .screen>.brand{margin:0 0 22px;text-align:left}#app.app-shell-active .screen>.brand h1{font-size:24px!important;line-height:1.4;letter-spacing:-.035em;margin:0 0 6px;overflow-wrap:anywhere}#app.app-shell-active .screen>.brand p{font-size:14px;line-height:1.6}#app.app-shell-active .card{border:1px solid var(--color-border);border-radius:var(--radius);box-shadow:var(--shadow)}#app.app-shell-active .top-bar{flex-wrap:wrap;gap:10px 20px;min-height:72px;padding:12px 24px;background:#fff;color:var(--color-text);border-bottom:1px solid var(--color-border);z-index:60;box-shadow:0 2px 10px #26334c06}#app.app-shell-active .top-bar-brand{flex:1 1 180px;min-width:0}#app.app-shell-active .top-bar-brand>div{min-width:0}#app.app-shell-active .top-bar .title{font-size:17px;line-height:1.4;word-break:keep-all;overflow-wrap:anywhere}#app.app-shell-active .top-bar .sub{font-size:12px;opacity:1;color:var(--color-text-sub)}#app.app-shell-active .top-bar-actions{flex:0 1 auto;gap:8px}#app.app-shell-active .top-bar button.icon-btn{min-height:42px;padding:9px 12px;background:#f0f4fc;color:#3156ab;border:1px solid #e0e8f7;font-size:13px;line-height:1.4}#app.app-shell-active #top-home-btn{display:none}#app.app-shell-active #account-menu-btn{max-width:180px;overflow-wrap:anywhere}#app.app-shell-active .btn{min-height:44px;border-radius:12px;line-height:1.45}#app.app-shell-active .btn-row{flex-wrap:wrap}#app.app-shell-active input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),#app.app-shell-active select{min-height:44px;border-radius:10px}#app.app-shell-active input[type=checkbox],#app.app-shell-active input[type=radio]{accent-color:#315fe6}#app.app-shell-active .empty-state{font-size:14px;line-height:1.7;padding:28px 16px}#app.app-shell-active .tx-item{padding:16px 12px;gap:14px}#app.app-shell-active .tx-item .tx-desc{font-size:14px;overflow-wrap:anywhere}#app.app-shell-active .tx-item .tx-meta{font-size:12px;line-height:1.6}.app-shell-sidebar{display:none}.app-shell-location,.app-shell-subnav{width:100%;max-width:var(--ui-content-width);margin:0 auto;min-width:0;padding-left:20px;padding-right:20px}.app-shell-location{display:flex;align-items:center;gap:12px;min-height:55px;padding-top:10px;padding-bottom:8px;color:var(--color-text-sub);font-size:13px}#app-shell-back{flex:0 0 auto;min-height:38px;padding:7px 12px;border:1px solid var(--color-border);border-radius:10px;background:#fff;font:inherit;color:#3156ab}#app-shell-breadcrumbs{display:flex;align-items:center;flex-wrap:wrap;gap:7px;line-height:1.6;min-width:0;overflow-wrap:anywhere}#app-shell-breadcrumbs button{border:0;padding:5px 2px;background:none;color:#3156ab;font:inherit;min-height:34px}.app-shell-subnav{padding-top:0;padding-bottom:6px}#app.app-shell-active #app-shell-subnav :is(.bottom-nav,#securities-nav){position:static;inset:auto;left:auto;top:auto;bottom:auto;transform:none;display:flex;flex-flow:row wrap;align-items:stretch;justify-content:flex-start;gap:7px;width:100%;max-width:none;height:auto;max-height:none;min-height:0;margin:0;padding:10px;background:#fff;border:1px solid var(--color-border);border-radius:14px;box-shadow:var(--shadow);overflow:visible;z-index:auto}#app.app-shell-active #app-shell-subnav :is(.nav-item,.range-btn,.mobile-menu-item){display:flex!important;flex:0 1 auto;flex-direction:row;align-items:center;justify-content:center;gap:6px;min-height:42px;width:auto;margin:0;padding:9px 12px;border:0;border-radius:10px;background:transparent;color:var(--color-text-sub);font-size:13px;line-height:1.4;text-align:center;white-space:normal}#app.app-shell-active #app-shell-subnav .mobile-menu-toggle{display:none!important}#app.app-shell-active #app-shell-subnav .mobile-menu-item>span:first-child,#app.app-shell-active #app-shell-subnav .nav-emoji{display:inline;font-size:17px;margin:0}#app.app-shell-active #app-shell-subnav .active,#app.app-shell-active #app-shell-subnav [aria-current=page]{background:#eaf0ff;color:#254db7;font-weight:750}#app.app-shell-active #app-shell-subnav .badge{position:static;font-size:11px;min-width:18px;padding:1px 5px}.app-shell-mobile{position:fixed;bottom:0;left:0;right:0;z-index:65;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px;padding:8px max(10px,env(safe-area-inset-right)) calc(8px + env(safe-area-inset-bottom)) max(10px,env(safe-area-inset-left));border-top:1px solid var(--color-border);background:#fff;box-shadow:0 -4px 18px #26334c08}.app-shell-mobile button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:4px;min-height:50px;min-width:0;padding:7px 4px;border:0;border-radius:11px;background:transparent;color:#596a83;font:inherit;font-size:12px;font-weight:600;line-height:1.3}.app-shell-mobile button>span:first-child{font-size:20px}.app-shell-mobile [aria-current=page],.app-shell-mobile [aria-expanded=true]{background:#eaf0ff;color:#264eb9}.app-shell-mobile button:disabled{opacity:.45}dialog.app-shell-menu{position:fixed;max-width:640px;width:calc(100% - 28px);max-height:calc(100dvh - 50px);margin:auto;padding:22px;border:1px solid var(--color-border);border-radius:22px;background:#f8faff;color:var(--color-text);box-shadow:0 20px 70px #182d5c33;overflow-y:auto}dialog.app-shell-menu:not([open]){display:none}dialog.app-shell-menu::backdrop{background:#182d5c66}.app-shell-menu h2{font-size:22px;margin:0}.app-shell-menu-header,.app-shell-menu-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:18px}#app-shell-menu-close{min-width:44px;min-height:44px;border:1px solid var(--color-border);border-radius:11px;background:#fff;color:#3156ab;font:inherit}#app-shell-menu-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}#app-shell-menu-links button{display:flex;align-items:center;gap:10px;min-height:68px;min-width:0;padding:14px;border:1px solid var(--color-border);border-radius:14px;background:#fff;color:var(--color-text);font:inherit;font-size:14px;text-align:left;overflow-wrap:anywhere}#app-shell-menu-links button:disabled{opacity:.45}.app-shell-link-copy{display:flex;flex:1;flex-direction:column;gap:3px;min-width:0;overflow-wrap:anywhere;word-break:keep-all}.app-shell-link-note{font-size:11px;color:#63758e;line-height:1.4}.app-shell-side-heading{font-size:12px;color:var(--color-text-sub);letter-spacing:.04em;margin:0 10px 16px}.app-shell-side-foot{margin-top:auto!important;padding-top:22px;line-height:1.6;letter-spacing:0!important}.app-shell-link .app-shell-icon{display:grid;place-items:center;flex:0 0 32px;width:32px;height:32px;border-radius:10px;background:#e8efff}.app-shell-link[data-shell-tone=purple] .app-shell-icon{background:#eee5ff}.app-shell-link[data-shell-tone=pink] .app-shell-icon{background:#ffe3ee}.app-shell-link[data-shell-tone=orange] .app-shell-icon{background:#ffedcb}.app-shell-link[data-shell-tone=mint] .app-shell-icon{background:#dbf4ec}.app-shell-link[data-shell-tone=green] .app-shell-icon{background:#e7f3d5}.app-shell-link[data-shell-tone=gold] .app-shell-icon{background:#fff0bd}.app-shell-mobile .active{background:#eaf0ff;color:#264eb9}#app.app-shell-active .bulk-bar{left:50%;max-width:calc(100% - 32px);bottom:calc(var(--mobile-menu-height,72px) + 8px)}#app.app-shell-active .toast-wrap{left:50%}#app.app-shell-active .deposit-form-col{top:calc(var(--app-shell-header-height,76px) + 12px)}#app.app-shell-active #view-daily-quiz{max-width:820px}#app.app-shell-active .select-bar,#app.app-shell-active .event-review-foot{bottom:calc(var(--mobile-menu-height,72px) + 8px)}#view-home .home-hello{padding:20px 22px;border:1px solid #dde7f8;border-radius:20px;background:linear-gradient(115deg,#e8f2ff,#f3efff 58%,#fff4da);overflow:visible}#view-home .home-hello.has-avatar{grid-template-columns:168px minmax(0,1fr);grid-template-rows:0 auto auto auto 1fr auto;column-gap:24px;padding:16px 26px 0;overflow:hidden}#view-home .home-hello-avatar{width:168px;height:224px;object-position:50% 0;transform-origin:50% 0;filter:drop-shadow(0 5px 5px #465c8020)}#view-home .home-hello.has-avatar .home-hello-avatar,#view-home .home-hello.has-avatar .home-hello-avatar.wide{align-self:start;object-position:50% 0;transform-origin:50% 0;translate:0 0}#view-home .home-hello.has-avatar .home-hello-name{font-size:23px;padding:12px 17px;box-shadow:0 4px 14px #53698d13;max-width:100%;overflow-wrap:anywhere}#view-home .home-hello.has-avatar .home-hello-name.long{font-size:17px}#view-home .home-hello.has-avatar #home-hello-date{font-size:12px;margin-top:8px}#view-home .home-hello-notes{gap:8px;align-items:flex-start;margin-bottom:14px}#view-home .home-news-chip{font-size:13px;white-space:normal;line-height:1.5;box-shadow:none;min-height:38px;border-color:#d3def1}#view-home .home-alert-toggle{min-height:42px;font-size:14px;padding:8px 14px;border:0;border-radius:11px;background:#315fe6;box-shadow:none}#view-home .home-alert-toggle.calm{background:#fff;color:#596a83;border:1px solid #d3def1}#view-home .home-alert-box{padding:12px;border:1px solid #d6e0f3;border-radius:13px;box-shadow:none;background:#ffffffd9;align-items:stretch}#view-home .home-alert .home-news-chip{flex:1;justify-content:flex-start}#view-home .home-alert-x{min-width:36px;min-height:36px}#view-home .home-hello-gear{top:10px;right:10px;width:38px;height:38px;border-color:#d3def1;box-shadow:none}.home-featured:empty,.home-integrations:empty{display:none}.home-activity-layout{display:grid;grid-template-columns:minmax(0,1fr);gap:26px;margin-top:24px;align-items:start}.home-task-panel,.home-directory{min-width:0}.home-section-heading{display:flex;align-items:baseline;justify-content:space-between;gap:8px 12px;flex-wrap:wrap;margin:0 0 14px}.home-section-heading h2{font-size:18px;margin:0;line-height:1.4;letter-spacing:-.025em}.home-section-heading p{font-size:12px;margin:0;line-height:1.5}.home-task-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:12px}.home-task-list>.home-task-row:last-child:nth-child(odd){grid-column:1/-1}.home-task-list>:not(.home-task-row){grid-column:1/-1}.home-task-row{display:flex;align-items:center;gap:12px;width:100%;min-height:88px;padding:16px;border:1px solid var(--color-border);border-radius:16px;background:#fff;color:var(--color-text);text-align:left;font:inherit;box-shadow:var(--shadow)}.home-task-icon{display:grid;place-items:center;flex:0 0 40px;width:40px;height:42px;background:#e7efff;border-radius:12px;font-size:22px}.home-task-row--quiz .home-task-icon{background:#eee5ff}.home-task-row--donation .home-task-icon{background:#ffe6ee}.home-task-row--event .home-task-icon{background:#ddf5ed}.home-task-row--shop .home-task-icon{background:#fff0d5}.home-task-copy{flex:1;min-width:0;display:flex;flex-direction:column;gap:5px}.home-task-copy strong{font-size:15px;line-height:1.4;overflow-wrap:anywhere}.home-task-copy>span,.home-task-meta{font-size:12px;line-height:1.6;color:var(--color-text-sub);overflow-wrap:anywhere}.home-task-count{flex:0 0 auto;padding:4px 8px;border-radius:8px;background:#eaf0ff;color:#3156ab;font-size:13px;font-weight:750;line-height:1.4;white-space:nowrap}.home-task-arrow{flex:0 0 auto;color:#647795;font-size:21px}.home-task-meta{display:flex;align-items:center;gap:7px;flex:0 0 auto}.home-task-empty{margin:0;padding:24px 17px;border:1px dashed #cfdaed;border-radius:16px;background:#fff;color:var(--color-text-sub);font-size:14px;line-height:1.8}.home-task-list .empty-state{border:1px dashed #cfdaed;border-radius:16px;background:#fff}#view-home .home-directory .home-cards{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-flow:row;gap:12px}#view-home .home-directory .home-card{position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;gap:7px;min-width:0;min-height:134px;padding:17px 15px;border:1px solid color-mix(in srgb,var(--ui-feature-ink,#47617e) 12%,transparent);border-radius:17px;background:var(--ui-feature-bg,#edf2fc);color:var(--ui-feature-ink,#36567e);box-shadow:0 3px 10px #304d7c07;text-align:left;transform:none}#view-home .home-directory .home-card:hover{transform:none;box-shadow:0 5px 15px #304d7c12}#view-home .home-card-economy{--ui-feature-bg:linear-gradient(135deg,#e5f0ff,#d7e8ff);--ui-feature-ink:#2454a5}#view-home .home-card-quiz{--ui-feature-bg:linear-gradient(135deg,#efe7ff,#e4d9ff);--ui-feature-ink:#6440a3}#view-home .home-card-warmth{--ui-feature-bg:linear-gradient(135deg,#ffe8ef,#ffdbe7);--ui-feature-ink:#a0365c}#view-home .home-card-worry{--ui-feature-bg:linear-gradient(135deg,#fff2d5,#ffe5b5);--ui-feature-ink:#875211}#view-home .home-card-message{--ui-feature-bg:linear-gradient(135deg,#def8f2,#c8efe5);--ui-feature-ink:#176c5e}#view-home .home-card-game{--ui-feature-bg:linear-gradient(135deg,#edf6d9,#deedbd);--ui-feature-ink:#4a681e}#view-home .home-card-event{--ui-feature-bg:linear-gradient(135deg,#e5f7f3,#ccece5);--ui-feature-ink:#226e65}#view-home .home-card-roulette{--ui-feature-bg:linear-gradient(135deg,#fff0db,#ffe2b8);--ui-feature-ink:#8a571e}#view-home .home-card-character{--ui-feature-bg:linear-gradient(135deg,#f1eaff,#e2d6fb);--ui-feature-ink:#614197}#view-home .home-directory .home-card-emoji{display:grid;place-items:center;font-size:27px;line-height:1.2;width:40px;height:40px;border-radius:11px;background:#ffffffa3}#view-home .home-directory .home-card-title{font-size:17px;line-height:1.4;letter-spacing:-.025em}#view-home .home-directory .home-card-desc{font-size:12px;line-height:1.55;opacity:1;overflow-wrap:anywhere;word-break:keep-all}#view-home .home-directory .home-card-status{max-width:100%;margin-top:2px;padding:3px 7px;border-radius:8px;font-size:12px;line-height:1.6;color:inherit;background:#ffffffb8;overflow-wrap:anywhere}#view-home .home-directory .home-card-status:empty{display:none}#view-home .home-directory .home-card-status.new,#view-home .home-directory .home-card-status.alert{background:#fff;color:#aa2745;box-shadow:none}#view-home .home-directory .home-card-status.done{background:#fff9db;color:#74551b}#view-home .home-directory .home-card-off-tag,#view-home .home-directory .home-card-time-tag{font-size:11px;padding:3px 7px;background:#526481;color:#fff}#view-home .home-directory .home-card-cta{margin-top:auto;padding:3px 8px;background:#ffffffb8;color:inherit;font-size:12px}#view-home .home-chat-icon svg{width:29px;height:29px;filter:none}#view-home .home-chat-icon svg path{fill:#247d6b}#view-home .home-chat-icon svg circle{fill:#fff}.home-integrations{display:grid;gap:18px;margin-top:24px}.home-integrations>.home-card{min-height:0;padding:20px;border-radius:18px}.home-integrations .home-card-title{font-size:20px}.home-integrations .home-card-emoji{font-size:28px}.home-integrations .home-week{margin:0}.home-admin-tools .home-week{padding:20px;border-radius:18px}.home-admin-tools .home-week-summary{justify-content:flex-start;gap:10px;min-height:30px}.home-admin-tools .home-week-summary .home-card-emoji{display:inline-flex;align-items:center;justify-content:center;flex:0 0 28px;width:28px;font-size:28px;line-height:1}.home-admin-tools .home-card.folded .home-cal-head .home-card-emoji{display:inline-flex;align-items:center;justify-content:center;flex:0 0 28px;width:28px;font-size:28px;line-height:1}.home-admin-tools .home-fold-btn,.home-admin-tools .home-week-toggle{box-sizing:border-box;flex:0 0 60px;width:60px;min-width:60px;height:30px;min-height:30px;padding:5px 10px;font-family:inherit;font-size:13px;font-weight:800;line-height:20px;transform:none;zoom:1}@media(max-width:599px){.home-admin-tools .home-week-summary{flex-wrap:wrap}.home-admin-tools .home-week-summary .home-card-title{font-size:18px}.home-admin-tools .home-week-summary #home-week-from{order:4;flex-basis:100%;padding-left:38px}}.home-admin-tools.home-integrations{margin:0 0 20px}.home-admin-tools:not(:has(>:not(.hidden))){display:none}#app.app-shell-active :is(.play-list,.activity-list){display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr));gap:16px;margin-top:18px;max-width:none;width:100%}#app.app-shell-active :is(.play-tile,.activity-tile){min-width:0;min-height:148px;padding:22px;border-radius:18px;align-items:center;gap:16px}#app.app-shell-active .play-tile .t{min-width:0;line-height:1.6}#app.app-shell-active .play-tile .t strong{font-size:20px;line-height:1.4}#app.app-shell-active .play-tile .t>span{font-size:13px;overflow-wrap:anywhere}#app.app-shell-active .activity-tile .home-card-title{font-size:20px}#app.app-shell-active .activity-exam{background:linear-gradient(135deg,#e6f1ff,#c6ddff);color:#2b5386;box-shadow:0 4px 14px #2b538612}#app.app-shell-active .activity-tower{background:linear-gradient(135deg,#f3edff,#d9caff);color:#4f3a96;box-shadow:0 4px 14px #4f3a9614}#app.app-shell-active .activity-bank{background:linear-gradient(135deg,#fff3d5,#ffe5b5);color:#875211;box-shadow:0 4px 14px #87521112}#app.app-shell-active .activity-securities{background:linear-gradient(135deg,#e5f0ff,#d7e8ff);color:#2454a5;box-shadow:0 4px 14px #2454a512}#app.app-shell-active .activity-shop{background:linear-gradient(135deg,#edf6d9,#deedbd);color:#4a681e;box-shadow:0 4px 14px #4a681e12}#app.app-shell-active .activity-donation{background:linear-gradient(135deg,#fff0dd,#ffe3c3);color:#875211;box-shadow:0 4px 14px #87521112}#app.app-shell-active .activity-radio{background:linear-gradient(135deg,#fff1e0,#ffe3c4);color:#9a5a12;box-shadow:0 4px 14px #9a5a1212}#app.app-shell-active .activity-thanks{background:linear-gradient(135deg,#ffe8ef,#ffdbe7);color:#a0365c;box-shadow:0 4px 14px #a0365c12}#app.app-shell-active :is(#history-filters,.stock-trades-filters,.thanks-history-filter,.donation-history-filters){display:flex;align-items:flex-end;flex-wrap:wrap;gap:12px;padding:16px;border:1px solid var(--color-border);border-radius:16px;background:#fff;box-shadow:var(--shadow);margin-bottom:18px}.ui-filter-field{display:flex;flex:1 1 160px;flex-direction:column;gap:7px;min-width:0;margin:0;font-size:12px;color:var(--color-text-sub)}.ui-filter-field:has(>.hidden){display:none}#history-filters .ui-filter-field select,#history-filters .ui-filter-field input{width:100%;min-width:0;margin:0}#app.app-shell-active :is(.stock-trades-filters,.thanks-history-filter,.donation-history-filters) label{display:flex;flex:1 1 160px;min-width:0;flex-direction:column;gap:7px;margin:0;font-size:12px;color:var(--color-text-sub)}#app.app-shell-active :is(.stock-trades-filters,.thanks-history-filter,.donation-history-filters) input,#app.app-shell-active :is(.stock-trades-filters,.thanks-history-filter,.donation-history-filters) select{width:100%;margin:0;min-width:0;min-height:44px}#app.app-shell-active :is(#history-filters,.stock-trades-filters,.thanks-history-filter,.donation-history-filters) .btn{flex:0 1 auto;width:auto;min-height:44px;margin:0}@media(min-width:768px){.home-activity-layout{gap:26px}.home-task-list{grid-template-columns:repeat(2,minmax(0,1fr))}#view-home .home-directory .home-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}#view-home .home-directory .home-card{min-height:148px;padding:18px}}@media(min-width:1024px){#view-home .home-hello.has-avatar{grid-template-columns:196px minmax(0,1fr)}#view-home .home-hello-avatar{width:196px;height:261px}#app.app-shell-active,#app.app-shell-active.with-bottom-nav,#app.app-shell-active.with-section-sidebar{padding-left:var(--ui-shell-width);padding-bottom:0}#app.app-shell-active .top-bar{margin-left:calc(-1 * var(--ui-shell-width));width:calc(100% + var(--ui-shell-width));padding-left:28px;padding-right:28px}#app.app-shell-active .screen{padding:24px 32px 40px}.app-shell-sidebar{position:fixed;display:flex;flex-direction:column;top:var(--app-shell-header-height,76px);bottom:0;left:0;z-index:45;width:var(--ui-shell-width);padding:22px 14px;background:#fff;border-right:1px solid var(--color-border);overflow-y:auto}#app-shell-side-links{display:grid;gap:5px}.app-shell-sidebar p,.app-shell-sidebar h2{font-size:12px;color:var(--color-text-sub);letter-spacing:.04em;margin:0 10px 16px}#app-shell-side-links button{display:flex;align-items:center;gap:11px;width:100%;min-height:45px;padding:11px 13px;border:0;border-radius:11px;background:transparent;color:#53647e;font:inherit;font-size:14px;line-height:1.4;text-align:left}#app-shell-side-links button>span:first-child{font-size:19px}#app-shell-side-links [aria-current=page]{background:#eaf0ff;color:#294fb2;font-weight:750}#app-shell-side-links button:disabled{opacity:.45}.app-shell-mobile{display:none}.app-shell-location,.app-shell-subnav{padding-left:32px;padding-right:32px}#app.app-shell-active .toast-wrap{left:calc(50% + var(--ui-shell-width)/2)}#app.app-shell-active .bulk-bar{left:calc(50% + var(--ui-shell-width)/2);bottom:20px;max-width:680px;border:1px solid var(--color-border);border-radius:15px}#app.app-shell-active .select-bar,#app.app-shell-active .event-review-foot{bottom:16px}}@media(min-width:1180px){#view-home .home-directory .home-cards{grid-template-columns:repeat(3,minmax(0,1fr))}}@media(max-width:767px){#app-shell-menu-links button{padding:12px;gap:8px;font-size:13px}#app-shell-menu-links .app-shell-icon{flex-basis:28px;width:28px;height:30px;font-size:18px}#app.app-shell-active .screen{padding:18px 16px 28px}#app.app-shell-active .screen>.brand h1{font-size:23px!important}#app.app-shell-active .top-bar{padding:10px 14px;gap:8px;min-height:66px}#app.app-shell-active .top-bar-brand{flex-basis:130px;gap:8px}#app.app-shell-active .top-bar .title{font-size:15px}#app.app-shell-active .top-bar .sub{font-size:11px}#app.app-shell-active .top-bar-actions{gap:5px}#app.app-shell-active .top-bar button.icon-btn{min-height:40px;font-size:12px;padding:8px}#app.app-shell-active #account-menu-btn{max-width:130px}.app-shell-location,.app-shell-subnav{padding-left:16px;padding-right:16px}#app.app-shell-active #app-shell-subnav :is(.nav-item,.range-btn,.mobile-menu-item){min-height:44px;padding:9px 10px;font-size:12px}#app.app-shell-active .card{padding:18px 16px}#app.app-shell-active input:not([type=checkbox]):not([type=radio]):not([type=range]):not([type=color]),#app.app-shell-active select,#app.app-shell-active textarea{font-size:16px!important;max-width:100%}#app.app-shell-active .qty-btn{min-width:36px;min-height:44px}#view-home .home-hello.has-avatar{grid-template-columns:104px minmax(0,1fr);column-gap:12px;padding:14px 15px 0}#view-home .home-hello.has-avatar.has-gear{padding-top:45px}#view-home .home-hello-avatar{width:104px;height:139px}#view-home .home-hello.has-avatar .home-hello-name{font-size:18px;padding:10px 12px;line-height:1.5}#view-home .home-hello.has-avatar .home-hello-name.long{font-size:15px}#view-home .home-hello.has-avatar .home-hello-notes{grid-column:1/-1;grid-row:6;justify-self:stretch;align-items:stretch;width:100%;margin:12px 0 15px}#view-home .home-alert-toggle{min-height:44px;align-self:flex-start}#view-home .home-alert-box{width:100%;box-sizing:border-box}#view-home .home-alert{min-width:0;width:100%}#view-home .home-alert .home-news-chip{min-width:0;display:grid;grid-template-columns:16px minmax(0,1fr);gap:4px 6px;border-radius:12px;padding:9px 10px}#view-home .home-alert .home-news-chip .t{grid-column:2;line-height:1.5}#view-home .home-alert .home-news-chip .go{grid-column:2;justify-self:end;font-size:12px}#view-home .home-hello.has-avatar.long-bubble{grid-template-rows:auto 1fr auto auto 1fr auto}#view-home .home-hello.has-avatar.long-bubble .home-hello-name{grid-column:1/-1;grid-row:1}#view-home .home-hello.has-avatar.long-bubble .home-hello-avatar{grid-row:2/6}.home-activity-layout{margin-top:22px;gap:25px}.home-task-row{min-height:86px;padding:15px 12px;gap:10px}.home-task-copy strong{font-size:15px}.home-task-icon{flex-basis:36px;width:36px;height:40px}.home-task-count{font-size:12px;padding:4px 7px}.home-task-arrow{display:none}#app.app-shell-active :is(.play-tile,.activity-tile){padding:19px 16px;min-height:132px;gap:13px}#app.app-shell-active :is(#history-filters,.stock-trades-filters,.thanks-history-filter,.donation-history-filters){padding:14px;gap:12px}#app.app-shell-active :is(#history-filters,.stock-trades-filters,.thanks-history-filter,.donation-history-filters) .btn{flex-basis:100%;width:100%}}@media(max-width:359px){#app.app-shell-active .top-bar-brand{flex-basis:100%}#app.app-shell-active .top-bar-actions{margin-left:auto}#view-home .home-directory .home-card{padding:14px 12px}#view-home .home-directory .home-card-title{font-size:16px}#app-shell-menu-links{gap:8px}#app-shell-menu-links button{padding:11px;font-size:13px}}@media(prefers-reduced-motion:reduce){.app-shell-active .home-card,.app-shell-active .home-task-row{transition:none;animation:none}}#app.app-shell-active .screen.has-bulk-bar{padding-bottom:190px}#app.app-shell-active #view-stock-manage.has-bulk-bar{padding-bottom:340px}

#view-home #home-trophy-card{grid-column:1 / -1;display:flex;flex-direction:row;align-items:stretch;gap:18px;min-height:292px;padding:18px;color:#78501b;background:linear-gradient(115deg,#fff0bf,#fff9e8 58%,#ffefd8);border:1px solid #e8ce8b;border-radius:var(--ui-radius, 18px);text-align:left;--trophy-slot: 122px;--trophy-gap: 10px}#view-home #home-trophy-card .home-trophy-head,#view-home #home-trophy-card.has-tiles .home-trophy-head{display:flex;flex:0 0 132px;width:132px;min-width:0;flex-direction:column;align-items:flex-start;justify-content:center;gap:7px}#view-home #home-trophy-card .home-card-emoji{font-size:28px}#view-home #home-trophy-card .home-card-title{font-size:24px;color:#78501b}#view-home #home-trophy-card .home-card-desc{font-size:13px;line-height:1.55;color:#785b2e;opacity:1}#view-home #home-trophy-card .home-card-status{color:#785b2e;background:#fff9e7;font-size:12px}#view-home #home-trophy-card .home-trophy-actions{display:flex;flex-direction:column;align-items:flex-start;gap:10px;margin-top:7px}#view-home #home-trophy-card #home-trophy-open{min-height:44px;padding:9px 11px;border:1px solid #dfbf75;border-radius:10px;background:#fffaf0;color:#74501c;font:inherit;font-size:12px;font-weight:700}#view-home #home-trophy-card #home-trophy-pager{display:flex;align-items:center;gap:5px}#view-home #home-trophy-card #home-trophy-pager.hidden{display:none}#view-home #home-trophy-card [data-home-trophy-step]{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;padding:4px;border:1px solid #dfbf75;border-radius:10px;background:#fffaf0;color:#74501c;font:inherit;font-size:21px}#view-home #home-trophy-card #home-trophy-page{min-width:30px;text-align:center;font-size:12px;white-space:nowrap}#view-home #home-trophy-card .home-trophy-tiles{display:flex;flex:1 1 auto;align-items:stretch;gap:var(--trophy-gap);min-width:0;height:254px;margin:0}#view-home #home-trophy-card .home-trophy-tiles.hidden{display:none}#view-home #home-trophy-card .home-trophy-tiles .trophy-tile.trophy-stage{display:flex;flex-direction:column;flex:var(--n, 1) 1 calc(var(--trophy-slot) * var(--n, 1) + var(--trophy-gap) * (var(--n, 1) - 1));align-items:stretch;min-width:0;max-width:none;padding:10px 8px 12px;border-radius:14px;box-shadow:none;animation:none!important;transition:none!important}#view-home #home-trophy-card .trophy-pods-label,#view-home #home-trophy-card .trophy-tile-label{min-height:29px;margin:0;padding-bottom:4px;font-size:13px;line-height:1.3;white-space:normal;overflow:visible;text-overflow:clip}#view-home #home-trophy-card .home-trophy-tiles .trophy-tile.trophy-stage>.trophy-stage-figs{display:grid;flex:1 1 auto;align-items:end;justify-items:center;min-height:0;height:auto}#view-home #home-trophy-card .home-trophy-tiles.pods-fixed .trophy-pod{--home-trophy-pod: min(var(--pod-w), 136px);width:var(--home-trophy-pod);padding-top:max(0px,calc((1.4 - var(--ar)) * var(--home-trophy-pod)))}#view-home #home-trophy-card .trophy-pod-plate .podium-name{font-size:12px}#view-home #home-trophy-card .trophy-pod-plate .podium-rec{font-size:11px}#view-home #home-trophy-card .trophy-tile::after{animation:none!important;display:none}@media(max-width:767px){#view-home #home-trophy-card{flex-direction:column;gap:12px;padding:14px;min-height:0;--trophy-slot: 122px;--trophy-gap: 8px}#view-home #home-trophy-card .home-trophy-head,#view-home #home-trophy-card.has-tiles .home-trophy-head{flex:0 0 auto;width:100%;flex-direction:row;align-items:center;flex-wrap:wrap;gap:8px}#view-home #home-trophy-card .home-trophy-head .home-card-emoji{font-size:23px}#view-home #home-trophy-card .home-card-title{font-size:21px}#view-home #home-trophy-card .home-trophy-head>.home-card-desc{display:none}#view-home #home-trophy-card .home-trophy-actions{flex-direction:row;align-items:center;flex-wrap:wrap;gap:7px;width:100%;margin-top:2px}#view-home #home-trophy-card #home-trophy-pager{margin-left:auto}#view-home #home-trophy-card .home-trophy-tiles{flex:0 0 auto;width:100%;height:254px}}
