/* ---------- download ---------- */
.dl { position: relative; max-width: 1100px; margin: 0 auto; padding: 10px; border-radius: 34px; background: var(--card); border: 1px solid var(--line); box-shadow: 0 40px 100px -50px rgba(0, 0, 0, .9); }
.dl-panel { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 30px; padding: 26px 24px; }
.dl-main { align-self: center; padding-bottom: 10px; }
.dl-hero { display: flex; align-items: center; gap: 18px; margin-bottom: 22px; }
.os-big { width: 76px; height: 76px; flex: none; display: grid; place-items: center; border-radius: 24px; background: #19191c; border: 1px solid var(--line-2); box-shadow: 0 20px 40px -20px rgba(0,0,0,.9), inset 0 1px 0 rgba(255,255,255,.08); }
.os-big .i { width: 36px; height: 36px; color: #fff; }
.dl-hero h3 { margin: 6px 0 4px; font: 600 22px/1.2 var(--display); letter-spacing: -.03em; }
.dl-hero code { font-size: 13px; color: var(--text-3); word-break: break-all; }
.btn-dl { width: 100%; height: 68px; justify-content: space-between; border-radius: 22px; padding-left: 26px; }
.btn-dl .btn-label b { font-size: 17px; }
.file { display: flex; align-items: center; gap: 14px; padding: 13px 13px 13px 18px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.02); transition: border-color .25s, background-color .25s, translate .35s var(--ease-out), scale .16s var(--ease-out); }
.file:active { scale: .99; }
.file > div { flex: 1; min-width: 0; }
.file b { display: block; font-size: 15px; }
.file code { display: block; font-size: 12px; color: var(--text-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.file small { font: 600 12px var(--mono); color: var(--text-3); white-space: nowrap; }
.file-ic { width: 38px; height: 38px; flex: none; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line-2); color: var(--text-2); transition: background-color .25s, color .25s, border-color .25s; }
.file-ic .i { width: 18px; height: 18px; }
.req { margin-top: 22px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.req div { display: flex; flex-direction: column; gap: 3px; padding: 16px; border-radius: 16px; border: 1px solid var(--line); background: rgba(255,255,255,.02); }
.req .i { width: 20px; height: 20px; margin-bottom: 6px; color: var(--acc); }
.req span { font-size: 13px; font-weight: 600; color: var(--text-3); }
.req b { font: 600 16px var(--display); letter-spacing: -.02em; }
.dl-side { padding: 22px 24px; border-radius: 24px; background: rgba(0,0,0,.22); border: 1px solid var(--line); }
.dl-side h4 { margin-bottom: 18px; font: 600 15px var(--display); }
.tl { position: relative; list-style: none; margin: 0; padding: 0; counter-reset: s; display: grid; gap: 18px; }
.tl::before { content: ""; position: absolute; left: 14px; top: 16px; bottom: 16px; width: 1px; background: rgba(255,255,255,.12); }
.tl li { counter-increment: s; position: relative; display: flex; flex-direction: column; gap: 2px; padding-left: 46px; }
.tl li::before { content: counter(s); position: absolute; left: 0; top: -2px; width: 29px; height: 29px; display: grid; place-items: center; border-radius: 10px; font: 600 12px var(--mono); color: var(--acc); background: #151517; border: 1px solid rgba(var(--acc-rgb),.35); }
.tl > li > b { font-size: 15px; }
.tl span { font-size: 14.5px; color: var(--text-2); }
.tl span b { color: var(--text); }
.note { display: flex; align-items: flex-start; gap: 12px; margin-top: 20px; padding: 14px 16px; border-radius: 16px; background: rgba(255,194,77,.05); border: 1px solid rgba(255,194,77,.18); }
.note .gi { width: 28px; height: 28px; margin-top: 1px; }
.note p { margin: 0; font-size: 14px; color: #e8d6ab; }
.term { overflow: hidden; padding-bottom: 8px; border-radius: 16px; background: #0e0e10; border: 1px solid var(--line-2); }
.term-h { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); font: 12px var(--mono); color: var(--text-3); }
.term-h .dots i { width: 9px; height: 9px; }
.cmd-c { padding: 10px 16px 2px; font: 12px var(--mono); color: #4b5672; }
.cmd { display: flex; align-items: center; gap: 10px; padding: 4px 8px 4px 16px; }
.cmd .pr { font: 600 13px var(--mono); color: var(--green); }
.cmd code { flex: 1; min-width: 0; overflow-x: auto; white-space: nowrap; font-size: 13px; color: #e7e7e2; scrollbar-width: none; }
.cmd code::-webkit-scrollbar { display: none; }
.cmd .copy { width: 34px; height: 34px; border-radius: 10px; }

/* ---------- setup ---------- */
.setup { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.setup-card { padding: 28px; border-radius: 30px; background: var(--card); border: 1px solid var(--line); }
.setup-h { display: flex; gap: 16px; margin-bottom: 22px; }
.mode { flex: none; width: 40px; height: 40px; display: grid; place-items: center; border-radius: 13px; font: 600 15px var(--display); color: var(--acc-ink); background: var(--acc); box-shadow: inset 0 1px 0 rgba(255,255,255,.45); }
.mode.sm { width: 30px; height: 30px; border-radius: 10px; font-size: 12px; }
.setup-h h3 { margin-bottom: 4px; font: 600 20px var(--display); letter-spacing: -.03em; }
.setup-h p { margin: 0; font-size: 15px; color: var(--text-2); }
.setup-alt { display: flex; align-items: flex-start; gap: 14px; margin-top: 18px; padding: 16px; border-radius: 18px; background: rgba(255,255,255,.025); border: 1px solid var(--line); }
.setup-alt p { margin: 0; font-size: 14.5px; color: var(--text-2); }
.setup-alt b { color: var(--text); }

.desk { position: relative; height: 430px; border-radius: 22px; overflow: hidden; isolation: isolate; user-select: none; -webkit-user-select: none; border: 1px solid var(--line-2); background: #141417; }
.desk-wall { position: absolute; inset: 0; z-index: -1; background: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px) 0 0 / 20px 20px, #141417; }
.desk-app { position: absolute; left: 6%; top: 7%; width: 60%; height: 62%; overflow: hidden; border-radius: 14px; background: rgba(20,20,23,.9); border: 1px solid rgba(255,255,255,.1); box-shadow: 0 24px 50px -20px rgba(0,0,0,.8); }
.da-bar { height: 26px; display: flex; align-items: center; gap: 6px; padding: 0 10px; border-bottom: 1px solid var(--line); }
.da-bar i { width: 8px; height: 8px; border-radius: 50%; background: rgba(255,255,255,.18); }
.da-body { display: grid; grid-template-columns: 34% 1fr; height: calc(100% - 26px); }
.da-side { display: flex; flex-direction: column; gap: 8px; padding: 10px; border-right: 1px solid var(--line); }
.da-side span { position: relative; height: 22px; border-radius: 8px; background: rgba(255,255,255,.05); }
.da-side span::before { content: ""; position: absolute; left: 4px; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: rgba(255,255,255,.13); }
.da-side span:first-child { background: rgba(255,255,255,.14); }
.da-chat { display: flex; flex-direction: column; justify-content: flex-end; gap: 8px; padding: 10px; }
.da-chat i { height: 14px; border-radius: 8px; background: rgba(255,255,255,.08); }
.da-chat .b1 { width: 60%; }
.da-chat .b2 { width: 45%; align-self: flex-end; background: rgba(var(--acc-rgb),.3); }
.da-chat .b3 { width: 70%; }
.da-chat .b4 { width: 38%; align-self: flex-end; background: rgba(var(--acc-rgb),.3); }
.desk-hint { position: absolute; z-index: 4; left: 0; bottom: 56px; translate: -50% 0; display: flex; flex-direction: column; align-items: center; padding: 6px 11px; border-radius: 10px; font-size: 12px; font-weight: 800; color: var(--acc-ink); background: var(--acc); box-shadow: 0 10px 24px -10px rgba(0,0,0,.7); pointer-events: none; animation: hintBob 1.6s ease-in-out infinite; transition: opacity .3s; }
.desk-hint .i { position: absolute; bottom: -13px; width: 15px; height: 15px; color: var(--acc); stroke-width: 3; }
.desk-hint.hide { opacity: 0; }
@keyframes hintBob { 0%, 100% { translate: -50% 0; } 50% { translate: -50% -5px; } }
.taskbar { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; height: 46px; display: flex; align-items: center; justify-content: space-between; padding: 0 10px 0 14px; background: rgba(12,12,14,.96); border-top: 1px solid rgba(255,255,255,.08); }
.tb-apps { display: flex; gap: 8px; }
.tb-apps i { width: 24px; height: 24px; border-radius: 7px; background: rgba(255,255,255,.08); }
.tb-apps i.on { background: rgba(255,255,255,.16); box-shadow: inset 0 -2px 0 var(--acc); }
.tray { display: flex; align-items: center; gap: 10px; color: var(--text-2); }
.tray .i { width: 15px; height: 15px; }
.tray-more { rotate: -90deg; }
.tray-btn { position: relative; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 10px; transition: background-color .2s, scale .16s var(--ease-out); }
.tray-btn:active { scale: .9; }
.tray-btn svg { width: 21px; height: 21px; transition: filter .3s, opacity .3s; }
.tray-btn[aria-expanded="true"] { background: rgba(255,255,255,.14); }
.tray-btn::after { content: ""; position: absolute; inset: -3px; border-radius: 12px; border: 2px solid var(--acc); opacity: 0; animation: trayPulse 1.8s var(--ease-out) infinite; }
.desk.used .tray-btn::after { display: none; }
@keyframes trayPulse { 0% { opacity: .9; transform: scale(.9); } 100% { opacity: 0; transform: scale(1.45); } }
.tray-btn.spin svg { animation: spin .8s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.tray-dot { position: absolute; right: 2px; bottom: 2px; width: 9px; height: 9px; border-radius: 50%; background: var(--green); border: 2px solid #121214; transition: background-color .3s; }
.desk.stopped .tray-dot { background: var(--text-3); }
.desk.stopped .tray-btn svg { filter: grayscale(1); opacity: .5; }
.clock { min-width: 40px; text-align: right; font: 600 12px var(--mono); color: var(--text-2); }

.tmenu {
  position: absolute; z-index: 5; right: 10px; bottom: 54px; width: 262px; padding: 6px; border-radius: 16px;
  background: rgba(24,24,27,.97); border: 1px solid var(--line-2); box-shadow: 0 30px 60px -20px rgba(0,0,0,.95);
  transform-origin: var(--ox, 88%) 100%; opacity: 0; scale: .95; translate: 0 6px;
  transition: opacity .16s var(--ease-out), scale .22s var(--ease-out), translate .22s var(--ease-out);
}
.tmenu.open { opacity: 1; scale: 1; translate: none; }
.tmenu[hidden], .dlg[hidden], .logwin[hidden] { display: none; }
.tmenu-h { display: flex; align-items: center; gap: 8px; padding: 6px 8px 8px; font-size: 13px; font-weight: 800; }
.tmenu-h svg { width: 18px; height: 18px; }
.tmenu-h em { margin-left: auto; padding: 2px 8px; border-radius: 99px; font: 600 11px var(--mono); font-style: normal; color: var(--green); background: rgba(var(--acc-rgb),.1); }
.desk.stopped .tmenu-h em { color: var(--text-3); background: rgba(255,255,255,.06); }
.tmenu button { display: flex; align-items: center; gap: 10px; width: 100%; padding: 7px 10px; border-radius: 10px; font-size: 13.5px; font-weight: 600; text-align: left; transition: background-color .12s; }
.tmenu button .i { width: 16px; height: 16px; color: var(--text-2); }
.tmenu button:hover, .tmenu button:focus-visible { outline: none; color: var(--acc-ink); background: var(--acc); }
.tmenu button:hover .i, .tmenu button:focus-visible .i { color: var(--acc-ink); }
.tmenu hr { height: 1px; margin: 4px 6px; border: 0; background: var(--line); }
.tmenu-tip { min-height: 42px; margin-top: 6px; padding: 8px 10px; border-radius: 10px; font-size: 12px; line-height: 1.45; color: var(--text-3); background: rgba(0,0,0,.28); }
.dlg { position: absolute; z-index: 6; left: 50%; top: 44%; width: min(300px, 84%); padding: 22px; border-radius: 20px; text-align: center; background: rgba(24,24,27,.97); border: 1px solid var(--line-2); box-shadow: 0 40px 80px -24px rgba(0,0,0,.95); translate: -50% -50%; opacity: 0; scale: .95; transition: opacity .2s var(--ease-out), scale .25s var(--ease-out); }
.dlg.open { opacity: 1; scale: 1; }
.dlg .gi { width: 46px; height: 46px; margin: 0 auto 12px; }
.dlg h4 { margin-bottom: 14px; font: 600 17px var(--display); letter-spacing: -.02em; }
.dlg-kv { display: flex; justify-content: space-between; margin-bottom: 6px; padding: 8px 12px; border-radius: 10px; background: rgba(255,255,255,.035); font-size: 13.5px; }
.dlg-kv span { color: var(--text-3); }
.dlg-kv b { font-family: var(--mono); font-weight: 500; }
.dlg-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 14px; }
.dbtn { height: 42px; border-radius: 12px; font-size: 14px; font-weight: 700; border: 1px solid var(--line-2); background: rgba(255,255,255,.04); transition: background-color .2s, scale .16s var(--ease-out); }
.dbtn:active { scale: .96; }
.dbtn.primary { border: 0; color: var(--acc-ink); background: var(--acc); }
.dlg-state.done { display: none; }
.dlg.ok .dlg-state.ask { display: none; }
.dlg.ok .dlg-state.done { display: block; animation: panelIn .45s var(--ease-out); }
.dlg-state.done p { margin: 0; font-size: 14px; color: var(--text-2); }
.logwin { position: absolute; z-index: 5; right: 5%; top: 9%; width: min(330px, 84%); overflow: hidden; border-radius: 14px; background: rgba(14,14,16,.97); border: 1px solid var(--line-2); box-shadow: 0 30px 60px -20px rgba(0,0,0,.9); opacity: 0; scale: .96; translate: 0 8px; transform-origin: 50% 0; transition: opacity .2s, scale .25s var(--ease-out), translate .25s var(--ease-out); }
.logwin.open { opacity: 1; scale: 1; translate: none; }
.logwin-h { display: flex; align-items: center; gap: 8px; padding: 6px 6px 6px 12px; border-bottom: 1px solid var(--line); font: 600 12px var(--mono); color: var(--text-2); }
.logwin-h .i { width: 14px; height: 14px; }
.logwin-h .x { margin-left: auto; width: 28px; height: 28px; display: grid; place-items: center; border-radius: 8px; transition: background-color .2s; }
.logwin-b { padding: 10px 12px; font: 11.5px/1.7 var(--mono); color: var(--text-3); }
.logwin-b div { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.logwin-b .ok { color: var(--green); }
.logwin-b .dc { color: var(--acc); }
.logwin-b .k { color: var(--amber); }

.crumbs { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; margin-bottom: 18px; font-size: 13px; font-weight: 600; color: var(--text-2); }
.crumbs span { padding: 5px 10px; border-radius: 9px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.crumbs .hl { color: var(--acc); background: rgba(var(--acc-rgb),.07); border-color: rgba(var(--acc-rgb),.35); }
.crumbs .i { width: 13px; height: 13px; color: var(--text-3); }
.fields { display: grid; gap: 10px; margin-bottom: 18px; }
.field { display: flex; align-items: center; gap: 14px; min-height: 58px; padding: 9px 9px 9px 16px; border-radius: 16px; background: rgba(0,0,0,.3); border: 1px solid var(--line); transition: border-color .3s, box-shadow .3s; }
.field.typing { border-color: rgba(var(--acc-rgb),.45); box-shadow: 0 0 0 4px rgba(var(--acc-rgb),.06); }
.f-l { flex: none; display: flex; align-items: center; gap: 8px; width: 104px; font-size: 13px; font-weight: 600; color: var(--text-3); }
.f-l .i { width: 16px; height: 16px; }
.f-v { flex: 1; min-width: 0; font-size: 16px; font-weight: 700; }
.f-v.mono { font-family: var(--mono); font-weight: 500; color: #e7e7e2; }
.f-v.muted { font-size: 14px; font-weight: 500; color: var(--text-3); }
.f-v.caret::after { content: ""; display: inline-block; width: 2px; height: 1.1em; margin-left: 2px; vertical-align: -.15em; background: var(--acc); animation: caret .8s steps(1) infinite; }
@keyframes caret { 50% { opacity: 0; } }
.field.secret .gi { width: 32px; height: 32px; margin-right: 4px; }
.callout { display: flex; gap: 14px; padding: 18px; border-radius: 20px; background: rgba(255,255,255,.03); border: 1px solid var(--line-2); }
.callout .gi { width: 40px; height: 40px; }
.callout b { color: var(--text); }
.callout p { margin: 6px 0 12px; font-size: 14.5px; color: var(--text-2); }
.chip-btn { display: inline-grid; grid-template-columns: auto auto; align-items: center; column-gap: 8px; padding: 8px 14px 8px 12px; border-radius: 12px; font-size: 13px; font-weight: 700; background: rgba(255,255,255,.06); border: 1px solid var(--line-2); transition: background-color .2s, border-color .2s, color .2s, scale .16s var(--ease-out); }
.chip-btn .i { grid-column: 1; grid-row: 1; }
.chip-btn.copied { color: var(--green); border-color: rgba(var(--acc-rgb),.45); }

/* ---------- config ---------- */
.cfg { display: grid; grid-template-columns: minmax(0, 1.45fr) minmax(0, 1fr); gap: 20px; align-items: start; }
.code { overflow: hidden; border-radius: 26px; background: #0e0e10; border: 1px solid var(--line-2); box-shadow: 0 40px 100px -50px rgba(0, 0, 0, .9); }
.code-bar { display: flex; align-items: center; gap: 14px; padding: 12px 12px 12px 18px; border-bottom: 1px solid var(--line); }
.code-name { display: flex; align-items: center; gap: 8px; font: 13px var(--mono); color: var(--text-2); }
.code-name .i { width: 15px; height: 15px; color: var(--acc); }
.paths { margin-left: auto; display: flex; gap: 2px; padding: 3px; border-radius: 12px; background: rgba(255,255,255,.04); border: 1px solid var(--line); }
.paths button { width: 36px; height: 30px; display: grid; place-items: center; border-radius: 9px; color: var(--text-3); transition: background-color .2s, color .2s; }
.paths button .i { width: 16px; height: 16px; }
.paths button.on { color: var(--acc); background: rgba(var(--acc-rgb),.14); }
.code-body { --lh: 26px; position: relative; padding: 16px 0; overflow-x: auto; }
.hl-bar { position: absolute; left: 0; top: 16px; height: var(--lh); min-width: 100%; width: max(100%, var(--w, 100%)); border-left: 2px solid var(--acc); background: rgba(var(--acc-rgb), .08); pointer-events: none; transition: transform .3s var(--ease-out); }
#cfgCode { position: relative; margin: 0; min-width: max-content; font: 400 13.5px/26px var(--mono); color: var(--text-2); counter-reset: ln; }
.ln { display: block; padding-right: 22px; white-space: pre; }
.ln::before { counter-increment: ln; content: counter(ln); display: inline-block; width: 50px; padding-right: 18px; text-align: right; color: #2f3850; transition: color .2s; }
.ln.k { cursor: pointer; }
.ln.k:focus { outline: none; }
.ln.on::before { color: var(--acc); }
.j-k { color: #ecece7; }
.j-s { color: var(--acc); }
.j-n { color: #ffb86c; }
.j-b { color: #ff8fa3; }
.j-p { color: #4f5872; }
.code-foot { display: flex; align-items: center; gap: 10px; padding: 12px 18px; border-top: 1px solid var(--line); }
.code-foot .gi { width: 24px; height: 24px; }
.code-foot code { font-size: 13px; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cfg-info { position: sticky; top: 100px; padding: 30px; border-radius: 26px; background: var(--card); border: 1px solid var(--line-2); }
.cfg-info h3 { margin: 14px 0 12px; font: 600 26px/1.2 var(--mono); color: var(--acc); word-break: break-all; }
.cfg-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; margin-bottom: 14px; font-size: 13.5px; color: var(--text-3); }
.cfg-meta .type { padding: 3px 10px; border-radius: 8px; font: 600 12px var(--mono); color: var(--text); background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.12); }
.cfg-meta code { color: #ffb86c; }
.cfg-info p { min-height: 4.8em; margin: 0 0 22px; color: var(--text-2); }
.cfg-info.swap h3, .cfg-info.swap p, .cfg-info.swap .cfg-meta { animation: swapIn .35s var(--ease-out); }
@keyframes swapIn { from { opacity: 0; translate: 0 6px; } }
.cfg-nav { display: flex; align-items: center; gap: 12px; }
.cfg-nav button { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 12px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); transition: background-color .2s, border-color .2s, scale .16s var(--ease-out); }
.cfg-nav button:active { scale: .94; }
.cfg-nav .i { width: 18px; height: 18px; }
#cfgPrev .i { transform: scaleX(-1); }
.cfg-nav span { min-width: 60px; text-align: center; font: 600 13px var(--mono); color: var(--text-3); }

/* ---------- faq ---------- */
.faq-grid { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: 60px; align-items: start; }
.faq-side { position: sticky; top: 110px; }
.faq-side h2 { margin: 18px 0 30px; }
.help { padding: 24px; border-radius: 24px; background: var(--card); border: 1px solid var(--line); }
.help-ic { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 16px; border-radius: 14px; color: var(--acc); background: rgba(var(--acc-rgb),.08); border: 1px solid rgba(var(--acc-rgb),.25); }
.help-ic .i { width: 22px; height: 22px; }
.help b { font: 600 18px var(--display); letter-spacing: -.02em; }
.help p { margin: 8px 0 18px; font-size: 15px; color: var(--text-2); }
.help-links { display: flex; flex-wrap: wrap; gap: 8px; }
.help-links a { display: inline-flex; align-items: center; gap: 8px; padding: 9px 14px; border-radius: 12px; font-size: 14px; font-weight: 700; background: rgba(255,255,255,.05); border: 1px solid var(--line-2); transition: background-color .2s, border-color .2s, scale .16s var(--ease-out); }
.help-links a:active { scale: .97; }
.help-links .i { width: 16px; height: 16px; color: var(--acc); }
.faq { display: grid; gap: 10px; }
.qa { border-radius: 20px; background: rgba(255,255,255,.025); border: 1px solid var(--line); transition: background-color .3s, border-color .3s; }
.qa.open { background: rgba(255,255,255,.045); border-color: var(--line-2); }
.q { display: flex; align-items: center; justify-content: space-between; gap: 18px; width: 100%; padding: 22px 22px 22px 24px; text-align: left; font-size: 17px; font-weight: 700; }
.pm { position: relative; flex: none; width: 30px; height: 30px; border-radius: 10px; border: 1px solid var(--line-2); transition: background-color .3s, border-color .3s, rotate .45s var(--ease-out); }
.pm::before, .pm::after { content: ""; position: absolute; left: 50%; top: 50%; width: 12px; height: 2px; margin: -1px 0 0 -6px; border-radius: 2px; background: var(--text-2); transition: rotate .45s var(--ease-out), background-color .3s; }
.pm::after { rotate: 90deg; }
.qa.open .pm { rotate: 180deg; background: rgba(var(--acc-rgb),.12); border-color: rgba(var(--acc-rgb),.4); }
.qa.open .pm::after { rotate: 0deg; }
.qa.open .pm::before, .qa.open .pm::after { background: var(--acc); }
.a { display: grid; grid-template-rows: 0fr; transition: grid-template-rows .45s var(--ease-out); }
.a > div { overflow: hidden; }
.qa.open .a { grid-template-rows: 1fr; }
.a p { margin: 0; padding: 0 24px 22px; color: var(--text-2); opacity: 0; translate: 0 -4px; transition: opacity .25s, translate .4s var(--ease-out); }
.qa.open .a p { opacity: 1; translate: none; transition-delay: .08s; }

/* ---------- final ---------- */
.final { padding-top: 170px; }
.final-card { position: relative; overflow: hidden; padding: 10px 28px 90px; border-radius: 40px; text-align: center; border: 1px solid var(--line-2); background: var(--card); }
.final-card::before { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px); background-size: 44px 44px; mask-image: radial-gradient(ellipse at 50% 0%, #000, transparent 70%); -webkit-mask-image: radial-gradient(ellipse at 50% 0%, #000, transparent 70%); }
.final-card > * { position: relative; }
.final-card h2 { font-size: clamp(34px, 5.4vw, 72px); }
.final-card > p { margin: 20px 0 38px; font-size: 18px; color: var(--text-2); }
.orbit { position: relative; width: 300px; height: 300px; margin: 0 auto; perspective: 900px; transform-style: preserve-3d; }
.orb-glow { display: none; }
.ring { --r: 130px; position: absolute; left: 50%; top: 50%; width: calc(var(--r) * 2); height: calc(var(--r) * 2); margin: calc(var(--r) * -1) 0 0 calc(var(--r) * -1); border-radius: 50%; border: 1px solid rgba(255,255,255,.16); transform-style: preserve-3d; transform: rotateX(72deg) rotateZ(0deg); animation: ringA 18s linear infinite; }
.ring.r2 { --r: 98px; border-color: rgba(255,255,255,.1); transform: rotateX(72deg) rotateY(-18deg) rotateZ(0deg); animation: ringB 13s linear infinite; }
@keyframes ringA { to { transform: rotateX(72deg) rotateZ(360deg); } }
@keyframes ringB { to { transform: rotateX(72deg) rotateY(-18deg) rotateZ(-360deg); } }
.sat { position: absolute; left: 50%; top: 50%; width: 0; height: 0; transform-style: preserve-3d; transform: rotateZ(var(--th)) translateY(calc(var(--r) * -1)); }
.sat .gi { position: absolute; left: -21px; top: -21px; width: 42px; height: 42px; transform: rotateZ(calc(var(--th) * -1)) rotateX(-72deg); animation: satA 18s linear infinite; }
.r2 .sat .gi { transform: rotateZ(calc(var(--th) * -1)) rotateY(18deg) rotateX(-72deg); animation: satB 13s linear infinite; }
@keyframes satA { to { transform: rotateZ(calc(var(--th) * -1 - 360deg)) rotateX(-72deg); } }
@keyframes satB { to { transform: rotateZ(calc(var(--th) * -1 + 360deg)) rotateY(18deg) rotateX(-72deg); } }
.orb-mark { position: absolute; left: 50%; top: 50%; width: 100px; height: 100px; margin: -50px 0 0 -50px; animation: markFloat 5s ease-in-out infinite; }
@keyframes markFloat { 50% { translate: 0 -8px; } }

/* ---------- footer ---------- */
.foot { margin-top: 140px; overflow: hidden; border-top: 1px solid var(--line); }
.foot-top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 40px; padding: 64px 0 20px; }
.foot-brand p { max-width: 320px; margin: 14px 0 0; font-size: 14.5px; color: var(--text-3); }
.foot-col { display: flex; flex-direction: column; gap: 10px; }
.foot-col h5 { margin-bottom: 6px; font: 600 12px var(--mono); letter-spacing: .14em; text-transform: uppercase; color: var(--text-3); }
.foot-col a { width: fit-content; font-size: 15px; font-weight: 600; color: var(--text-2); transition: color .2s; }
.foot-word { margin: 30px 0 -.08em; text-align: center; white-space: nowrap; font: 700 min(10.4vw, 138px)/.84 var(--display); letter-spacing: -.035em; color: transparent; -webkit-text-stroke: 1px rgba(255,255,255,.16); user-select: none; }
.foot-bottom { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 26px 0 40px; border-top: 1px solid var(--line); }
.foot-bottom p { margin: 0; font-size: 13.5px; color: var(--text-3); }
.foot-bottom p a { color: var(--text-2); border-bottom: 1px solid var(--line-2); }
.totop { width: 44px; height: 44px; flex: none; display: grid; place-items: center; border-radius: 14px; border: 1px solid var(--line-2); background: rgba(255,255,255,.03); transition: background-color .2s, translate .3s var(--ease-out), scale .16s var(--ease-out); }
.totop:active { scale: .94; }
.totop .i { width: 18px; height: 18px; rotate: -90deg; }

@media (hover: hover) and (pointer: fine) {
  .file:hover { translate: 4px 0; border-color: rgba(var(--acc-rgb),.35); background: rgba(var(--acc-rgb),.04); }
  .file:hover .file-ic { color: var(--acc-ink); background: var(--acc); border-color: var(--acc); }
  .tray-btn:hover { background: rgba(255,255,255,.1); }
  .logwin-h .x:hover { background: rgba(255,255,255,.08); }
  .dbtn:hover { background: rgba(255,255,255,.08); }
  .dbtn.primary:hover { background: var(--acc); filter: brightness(1.08); }
  .chip-btn:hover { background: rgba(255,255,255,.1); border-color: var(--line-3); }
  .paths button:hover { color: var(--text); }
  .cfg-nav button:hover { background: rgba(255,255,255,.07); border-color: var(--line-3); }
  .help-links a:hover { background: rgba(255,255,255,.09); border-color: var(--line-3); }
  .q:hover .pm { border-color: var(--line-3); }
  .foot-col a:hover { color: var(--text); }
  .totop:hover { translate: 0 -3px; background: rgba(255,255,255,.07); }
}

@media (max-width: 960px) {
  .dl-panel, .setup, .cfg { grid-template-columns: minmax(0, 1fr); }
  .cfg-info { position: static; order: -1; }
  .faq-grid { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .faq-side { position: static; }
  .foot-top { grid-template-columns: 1fr 1fr; }
  .foot-brand { grid-column: 1 / -1; }
}
@media (max-width: 600px) {
  .dl { padding: 6px; border-radius: 26px; }
  .dl-panel { gap: 22px; padding: 22px 8px 10px; }
  .os-big { width: 60px; height: 60px; border-radius: 19px; }
  .os-big .i { width: 28px; height: 28px; }
  .dl-hero { gap: 14px; }
  .dl-hero h3 { font-size: 18px; }
  .btn-dl { height: 62px; }
  .file small { display: none; }
  .dl-side { padding: 18px; }
  .setup-card { padding: 18px; border-radius: 24px; }
  .desk { height: 470px; }
  .desk-app { left: 6%; width: 88%; height: 46%; }
  .f-l { width: 90px; }
  .field { min-height: 54px; gap: 10px; }
  .callout { flex-direction: column; }
  .cfg-info { padding: 22px; }
  .code-body { --lh: 24px; }
  #cfgCode { font-size: 12px; line-height: 24px; }
  .ln::before { width: 40px; padding-right: 12px; }
  .q { padding: 18px 18px 18px 20px; font-size: 16px; }
  .a p { padding: 0 20px 18px; }
  .final { padding-top: 120px; }
  .final-card { padding: 0 14px 64px; border-radius: 28px; }
  .orbit { width: 250px; height: 250px; }
  .ring { --r: 106px; }
  .ring.r2 { --r: 80px; }
  .sat .gi { width: 36px; height: 36px; left: -18px; top: -18px; }
  .orb-mark { width: 84px; height: 84px; margin: -42px 0 0 -42px; }
  .foot { margin-top: 100px; }
  .foot-top { padding-top: 48px; gap: 28px; }
  .foot-bottom { align-items: flex-start; }
}
