*{box-sizing:border-box}html,body{margin:0;min-height:100%;height:auto!important;overflow-x:hidden;overflow-y:auto!important;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;background:#0d1b2a;color:#1f2d24}.ufo-playground-shell[hidden]{display:none}.ufo-chrome-sound{display:flex;pointer-events:auto}body:has(.ufo-playground-shell){height:100dvh!important;overflow:hidden!important}.ufo-playground-shell{position:relative;width:100%;height:100%;overflow:hidden;display:flex;flex-direction:column;background:#b9ddd4}.ufo-top-chrome{position:absolute;top:14px;left:16px;right:16px;z-index:30;display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;pointer-events:none}.ufo-chrome-left,.ufo-chrome-center,.ufo-chrome-right,.ufo-flight-controls{display:flex;align-items:center;gap:8px;flex-wrap:wrap;pointer-events:auto}.ufo-pill-btn,.ufo-pill-select{display:inline-flex;align-items:center;gap:7px;height:40px;padding:0 14px;border-radius:999px;border:1.5px solid rgba(45,81,58,.22);background:#fffef5f0;color:#213e2c;font-size:14px;font-weight:650;cursor:pointer;box-shadow:0 4px 14px #10241a24;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);transition:transform .14s ease,background .14s ease}.ufo-pill-btn:hover:not(:disabled),.ufo-pill-select:hover{transform:translateY(-1px);background:#fff}.ufo-pill-btn:disabled{opacity:.55;cursor:not-allowed}html,body{max-width:100%;overflow-x:hidden}@media (pointer: coarse){.ufo-pill-btn,.ufo-pill-select,.ufo-close-btn,.primary-btn,.secondary-btn{min-height:44px}.ufo-close-btn{min-width:44px}}.ufo-dot-online{width:9px;height:9px;border-radius:50%;background:#22c55e;box-shadow:0 0 0 3px #22c55e38}.ufo-badge-sm{background:#e3efe0;color:#2c5b3c;padding:2px 8px;border-radius:999px;font-size:12px;font-weight:700}.ufo-draw-btn{height:46px;padding:0 24px;border-radius:999px;border:2px solid #1d4ed8;background:linear-gradient(135deg,#2563eb,#0ea5e9);color:#fff;font-size:16px;font-weight:800;cursor:pointer;box-shadow:0 8px 22px #2563eb61;transition:transform .15s ease,box-shadow .15s ease}.ufo-draw-btn:hover:not(:disabled){transform:translateY(-2px) scale(1.02);box-shadow:0 10px 26px #2563eb80}.ufo-draw-btn:disabled{opacity:.65;cursor:wait}.ufo-stage-wrap{position:relative;flex:1;width:100%;height:100%}.ufo-scene-canvas{width:100%;height:100%;display:block}.ufo-bottom-caption{position:absolute;bottom:12px;left:50%;transform:translate(-50%);z-index:25;display:flex;align-items:center;gap:14px;padding:8px 18px;border-radius:999px;background:#0f1d17d1;color:#f4f7ee;font-size:13.5px;font-weight:500;-webkit-backdrop-filter:blur(8px);backdrop-filter:blur(8px);max-width:92vw;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.ufo-link-btn{background:#fde047;color:#1c2d1f;border:none;border-radius:999px;padding:4px 11px;font-size:12.5px;font-weight:700;cursor:pointer}.ufo-attendance-layer{position:absolute;top:0;right:0;bottom:0;left:0;z-index:35;pointer-events:none}.ufo-attendance-tether{position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}.ufo-attendance-card{position:absolute;top:72px;left:50%;transform:translate(-50%);width:min(500px,92vw);background:#0f172af0;color:#f8fafc;border:2px solid #fde047;border-radius:22px;padding:18px 22px;box-shadow:0 18px 40px #00000073;pointer-events:auto;text-align:center}.ufo-attendance-meta{display:flex;justify-content:space-between;align-items:center;font-size:13px;color:#cbd5e1;margin-bottom:6px}.ufo-timer-normal{color:#fde047;font-size:18px}.ufo-timer-danger{color:#f87171;font-size:20px}.ufo-attendance-card h2{margin:6px 0 12px;font-size:28px;color:#fff}.ufo-attendance-progress-bar{width:100%;height:8px;background:#ffffff29;border-radius:999px;overflow:hidden;margin-bottom:14px}.ufo-attendance-progress-fill{height:100%;background:linear-gradient(90deg,#22c55e,#fde047,#ef4444);transition:width .1s linear}.ufo-attendance-actions{display:flex;justify-content:center;gap:8px;flex-wrap:wrap}.ufo-att-btn{padding:9px 15px;border-radius:12px;border:none;font-weight:700;font-size:14px;cursor:pointer}.ufo-att-present{background:#22c55e;color:#052e16}.ufo-att-absent{background:#ef4444;color:#fff}.ufo-att-skip{background:#334155;color:#f1f5f9}.ufo-att-stop{background:transparent;border:1px solid #64748b;color:#cbd5e1}.ufo-result-layer{position:absolute;top:0;right:0;bottom:0;left:0;z-index:45;background:#091222c2;-webkit-backdrop-filter:blur(5px);backdrop-filter:blur(5px);display:flex;align-items:center;justify-content:center;padding:20px}.ufo-result-layer[hidden]{display:none!important}.ufo-celebration-canvas{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;pointer-events:none}.ufo-celebration-canvas.ufo-front{z-index:2}.ufo-result-card{position:relative;z-index:1;background:#fffef7;color:#1f3325;border-radius:28px;padding:24px 28px;width:min(880px,95vw);max-height:92vh;overflow-y:auto;text-align:center;box-shadow:0 24px 60px #00000073;border:3px solid #d4e2c8}.ufo-winners-grid{display:flex;flex-wrap:wrap;justify-content:center;gap:16px;margin:20px 0 24px}.ufo-winner-item{background:#f2f7ec;border:1.5px solid #cfe0c3;border-radius:20px;padding:14px 18px;min-width:160px;display:flex;flex-direction:column;align-items:center;gap:8px}.ufo-winner-item strong{font-size:19px;color:#1b3b28}.ufo-absent-redraw-btn{background:#fee2e2;color:#991b1b;border:1px solid #fca5a5;border-radius:999px;padding:5px 12px;font-size:12px;font-weight:600;cursor:pointer}.ufo-modal-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:60;background:#0a1420ad;-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px);display:flex;align-items:center;justify-content:center;padding:16px}.ufo-modal-dialog{background:#fffef8;color:#1e3124;border-radius:24px;width:min(560px,95vw);max-height:90vh;overflow-y:auto;box-shadow:0 24px 60px #0006;border:2px solid #d7e2cb;display:flex;flex-direction:column}.ufo-modal-lg{width:min(860px,96vw)}.ufo-modal-header{display:flex;align-items:center;justify-content:space-between;padding:18px 24px;border-bottom:1px solid #e3eadb}.ufo-modal-header h2{margin:0;font-size:20px}.ufo-close-btn{background:#edf2e6;border:none;width:34px;height:34px;border-radius:50%;font-size:16px;cursor:pointer}.ufo-modal-body{padding:20px 24px;display:flex;flex-direction:column;gap:16px}:root{--field-height: 44px;--field-radius: 12px;--field-border: #94a3b8;--field-border-hover: #64748b;--field-border-focus: #2563eb;--field-border-invalid: #dc2626;--field-ring: 0 0 0 3px rgba(37, 99, 235, .22);--field-bg: #ffffff;--field-bg-disabled: #f1f5f9;--field-ink: #0f172a;--field-ink-disabled: #64748b;--field-placeholder: #64748b;--field-font-size: 15px;--field-label-ink: #1e293b;--field-hint-ink: #64748b}:where(input:not([type=checkbox],[type=radio],[type=range],[type=file],[type=color],[type=hidden],[type=submit],[type=button],[type=reset],[type=image]),select,textarea):where(:not(.ufo-code-input,.ufo-note-cell-input,.ufo-pill-select)){box-sizing:border-box;width:100%;min-width:0;height:var(--field-height);margin:0;padding:0 14px;border:1.5px solid var(--field-border);border-radius:var(--field-radius);background-color:var(--field-bg);color:var(--field-ink);font-family:inherit;font-size:var(--field-font-size);font-weight:500;line-height:1.4;color-scheme:light;transition:border-color .16s ease,box-shadow .16s ease,background-color .16s ease}:where(textarea):where(:not(.ufo-note-cell-input)){height:auto;min-height:96px;padding:10px 14px;resize:vertical}:where(select):where(:not(.ufo-pill-select)){-webkit-appearance:none;-moz-appearance:none;appearance:none;padding-right:40px;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23475569' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 14px center;text-overflow:ellipsis;cursor:pointer}:where(select[multiple],select[size]:not([size="1"])){height:auto;padding:6px 10px;background-image:none}:where(input,textarea)::placeholder{color:var(--field-placeholder);font-weight:400;opacity:1}:where(input,select,textarea):where(:not(.ufo-code-input,.ufo-note-cell-input,.ufo-pill-select,[type=checkbox],[type=radio],[type=range])):hover:not(:disabled,:focus){border-color:var(--field-border-hover)}:where(input,select,textarea):where(:not(.ufo-note-cell-input,.ufo-pill-select,[type=checkbox],[type=radio],[type=range])):focus-visible,:where(input,select,textarea):where(:not(.ufo-note-cell-input,.ufo-pill-select,[type=checkbox],[type=radio],[type=range])):focus{outline:none;border-color:var(--field-border-focus);box-shadow:var(--field-ring)}:where(input,select,textarea)[aria-invalid=true]{border-color:var(--field-border-invalid)}:where(input,select,textarea):disabled,:where(input,textarea)[readonly]{background-color:var(--field-bg-disabled);color:var(--field-ink-disabled);cursor:not-allowed}:where(input,textarea)[readonly]{cursor:default}:where(input):-webkit-autofill,:where(input):-webkit-autofill:hover,:where(input):-webkit-autofill:focus{-webkit-box-shadow:0 0 0 1000px var(--field-bg) inset,var(--field-ring);-webkit-text-fill-color:var(--field-ink);caret-color:var(--field-ink)}.ufo-field,:is(.ufo-modal-body,.ufo-join-card,.ufo-claim-box,.ufo-form-row) label:not(.primary-btn,.secondary-btn,:has(>input[type=checkbox],>input[type=radio])),.avatar-editor-field{display:flex;flex-direction:column;gap:6px;min-width:0;font-weight:700;font-size:14px;color:var(--field-label-ink)}.ufo-field-label{font-size:14px;font-weight:700;color:var(--field-label-ink)}.ufo-field-hint{font-size:12.5px;font-weight:500;color:var(--field-hint-ink)}.ufo-form-stack{display:flex;flex-direction:column;gap:14px}.ufo-form-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:14px 16px;align-items:start}:where(input,select).ufo-field-xl{height:52px;padding:0 16px;font-size:19px;font-weight:700}.ufo-form-grid>.ufo-checkbox-label{align-self:end;min-height:var(--field-height);padding-bottom:0}.ufo-form-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px}.ufo-filter-bar{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.ufo-filter-bar>:where(input,select){width:auto;flex:1 1 180px;min-width:160px}.ufo-filter-bar>:where(select){max-width:260px}.ufo-filter-bar>:where(input[type=search],input[type=text]){flex:1 1 240px}.ufo-on-dark{--field-label-ink: #e2e8f0;--field-hint-ink: #94a3b8}.ufo-claim-box{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:14px;padding:16px;margin-bottom:16px;border-radius:16px;background:#f8fafc;border:1.5px solid #e2e8f0}.avatar-editor{display:grid;grid-template-columns:minmax(220px,300px) minmax(0,860px);gap:20px;align-items:start;margin-top:12px}@media (max-width: 720px){.avatar-editor{grid-template-columns:1fr}}.avatar-editor-preview{display:flex;flex-direction:column;align-items:center;gap:10px;padding:16px;border-radius:18px;background:#f4f8ee;border:1.5px solid #cde0be;text-align:center}.avatar-editor-canvas{width:100%;max-width:260px;height:auto;border-radius:14px;background:#fff}.avatar-editor-shuffle{padding:8px 14px;border-radius:999px;border:1.5px solid #cbd5e1;background:#fff;font-weight:700;font-size:13px;cursor:pointer}.avatar-editor-hint{margin:0;font-size:12px;color:#64748b}.avatar-editor-fields{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:12px}.avatar-editor-field{position:relative}.avatar-editor-color{position:absolute;right:36px;bottom:12px;width:22px;height:22px;border-radius:6px;border:1.5px solid rgba(15,23,42,.2);pointer-events:none}.ufo-form-row{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,220px),1fr));gap:14px;align-items:end}.ufo-checkbox-label{flex-direction:row!important;align-items:center;gap:8px!important;padding-bottom:10px}.ufo-roster-tools,.ufo-modal-footer,.ufo-student-detail-actions{display:flex;justify-content:flex-end;gap:10px;flex-wrap:wrap}.ufo-env-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(144px,1fr));gap:10px}.ufo-env-card{padding:12px 14px;border-radius:16px;border:2px solid #d5e1c8;background:#f6f9f1;cursor:pointer;display:flex;flex-direction:column;gap:4px;text-align:left;transition:border-color .15s ease,background .15s ease,transform .12s ease}.ufo-env-card:hover{border-color:#93c5fd;transform:translateY(-1px)}.ufo-env-card.active{border-color:#2563eb;background:#eff6ff}.ufo-env-desc{font-size:12px;font-weight:600;color:#2563eb;line-height:1.3}.ufo-env-card small{font-size:11px;color:#64748b}.ufo-qr-modal-body{flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:center;gap:24px}.ufo-qr-code-box{background:#fff;padding:14px;border-radius:20px;border:2px solid #d8e3ce}.ufo-qr-canvas{width:240px;max-width:100%;height:auto;aspect-ratio:1;display:block}.ufo-qr-info{flex:1;min-width:240px;display:flex;flex-direction:column;gap:10px}.ufo-big-join-code{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:42px;font-weight:900;letter-spacing:5px;color:#1e40af;background:#eff6ff;padding:10px 18px;border-radius:16px;text-align:center;border:2px dashed #93c5fd}.ufo-qr-actions{display:flex;flex-wrap:wrap;gap:8px}.ufo-join-page{min-height:100dvh;width:100%;background:linear-gradient(180deg,#0b172a,#152c4a);color:#1f2d24;padding-bottom:60px}.ufo-join-topbar{position:sticky;top:0;z-index:40;display:flex;align-items:center;justify-content:space-between;padding:16px 28px;background:#0b172aeb;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);border-bottom:1px solid rgba(255,255,255,.12);color:#fff}.ufo-brand{display:flex;align-items:center;gap:12px;cursor:pointer}.ufo-brand-icon{font-size:30px}.ufo-brand small{display:block;color:#94a3b8;font-size:12.5px}.ufo-join-nav-links{display:flex;gap:10px}.ufo-join-container{max-width:960px;margin:28px auto;padding:0 16px;display:flex;flex-direction:column;gap:22px}.ufo-join-card{background:#fffef7;border-radius:26px;padding:26px 30px;box-shadow:0 18px 44px #00000047;border:2px solid #d8e3cd}.ufo-code-form{display:flex;align-items:center;gap:12px;flex-wrap:wrap;margin-top:12px}.ufo-code-input{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:22px;font-weight:800;letter-spacing:3px;height:var(--field-height);padding:0 16px;border-radius:var(--field-radius);border:1.5px solid var(--field-border);background:#fff;color:#0f172a;width:250px;text-transform:uppercase;transition:border-color .16s ease,box-shadow .16s ease}.ufo-class-banner{margin-top:18px;padding:16px 20px;border-radius:18px;background:#eef6e8;border:1.5px solid #bdd3ae;display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px}.ufo-badge{display:inline-block;background:#dbeafe;color:#1e40af;font-size:11.5px;font-weight:800;padding:4px 10px;border-radius:999px;letter-spacing:.8px}.ufo-mode-tabs{display:flex;gap:8px;flex-wrap:wrap;padding:6px 24px 0}.ufo-join-card .ufo-mode-tabs{padding:0;margin:12px 0}.ufo-mode-tabs button{padding:8px 14px;border-radius:999px;border:1.5px solid #cbd5e1;background:#f8fafc;font-weight:600;cursor:pointer}.ufo-mode-tabs button.active{background:#2563eb;color:#fff;border-color:#2563eb}.primary-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:var(--field-height);padding:0 20px;border-radius:var(--field-radius);border:none;background:#2563eb;color:#fff;font-weight:700;font-size:14.5px;text-decoration:none;cursor:pointer}.secondary-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:var(--field-height);padding:0 18px;border-radius:var(--field-radius);border:1.5px solid #cbd5e1;background:#f8fafc;color:#1e293b;font-weight:600;font-size:14px;text-decoration:none;cursor:pointer}.ufo-btn-lg{padding:13px 24px;font-size:16px}.ufo-profile-card-box{margin-top:16px;padding:20px;border-radius:20px;background:#f4f8ee;border:1.5px solid #cde0be;text-align:center}.ufo-profile-card-img{width:min(440px,100%);height:auto;border-radius:20px;box-shadow:0 12px 32px #00000029;margin:14px 0}.ufo-recovery-banner{margin:12px 0;padding:12px 16px;background:#fef9c3;border:1.5px solid #fde047;border-radius:14px;display:flex;align-items:center;justify-content:center;gap:10px;flex-wrap:wrap}.ufo-alert-error{margin-top:12px;padding:12px 16px;border-radius:12px;background:#fee2e2;color:#991b1b;font-weight:600}.ufo-alert-info{margin:0 0 12px;padding:12px 16px;border-radius:12px;background:#e0f2fe;color:#075985;font-weight:600;line-height:1.5}.ufo-toast{position:fixed;bottom:62px;left:50%;transform:translate(-50%);z-index:80;background:#0f172a;color:#f8fafc;padding:10px 20px;border-radius:999px;font-weight:600;box-shadow:0 10px 28px #00000059;border:1.5px solid #38bdf8}.ufo-history-toolbar{display:flex;justify-content:space-between;align-items:end;flex-wrap:wrap;gap:12px}.ufo-history-toolbar>.ufo-field{flex:0 1 240px}.ufo-history-list{display:flex;flex-direction:column;gap:10px}.ufo-history-item{display:flex;justify-content:space-between;align-items:center;padding:12px 16px;background:#f5f8f0;border:1px solid #d5e1c8;border-radius:14px}.ufo-guide-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(260px,1fr));gap:16px;margin:22px 0}.ufo-guide-feature{background:#f4f8ef;border:1.5px solid #d5e2c8;border-radius:18px;padding:18px}.ufo-faq-list details{background:#f8faf5;border:1px solid #d8e3ce;border-radius:14px;padding:12px 16px;margin-bottom:10px}.ufo-faq-list summary{font-weight:700;cursor:pointer}.ufo-guide-cta{display:flex;gap:12px;flex-wrap:wrap;margin-top:24px}.ufo-cm-toolbar{display:flex;align-items:center;gap:10px;flex-wrap:wrap;margin-bottom:14px}.ufo-cm-search-input{width:auto;min-width:220px;flex:1 1 220px}.ufo-cm-select{width:auto;min-width:170px;flex:0 1 200px}.ufo-cm-toolbar-actions{display:flex;gap:8px;margin-left:auto;flex-wrap:wrap}.ufo-cm-empty{padding:32px 20px;text-align:center;background:#f8faf5;border:1.5px dashed #cbd5e1;border-radius:16px;color:#475569}.ufo-cm-table-wrap{overflow-x:auto;border:1.5px solid #d5e1c8;border-radius:16px;background:#fff}.ufo-cm-table{width:100%;border-collapse:collapse;font-size:13.5px}.ufo-cm-table th,.ufo-cm-table td{padding:10px 12px;border-bottom:1px solid #e2e8f0;text-align:left;vertical-align:middle}.ufo-cm-table th{background:#f1f5f9;color:#1e293b;font-weight:700;position:sticky;top:0;z-index:2}.ufo-cm-table tbody tr:hover{background:#f8fafc}.ufo-cm-subtext{font-size:12px;color:#64748b;margin-top:2px}.ufo-mono{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:12.5px}.ufo-cm-tag{display:inline-block;padding:3px 9px;border-radius:999px;font-size:11.5px;font-weight:700}.ufo-cm-tag-team{background:#e0f2fe;color:#0369a1}.ufo-cm-tag-pos{background:#fef3c7;color:#b45309}.ufo-cm-status-badge{display:inline-block;padding:3px 8px;border-radius:999px;font-size:12px;font-weight:700}.ufo-cm-status-badge.active{background:#dcfce7;color:#166534}.ufo-cm-status-badge.locked{background:#fee2e2;color:#991b1b}.ufo-cm-row-actions{display:flex;gap:6px;flex-wrap:nowrap}.ufo-btn-xs{padding:5px 10px;font-size:12px;border-radius:9px}.ufo-btn-danger{color:#dc2626!important;border-color:#fca5a5!important}.ufo-cm-avatar-picker{display:flex;align-items:center;gap:14px;padding:12px 16px;background:#f8fafc;border:1.5px solid #e2e8f0;border-radius:16px}.ufo-cred-box{background:#f0f9ff;border:1.5px dashed #38bdf8;border-radius:14px;padding:14px 18px;display:flex;flex-direction:column;gap:8px}.ufo-cred-box>div{display:flex;justify-content:space-between;font-size:14.5px}.ufo-cred-box strong{font-family:ui-monospace,SFMono-Regular,Consolas,monospace;color:#0369a1}.ufo-cm-warn-list{background:#fef9c3;color:#854d0e;padding:10px 16px 10px 30px;border-radius:12px;font-size:13px;margin:8px 0}.ufo-cm-err-list{background:#fee2e2;color:#991b1b;padding:10px 16px 10px 30px;border-radius:12px;font-size:13px;margin:8px 0}.ufo-notes-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:12px}.ufo-note-card{display:flex;flex-direction:column;align-items:flex-start;gap:6px;padding:16px 18px;border-radius:16px;border:1.5px solid #cbd5e1;background:#fff;cursor:pointer;text-align:left;transition:border-color .15s ease,transform .12s ease}.ufo-note-card:hover{border-color:#2563eb;transform:translateY(-2px)}.ufo-note-card strong{font-size:15.5px;color:#0f172a}.ufo-note-card span{font-size:13px;color:#475569}.ufo-note-card small{font-size:11.5px;color:#94a3b8}.ufo-note-save-badge{font-size:12px;font-weight:700;padding:3px 10px;border-radius:999px;background:#e0f2fe;color:#0369a1}.ufo-icon-mini-btn{background:#e2e8f0;border:none;border-radius:6px;padding:2px 6px;font-size:11.5px;cursor:pointer}.ufo-icon-mini-btn.danger{color:#b91c1c}.ufo-note-cell-input{width:100%;padding:6px 9px;border-radius:8px;border:1.5px solid transparent;background:#f8fafc;font-size:13.5px;transition:border-color .15s ease,background .15s ease}.ufo-note-cell-input:focus{outline:none;border-color:#2563eb;background:#fff}.ufo-note-cell-input.state-dirty,.ufo-note-cell-input.state-saving{border-color:#f59e0b;background:#fffbeb}.ufo-note-cell-input.state-error{border-color:#ef4444;background:#fef2f2}@keyframes ufo-spin-shuffle{0%{transform:translate(-50%,-50%) translate(0) rotate(0) scale(1)}25%{transform:translate(-50%,-50%) translate(-44px,-18px) rotate(-14deg) scale(1.04)}50%{transform:translate(-50%,-50%) translate(48px,12px) rotate(12deg) scale(.97)}75%{transform:translate(-50%,-50%) translate(-28px,20px) rotate(-8deg) scale(1.03)}to{transform:translate(-50%,-50%) translate(18px,-14px) rotate(6deg) scale(1)}}@keyframes ufo-spin-deal-in{0%{opacity:0;transform:translateY(-28px) scale(.82) rotate(-6deg)}70%{opacity:1;transform:translateY(3px) scale(1.03) rotate(1deg)}to{opacity:1;transform:translateY(0) scale(1) rotate(0)}}.ufo-winner-team-badge{display:inline-flex;align-items:center;gap:4px;font-size:11.5px;font-weight:800;padding:3px 10px;border-radius:999px;margin-bottom:4px}.ufo-shuffle-panel{padding:16px 18px;border-radius:18px;background:#f4f8ee;border:1.5px solid #cde0be}.ufo-shuffle-panel-top{display:flex;justify-content:space-between;align-items:center;gap:14px;flex-wrap:wrap}.ufo-shuffle-panel-top h3{margin:0;font-size:16.5px;color:#0f172a}.ufo-shuffle-controls{display:flex;align-items:flex-end;gap:10px;flex-wrap:wrap}.ufo-teams-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(235px,1fr));gap:14px;margin-top:12px}.ufo-team-card{background:#fff;border:1.5px solid #cbd5e1;border-radius:16px;padding:14px 16px;display:flex;flex-direction:column;gap:10px;box-shadow:0 4px 12px #0f172a0a}.ufo-team-card.unassigned{background:#f8fafc;border-style:dashed}.ufo-team-card-header{display:flex;justify-content:space-between;align-items:center;gap:8px;padding-bottom:8px;border-bottom:1px solid #e2e8f0}.ufo-team-card-header h4{margin:0;font-size:15px;font-weight:800;color:#0f172a}.ufo-team-card-header small{font-size:12px;color:#64748b}.ufo-team-student-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}.ufo-team-student-row{margin:0;padding:0}.ufo-team-student-label,.ufo-modal-body label.ufo-team-student-label{display:flex;flex-direction:row;align-items:center;gap:10px;padding:7px 10px;border-radius:10px;background:#f8fafc;border:1px solid #e2e8f0;cursor:pointer;transition:background .14s ease,border-color .14s ease}.ufo-team-student-label:hover{background:#eff6ff;border-color:#93c5fd}.ufo-team-student-text{display:flex;flex-direction:column;gap:2px;min-width:0}.ufo-team-student-text strong{font-size:13.5px;font-weight:700;color:#0f172a}.ufo-team-student-text span{font-size:11.5px;color:#64748b}.ufo-team-bulk-bar{margin-top:14px;padding:12px 16px;border-radius:14px;background:#eff6ff;border:1.5px solid #93c5fd;display:flex;align-items:center;gap:10px;flex-wrap:wrap}.ufo-team-bulk-bar input[type=text]{width:auto;min-width:220px;flex:1 1 220px}.ufo-rich-editor-box{border:1.5px solid var(--field-border);border-radius:12px;background:#fff;color:#0f172a;overflow:hidden;transition:border-color .15s ease}.ufo-rich-editor-box:focus-within{border-color:var(--field-border-focus);box-shadow:var(--field-ring)}.ufo-rich-toolbar{display:flex;flex-wrap:wrap;align-items:center;gap:4px;padding:6px 10px;border-bottom:1px solid #e2e8f0;background:#f8fafc}.ufo-rich-tool-btn{display:inline-flex;align-items:center;justify-content:center;min-width:30px;height:28px;padding:0 8px;border-radius:6px;border:1px solid transparent;background:transparent;color:#334155;font-size:12.5px;font-weight:600;cursor:pointer;transition:background .12s ease,color .12s ease}.ufo-rich-tool-btn:hover{background:#e2e8f0;color:#0f172a}.ufo-rich-tool-btn.active{background:#dbeafe;color:#1d4ed8;border-color:#93c5fd}.ufo-rich-tool-divider{width:1px;height:18px;background:#cbd5e1;margin:0 4px}.ufo-rich-editable{padding:12px 14px;outline:none;font-size:14.5px;line-height:1.65;color:#0f172a}.ufo-rich-placeholder{position:absolute;top:12px;left:14px;color:var(--field-placeholder);font-size:14px;pointer-events:none;-webkit-user-select:none;user-select:none}.ufo-rich-view-editable{outline:none;font-size:15px;line-height:1.7;color:inherit}.ufo-rich-p{margin:0 0 8px}.ufo-rich-h1{font-size:21px;font-weight:800;margin:12px 0 8px;line-height:1.3}.ufo-rich-h2{font-size:18px;font-weight:700;margin:10px 0 6px;line-height:1.35}.ufo-rich-h3{font-size:16px;font-weight:700;margin:8px 0 6px;line-height:1.4}.ufo-rich-ul{list-style-type:disc;padding-left:24px;margin:6px 0 10px}.ufo-rich-ol{list-style-type:decimal;padding-left:24px;margin:6px 0 10px}.ufo-rich-li{margin:3px 0}.ufo-rich-bold{font-weight:700}.ufo-rich-italic{font-style:italic}.ufo-rich-underline{text-decoration:underline}.ufo-grading-split-grid{display:grid;grid-template-columns:minmax(220px,280px) minmax(0,1fr);gap:16px}@media (max-width: 1024px){.ufo-top-chrome{top:10px;left:12px;right:12px;gap:8px}.ufo-pill-btn,.ufo-pill-select{height:36px;padding:0 11px;font-size:13px}.ufo-draw-btn{height:40px;padding:0 18px;font-size:14.5px}.ufo-modal-dialog,.ufo-modal-lg{width:min(96vw,860px);max-height:92dvh}}@media (max-width: 768px){.ufo-top-chrome{top:8px;left:8px;right:8px;gap:6px;justify-content:center}.ufo-chrome-left,.ufo-chrome-center,.ufo-chrome-right,.ufo-flight-controls{gap:6px;justify-content:center}.ufo-pill-select{max-width:46vw;text-overflow:ellipsis}.ufo-bottom-caption{bottom:8px;padding:6px 12px;font-size:12px;gap:8px;max-width:96vw;white-space:normal;flex-wrap:wrap;justify-content:center;text-align:center;border-radius:16px}.ufo-quick-gift-btn{bottom:68px!important;right:12px!important;padding:8px 13px!important;font-size:12px!important}.ufo-modal-backdrop{padding:8px}.ufo-modal-dialog,.ufo-modal-lg{width:98vw;max-height:94dvh;border-radius:18px}.ufo-modal-header{padding:14px 16px}.ufo-modal-header h2{font-size:17px}.ufo-mode-tabs{padding:6px 12px 4px;gap:6px}.ufo-mode-tabs button{padding:6px 11px;font-size:12.5px}.ufo-modal-body{padding:14px 16px;gap:12px}.ufo-join-topbar{padding:12px 16px;flex-wrap:wrap;gap:10px}.ufo-join-container{margin:16px auto;padding:0 12px;gap:16px}.ufo-join-card{padding:20px 18px;border-radius:20px}.ufo-grading-split-grid{grid-template-columns:1fr}.ufo-result-card{width:96vw;padding:18px 16px;border-radius:20px}.ufo-big-join-code{font-size:clamp(22px,6vw,34px);letter-spacing:3px;padding:8px 12px}}@media (max-width: 480px){.ufo-quick-gift-btn{bottom:108px!important;right:10px!important;padding:7px 12px!important;font-size:11.5px!important}.ufo-pill-btn,.ufo-pill-select{height:32px;padding:0 9px;font-size:11.5px;gap:4px}.ufo-draw-btn{height:36px;padding:0 14px;font-size:13px}.ufo-join-topbar{padding:10px 12px}.ufo-brand-icon{font-size:24px}.ufo-join-nav-links{width:100%;justify-content:stretch}.ufo-join-nav-links .secondary-btn{flex:1;min-height:40px;padding:8px 10px;font-size:12.5px}.ufo-join-card{padding:16px 14px;border-radius:18px}.ufo-code-form{flex-direction:column;align-items:stretch}.ufo-code-input{width:100%;font-size:18px;text-align:center}.ufo-code-form .primary-btn{width:100%}.ufo-form-row{grid-template-columns:1fr}.ufo-claim-box{grid-template-columns:1fr;padding:12px}.avatar-editor-fields{grid-template-columns:1fr}.ufo-cm-search-input,.ufo-modal-body input.ufo-cm-search-input,.ufo-cm-select,.ufo-modal-body select.ufo-cm-select{width:100%;min-width:100%}.ufo-cm-toolbar-actions{width:100%;margin-left:0}}body:has(.ufo-app){height:100dvh;overflow:hidden}.ufo-app{--shell-ink: #1f2d24;--shell-muted: #5b7466;--shell-line: #d5e4dc;--shell-surface: #ffffff;--shell-bg: #eef5f1;--shell-nav: #18352a;--shell-nav-ink: #e4f2ea;--shell-nav-muted: #9cc7b2;--shell-focus: #f2c94c;display:grid;grid-template-columns:236px minmax(0,1fr);height:100dvh;background:var(--shell-bg);color:var(--shell-ink)}.ufo-app.is-collapsed{grid-template-columns:68px minmax(0,1fr)}.ufo-skip-link{position:absolute;left:-9999px;top:8px;z-index:400;padding:10px 14px;border-radius:10px;background:var(--shell-surface);color:var(--shell-ink);font-weight:700}.ufo-skip-link:focus{left:12px}.ufo-visually-hidden{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.ufo-sidebar{display:flex;flex-direction:column;gap:8px;padding:10px;background:var(--shell-nav);color:var(--shell-nav-ink);overflow-y:auto;min-height:0}.ufo-sidebar-brand{display:flex;align-items:center;gap:10px;padding:2px 10px 4px;font-size:16px}.ufo-sidebar-brand span{font-size:22px}.ufo-nav{display:flex;flex-direction:column;gap:4px;flex:1}.ufo-nav-group{display:flex;flex-direction:column;gap:2px}.ufo-nav-label{padding:0 10px 2px;font-size:11px;font-weight:700;letter-spacing:.08em;text-transform:uppercase;color:var(--shell-nav-muted)}.ufo-nav-item{display:flex;align-items:center;gap:10px;min-height:36px;padding:0 10px;border-radius:10px;color:inherit;text-decoration:none;font-size:14px;font-weight:600}.ufo-nav-item:hover{background:#ffffff14}.ufo-nav-item.is-active{background:var(--shell-nav-ink);color:var(--shell-nav)}.ufo-nav-icon{width:24px;text-align:center;font-size:17px}.ufo-nav-lock{margin-left:auto;font-size:12px}.ufo-app.is-collapsed .ufo-nav-item{justify-content:center;padding:0}.ufo-sidebar-collapse{min-height:36px;border:1px solid rgba(255,255,255,.18);border-radius:10px;background:transparent;color:var(--shell-nav-muted);font-weight:600;cursor:pointer}.ufo-nav-item:focus-visible,.ufo-sidebar-collapse:focus-visible,.ufo-icon-btn:focus-visible,.ufo-skip-link:focus-visible{outline:3px solid var(--shell-focus);outline-offset:2px}.ufo-app-column{display:flex;flex-direction:column;min-width:0;min-height:0}.ufo-app-header{display:flex;align-items:center;gap:10px;min-height:58px;padding:8px 16px;padding-top:max(8px,env(safe-area-inset-top,0px));background:var(--shell-surface);border-bottom:1px solid var(--shell-line)}.ufo-icon-btn{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-width:44px;min-height:44px;padding:0 12px;border:1px solid var(--shell-line);border-radius:12px;background:var(--shell-surface);color:var(--shell-ink);font-size:15px;font-weight:600;text-decoration:none;cursor:pointer}.ufo-menu-btn{display:none;font-size:20px}.ufo-room-picker select{max-width:320px;border-color:var(--shell-line);background-color:var(--shell-surface);color:var(--shell-ink);font-size:14px;font-weight:700;text-overflow:ellipsis}.ufo-status-chip{padding:4px 10px;border-radius:999px;font-size:12px;font-weight:700;white-space:nowrap}.ufo-status-chip.is-teacher{background:#ddf2e5;color:#17603a}.ufo-status-chip.is-guest{background:#fdf0d3;color:#7a5200}.ufo-header-spacer{flex:1}.ufo-app-main{position:relative;flex:1;min-height:0;overflow-y:auto;padding:20px 24px 40px}.ufo-app-main:focus{outline:none}.ufo-app-main.is-live{padding:0;overflow:hidden}.ufo-page-head{display:flex;flex-direction:column;gap:4px;margin-bottom:16px}.ufo-breadcrumb ol{display:flex;flex-wrap:wrap;gap:6px;margin:0;padding:0;list-style:none;font-size:13px;color:var(--shell-muted)}.ufo-breadcrumb li+li:before{content:"›";margin-right:6px}.ufo-breadcrumb a{color:inherit}.ufo-page-title{margin:0;font-size:24px;line-height:1.25;text-wrap:balance}:root{--page-max-width: none}.ufo-page-panel{width:100%;max-width:var(--page-max-width)}.ufo-page-narrow{max-width:560px}.ufo-page-panel-inner,.ufo-cm-page-inner{display:flex;flex-direction:column;gap:16px;padding:18px 20px;border:1px solid var(--shell-line);border-radius:16px;background:var(--shell-surface)}.ufo-page-panel-inner .ufo-mode-tabs{padding:0}.ufo-account-form{width:100%;max-width:420px}.ufo-account-submit{width:100%;margin-top:4px}.ufo-page-panel-inner .ufo-modal-footer{padding:16px 0 0}.ufo-cm-page{width:100%;max-width:var(--page-max-width)}.ufo-cm-page-body{display:flex;flex-direction:column;gap:16px;min-width:0}.ufo-page-subtabs{padding:0}.ufo-page-lede{margin:0;max-width:66ch;color:var(--shell-muted);line-height:1.6}.ufo-page-subtitle{margin:8px 0 0;font-size:17px}.ufo-page-actions{display:flex;flex-wrap:wrap;gap:10px}.ufo-attendance-recent{display:flex;flex-direction:column;gap:8px;margin:0;padding:0;list-style:none}.ufo-attendance-recent li{display:flex;flex-wrap:wrap;justify-content:space-between;gap:6px 16px;padding:10px 14px;border:1px solid var(--shell-line);border-radius:12px;font-variant-numeric:tabular-nums}.ufo-page-state{display:flex;flex-direction:column;align-items:center;gap:8px;max-width:520px;margin:32px auto;padding:24px;text-align:center}.ufo-page-state h2{margin:0;font-size:19px}.ufo-page-state p{margin:0;color:var(--shell-muted)}.ufo-page-state-icon{font-size:34px}.ufo-drawer-backdrop{position:fixed;top:0;right:0;bottom:0;left:0;z-index:300;background:#0a191280}.ufo-drawer{position:absolute;top:0;bottom:0;left:0;display:flex;flex-direction:column;gap:12px;width:min(86vw,320px);padding:12px 10px;padding-top:calc(12px + env(safe-area-inset-top,0px));padding-left:max(10px,env(safe-area-inset-left,0px));overflow-y:auto;background:var(--shell-nav);color:var(--shell-nav-ink)}.ufo-drawer:focus{outline:none}.ufo-drawer-head{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:0 4px 0 10px}.ufo-drawer .ufo-icon-btn{background:transparent;color:var(--shell-nav-ink);border-color:#ffffff3d}@media (pointer: coarse){.ufo-nav-item{min-height:44px}}.ufo-drawer .ufo-nav-item{min-height:44px}@media (max-width: 1023px){.ufo-app,.ufo-app.is-collapsed{grid-template-columns:minmax(0,1fr)}.ufo-sidebar{display:none}.ufo-menu-btn{display:inline-flex}.ufo-app-main{padding:14px 12px 32px}}@media (max-width: 640px){.ufo-app-header{gap:6px;padding-left:max(8px,env(safe-area-inset-left,0px));padding-right:max(8px,env(safe-area-inset-right,0px))}.ufo-room-picker select{max-width:44vw}.ufo-account-text,.ufo-status-chip{display:none}.ufo-page-title{font-size:20px}.ufo-page-panel-inner,.ufo-cm-page-inner{padding:14px 12px}}@media (prefers-reduced-motion: reduce){.ufo-nav-item,.ufo-drawer{transition:none}}.ufo-app.has-page-bg .ufo-app-main:not(.is-live){background-color:var(--shell-bg);background-image:linear-gradient(#eef5f152,#eef5f152),var(--page-bg-image);background-size:cover;background-position:center;background-repeat:no-repeat}.ufo-app.has-page-bg .ufo-app-main:not(.is-live) .ufo-page-head{align-self:flex-start;width:fit-content;max-width:100%;padding:10px 16px;border:1px solid var(--shell-line);border-radius:14px;background:#ffffffeb;box-shadow:0 6px 18px #0f172a1f}@supports (backdrop-filter: blur(6px)){.ufo-app.has-page-bg .ufo-app-main:not(.is-live) .ufo-page-head{background:#ffffffd1;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px)}}.ufo-bg-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:10px}.ufo-bg-option{position:relative;display:flex;align-items:center;justify-content:center;aspect-ratio:16 / 9;padding:0;overflow:hidden;border:2px solid var(--shell-line);border-radius:var(--field-radius);background:#f8fafc;color:var(--field-label-ink);font-size:13px;font-weight:700;cursor:pointer;transition:border-color .15s ease,box-shadow .15s ease,transform .15s ease}.ufo-bg-option img{width:100%;height:100%;object-fit:cover}.ufo-bg-option-text{padding:8px;text-align:center}.ufo-bg-option:hover{transform:translateY(-1px);border-color:var(--field-border-hover)}.ufo-bg-option.active{border-color:var(--field-border-focus);box-shadow:var(--field-ring)}.ufo-bg-option.active:after{content:"✓";position:absolute;top:6px;right:6px;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--field-border-focus);color:#fff;font-size:14px}.ufo-timetable-today{display:flex;align-items:center;gap:12px;padding:12px 16px;border:1px solid #bfdbfe;border-radius:14px;background:#eff6ff;color:#1e3a8a}.ufo-timetable-today>div{display:flex;flex-wrap:wrap;gap:4px 14px;align-items:baseline}.ufo-timetable-section{display:flex;flex-direction:column;gap:10px}.ufo-timetable-periods{display:grid;grid-template-columns:repeat(auto-fill,minmax(min(100%,360px),1fr));gap:8px 16px}.ufo-timetable-period{display:grid;grid-template-columns:64px minmax(0,1fr) auto minmax(0,1fr) auto;align-items:center;gap:8px}.ufo-timetable-days{display:flex;flex-wrap:wrap;gap:8px 18px}.ufo-timetable-scroll{overflow-x:auto;border:1px solid var(--shell-line);border-radius:14px}.ufo-timetable-grid{width:100%;min-width:720px;border-collapse:separate;border-spacing:0}.ufo-timetable-grid th,.ufo-timetable-grid td{padding:8px;border-bottom:1px solid var(--shell-line);vertical-align:top}.ufo-timetable-grid thead th{position:sticky;top:0;background:#f1f5f9;color:var(--field-label-ink);font-size:14px;text-align:left}.ufo-timetable-grid tbody th{width:96px;background:#f8fafc;text-align:left;white-space:nowrap}.ufo-timetable-grid tbody th span{display:block;font-weight:700}.ufo-timetable-grid tbody th small{color:var(--field-hint-ink);font-weight:600}.ufo-timetable-grid td{display:table-cell;min-width:150px;box-shadow:inset 4px 0 0 var(--cell-accent, transparent)}.ufo-timetable-grid td>*+*{margin-top:6px}.ufo-timetable-grid .is-today{background:#fefce8}.ufo-timetable-grid thead th.is-today{background:#fde68a;color:#713f12}.ufo-timetable-grid tr:last-child>*{border-bottom:0}.ufo-period-reminder{position:fixed;top:76px;right:20px;z-index:60;display:flex;align-items:flex-start;gap:12px;width:min(380px,calc(100vw - 32px));padding:14px 16px;border:1px solid #fcd34d;border-radius:14px;background:#fffbeb;color:#78350f;box-shadow:0 12px 32px #0f172a2e}.ufo-period-reminder strong{display:block;font-size:15px}.ufo-period-reminder p{margin:4px 0 0;font-size:14px}.ufo-period-reminder .ufo-period-reminder-actions{display:flex;gap:8px;margin-top:10px}.ufo-timetable-period input[type=time]{padding:0 8px}.ufo-timetable-period .secondary-btn{padding:0 12px}@media (max-width: 480px){.ufo-timetable-period{grid-template-columns:48px minmax(0,1fr) auto minmax(0,1fr) auto;gap:6px}.ufo-timetable-period input[type=time]{padding:0 4px;font-size:14px}}.ufo-week{--week-line: var(--shell-line);--week-head-bg: #f1f5f9;--week-row-head-bg: #f8fafc;--week-ink: #0f172a;--week-muted: #64748b;--week-today-bg: #fefce8;--week-today-head-bg: #fde68a;--week-today-head-ink: #713f12;--week-current-bg: #dbeafe;--week-current-ring: #2563eb;--week-current-ink: #1e3a8a;--week-surface: #ffffff;container-type:inline-size}.ufo-week-scroll{overflow-x:auto;border:1px solid var(--week-line);border-radius:14px;background:var(--week-surface)}.ufo-week--dark{--week-line: #334155;--week-head-bg: #1e293b;--week-row-head-bg: #1e293b;--week-ink: #e2e8f0;--week-muted: #94a3b8;--week-today-bg: #1c2a44;--week-today-head-bg: #854d0e;--week-today-head-ink: #fef3c7;--week-current-bg: #1e3a8a;--week-current-ring: #60a5fa;--week-current-ink: #dbeafe;--week-surface: #0f172a}.ufo-week-table{width:100%;min-width:640px;border-collapse:separate;border-spacing:0;color:var(--week-ink);font-size:14px}.ufo-week-table th,.ufo-week-table td{padding:10px;border-bottom:1px solid var(--week-line);text-align:left;vertical-align:top}.ufo-week-table tr:last-child>*{border-bottom:0}.ufo-week-table thead th{background:var(--week-head-bg);font-weight:800;white-space:nowrap}.ufo-week-table thead th.is-today{background:var(--week-today-head-bg);color:var(--week-today-head-ink)}.ufo-week-today-tag{margin-left:6px;padding:1px 8px;border-radius:999px;background:#ffffff8c;font-size:11px;font-weight:800}.ufo-week-table tbody th{width:96px;background:var(--week-row-head-bg);white-space:nowrap}.ufo-week-table tbody th span{display:block;font-weight:800}.ufo-week-table tbody th small,.ufo-week-meta{display:block;color:var(--week-muted);font-size:12px;font-weight:600}.ufo-week-table tbody tr.is-current-row th{color:var(--week-current-ink);box-shadow:inset 4px 0 0 var(--week-current-ring)}.ufo-week-table td{min-width:120px;box-shadow:inset 4px 0 0 var(--cell-accent, transparent)}.ufo-week-table td.is-empty{color:var(--week-muted)}.ufo-week-table td.is-today{background:var(--week-today-bg)}.ufo-week-table td.is-current{background:var(--week-current-bg);color:var(--week-current-ink);box-shadow:inset 0 0 0 2px var(--week-current-ring),inset 6px 0 0 var(--cell-accent, var(--week-current-ring))}.ufo-week-subject{display:block;font-weight:700}.ufo-week-now{display:inline-block;margin-top:4px;color:var(--week-current-ring);font-size:12px;font-weight:800}@media (prefers-reduced-motion: no-preference){.ufo-week-table td.is-current .ufo-week-now{animation:ufo-week-pulse 1.6s ease-in-out infinite}}@keyframes ufo-week-pulse{50%{opacity:.45}}.ufo-week-cards{display:none;grid-template-columns:repeat(auto-fill,minmax(min(100%,320px),1fr));align-items:start;gap:10px;margin:0;padding:0;list-style:none}@container (max-width: 760px){.ufo-week-scroll{display:none}.ufo-week-cards{display:grid}}@container (max-width: 960px){.ufo-week--many-days .ufo-week-scroll{display:none}.ufo-week--many-days .ufo-week-cards{display:grid}}.ufo-week-card{padding:12px;border:1px solid var(--week-line);border-radius:14px;background:var(--week-surface);color:var(--week-ink)}.ufo-week-card.is-today{border-color:#f59e0b;background:var(--week-today-bg);box-shadow:inset 4px 0 #f59e0b}.ufo-week-card-title{display:flex;align-items:center;margin:0 0 8px;font-size:16px;font-weight:800}.ufo-week-card.is-today .ufo-week-today-tag{background:var(--week-today-head-bg);color:var(--week-today-head-ink)}.ufo-week-card-empty{margin:0;color:var(--week-muted);font-size:14px}.ufo-week-card-list{display:flex;flex-direction:column;gap:6px;margin:0;padding:0;list-style:none}.ufo-week-slot{display:grid;grid-template-columns:92px minmax(0,1fr);gap:10px;align-items:start;padding:8px 10px;border-radius:10px;background:var(--week-row-head-bg);box-shadow:inset 4px 0 0 var(--cell-accent, var(--week-line))}.ufo-week-slot.is-current{background:var(--week-current-bg);color:var(--week-current-ink);box-shadow:inset 0 0 0 2px var(--week-current-ring),inset 6px 0 0 var(--cell-accent, var(--week-current-ring))}.ufo-week-slot-time b{display:block;font-size:14px}.ufo-week-slot-time small{color:var(--week-muted);font-size:12px;font-weight:600}.ufo-week-slot-body{display:flex;flex-direction:column;min-width:0}.ufo-week-slot .ufo-week-subject{font-size:15px;overflow-wrap:anywhere}@media (prefers-reduced-motion: no-preference){.ufo-week-slot.is-current .ufo-week-now{animation:ufo-week-pulse 1.6s ease-in-out infinite}}.ufo-tt-edit{container-type:inline-size;--week-line: var(--shell-line);--week-surface: #ffffff;--week-row-head-bg: #f8fafc;--week-ink: #0f172a;--week-muted: #64748b;--week-today-bg: #fefce8;--week-today-head-bg: #fde68a;--week-today-head-ink: #713f12}.ufo-tt-edit-cards{display:none;grid-template-columns:repeat(auto-fill,minmax(min(100%,320px),1fr));align-items:start;gap:10px;margin:0;padding:0;list-style:none}@container (max-width: 960px){.ufo-tt-edit .ufo-timetable-scroll{display:none}.ufo-tt-edit-cards{display:grid}}@container (max-width: 1180px){.ufo-tt-edit--many-days .ufo-timetable-scroll{display:none}.ufo-tt-edit--many-days .ufo-tt-edit-cards{display:grid}}.ufo-tt-edit-count{margin-left:auto;color:var(--week-muted);font-size:13px;font-weight:700}.ufo-tt-edit-slot{grid-template-columns:84px minmax(0,1fr);align-items:center}.ufo-tt-edit-field{display:flex;flex-direction:column;gap:6px;min-width:0}.ufo-app-dialog-backdrop{z-index:5000}.ufo-modal-dialog.ufo-app-dialog{width:min(420px,100%);padding:20px;gap:18px;border-radius:18px;animation:ufo-app-dialog-in .16s ease-out}.ufo-app-dialog-body{display:flex;gap:14px;align-items:flex-start}.ufo-app-dialog-icon{display:grid;flex:0 0 44px;place-items:center;width:44px;height:44px;border-radius:50%;background:#e0f2fe;font-size:22px}.ufo-app-dialog.is-danger .ufo-app-dialog-icon{background:#fee2e2}.ufo-app-dialog-title{margin:2px 0 6px;color:#0f172a;font-size:18px;line-height:1.3}.ufo-app-dialog-message{margin:0;color:#334155;font-size:15px;line-height:1.5;white-space:pre-line;overflow-wrap:anywhere}.ufo-app-dialog-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px}.primary-btn.is-danger{background:#b91c1c}.primary-btn.is-danger:hover:not(:disabled){background:#991b1b}@media (max-width: 420px){.ufo-app-dialog-actions>button{flex:1 1 0}}@keyframes ufo-app-dialog-in{0%{opacity:0;transform:translateY(8px) scale(.98)}}@media (prefers-reduced-motion: reduce){.ufo-modal-dialog.ufo-app-dialog{animation:none}}.ufo-ov{display:flex;flex-direction:column;gap:16px;color:#0f172a}.ufo-ov-hero{display:flex;align-items:flex-start;gap:16px;padding:18px;border:1px solid #bae6fd;border-radius:16px;background:linear-gradient(135deg,#f0f9ff,#f0fdf4)}.ufo-ov-logo{display:grid;flex:0 0 72px;place-items:center;width:72px;height:72px;padding:4px;overflow:hidden;border:2px dashed #7dd3fc;border-radius:16px;background:#fff;font-size:30px;cursor:pointer}.ufo-ov-logo:hover{border-color:#0284c7}.ufo-ov-logo img{width:100%;height:100%;object-fit:contain}.ufo-ov-hero-body{flex:1;min-width:0}.ufo-ov-eyebrow{color:#0369a1;font-size:12px;font-weight:800;letter-spacing:.04em;text-transform:uppercase}.ufo-ov-title{margin:2px 0 12px;color:#0f172a;font-size:20px;line-height:1.3}.ufo-ov-title span{margin-left:6px;padding:2px 10px;border-radius:999px;background:#e0f2fe;color:#075985;font-size:13px;font-weight:800;white-space:nowrap}.ufo-ov-school-form{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px}.ufo-ov-school-form .ufo-field{flex:1 1 280px}.ufo-ov-school-actions{display:flex;flex-wrap:wrap;gap:8px}.ufo-ov-note{margin-top:8px;color:#92400e;font-size:13px;font-weight:600}.ufo-ov-stats{display:grid;grid-template-columns:repeat(auto-fit,minmax(190px,1fr));gap:12px}.ufo-ov-stat{padding:14px 16px;border:1px solid #e2e8f0;border-radius:14px;background:#fff;box-shadow:inset 0 4px 0 var(--stat-accent, #0284c7),0 2px 8px #0f172a0d}.ufo-ov-stat-label{color:#475569;font-size:13px;font-weight:700}.ufo-ov-stat-value{margin-top:4px;color:var(--stat-accent, #0284c7);font-size:32px;font-weight:900;line-height:1.1}.ufo-ov-stat-hint{margin-top:4px;color:#64748b;font-size:13px}.ufo-ov-stat-hint.is-alert{color:#be123c;font-weight:700}.ufo-ov-actions{display:flex;flex-wrap:wrap;gap:10px}.ufo-ov-action{min-height:var(--field-height);padding:0 16px;border:1.5px solid;border-radius:var(--field-radius);font-size:14px;font-weight:800;cursor:pointer;transition:transform .14s ease,box-shadow .14s ease}.ufo-ov-action:hover{transform:translateY(-1px);box-shadow:0 4px 12px #0f172a1a}.ufo-ov-action.is-ufo{border-color:#ea580c;background:linear-gradient(135deg,#f59e0b,#ea580c);color:#fff}.ufo-ov-action.is-green{border-color:#6ee7b7;background:#ecfdf5;color:#065f46}.ufo-ov-action.is-amber{border-color:#fcd34d;background:#fffbeb;color:#92400e}.ufo-ov-action.is-blue{border-color:#7dd3fc;background:#f0f9ff;color:#075985}.ufo-ov-action.is-purple{border-color:#d8b4fe;background:#faf5ff;color:#6b21a8}.ufo-ov-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,340px),1fr));gap:14px}.ufo-ov-card{display:flex;flex-direction:column;gap:14px;padding:16px;border:1px solid #e2e8f0;border-radius:16px;background:#fff;box-shadow:0 2px 8px #0f172a0d}.ufo-ov-card-head{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.ufo-ov-card-head h3,.ufo-ov-subhead{margin:0;color:#0f172a;font-size:16px;font-weight:800}.ufo-ov-subhead{margin-bottom:8px;color:#9f1239;font-size:15px}.ufo-ov-link{border:0;background:none;color:#0369a1;font-size:14px;font-weight:700;cursor:pointer}.ufo-ov-link:hover{text-decoration:underline}.ufo-ov-empty{margin:0;padding:8px 0;color:#64748b;font-size:14px}.ufo-ov-list{display:flex;flex-direction:column;gap:8px;margin:0;padding:0;list-style:none}.ufo-ov-assignment{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border:1px solid #e2e8f0;border-radius:12px;background:#f8fafc}.ufo-ov-assignment-body{flex:1;min-width:0}.ufo-ov-assignment-title{overflow:hidden;color:#0f172a;font-size:14px;font-weight:700;text-overflow:ellipsis;white-space:nowrap}.ufo-ov-assignment-meta{margin-top:2px;color:#64748b;font-size:13px}.ufo-ov-rank{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:8px 12px;border:1px solid #fde68a;border-radius:10px;background:#fffbeb;font-size:14px}.ufo-ov-rank-name{min-width:0;color:#78350f;font-weight:700}.ufo-ov-rank-name small,.ufo-ov-rank-score small{color:#92400e;font-size:13px;font-weight:600}.ufo-ov-rank-score{color:#b45309;font-weight:800;white-space:nowrap}.ufo-ov-divider{padding-top:12px;border-top:1px solid #e2e8f0}.ufo-ov-chips{display:flex;flex-wrap:wrap;gap:6px}.ufo-ov-chip{padding:4px 10px;border:1px solid;border-radius:999px;font-size:13px;font-weight:700;white-space:nowrap}.ufo-ov-chip.is-green{border-color:#a7f3d0;background:#ecfdf5;color:#065f46}.ufo-ov-chip.is-rose{border-color:#fecdd3;background:#fff1f2;color:#9f1239}@media (max-width: 560px){.ufo-ov-hero{flex-direction:column}.ufo-ov-rank{flex-direction:column;align-items:flex-start}}.ufo-pending-changes-panel{display:flex;flex-direction:column;gap:10px;margin-bottom:14px;padding:14px 16px;border:1px solid #fde68a;border-radius:16px;background:#fffbeb;color:#0f172a;box-shadow:0 2px 8px #0f172a0d}.ufo-pending-changes-header{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px}.ufo-pending-changes-header :is(h2,h3,h4){margin:0;color:#92400e;font-size:15px;font-weight:800}.ufo-pending-changes-list{display:flex;flex-direction:column;gap:8px;margin:0;padding:0;list-style:none}.ufo-pending-change-item{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;padding:10px 12px;border:1px solid #e2e8f0;border-radius:12px;background:#fff}.ufo-pending-change-info{flex:1;min-width:200px}.ufo-pending-change-info strong{color:#0f172a;font-size:14px}.ufo-pending-change-diff{margin-top:4px;color:#334155;font-size:13px}.ufo-pending-change-diff .old-val{color:#b91c1c;text-decoration:line-through}.ufo-pending-change-diff .arrow{color:#64748b}.ufo-pending-change-diff .new-val{color:#047857;font-weight:700}.ufo-pending-change-actions{display:flex;flex-wrap:wrap;gap:6px}.ufo-timetable-today .ufo-field-hint{color:#475569}.ufo-app-main.is-auth{display:flex;flex-direction:column}.ufo-auth-page{flex:1;display:flex;align-items:center;justify-content:center;width:100%;padding:12px 0}.ufo-auth-card{width:100%;max-width:560px;display:flex;flex-direction:column;gap:18px;padding:28px 28px 24px;border:1px solid var(--shell-line);border-radius:24px;background:#fffffff7;box-shadow:0 24px 60px #0f172a38;color:#0f172a}.ufo-auth-head{display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center}.ufo-auth-logo{font-size:40px;line-height:1}.ufo-auth-title{margin:0;font-size:24px;color:#0f172a}.ufo-auth-sub{margin:0;font-size:15px;color:#475569}.ufo-role-picker{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin-bottom:16px}.ufo-role-option{display:flex;flex-direction:column;align-items:center;gap:4px;min-height:112px;padding:14px 8px 12px;border:2px solid #cbd5e1;border-radius:16px;background:#f8fafc;color:#0f172a;text-align:center;cursor:pointer;transition:border-color .15s,background .15s,box-shadow .15s}.ufo-role-option:hover{border-color:#93c5fd;background:#eff6ff}.ufo-role-option.is-active{border-color:#2563eb;background:#eff6ff;box-shadow:0 0 0 3px #2563eb2e}.ufo-role-icon{font-size:30px;line-height:1.1}.ufo-role-label{font-size:15px;font-weight:800}.ufo-role-option.is-active .ufo-role-label{color:#1d4ed8}.ufo-role-hint{font-size:12px;line-height:1.35;color:#475569}.ufo-auth-form{width:100%;max-width:none}.ufo-auth-tabs{padding:0;margin-bottom:12px}.ufo-auth-note{margin:4px 0 0;font-size:13px;line-height:1.5;color:#475569;text-align:center}.ufo-auth-note a{color:#1d4ed8;font-weight:700}.ufo-auth-saved{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;margin-bottom:14px;padding:10px 14px;border:1px solid #a7f3d0;border-radius:12px;background:#ecfdf5;color:#065f46;font-size:14px}.ufo-auth-card .ufo-teacher-profile{text-align:center}@media (max-width: 520px){.ufo-auth-card{padding:20px 16px;border-radius:20px}.ufo-role-option{min-height:0;padding:10px 4px}.ufo-role-icon{font-size:26px}.ufo-role-hint{display:none}}.ufo-portal-login{max-width:560px;margin-top:14px}.ufo-portal-login .ufo-role-picker{grid-template-columns:repeat(2,minmax(0,1fr))}.ufo-join-container{max-width:none;margin:20px 0;padding:0 24px}.ufo-portal-session{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;margin-bottom:16px;padding:14px 18px;border:1.5px solid #bdd3ae;border-radius:16px;background:#eef6e8}.ufo-portal-who{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;min-width:0}.ufo-portal-name{font-size:16px;color:#0f172a}.ufo-portal-session-actions{display:flex;flex-wrap:wrap;align-items:center;gap:10px}.ufo-portal-pin-form{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.ufo-portal-pin-form input{width:260px;max-width:100%}.ufo-portal-tabs{margin-bottom:16px}@media (max-width: 1024px){.ufo-join-container{padding:0 16px}}@media (max-width: 640px){.ufo-join-container{margin:10px 0;padding:0 8px;gap:12px}.ufo-join-card{padding:16px 12px;border-radius:16px}.ufo-join-card>h1{font-size:20px;line-height:1.3}.ufo-portal-session{flex-direction:column;align-items:stretch;padding:12px}.ufo-portal-session-actions,.ufo-portal-pin-form{flex-direction:column;align-items:stretch}.ufo-portal-pin-form input{width:100%}.ufo-portal-session-actions>button,.ufo-portal-pin-form>button{width:100%}}.ufo-portal-body{padding:16px;border-radius:20px;background:linear-gradient(180deg,#0b172a,#13233d);color:#f1f5f9}@media (max-width: 640px){.ufo-portal-body{margin:0 -6px;padding:10px 8px;border-radius:14px}}.ufo-cm-avatar-picker{color:#0f172a}.ufo-join-flow{display:flex;flex-direction:column;gap:inherit;scroll-margin-top:90px}.ufo-character-editor{margin-bottom:16px;padding:16px;border:2px solid #fbbf24;border-radius:18px;background:#fffef7;color:#0f172a;scroll-margin-top:90px}.ufo-character-editor-head{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:12px}.ufo-character-editor-head h2{margin:0 0 4px;font-size:20px}.ufo-character-editor-head p{margin:0;font-size:14px;color:#475569}.ufo-character-editor-body{margin:12px 0}.ufo-character-editor .avatar-editor-field-name,.ufo-character-editor .avatar-editor-field-gender{display:none}.ufo-character-editor-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px}@media (max-width: 640px){.ufo-character-editor{padding:12px}.ufo-character-editor-actions>button{flex:1}}.ufo-join-menu-btn,.ufo-portal-current{display:none}.ufo-portal-drawer{--shell-nav: #0b172a;--shell-nav-ink: #e2e8f0;--shell-nav-muted: #94a3b8;--shell-focus: #fbbf24}.ufo-portal-drawer .ufo-nav-item{width:100%;border:0;background:transparent;color:inherit;font:inherit;font-size:15px;font-weight:600;text-align:left;cursor:pointer}.ufo-portal-drawer .ufo-nav-item:hover{background:#ffffff14}.ufo-portal-drawer .ufo-nav-item.is-active{background:#e2e8f0;color:#0b172a}.ufo-portal-drawer-user{display:flex;flex-direction:column;gap:4px;padding:12px;border:1px solid rgba(255,255,255,.12);border-radius:14px;background:#ffffff0f}.ufo-portal-drawer-user .ufo-badge{align-self:flex-start}.ufo-portal-drawer-user small{color:#94a3b8;font-size:13px}.ufo-portal-drawer-count{min-width:22px;margin-left:auto;padding:2px 7px;border-radius:999px;background:#dc2626;color:#fff;font-size:12px;text-align:center}.ufo-portal-drawer-extra{margin-top:auto;padding-top:10px;border-top:1px solid rgba(255,255,255,.12)}@media (max-width: 1023px){.ufo-join-topbar{flex-wrap:nowrap}.ufo-join-nav-links{display:none}.ufo-join-menu-btn{display:inline-flex;flex:none;margin-left:auto;border:1px solid rgba(255,255,255,.3);background:transparent;color:#fff;font-size:20px}.ufo-portal-tabs,.ufo-portal-session-actions{display:none}.ufo-portal-session{padding:10px 12px}.ufo-portal-current{display:flex;align-items:center;justify-content:space-between;gap:10px;margin-bottom:10px}.ufo-portal-current h2{min-width:0;margin:0;font-size:17px;color:#0f172a}.ufo-portal-current .secondary-btn{flex:none;min-height:40px;padding:0 12px}}.ufo-portal-drawer{right:0;left:auto;padding-left:10px;padding-right:max(10px,env(safe-area-inset-right,0px));box-shadow:-12px 0 32px #00000059}.ufo-nav-upsell{display:flex;align-items:flex-start;gap:10px;margin-top:8px;padding:10px 12px;border:1px dashed rgba(242,201,76,.6);border-radius:12px;background:#f2c94c1a;color:var(--shell-nav-ink);font-size:13px;line-height:1.35;text-decoration:none}.ufo-nav-upsell:hover{background:#f2c94c2e}.ufo-nav-upsell:focus-visible{outline:3px solid var(--shell-focus);outline-offset:2px}.ufo-nav-upsell strong{display:block;font-size:14px;color:#fde68a}.ufo-nav-upsell small{display:block;margin-top:2px;font-size:12px;color:var(--shell-nav-muted)}.ufo-nav-upsell.is-collapsed{justify-content:center;padding:8px 0}.ufo-join-container.is-guest{max-width:1120px;margin:20px auto}.ufo-join-login{text-align:center}.ufo-join-login>.ufo-muted{max-width:640px;margin-left:auto;margin-right:auto}.ufo-join-login .ufo-portal-login{margin:14px auto 0;text-align:left}@media (max-width: 640px){.ufo-join-container.is-guest{margin:10px auto}}.ufo-app-main>.ufo-page-state{max-width:560px;padding:28px 28px 24px;border:1px solid var(--shell-line);border-radius:20px;background:#fffffff7;box-shadow:0 18px 44px #0f172a38}.ufo-app-main>.ufo-page-state h2{color:#0f172a}.ufo-app-main>.ufo-page-state p{color:#334155;line-height:1.55}.ufo-page-state .ufo-page-actions{justify-content:center;margin-top:8px}@media (max-width: 640px){.ufo-app-main>.ufo-page-state{margin:16px auto;padding:20px 16px}.ufo-page-state .ufo-page-actions>button{flex:1 1 100%}}.ufo-guest-roster-hint{margin:0;font-size:14px;line-height:1.55;color:#334155}.ufo-guest-roster-tools{display:flex;flex-wrap:wrap;gap:10px}.ufo-guest-roster-imported{padding:8px 12px;border:1px solid #a7f3d0;border-radius:10px;background:#ecfdf5;color:#065f46;font-size:13.5px}.ufo-guest-roster-note{padding:10px 12px;border:1px solid #fde68a;border-radius:12px;background:#fffbeb;font-size:13.5px;line-height:1.5;color:#78350f}.ufo-guest-roster-note .ufo-link-btn{padding:0;border:0;background:none;color:#1d4ed8;font:inherit;font-weight:700;text-decoration:underline;cursor:pointer}.ufo-guest-roster-actions{display:flex;justify-content:flex-end;gap:10px}.ufo-ov-rename-btn{min-height:34px;padding:0 12px;font-size:13px;vertical-align:middle}.ufo-ov-rename{display:flex;flex-direction:column;gap:8px;max-width:520px}.ufo-ov-title-row{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px}.ufo-teams-board-wrap{display:flex;flex-direction:column;gap:18px}.ufo-teams-section{display:flex;flex-direction:column;gap:14px;padding:18px 20px;border:1px solid #dbe4ea;border-radius:20px;background:#fff;box-shadow:0 8px 24px #0f172a0f}.ufo-teams-section-head{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:14px}.ufo-teams-section-head h3{margin:0 0 4px;font-size:18px;color:#0f172a}.ufo-teams-section-head p{max-width:720px;margin:0;font-size:14px;line-height:1.5;color:#475569}.ufo-shuffle-controls{display:flex;flex-wrap:wrap;align-items:flex-end;gap:10px}.ufo-shuffle-controls .ufo-field-hint{font-size:12.5px;color:#475569}.ufo-stepper{display:flex;align-items:stretch;height:var(--field-height);overflow:hidden;border:1.5px solid var(--field-border);border-radius:var(--field-radius);background:#fff}.ufo-stepper button{width:42px;border:0;background:#f1f5f9;color:#0f172a;font-size:20px;font-weight:700;cursor:pointer}.ufo-stepper button:hover:not(:disabled){background:#e2e8f0}.ufo-stepper button:disabled{opacity:.4;cursor:not-allowed}.ufo-stepper input[type=number]{width:56px;height:auto;padding:0;border:0;border-radius:0;box-shadow:none;text-align:center;font-size:17px;font-weight:800;-moz-appearance:textfield}.ufo-stepper input[type=number]::-webkit-inner-spin-button,.ufo-stepper input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.ufo-teams-empty{padding:22px;border:1.5px dashed #cbd5e1;border-radius:14px;background:#f8fafc;color:#475569;text-align:center}.ufo-shuffle-apply{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:10px;padding:10px 14px;border:1px solid #bfdbfe;border-radius:14px;background:#eff6ff;color:#1e3a8a;font-size:14px}@media (max-width: 640px){.ufo-teams-section{padding:14px 12px}.ufo-shuffle-controls{width:100%}}.ufo-teams-sound{min-width:44px;min-height:44px}.ufo-team-cols{display:grid;grid-template-columns:repeat(auto-fill,minmax(220px,1fr));gap:12px}.ufo-team-pool,.ufo-team-col{position:relative;display:flex;flex-direction:column;gap:8px;padding:0 0 10px;border:1.5px solid var(--team-border, #cbd5e1);border-radius:16px;background:#fff;transition:border-color .15s,box-shadow .15s,background .15s}.ufo-team-pool{border-style:dashed;background:#f8fafc}.ufo-team-col-head{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:50px;padding:8px 12px;border-radius:14px 14px 0 0;background:var(--team-bg, #eef2f7);color:var(--team-text, #334155)}.ufo-team-col-head strong{font-size:15.5px;font-weight:800}.ufo-team-col-head strong span{margin-left:6px;padding:2px 8px;border-radius:999px;background:#ffffffbf;font-size:12.5px}.ufo-team-col-head .ufo-btn-xs{background:#fff}.ufo-team-chips{display:flex;flex-wrap:wrap;gap:8px;margin:0;padding:0 10px;list-style:none}.ufo-team-chips.is-column{flex-direction:column;flex-wrap:nowrap}.ufo-team-chip{display:inline-flex;align-items:center;gap:8px;min-height:40px;padding:4px 12px 4px 6px;border:1px solid #e2e8f0;border-radius:999px;background:#fff;color:#0f172a;font:inherit;font-size:14.5px;font-weight:600;text-align:left;cursor:grab;box-shadow:0 1px 2px #0f172a0f;transition:border-color .12s,background .12s,transform .12s,box-shadow .12s}.ufo-team-chips.is-column .ufo-team-chip{width:100%;border-radius:10px}.ufo-team-chip:hover{border-color:#93c5fd;background:#f8fbff}.ufo-team-chip:active{cursor:grabbing}.ufo-team-chip.is-picked{border-color:#2563eb;background:#eff6ff;box-shadow:0 0 0 3px #2563eb40}.ufo-team-chip.is-scanning{border-color:#facc15;background:#fef9c3}.ufo-team-chip.is-winner{border-color:#22c55e;background:#dcfce7;color:#14532d;font-weight:800;transform:scale(1.03);box-shadow:0 0 0 3px #22c55e40}.ufo-team-chip.is-winner .ufo-team-avatar{border-color:#16a34a;background:#22c55e;color:#fff}.ufo-team-chip-name{min-width:0;overflow-wrap:anywhere}.ufo-team-chip[data-deal]{animation:ufo-spin-deal-in .38s ease-out both}.ufo-team-avatar{display:inline-grid;flex:none;place-items:center;width:28px;height:28px;border:1px solid var(--team-border, #cbd5e1);border-radius:50%;background:var(--team-bg, #e2e8f0);color:var(--team-text, #334155);font-size:13px;font-weight:800}.ufo-team-col-empty{margin:4px 10px 0;padding:14px;border:1.5px dashed #cbd5e1;border-radius:10px;color:#475569;font-size:13.5px;text-align:center}.ufo-team-pool.is-over,.ufo-team-col.is-over{border-color:#2563eb;background:#f8fbff;box-shadow:0 0 0 3px #2563eb40}.ufo-team-pool.is-target,.ufo-team-col.is-target{border-style:dashed;border-color:#2563eb;cursor:pointer}.ufo-team-drop-here{min-height:40px;margin:0 10px;border:1.5px dashed #2563eb;border-radius:10px;background:#eff6ff;color:#1d4ed8;font:inherit;font-weight:700;cursor:pointer}.ufo-team-save-bar{position:sticky;bottom:12px;z-index:5;display:flex;flex-wrap:wrap;align-items:center;gap:10px;padding:10px 14px;border:1.5px solid #fcd34d;border-radius:14px;background:#fffbeb;color:#78350f;box-shadow:0 10px 28px #0f172a2e}.ufo-team-save-bar>span{flex:1 1 220px}@media (max-width: 640px){.ufo-team-save-bar>button,.ufo-shuffle-controls>.primary-btn,.ufo-shuffle-controls>.secondary-btn:not(.ufo-teams-sound){flex:1}}@media (prefers-reduced-motion: reduce){.ufo-team-chip[data-deal]{animation:none}}.ufo-team-chip,.ufo-team-col-head{-webkit-user-select:none;user-select:none}
