:root{color-scheme:light;--bg: #f7f1e8;--surface: #fffdfa;--surface-soft: #f3eadf;--surface-tint: #faf6ef;--ink: #262131;--muted: #726879;--muted-strong: #51485c;--border: #e7dccd;--border-strong: #d9cbbc;--accent: #4b2f8f;--accent-strong: #3a2078;--accent-soft: #eee8ff;--accent-glow: rgba(75, 47, 143, .2);--success-bg: #dff4e8;--success: #237355;--warning-bg: #fff0c9;--warning: #8a631f;--danger-bg: #ffe2df;--danger: #b33a36;--danger-strong: #962d2a;--info-bg: #e3f1ff;--info: #335f9f;--shadow-soft: none;--shadow-card: none;--shadow-button: none;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Noto Sans TC,Microsoft JhengHei,sans-serif;color:var(--ink);background:var(--bg);font-synthesis:none;text-rendering:optimizeLegibility}*{box-sizing:border-box;box-shadow:none!important;text-shadow:none!important}html{background:var(--bg)}body{margin:0;min-width:320px;min-height:100vh;background:var(--bg)}button,input,textarea,select{font:inherit}button{display:inline-flex;min-height:44px;align-items:center;justify-content:center;gap:8px;border:0;border-radius:999px;padding:0 18px;background:var(--accent);color:#fff;cursor:pointer;font-weight:800;line-height:1;transition:background .16s ease,color .16s ease,opacity .16s ease,transform .16s ease;white-space:nowrap}button:hover{background:var(--accent-strong);transform:translateY(-1px)}button:active{transform:translateY(0)}button:disabled{cursor:not-allowed;opacity:.48;transform:none}button.secondary{background:#efe8f7;color:var(--accent);box-shadow:none}button.secondary:hover{background:#e5dcf2;color:var(--accent-strong)}button.danger{background:var(--danger);color:#fff}button.danger:hover{background:var(--danger-strong)}input,textarea,select{width:100%;border:1px solid var(--border);border-radius:20px;background:var(--surface);color:var(--ink);padding:12px 15px;transition:border-color .16s ease,background .16s ease}input:focus,textarea:focus,select:focus,button:focus-visible{outline:3px solid var(--accent-glow);outline-offset:2px}input:focus,textarea:focus,select:focus{border-color:#4b2f8f94}input[type=radio]:focus,input[type=radio]:focus-visible{border-color:transparent;outline:none}input[type=radio]{width:18px;height:18px;accent-color:var(--accent);box-shadow:none}input[type=file]{padding:10px 12px;background:var(--surface-tint)}input::file-selector-button{margin-right:12px;border:0;border-radius:999px;padding:8px 12px;background:var(--accent-soft);color:var(--accent);font-weight:800}textarea{min-height:108px;resize:vertical}label{display:grid;gap:8px;color:var(--muted-strong);font-size:.92rem;font-weight:800}.field-label{color:var(--muted-strong);font-size:.92rem;font-weight:800}h1,h2,h3,p{margin-top:0}h1{margin-bottom:0;color:var(--ink);font-family:Georgia,Times New Roman,"Noto Serif TC",ui-serif,serif;font-size:clamp(1.55rem,3vw,2.65rem);font-weight:700;letter-spacing:0}h2{margin-bottom:10px;font-size:1.18rem;letter-spacing:0}h3{margin-bottom:4px;font-size:1rem}p{color:var(--muted);line-height:1.58}p:last-child{margin-bottom:0}small{color:var(--muted);font-weight:800}.page{width:min(1180px,calc(100vw - 32px));margin:0 auto;padding:32px 0 56px}.page.narrow{width:min(540px,calc(100vw - 32px))}.app-header{display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:18px;margin-bottom:24px}.brand{min-width:108px;background:var(--ink);color:#fff}.brand:hover{background:var(--accent-strong)}.header-actions{display:flex;align-items:center;justify-content:flex-end;gap:10px}.panel,.item-card,.chat-panel{border:1px solid rgba(231,220,205,.92);border-radius:28px;background:#fffdfaeb}.panel{padding:24px}.form-stack{display:grid;gap:16px}.inline-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px}.grid-list,.activity-list{display:grid;gap:16px;margin-top:18px}.item-card{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:12px;align-items:center;padding:14px 16px}.item-card h2,.item-card h3{color:var(--ink)}.button-row{display:flex;flex-wrap:wrap;gap:10px;align-items:center}.button-row.compact button{min-height:34px;padding:0 12px;font-size:.84rem}.icon-button{width:38px;min-width:38px;min-height:38px;padding:0;border-radius:999px;font-size:.98rem}.icon-text-button span{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:999px;background:#fff3;font-size:1.1rem}.two-column{display:grid;grid-template-columns:minmax(0,1fr) minmax(280px,.42fr);gap:18px;align-items:start}.event-editor-layout{display:grid;grid-template-columns:minmax(360px,440px) minmax(0,1fr);gap:28px;align-items:start}.event-settings-panel{display:grid;position:sticky;top:18px;max-height:calc(100vh - 36px);gap:18px;overflow:auto;border:0;border-radius:0;background:transparent;padding:0}.event-fields{display:grid;gap:14px}.event-settings-panel textarea{min-height:86px}.event-editor-toolbar{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:14px}.file-import-button{position:relative;display:inline-flex;min-height:44px;align-items:center;justify-content:center;gap:8px;border-radius:999px;padding:0 18px;background:#efe8f7;color:var(--accent);cursor:pointer;font-weight:900;line-height:1;transition:background .16s ease,color .16s ease,transform .16s ease}.file-import-button:hover{background:#e5dcf2;color:var(--accent-strong);transform:translateY(-1px)}.file-import-button[aria-disabled=true]{cursor:not-allowed;opacity:.56}.file-import-button span{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:999px;background:#4b2f8f1a;font-size:1.1rem}.file-import-button input{position:absolute;width:1px;height:1px;overflow:hidden;opacity:0;pointer-events:none}.file-import-button img{width:20px;height:20px;filter:brightness(0) saturate(100%) invert(22%) sepia(31%) saturate(2260%) hue-rotate(327deg) brightness(88%) contrast(88%)}.presentation-delete-button{background:var(--danger-bg);color:var(--danger-strong)}.presentation-delete-button:hover{background:#ffd3cf;color:var(--danger-strong)}.presentation-status{display:grid;justify-items:end;gap:4px;text-align:left;font-size:.875rem}.event-timeline-column{display:grid;height:calc(100vh - 118px);max-height:calc(100vh - 118px);min-height:0;overflow:hidden;padding-right:6px}.activity-launch-card{display:flex;min-height:160px;align-items:center;justify-content:space-between;gap:18px;background:#fbf7f0}.activity-launch-card h2{margin-bottom:0;font-family:Georgia,Times New Roman,"Noto Serif TC",ui-serif,serif;font-size:clamp(1.7rem,3vw,2.3rem)}.modal-layer{position:fixed;z-index:50;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;overflow:auto;padding:24px;background:#26213147;-webkit-backdrop-filter:blur(12px);backdrop-filter:blur(12px);scrollbar-width:none}.modal-layer::-webkit-scrollbar{display:none}.activity-editor-card{width:min(860px,100%);max-height:calc(100vh - 48px);overflow-y:auto;border:1px solid rgba(231,220,205,.96);border-radius:30px;background:var(--surface);padding:20px;animation:modal-card-enter .18s ease-out;scrollbar-width:none}.activity-editor-card::-webkit-scrollbar{display:none}@keyframes modal-card-enter{0%{opacity:0;transform:translateY(10px) scale(.98)}to{opacity:1;transform:translateY(0) scale(1)}}.activity-editor-header{display:flex;align-items:start;justify-content:space-between;gap:16px;margin-bottom:18px}.activity-editor-header h2{margin-bottom:0;font-family:Georgia,Times New Roman,"Noto Serif TC",ui-serif,serif;font-size:clamp(1.45rem,2.5vw,2rem)}.close-button{width:38px;min-width:38px;min-height:38px;background:var(--surface-soft);color:var(--ink);box-shadow:none;font-size:1.35rem}.close-button:hover{background:#e8decd;color:var(--accent)}.modal-actions{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:10px;padding-top:2px}.activity-editor-form{display:grid;gap:14px}.question-primary-field{gap:8px}.question-title-input{min-height:150px;border-radius:24px;padding:16px 18px;resize:vertical}.activity-control-strip{display:grid;grid-template-columns:minmax(0,1fr) minmax(270px,.7fr);gap:0;align-items:stretch;border:1px solid rgba(231,220,205,.8);border-radius:22px;background:var(--surface-tint);padding:12px}.activity-control-left{display:grid;grid-template-columns:minmax(150px,.85fr) minmax(260px,1.35fr);gap:12px;align-items:end;padding-right:14px}.activity-control-right{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:12px;align-items:end;border-left:1px solid var(--border);padding-left:14px}.time-setting-group{display:grid;gap:7px}.time-setting-controls{display:flex;align-items:end;gap:10px}.activity-editor-grid{display:grid;grid-template-columns:minmax(150px,.32fr) minmax(0,1fr);gap:12px}.activity-settings-panel{display:grid;gap:10px}.settings-row{display:flex;min-height:52px;align-items:center;justify-content:space-between;gap:12px;border:1px solid rgba(231,220,205,.8);border-radius:20px;background:var(--surface-tint);padding:10px 12px}.toggle-row,.check-row{display:flex;align-items:center;justify-content:space-between;gap:12px;color:var(--ink)}.compact-toggle{min-height:48px;align-self:end}.settings-row .toggle-row{flex:1 1 auto;min-width:0}.toggle-row span{display:grid;gap:3px}.toggle-row small{font-size:.75rem;font-weight:700}.toggle-row input[type=checkbox]{width:44px;height:24px;flex:0 0 auto;-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0;border-radius:999px;background:#ddd3c7;padding:3px}.toggle-row input[type=checkbox]:before{display:block;width:18px;height:18px;border-radius:999px;background:var(--surface);content:"";transition:transform .16s ease}.toggle-row input[type=checkbox]:checked{background:var(--accent)}.toggle-row input[type=checkbox]:checked:before{transform:translate(20px)}.check-row{justify-content:flex-start;font-weight:800}.check-row input[type=checkbox]{width:18px;height:18px;accent-color:var(--accent)}.inline-number-field{width:min(180px,42%);flex:0 0 auto;gap:5px;font-size:.84rem}.time-seconds-field{width:min(185px,58%);transition:opacity .16s ease}.time-seconds-field.disabled{opacity:.48}.time-seconds-label{color:var(--muted-strong);font-size:.78rem;font-weight:800}.seconds-input-shell{position:relative;display:block}.seconds-input-shell input{padding-right:38px}.seconds-suffix{position:absolute;top:50%;right:12px;color:var(--muted-strong);font-size:.84rem;font-weight:800;pointer-events:none;transform:translateY(-50%)}.inline-number-field input{min-height:42px;padding:9px 12px}.inline-number-field .seconds-input-shell input{padding-right:38px}.expanded-field{min-height:74px;resize:vertical}.live-chip{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-top:12px}.live-chip span,.live-chip strong{border-radius:999px;background:var(--success-bg);color:var(--success);padding:5px 11px;font-size:.84rem}.option-editor-card{border:1px solid rgba(231,220,205,.8);border-radius:22px;background:var(--surface-tint);padding:14px}.option-editor{display:grid;gap:10px}.option-edit-row{display:grid;grid-template-columns:auto minmax(0,1fr) auto;gap:10px;align-items:center}.presentation-upload{border-top:1px solid var(--border);padding-top:16px}.timeline-list{display:grid;grid-template-rows:auto minmax(0,1fr);gap:0;min-height:0}.timeline-heading{display:grid;gap:4px;padding-inline:4px}.timeline-heading h2,.timeline-heading p{margin-bottom:0}.timeline-items-scroll{display:grid;align-content:start;min-height:0;overflow-y:auto;padding-right:6px;scrollbar-width:thin}.timeline-card{align-items:stretch;position:relative;padding:12px 14px}.timeline-card h2{display:-webkit-box;overflow:hidden;margin-bottom:2px;font-size:.96rem;line-height:1.3;-webkit-box-orient:vertical;-webkit-line-clamp:2}.timeline-card h3{margin-bottom:0;font-size:.94rem}.timeline-card p{display:-webkit-box;overflow:hidden;margin-bottom:2px;font-size:.82rem;line-height:1.32;-webkit-box-orient:vertical;-webkit-line-clamp:1}.timeline-card small{font-size:.72rem}.timeline-card.activity-card{cursor:grab}.timeline-card.activity-card:active{cursor:grabbing}.timeline-card-body{display:grid;grid-template-columns:minmax(0,126px) minmax(0,1fr);gap:10px;align-items:center}.timeline-card.activity-card .timeline-card-body{grid-template-columns:42px minmax(0,1fr)}.timeline-actions{justify-content:flex-end;gap:5px}.timeline-actions .icon-button{width:34px;min-width:34px;min-height:34px;font-size:.9rem}.timeline-card.dragging{opacity:.72}.timeline-card.drop-before:before,.timeline-card.drop-after:after{position:absolute;left:18px;right:18px;height:4px;border-radius:999px;background:var(--accent);content:""}.timeline-card.drop-before:before{top:-9px}.timeline-card.drop-after:after{bottom:-9px}.activity-type-icon{display:inline-grid;place-items:center;width:42px;height:42px;align-self:center;padding:0;border:0;border-radius:999px;background:var(--accent-soft);color:var(--accent);box-shadow:none;cursor:grab;pointer-events:none}.activity-type-icon img{width:22px;height:22px;filter:brightness(0) saturate(100%) invert(21%) sepia(42%) saturate(1665%) hue-rotate(239deg) brightness(87%) contrast(91%)}.activity-type-icon.type-multiple-choice{background:#eee8ff}.activity-type-icon.type-true-false{background:#e3f1ff}.activity-type-icon.type-short-answer{background:#fff0c9}.activity-type-icon.type-word-cloud{background:#dff4e8}.activity-type-icon.type-ranking{background:#f0e8ff}.timeline-insert-slot{position:relative;display:grid;min-height:10px;place-items:center;overflow:visible;transition:min-height .15s ease;transition-delay:0ms}.timeline-insert-slot:hover{min-height:46px;transition-delay:.26s}.timeline-insert-slot:focus-within{min-height:46px;transition-delay:0ms}.timeline-insert-slot.final{min-height:40px}.timeline-insert-slot.final:hover{min-height:52px}.timeline-insert-slot:before{position:absolute;top:50%;left:22px;right:22px;height:2px;border-radius:999px;background:#4b2f8f00;content:"";transform:translateY(-50%);transition:background .16s ease;transition-delay:0ms}.timeline-insert-slot:hover:before{background:#4b2f8f29;transition-delay:.26s}.timeline-insert-slot:focus-within:before{background:#4b2f8f29;transition-delay:0ms}.timeline-insert-button{position:absolute;top:50%;left:50%;z-index:1;width:36px;min-width:36px;min-height:36px;padding:0;border:4px solid var(--bg);border-radius:999px;background:var(--accent);color:#fff;opacity:0;pointer-events:none;transform:translate(-50%,-50%) scale(.74);transition:opacity .14s ease,transform .14s ease,background .14s ease;transition-delay:0ms}.timeline-insert-slot:hover .timeline-insert-button{opacity:1;pointer-events:auto;transform:translate(-50%,-50%) scale(1);transition-delay:.26s}.timeline-insert-slot:focus-within .timeline-insert-button,.timeline-insert-button:focus-visible{opacity:1;pointer-events:auto;transform:translate(-50%,-50%) scale(1);transition-delay:0ms}.empty-timeline-insert{display:grid;min-height:180px;place-items:center;gap:14px;border:1px dashed rgba(75,47,143,.24);border-radius:28px;background:#fffdfa8f}.pdf-page-preview{display:grid;place-items:center;width:min(150px,100%);overflow:hidden;border:1px solid var(--border);border-radius:22px;background:var(--surface-tint)}.pdf-page-preview canvas{display:block;max-width:100%;max-height:100%}.pdf-page-preview span{color:var(--muted);font-weight:900}.error-banner{border:1px solid rgba(179,58,54,.24);border-radius:22px;background:var(--danger-bg);color:var(--danger-strong);padding:13px 16px}.error-banner.transient{opacity:1;transform:translateY(0);transition:opacity .4s ease,transform .4s ease}.error-banner.transient.is-leaving{opacity:0;transform:translateY(-4px)}.muted{color:var(--muted)}.live-layout{display:grid;grid-template-columns:minmax(0,1fr) 360px;grid-template-areas:"header header" "error error" "main chat";gap:18px}.live-layout .app-header{grid-area:header;margin-bottom:0}.live-layout>.error-banner{grid-area:error}.error-stack{display:grid;grid-area:error;gap:10px}.live-main{grid-area:main;min-height:520px}.chat-panel{grid-area:chat;display:grid;grid-template-rows:auto minmax(0,1fr) auto;min-height:520px;overflow:hidden}.chat-header,.chat-form{padding:16px;border-bottom:1px solid var(--border)}.chat-header{display:flex;align-items:center;justify-content:space-between}.chat-header h2{margin-bottom:0}.messages{display:grid;align-content:start;gap:12px;padding:16px;overflow:auto}.message{border:1px solid rgba(231,220,205,.86);border-radius:22px;padding:14px;background:var(--surface-tint)}.message.hidden{opacity:.64}.message.deleted{opacity:.42}.message-meta{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin-bottom:8px}.message-meta span{border-radius:999px;background:var(--info-bg);color:var(--info);padding:3px 9px;font-size:.78rem;font-weight:800}.chat-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;border-top:1px solid var(--border);border-bottom:0}.status-row{display:flex;flex-wrap:wrap;gap:12px;align-items:center;margin-bottom:24px;color:var(--muted-strong)}.status{width:11px;height:11px;border-radius:999px;background:var(--danger)}.status.online{background:var(--success)}.question-block{border-bottom:1px solid var(--border);margin-bottom:20px;padding-bottom:20px}.question-block h2{font-size:clamp(1.5rem,3vw,2.35rem)}.results-panel{margin-top:24px;border-top:1px solid var(--border);padding-top:20px}.presentation-stage{display:grid;place-items:center;width:100%;max-height:68vh;overflow:hidden;border:1px solid var(--border);border-radius:26px;background:var(--surface);margin-inline:auto}.presentation-stage canvas{display:block;max-width:100%;max-height:100%}.pdf-render-error{align-self:end;justify-self:center;color:var(--danger-strong)}.result-bars{display:grid;gap:14px}.result-stack{display:grid;gap:18px}.result-row{display:grid;grid-template-columns:1fr;gap:8px}.result-label{display:flex;justify-content:space-between;gap:12px}.result-label span{display:inline-flex;flex-wrap:wrap;gap:8px;align-items:center}.result-label em{border-radius:999px;background:var(--success-bg);color:var(--success);font-size:.76rem;font-style:normal;font-weight:800;padding:3px 9px}.bar-track{height:14px;overflow:hidden;border-radius:999px;background:#ebe1d5}.bar-fill{height:100%;border-radius:inherit;background:var(--accent);transition:width .16s ease}.answer-list{display:grid;gap:12px}.answer-item{border:1px solid var(--border);border-radius:22px;padding:14px;background:var(--surface-tint)}.word-cloud{display:block;width:100%;min-height:260px;border:1px solid var(--border);border-radius:24px;background:var(--surface-tint);font-family:Microsoft JhengHei,PingFang TC,Noto Sans CJK TC,Noto Sans CJK,sans-serif}.word-cloud rect{fill:var(--surface-tint)}.word-cloud-text{dominant-baseline:central;text-anchor:middle;font-weight:800;paint-order:stroke;stroke:#fffdfad6;stroke-width:4px;transition:font-size .18s ease,opacity .18s ease,transform .18s ease}.word-cloud-text:hover{opacity:.78}.response-table{display:grid;overflow:hidden;border:1px solid var(--border);border-radius:22px;background:var(--surface)}.response-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr) 88px;gap:10px;padding:12px 14px;border-top:1px solid var(--border)}.response-row:first-child{border-top:0}.response-row.heading{background:var(--surface-tint);color:var(--muted-strong);font-weight:800}.choice-list{display:grid;gap:12px}.choice{grid-template-columns:auto minmax(0,1fr);align-items:center;gap:12px;border:1px solid var(--border);border-radius:24px;padding:14px;color:var(--ink);background:var(--surface)}.choice input{width:auto}.qr-dialog{width:100%;max-width:min(540px,calc(100vw - 32px));border:1px solid var(--border);border-radius:30px;padding:22px;background:var(--surface)}.qr-dialog::backdrop{background:#2621317a;-webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px)}.share-dialog-header{display:flex;align-items:center;justify-content:space-between;gap:12px}.share-dialog-header h2{margin-bottom:0}.qr-preview{display:grid;place-items:center;padding:16px;border:1px solid var(--border);border-radius:24px;background:var(--surface-tint)}.qr-preview svg{display:block}.countdown{display:inline-flex;align-items:center;margin-top:.5rem;padding:.45rem .95rem;border-radius:999px;background:var(--info-bg);color:var(--info);font-weight:800}.countdown.ended{background:var(--danger-bg);color:var(--danger-strong)}.choice.correct{border-color:#2373554d;background:var(--success-bg)}.choice.correct em{color:var(--success);font-style:normal;font-weight:800}.choice.wrong{border-color:#b33a3647;background:var(--danger-bg)}.choice.wrong em{color:var(--danger-strong);font-style:normal;font-weight:800}.explanation-panel p{white-space:pre-wrap;line-height:1.6}.answer-reveal{margin-top:.5rem;padding:.75rem .95rem;border-radius:20px;background:var(--surface-tint);line-height:1.6}.verdict{font-style:normal;font-weight:800}.verdict.correct{color:var(--success)}.verdict.wrong{color:var(--danger-strong)}@media(max-width:860px){.page{width:min(100% - 24px,1180px);padding-top:22px}.app-header,.item-card,.timeline-card-body,.event-editor-layout,.two-column,.inline-form,.live-layout{grid-template-columns:1fr}.event-settings-panel{position:static;max-height:none;overflow:visible}.event-timeline-column{height:auto;max-height:none;overflow:visible;padding-right:0}.timeline-items-scroll{overflow:visible;padding-right:0}.live-layout{grid-template-areas:"header" "error" "main" "chat"}.header-actions{justify-content:flex-start}.activity-launch-card{align-items:stretch;flex-direction:column}.timeline-actions{justify-content:flex-start}.chat-panel,.live-main{min-height:auto}.messages{max-height:360px}.modal-layer{align-items:start;padding:14px}.activity-editor-card{max-height:calc(100vh - 28px);border-radius:28px;padding:18px}.activity-editor-grid,.activity-control-strip{grid-template-columns:1fr}.activity-control-left,.activity-control-right{grid-template-columns:1fr;padding-right:0;padding-left:0}.activity-control-right{border-left:0;border-top:1px solid var(--border);padding-top:12px}.settings-row,.time-setting-controls{align-items:stretch;flex-direction:column}.inline-number-field,.time-seconds-field{width:100%}.modal-actions{justify-content:stretch}.modal-actions button{flex:1 1 160px}}@media(max-width:560px){.panel,.item-card,.chat-panel{border-radius:22px}.panel,.item-card{padding:18px}.timeline-card{padding:12px}.app-header{gap:12px}.option-edit-row{grid-template-columns:auto minmax(0,1fr)}.option-edit-row .icon-button{grid-column:2;justify-self:end}.chat-form{grid-template-columns:1fr}}.leaderboard{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:6px}.leaderboard-row{display:grid;grid-template-columns:2rem 1fr auto;align-items:center;gap:12px;padding:8px 12px;border-radius:8px;background:#f6f7f9}.leaderboard-row .rank{font-weight:700;color:#687b85;text-align:center}.leaderboard-row .name{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.leaderboard-row .score{color:#176b87;font-variant-numeric:tabular-nums}.leaderboard-row.me{background:#dff3ea}.leaderboard-row.me .score{color:#1b6b4a}.my-score{margin:12px 0 0;padding:10px 12px;border-radius:8px;background:#dff3ea;color:#1b6b4a;font-variant-numeric:tabular-nums}.sortable-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}.sortable-item{display:flex;align-items:center;gap:10px;padding:12px;border-radius:10px;background:#fff;border:1px solid #dce4e8;cursor:grab;-webkit-user-select:none;user-select:none;box-shadow:0 1px 2px #0f283714;transition:box-shadow .12s ease,transform .12s ease,border-color .12s ease}.sortable-item.dragging{cursor:grabbing;border-color:#176b87;transform:scale(1.02);box-shadow:0 6px 16px #176b8733;position:relative;z-index:5}.sortable-item.disabled{cursor:default;box-shadow:none}.sortable-item .drag-handle{color:#9aa7ad;font-size:18px;line-height:1}.sortable-item .rank{font-weight:700;color:#176b87;min-width:1.2rem;text-align:center}.sortable-item .name{flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sortable-item input{flex:1;min-width:0}.sortable-item button{padding:4px 10px}.result-order{list-style:none;margin:0;padding:0;display:flex;flex-direction:column;gap:8px}.result-order-item{display:flex;align-items:center;gap:10px;padding:12px;border-radius:12px;background:#176b87;color:#fff;box-shadow:0 2px 6px #0f28371f,0 6px 14px #176b872e}.result-order-item .rank{font-weight:700;min-width:1.4rem;text-align:center;color:#cdeaf2}.result-order-item .name{flex:1;font-weight:600}
