.ak-top { position: relative; min-height: 360px; display: flex; align-items: flex-end; overflow: hidden; }
.ak-top .pf-bg img { object-position: 50% 55%; filter: brightness(.7); }
.ak-in { position: relative; z-index: 2; width: 100%; padding-bottom: 44px; }
.ak-in h1 { font-size: clamp(42px, 5.6vw, 72px); }
.ak-in p { margin-top: 14px; color: #c3c8d1; font-size: 16px; line-height: 1.6; max-width: 560px; }
.ak-main { position: relative; z-index: 4; padding: 36px 0 110px; }
.ak-gate { padding: 40px 0; }
.ak-gate p { color: var(--muted); margin-bottom: 22px; max-width: 520px; line-height: 1.6; }

.ak-h { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; margin: 46px 0 18px; flex-wrap: wrap; }
.ak-h:first-child { margin-top: 0; }
.ak-h h2 { font-size: 26px; letter-spacing: -.4px; }
.ak-h span { color: var(--dim); font-size: 14px; }

.ak-forms { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }
.ak-card { --c: var(--blue); position: relative; display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); overflow: hidden; }
.ak-card::before { content: ''; position: absolute; left: 0; top: 0; right: 0; height: 120px; background: radial-gradient(120% 100% at 0% 0%, color-mix(in srgb, var(--c) 28%, transparent), transparent 70%); pointer-events: none; }
.ak-card > * { position: relative; }
.ak-ic { width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 18%, transparent); color: var(--c); }
.ak-ic svg { width: 22px; height: 22px; }
.ak-card h3 { font-size: 21px; font-weight: 500; color: #fff; }
.ak-card p { color: var(--muted); font-size: 14.5px; line-height: 1.6; flex: 1; }
.ak-meta { display: flex; gap: 8px; flex-wrap: wrap; }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 999px; font-size: 12.5px; color: #cfd4dc; background: rgba(255, 255, 255, .06); white-space: nowrap; }
.chip i { width: 7px; height: 7px; border-radius: 50%; background: currentColor; }
.chip.pending { color: #ffd60a; background: rgba(255, 214, 10, .1); }
.chip.review { color: #40c8e0; background: rgba(64, 200, 224, .1); }
.chip.accepted { color: #30d158; background: rgba(48, 209, 88, .1); }
.chip.rejected { color: #ff6961; background: rgba(255, 69, 58, .1); }
.chip.cooldown { color: #ff9f0a; background: rgba(255, 159, 10, .1); }
.ak-card .btn { align-self: flex-start; }
.ak-card .btn.primary { background: var(--c); border-color: var(--c); }
.ak-empty { padding: 34px; border-radius: 16px; border: 1px dashed var(--line2); color: var(--muted); text-align: center; }

.ak-mine { display: flex; flex-direction: column; gap: 10px; }
.ak-row { --c: var(--blue); display: grid; grid-template-columns: 6px 1fr auto; gap: 16px; align-items: center; padding: 16px 18px 16px 0; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); overflow: hidden; }
.ak-row > b { align-self: stretch; background: var(--c); }
.ak-row h4 { font-size: 16px; font-weight: 500; }
.ak-row small { display: block; margin-top: 4px; color: var(--dim); font-size: 13px; }
.ak-reply { grid-column: 2 / -1; margin-top: 4px; padding: 12px 14px; border-radius: 10px; background: rgba(255, 255, 255, .04); color: #cfd4dc; font-size: 14px; line-height: 1.6; white-space: pre-wrap; }
.ak-row .x { font: inherit; font-size: 13px; color: var(--muted); background: none; border: 0; cursor: pointer; }
.ak-row .x:hover { color: #fff; }

.fill { --c: var(--blue); max-width: 820px; }
.fill-head { display: flex; align-items: center; gap: 16px; margin-bottom: 26px; }
.fill-head h2 { font-size: 32px; }
.back { font: inherit; font-size: 14px; color: var(--muted); background: none; border: 0; cursor: pointer; display: inline-flex; align-items: center; gap: 6px; margin-bottom: 20px; }
.back:hover { color: #fff; }
.steps { display: flex; gap: 8px; margin-bottom: 26px; flex-wrap: wrap; }
.steps span { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 999px; background: rgba(255, 255, 255, .04); color: var(--dim); font-size: 14px; }
.steps span b { width: 24px; height: 24px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; font-weight: 600; background: rgba(255, 255, 255, .06); color: var(--muted); }
.steps span.on { color: #fff; background: color-mix(in srgb, var(--c) 16%, transparent); }
.steps span.on b { background: var(--c); color: #fff; }
.steps span.done b { background: #fff; color: #07090d; }
.prog { height: 4px; border-radius: 2px; background: rgba(255, 255, 255, .06); margin-bottom: 26px; overflow: hidden; }
.prog i { display: block; height: 100%; background: var(--c); border-radius: 2px; transition: width .3s; }
.q { padding: 22px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); margin-bottom: 12px; transition: border-color .2s; }
.q.err { border-color: rgba(255, 69, 58, .6); }
.q label { display: block; font-size: 16px; color: #fff; font-weight: 500; }
.q label em { font-style: normal; color: var(--c); margin-left: 4px; }
.q .help { display: block; margin-top: 4px; color: var(--dim); font-size: 13.5px; }
.q .in { margin-top: 14px; }
.inp, .ta, .sel { width: 100%; padding: 13px 14px; border-radius: 10px; border: 1px solid var(--line2); background: #0a0d12; color: #fff; font: inherit; font-size: 15px; outline: none; transition: border-color .2s; }
.inp:focus, .ta:focus, .sel:focus { border-color: var(--c); }
.ta { min-height: 130px; resize: vertical; line-height: 1.55; }
.cnt { margin-top: 6px; text-align: right; font-size: 12px; color: var(--dim); }
.opts { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { font: inherit; font-size: 14px; padding: 10px 15px; border-radius: 10px; border: 1px solid var(--line2); background: transparent; color: #cfd4dc; cursor: pointer; transition: .15s; }
.opt:hover { border-color: rgba(255, 255, 255, .3); color: #fff; }
.opt.on { background: var(--c); border-color: var(--c); color: #fff; }
.scale .opt { min-width: 46px; padding: 10px 0; text-align: center; }
.fill-foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-top: 24px; flex-wrap: wrap; }
.fill-foot .btn.primary { background: var(--c); border-color: var(--c); }
.rev { padding: 22px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.rev dl > div { display: grid; grid-template-columns: 240px 1fr; gap: 16px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.rev dl > div:last-child { border-bottom: 0; }
.rev dt { color: var(--muted); font-size: 14px; }
.rev dd { color: #fff; font-size: 14.5px; white-space: pre-wrap; word-break: break-word; }
.rev h3 { font-size: 15px; font-weight: 500; color: var(--muted); margin: 18px 0 4px; }
.rev h3:first-child { margin-top: 0; }
.ok-box { text-align: center; padding: 60px 20px; }
.ok-box .ak-ic { margin: 0 auto 20px; width: 64px; height: 64px; border-radius: 50%; }
.ok-box h2 { font-size: 34px; }
.ok-box p { margin: 12px auto 24px; color: var(--muted); max-width: 460px; line-height: 1.6; }
.staff-link { display: inline-flex; align-items: center; gap: 8px; }

@media (max-width: 700px) {
	.rev dl > div { grid-template-columns: 1fr; gap: 4px; }
	.ak-forms { grid-template-columns: 1fr; }
}

.vd { padding-top: 130px; }
.vd-head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; }
.vd-head h1 { font-size: clamp(40px, 5vw, 64px); }
.vd-head p { margin-top: 10px; color: var(--muted); }
.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin-bottom: 26px; }
.stat { --c: var(--blue); padding: 18px 20px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); cursor: pointer; transition: border-color .2s, transform .2s; }
.stat:hover { border-color: var(--line2); }
.stat.on { border-color: var(--c); }
.stat span { display: flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; }
.stat span i { width: 8px; height: 8px; border-radius: 50%; background: var(--c); }
.stat b { display: block; margin-top: 10px; font-size: 34px; font-weight: 300; color: #fff; font-variant-numeric: tabular-nums; }
.tabs { display: flex; gap: 6px; margin-bottom: 18px; border-bottom: 1px solid var(--line); }
.tabs button { font: inherit; font-size: 15px; padding: 12px 16px; background: none; border: 0; border-bottom: 2px solid transparent; color: var(--muted); cursor: pointer; margin-bottom: -1px; }
.tabs button.on { color: #fff; border-bottom-color: var(--blue); }
.vd-grid { display: grid; grid-template-columns: 380px 1fr; gap: 18px; align-items: start; }
.vd-side { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 10px; }
.vd-filter { display: flex; gap: 8px; }
.vd-filter .inp, .vd-filter .sel { padding: 11px 12px; font-size: 14px; }
.vd-list { display: flex; flex-direction: column; gap: 6px; max-height: calc(100vh - 230px); overflow: auto; padding-right: 4px; }
.vd-list::-webkit-scrollbar { width: 6px; }
.vd-list::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .1); border-radius: 3px; }
.it { --c: var(--blue); display: grid; grid-template-columns: 42px 1fr auto; gap: 12px; align-items: center; padding: 12px; border-radius: 12px; background: var(--panel); border: 1px solid var(--line); cursor: pointer; text-align: left; font: inherit; color: inherit; width: 100%; transition: border-color .15s, background .15s; }
.it:hover { border-color: var(--line2); }
.it.on { border-color: var(--c); background: color-mix(in srgb, var(--c) 7%, var(--panel)); }
.it img { width: 42px; height: 42px; border-radius: 50%; object-fit: cover; background: #151a22; }
.it h4 { font-size: 14.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.it small { display: flex; align-items: center; gap: 6px; margin-top: 3px; color: var(--dim); font-size: 12.5px; white-space: nowrap; overflow: hidden; }
.it small i { width: 7px; height: 7px; border-radius: 50%; background: var(--c); flex: none; }
.it .r { display: flex; flex-direction: column; align-items: flex-end; gap: 5px; }
.it .r em { font-style: normal; font-size: 12px; color: var(--dim); }
.it .chip { padding: 3px 8px; font-size: 11.5px; }
.vd-detail { min-height: 400px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); overflow: hidden; }
.vd-none { padding: 80px 30px; text-align: center; color: var(--dim); }
.dt-top { --c: var(--blue); position: relative; padding: 28px; display: flex; gap: 20px; align-items: center; background: radial-gradient(120% 140% at 0% 0%, color-mix(in srgb, var(--c) 24%, transparent), transparent 65%); border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.dt-top img { width: 78px; height: 78px; border-radius: 50%; object-fit: cover; border: 3px solid var(--panel); }
.dt-top h2 { font-size: 28px; }
.dt-top p { color: var(--muted); font-size: 14px; margin-top: 4px; }
.dt-top .ak-meta { margin-top: 10px; }
.dt-acts { margin-left: auto; display: flex; gap: 8px; }
.ib { width: 38px; height: 38px; border-radius: 10px; display: grid; place-items: center; background: rgba(255, 255, 255, .05); border: 1px solid var(--line); color: var(--muted); cursor: pointer; }
.ib:hover { color: #fff; border-color: var(--line2); }
.ib svg { width: 17px; height: 17px; }
.dt-sec { padding: 24px 28px; border-bottom: 1px solid var(--line); }
.dt-sec:last-child { border-bottom: 0; }
.dt-sec > h3 { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); margin-bottom: 14px; display: flex; justify-content: space-between; align-items: center; }
.tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 10px; }
.tile { --c: var(--blue); display: flex; gap: 12px; align-items: flex-start; padding: 14px; border-radius: 12px; background: rgba(255, 255, 255, .03); border: 1px solid var(--line); }
.tile .ti { flex: none; width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; background: color-mix(in srgb, var(--c) 16%, transparent); color: var(--c); }
.tile .ti svg { width: 18px; height: 18px; }
.tile small { display: block; color: var(--dim); font-size: 12px; }
.tile b { display: block; margin-top: 3px; font-weight: 500; font-size: 14.5px; color: #fff; word-break: break-word; }
.tile b.mono { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 12.5px; }
.qa > div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.qa > div:first-child { padding-top: 0; }
.qa > div:last-child { border-bottom: 0; padding-bottom: 0; }
.qa dt { color: var(--muted); font-size: 13.5px; }
.qa dd { margin-top: 6px; color: #fff; font-size: 15px; line-height: 1.6; white-space: pre-wrap; word-break: break-word; }
.votes { display: flex; gap: 10px; flex-wrap: wrap; }
.vote { display: flex; align-items: center; gap: 10px; padding: 11px 16px; border-radius: 12px; border: 1px solid var(--line2); background: transparent; color: #cfd4dc; font: inherit; font-size: 14px; cursor: pointer; transition: .15s; }
.vote svg { width: 18px; height: 18px; }
.vote b { font-weight: 600; color: #fff; }
.vote.up.on { background: rgba(48, 209, 88, .14); border-color: #30d158; color: #30d158; }
.vote.down.on { background: rgba(255, 69, 58, .14); border-color: #ff453a; color: #ff6961; }
.voters { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 12px; }
.voter { display: inline-flex; align-items: center; gap: 6px; padding: 4px 10px 4px 4px; border-radius: 999px; background: rgba(255, 255, 255, .04); font-size: 12.5px; color: #cfd4dc; }
.voter img { width: 20px; height: 20px; border-radius: 50%; }
.voter i { width: 7px; height: 7px; border-radius: 50%; }
.notes { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.note { display: grid; grid-template-columns: 32px 1fr auto; gap: 10px; }
.note img { width: 32px; height: 32px; border-radius: 50%; }
.note p { color: #e1e4ea; font-size: 14px; line-height: 1.55; white-space: pre-wrap; word-break: break-word; }
.note small { color: var(--dim); font-size: 12px; }
.note button { background: none; border: 0; color: var(--dim); cursor: pointer; font: inherit; font-size: 12px; }
.note button:hover { color: #ff6961; }
.row-in { display: flex; gap: 8px; align-items: flex-start; }
.row-in .ta { min-height: 46px; height: 46px; }
.dec-opts { display: flex; gap: 18px; flex-wrap: wrap; margin: 12px 0 16px; color: var(--muted); font-size: 14px; }
.dec-opts label { display: inline-flex; gap: 8px; align-items: center; cursor: pointer; }
.dec-opts input { accent-color: var(--blue); width: 16px; height: 16px; }
.dec-btns { display: flex; gap: 8px; flex-wrap: wrap; }
.btn.green { background: #1f9d4c; border-color: #1f9d4c; }
.btn.green:hover { background: #26b157; }
.btn.redb { background: #c9362d; border-color: #c9362d; }
.btn.redb:hover { background: #dc4137; }
.btn.sm { padding: 10px 14px; font-size: 14px; }
.log { display: flex; flex-direction: column; gap: 10px; }
.log div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; font-size: 13.5px; color: #cfd4dc; }
.log span { color: var(--dim); }
.hist { display: flex; gap: 8px; flex-wrap: wrap; }

.fm-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 14px; }
.fm-add { display: grid; place-items: center; gap: 10px; min-height: 200px; border-radius: 16px; border: 1px dashed var(--line2); background: transparent; color: var(--muted); font: inherit; cursor: pointer; transition: .2s; }
.fm-add:hover { color: #fff; border-color: rgba(255, 255, 255, .3); }
.fm-add svg { width: 26px; height: 26px; }
.ed { max-width: 900px; }
.ed-box { padding: 24px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); margin-bottom: 14px; }
.ed-box > h3 { font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--dim); margin-bottom: 16px; }
.fld { margin-bottom: 14px; }
.fld:last-child { margin-bottom: 0; }
.fld > span { display: block; margin-bottom: 7px; color: var(--muted); font-size: 13.5px; }
.fld-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.swatches { display: flex; gap: 8px; flex-wrap: wrap; }
.sw { width: 32px; height: 32px; border-radius: 50%; border: 2px solid transparent; cursor: pointer; padding: 0; }
.sw.on { border-color: #fff; box-shadow: 0 0 0 2px var(--panel) inset; }
.tog { display: inline-flex; align-items: center; gap: 10px; cursor: pointer; color: #fff; font-size: 14.5px; }
.tog input { display: none; }
.tog i { position: relative; width: 42px; height: 24px; border-radius: 12px; background: rgba(255, 255, 255, .12); transition: .2s; }
.tog i::after { content: ''; position: absolute; left: 3px; top: 3px; width: 18px; height: 18px; border-radius: 50%; background: #fff; transition: .2s; }
.tog input:checked + i { background: #30d158; }
.tog input:checked + i::after { left: 21px; }
.eq { --c: var(--blue); padding: 16px; border-radius: 12px; border: 1px solid var(--line); background: rgba(255, 255, 255, .02); margin-bottom: 10px; }
.eq-top { display: grid; grid-template-columns: 28px 1fr 190px 150px auto; gap: 10px; align-items: center; }
.eq-n { width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center; font-size: 12px; font-weight: 600; background: rgba(255, 255, 255, .06); color: var(--muted); }
.eq .sel, .eq .inp { padding: 10px 12px; font-size: 14px; }
.eq-tools { display: flex; gap: 4px; }
.eq-tools .ib { width: 34px; height: 34px; }
.eq-more { display: grid; grid-template-columns: 1fr auto; gap: 10px; margin-top: 10px; align-items: center; padding-left: 38px; }
.eq-opts { grid-column: 1 / -1; padding-left: 38px; margin-top: 10px; }
.eq-opts .ta { min-height: 80px; font-size: 14px; }
.eq-mm { display: flex; gap: 8px; align-items: center; color: var(--muted); font-size: 13px; }
.eq-mm .inp { width: 90px; }
.ed-foot { position: sticky; bottom: 16px; display: flex; gap: 8px; justify-content: flex-end; padding: 14px; border-radius: 14px; background: rgba(14, 17, 23, .92); border: 1px solid var(--line2); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); flex-wrap: wrap; }
.ed-foot .btn.ghost { margin-right: auto; }

@media (max-width: 1100px) {
	.vd-grid { grid-template-columns: 1fr; }
	.vd-side { position: static; }
	.vd-list { max-height: 420px; }
	.stats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 700px) {
	.stats { grid-template-columns: repeat(2, 1fr); }
	.eq-top { grid-template-columns: 28px 1fr; }
	.eq-top .sel, .eq-tools { grid-column: 2; }
	.fld-row { grid-template-columns: 1fr; }
	.dt-top, .dt-sec { padding-left: 18px; padding-right: 18px; }
	.log div { grid-template-columns: 1fr; gap: 2px; }
}
