/* ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
   DZINER — START PAGE STYLES
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ */
body { background: var(--ink); color: var(--text); }

.s-shell { min-height: 100vh; display: flex; flex-direction: column; }

/* HEADER */
.s-header { display: flex; align-items: center; justify-content: space-between; padding: 24px 52px; border-bottom: 1px solid var(--border); flex-shrink: 0; }
.s-logo { font-family: var(--sans); font-size: 16px; font-weight: 800; color: var(--text); text-decoration: none; letter-spacing: -.4px; }
.s-logo em { color: var(--accent); font-style: normal; }
.s-header-r { display: flex; align-items: center; gap: 14px; }
.s-steps { display: flex; align-items: center; gap: 6px; }
.s-dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,.1); transition: background .2s; }
.s-dot.active { background: var(--accent); animation: blink 1.4s ease infinite; }
.s-dot.done { background: var(--green); }
.s-step-label { font-family: var(--mono); font-size: 10px; color: var(--text3); letter-spacing: .5px; }

/* MAIN */
.s-main { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 52px 48px; position: relative; z-index: 2; }
.s-form { width: 100%; max-width: 860px; display: flex; flex-direction: column; }

/* INTRO */
.s-intro { text-align: center; margin-bottom: 52px; opacity: 0; animation: up .6s .05s ease forwards; }
.s-intro-pre { font-family: var(--mono); font-size: 10px; color: var(--text3); letter-spacing: 2px; text-transform: uppercase; margin-bottom: 14px; display: flex; align-items: center; justify-content: center; gap: 10px; }
.s-intro-pre::before, .s-intro-pre::after { content: ''; width: 24px; height: 1px; background: var(--text3); }
.s-intro-title { font-size: clamp(28px, 4vw, 48px); font-weight: 800; letter-spacing: -1.5px; line-height: 1.05; color: var(--text); margin-bottom: 12px; }
.s-intro-title em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--text2); }
.s-intro-sub { font-size: 14.5px; color: var(--text2); line-height: 1.65; max-width: 400px; margin: 0 auto; }

/* ERROR */
.s-error { display: flex; align-items: center; gap: 9px; padding: 12px 16px; background: rgba(255,64,96,.08); border: 1px solid rgba(255,64,96,.2); border-radius: 8px; font-family: var(--mono); font-size: 11px; color: var(--red); margin-bottom: 20px; width: 100%; max-width: 860px; }
.s-error svg { width: 14px; height: 14px; flex-shrink: 0; }

/* OPTIONS */
.s-options { display: grid; grid-template-columns: repeat(3,1fr); gap: 12px; width: 100%; opacity: 0; animation: up .65s .15s ease forwards; }
.s-opt { background: var(--ink2); border: 1px solid rgba(255,255,255,.06); border-radius: 14px; padding: 28px 24px; cursor: none; transition: border-color .2s, background .2s, transform .2s; position: relative; overflow: hidden; display: flex; flex-direction: column; min-height: 240px; }
.s-opt::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% -20%, rgba(108,79,255,.1) 0%, transparent 60%); opacity: 0; transition: opacity .2s; border-radius: 14px; }
.s-opt:hover { border-color: rgba(108,79,255,.25); transform: translateY(-2px); }
.s-opt:hover::before { opacity: 1; }
.s-opt.selected { border-color: var(--accent); background: var(--ink3); transform: translateY(-2px); box-shadow: 0 0 0 1px rgba(108,79,255,.12), 0 12px 48px rgba(0,0,0,.4); }
.s-opt.selected::before { opacity: 1; }
.s-opt-num { font-family: var(--mono); font-size: 9.5px; color: var(--text3); letter-spacing: .5px; margin-bottom: 20px; }
.s-opt-icon { width: 42px; height: 42px; border-radius: 10px; background: var(--ink3); border: 1px solid rgba(255,255,255,.08); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; transition: all .2s; }
.s-opt:hover .s-opt-icon, .s-opt.selected .s-opt-icon { background: var(--accentbg); border-color: rgba(108,79,255,.22); }
.s-opt-icon svg { width: 20px; height: 20px; color: var(--text2); transition: color .2s; }
.s-opt:hover .s-opt-icon svg, .s-opt.selected .s-opt-icon svg { color: var(--accent2); }
.s-opt-title { font-size: 17px; font-weight: 700; color: var(--text); margin-bottom: 7px; letter-spacing: -.3px; }
.s-opt-desc { font-size: 12.5px; color: var(--text2); line-height: 1.62; flex: 1; }
.s-opt-badge { position: absolute; top: 16px; right: 16px; font-family: var(--mono); font-size: 9px; padding: 2px 7px; border-radius: 3px; background: var(--accentbg); border: 1px solid rgba(108,79,255,.22); color: var(--accent2); opacity: 0; transition: opacity .2s; }
.s-opt.selected .s-opt-badge { opacity: 1; }

/* INLINE CONTROLS */
.s-opt-ctrl { margin-top: 16px; }
.s-drop { border: 1.5px dashed rgba(255,255,255,.1); border-radius: 9px; padding: 20px 14px; text-align: center; cursor: none; transition: all .18s; }
.s-drop.over { border-color: var(--accent); background: var(--accentbg); }
.s-drop-icon { font-size: 20px; margin-bottom: 7px; opacity: .5; }
.s-drop p { font-size: 11.5px; color: var(--text2); line-height: 1.55; }
.s-drop p strong { color: var(--accent2); cursor: pointer; font-weight: 600; }
.s-drop p span { display: block; font-family: var(--mono); font-size: 9.5px; color: var(--text3); margin-top: 4px; }
.s-file-chosen { display: flex; align-items: center; gap: 7px; margin-top: 9px; padding: 9px 11px; background: var(--ink4); border-radius: 7px; font-family: var(--mono); font-size: 10.5px; color: var(--green); }
.s-file-chosen svg { width: 12px; height: 12px; flex-shrink: 0; }
.s-repo-input { width: 100%; background: var(--ink3); border: 1px solid rgba(255,255,255,.1); border-radius: 8px; padding: 10px 12px; font-size: 12px; font-family: var(--mono); color: var(--text); outline: none; transition: border-color .14s; }
.s-repo-input:focus { border-color: var(--accent); }
.s-repo-input::placeholder { color: var(--text3); }
.s-repo-hint { font-family: var(--mono); font-size: 10px; color: var(--text3); margin-top: 7px; letter-spacing: .2px; transition: color .2s; }
.s-repo-hint.valid { color: var(--green); }
.s-repo-hint.invalid { color: var(--red); }
.s-blank-note { padding: 13px; background: var(--ink4); border-radius: 8px; font-family: var(--mono); font-size: 10.5px; color: var(--text3); line-height: 1.65; border-left: 2px solid var(--accent); }

/* CONTINUE */
.s-continue { display: flex; align-items: center; justify-content: flex-end; gap: 14px; margin-top: 18px; opacity: 0; animation: up .6s .3s ease forwards; }
.s-continue-note { font-family: var(--mono); font-size: 10px; color: var(--text3); }
.s-continue-btn { display: inline-flex; align-items: center; gap: 9px; padding: 13px 28px; border-radius: 8px; background: var(--accent); color: #fff; font-size: 14px; font-weight: 700; border: none; cursor: none; font-family: var(--sans); transition: all .2s; letter-spacing: .1px; }
.s-continue-btn:hover:not(:disabled) { filter: brightness(1.1); box-shadow: 0 0 36px var(--accentglow); transform: translateY(-1px); }
.s-continue-btn:disabled { opacity: .32; cursor: not-allowed; }
.s-continue-btn svg { width: 13px; height: 13px; transition: transform .2s; }
.s-continue-btn:hover:not(:disabled) svg { transform: translateX(3px); }
.s-spinner { width: 13px; height: 13px; border: 1.5px solid rgba(255,255,255,.3); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; flex-shrink: 0; }
@keyframes spin { to { transform: rotate(360deg); } }

/* PROCESSING OVERLAY */
.s-proc { position: fixed; inset: 0; z-index: 200; background: var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0; animation: fade .2s ease; }
.s-proc-logo { font-family: var(--sans); font-size: 18px; font-weight: 800; color: var(--text); letter-spacing: -.4px; margin-bottom: 48px; }
.s-proc-logo em { color: var(--accent); font-style: normal; }
.s-proc-title { font-size: clamp(28px, 5vw, 52px); font-weight: 800; letter-spacing: -1.5px; color: var(--text); margin-bottom: 8px; text-align: center; line-height: 1.1; }
.s-proc-title em { font-family: var(--serif); font-style: italic; font-weight: 400; color: var(--text2); }
.s-proc-sub { font-family: var(--mono); font-size: 11px; color: var(--text3); letter-spacing: .3px; margin-bottom: 44px; text-align: center; max-width: 360px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.s-proc-bar-wrap { width: 320px; margin-bottom: 40px; }
.s-proc-bar { height: 2px; background: var(--ink4); border-radius: 99px; overflow: hidden; }
.s-proc-fill { height: 100%; background: var(--accent); border-radius: 99px; }
.s-proc-fill-anim { animation: fillBar 3s ease forwards; }
@keyframes fillBar { from{width:0} to{width:92%} }
.s-proc-steps { display: flex; flex-direction: column; gap: 9px; width: 320px; }
.s-proc-step { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; color: var(--text3); opacity: 0; }
.s-proc-step-active { animation: stepIn .3s ease forwards; }
@keyframes stepIn { from{opacity:0;transform:translateX(-6px)} to{opacity:1;transform:none} }
.s-proc-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--text3); flex-shrink: 0; }
