/* UnlockDee: the original charcoal and red theme, with a shorter creation flow. */
:root { --text-faint: #9ba4af; }
body { font-size: 16px; }
.dee-action-choices { display:flex; flex-wrap:wrap; gap:8px; margin:0 0 20px; }
.dee-action-chip { border:1px solid var(--border); border-radius:10px; background:var(--surface-2); color:var(--text-muted); padding:9px 12px; font:inherit; font-size:14px; line-height:1.4; cursor:pointer; min-height:42px; }
.dee-action-chip:hover { border-color:var(--signal); color:var(--text); }
.dee-action-chip[aria-pressed="true"] { background:var(--signal); border-color:var(--signal); color:var(--signal-text); }
.dee-action-chip:disabled { opacity:.4; cursor:not-allowed; }
.dee-action-custom { border-style:dashed; }
.dee-action-select, .dee-custom-label { display:grid; gap:7px; margin:0; }
.dee-platform-row { display:block; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 2px solid var(--signal); outline-offset: 4px; }
.brand-accent { color: var(--signal); }
.dee-container { width: min(1120px, calc(100% - 48px)); max-width: 1120px; padding-inline: 0; }
.dee-home .navbar { padding-block: 26px; }
.dee-help-link { font-size: 14px; color: var(--text-muted); }
.dee-heading { margin: 24px 0 28px; }
.dee-heading .eyebrow { margin-bottom: 12px; font-size: 12px; }
.dee-heading h1 { font-size: clamp(26px, 3vw, 38px); line-height: 1.4; letter-spacing: -.035em; margin: 0 0 8px; }
.dee-heading p { margin: 0; color: var(--text-muted); }
.dee-workspace { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(300px, 1fr); gap: 32px; align-items: start; }
.dee-editor { padding: 28px; }
.dee-section + .dee-section { margin-top: 28px; padding-top: 26px; border-top: 1px solid var(--border); }
.dee-section .form-section-title { margin-bottom: 16px; }
.dee-section .form-section-title h2 { margin: 0 0 4px; font-size: 18px; }
.dee-section .form-section-title p, .form-hint, .form-section-title p { font-size: 14px; }
.form-control { font-size: 16px; }
.form-label, .btn-sm, .btn-lg, .help-disclosure summary, .help-disclosure p, .compact-field, .color-control span { font-size: 14px; }
.dee-limit { color: var(--text-faint); font-size: 12px; margin-inline-start: 12px; }
.dee-step { padding: 14px 12px; gap: 10px; }
.dee-step .step-fields { gap: 8px; }
.dee-step .step-icon { background: var(--surface); font-weight: 600; }
.dee-step .step-url-label { margin: 4px 0 0; font-size: 14px; color: var(--text-muted); }
.dee-step .step-remove:disabled { opacity: .25; cursor: not-allowed; }
.dee-step-options summary { font-size: 12px; color: var(--text-faint); cursor: pointer; padding: 2px 0; }
.dee-step-options-body { padding-top: 12px; }
.dee-step-options .step-fields-row-split { grid-template-columns: 1fr; }
.dee-options { border-top: 1px solid var(--border); margin-top: 22px; }
.dee-options > summary { padding: 18px 0; cursor: pointer; color: var(--text-muted); font-size: 14px; }
.dee-options > summary > span { font-size: 12px; color: var(--text-faint); margin-left: 10px; }
.dee-options-body { padding: 4px 0 8px; }
.dee-options .preset-panel { padding: 14px; margin: 0; }
.dee-options .preset-picker { grid-template-columns: 1fr 1fr; }
.dee-options .preset-picker select { grid-column: 1 / -1; }
.dee-options .preset-save { grid-template-columns: 1fr; }
.preset-feedback, .preset-panel-heading > div > p:last-child, .preset-picker .form-control, .preset-save .form-control { font-size: 14px; }
.dee-submit { padding-top: 4px; }
.dee-submit .btn-lg { min-height: 54px; font-size: 16px; }
.dee-submit p { text-align: center; font-size: 12px; color: var(--text-faint); margin: 10px 0 0; }
.dee-aside { position: sticky; top: 24px; }
.dee-preview-heading { display: flex; align-items: center; justify-content: space-between; font-size: 14px; color: var(--text-muted); margin: 0 2px 14px; }
.dee-live { color: var(--signal); font-size: 12px; display: flex; gap: 6px; align-items: center; }
.dee-live i { width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.dee-preview { border: 1px solid rgba(var(--signal-rgb), .3); border-radius: 22px; background: linear-gradient(150deg,#241214 0%,#111419 45%); overflow: hidden; box-shadow: 0 24px 60px #0003; }
.dee-preview-brand { display: flex; justify-content: center; gap: 7px; align-items: center; color: var(--signal); padding: 20px; font-weight: 700; font-size: 18px; border-bottom: 1px solid var(--border-soft); }
.dee-preview-brand span { font-size: 12px; color: var(--text-muted); }
.dee-cover-frame { width:100%; aspect-ratio:16 / 9; position:relative; overflow:hidden; background:#090b0e; border-bottom:1px solid var(--border-soft); }
.dee-cover-frame::after { display:none; }
.dee-cover-frame img { display:block; width:100%; height:100%; max-height:none; object-fit:contain; object-position:center; }
.dee-cover-frame[hidden], .dee-cover-frame [hidden] { display:none; }
.dee-cover-status { position:absolute; inset:0; display:grid; place-content:center; padding:24px; margin:0; text-align:center; font-size:14px; line-height:1.7; color:var(--text-muted); }
.dee-preview-content { padding: 26px 22px 18px; }
.dee-lock { display: grid; place-items: center; background: rgba(var(--signal-rgb),.08); border: 1px solid rgba(var(--signal-rgb),.22); width: 48px; height: 48px; border-radius: 15px; color: var(--signal); margin: 0 auto 16px; }
.dee-lock svg { width: 24px; height: 24px; }
.dee-preview h2 { margin: 0 0 10px; font-size: 22px; line-height: 1.5; text-align: center; overflow-wrap: anywhere; }
.dee-preview-content > p { font-size: 14px; color: var(--text-muted); text-align: center; margin: 0 0 22px; overflow-wrap: anywhere; }
.dee-preview-progress { display: flex; justify-content: space-between; font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
#previewSteps { display: grid; gap: 10px; margin-top: 20px; }
.dee-preview-step { display: flex; align-items: center; gap: 12px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface-2); padding: 13px; font-size: 14px; overflow-wrap: anywhere; }
.dee-preview-step > span { min-width: 0; }
.dee-preview-step b { color: var(--signal); font-size: 12px; }
.dee-preview-step small { margin-left: auto; color: var(--text-faint); font-size: 14px; }
.dee-preview-unlock { margin-top: 22px; padding: 13px 8px; border-radius: 12px; display: flex; align-items: center; justify-content: center; gap: 8px; color: #b6a4a4; background: #342020; font-size: 14px; }
.dee-preview-unlock svg { width: 17px; height: 17px; }
.dee-preview-content .dee-preview-note { font-size: 12px; margin: 14px 0 0; color: var(--text-faint); }
.dee-honest-note { color: var(--text-faint); font-size: 12px; line-height: 1.75; padding: 0 8px; margin-top: 16px; }
.dee-how { margin: 44px 0 26px; padding-top: 28px; border-top: 1px solid var(--border); }
.dee-how h2 { margin: 0 0 24px; font-size: 20px; }
.dee-how ol { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3,1fr); gap: 32px; }
.dee-how li { display: flex; align-items: flex-start; gap: 14px; }
.dee-how li > span { color: var(--signal); font-family: var(--font-mono); font-size: 14px; padding-top: 2px; }
.dee-how h3 { font-size: 16px; margin: 0 0 6px; }
.dee-how p { font-size: 14px; color: var(--text-muted); margin: 0; }
.dee-bottom { display: flex; justify-content: space-between; padding: 26px 0; font-size: 12px; color: var(--text-faint); }
.dee-result h2 { font-size: 26px; margin-top: 16px; }
.dee-result-label { display: block; font-size: 14px; font-weight: 600; text-align: left; margin-top: 22px; }
.dee-result .link-display { margin-top: 8px; }
.dee-result input { min-width: 0; font-size: 14px; }
.dee-result .dee-management { border: 1px solid var(--border); border-radius: 14px; padding: 16px; margin-top: 24px; text-align: left; }
.dee-management .dee-result-label { margin-top: 0; }
.dee-management p { margin: 8px 0 12px; color: var(--text-muted); font-size: 14px; }
.dee-result-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; justify-content: center; }
#copyFeedback { font-size: 14px; color: var(--signal); min-height: 24px; margin: 12px 0; }
.form-control[aria-invalid="true"] { border-color: var(--danger); }
@media (max-width: 850px) { .dee-workspace { grid-template-columns: 1fr; } .dee-aside { position: static; max-width: 460px; width: 100%; margin: 0 auto; } .dee-how ol { grid-template-columns: 1fr; gap: 22px; } }
@media (max-width: 520px) { .dee-container { width: calc(100% - 28px); } .dee-editor { padding: 20px 14px; } .dee-home .navbar { padding-block: 20px; gap: 12px; } .dee-heading { margin-top: 12px; } .dee-help-link { display: none; } .dee-step .step-num { display: none; } .dee-step { gap: 6px; } .dee-step .step-remove { width: 25px; } .dee-options .form-row { grid-template-columns: 1fr; } .dee-workspace { gap: 28px; } .dee-result { padding: 18px 10px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }

/* Compact, quiet surfaces. Red is reserved for the primary action. */
.dee-unlock-page { background:#0d0f12; }
.dee-unlock-page::before, .dee-unlock-page::after { display:none; }
.dee-unlock-page > .container { width:min(580px,calc(100% - 32px)); padding:0; }
.dee-unlock-page .navbar-minimal { justify-content:space-between; gap:16px; min-height:76px; padding:16px 0; }
.dee-unlock-page .navbar-minimal .language-switcher { position:static; }
.dee-unlock-page .brand-sm { font-size:15px; color:var(--text); gap:9px; }
.dee-unlock-page .logo-dot { width:28px; height:28px; border-radius:8px; font-size:12px; box-shadow:none; }
.dee-unlock-page .language-switcher { border:0; background:transparent; box-shadow:none; padding:0; gap:2px; }
.dee-unlock-page .language-switcher > span { display:none; }
.dee-unlock-page .language-switcher a { min-width:40px; height:36px; font-size:11px; border-radius:8px; }
.dee-unlock-page .language-switcher a[aria-current] { background:#24272e; color:#fff; box-shadow:none; }
.dee-unlock-page .unlock-wrap { padding:8px 0 40px; max-width:none; }
.dee-unlock-page .unlock-card { border:1px solid #272b33; border-radius:18px; background:#13161b; box-shadow:none; }
.dee-unlock-page .unlock-content { padding:28px; }
.unlock-intro { text-align:left; }
.dee-unlock-page .unlock-title { font-size:28px; margin:0 0 10px; line-height:1.3; overflow-wrap:anywhere; }
.dee-unlock-page .unlock-desc { font-size:14px; line-height:1.6; color:#aab1bc; margin:0 0 24px; overflow-wrap:anywhere; }
.dee-unlock-page .unlock-progress { padding:0; border:0; border-radius:0; background:none; margin-bottom:22px; }
.dee-unlock-page .unlock-progress-head { font-size:12px; margin-bottom:9px; }
.dee-unlock-page .unlock-progress-head strong { font:inherit; font-weight:600; color:#dce0e6; }
.dee-unlock-page .progress-track { height:4px; }
.dee-unlock-page .progress-track span { box-shadow:none; }
.dee-unlock-page .steps-list { gap:10px; }
.dee-unlock-page .step-btn { min-height:74px; padding:13px 14px; gap:12px; border:1px solid #2a2e36; border-radius:12px; background:#191d24; box-shadow:none; }
.dee-unlock-page .step-btn:hover:not(.is-waiting):not(.is-done) { transform:none; border-color:#69717f; background:#20252d; }
.dee-unlock-page .step-btn-icon { width:30px; height:30px; border:0; border-radius:0; background:none; }
.dee-unlock-page .step-btn-icon svg { width:21px; height:21px; }
.dee-unlock-page .step-btn-copy { gap:4px; }
.dee-unlock-page .step-btn-label { font-size:14px; line-height:1.45; white-space:normal; overflow-wrap:anywhere; }
.dee-unlock-page .step-btn-meta { font-size:12px; line-height:1.5; color:#9ba4b1; }
.dee-unlock-page .step-btn-status { width:24px; }
.step-open-arrow { font-size:20px; color:#aab1bc; }
.dee-unlock-page .step-btn.is-waiting { border-color:var(--signal); animation:none; }
.dee-unlock-page .step-btn.is-done { background:#15181d; border-color:#272b33; box-shadow:none; }
.dee-unlock-page .step-btn.is-done .step-btn-icon { background:none; border:0; }
.dee-unlock-page .check-mark { width:24px; height:24px; border:0; background:none; box-shadow:none; }
.dee-unlock-page .check-mark::before { border-color:#c3cbd5; }
.dee-unlock-page .final-unlock-box { margin-top:22px; }
.dee-unlock-page .btn-unlock { min-height:48px; border-radius:10px; font-size:14px; box-shadow:none; }
.dee-unlock-page .btn-unlock:disabled { opacity:1; color:#969fac; background:#222730; border:1px solid #2c323d; }
.dee-unlock-page .btn-unlock:not(:disabled) { background:var(--signal); border:1px solid transparent; box-shadow:none; animation:none; }
.dee-unlock-page .btn-unlock:not(:disabled):hover { transform:none; filter:brightness(1.08); box-shadow:none; }
.dee-unlock-page .btn-unlock::before, .dee-unlock-page .btn-unlock::after { display:none; }
.dee-unlock-page .btn-unlock svg { animation:none; filter:none; }
.dee-preview { background:#13161b; border-color:#2a2e36; border-radius:16px; box-shadow:none; }
.dee-preview-brand { padding:14px 20px; justify-content:flex-start; }
.dee-preview-content { padding:22px; }
.dee-preview h2, .dee-preview-content > p { text-align:left; }
.dee-preview h2 { font-size:24px; line-height:1.3; }
.dee-preview-unlock { color:#969fac; background:#222730; min-height:48px; }
.dee-preview .progress-track { height:4px; }
.dee-preview .progress-track span { box-shadow:none; }
.dee-editor { box-shadow:none; background:#13161b; border-color:#2a2e36; }
.dee-action-chip { font-size:13px; padding:8px 10px; }
.dee-faq { border-top:1px solid var(--border); padding:26px 0; }
.dee-faq h2 { font-size:20px; margin:0 0 16px; }
.dee-faq details { border-bottom:1px solid var(--border-soft); padding:15px 0; }
.dee-faq summary { cursor:pointer; font-size:15px; font-weight:600; }
.dee-faq p { color:var(--text-muted); font-size:14px; line-height:1.8; margin:12px 0 0; max-width:760px; }
@media(max-width:520px) {
 .dee-unlock-page .navbar-minimal { min-height:68px; padding:12px 0; }
 .dee-unlock-page .unlock-content { padding:22px 18px; }
 .dee-unlock-page .unlock-title { font-size:25px; }
 .dee-unlock-page .step-btn { padding:12px; gap:10px; }
 .dee-unlock-page .step-btn-icon { width:26px; }
 .dee-unlock-page .dee-cover-frame { aspect-ratio:16 / 9; }
}

/* Shared logo and wordmark, including live preview and saved link themes. */
.brand .logo-dot, .auth-heading .logo-dot, .dee-preview-brand .logo-dot { padding:0; border:0; background:none; color:var(--signal); box-shadow:none; }
.brand-mark { display:block; width:100%; height:100%; flex-shrink:0; }
.brand-wordmark { white-space:nowrap; color:var(--text); font-weight:750; letter-spacing:-.35px; }
.brand-wordmark .brand-accent, .dee-preview-brand .brand-wordmark .brand-accent { color:var(--signal); font:inherit; }
.dee-preview-brand .brand-wordmark { font-size:14px; color:var(--text); }
.dee-preview-brand .logo-dot { width:26px; height:26px; }

