.dc-modal-card,.dc-page,.dc-share{--dc-bg:var(--bg-primary,#f3faf8);--dc-surface:var(--bg-surface,#fff);--dc-subtle:var(--bg-surface-elevated,#e8f5f1);--dc-hover:var(--bg-surface-hover,#def0eb);--dc-text:var(--text-main,#16323f);--dc-muted:var(--text-muted,#49665f);--dc-border:var(--border-subtle,rgba(22,50,63,.16));--dc-blue:#0369a1;--dc-blue-soft:#e0f2fe;--dc-emerald:#047857;--dc-emerald-soft:#d1fae5;--dc-amber:#92400e;--dc-amber-soft:#fef3c7;--dc-rose:#be123c;--dc-rose-soft:#ffe4e6;color:var(--dc-text);font-family:inherit}[data-theme=dark] .dc-modal-card,[data-theme=dark] .dc-page,[data-theme=dark] .dc-share{--dc-bg:var(--bg-primary,#0a0f1d);--dc-surface:var(--bg-surface,#111827);--dc-subtle:var(--bg-surface-elevated,#1e293b);--dc-hover:var(--bg-surface-hover,#283548);--dc-text:var(--text-main,#f1f5f9);--dc-muted:var(--text-muted,#94a3b8);--dc-border:var(--border-subtle,hsla(0,0%,100%,.16));--dc-blue:#7dd3fc;--dc-blue-soft:#16344a;--dc-emerald:#6ee7b7;--dc-emerald-soft:#133d32;--dc-amber:#fcd34d;--dc-amber-soft:#42331a;--dc-rose:#fda4af;--dc-rose-soft:#441f31}.dc-page{width:100%;min-width:0;padding:12px 0 24px;display:flex;flex-direction:column;align-items:center;gap:16px;background:var(--dc-bg)}.dc-modal-card *,.dc-page *,.dc-share *{box-sizing:border-box}.dc-modal-card svg,.dc-page svg,.dc-share svg{width:20px;height:20px;flex-shrink:0}.dc-toolbar{width:100%;max-width:640px;display:flex;align-items:center;justify-content:space-between;gap:12px}.dc-back-link{display:inline-flex;align-items:center;gap:4px;color:var(--dc-muted);font-size:.875rem;text-decoration:none;min-height:44px}.dc-back-link:hover{color:var(--dc-blue);text-decoration:underline}.dc-card{width:100%;max-width:560px;min-width:0;display:flex;flex-direction:column;gap:20px;padding:28px;background:var(--dc-surface);border:1px solid var(--dc-border);border-radius:24px;box-shadow:var(--shadow-lg,0 12px 32px rgba(22,50,63,.08));overflow-wrap:anywhere}.dc-centered{text-align:center}.dc-title{font-size:clamp(1.35rem,4vw,1.8rem);line-height:1.3;font-weight:800;margin:0}.dc-muted{color:var(--dc-muted);font-size:.875rem;line-height:1.6}.dc-row{display:flex;justify-content:space-between;align-items:center;gap:12px;min-width:0}.dc-wrap{flex-wrap:wrap}.dc-inline{display:inline-flex;align-items:center;gap:6px}.dc-panel{min-width:0;padding:16px;background:var(--dc-subtle);border:1px solid var(--dc-border);border-radius:16px;line-height:1.65;text-align:left;overflow-wrap:anywhere}.dc-panel p{margin:0}.dc-section-label{display:flex;align-items:center;gap:6px;color:var(--dc-blue);font-size:.875rem;font-weight:700;line-height:1.5;margin:0 0 8px}.dc-row>.dc-section-label{margin-bottom:0}.dc-task-panel{font-size:.875rem}.dc-task-list{list-style:none;padding:0;margin:12px 0 0;display:grid;grid-gap:12px;gap:12px}.dc-task-list li{display:grid;grid-template-columns:20px auto minmax(0,1fr);grid-gap:8px;gap:8px;align-items:start}.dc-task-list li>svg{color:var(--dc-emerald)}.dc-task-list li>span{color:var(--dc-muted);text-align:right}.dc-action-grid,.dc-answer-grid,.dc-stats-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-gap:12px;gap:12px;width:100%}.dc-stat{display:flex;align-items:center;gap:10px;padding:14px;border-radius:16px;background:var(--dc-subtle);border:1px solid var(--dc-border);text-align:left}.dc-stat,.dc-stat>div{min-width:0}.dc-stat span,.dc-stat strong{display:block}.dc-stat strong{font-size:1rem;line-height:1.5}.dc-tone-amber{color:var(--dc-amber)}.dc-tone-emerald{color:var(--dc-emerald)}.dc-tone-blue{color:var(--dc-blue)}.dc-score{font-size:clamp(1.5rem,5vw,2rem);line-height:1.3;font-weight:800;margin:0}.dc-prediction .dc-row{margin-bottom:8px}.dc-breakdown-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));grid-gap:8px;gap:8px}.dc-breakdown-grid .dc-panel{text-align:center;padding:12px 8px}.dc-breakdown-grid strong{display:block}.dc-stack{display:grid;grid-gap:12px;gap:12px;width:100%}.dc-btn-3d{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-width:0;min-height:48px;padding:12px 16px;border:solid transparent;border-width:1px 1px 4px;border-radius:14px;font:inherit;font-size:.9375rem;font-weight:700;line-height:1.5;text-align:center;text-decoration:none;cursor:pointer;touch-action:manipulation;transition:transform .1s ease,filter .1s ease;overflow-wrap:anywhere}.dc-btn-emerald{color:#fff;background:linear-gradient(#047857,#065f46);border-bottom-color:#064e3b}.dc-btn-blue{color:#fff;background:linear-gradient(#0369a1,#075985);border-bottom-color:#0c4a6e}.dc-btn-amber{color:#fff;background:linear-gradient(#b45309,#92400e);border-bottom-color:#78350f}.dc-btn-ghost{color:var(--dc-text);background:var(--dc-subtle);border-color:var(--dc-border)}.dc-btn-3d:hover:not(:disabled){filter:brightness(1.08)}.dc-btn-3d:active:not(:disabled){transform:translateY(2px)}.dc-btn-3d:disabled{opacity:.55;cursor:not-allowed}.dc-button-full{width:100%}.dc-grow{flex:1 1}.dc-actions{display:flex;align-items:stretch;gap:12px}.dc-icon-button{display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;padding:10px;flex-shrink:0;color:var(--dc-text);background:var(--dc-subtle);border:1px solid var(--dc-border);border-radius:12px;cursor:pointer}.dc-text-button{color:var(--dc-blue);font:inherit;font-size:.875rem;min-height:44px;padding:6px 0;border:0;background:none;cursor:pointer;text-align:left}.dc-text-button:hover{text-decoration:underline}.dc-modal-card button:focus-visible,.dc-page a:focus-visible,.dc-page button:focus-visible,.dc-share button:focus-visible{outline:3px solid var(--dc-blue);outline-offset:3px}.dc-hero-emoji{font-size:2.5rem;line-height:1.2}.dc-progress-track{width:100%;height:12px;border-radius:999px;background:var(--dc-subtle);overflow:hidden}.dc-progress-bar-fill{height:100%;background:linear-gradient(90deg,#047857,#0369a1);position:relative;overflow:hidden;border-radius:inherit;transition:width .35s ease}.dc-progress-bar-fill:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent,hsla(0,0%,100%,.25),transparent);animation:dc-shimmer 2s infinite}@keyframes dc-shimmer{0%{transform:translateX(-100%)}to{transform:translateX(100%)}}.dc-flame-pulse{animation:dc-flame-anim 1.6s ease-in-out infinite}@keyframes dc-flame-anim{0%,to{transform:scale(1)}50%{transform:scale(1.12)}}.dc-pill{display:inline-flex;align-items:center;justify-content:center;gap:6px;max-width:100%;padding:5px 10px;border:1px solid;border-radius:999px;font-size:.75rem;font-weight:700;line-height:1.5}.dc-pill-blue{background:var(--dc-blue-soft);color:var(--dc-blue)}.dc-pill-amber{background:var(--dc-amber-soft);color:var(--dc-amber)}.dc-pill-emerald{background:var(--dc-emerald-soft);color:var(--dc-emerald)}.dc-day-badge{align-self:center;flex-wrap:wrap}.dc-timer{color:var(--dc-muted);font-feature-settings:"tnum";font-variant-numeric:tabular-nums;font-size:.875rem}.dc-passage p{white-space:pre-line;font-size:.9375rem}.dc-question{font-size:1.0625rem;font-weight:700;line-height:1.6;margin:0}.dc-options{border:0;min-width:0;padding:0;margin:0}.dc-options legend{float:left;width:100%;margin-bottom:16px}.dc-options legend+.dc-option-card{clear:both}.dc-option-card{position:relative;display:flex;align-items:center;gap:12px;min-height:64px;padding:14px;margin-bottom:12px;background:var(--dc-subtle);color:var(--dc-text);border:2px solid var(--dc-border);border-radius:16px;cursor:pointer;transition:background .15s ease,border-color .15s ease}.dc-option-card:last-child{margin-bottom:0}.dc-option-card:hover{background:var(--dc-hover);border-color:var(--dc-blue)}.dc-option-card.selected{background:var(--dc-blue-soft);border-color:var(--dc-blue)}.dc-option-card:focus-within{outline:3px solid var(--dc-blue);outline-offset:3px}.dc-option-card input{position:absolute;opacity:0;width:1px;height:1px}.dc-option-key{width:38px;height:38px;display:inline-flex;align-items:center;justify-content:center;border-radius:10px;border:1px solid var(--dc-border);background:var(--dc-surface);color:var(--dc-muted);flex-shrink:0;font-weight:800}.dc-option-card.selected .dc-option-key{color:var(--dc-blue);border-color:var(--dc-blue)}.dc-option-text{min-width:0;flex:1 1;font-size:.9375rem;font-weight:600;text-align:left;overflow-wrap:anywhere}.dc-sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;-webkit-clip-path:inset(50%);clip-path:inset(50%);white-space:nowrap;border:0}.dc-review-list{display:grid;grid-gap:10px;gap:10px}.dc-review-item{display:flex;align-items:center;gap:10px;width:100%;min-width:0;padding:12px;color:var(--dc-text);background:var(--dc-subtle);border:1px solid var(--dc-border);border-radius:14px;font:inherit;text-align:left;cursor:pointer}.dc-review-item:hover{border-color:var(--dc-blue)}.dc-review-answer,.dc-review-number{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;flex-shrink:0;background:var(--dc-surface);border-radius:8px;font-weight:700;font-size:.875rem}.dc-review-answer{color:var(--dc-blue);background:var(--dc-blue-soft)}.dc-review-summary{min-width:0;flex:1 1}.dc-review-summary strong{display:block;color:var(--dc-blue);font-size:.75rem}.dc-review-summary>span{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:.875rem}.dc-review-edit{flex-shrink:0;color:var(--dc-muted);font-size:.75rem}.dc-question-tabs{display:flex;gap:8px;padding:4px;overflow-x:auto}.dc-question-tab{width:44px;height:44px;flex-shrink:0;border:1px solid;border-radius:12px;font:inherit;font-weight:700;cursor:pointer}.dc-question-tab[aria-current]{outline:3px solid var(--dc-blue);outline-offset:1px}.dc-answer h3{font-size:.875rem;margin:0 0 8px}.dc-answer p{font-weight:700}.dc-page .correct{background:var(--dc-emerald-soft);color:var(--dc-emerald)}.dc-page .incorrect{background:var(--dc-rose-soft);color:var(--dc-rose)}.dc-related-list{margin:0;padding-left:20px;display:grid;grid-gap:6px;gap:6px;font-size:.875rem}.dc-share{width:100%;min-width:0;display:grid;grid-gap:16px;gap:16px}.dc-share-preview{width:100%;max-width:416px;min-width:0;margin:0 auto;overflow:hidden;background:#0f172a;border:1px solid var(--dc-border);border-radius:16px}.dc-share-preview canvas{display:block;width:100%;height:auto;aspect-ratio:4/5}.dc-share-status{min-height:24px;font-size:.875rem;color:var(--dc-muted);text-align:center;overflow-wrap:anywhere}.dc-error{color:var(--dc-rose);background:var(--dc-rose-soft);border-radius:12px;padding:12px;font-size:.875rem}.dc-modal-card{position:fixed;inset:0;width:min(480px,calc(100% - 32px));max-height:calc(100dvh - 32px);overflow-y:auto;overscroll-behavior:contain;margin:auto;padding:24px;border:1px solid var(--dc-border);border-radius:24px;background:var(--dc-surface);box-shadow:0 24px 80px rgba(0,0,0,.3);overflow-wrap:anywhere}.dc-modal-card:not([open]){display:none}.dc-modal-card[open]{display:flex;flex-direction:column;gap:20px}.dc-modal-card::-webkit-backdrop{background:rgba(0,0,0,.65)}.dc-modal-card::backdrop{background:rgba(0,0,0,.65)}@media (max-width:480px){.dc-card{padding:18px;border-radius:20px;gap:16px}.dc-answer-grid,.dc-stats-grid{grid-template-columns:minmax(0,1fr)}.dc-task-list li{grid-template-columns:20px minmax(0,1fr)}.dc-task-list li>span{grid-column:2;text-align:left}.dc-modal-card{padding:20px}}@media (max-width:360px){.dc-action-grid{grid-template-columns:minmax(0,1fr)}.dc-card{padding:14px}.dc-review-edit{display:none}}@media (prefers-reduced-motion:reduce){.dc-flame-pulse,.dc-progress-bar-fill:after{animation:none}.dc-btn-3d,.dc-option-card,.dc-progress-bar-fill{transition:none}}.dc-copy-fallback{display:grid;grid-gap:8px;gap:8px;font-size:.875rem;color:var(--dc-muted)}.dc-copy-fallback input{min-width:0;width:100%;padding:12px;color:var(--dc-text);background:var(--dc-subtle);border:1px solid var(--dc-border);border-radius:10px;font:inherit}