.dg-halloween-lock-note{font-size:12px;line-height:1.6;color:#fed7aa;margin:8px 0}.dg-mode-options button:disabled{opacity:1;cursor:not-allowed;color:#cbd5e1;background:#25332e;border:1px solid #64748b}
.dg-set-updated{display:flex;align-items:center;flex-wrap:wrap;gap:8px;font-size:12px;line-height:1.6;color:#cbd5e1;margin:12px 0}.dg-update-badge{display:inline-flex;align-items:center;gap:4px;background:#422b12;border:1px solid #b7791f;color:#ffdf9c;padding:3px 8px;border-radius:8px;font-weight:700}
html[data-dg-mode=dark] body .fc-set-card,html[data-dg-mode=dark] body .fset-hero,html[data-dg-mode=dark] body .fset-card,html[data-dg-mode=dark] body .fset-stat{background:#182620!important;background-image:none!important;border:1px solid #42574b!important;color:#edf5ef!important;box-shadow:0 6px 22px #0002!important;backdrop-filter:none!important;-webkit-backdrop-filter:none!important;opacity:1!important}
html body .fset-hero::before,html body .fc-set-card::before{display:none!important}
html[data-dg-mode=dark] body .fset-hero-title,html[data-dg-mode=dark] body .fc-set-title,html[data-dg-mode=dark] body .fset-card-front{color:#b7f3c9!important;background:none!important;-webkit-text-fill-color:#b7f3c9!important;text-shadow:none!important;opacity:1!important}
html[data-dg-mode=dark] body .fset-hero-desc,html[data-dg-mode=dark] body .fc-set-desc,html[data-dg-mode=dark] body .fset-hero-owner,html[data-dg-mode=dark] body .fc-owner{color:#d0ddd4!important;opacity:1!important}
html[data-dg-mode=dark] body .fset-hero-owner b{color:#f0f7f2!important}
html body .fc-sets-grid{grid-template-columns:repeat(auto-fill,minmax(min(100%,300px),1fr));align-items:stretch}
html body .fc-set-card{padding:20px;border-radius:18px;min-width:0;transition:border-color .15s;transform:none!important}
html body .fc-set-type-badge{position:static;align-self:flex-start;margin-bottom:12px;max-width:100%}
html body .fc-set-top{padding-right:0!important;min-width:0}html body .fc-set-badges{gap:6px;flex-wrap:wrap}html body .fc-set-title{font-size:21px;line-height:1.4;overflow-wrap:anywhere;margin-top:8px}html body .fc-set-desc{font-size:14px;line-height:1.6}html body .fc-set-actions{margin-top:auto;padding-top:14px;display:flex;gap:8px;flex-wrap:wrap}html body .fc-set-actions>*{min-height:44px;min-width:0;justify-content:center}
html[data-dg-mode=dark] body .fc-badge,html[data-dg-mode=dark] body .fc-set-type-badge,html[data-dg-mode=dark] body .fset-badge{background:#263d31!important;color:#d9fbe5!important;border-color:#587c65!important;max-width:100%;white-space:normal;overflow-wrap:anywhere}
html body .fset-hero-info{min-width:0}html body .fset-hero-owner{flex-wrap:wrap;min-width:0}html body .fset-hero-title{overflow-wrap:anywhere}html body .fset-stats{min-width:0}html body .fset-stat{min-width:0}
@media(max-width:767px){html body .fset-hero{padding:18px!important;border-radius:16px!important}html body .fset-hero-top{flex-direction:column;gap:12px;margin-bottom:16px}html body .fset-hero-info{width:100%}html body .fset-hero-actions{width:100%;display:flex;gap:8px;flex-wrap:wrap}html body .fset-hero-actions>*{min-height:44px;flex:1;justify-content:center}html body .fset-hero-title{font-size:clamp(22px,6vw,28px)!important;line-height:1.35!important;margin:12px 0}html body .fset-badges{gap:6px}html body .fset-hero-desc{font-size:14px!important;line-height:1.6!important}html body .fset-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}html body .fset-stat{padding:12px 8px!important;border-radius:12px!important}html body .fset-stat-label{font-size:10px!important;white-space:normal}html body .fset-stat-num{font-size:25px!important}html body .fc-set-card{padding:16px}html body .fc-set-actions .fc-btn-study{flex:1 1 100%}html body .fc-set-actions .fc-btn-edit,html body .fc-set-actions .fc-btn-share{flex:1}.dg-set-updated{font-size:12px}}
@media(prefers-reduced-motion:reduce){html body .fc-set-card,html body .fset-hero{animation:none!important;transition:none!important}}

.dg-import-review{width:min(760px,calc(100% - 24px));max-height:85vh;max-height:85dvh;padding:20px;border:1px solid #56715f;border-radius:16px;background:#17261e;color:#edf5ef;box-sizing:border-box}.dg-import-review::backdrop{background:#000a}.dg-import-review h2{font-size:20px;font-weight:750}.dg-import-review p{font-size:13px;line-height:1.6;white-space:pre-wrap;overflow-wrap:anywhere;margin:8px 0}.dg-import-change-list{max-height:50vh;overflow:auto;overscroll-behavior:contain}.dg-import-change-list section{padding:12px;border:1px solid #42574b;border-radius:10px;margin:10px 0}.dg-import-change-list label{display:flex;gap:10px;align-items:center;min-height:44px}.dg-import-change-list input{width:22px;height:22px;flex-shrink:0}.dg-import-review-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}.dg-import-review-actions button{flex:1;min-height:46px;padding:10px;border:1px solid #587c65;border-radius:10px;background:#263d31;color:#f0f7f2;font:700 14px system-ui;cursor:pointer}.dg-import-review-actions button:last-child{background:#166534}.dg-import-review button:focus-visible{outline:3px solid #fbbf24;outline-offset:3px}

html[data-dg-mode=dark] body .fset-srs-widget,html[data-dg-mode=dark] body .fset-srs-box,html[data-dg-mode=dark] body .fset-memory,html[data-dg-mode=dark] body .fs-srs-chip,html[data-dg-mode=dark] body .fs-memory-bar{background:#192c24!important;background-image:none!important;border:1px solid #496658!important;color:#edf5ef!important;box-shadow:none!important;opacity:1!important}
html[data-dg-mode=dark] body .fset-srs-widget::before{display:none!important}
html[data-dg-mode=dark] body .fset-srs-widget-title,html[data-dg-mode=dark] body .fset-srs-lbl,html[data-dg-mode=dark] body .fset-memory-label,html[data-dg-mode=dark] body .fset-memory-pct,html[data-dg-mode=dark] body .fs-memory-label,html[data-dg-mode=dark] body .fs-memory-pct{color:#e4eee8!important}
html[data-dg-mode=dark] body .dg-card-group-note,html[data-dg-mode=dark] body .dg-study-note{color:#c8dbd0!important}
html[data-dg-mode=dark] body .fset-srs-box.new .fset-srs-num{color:#bbb8ff!important}html[data-dg-mode=dark] body .fset-srs-box.learning .fset-srs-num{color:#ffd18a!important}html[data-dg-mode=dark] body .fset-srs-box.young .fset-srs-num{color:#ffb1d8!important}html[data-dg-mode=dark] body .fset-srs-box.mature .fset-srs-num{color:#85ebc8!important}
html[data-dg-mode=dark] body .fset-memory-track,html[data-dg-mode=dark] body .fs-memory-track{background:#3d574a!important}
.dg-word-type-badge{position:absolute;top:18px;right:18px;z-index:6;max-width:64%;padding:6px 10px;border:1px solid #78b29a;border-radius:9px;background:#1d4030;color:#e1ffed;font:700 12px/1.4 system-ui,sans-serif;overflow-wrap:anywhere;pointer-events:none}.dg-word-type-badge[hidden]{display:none!important}
html body .fs-card-counter{left:18px;right:auto}
@media(max-width:480px){.dg-word-type-badge{top:12px;right:12px;font-size:11px;max-width:62%;padding:5px 8px}html body .fs-card-counter{left:12px;top:12px;padding:5px 8px}}
