.ks-main { min-height: 100vh; padding-top: var(--app-header-height, 0px); background: var(--ks-canvas); color: var(--ks-ink); font-family: var(--kammii-font-sans, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif); }
.ks-container { max-width: 1200px; margin: 0 auto; padding: 0 4px 0 12px; }
.ks-banner { width: 100%; aspect-ratio: 6 / 1; max-height: 240px; min-height: 160px; margin-top: 48px; border-radius: 8px 8px 0 0; overflow: hidden; background: var(--ks-surface); }
.ks-banner img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ks-has-banner .ks-card { margin-top: 0; border-radius: 0 0 8px 8px; }
.ks-card {
background: transparent;
border-radius: 0;
padding: 48px 48px 16px;
margin: 48px 0 20px;
}
.ks-col { display: flex; flex-direction: column; gap: 32px; }
.ks-head { display: grid; grid-template-columns: 120px minmax(0, 1fr); grid-template-rows: auto auto; gap: 12px 16px; }
.ks-avatar-cell { grid-row: 1 / -1; grid-column: 1; align-self: center; width: 120px; height: 120px; }
.ks-avatar { width: 120px; height: 120px; border-radius: 9999px; overflow: hidden; background: var(--ks-surface-raised); display: grid; place-items: center; }
.ks-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.ks-avatar-letter { font-size: 44px; font-weight: 600; color: var(--ks-ink-3); line-height: 1; user-select: none; }
.ks-name { grid-row: 1; grid-column: 2; align-self: end; display: flex; flex-direction: column; justify-content: flex-end; gap: 0; min-width: 0; }
.ks-name-row { display: flex; align-items: center; gap: 12px; min-width: 0; }
.ks-name-text { font-size: 24px; line-height: 32px; font-weight: 600; color: var(--ks-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ks-handle { font-size: 14px; line-height: 20px; font-weight: 400; color: var(--ks-ink-2); }
@media (max-width: 767px) { .ks-name-row { flex-wrap: wrap; row-gap: 2px; } }
.ks-actions { grid-row: 2; grid-column: 2; align-self: start; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.ks-btn { min-width: 100px; height: 37px; border-radius: 999px; padding: 6px 16px; font-size: 14px; line-height: 24.5px; font-weight: 600; display: inline-flex; align-items: center; justify-content: center; gap: 4px; border: 0; cursor: pointer; font-family: inherit; text-decoration: none; }
.ks-btn-primary { background: var(--ks-surface-raised); color: var(--ks-ink); font-weight: 700; box-shadow: inset 0 0 0 1px var(--ks-line); }
.ks-btn-quiet { background: var(--ks-surface); color: var(--ks-ink); }
.ks-btn-text { background: transparent; color: var(--ks-ink-2); min-width: 0; padding: 6px 10px; }
.ks-btn-text[disabled] { background: transparent; }
.ks-btn[disabled] { cursor: default; background: var(--ks-surface); color: var(--ks-ink-4); }
.ks-btn[hidden] { display: none; }
.ks-btn, .ks-act, .ks-more-btn, .ks-follow-sm, .ks-rail-btn, .ks-pic-btn, .ks-icon-btn { transition: transform 0.36s var(--ks-spring); }
.ks-btn:active, .ks-act:active, .ks-more-btn:active, .ks-follow-sm:active, .ks-rail-btn:active, .ks-pic-btn:active, .ks-icon-btn:active { transform: scale(0.94); transition-duration: 0.08s; }
@media (prefers-reduced-motion: reduce) { .ks-btn, .ks-act, .ks-more-btn, .ks-follow-sm, .ks-rail-btn, .ks-pic-btn, .ks-icon-btn { transition: none; transform: none; } }
.ks-bio { font-size: 16px; line-height: 24px; font-weight: 400; color: var(--ks-ink-2); white-space: pre-wrap; overflow-wrap: break-word; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 6; overflow: hidden; margin: 0; }
@media (min-width: 768px) { .ks-bio { -webkit-line-clamp: 12; } }
.ks-bio.ks-bio-open { -webkit-line-clamp: unset; display: block; overflow: visible; }
.ks-bio a { color: var(--ks-ink); text-decoration: underline; text-underline-offset: 2px; }
.ks-bio-more { align-self: flex-start; background: none; border: 0; padding: 0; margin: -24px 0 0; font: inherit; font-size: 14px; color: var(--ks-ink); cursor: pointer; text-decoration: underline; }
.ks-location { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 16px; font-size: 14px; line-height: 20px; color: var(--ks-ink-2); margin: -16px 0; }
.ks-location svg { width: 16px; height: 16px; flex: none; }
.ks-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; font-size: 14px; line-height: 20px; }
.ks-links a { display: inline-flex; align-items: center; gap: 4px; color: var(--ks-ink); text-decoration: none; }
.ks-links a:hover { text-decoration: underline; }
.ks-links svg { width: 16px; height: 16px; flex: none; color: var(--ks-ink-3); }
.ks-stats { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 16px; }
.ks-stat { display: flex; align-items: baseline; gap: 4px; color: var(--ks-ink); text-decoration: none; }
.ks-stat:hover { text-decoration: underline; }
.ks-stat b { font-size: 16px; line-height: 24px; font-weight: 600; }
.ks-stat span { font-size: 14px; line-height: 20px; font-weight: 400; color: var(--ks-ink-2); }
.ks-tabs { position: relative; display: flex; overflow: hidden; border-bottom: 1px solid var(--ks-line); }
.ks-tab { appearance: none; background: none; border: 0; font-family: inherit; min-height: 48px; display: inline-flex; align-items: center; padding: 8px 16px; border-radius: 8px 8px 0 0; font-size: 18px; line-height: 28px; font-weight: 400; color: var(--ks-ink-2); cursor: pointer; text-decoration: none; }
.ks-tab[aria-selected="true"] { color: var(--ks-ink); }
.ks-tab-ind { position: absolute; top: 46px; height: 2px; background: var(--ks-ink); transition: transform 0.42s var(--ks-spring), width 0.42s var(--ks-spring); transform-origin: left center; }
@media (prefers-reduced-motion: reduce) { .ks-tab-ind { transition: none; } }
.ks-toggles { display: inline-flex; flex-wrap: wrap; padding: 0 0 16px; margin-top: 16px; }
.ks-toggle { appearance: none; border: 0; background: transparent; font-family: inherit; height: 39px; padding: 8px 16px; border-radius: 999px; font-size: 13px; line-height: 22.75px; font-weight: 500; color: var(--ks-ink-2); cursor: pointer; }
.ks-toggle[aria-pressed="true"] { background: var(--ks-surface-hover); color: var(--ks-ink); }
.ks-toggle[hidden] { display: none; }
.ks-profbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 20px 0 16px; }
.ks-ptabs, .ks-psort { display: inline-flex; flex-wrap: nowrap; padding: 0; margin: 0; }
.ks-ptabs .ks-toggle, .ks-psort .ks-toggle { display: inline-flex; align-items: center; text-decoration: none; }
.ks-ptabs .ks-toggle, .ks-ptabs.kg-seg .ks-toggle.kg-seg-item { height: 36px; min-height: 36px; padding: 0 16px; font-size: 15px; font-weight: 560; }
@media (max-width: 430px) { .ks-ptabs .ks-toggle, .ks-ptabs.kg-seg .ks-toggle.kg-seg-item { padding: 0 12px; } }
.ks-psort { transition: opacity 0.2s ease; }
.ks-psort[data-away="true"] { opacity: 0; visibility: hidden; transition: opacity 0.2s ease, visibility 0s linear 0.2s; }
.ks-psort .ks-toggle, .ks-psort.kg-seg .ks-toggle.kg-seg-item { height: 32px; min-height: 32px; padding: 0 12px; font-size: 13px; font-weight: 500; }
.ks-backrow { padding: 24px 0 0 46px; }
.ks-backlink { min-width: 0; padding: 6px 10px 6px 2px; gap: 2px; font-weight: 600; }
.ks-backlink svg { width: 20px; height: 20px; }
.ks-backrow ~ .ks-card, .ks-backrow ~ .ks-banner { margin-top: 8px; }
.ks-backrow ~ .ks-card { padding-top: 24px; }
@media (max-width: 767px) { .ks-backrow { padding: 6px 12px 0; } .ks-profbar { padding: 16px 0 12px; } .ks-backrow ~ .ks-card, .ks-backrow ~ .ks-banner { margin-top: 0; } .ks-backrow ~ .ks-card { padding-top: 0; } }
[data-kg-seg="true"] > .ks-mode[aria-pressed="true"],
[data-kg-seg="true"] > .ks-pillitem[aria-pressed="true"],
[data-kg-seg="true"] > .ks-toggle[aria-pressed="true"],
[data-kg-seg="true"] > .ks-notegroup[aria-pressed="true"] { background: transparent; }
.ks-sortrow { display: flex; justify-content: flex-end; margin-bottom: 16px; padding-top: 8px; }
.ks-select { position: relative; width: 200px; min-height: 40px; }
.ks-select label { position: absolute; z-index: 2; top: -8px; left: 10px; padding: 0 4px; background: var(--ks-raised); font-size: 12px; line-height: 16px; color: var(--ks-ink-2); pointer-events: none; }
.ks-select select { appearance: none; width: 200px; height: 40px; border-radius: 8px; border: 1px solid var(--ks-line); background: var(--ks-surface); color: var(--ks-ink); font-family: inherit; font-size: 14px; padding: 8.5px 32px 8.5px 14px; cursor: pointer; }
.ks-select select:focus { border-color: var(--ks-ink); outline: none; }
.ks-select svg { position: absolute; right: 7px; top: 8px; width: 24px; height: 24px; pointer-events: none; color: var(--ks-ink-2); }
.ks-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 768px) { .ks-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.ks-cell { position: relative; isolation: isolate; padding: 2px; }
.ks-cell::before { content: ""; position: absolute; inset: 1px; border-radius: 8px; background: var(--ks-surface); z-index: -1; transition: background 300ms ease-out; }
.ks-cell:hover::before { background: var(--ks-surface-raised); }
@media (prefers-reduced-motion: reduce) { .ks-cell::before { transition: none; } }
.ks-tile { display: block; background: var(--ks-tertiary); border-radius: 6px; overflow: hidden; text-decoration: none; color: inherit; }
.ks-tile-img { position: relative; width: 100%; aspect-ratio: 1 / 1; background: var(--ks-hover); overflow: hidden; border-radius: 6px 6px 0 0; }
.ks-tile-img img { width: 100%; height: 100%; object-fit: cover; transition: opacity 300ms ease-out; }
@media (prefers-reduced-motion: reduce) { .ks-tile-img img { transition: none; } }
.ks-tile-foot { height: 56px; display: flex; align-items: center; gap: 6px; padding: 0 0 2px 8px; }
.ks-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 8px; padding: 64px 24px; }
.ks-empty[hidden] { display: none; }
.ks-empty svg { width: 48px; height: 48px; color: var(--ks-ink-3); }
.ks-empty h3 { font-size: 17px; font-weight: 600; color: var(--ks-ink); margin: 4px 0 0; }
.ks-empty p { font-size: 15px; font-weight: 400; color: var(--ks-ink-2); margin: 0; max-width: 40ch; }
.ks-empty .ks-btn { margin-top: 8px; }
.ks-notice { max-width: 520px; margin: 0 auto; padding: 96px 24px; text-align: center; }
.ks-notice h1 { font-size: 24px; line-height: 32px; font-weight: 600; color: var(--ks-ink); margin: 0 0 8px; }
.ks-notice p { font-size: 16px; line-height: 24px; color: var(--ks-ink-2); margin: 0 0 24px; }
@media (max-width: 767px) {
.ks-container { padding: 0; }
.ks-banner { margin-top: 0; border-radius: 0; }
.ks-card { padding: 0 16px 16px; margin: 0; border-radius: 0; border-left: 0; border-right: 0; box-shadow: none; }
.ks-head { grid-template-columns: 80px minmax(0, 1fr); gap: 8px 12px; padding-top: 16px; }
.ks-avatar-cell, .ks-avatar { width: 80px; height: 80px; }
.ks-avatar-letter { font-size: 30px; }
.ks-col { gap: 24px; }
.ks-select, .ks-select select { width: 100%; }
.ks-sortrow { display: block; }
.ks-btn { min-height: 44px; }
.ks-toggle { min-height: 44px; }
}
@media (prefers-reduced-transparency: reduce) {
.ks-card { box-shadow: none; background: var(--ks-tertiary); }
.ks-cell::before { background: var(--ks-surface-raised); }
}
@media (prefers-contrast: more) {
.ks-main {
--ks-ink-2: rgba(237, 237, 237, 0.80);
--ks-ink-3: rgba(237, 237, 237, 0.55);
--ks-line: rgba(237, 237, 237, 0.20);
}
}
.ks-form { display: flex; flex-direction: column; gap: 24px; }
.ks-field { display: flex; flex-direction: column; gap: 6px; }
.ks-field > label { font-size: 13px; line-height: 18px; font-weight: 600; color: var(--ks-ink-2); }
.ks-field input[type="text"], .ks-field textarea {
width: 100%; min-height: 40px; border-radius: 8px; border: 1px solid var(--ks-line);
background: var(--ks-surface); color: var(--ks-ink); font-family: inherit; font-size: 14px; padding: 9px 12px;
}
.ks-field textarea { min-height: 120px; resize: vertical; line-height: 20px; }
.ks-field input:focus, .ks-field textarea:focus { border-color: var(--ks-ink); outline: none; }
.ks-field-note { font-size: 13px; line-height: 18px; color: var(--ks-ink-2); }
.ks-field-note[data-state="ok"] { color: var(--ks-success); }
.ks-field-note[data-state="bad"] { color: var(--ks-error); }
.ks-switch-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.ks-switch-row p { font-size: 13px; line-height: 18px; color: var(--ks-ink-3); margin: 2px 0 0; }
.ks-switch-row strong { font-size: 15px; font-weight: 600; color: var(--ks-ink); }
.ks-pic { position: relative; overflow: hidden; background: var(--ks-surface-raised); display: grid; place-items: center; color: var(--ks-ink-4); }
.ks-pic > svg { width: 28px; height: 28px; }
.ks-pic > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; display: block; transition: opacity 0.2s ease; }
.ks-pic[data-has-image="true"] > svg { display: none; }
.ks-pic[data-busy="true"] > img { opacity: 0.45; }
.ks-pic-busy { position: absolute; left: 50%; top: 50%; margin: -14px 0 0 -14px; }
.ks-pic-cover { width: 100%; max-width: 480px; aspect-ratio: 3 / 1; border-radius: 8px; }
.ks-pic-avatar { width: 96px; height: 96px; flex: none; border-radius: 999px; }
.ks-pic-row { display: flex; align-items: center; gap: 16px; }
.ks-pic-actions { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ks-pic-actions-col { flex-direction: column; align-items: flex-start; gap: 4px; }
.ks-crop { position: fixed; inset: 0; z-index: 80; display: grid; place-items: center; padding: 16px; background: rgba(0, 0, 0, 0.62); }
.ks-crop-card { width: min(100%, 520px, calc(100vh - 172px)); width: min(100%, 520px, calc(100dvh - 172px)); background: var(--ks-raised); border-radius: 12px; padding: 20px; display: flex; flex-direction: column; gap: 16px; box-shadow: inset 0 0 0 1px var(--ks-line), 0 24px 60px rgba(0, 0, 0, 0.5); }
.ks-crop-title { margin: 0; font-size: 17px; line-height: 24px; font-weight: 650; letter-spacing: -0.01em; color: var(--ks-ink); }
.ks-crop-stage { position: relative; width: 100%; aspect-ratio: 1 / 1; border-radius: 8px; overflow: hidden; background: var(--ks-canvas); touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.ks-crop[data-kind="banner"] .ks-crop-stage { aspect-ratio: 2 / 1; }
.ks-crop[data-kind="banner"] .ks-crop-card { width: min(100%, 520px, calc((100vh - 212px) * 2 + 40px)); width: min(100%, 520px, calc((100dvh - 212px) * 2 + 40px)); }
.ks-crop-stage[data-dragging="true"] { cursor: grabbing; }
.ks-crop-stage canvas { display: block; width: 100%; height: 100%; }
.ks-crop-zoom { display: flex; align-items: center; padding: 0 4px; }
.ks-crop-zoom input[type="range"] { flex: 1 1 auto; }
.ks-crop-zoom .kg-slider { flex: 1 1 auto; }
.ks-crop-actions { display: flex; justify-content: flex-end; gap: 8px; }
.ks-crop-actions .ks-btn { height: 40px; }
html[data-ks-crop-open="true"] { overflow: hidden; }
@media (max-width: 767px) { .ks-crop { padding: 0; align-items: end; } .ks-crop-card { width: 100%; border-radius: 12px 12px 0 0; padding: 16px 16px calc(16px + env(safe-area-inset-bottom, 0px)); } }
@media (prefers-reduced-motion: reduce) { .ks-pic > img { transition: none; } }
.ks-selectfield { position: relative; }
.ks-selectfield .kg-select-button { min-height: 40px; padding: 9px 12px; border-radius: 8px !important; border-color: var(--ks-line); background: var(--ks-surface); color: var(--ks-ink); font-size: 14px; }
.ks-selectfield select:not(.kg-select-native) { appearance: none; width: 100%; min-height: 40px; border-radius: 8px; border: 1px solid var(--ks-line); background: var(--ks-surface); color: var(--ks-ink); font-family: inherit; font-size: 14px; padding: 9px 36px 9px 12px; }
.ks-selectfield > svg { position: absolute; right: 10px; top: 8px; width: 24px; height: 24px; pointer-events: none; color: var(--ks-ink-2); }
.ks-selectfield:has(.kg-select) > svg { display: none; }
.ks-composer-head { display: flex; flex-direction: column; gap: 12px; align-items: flex-start; }
.ks-composer-back { gap: 2px; padding-left: 6px; margin-left: -6px; }
.ks-composer-back svg { width: 18px; height: 18px; }
.ks-composer-title { margin: 0; font-size: 24px; line-height: 30px; font-weight: 650; letter-spacing: -0.01em; color: var(--ks-ink); }
.ks-composer-sub { margin: 0; font-size: 14px; line-height: 20px; color: var(--ks-ink-2); }
.ks-form-foot .ks-btn-text { height: 44px; }
.ks-link-row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr) auto; gap: 8px; align-items: center; }
@media (max-width: 767px) { .ks-link-row { grid-template-columns: minmax(0, 1fr); } }
.ks-settings-section { display: flex; flex-direction: column; gap: 24px; }
.ks-settings-head { font-size: 20px; line-height: 24px; font-weight: 650; letter-spacing: -0.01em; color: var(--ks-ink); margin: 0; }
.ks-settings-link { font-size: 15px; line-height: 24px; font-weight: 600; color: var(--ks-ink); text-decoration: none; display: inline-flex; align-items: center; min-height: 44px; }
.ks-settings-link:hover { text-decoration: underline; }
.ks-form-foot { display: flex; align-items: center; gap: 16px; }
.ks-form-foot .ks-btn { height: 44px; }
.ks-busy { width: 28px; height: 28px; display: none; }
.ks-busy[data-on="true"] { display: block; }
.ks-sr { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
html.kg-sheet .ks-card { margin-top: 0; padding-top: 24px; }
html.kg-sheet .ks-banner { margin-top: 0; }
html.kg-sheet, html.kg-sheet body, html.kg-sheet .ks-main { background: transparent; }
html.kg-sheet .ks-card { background: transparent; box-shadow: none; border-radius: 0; }
html.kg-sheet .ks-pagehead,
html.kg-sheet .ks-notehead h1,
html.kg-sheet .ks-listhead h1,
html.kg-sheet .ks-admin-head h1 { display: none; }
html.kg-sheet .ks-backrow { display: none; }
html.kg-sheet .ks-backrow ~ .ks-card, html.kg-sheet .ks-backrow ~ .ks-banner { margin-top: 0; }
html.kg-sheet .ks-container:has(#ksSettings) { max-width: 712px; padding: 0 16px; }
html.kg-sheet .ks-card:has(#ksSettings) { padding: 8px 0 32px; }
.ks-feed { max-width: 1196px; margin: 0 auto; padding: 0; }
@media (max-width: 767px) { .ks-feed { padding: 0 10px; } }
.ks-studio { display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: 32px; max-width: 1480px; margin: 0 auto; padding: 24px 24px 0; }
.ks-studio .ks-studio-main { max-width: none; margin: 0; padding: 0; min-width: 0; position: relative; }
.ks-popular[hidden], .ks-pmodel[hidden] { display: none; }
.ks-side { position: sticky; top: calc(var(--app-header-height, 0px) + 24px); align-self: start; max-height: calc(100vh - var(--app-header-height, 0px) - 48px); overflow-y: auto; scrollbar-width: none; background: var(--ks-raised); border-radius: 12px; box-shadow: inset 0 0 0 1px var(--ks-line); padding: 20px 16px; display: flex; flex-direction: column; gap: 22px; }
.ks-side::-webkit-scrollbar { display: none; }
.ks-fgroup { display: flex; flex-direction: column; gap: 10px; }
.ks-fcap { font-size: 13px; line-height: 18px; font-weight: 600; color: var(--ks-ink-2); }
.ks-fselect, .ks-fselect select { width: 100%; }
.ks-fstrip { padding: 0; margin: 0; flex-wrap: nowrap; }
.ks-fstrip .ks-toggle, .ks-fstrip.kg-seg .ks-toggle.kg-seg-item { height: 32px; min-height: 32px; padding: 0 10px; font-size: 13px; font-weight: 500; flex: 1 1 0; }
.ks-fgroup .ks-switch-row strong { font-size: 14px; }
.ks-share, .ks-save { width: 100%; gap: 8px; }
.ks-save svg, .ks-filterbtn svg { width: 16px; height: 16px; }
.ks-save[aria-pressed="true"] { color: var(--ks-ink); }
.ks-reset { align-self: center; }
.ks-cats { display: flex; flex-wrap: nowrap; gap: 8px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; }
.ks-cats::-webkit-scrollbar { display: none; }
.ks-cats-wrap { flex-wrap: wrap; overflow: visible; }
.ks-cat { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; padding: 8px 14px; border-radius: 999px; border: 1px solid var(--ks-line); background: var(--ks-tertiary); color: var(--ks-ink-2); font: inherit; font-size: 12px; font-weight: 600; line-height: 16px; white-space: nowrap; cursor: pointer; user-select: none; transition: transform 0.15s ease; }
.ks-cat:active { transform: scale(0.96); }
.ks-cat.active { background: var(--ks-hover); border-color: var(--ks-ink-3); color: var(--ks-ink); }
.ks-cat-n { font-size: 10px; font-weight: 700; opacity: 0.7; padding: 1px 6px; border-radius: 999px; background: rgba(127, 127, 127, 0.18); }
.ks-cat.active .ks-cat-n { background: var(--ks-surface-raised); opacity: 0.85; }
.ks-popular { margin: 0 0 24px; }
.ks-popular-head h2 { font-size: 1.25rem; font-weight: 650; line-height: 1.2; color: var(--ks-ink); margin: 0 0 12px; }
.ks-popular-row { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.ks-pmodel { display: flex; align-items: center; gap: 10px; padding: 10px; border-radius: 12px; background: var(--ks-raised); box-shadow: inset 0 0 0 1px var(--ks-line); min-width: 0; }
.ks-pmodel-link { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; color: inherit; text-decoration: none; }
.ks-pmodel-link .ks-mcard-text { min-width: 0; }
.ks-pmodel-pic { width: 44px; height: 44px; border-radius: 8px; overflow: hidden; flex: none; background: var(--ks-hover); }
.ks-pmodel-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ks-pmodel .ks-mcard-by { color: var(--ks-ink-3); }
.ks-pmodel .ks-btn.ks-try { min-width: 0; height: 30px; min-height: 30px; padding: 0 12px; font-size: 13px; flex: none; position: relative; }
.ks-studio, .ks-sheet { touch-action: manipulation; }
.ks-phonebar, .ks-sheet, .ks-sheet-scrim { display: none; }
@media (max-width: 719px) {
.ks-studio { display: block; padding: 0 10px; }
.ks-side { display: none; }
.ks-phonebar { display: flex; align-items: center; gap: 8px; position: sticky; top: var(--app-header-height, 0px); z-index: 14; margin: 0 -10px; padding: 10px; background: var(--ks-canvas); }
.ks-phonebar .ks-cats { flex: 1; min-width: 0; -webkit-mask-image: linear-gradient(90deg, black 85%, transparent); mask-image: linear-gradient(90deg, black 85%, transparent); }
.ks-phonebar .ks-cat { height: 32px; padding: 0 12px; }
.ks-phonebar .ks-btn.ks-filterbtn { position: relative; flex: none; min-width: 0; height: 32px; min-height: 32px; padding: 0 10px 0 12px; gap: 6px; font-size: 12px; font-weight: 600; line-height: 16px; }
.ks-phonebar .ks-btn.ks-sharebtn { flex: none; min-width: 0; width: 32px; height: 32px; min-height: 32px; padding: 0; position: relative; }
.ks-sharebtn svg { width: 16px; height: 16px; }
.ks-phonebar .ks-btn::after, .ks-pmodel .ks-btn.ks-try::after { content: ""; position: absolute; inset: -6px; }
.ks-fbadge { min-width: 16px; height: 16px; padding: 0 4px; border-radius: 999px; background: var(--ks-surface-raised); font-size: 10px; line-height: 16px; font-weight: 700; }
.ks-popular { margin: 4px 0 16px; }
.ks-popular-head h2 { font-size: 15px; margin-bottom: 10px; }
.ks-popular-row { display: flex; overflow-x: auto; scrollbar-width: none; gap: 8px; margin: 0 -10px; padding: 0 10px; }
.ks-popular-row::-webkit-scrollbar { display: none; }
.ks-pmodel { flex: 0 0 auto; width: 210px; padding: 8px; gap: 8px; border-radius: 10px; }
.ks-pmodel-pic { width: 36px; height: 36px; }
.ks-pmodel .ks-mcard-title { font-size: 13px; }
.ks-pmodel .ks-mcard-by { font-size: 12px; }
.ks-pmodel .ks-btn.ks-try { height: 26px; min-height: 26px; padding: 0 10px; font-size: 12px; line-height: 16px; }
.ks-studio .ks-mcard-foot .ks-av32 { display: none; }
.ks-studio .ks-mcard-foot { padding-left: 10px; }
.ks-sheet-scrim:not([hidden]) { display: block; position: fixed; inset: 0; z-index: 2990; background: rgba(0, 0, 0, 0.5); }
.ks-sheet:not([hidden]) { display: flex; flex-direction: column; position: fixed; left: 0; right: 0; bottom: 0; z-index: 3000; max-height: 86vh; background: var(--ks-raised); border-radius: 12px 12px 0 0; box-shadow: inset 0 0 0 1px var(--ks-line); padding: 8px 16px calc(12px + var(--kg-dock-inset, 0px)); animation: ksSheetIn 320ms var(--ks-settling) both; }
.ks-sheet-grab { width: 36px; height: 5px; border-radius: 999px; background: var(--ks-ink-4); margin: 0 auto 8px; flex: none; }
.ks-sheet-head { display: flex; align-items: center; justify-content: space-between; flex: none; }
.ks-sheet-head h2 { font-size: 1.25rem; font-weight: 650; line-height: 1.2; margin: 0; color: var(--ks-ink); }
.ks-sheet-head .ks-btn { min-width: 0; padding-right: 0; }
.ks-sheet-body { overflow-y: auto; display: flex; flex-direction: column; gap: 20px; padding: 14px 0 16px; overscroll-behavior: contain; }
.ks-sheet-foot { display: flex; gap: 8px; flex: none; padding-top: 12px; box-shadow: 0 -1px 0 var(--ks-line); }
.ks-sheet-foot .ks-save { width: auto; flex: none; }
.ks-sheet-foot .ks-apply { flex: 1; }
}
@keyframes ksSheetIn { from { transform: translateY(100%); } to { transform: none; } }
@media (prefers-reduced-motion: reduce) { .ks-sheet:not([hidden]) { animation: none; } }
.ks-feedhead { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 24px 0 16px; }
.ks-filter { display: flex; align-items: center; gap: 8px; padding: 0 0 16px; }
.ks-filter-clear { font-size: 14px; line-height: 20px; color: var(--ks-ink-2); text-decoration: none; }
.ks-filter-clear:hover { color: var(--ks-ink); text-decoration: underline; }
.ks-modes { display: inline-flex; align-items: center; gap: 0; flex-wrap: wrap; }
.ks-mode { appearance: none; border: 0; min-width: 142px; height: 40px; border-radius: 999px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-family: inherit; font-size: 14px; line-height: 14px; font-weight: 400; color: var(--ks-ink-2); background: transparent; cursor: pointer; }
.ks-mode svg { width: 16px; height: 16px; flex: none; }
@media (max-width: 767px) { .ks-mode { min-width: 0; } .ks-modes { flex-wrap: nowrap; } }
.ks-mode[aria-pressed="true"] { background: var(--ks-surface-hover); color: var(--ks-ink); }
.ks-feedhead .ks-btn { margin-left: auto; }
.ks-masonry { position: relative; width: 100%; }
.ks-masonry:not([data-laid="true"]) { visibility: hidden; }
.ks-masonry:not([data-laid="true"]) .ks-mcell { position: static; }
.ks-mcell { position: absolute; top: 0; left: 0; padding: 2px; isolation: isolate; content-visibility: auto; overflow-clip-margin: 16px; }
.ks-mcard { position: relative; display: block; width: 100%; background: transparent; border-radius: 10px; text-decoration: none; color: inherit; overflow: hidden; clip-path: inset(0 round 10px); --ks-scrim-h: 91px; -webkit-touch-callout: none; }
.ks-mcard-foot.kg-scrim-bottom::before { border-radius: 0; left: -1px; right: -1px; bottom: -1px; }
.ks-mcard-foot.kg-scrim-bottom::before { -webkit-backdrop-filter: none; backdrop-filter: none; height: calc(var(--ks-scrim-h) + 1px); }
.ks-mcard-img { position: relative; width: 100%; overflow: hidden; border-radius: 10px; background: var(--ks-hover); }
.ks-mcard-fig { position: absolute; inset: 0; margin: 0; overflow: hidden; background: var(--ks-surface-raised); background-size: cover; background-position: center; }
.ks-mcard-fig[data-kg-blur-surface]::before { content: ""; position: absolute; inset: -32px; background: inherit; background-size: cover; background-position: center; filter: blur(18px) saturate(1.1); pointer-events: none; }
.ks-mcard-fig img { position: relative; }
.ks-mcard-fig[data-ks-pic]::before { content: none; }
.ks-mcard-fig[data-ks-pic]::after {
content: ""; position: absolute; top: 0; left: -24px; right: -24px; bottom: -24px; box-sizing: border-box;
border: 0 solid transparent; border-left-width: 24px; border-bottom-width: 24px; padding: 0 24px 0 0; pointer-events: none;
background:
var(--ks-pic) center / cover no-repeat content-box content-box,
var(--ks-pic) right -24px center / 2400% 100% no-repeat content-box padding-box,
var(--ks-pic) left -24px center / 2400% 100% no-repeat content-box border-box,
var(--ks-pic) center bottom -24px / 100% 2400% no-repeat content-box border-box,
var(--ks-pic) center bottom -24px / calc(100% + 48px) 2400% no-repeat content-box border-box;
filter: blur(8px);
-webkit-mask-image: linear-gradient(to top, rgba(0,0,0,1) 0, rgba(0,0,0,1) 24px, rgba(0,0,0,0.82) calc(24px + var(--ks-scrim-h) * 0.3), rgba(0,0,0,0.45) calc(24px + var(--ks-scrim-h) * 0.58), rgba(0,0,0,0.12) calc(24px + var(--ks-scrim-h) * 0.82), rgba(0,0,0,0) calc(24px + var(--ks-scrim-h)));
mask-image: linear-gradient(to top, rgba(0,0,0,1) 0, rgba(0,0,0,1) 24px, rgba(0,0,0,0.82) calc(24px + var(--ks-scrim-h) * 0.3), rgba(0,0,0,0.45) calc(24px + var(--ks-scrim-h) * 0.58), rgba(0,0,0,0.12) calc(24px + var(--ks-scrim-h) * 0.82), rgba(0,0,0,0) calc(24px + var(--ks-scrim-h)));
}
@media (prefers-reduced-transparency: reduce) { .ks-mcard-fig[data-ks-pic]::after { display: none; } }
.ks-mcard-fig img { width: 100%; height: 100%; object-fit: cover; }
html.kg-warm .ks-mcard-fig img[loading="lazy"] { display: none !important; }
.ks-mcard-foot { position: absolute; left: 0; right: 0; bottom: 0; z-index: 10; display: flex; align-items: center; gap: 8px; padding: 48px 10px 10px; pointer-events: none; transition: opacity 260ms cubic-bezier(0.22, 1, 0.36, 1), transform 420ms var(--ks-spring), filter 260ms cubic-bezier(0.22, 1, 0.36, 1); }
.ks-mcard[data-clear="true"] .ks-mcard-foot { opacity: 0; transform: translateY(8px); filter: blur(4px); }
@media (prefers-reduced-motion: reduce) { .ks-mcard-foot { transition: none; } }
.ks-mcard-foot .ks-av32 { width: 24px; height: 24px; }
.ks-mcard-foot .ks-mcard-title { font-size: 13px; line-height: 17px; }
.ks-mcard-foot .ks-mcard-by { color: rgba(237, 237, 237, 0.72); }
.ks-mcard-foot .ks-likes { margin-right: 0; font-size: 12px; line-height: 16px; color: var(--ks-ink); }
.ks-mcard-foot .ks-likes svg { width: 14px; height: 14px; }
.ks-like-btn { position: absolute; right: 2px; bottom: 2px; z-index: 11; width: 64px; height: 44px; padding: 0; border: 0; background: none; cursor: pointer; border-radius: 0 0 10px 0; -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
.ks-like-btn:focus-visible { outline: 2px solid var(--ks-ink); outline-offset: -4px; border-radius: 8px; }
.ks-mcell[data-liked] .ks-mcard-foot .ks-likes svg { fill: currentColor; }
.ks-mcell[data-pending] .ks-like-btn, .ks-mcard[data-clear="true"] ~ .ks-like-btn { visibility: hidden; }
.ks-av32 { width: 32px; height: 32px; flex: none; border-radius: 9999px; overflow: hidden; background: var(--ks-surface-raised); display: grid; place-items: center; }
.ks-av32 img { width: 100%; height: 100%; object-fit: cover; object-position: center; }
.ks-av32 span { font-size: 13px; font-weight: 600; color: var(--ks-ink-3); }
.ks-mcard-text { min-width: 0; display: flex; flex-direction: column; }
.ks-mcard-title { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ks-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ks-mcard-by { font-size: 12px; line-height: 16px; font-weight: 400; color: var(--ks-ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ks-mcard-spacer { flex: 1 1 auto; }
.ks-likes { display: inline-flex; align-items: center; gap: 4px; margin-right: 16px; font-size: 14px; line-height: 20px; color: var(--ks-ink-2); flex: none; }
.ks-likes svg { width: 16px; height: 16px; }
.ks-mcard-img { --ks-glob-x: 32px; --ks-glob-y: 18px; --ks-glob-rx: 62px; --ks-glob-ry: 42px; }
.ks-mcard-img:has(> .ks-chips > .ks-chip + .ks-chip) { --ks-glob-x: 58px; --ks-glob-rx: 94px; }
.ks-chips { position: absolute; left: 0; top: 0; z-index: 10; display: flex; align-items: center; gap: 12px; padding: 10px; pointer-events: none; }
.ks-chip { display: inline-flex; align-items: center; gap: 4px; font-size: 12px; line-height: 16px; font-weight: 600; color: var(--ks-ink); white-space: nowrap; text-shadow: 0 0 6px rgba(0, 0, 0, 0.55), 0 1px 2px rgba(0, 0, 0, 0.5); }
.ks-chip svg { width: 14px; height: 14px; flex: none; filter: drop-shadow(0 0 4px rgba(0, 0, 0, 0.55)) drop-shadow(0 1px 1px rgba(0, 0, 0, 0.45)); }
@media (max-width: 719px) {
.ks-chips { gap: 10px; padding: 8px; }
.ks-mcard-img { --ks-glob-x: 29px; --ks-glob-y: 16px; --ks-glob-rx: 54px; --ks-glob-ry: 38px; }
.ks-mcard-img:has(> .ks-chips > .ks-chip + .ks-chip) { --ks-glob-x: 52px; --ks-glob-rx: 82px; }
}
.ks-mcard-img:has(> .ks-chips) .ks-mcard-fig[data-ks-pic]::before {
content: ""; position: absolute; top: -24px; left: -24px; right: -24px; bottom: 0; z-index: 1; box-sizing: border-box;
border: 0 solid transparent; border-left-width: 24px; border-top-width: 24px; padding: 0 24px 0 0; pointer-events: none;
background:
var(--ks-pic) center / cover no-repeat content-box content-box,
var(--ks-pic) right -24px center / 2400% 100% no-repeat content-box padding-box,
var(--ks-pic) left -24px center / 2400% 100% no-repeat content-box border-box,
var(--ks-pic) center top -24px / 100% 2400% no-repeat content-box border-box,
var(--ks-pic) center top -24px / calc(100% + 48px) 2400% no-repeat content-box border-box;
filter: blur(8px);
-webkit-mask-image: radial-gradient(var(--ks-glob-rx) var(--ks-glob-ry) at calc(24px + var(--ks-glob-x)) calc(24px + var(--ks-glob-y)), rgba(0,0,0,1) 0%, rgba(0,0,0,0.85) 35%, rgba(0,0,0,0.4) 68%, rgba(0,0,0,0) 100%);
mask-image: radial-gradient(var(--ks-glob-rx) var(--ks-glob-ry) at calc(24px + var(--ks-glob-x)) calc(24px + var(--ks-glob-y)), rgba(0,0,0,1) 0%, rgba(0,0,0,0.85) 35%, rgba(0,0,0,0.4) 68%, rgba(0,0,0,0) 100%);
}
@media (prefers-reduced-transparency: reduce) { .ks-mcard-img:has(> .ks-chips) .ks-mcard-fig[data-ks-pic]::before { content: none; } }
.ks-dots-btn { position: absolute; top: 8px; right: 8px; z-index: 11; width: 28px; height: 28px; border: 0; border-radius: 8px; display: grid; place-items: center; cursor: pointer; opacity: 0; visibility: hidden; transition: opacity 160ms ease-out, visibility 0s linear 160ms; padding: 0; }
.ks-dots-btn svg { width: 16px; height: 16px; }
.ks-mcell:hover .ks-dots-btn, .ks-mcell:focus-within .ks-dots-btn { visibility: visible; transition: opacity 160ms ease-out, visibility 0s; }
.ks-mcell:hover .ks-dots-btn, .ks-dots-btn:focus-visible { opacity: 1; }
@media (prefers-reduced-motion: reduce) { .ks-dots-btn { transition: none; } }
@media (max-width: 767px), (hover: none) {
.ks-dots-btn { display: none; }
}
.ks-sentinel { display: flex; align-items: center; justify-content: center; min-height: 96px; }
.ks-sentinel[hidden] { display: none; }
.ks-sentinel .ks-busy { width: 36px; height: 36px; }
.ks-feedend { text-align: center; padding: 32px 0 48px; font-size: 14px; line-height: 20px; color: var(--ks-ink-3); }
.ks-feedend .ks-btn { margin-left: 4px; vertical-align: middle; }
.ks-newpill { position: sticky; top: calc(var(--app-header-height, 0px) + 12px); z-index: 13; display: flex; width: max-content; margin: 0 auto -28px; gap: 6px; }
.ks-newpill[hidden] { display: none; }
.ks-newpill svg { width: 16px; height: 16px; }
.ks-menu { display: none; }
.ks-menu[data-open="true"] { display: block; }
.ks-menu[data-flip="up"] { transform-origin: right bottom; --kgp-menu-off-y: 80px; }
.ks-menu a[role="menuitem"] { text-decoration: none; }
.ks-menu [data-destructive="true"] { color: var(--kammii-danger, #ff453a); }
@media (max-width: 767px) { .ks-menu button, .ks-menu a { min-height: 44px; } }
.ks-post { max-width: 1216px; margin: 0 auto; }
.ks-post-media { position: relative; }
.ks-post-back { position: absolute; top: 8px; left: 8px; z-index: 3; width: 32px; height: 32px; padding: 0; border-radius: 50%; display: grid; place-items: center; text-decoration: none; }
.ks-post-back svg { width: 16px; height: 16px; }
.ks-postcard { background: var(--ks-raised); border-radius: 8px; padding: 24px 20px; margin: 24px 0 32px; display: grid; grid-template-columns: minmax(0, 768px) 384px; gap: 16px 24px; align-items: start; box-shadow: inset 0 0 0 1px var(--ks-line), inset 1px 1px 0 rgba(237, 237, 237, 0.06), 0 4px 19px rgba(0, 0, 0, 0.40); }
.ks-postleft { grid-column: 1; grid-row: 1; display: flex; flex-direction: column; min-width: 0; }
.ks-postright { grid-column: 2; grid-row: 1 / span 3; display: flex; flex-direction: column; gap: 16px; }
.ks-post-figure { position: relative; margin: 0; display: flex; align-items: center; justify-content: center; overflow: hidden; border-radius: 8px; background: var(--ks-surface-raised); max-height: 781px; }
.ks-post-figure img { max-width: 100%; max-height: 781px; width: auto; height: auto; object-fit: contain; display: block; }
.ks-post-dots { position: absolute; top: 8px; right: 8px; z-index: 3; width: 32px; height: 32px; border: 0; border-radius: 8px; display: grid; place-items: center; cursor: pointer; padding: 0; }
.ks-post-dots svg { width: 18px; height: 18px; }
.ks-post-head { padding: 16px 0; display: flex; flex-direction: column; gap: 8px; }
.ks-post-title { font-size: 28px; line-height: 36px; font-weight: 700; color: var(--ks-ink); margin: 0; overflow-wrap: break-word; }
.ks-post-actions { display: flex; align-items: center; justify-content: flex-end; gap: 4px; }
.ks-act { appearance: none; border: 0; background: none; height: 36px; border-radius: 8px; padding: 8px; display: inline-flex; align-items: center; justify-content: center; gap: 4px; font-family: inherit; font-size: 14px; line-height: 20px; color: var(--ks-ink-2); cursor: pointer; text-decoration: none; }
.ks-act svg { width: 20px; height: 20px; flex: none; }
.ks-act[data-w="32"] { width: 32px; padding: 8px 6px; }
.ks-act[data-w="36"] { width: 36px; }
.ks-act[data-w="48"] { min-width: 48px; }
.ks-act[data-w="56"] { min-width: 56px; }
.ks-act[aria-pressed="true"] { color: var(--ks-ink); }
.ks-act.ks-like[aria-pressed="true"] svg { fill: currentColor; }
.ks-act[disabled] { color: var(--ks-ink-4); cursor: default; }
@media (max-width: 767px) { .ks-act { min-height: 44px; height: 44px; } }
.ks-act.ks-save svg { transition: fill 120ms linear; }
.ks-act.ks-save[aria-pressed="true"] svg { fill: currentColor; }
@media (prefers-reduced-motion: reduce) { .ks-act.ks-save svg { transition: none; } }
.ks-post-caption { font-size: 16px; line-height: 24px; color: var(--ks-ink-2); white-space: pre-wrap; overflow-wrap: break-word; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
.ks-post-caption a { color: var(--ks-ink); text-decoration: underline; text-underline-offset: 2px; }
.ks-post-caption.ks-bio-open { -webkit-line-clamp: unset; display: block; overflow: visible; }
.ks-post-more { align-self: flex-end; background: none; border: 0; padding: 0; font: inherit; font-size: 14px; color: var(--ks-ink); cursor: pointer; text-decoration: underline; }
.ks-tagrow { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; padding: 8px 0 0; }
.ks-tag { display: inline-flex; align-items: center; height: 28px; padding: 0 10px; border-radius: 9999px; background: var(--ks-surface); color: var(--ks-ink-2); font-size: 13px; line-height: 18px; text-decoration: none; }
.ks-post-time { margin-top: 8px; font-size: 14px; line-height: 20px; color: var(--ks-ink-3); }
.ks-author { grid-column: 1; grid-row: 2; margin-top: 24px; padding: 16px; background: var(--ks-tertiary); border-radius: 8px; display: flex; flex-direction: column; gap: 8px; }
.ks-author-row { display: flex; align-items: center; gap: 10px; }
.ks-author-row .ks-av40 { width: 32px; height: 32px; }
.ks-author-row .ks-av40 span { font-size: 13px; }
.ks-author-row .ks-author-name { font-size: 15px; line-height: 20px; }
.ks-author-row .ks-follow-sm { height: 32px; padding: 0 14px; font-size: 13px; line-height: 16px; font-weight: 600; }
.ks-author-row .ks-author-more { height: 32px; font-size: 13px; }
.ks-av40 { width: 40px; height: 40px; flex: none; border-radius: 9999px; overflow: hidden; background: var(--ks-surface-raised); display: grid; place-items: center; }
.ks-av40 img { width: 100%; height: 100%; object-fit: cover; }
.ks-av40 span { font-size: 16px; font-weight: 600; color: var(--ks-ink-3); }
.ks-author-name { font-size: 16px; line-height: 24px; font-weight: 600; color: var(--ks-ink); text-decoration: none; }
.ks-author-name:hover { text-decoration: underline; }
.ks-follow-sm { height: 28px; min-width: 52px; padding: 6px 8px; border: 0; border-radius: 9999px; background: var(--ks-surface-raised); color: var(--ks-ink); box-shadow: inset 0 0 0 1px var(--ks-line); font-family: inherit; font-size: 12px; line-height: 16px; cursor: pointer; }
.ks-follow-sm[disabled] { background: var(--ks-surface-raised); color: var(--ks-ink-4); cursor: default; }
.ks-author-more { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; font-size: 14px; line-height: 20px; color: var(--ks-ink-2); text-decoration: none; }
.ks-author-more:hover { color: var(--ks-ink); }
.ks-author-more svg { width: 16px; height: 16px; flex: none; }
.ks-author-strip { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.ks-author-strip a { position: relative; display: block; aspect-ratio: 1 / 1; border-radius: 8px; overflow: hidden; background: var(--ks-surface-raised); }
.ks-author-strip img { width: 100%; height: 100%; object-fit: cover; }
.ks-strip-foot { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; height: 44%; display: flex; align-items: flex-end; justify-content: flex-end; padding: 0 6px 4px; border-radius: 0 0 8px 8px; }
.ks-author-strip .ks-likes { margin: 0; font-size: 12px; color: var(--ks-ink); }
.ks-related { margin: 0 0 32px; }
.ks-related-label { margin: 0 0 8px; padding: 0 4px; font-size: 0.8125rem; line-height: 18px; font-weight: 500; color: var(--ks-ink-2); }
.ks-related-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
.ks-related-grid a { display: block; aspect-ratio: 1 / 1; border-radius: 8px; overflow: hidden; background: var(--ks-surface-raised); }
.ks-related-grid img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ks-postcard.ks-drag-fade ~ .ks-related { opacity: 0; transition: opacity 120ms ease-out; }
html.ks-letgo .ks-related { opacity: 0; transition: none; }
.ks-hidden-note { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 16px 0 -8px; padding: 0 4px; font-size: 14px; line-height: 20px; color: var(--ks-ink-2); }
.ks-hidden-undo { height: 32px; padding: 0 14px; border: 0; border-radius: 9999px; background: var(--ks-surface-raised); color: var(--ks-ink); box-shadow: inset 0 0 0 1px var(--ks-line); font: inherit; font-size: 13px; font-weight: 600; cursor: pointer; }
.ks-comments { grid-column: 1; grid-row: 3; margin-top: 32px; }
.ks-comments h2 { font-size: 20px; line-height: 28px; font-weight: 600; color: var(--ks-ink); margin: 0 0 8px; display: flex; align-items: baseline; gap: 8px; }
.ks-comments h2 span { font-size: 14px; font-weight: 400; color: var(--ks-ink-3); }
.ks-comments p { font-size: 14px; line-height: 20px; color: var(--ks-ink-3); margin: 0; }
.ks-rail-btn { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; height: 40px; border-radius: 999px; border: 0; font-family: inherit; font-size: 14px; line-height: 20px; font-weight: 600; cursor: pointer; text-decoration: none; }
.ks-rail-btn svg { width: 16px; height: 16px; }
.ks-rail-fill { background: var(--ks-surface-raised); color: var(--ks-ink); box-shadow: inset 0 0 0 1px var(--ks-line); }
.ks-rail-out { background: transparent; color: var(--ks-ink); box-shadow: inset 0 0 0 1px var(--ks-line); }
@media (max-width: 767px) { .ks-rail-btn { height: 44px; } }
.ks-panel { display: flex; flex-direction: column; gap: 8px; }
.ks-panel-head { display: flex; align-items: center; gap: 8px; min-height: 33px; }
.ks-panel-tab { font-size: 14px; line-height: 17.5px; color: var(--ks-ink); border-bottom: 2px solid var(--ks-ink); padding-bottom: 6px; }
.ks-panel-acts { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.ks-text-btn { appearance: none; border: 0; background: none; padding: 0; font-family: inherit; font-size: 14px; line-height: 20px; color: var(--ks-ink-2); cursor: pointer; display: inline-flex; align-items: center; gap: 4px; }
.ks-text-btn svg { width: 16px; height: 16px; }
.ks-prompt-box { position: relative; width: 100%; max-height: 150px; overflow: auto; overscroll-behavior: contain; border-radius: 10px; border: 1px solid var(--ks-line); background: var(--ks-surface); color: var(--ks-ink); padding: 10px 12px; font-size: 14px; line-height: 22px; white-space: pre-wrap; overflow-wrap: anywhere; scrollbar-width: thin; }
.ks-prompt-box::after { content: ""; position: sticky; bottom: -10px; display: block; height: 32px; margin: -32px -12px -10px; background: linear-gradient(to bottom, transparent, var(--ks-surface) 85%); pointer-events: none; opacity: 0; }
@supports (animation-timeline: scroll()) {
.ks-prompt-box::after { animation: ksPromptMore linear both; animation-timeline: scroll(nearest block); }
@keyframes ksPromptMore { 0%, 88% { opacity: 1; } 100% { opacity: 0; } }
}
.ks-prompt-sec { display: flex; flex-direction: column; gap: 4px; }
.ks-prompt-sec + .ks-prompt-sec { margin-top: 4px; }
.ks-prompt-sec-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 28px; }
.ks-prompt-label { font-size: 13px; line-height: 20px; color: var(--ks-ink-3); }
.ks-copy-btn { position: relative; appearance: none; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 50%; background: none; color: var(--ks-ink-3); display: grid; place-items: center; cursor: pointer; }
.ks-copy-btn svg { width: 14px; height: 14px; }
.ks-copy-btn::after { content: ""; position: absolute; left: 50%; top: 50%; width: 36px; height: 36px; transform: translate(-50%, -50%); }
.ks-disclose { appearance: none; width: 100%; height: 36px; border: 0; background: none; padding: 0; display: flex; align-items: center; gap: 6px; font-family: inherit; font-size: 14px; line-height: 20px; color: var(--ks-ink); cursor: pointer; text-align: left; }
.ks-disclose svg { width: 14px; height: 14px; transition: transform 220ms var(--ks-settling); }
.ks-disclose[aria-expanded="true"] svg { transform: rotate(90deg); }
@media (prefers-reduced-motion: reduce) { .ks-disclose svg { transition: none; } }
.ks-params { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 4px 12px; font-size: 13px; line-height: 20px; }
.ks-params dt { color: var(--ks-ink-3); }
.ks-params dd { margin: 0; color: var(--ks-ink); overflow-wrap: break-word; }
.ks-pillrow { display: flex; flex-wrap: wrap; gap: 8px; }
.ks-pill { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 9999px; box-shadow: inset 0 0 0 1px var(--ks-line); font-size: 14px; line-height: 20px; color: var(--ks-ink-2); }
.ks-pill svg { width: 14px; height: 14px; }
.ks-modelhead { font-size: 16px; line-height: 24px; font-weight: 600; color: var(--ks-ink); }
.ks-modelrow { display: flex; align-items: center; gap: 12px; height: 72px; }
.ks-modelthumb { width: 64px; height: 64px; flex: none; border-radius: 8px; background: var(--ks-surface-raised); display: grid; place-items: center; color: var(--ks-ink-3); }
.ks-modelthumb svg { width: 24px; height: 24px; }
.ks-modelthumb { overflow: hidden; }
.ks-modelthumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ks-modelthumb > * { grid-area: 1 / 1; }
.ks-modelthumb img[data-ks-broken] { visibility: hidden; }
.ks-modelmeta { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.ks-modelbadge { align-self: flex-start; height: 16px; padding: 0 6px; border-radius: 4px; background: var(--ks-surface); font-size: 11px; line-height: 16px; color: var(--ks-ink-2); }
.ks-modelname { font-size: 14px; line-height: 20px; color: var(--ks-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (max-width: 767px) {
.ks-post { padding: 0; }
.ks-postcard { display: flex; flex-direction: column; align-items: stretch; gap: 16px; padding: 24px 8px; margin: 0 0 24px; border-radius: 8px; box-shadow: none; }
.ks-postleft { order: 1; }
.ks-author { order: 2; margin-top: 0; }
.ks-postright { order: 3; }
.ks-comments { order: 4; margin-top: 8px; }
.ks-post-title { font-size: 22px; line-height: 28px; }
.ks-author-strip { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 4px; }
.ks-related { margin: 0 8px 24px; }
.ks-hidden-note { margin: 12px 0 12px; padding: 0 12px; }
.ks-related-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 4px; }
}
.ks-composer { max-width: 1200px; margin: 0 auto; }
.ks-sourcetabs { display: inline-flex; gap: 8px; flex-wrap: wrap; margin-bottom: 12px; }
.ks-srctiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; min-height: 140px; }
.ks-sourcetabs > .ks-mode { flex: 1; min-height: 44px; padding: 0 14px; font-size: 0.9375rem; font-weight: 560; }
.ks-srctiles[hidden], .ks-drop[hidden] { display: none; }
.ks-srctiles > .ks-field-note { grid-column: 1 / -1; align-self: center; text-align: center; }
.ks-srctile { position: relative; padding: 0; border: 0; background: var(--ks-tertiary); border-radius: 8px; overflow: hidden; aspect-ratio: 1 / 1; cursor: pointer; }
.ks-srctile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ks-srctile[aria-pressed="true"] { box-shadow: inset 0 0 0 2px var(--ks-ink); }
.ks-srctile-n { position: absolute; top: 6px; left: 6px; min-width: 22px; height: 22px; border-radius: 9999px; background: var(--ks-ink); color: var(--ks-canvas); font-size: 12px; line-height: 22px; font-weight: 600; }
.ks-srctile .ks-busy { position: absolute; right: 6px; bottom: 6px; width: 24px; height: 24px; }
.ks-drop { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; min-height: 140px; border-radius: 8px; box-shadow: inset 0 0 0 1px var(--ks-line); color: var(--ks-ink-2); font-size: 14px; text-align: center; padding: 16px; }
.ks-drop[data-over="true"] { box-shadow: inset 0 0 0 2px var(--ks-ink); color: var(--ks-ink); }
.ks-taginput { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; min-height: 40px; border-radius: 8px; border: 1px solid var(--ks-line); background: var(--ks-surface); padding: 6px 8px; }
.ks-field .ks-taginput input[type="text"] { flex: 1 1 120px; min-width: 120px; min-height: 0; border: 0; background: none; color: var(--ks-ink); font-family: inherit; font-size: 14px; outline: none; padding: 4px; }
.ks-tagchip { display: inline-flex; align-items: center; gap: 4px; height: 28px; padding: 0 6px 0 10px; border-radius: 9999px; background: var(--ks-surface-hover); color: var(--ks-ink); font-size: 13px; }
.ks-tagchip button { appearance: none; border: 0; background: none; color: var(--ks-ink-2); font-size: 15px; line-height: 1; cursor: pointer; padding: 0 2px; }
.ks-note-strong { font-size: 13px; line-height: 18px; color: var(--ks-ink-2); }
@view-transition { navigation: auto; }
@media (prefers-reduced-motion: reduce) { @view-transition { navigation: none; } }
::view-transition-group(ks-hero) { z-index: 5; animation-duration: 380ms; animation-timing-function: linear(0, 0.1348 4.2%, 0.2733 8.3%, 0.3974 12.5%, 0.5137 16.7%, 0.6134 20.8%, 0.6929 25.0%, 0.7615 29.2%, 0.8143 33.3%, 0.8585 37.5%, 0.8931 41.7%, 0.9187 45.8%, 0.9395 50.0%, 0.9554 54.2%, 0.9668 58.3%, 0.9758 62.5%, 0.9823 66.7%, 0.9873 70.8%, 0.9910 75.0%, 0.9935 79.2%, 0.9955 83.3%, 0.9969 87.5%, 0.9978 91.7%, 0.9985 95.8%, 1); }
::view-transition-old(ks-hero), ::view-transition-new(ks-hero) { animation: none; opacity: 1; height: 100%; object-fit: cover; }
::view-transition-group(ks-hero) { border-radius: 8px; overflow: clip; }
html.ks-vt-back::view-transition-group(ks-hero) { border-radius: 10px; }
html.ks-vt-open::view-transition-old(root) { animation: ksFeedRecede 320ms cubic-bezier(0.22, 1, 0.36, 1) both; }
html.ks-vt-open::view-transition-new(root) { animation: ksPageIn 260ms 80ms cubic-bezier(0.22, 1, 0.36, 1) both; }
@keyframes ksFeedRecede { to { opacity: 0; scale: 0.97; } }
@keyframes ksPageIn { from { opacity: 0; } }
html.ks-bloom .ks-bloom-b { animation: ksBloom 360ms linear(0, 0.1348 4.2%, 0.2733 8.3%, 0.3974 12.5%, 0.5137 16.7%, 0.6134 20.8%, 0.6929 25.0%, 0.7615 29.2%, 0.8143 33.3%, 0.8585 37.5%, 0.8931 41.7%, 0.9187 45.8%, 0.9395 50.0%, 0.9554 54.2%, 0.9668 58.3%, 0.9758 62.5%, 0.9823 66.7%, 0.9873 70.8%, 0.9910 75.0%, 0.9935 79.2%, 0.9955 83.3%, 0.9969 87.5%, 0.9978 91.7%, 0.9985 95.8%, 1) both; animation-delay: calc(60ms + var(--ks-bn, 0) * 110ms); }
@keyframes ksBloom { from { opacity: 0; translate: var(--ks-bx, 0) var(--ks-by, 0); scale: 0.92; filter: blur(6px); } }
html.ks-bloom .ks-post-back, html.ks-bloom .ks-post-dots { animation: ksPageIn 200ms 380ms ease-out both; }
html.ks-bloom .ks-post-back, html.ks-bloom .ks-post-dots { animation-delay: calc(380ms - var(--ks-bt, 0ms)); }
html.ks-vt-back::view-transition-group(ks-hero) { animation-duration: 320ms; animation-timing-function: linear(0, 0.1655 4.2%, 0.3255 8.3%, 0.4617 12.5%, 0.5856 16.7%, 0.6879 20.8%, 0.7657 25.0%, 0.8306 29.2%, 0.8778 33.3%, 0.9155 37.5%, 0.9431 41.7%, 0.9621 45.8%, 0.9763 50.0%, 0.9860 54.2%, 0.9922 58.3%, 0.9965 62.5%, 0.9990 66.7%, 1.0006 70.8%, 1.0014 75.0%, 1.0017 79.2%, 1.0018 83.3%, 1.0016 87.5%, 1.0014 91.7%, 1.0012 95.8%, 1); }
html.ks-vt-back::view-transition-old(root) { animation: ksPageOut 110ms linear both; }
html.ks-vt-back::view-transition-new(root) { animation: ksFeedReturn 240ms cubic-bezier(0.22, 1, 0.36, 1) both; }
@keyframes ksPageOut { to { opacity: 0; } }
@keyframes ksFeedReturn { from { opacity: 0; scale: 0.985; } }
@keyframes ksScrimIn { from { opacity: 0; } }
.ks-foot-wait .ks-mcard-foot, .ks-foot-wait .ks-tile-foot { opacity: 0; transition: none; }
@keyframes ksWordIn { from { opacity: 0; filter: blur(6px); transform: translateY(4px); } }
.ks-foot-in .ks-mcard-foot::before, .ks-foot-in .ks-tile-foot { animation: ksScrimIn 320ms cubic-bezier(0.22, 1, 0.36, 1) both; }
.ks-foot-in .ks-mcard-foot .ks-av32 { animation: ksWordIn 420ms 60ms cubic-bezier(0.22, 1, 0.36, 1) both; }
.ks-foot-in .ks-mcard-title { animation: ksWordIn 420ms 120ms cubic-bezier(0.22, 1, 0.36, 1) both; }
.ks-foot-in .ks-mcard-by { animation: ksWordIn 420ms 180ms cubic-bezier(0.22, 1, 0.36, 1) both; }
.ks-foot-in .ks-likes { animation: ksWordIn 420ms 240ms cubic-bezier(0.22, 1, 0.36, 1) both; }
.ks-foot-in .ks-dots-btn, .ks-foot-in .ks-chips { animation: ksScrimIn 320ms 240ms cubic-bezier(0.22, 1, 0.36, 1) both; }
[data-ks-seat] .ks-mcard-foot::before, [data-ks-seat] .ks-tile-foot { animation: ksScrimIn 320ms 300ms cubic-bezier(0.22, 1, 0.36, 1) both; }
[data-ks-seat] .ks-mcard-foot .ks-av32 { animation: ksWordIn 420ms 360ms cubic-bezier(0.22, 1, 0.36, 1) both; }
[data-ks-seat] .ks-mcard-title { animation: ksWordIn 420ms 420ms cubic-bezier(0.22, 1, 0.36, 1) both; }
[data-ks-seat] .ks-mcard-by { animation: ksWordIn 420ms 480ms cubic-bezier(0.22, 1, 0.36, 1) both; }
[data-ks-seat] .ks-likes { animation: ksWordIn 420ms 540ms cubic-bezier(0.22, 1, 0.36, 1) both; }
[data-ks-seat] .ks-dots-btn, [data-ks-seat] .ks-chips { animation: ksScrimIn 320ms 540ms cubic-bezier(0.22, 1, 0.36, 1) both; }
@media (prefers-reduced-motion: reduce) {
.ks-foot-in .ks-mcard-foot::before, .ks-foot-in .ks-mcard-foot *, .ks-foot-in .ks-tile-foot, .ks-foot-in .ks-dots-btn, .ks-foot-in .ks-chips,
[data-ks-seat] .ks-mcard-foot::before, [data-ks-seat] .ks-mcard-foot *, [data-ks-seat] .ks-tile-foot, [data-ks-seat] .ks-dots-btn, [data-ks-seat] .ks-chips { animation: none; }
}
#ksPostImage.ks-dragging { transition: none; cursor: grabbing; }
#ksPostImage.ks-drag-return { transition: translate 380ms linear(0, 0.1655 4.2%, 0.3255 8.3%, 0.4617 12.5%, 0.5856 16.7%, 0.6879 20.8%, 0.7657 25.0%, 0.8306 29.2%, 0.8778 33.3%, 0.9155 37.5%, 0.9431 41.7%, 0.9621 45.8%, 0.9763 50.0%, 0.9860 54.2%, 0.9922 58.3%, 0.9965 62.5%, 0.9990 66.7%, 1.0006 70.8%, 1.0014 75.0%, 1.0017 79.2%, 1.0018 83.3%, 1.0016 87.5%, 1.0014 91.7%, 1.0012 95.8%, 1), scale 380ms linear(0, 0.1655 4.2%, 0.3255 8.3%, 0.4617 12.5%, 0.5856 16.7%, 0.6879 20.8%, 0.7657 25.0%, 0.8306 29.2%, 0.8778 33.3%, 0.9155 37.5%, 0.9431 41.7%, 0.9621 45.8%, 0.9763 50.0%, 0.9860 54.2%, 0.9922 58.3%, 0.9965 62.5%, 0.9990 66.7%, 1.0006 70.8%, 1.0014 75.0%, 1.0017 79.2%, 1.0018 83.3%, 1.0016 87.5%, 1.0014 91.7%, 1.0012 95.8%, 1); }
.ks-postcard.ks-drag-fade > :not(.ks-postleft), .ks-postcard.ks-drag-fade .ks-postleft > :not(.ks-post-media), .ks-postcard.ks-drag-fade .ks-post-back, .ks-postcard.ks-drag-fade .ks-post-dots { opacity: var(--ks-drag-fade, 1); }
html.ks-going .ks-recede { opacity: 0.45; transition: opacity 220ms cubic-bezier(0.22, 1, 0.36, 1); }
html.ks-letgo .ks-postcard > :not(.ks-postleft), html.ks-letgo .ks-postleft > :not(.ks-post-media), html.ks-letgo .ks-post-back, html.ks-letgo .ks-post-dots { opacity: 0; transition: none; }
@media (prefers-reduced-motion: reduce) { html.ks-going .ks-recede { transition: none; } }
.ks-follow[aria-pressed="true"] { background: var(--ks-surface); color: var(--ks-ink); box-shadow: inset 0 0 0 1px var(--ks-line); }
.ks-follow[data-busy="true"] { opacity: 0.7; }
.ks-follow[aria-pressed] { transition: transform var(--kg-press-out, 100ms cubic-bezier(0.4, 0, 0.6, 1)), background-color 220ms cubic-bezier(0.22, 1, 0.36, 1), color 220ms cubic-bezier(0.22, 1, 0.36, 1); }
.ks-follow[aria-pressed="true"][data-ask="true"] { background: rgba(255, 69, 58, 0.15); color: var(--ks-error); box-shadow: var(--ks-btn-rim); }
@media (prefers-reduced-motion: reduce) { .ks-follow[aria-pressed] { transition: none; } }
.ks-more-btn { width: 37px; height: 37px; min-width: 37px; border: 0; border-radius: 8px; background: var(--ks-surface); color: var(--ks-ink); display: inline-grid; place-items: center; cursor: pointer; padding: 0; }
.ks-more-btn svg { width: 18px; height: 18px; }
@media (max-width: 767px) { .ks-more-btn { width: 44px; height: 44px; min-width: 44px; } }
.ks-banner-note { margin: 24px 0 0; padding: 16px 20px; border-radius: 8px; background: var(--ks-surface); box-shadow: inset 0 0 0 1px var(--ks-error); color: var(--ks-ink); font-size: 15px; line-height: 21px; }
.ks-banner-note strong { display: block; font-size: 15px; font-weight: 650; margin-bottom: 4px; }
.ks-list { display: flex; flex-direction: column; gap: 4px; }
.ks-list[hidden] { display: none; }
.ks-list-row { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 8px 4px; border-radius: 8px; }
.ks-list-row:hover { background: var(--ks-surface); }
.ks-list-text { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ks-list-name { font-size: 16px; line-height: 20px; font-weight: 600; color: var(--ks-ink); text-decoration: none; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ks-list-name:hover { text-decoration: underline; }
.ks-list-handle { font-size: 14px; line-height: 20px; color: var(--ks-ink-2); }
.ks-list-bio { font-size: 14px; line-height: 20px; color: var(--ks-ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ks-list-act { display: flex; align-items: center; gap: 8px; }
@media (max-width: 767px) {
.ks-list-row { grid-template-columns: 40px minmax(0, 1fr); grid-template-areas: 'av text' 'act act'; }
.ks-list-row .ks-av40 { grid-area: av; }
.ks-list-text { grid-area: text; }
.ks-list-act { grid-area: act; justify-content: flex-end; }
}
.ks-listhead { display: flex; flex-direction: column; gap: 8px; padding-bottom: 8px; }
.ks-listhead h1 { font-size: 24px; line-height: 32px; font-weight: 600; color: var(--ks-ink); margin: 0; }
.ks-listhead a { font-size: 14px; line-height: 20px; color: var(--ks-ink-2); text-decoration: none; }
.ks-listhead a:hover { color: var(--ks-ink); }
.ks-note-row { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto auto; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 8px; background: none; text-decoration: none; color: var(--ks-ink); }
.ks-note-row[data-unread="true"] { background: var(--ks-surface); }
.ks-note-row:hover { background: var(--ks-surface-hover); }
.ks-note-body { min-width: 0; font-size: 14px; line-height: 20px; color: var(--ks-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ks-note-body b { font-weight: 600; }
.ks-note-when { font-size: 13px; line-height: 18px; color: var(--ks-ink-3); white-space: nowrap; }
.ks-note-thumb { width: 48px; height: 48px; border-radius: 8px; overflow: hidden; background: var(--ks-surface-raised); flex: none; }
.ks-note-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ks-notehead { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding-bottom: 16px; }
html.kg-sheet .ks-notehead { padding-bottom: 0; }
.ks-noterow { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; }
.ks-noterow .ks-btn { margin-left: auto; }
.ks-notehead h1 { font-size: 24px; line-height: 32px; font-weight: 600; color: var(--ks-ink); margin: 0; }
.ks-notehead .ks-btn { margin-left: auto; }
.ks-notegroups { display: inline-flex; flex-wrap: wrap; gap: 1px; }
.ks-notegroup { height: 39px; padding: 8px 16px; border: 0; border-radius: 9999px; background: none; color: var(--ks-ink-2); font-family: inherit; font-size: 13px; line-height: 22.75px; font-weight: 500; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; }
.ks-notegroup[aria-pressed="true"] { background: var(--ks-surface-hover); color: var(--ks-ink); }
.ks-note-text { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ks-note-from { font-size: 12px; line-height: 16px; font-weight: 600; letter-spacing: 0.01em; color: var(--ks-ink-3); }
.ks-note-row[data-tier="2"] .ks-note-body { white-space: normal; overflow: visible; text-overflow: clip; }
.ks-note-faces { width: 40px; height: 40px; flex: none; position: relative; display: block; }
.ks-note-faces .ks-av32 { position: absolute; top: 4px; width: 28px; height: 28px; box-shadow: 0 0 0 2px var(--ks-bg); }
.ks-note-faces .ks-av32:nth-child(1) { left: 12px; z-index: 3; }
.ks-note-faces .ks-av32:nth-child(2) { left: 6px; z-index: 2; }
.ks-note-faces .ks-av32:nth-child(3) { left: 0; z-index: 1; }
.ks-note-loading { display: flex; align-items: center; gap: 12px; padding: 24px 12px; font-size: 14px; line-height: 20px; color: var(--ks-ink-2); }
.ks-note-loading[hidden] { display: none; }
.ks-note-prefs { display: flex; flex-direction: column; gap: 20px; padding: 32px 0 0; }
.ks-note-prefs .ks-field-note { margin: 0; }
.ks-push { padding: 32px 0 0; }
.ks-push-label { margin: 0 0 8px; padding: 0 16px; font-size: 13px; line-height: 18px; font-weight: 500; color: var(--ks-ink-2); }
.ks-push-group { display: flex; flex-direction: column; gap: 20px; padding: 16px; border-radius: 12px; background: var(--ks-surface); }
.ks-push-group .ks-switch-row[hidden], .ks-push-group .ks-push-test[hidden], .ks-push-group .cm-toggle[hidden], .ks-push-group p[hidden] { display: none; }
.ks-push-test { align-self: flex-start; }
.ks-ann { margin: 0 0 8px; border-radius: 12px; background: var(--ks-surface); }
.ks-ann-summary { display: flex; align-items: center; gap: 8px; padding: 14px 16px; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ks-ink); cursor: pointer; list-style: none; border-radius: 12px; }
.ks-ann-summary::-webkit-details-marker { display: none; }
.ks-ann-summary svg { width: 18px; height: 18px; color: var(--ks-ink-3); }
.ks-ann-summary:focus-visible { outline: 1px solid rgba(237, 237, 237, 0.6); outline-offset: -2px; }
.ks-ann-form { display: flex; flex-direction: column; gap: 16px; padding: 4px 16px 16px; }
.ks-ann-acts { display: flex; align-items: center; gap: 8px; }
.ks-ann-acts .ks-btn { min-width: 0; }
.ks-ann-list { display: flex; flex-direction: column; gap: 4px; padding: 0 16px 16px; }
.ks-ann-list:empty { display: none; }
.ks-ann-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 12px; padding: 10px 0; }
.ks-ann-row + .ks-ann-row { box-shadow: none; }
.ks-ann-title { min-width: 0; font-size: 14px; line-height: 20px; color: var(--ks-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ks-ann-receipts { font-size: 13px; line-height: 18px; color: var(--ks-ink-3); white-space: nowrap; font-variant-numeric: tabular-nums; }
.ks-ann-rowacts { display: flex; align-items: center; gap: 4px; }
.ks-report-box { max-width: 420px; text-align: left; }
.ks-report-list { display: flex; flex-direction: column; gap: 2px; margin: 12px 0 0; max-height: 46vh; overflow-y: auto; }
.ks-report-reason { display: grid; grid-template-columns: 20px minmax(0, 1fr); align-items: start; gap: 10px; min-height: 44px; flex: none; padding: 10px 8px; border-radius: 8px; cursor: pointer; }
.ks-report-reason:hover { background: var(--ks-surface); }
.ks-report-reason input { width: 18px; height: 18px; margin-top: 2px; accent-color: var(--ks-ink); }
.ks-report-reason span { font-size: 14px; line-height: 19px; color: var(--ks-ink); }
.ks-report-reason small { display: block; font-size: 13px; line-height: 18px; color: var(--ks-ink-2); margin-top: 2px; }
.ks-report-detail { width: 100%; min-height: 72px; margin-top: 12px; border-radius: 8px; border: 1px solid var(--ks-line); background: var(--ks-surface); color: var(--ks-ink); font-family: inherit; font-size: 14px; line-height: 20px; padding: 10px 12px; resize: vertical; }
.ks-report-detail:focus { outline: none; border-color: var(--ks-ink); }
.ks-report-quiet { font-size: 13px; line-height: 18px; color: var(--ks-ink-3); margin: 10px 0 0; }
.ks-report-err { font-size: 13px; line-height: 18px; color: var(--ks-error); margin: 10px 0 0; min-height: 18px; }
@media (max-width: 719px) {
.ks-report-overlay { align-items: flex-end; padding: 0; }
.ks-report-box { max-width: none; width: 100%; border-radius: 18px 18px 0 0; padding-bottom: var(--kg-dock-inset, 0px); }
.ks-report-list { max-height: 50vh; }
}
.ks-report-overlay[data-ks-chassis="pane"] { display: block; padding: 0; }
.ks-report-overlay[data-ks-chassis="pane"] .cupertino-pane-wrapper { z-index: 1; }
.ks-chassis .pane { background: transparent; box-shadow: none; border-radius: 0; padding: 0; overflow: visible; width: 100%; max-width: 540px; margin: 0 auto; left: 0; right: 0; }
.ks-chassis .pane .ks-report-box { transform: none; transition: none; max-height: none; height: 100%; }
.ks-chassis .draggable { display: none; }
.ks-chassis .pane, .ks-chassis .pane > .ks-report-box { border-radius: 18px 18px 0 0; }
.ks-chassis .pane > .ks-report-box { overflow: hidden; }
.ks-report-overlay[data-ks-chassis="pane"] .ks-report-head { touch-action: none; cursor: grab; }
.ks-report-overlay[data-ks-chassis="pane"] .ks-report-head:active { cursor: grabbing; }
.ks-report-overlay[data-ks-chassis="pane"] .ks-report-list { touch-action: auto; }
.ks-reported { position: absolute; inset: 0; z-index: 12; border-radius: 8px; background: var(--ks-raised); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; padding: 16px; text-align: center; color: var(--ks-ink-3); }
.ks-reported strong { font-size: 15px; font-weight: 600; }
.ks-reported span { font-size: 13px; line-height: 18px; }
.ks-admin { display: grid; grid-template-columns: minmax(320px, 420px) minmax(0, 1fr); gap: 24px; align-items: start; }
@media (max-width: 1023px) { .ks-admin { grid-template-columns: minmax(0, 1fr); } }
.ks-admin-head { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; padding-bottom: 16px; }
.ks-admin-head h1 { font-size: 24px; line-height: 32px; font-weight: 600; color: var(--ks-ink); margin: 0; }
.ks-admin-fresh { font-size: 13px; line-height: 18px; color: var(--ks-ink-3); margin-left: auto; }
.ks-admin-tools { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; padding-bottom: 12px; }
.ks-admin-tools input[type="search"] { flex: 1 1 200px; min-width: 160px; height: 40px; border-radius: 8px; border: 1px solid var(--ks-line); background: var(--ks-surface); color: var(--ks-ink); font-family: inherit; font-size: 14px; padding: 0 12px; }
.ks-admin-tools input[type="search"]:focus { outline: none; border-color: var(--ks-ink); }
.ks-admin-list { display: flex; flex-direction: column; gap: 4px; max-height: 70vh; overflow-y: auto; }
.ks-admin-item { display: grid; grid-template-columns: 8px minmax(0, 1fr) auto; align-items: center; gap: 10px; width: 100%; flex: none; padding: 10px 12px; border: 0; border-radius: 8px; background: none; color: var(--ks-ink); font-family: inherit; text-align: left; cursor: pointer; }
.ks-admin-item[aria-current="true"] { background: var(--ks-surface-hover); }
.ks-admin-item[data-pending="true"] { opacity: 0.55; }
.ks-admin-dot { width: 8px; height: 8px; border-radius: 9999px; background: var(--ks-ink-4); }
.ks-admin-item[data-priority="true"] .ks-admin-dot { background: var(--ks-error); }
.ks-admin-item-main { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ks-admin-item-title { font-size: 14px; line-height: 19px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ks-admin-item-sub { font-size: 13px; line-height: 18px; color: var(--ks-ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ks-admin-item-when { font-size: 12px; line-height: 16px; color: var(--ks-ink-3); white-space: nowrap; }
.ks-admin-detail { display: flex; flex-direction: column; gap: 20px; }
.ks-admin-section h2 { font-size: 15px; line-height: 20px; font-weight: 650; color: var(--ks-ink); margin: 0 0 8px; }
.ks-admin-facts { display: grid; grid-template-columns: minmax(120px, auto) minmax(0, 1fr); gap: 6px 16px; margin: 0; }
.ks-admin-facts dt { font-size: 13px; line-height: 18px; color: var(--ks-ink-3); }
.ks-admin-facts dd { font-size: 14px; line-height: 19px; color: var(--ks-ink); margin: 0; overflow-wrap: anywhere; }
.ks-admin-acts { display: flex; flex-wrap: wrap; gap: 8px; }
.ks-admin-acts .ks-btn { min-width: 0; }
.ks-admin-acts .ks-btn[data-armed="true"] { font-weight: 700; }
.ks-admin-thumb { width: 160px; border-radius: 8px; overflow: hidden; background: var(--ks-surface-raised); }
.ks-admin-thumb img { width: 100%; display: block; }
.ks-pillgroup { display: inline-flex; flex-wrap: wrap; gap: 1px; }
.ks-pillitem { appearance: none; border: 0; height: 39px; padding: 8px 16px; border-radius: 999px; background: none; color: var(--ks-ink-2); font-family: inherit; font-size: 13px; line-height: 22.75px; font-weight: 500; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; }
.ks-pillitem[aria-pressed="true"] { background: var(--ks-surface-hover); color: var(--ks-ink); }
@media (max-width: 767px) { .ks-pillitem { min-height: 44px; } }
.ks-comments h3 { font-size: 15px; line-height: 20px; font-weight: 650; color: var(--ks-ink); margin: 0; }
.ks-cmt-head-row { display: flex; align-items: center; flex-wrap: wrap; gap: 12px; margin: 0 0 12px; }
.ks-cmt-head-row h2 { margin: 0; }
.ks-cmt-sort { margin-left: auto; }
.ks-cmt-closed { font-size: 14px; line-height: 20px; color: var(--ks-ink-3); padding: 12px 0 20px; margin: 0; }
.ks-cmt-composer { display: grid; grid-template-columns: 40px minmax(0, 1fr) 40px; align-items: end; gap: 8px; padding: 0 0 24px; }
.ks-cmt-capsule { position: relative; min-width: 0; border-radius: 22px; background: var(--ks-surface); box-shadow: inset -1px 1px 0 0 rgba(255, 255, 255, 0.10), inset 1px -1px 0 0 rgba(255, 255, 255, 0.10); }
.ks-cmt-capsule:focus-within { box-shadow: inset -1px 1px 0 0 rgba(255, 255, 255, 0.10), inset 1px -1px 0 0 rgba(255, 255, 255, 0.10), inset 0 0 0 1px var(--ks-ink-3); }
.ks-cmt-field { display: block; width: 100%; min-height: 40px; max-height: 160px; border-radius: 22px; border: 0; background: transparent; color: var(--ks-ink); font-family: inherit; font-size: 14px; line-height: 20px; padding: 10px 48px 10px 16px; resize: none; overflow-y: hidden; }
.ks-cmt-field:focus { outline: none; }
.ks-cmt-field::placeholder { color: var(--ks-ink-3); }
.ks-cmt-iconbtn { width: 40px; height: 40px; flex: none; border: 0; border-radius: 8px; background: none; color: var(--ks-ink-2); display: inline-grid; place-items: center; cursor: pointer; padding: 0; }
.ks-cmt-iconbtn svg { width: 20px; height: 20px; }
.ks-cmt-iconbtn[disabled] { color: var(--ks-ink-4); cursor: default; }
.ks-cmt-capsule .ks-cmt-iconbtn { position: absolute; right: 4px; bottom: 4px; width: 32px; height: 32px; border-radius: 50%; background: rgba(237, 237, 237, 0.07); color: var(--ks-ink); box-shadow: inset -1px 1px 0 0 rgba(255, 255, 255, 0.10), inset 1px -1px 0 0 rgba(255, 255, 255, 0.10); }
.ks-cmt-capsule .ks-cmt-iconbtn[disabled] { opacity: 0; transform: scale(0); }
.ks-cmt-signin { display: flex; align-items: center; justify-content: center; width: 100%; height: 40px; border-radius: 8px; border: 1px solid var(--ks-line); background: var(--ks-surface); color: var(--ks-ink); font-family: inherit; font-size: 14px; line-height: 20px; cursor: pointer; text-decoration: none; }
.ks-cmt-err { font-size: 13px; line-height: 18px; color: var(--ks-error); margin: 0 0 12px; }
.ks-cmt-list { display: flex; flex-direction: column; gap: 24px; }
.ks-cmt { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 0 12px; }
.ks-cmt[data-pending="true"] { opacity: 0.6; }
.ks-cmt-main { min-width: 0; }
.ks-cmt-head { display: flex; align-items: baseline; flex-wrap: wrap; gap: 8px; min-height: 20px; }
.ks-cmt-name { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ks-ink); text-decoration: none; }
.ks-cmt-name:hover { text-decoration: underline; }
.ks-cmt-when { font-size: 14px; line-height: 20px; color: var(--ks-ink-3); }
.ks-cmt-body { font-size: 14px; line-height: 20px; color: var(--ks-ink); margin-top: 2px; white-space: pre-wrap; overflow-wrap: anywhere; }
.ks-cmt-body a { color: var(--ks-ink); text-decoration: underline; text-underline-offset: 2px; }
.ks-cmt[data-removed="true"] .ks-cmt-body { color: var(--ks-ink-3); }
.ks-cmt-acts { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; margin-top: 6px; min-height: 28px; }
.ks-cmt-btn { appearance: none; height: 28px; border: 0; border-radius: 8px; background: none; color: var(--ks-ink-2); font-family: inherit; font-size: 13px; line-height: 18px; display: inline-flex; align-items: center; justify-content: center; gap: 4px; cursor: pointer; padding: 0 6px; }
.ks-cmt-btn svg { width: 16px; height: 16px; }
.ks-cmt-btn[data-w="36"] { width: 36px; padding: 0; }
.ks-cmt-btn[data-w="54"] { width: 54px; padding: 0; }
@media (max-width: 767px) { .ks-cmt-btn { min-height: 44px; height: 44px; } }
.ks-react-chip { appearance: none; height: 28px; padding: 0 8px; border: 0; border-radius: 9999px; background: var(--ks-surface); color: var(--ks-ink); font-family: inherit; font-size: 13px; line-height: 18px; display: inline-flex; align-items: center; gap: 4px; cursor: pointer; }
.ks-react-chip[aria-pressed="true"] { background: var(--ks-surface-raised); box-shadow: inset 0 0 0 1px var(--ks-line); }
@media (max-width: 767px) { .ks-react-chip { min-height: 44px; } }
.ks-cmt-replies { display: flex; flex-direction: column; gap: 24px; margin-top: 24px; }
.ks-cmt-more { align-self: flex-start; }
.ks-emoji { position: fixed; z-index: 61; padding: 6px; border-radius: 8px; background: var(--ks-raised); box-shadow: 0 0 0 1px var(--ks-line), 0 12px 28px rgba(0, 0, 0, 0.45); display: none; grid-template-columns: repeat(4, 40px); gap: 2px; }
.ks-emoji[data-open="true"] { display: grid; }
.ks-emoji button { width: 40px; height: 40px; border: 0; border-radius: 8px; background: none; font-size: 19px; line-height: 1; cursor: pointer; }
.ks-emoji button:focus-visible { outline: 1px solid rgba(237, 237, 237, 0.6); outline-offset: -2px; }
@media (max-width: 767px) { .ks-emoji { grid-template-columns: repeat(4, 44px); } .ks-emoji button { width: 44px; height: 44px; } }
.ks-pinned { padding-bottom: 32px; }
.ks-pinned-head { display: flex; align-items: center; gap: 8px; height: 24px; margin-bottom: 16px; }
.ks-pinned-head h2 { font-size: 16px; line-height: 24px; font-weight: 600; color: var(--ks-ink); margin: 0; }
.ks-pinned-head a { margin-left: auto; display: inline-flex; align-items: center; gap: 4px; font-size: 14px; line-height: 20px; color: var(--ks-ink-2); text-decoration: none; }
.ks-pinned-head a:hover { color: var(--ks-ink); }
.ks-pinned-head a svg { width: 16px; height: 16px; flex: none; }
.ks-pinned-scroll { position: relative; }
.ks-pinned-track { display: flex; gap: 16px; height: 233px; overflow-x: auto; scroll-behavior: smooth; scrollbar-width: none; }
.ks-pinned-track::-webkit-scrollbar { display: none; }
@media (prefers-reduced-motion: reduce) { .ks-pinned-track { scroll-behavior: auto; } }
.ks-pinned-card { position: relative; flex: none; width: 256px; background: var(--ks-tertiary); border-radius: 8px; overflow: hidden; text-decoration: none; color: inherit; display: block; }
.ks-pinned-img { position: relative; height: 177px; background: var(--ks-hover); overflow: hidden; }
.ks-pinned-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ks-pinned-chip { position: absolute; top: 8px; left: 8px; height: 24px; padding: 0 8px; border-radius: 6px; background: rgba(0, 0, 0, 0.62); color: #ededed; font-size: 12px; line-height: 24px; }
.ks-pinned-foot { height: 56px; padding: 8px 10px; display: flex; flex-direction: column; justify-content: center; gap: 2px; }
.ks-pinned-title { font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ks-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ks-pinned-count { display: flex; align-items: center; gap: 4px; font-size: 12px; line-height: 16px; color: var(--ks-ink-3); }
.ks-pinned-count svg { width: 12px; height: 12px; }
.ks-pinned-dots { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; border: 0; border-radius: 8px; display: grid; place-items: center; cursor: pointer; padding: 0; }
.ks-pinned-dots svg { width: 16px; height: 16px; }
@media (max-width: 767px) { .ks-pinned-dots { width: 44px; height: 44px; background: none; } .ks-pinned-dots svg { width: 18px; height: 18px; } }
.ks-pinned-edge { position: absolute; top: 0; width: 128px; height: 233px; border: 0; padding: 0; display: grid; place-items: center; cursor: pointer; color: var(--ks-ink); background: none; }
.ks-pinned-edge[hidden] { display: none; }
.ks-pinned-edge-l { left: 0; padding-left: 8px; justify-items: start; background: linear-gradient(to right, var(--ks-raised), rgba(20, 20, 20, 0)); }
.ks-pinned-edge-r { right: 0; padding-right: 8px; justify-items: end; background: linear-gradient(to left, var(--ks-raised), rgba(20, 20, 20, 0)); }
.ks-pinned-edge span { width: 32px; height: 32px; border-radius: 9999px; background: var(--ks-raised); box-shadow: 0 0 0 1px var(--ks-line); display: grid; place-items: center; }
.ks-pinned-edge svg { width: 18px; height: 18px; }
@media (max-width: 767px) { .ks-pinned-edge { display: none; } .ks-pinned-track { gap: 12px; } }
.ks-colltile { display: block; background: var(--ks-tertiary); border-radius: 6px; overflow: hidden; text-decoration: none; color: inherit; }
.ks-colltile-img { position: relative; width: 100%; aspect-ratio: 1 / 1; background: var(--ks-hover); overflow: hidden; border-radius: 6px 6px 0 0; display: grid; place-items: center; color: var(--ks-ink-4); }
.ks-colltile-img img { width: 100%; height: 100%; object-fit: cover; }
.ks-colltile-img svg { width: 40px; height: 40px; }
.ks-colltile-foot { height: 56px; padding: 0 10px; display: flex; flex-direction: column; justify-content: center; gap: 2px; }
.ks-collhead { display: flex; align-items: flex-start; flex-wrap: wrap; gap: 12px; padding-bottom: 16px; }
.ks-collhead h1 { font-size: 24px; line-height: 32px; font-weight: 600; color: var(--ks-ink); margin: 0; }
.ks-collhead p { font-size: 14px; line-height: 20px; color: var(--ks-ink-2); margin: 4px 0 0; max-width: 65ch; }
.ks-collhead-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 8px; margin-top: 6px; font-size: 14px; line-height: 20px; color: var(--ks-ink-3); }
.ks-collhead-acts { margin-left: auto; display: flex; align-items: center; gap: 8px; }
.ks-coll-box { max-width: 420px; text-align: left; }
.ks-coll-list { display: flex; flex-direction: column; gap: 2px; margin: 12px 0 0; max-height: 46vh; overflow-y: auto; }
.ks-coll-row { display: grid; grid-template-columns: 20px 40px minmax(0, 1fr); align-items: center; gap: 10px; min-height: 44px; flex: none; padding: 8px; border: 0; border-radius: 8px; background: none; color: var(--ks-ink); font-family: inherit; text-align: left; cursor: pointer; }
.ks-coll-row input { width: 18px; height: 18px; accent-color: var(--ks-ink); }
.ks-coll-thumb { width: 40px; height: 40px; border-radius: 6px; overflow: hidden; background: var(--ks-surface-raised); display: grid; place-items: center; color: var(--ks-ink-4); }
.ks-coll-thumb img { width: 100%; height: 100%; object-fit: cover; }
.ks-coll-thumb svg { width: 18px; height: 18px; }
.ks-coll-meta { min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.ks-coll-title { font-size: 14px; line-height: 19px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ks-coll-sub { font-size: 13px; line-height: 18px; color: var(--ks-ink-2); }
.ks-coll-new { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; margin-top: 12px; }
.ks-coll-new input { width: 100%; height: 40px; border-radius: 8px; border: 1px solid var(--ks-line); background: var(--ks-surface); color: var(--ks-ink); font-family: inherit; font-size: 14px; padding: 0 12px; }
.ks-coll-new input:focus { outline: none; border-color: var(--ks-ink); }
@media (max-width: 719px) {
.ks-coll-overlay { align-items: flex-end; padding: 0; }
.ks-coll-box { max-width: none; width: 100%; border-radius: 18px 18px 0 0; padding-bottom: var(--kg-dock-inset, 0px); }
.ks-coll-list { max-height: 44vh; }
}
.ks-coll-overlay[data-ks-chassis="pane"] { display: block; padding: 0; }
.ks-coll-overlay[data-ks-chassis="pane"] .cupertino-pane-wrapper { z-index: 1; }
.ks-chassis .pane .ks-coll-box { transform: none; transition: none; max-height: none; height: 100%; }
.ks-chassis .pane > .ks-coll-box { border-radius: 18px 18px 0 0; overflow: hidden; }
.ks-coll-overlay[data-ks-chassis="pane"] .ks-coll-head { touch-action: none; cursor: grab; }
.ks-coll-overlay[data-ks-chassis="pane"] .ks-coll-list { touch-action: auto; }
.ks-search { max-width: 1200px; margin: 0 auto; padding: 36px 12px 0; }
.ks-sx-form { max-width: 680px; margin: 0 auto 14px; }
.ks-search-field { position: relative; }
.ks-search-input { width: 100%; height: 52px; border-radius: 999px; border: 0; background: var(--ks-surface); box-shadow: var(--ks-btn-rim); color: var(--ks-ink); font-family: inherit; font-size: 16px; line-height: 22px; padding: 0 96px 0 50px; transition: background-color 0.2s var(--ks-settling); }
.ks-search-input:focus, .ks-search-input:focus-visible { outline: none; background: var(--ks-surface-raised); }
.ks-search-input::placeholder { color: var(--ks-ink-3); }
.ks-search-glyph { position: absolute; left: 18px; top: 16px; width: 20px; height: 20px; color: var(--ks-ink-3); pointer-events: none; }
.ks-search-glyph svg { width: 20px; height: 20px; }
.ks-search-clear { position: absolute; right: 10px; top: 10px; width: 32px; height: 32px; border: 0; border-radius: 9999px; background: var(--ks-surface); color: var(--ks-ink-2); display: grid; place-items: center; cursor: pointer; padding: 0; }
.ks-search-clear svg { width: 16px; height: 16px; }
.ks-search-clear[hidden] { display: none; }
.ks-search-input::-webkit-search-cancel-button,
.ks-search-input::-webkit-search-decoration { -webkit-appearance: none; appearance: none; display: none; }
.ks-sx-key { position: absolute; right: 18px; top: 50%; transform: translateY(-50%); font-family: inherit; font-size: 12px; line-height: 1; font-weight: 500; color: var(--ks-ink-3); padding: 5px 8px; border-radius: 6px; box-shadow: inset 0 0 0 1px var(--ks-line); pointer-events: none; }
.ks-sx-key[hidden] { display: none; }
@media (pointer: coarse) { .ks-sx-key { display: none; } }
.ks-modes.ks-sx-scopes { display: flex; width: fit-content; max-width: 100%; margin: 0 auto 32px; flex-wrap: nowrap; }
.ks-sx-scope { min-width: 0; height: 36px; padding: 0 16px; font-size: 14px; text-decoration: none; }
.ks-sx-scope.active { background: var(--ks-surface-hover); color: var(--ks-ink); }
[data-kg-seg="true"] > .ks-sx-scope.active { background: transparent; }
.ks-search-body { padding-top: 0; }
.ks-search-body .ks-masonry[hidden] { display: none; }
.ks-search[aria-busy="true"] #ksSearchTop, .ks-search[aria-busy="true"] .ks-masonry { opacity: 0.6; transition: opacity 0.2s 0.15s; }
.ks-sx-sec { margin: 0 0 32px; }
.ks-sx-imgsec { margin-bottom: 14px; }
.ks-sx-head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; }
.ks-sx-head h2 { margin: 0; font-size: 17px; line-height: 22px; font-weight: 650; letter-spacing: -0.01em; color: var(--ks-ink); }
.ks-sx-more { display: inline-flex; align-items: center; gap: 2px; border: 0; background: none; padding: 0; font-family: inherit; font-size: 14px; line-height: 20px; color: var(--ks-ink-2); text-decoration: none; cursor: pointer; }
.ks-sx-more svg { width: 14px; height: 14px; }
.ks-sx-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.ks-sx-chip { display: inline-flex; align-items: center; gap: 6px; height: 36px; padding: 0 14px; border-radius: 999px; background: var(--ks-surface); box-shadow: var(--ks-btn-rim); font-size: 14px; line-height: 20px; color: var(--ks-ink); text-decoration: none; white-space: nowrap; }
.ks-sx-chip svg { width: 14px; height: 14px; flex: none; color: var(--ks-ink-3); }
.ks-sx-chip-on { background: var(--ks-surface-raised); }
.ks-sx-chip-on b { font-weight: 650; }
.ks-sx-hash { color: var(--ks-ink-3); margin-right: -4px; }
.ks-sx-recent { display: inline-flex; align-items: center; }
.ks-sx-recent .ks-sx-chip { padding-right: 34px; }
.ks-sx-chip-x { width: 28px; height: 28px; flex: none; border: 0; border-radius: 9999px; background: none; color: var(--ks-ink-3); display: grid; place-items: center; cursor: pointer; padding: 0; }
.ks-sx-recent .ks-sx-chip-x { margin-left: -32px; }
.ks-sx-chip-x svg { width: 14px; height: 14px; }
.ks-sx-filter { display: flex; justify-content: center; align-items: center; gap: 2px; margin: -12px 0 24px; }
.ks-sx-people { display: grid; grid-auto-flow: column; grid-auto-columns: 148px; gap: 12px; overflow-x: auto; scrollbar-width: none; overscroll-behavior-x: contain; scroll-snap-type: x proximity; }
.ks-sx-people::-webkit-scrollbar { display: none; }
.ks-sx-person { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 2px; min-width: 0; padding: 18px 10px 14px; border-radius: 16px; background: var(--ks-surface); color: var(--ks-ink); text-decoration: none; scroll-snap-align: start; }
.ks-sx-person .ks-av40 { width: 64px; height: 64px; margin-bottom: 8px; }
.ks-sx-person .ks-av40 > span { font-size: 22px; }
.ks-sx-pname, .ks-sx-phandle { max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ks-sx-pname { font-size: 14px; line-height: 20px; font-weight: 600; }
.ks-sx-phandle { font-size: 13px; line-height: 18px; color: var(--ks-ink-2); }
.ks-sx-pmeta { font-size: 12px; line-height: 16px; color: var(--ks-ink-3); margin-top: 4px; }
.ks-sx-models { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.ks-sx-model { display: flex; flex-direction: column; gap: 2px; min-width: 0; color: var(--ks-ink); text-decoration: none; }
.ks-sx-mpics { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: 1fr 1fr; gap: 3px; aspect-ratio: 16 / 10; border-radius: 12px; overflow: hidden; background: var(--ks-surface); margin-bottom: 8px; }
.ks-sx-mpic { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 0; }
.ks-sx-mpic0 { grid-row: 1 / 3; }
.ks-sx-mpics1 .ks-sx-mpic0 { grid-column: 1 / 3; }
.ks-sx-mpics2 .ks-sx-mpic1 { grid-row: 1 / 3; }
.ks-sx-mname { font-size: 14px; line-height: 20px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ks-sx-mmeta { font-size: 13px; line-height: 18px; color: var(--ks-ink-2); }
.ks-sx-none { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 8px; padding: 56px 16px; }
.ks-sx-none h3 { margin: 0; font-size: 17px; line-height: 22px; font-weight: 600; color: var(--ks-ink); }
.ks-sx-none h3 b { font-weight: 700; }
.ks-sx-none p { margin: 0; max-width: 46ch; font-size: 15px; line-height: 21px; color: var(--ks-ink-2); }
.ks-sx-none .ks-btn { margin-top: 8px; gap: 8px; padding: 0 18px; height: 40px; }
.ks-sx-none .ks-btn svg { width: 16px; height: 16px; }
.ks-sx-ways { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 12px; }
.ks-sx-way { display: flex; gap: 12px; align-items: flex-start; padding: 14px 16px; border-radius: 14px; background: var(--ks-surface); font-size: 13px; line-height: 18px; color: var(--ks-ink-2); }
.ks-sx-way svg { width: 20px; height: 20px; flex: none; color: var(--ks-ink-2); margin-top: 1px; }
.ks-sx-way b { display: block; margin-bottom: 2px; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ks-ink); }
.ks-sx-mine { min-height: 160px; }
.ks-sx-mine > .ks-busy { display: block; margin: 64px auto; }
.ks-sx-saved { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 20px 16px; align-items: start; }
.ks-sx-pic { display: flex; flex-direction: column; gap: 6px; min-width: 0; color: var(--ks-ink); text-decoration: none; }
.ks-sx-pic-img { display: block; max-height: 340px; border-radius: 10px; overflow: hidden; background: var(--ks-surface); }
.ks-sx-pic-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ks-sx-pic-text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 13px; line-height: 18px; color: var(--ks-ink-2); }
.ks-sx-pic-meta { font-size: 12px; line-height: 16px; color: var(--ks-ink-3); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ks-sx-chats { display: flex; flex-direction: column; gap: 8px; }
.ks-sx-chat { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border-radius: 14px; background: var(--ks-surface); color: var(--ks-ink); text-decoration: none; }
.ks-sx-chat-ico { width: 32px; height: 32px; flex: none; border-radius: 9999px; background: var(--ks-surface-hover); display: grid; place-items: center; color: var(--ks-ink-2); }
.ks-sx-chat-ico svg { width: 16px; height: 16px; }
.ks-sx-chat-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; flex: 1; }
.ks-sx-chat-title { font-size: 14px; line-height: 20px; font-weight: 600; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ks-sx-chat-snip { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; font-size: 13px; line-height: 18px; color: var(--ks-ink-2); }
.ks-sx-chat-meta { font-size: 12px; line-height: 20px; color: var(--ks-ink-3); white-space: nowrap; }
.ks-search mark { background: none; color: var(--ks-ink); font-weight: 650; }
@media (max-width: 767px) {
.ks-search { padding: 16px 10px 0; }
.ks-search-input { height: 48px; padding-left: 46px; }
.ks-search-glyph { left: 16px; top: 14px; }
.ks-search-clear { top: 8px; right: 8px; }
.ks-modes.ks-sx-scopes { margin-bottom: 24px; }
.ks-modes.ks-sx-scopes { width: 100%; }
.kg-seg.ks-sx-scopes > .ks-sx-scope, .ks-sx-scopes > .ks-sx-scope { padding: 0 4px; font-size: 13px; }
.ks-sx-people { grid-auto-columns: 128px; }
.ks-sx-models { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ks-sx-saved { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 10px; }
}
.ksw-page { --ksw-fp: linear(0,0.0104,0.039,0.0826,0.1378,0.2018,0.2719,0.3457,0.4212,0.4966,0.5704,0.6413,0.7084,0.7709,0.8283,0.8802,0.9264,0.9669,1.0017,1.0311,1.0553,1.0746,1.0894,1.1001,1.1071,1.1108,1.1118,1.1103,1.1068,1.1018,1.0955,1.0882,1.0803,1.072,1.0635,1.0551,1.0469,1.039,1.0316,1.0247,1.0184,1.0127,1.0076,1.0031,0.9993,0.9961,0.9935,0.9914,0.9898,0.9887,0.988,0.9876,0.9875,0.9877,0.9881,0.9887,0.9894,0.9903,0.9912,0.9921,0.993,0.994,0.9949,0.9958,0.9966,0.9973,0.998,0.9987,0.9992,0.9997,1.0001,1.0005,1); min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; box-sizing: border-box; width: 100%; max-width: 448px; margin: 0 auto; padding: calc(16px + env(safe-area-inset-top, 0px)) 24px calc(16px + env(safe-area-inset-bottom, 0px)); }
.ksw-progress { display: flex; gap: 4px; padding: 0; margin: 0 0 32px; list-style: none; transition: opacity 200ms ease; }
.ksw-progress li { flex: 1 1 0; height: 3px; border-radius: 999px; background: var(--ks-surface-raised); overflow: hidden; }
.ksw-progress li > i { display: block; height: 100%; border-radius: inherit; background: var(--ks-ink); transform-origin: left center; transform: scaleX(0); transition: transform 700ms var(--ksw-fp); }
.ksw-progress li[data-on="true"] > i { transform: scaleX(1); }
.ksw-stage { position: relative; flex: 1 1 auto; display: grid; }
.ksw-step { grid-area: 1 / 1; min-width: 0; display: flex; flex-direction: column; gap: 24px; outline: none; }
.ksw-step[hidden] { display: none; }
.ksw-step[data-in="next"] { animation: kswInNext 560ms var(--ksw-fp) both; }
.ksw-step[data-in="back"] { animation: kswInBack 560ms var(--ksw-fp) both; }
.ksw-step[data-leaving] { animation: kswOut 140ms cubic-bezier(0.4, 0, 1, 1) both; pointer-events: none; }
@keyframes kswInNext { from { opacity: 0; transform: translate3d(24px, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes kswInBack { from { opacity: 0; transform: translate3d(-24px, 0, 0); } to { opacity: 1; transform: none; } }
@keyframes kswOut { from { opacity: 1; } to { opacity: 0; } }
.ksw-step h1 { margin: 0; font-size: 1.75rem; line-height: 1.15; font-weight: 750; letter-spacing: -0.025em; color: var(--ks-ink); text-wrap: balance; }
.ksw-step h1:focus { outline: none; }
.ksw-body { display: flex; flex-direction: column; gap: 16px; }
.ksw-foot { margin-top: auto; display: flex; flex-direction: column; align-items: stretch; gap: 8px; padding-top: 16px; }
.ksw-foot .ks-btn-primary { width: 100%; height: 48px; border-radius: 999px; font-size: 16px; line-height: 20px; }
.ksw-foot .ks-btn-text { align-self: center; height: 44px; padding: 0 16px; font-size: 15px; }
.ksw-note { margin: 0; text-align: center; font-size: 13px; line-height: 18px; color: var(--ks-ink-2); }
.ksw-note:empty { display: none; }
.ksw-note[data-state="bad"] { color: var(--ks-error); }
.ksw-busy { width: 24px; height: 24px; margin: 0 auto; display: none; }
.ksw-busy[data-on="true"] { display: block; }
.ksw-face { position: relative; align-self: center; width: 96px; height: 96px; padding: 0; border: 0; border-radius: 999px; background: none; cursor: pointer; transition: transform 0.36s var(--ks-spring); }
.ksw-face:active { transform: scale(0.94); transition-duration: 0.08s; }
.ksw-face:focus-visible { outline: 1px solid rgba(237, 237, 237, 0.6); outline-offset: 2px; }
.ksw-face .ks-pic { width: 96px; height: 96px; border-radius: 999px; }
.ksw-face-plus { position: absolute; right: 0; bottom: 0; width: 28px; height: 28px; border-radius: 999px; display: grid; place-items: center; background: var(--ks-tertiary); color: var(--ks-ink); box-shadow: 0 0 0 3px var(--ks-canvas), inset 0 0 0 1px var(--ks-line); }
.ksw-face-plus svg { width: 16px; height: 16px; }
#ksAvatarNote { text-align: center; }
#ksAvatarNote:empty { display: none; }
.ksw-page .ks-field input[type="text"] { min-height: 48px; font-size: 16px; padding: 12px 16px; border-radius: 12px; }
.ksw-page .ks-field input[type="text"]:focus { border-color: var(--ks-line); background: var(--ks-surface-raised); }
.ksw-at { position: relative; display: block; }
.ksw-at > span { position: absolute; left: 16px; top: 50%; transform: translateY(-50%); font-size: 16px; color: var(--ks-ink-3); pointer-events: none; }
.ksw-page .ksw-at input[type="text"] { padding-left: 34px; }
.ksw-page .ks-field-note:empty { display: none; }
.ksw-opts { display: flex; flex-direction: column; gap: 4px; padding: 8px; border-radius: 16px; background: var(--ks-surface); }
.ksw-opt { position: relative; display: flex; align-items: center; gap: 12px; width: 100%; min-height: 56px; box-sizing: border-box; padding: 8px 12px; border: 0; border-radius: 12px; background: transparent; color: var(--ks-ink); text-align: left; cursor: pointer; font: inherit; transition: background-color 0.2s ease, transform 0.25s var(--ksw-fp); }
.ksw-opt:active { background: var(--ks-surface-hover); transform: scale(0.985); }
.ksw-opt:focus-visible { outline: 1px solid rgba(237, 237, 237, 0.6); outline-offset: 2px; }
.ksw-opt[aria-pressed="true"] { background: var(--ks-surface-raised); }
.ksw-opt > svg { flex: 0 0 auto; width: 20px; height: 20px; color: var(--ks-ink-2); }
.ksw-opt-title { flex: 1 1 auto; min-width: 0; font-size: 1rem; font-weight: 600; line-height: 1.25; }
.ksw-opt-go { flex: 0 0 auto; display: inline-flex; color: var(--ks-ink-3); }
.ksw-opt-go svg { width: 16px; height: 16px; }
.ksw-opt .ks-busy { width: 20px; height: 20px; }
.ksw-opt .ks-busy[data-on="true"] + .ksw-opt-go { display: none; }
.ksw-opts[data-drop="true"] { background: var(--ks-surface-hover); box-shadow: inset 0 0 0 1px var(--ks-ink-3); }
.ksw-view[hidden] { display: none; }
.ksw-view { display: flex; flex-direction: column; gap: 16px; }
.ksw-page .ks-field[hidden] { display: none; }
.ksw-page .ks-fstrip { display: flex; width: 100%; padding: 0; margin: 0; }
.ksw-page .ks-fstrip .ks-toggle, .ksw-page .ks-fstrip.kg-seg .ks-toggle.kg-seg-item { height: 36px; min-height: 36px; flex: 1 1 0; padding: 0 10px; font-size: 14px; font-weight: 560; }
.ksw-claim { padding: 12px 16px; border-radius: 12px; background: var(--ks-surface); cursor: pointer; }
.ksw-claim strong { font-size: 15px; line-height: 20px; font-weight: 600; color: var(--ks-ink); }
.ksw-prog { display: flex; flex-direction: column; gap: 12px; padding: 16px; border-radius: 16px; background: var(--ks-surface); }
.ksw-prog-line { margin: 0; display: flex; align-items: baseline; gap: 8px; font-size: 15px; line-height: 1.4; min-width: 0; }
.ksw-prog-count { flex: 0 0 auto; font-weight: 650; font-variant-numeric: tabular-nums; }
.ksw-prog-names { flex: 1 1 auto; min-width: 0; color: var(--ks-ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ksw-bar { height: 4px; border-radius: 999px; background: rgba(237, 237, 237, 0.1); overflow: hidden; }
.ksw-bar > i { display: block; height: 100%; border-radius: inherit; background: rgba(237, 237, 237, 0.62); transform-origin: left center; transform: scaleX(0); transition: transform 640ms var(--ksw-fp); }
.ksw-prog[data-state="error"] .ksw-prog-names { color: var(--ks-error); }
.ksw-fails { list-style: none; margin: 0; padding: 12px 16px; border-radius: 16px; background: var(--ks-surface); max-height: 200px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; }
.ksw-fails[hidden] { display: none; }
.ksw-fails li { display: flex; flex-direction: column; gap: 4px; font-size: 13px; line-height: 1.4; min-width: 0; }
.ksw-fails b { font-weight: 600; overflow-wrap: anywhere; }
.ksw-fails span { color: var(--ks-ink-2); }
.ksw-left { margin: 0; font-size: 13px; line-height: 1.4; color: var(--ks-ink-2); white-space: pre-line; }
.ksw-left:empty { display: none; }
.ksw-foot [hidden] { display: none; }
.ksw-page[data-closing="true"] { opacity: 0; transform: scale(0.98); transition: opacity 240ms ease, transform 420ms var(--ksw-fp); pointer-events: none; }
@media (min-width: 768px) {
.ksw-page { padding-top: clamp(48px, 10vh, 112px); padding-bottom: 48px; }
.ksw-foot { margin-top: 8px; }
}
@media (prefers-reduced-motion: reduce) {
.ksw-step[data-in], .ksw-step[data-leaving], .ksw-opt, .ksw-bar > i, .ksw-progress li > i, .ksw-face, .ksw-page[data-closing="true"] { animation: none; transition: none; }
.ksw-page[data-closing="true"] { transform: none; }
}
.ks-avatar-cell { position: relative; }
.ks-deco { position: absolute; inset: -20%; display: block; pointer-events: none; z-index: 1; }
.ks-deco svg { display: block; width: 100%; height: 100%; overflow: visible; }
.ks-av32[data-deco], .ks-av40[data-deco] { position: relative; overflow: visible; }
.ks-av32[data-deco] > img, .ks-av40[data-deco] > img { border-radius: 9999px; }
.ks-deco [class^="lk-"], .ks-deco [class*=" lk-"] { transform-box: fill-box; transform-origin: center; }
.ks-deco .lk-flick { transform-origin: 50% 100%; }
.ks-deco .lk-glint { opacity: 0; }
.ks-look-live .lk-spin { animation: lk-rot var(--lk-d, 12s) linear infinite; }
.ks-look-live .lk-spin.lk-rev { animation-direction: reverse; }
.ks-look-live .lk-sway { animation: lk-sway var(--lk-d) ease-in-out var(--lk-dl, 0s) infinite; }
.ks-look-live .lk-bob { animation: lk-bob var(--lk-d) ease-in-out var(--lk-dl, 0s) infinite; }
.ks-look-live .lk-beat { animation: lk-beat var(--lk-d) ease-in-out var(--lk-dl, 0s) infinite; }
.ks-look-live .lk-tw { animation: lk-tw var(--lk-d) ease-in-out var(--lk-dl, 0s) infinite; }
.ks-look-live .lk-flick { animation: lk-flick var(--lk-d) ease-in-out var(--lk-dl, 0s) infinite; }
.ks-look-live .lk-rise { animation: lk-rise var(--lk-d) ease-out var(--lk-dl, 0s) infinite; }
.ks-look-live .lk-fall { animation: lk-fall var(--lk-d) ease-in var(--lk-dl, 0s) infinite; }
.ks-look-live .lk-glint { animation: lk-glint var(--lk-d) ease-in-out var(--lk-dl, 0s) infinite; }
.ks-look-live .lk-breathe { animation: lk-breathe var(--lk-d) ease-in-out var(--lk-dl, 0s) infinite; }
.ks-look-live .lk-drip { animation: lk-drip var(--lk-d) ease-in var(--lk-dl, 0s) infinite; }
@keyframes lk-rot { to { transform: rotate(360deg); } }
@keyframes lk-sway { 0%, 100% { transform: rotate(-8deg); } 50% { transform: rotate(8deg); } }
@keyframes lk-bob { 0%, 100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-1.6px) rotate(8deg); } }
@keyframes lk-beat { 0%, 60%, 100% { transform: scale(1); } 15% { transform: scale(1.22); } 30% { transform: scale(1); } 45% { transform: scale(1.12); } }
@keyframes lk-tw { 0%, 100% { opacity: 0.2; transform: scale(0.6); } 50% { opacity: 1; transform: scale(1); } }
@keyframes lk-flick { 0%, 100% { transform: scale(1, 1) skewX(0deg); } 25% { transform: scale(0.9, 1.14) skewX(-4deg); } 50% { transform: scale(1.06, 0.88) skewX(3deg); } 75% { transform: scale(0.95, 1.08) skewX(4deg); } }
@keyframes lk-rise { 0% { transform: translate(0, 0); opacity: 0; } 15% { opacity: 1; } 100% { transform: translate(2px, -16px); opacity: 0; } }
@keyframes lk-fall { 0% { transform: translate(0, 0) rotate(0deg); opacity: 0; } 12% { opacity: 1; } 100% { transform: translate(var(--lk-x, 0px), 44px) rotate(240deg); opacity: 0; } }
@keyframes lk-glint { 0%, 60% { transform: translateX(-36px); opacity: 0; } 68%, 90% { opacity: 0.45; } 100% { transform: translateX(36px); opacity: 0; } }
@keyframes lk-breathe { 0%, 100% { opacity: 0.55; } 50% { opacity: 1; } }
@keyframes lk-drip { 0%, 40% { transform: translateY(0) scale(0.4); opacity: 0; } 55% { transform: translateY(0) scale(1); opacity: 1; } 100% { transform: translateY(12px) scale(0.8); opacity: 0; } }
.ks-badge { display: inline-flex; align-items: center; gap: 5px; flex: none; font-size: 13px; line-height: 20px; font-weight: 600; letter-spacing: 0.01em; white-space: nowrap; }
.ks-badge svg { width: 17px; height: 17px; flex: none; }
.ks-badge-word, .ks-look-tier { -webkit-background-clip: text; background-clip: text; color: transparent; background-size: 200% 100%; background-position: 0 0; }
.ks-badge-icon { vertical-align: -3px; margin-right: 4px; }
.ks-badge-icon svg { width: 15px; height: 15px; }
.ks-cmt-head .ks-badge-icon, .ks-author-row .ks-badge-icon { margin: 0; }
.ks-badge[data-tier="supporter"] .ks-badge-word, .ks-look-tier[data-tier="supporter"] { background-image: linear-gradient(180deg, rgba(237, 237, 237, 0.78), rgba(237, 237, 237, 0.62)); }
.ks-badge[data-tier="sponsor"] .ks-badge-word, .ks-look-tier[data-tier="sponsor"] { background-image: linear-gradient(180deg, #e9ebee, #b6bac2); }
.ks-badge[data-tier="elite"] .ks-badge-word, .ks-look-tier[data-tier="elite"] { background-image: linear-gradient(180deg, #ffffff, #c9cdd3); }
.ks-badge[data-tier="boss"] .ks-badge-word, .ks-look-tier[data-tier="boss"] { background-image: linear-gradient(180deg, #ffffff, #c9cdd3); }
.ks-badge[data-tier="darklord"] .ks-badge-word, .ks-look-tier[data-tier="darklord"] { background-image: linear-gradient(180deg, #dcbcc3, #a8737e); }
.ks-badge[data-tier="king"] .ks-badge-word, .ks-look-tier[data-tier="king"] { background-image: linear-gradient(180deg, #f6edd8, #c9b27e); }
.ks-badge[data-tier="admin"] .ks-badge-word, .ks-look-tier[data-tier="admin"] { background-image: linear-gradient(180deg, #e9ebee, #b6bac2); }
[data-ns="tint"] { color: var(--n1) !important; }
[data-ns="gradient"] { background-image: linear-gradient(90deg, var(--n1), var(--n2)); }
[data-ns="silver"] { background-image: linear-gradient(100deg, #b6bac2 0%, #f4f5f7 30%, #c9cdd3 50%, #f0f1f3 70%, #b6bac2 100%); }
[data-ns="frost"] { background-image: linear-gradient(100deg, #aebccf 0%, #eef3f9 35%, #c3cfdf 60%, #eef3f9 85%, #aebccf 100%); }
[data-ns="graphite"] { background-image: linear-gradient(180deg, #d4d6da 0%, #8e929a 100%); }
[data-ns="wine"] { background-image: linear-gradient(180deg, #ead3d8 0%, #b07f89 100%); }
[data-ns="champagne"] { background-image: linear-gradient(100deg, #c9b27e 0%, #f6edd8 30%, #d4bf8e 50%, #f3e8cf 70%, #c9b27e 100%); }
[data-ns="pearl"] { background-image: linear-gradient(100deg, #f5f2fa 0%, #e2e9f3 30%, #f4e9e5 55%, #e7e2f1 80%, #f5f2fa 100%); }
[data-ns]:not([data-ns="tint"]) { -webkit-background-clip: text; background-clip: text; color: transparent !important; background-size: 200% 100%; background-position: 0 0; }
.ks-look-live [data-ns="silver"], .ks-look-live [data-ns="frost"], .ks-look-live [data-ns="champagne"], .ks-look-live [data-ns="pearl"] { animation: lk-shine 9s linear infinite; }
@keyframes lk-shine { from { background-position: 200% 0; } to { background-position: 0 0; } }
[data-nf="serif"] { font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif; }
[data-nf="rounded"] { font-family: ui-rounded, "SF Pro Rounded", "Arial Rounded MT Bold", system-ui, sans-serif; }
[data-nf="mono"] { font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; letter-spacing: -0.02em; }
[data-nf="wide"] { letter-spacing: 0.08em; font-weight: 500; }
[data-nf="smallcaps"] { font-family: "Iowan Old Style", "Palatino Linotype", Palatino, Georgia, serif; font-variant: small-caps; letter-spacing: 0.05em; }
[data-plate] { position: relative; isolation: isolate; }
[data-plate]::before { content: ""; position: absolute; inset: -4px -10px; border-radius: 8px; z-index: -1; pointer-events: none; }
.ks-author-row[data-plate]::before { inset: -6px -10px; border-radius: 10px; }
.ks-list-row[data-plate]::before { inset: 0; }
.ks-cmt-head[data-plate] { padding-right: 96px; }
[data-plate="graphite"]::before { background: linear-gradient(90deg, rgba(237, 237, 237, 0.08), rgba(237, 237, 237, 0.02)); }
[data-plate="mist"]::before { background: linear-gradient(90deg, rgba(196, 206, 222, 0.13), rgba(196, 206, 222, 0.02)); }
[data-plate="frost"]::before { background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20240%2048%22%20preserveAspectRatio%3D%22xMaxYMid%20slice%22%3E%3Cg%20stroke%3D%22%23ffffff%22%20stroke-width%3D%22.7%22%20opacity%3D%22.28%22%3E%3Cpath%20d%3D%22M150%2C48L174%2C0M170%2C48L194%2C0M190%2C48L214%2C0M210%2C48L234%2C0M230%2C48L254%2C0%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") right center / auto 100% no-repeat, linear-gradient(90deg, rgba(190, 210, 235, 0.15), rgba(190, 210, 235, 0.03)); }
[data-plate="linen"]::before { background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20240%2048%22%20preserveAspectRatio%3D%22xMaxYMid%20slice%22%3E%3Cg%20stroke%3D%22%23efe6d8%22%20stroke-width%3D%22.6%22%20opacity%3D%22.3%22%3E%3Cpath%20d%3D%22M120%2C12H240M140%2C20H240M160%2C28H240M180%2C36H240%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") right center / auto 100% no-repeat, linear-gradient(90deg, rgba(232, 222, 206, 0.13), rgba(232, 222, 206, 0.03)); }
[data-plate="midnight"]::before { background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20240%2048%22%20preserveAspectRatio%3D%22xMaxYMid%20slice%22%3E%3Ccircle%20cx%3D%22150%22%20cy%3D%2214%22%20r%3D%220.8%22%20fill%3D%22rgba(255%2C255%2C255%2C.7)%22%2F%3E%3Ccircle%20cx%3D%22172%22%20cy%3D%2234%22%20r%3D%220.6%22%20fill%3D%22rgba(255%2C255%2C255%2C.7)%22%2F%3E%3Ccircle%20cx%3D%22190%22%20cy%3D%2210%22%20r%3D%220.9%22%20fill%3D%22rgba(255%2C255%2C255%2C.7)%22%2F%3E%3Ccircle%20cx%3D%22206%22%20cy%3D%2228%22%20r%3D%220.7%22%20fill%3D%22rgba(255%2C255%2C255%2C.7)%22%2F%3E%3Ccircle%20cx%3D%22224%22%20cy%3D%2216%22%20r%3D%220.8%22%20fill%3D%22rgba(255%2C255%2C255%2C.7)%22%2F%3E%3Ccircle%20cx%3D%22232%22%20cy%3D%2238%22%20r%3D%220.6%22%20fill%3D%22rgba(255%2C255%2C255%2C.7)%22%2F%3E%3Ccircle%20cx%3D%22164%22%20cy%3D%2224%22%20r%3D%220.5%22%20fill%3D%22rgba(255%2C255%2C255%2C.7)%22%2F%3E%3C%2Fsvg%3E") right center / auto 100% no-repeat, linear-gradient(90deg, rgba(64, 78, 112, 0.34), rgba(40, 48, 70, 0.10)); }
[data-plate="dusk"]::before { background: linear-gradient(90deg, rgba(122, 104, 150, 0.26), rgba(60, 50, 80, 0.06)); }
[data-plate="silver"]::before { background: linear-gradient(90deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.13) 68%, rgba(255, 255, 255, 0.04)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12); }
[data-plate="obsidian"]::before { background: linear-gradient(90deg, rgba(0, 0, 0, 0.55), rgba(30, 30, 34, 0.35)); box-shadow: inset 0 0 0 1px rgba(237, 237, 237, 0.08); }
[data-plate="wine"]::before { background: linear-gradient(90deg, rgba(142, 90, 100, 0.30), rgba(90, 49, 57, 0.08)); box-shadow: inset 0 0 0 1px rgba(199, 154, 163, 0.22); }
[data-plate="ember"]::before { background: linear-gradient(90deg, rgba(150, 100, 84, 0.24), rgba(150, 100, 84, 0.05)); }
[data-plate="champagne"]::before { background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20240%2048%22%20preserveAspectRatio%3D%22xMaxYMid%20slice%22%3E%3Ccircle%20cx%3D%22176%22%20cy%3D%2232%22%20r%3D%222.2%22%20fill%3D%22none%22%20stroke%3D%22%23d4bf8e%22%20stroke-width%3D%22.8%22%2F%3E%3Ccircle%20cx%3D%22192%22%20cy%3D%2218%22%20r%3D%221.6%22%20fill%3D%22none%22%20stroke%3D%22%23d4bf8e%22%20stroke-width%3D%22.8%22%2F%3E%3Ccircle%20cx%3D%22206%22%20cy%3D%2234%22%20r%3D%222.8%22%20fill%3D%22none%22%20stroke%3D%22%23d4bf8e%22%20stroke-width%3D%22.8%22%2F%3E%3Ccircle%20cx%3D%22220%22%20cy%3D%2214%22%20r%3D%221.4%22%20fill%3D%22none%22%20stroke%3D%22%23d4bf8e%22%20stroke-width%3D%22.8%22%2F%3E%3Ccircle%20cx%3D%22230%22%20cy%3D%2230%22%20r%3D%221.8%22%20fill%3D%22none%22%20stroke%3D%22%23d4bf8e%22%20stroke-width%3D%22.8%22%2F%3E%3C%2Fsvg%3E") right center / auto 100% no-repeat, linear-gradient(90deg, rgba(212, 191, 142, 0.22), rgba(212, 191, 142, 0.05)); box-shadow: inset 0 0 0 1px rgba(212, 191, 142, 0.38); }
[data-plate="pearl"]::before { background: linear-gradient(90deg, rgba(245, 242, 250, 0.14), rgba(231, 238, 247, 0.06) 50%, rgba(246, 236, 232, 0.11)); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16); }
[data-plate="noir"]::before { background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20240%2048%22%20preserveAspectRatio%3D%22xMaxYMid%20slice%22%3E%3Cpath%20d%3D%22M150%2C40C182%2C40%20196%2C8%20240%2C8%22%20fill%3D%22none%22%20stroke%3D%22%23d4bf8e%22%20stroke-width%3D%22.9%22%20opacity%3D%22.8%22%2F%3E%3C%2Fsvg%3E") right center / auto 100% no-repeat, linear-gradient(90deg, rgba(0, 0, 0, 0.62), rgba(0, 0, 0, 0.34)); box-shadow: inset 0 0 0 1px rgba(212, 191, 142, 0.32); }
[data-plate="gilt"]::before { background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%20240%2048%22%20preserveAspectRatio%3D%22xMaxYMid%20slice%22%3E%3Cg%20stroke%3D%22%23d4bf8e%22%20stroke-width%3D%22.8%22%3E%3Cpath%20d%3D%22M120%2C7H240%22%20opacity%3D%22.7%22%2F%3E%3Cpath%20d%3D%22M120%2C41H240%22%20opacity%3D%22.7%22%2F%3E%3Cpath%20d%3D%22M120%2C10H240%22%20opacity%3D%22.3%22%2F%3E%3Cpath%20d%3D%22M120%2C38H240%22%20opacity%3D%22.3%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E") right center / auto 100% no-repeat, linear-gradient(90deg, rgba(212, 191, 142, 0.10), rgba(212, 191, 142, 0.02)); }
.ks-container[data-look-theme] { position: relative; }
.ks-container[data-look-theme]::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 560px; z-index: 0; pointer-events: none; border-radius: 8px 8px 0 0; background: linear-gradient(180deg, color-mix(in srgb, var(--th1) 22%, transparent) 0%, color-mix(in srgb, var(--th2) 12%, transparent) 46%, transparent 100%); }
.ks-container[data-look-theme] > :not(.ks-look-fx) { position: relative; z-index: 1; }
.ks-look-fx { position: absolute; left: 0; right: 0; top: 0; height: 360px; width: 100%; pointer-events: none; z-index: 3; overflow: hidden;
-webkit-mask-image: radial-gradient(ellipse 58% 62% at var(--fx-x, 50%) var(--fx-y, 50%), #000 40%, transparent 100%);
mask-image: radial-gradient(ellipse 58% 62% at var(--fx-x, 50%) var(--fx-y, 50%), #000 40%, transparent 100%); }
.ks-fx-held .ks-meteor { animation-play-state: paused; }
.ks-look-fx canvas { display: block; }
.ks-container:has(> .ks-look-fx) { position: relative; }
.ks-meteor { position: absolute; width: 2px; height: 2px; border-radius: 50%; background: var(--mc); box-shadow: 0 0 0 1px #ffffff10; rotate: var(--angle); animation: ks-meteor 5s linear infinite; pointer-events: none; }
.ks-meteor i { position: absolute; top: 50%; width: 50px; height: 1px; transform: translateY(-50%); background: linear-gradient(to right, var(--mc), transparent); z-index: -1; }
@keyframes ks-meteor { 0% { transform: rotate(var(--angle)) translateX(0); opacity: 1; } 70% { opacity: 1; } 100% { transform: rotate(var(--angle)) translateX(var(--throw, -500px)); opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
.ks-look-live *, .ks-look-live { animation: none !important; }
.ks-look-fx { display: none; }
}
@media (forced-colors: active) {
.ks-deco, [data-plate]::before, .ks-look-fx, .ks-container[data-look-theme]::before { display: none; }
[data-ns] { background: none !important; color: CanvasText !important; text-shadow: none; }
.ks-badge-word { background: none; color: CanvasText; }
}
.ks-looks-intro { font-size: 13px; line-height: 18px; color: var(--ks-ink-2); margin: -12px 0 0; }
.ks-looks-intro a { color: var(--ks-ink); }
.ks-looks-stage { position: relative; border-radius: 12px; overflow: hidden; background: var(--ks-surface); }
.ks-looks-stage .ks-look-fx { height: 100%; }
.ks-looks-wash { position: absolute; inset: 0; pointer-events: none; }
.ks-looks-stage[data-look-theme] .ks-looks-wash { background: linear-gradient(180deg, color-mix(in srgb, var(--th1) 28%, transparent), color-mix(in srgb, var(--th2) 14%, transparent) 70%, transparent); }
.ks-looks-card { position: relative; z-index: 1; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 8px 20px; align-items: center; padding: 36px 32px 20px; }
.ks-looks-face { position: relative; width: 96px; height: 96px; }
.ks-looks-face .ks-avatar { width: 96px; height: 96px; }
.ks-looks-who { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ks-looks-who .ks-name-row { gap: 10px; flex-wrap: wrap; }
.ks-looks-who .ks-name-text { font-size: 22px; }
.ks-looks-row { position: relative; z-index: 1; display: flex; align-items: center; gap: 10px; margin: 0 32px 24px; padding: 0; }
.ks-looks-row .ks-av32 { width: 28px; height: 28px; }
.ks-looks-row .ks-cmt-head { flex: 1; min-width: 0; align-items: center; }
.ks-looks-row .ks-cmt-body { font-size: 13px; color: var(--ks-ink-2); }
.ks-looks-tabs { margin-top: 0; padding-bottom: 0; }
.ks-looks-pin { position: sticky; top: 0; z-index: 3; display: flex; flex-direction: column; gap: 16px; padding: 12px 0; margin: -12px 0; background: var(--ks-canvas); }
html.kg-sheet .ks-looks-pin { background: var(--ks-raised); }
.ks-looks-pin::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 12px; pointer-events: none; background: linear-gradient(var(--ks-canvas), transparent); }
html.kg-sheet .ks-looks-pin::after { background: linear-gradient(var(--ks-raised), transparent); }
.ks-looks-panel { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; }
.ks-looks-panel[hidden] { display: none; }
.ks-looks-sub { grid-column: 1 / -1; font-size: 13px; font-weight: 600; color: var(--ks-ink-2); margin: 8px 0 -2px; }
.ks-look-tile { appearance: none; border: 0; font: inherit; color: var(--ks-ink); text-align: left; display: flex; flex-direction: column; gap: 6px; padding: 8px; border-radius: 10px; background: var(--ks-surface); box-shadow: inset 0 0 0 1px var(--ks-line); cursor: pointer; min-width: 0; }
.ks-look-tile[aria-pressed="true"] { background: var(--ks-surface-raised); box-shadow: inset 0 0 0 1.5px var(--ks-ink-2); }
.ks-look-tile[data-locked="true"] .ks-look-art { opacity: 0.62; }
.ks-look-art { position: relative; display: grid; place-items: center; height: 76px; border-radius: 8px; background: var(--ks-canvas); overflow: hidden; }
.ks-look-art .ks-av40 { width: 44px; height: 44px; }
.ks-look-art[data-plate]::before { inset: 0; border-radius: 8px; }
.ks-look-art .ks-name-text { font-size: 0.9375rem; line-height: 18px; max-width: 100%; padding: 0 6px; white-space: normal; text-overflow: clip; overflow-wrap: break-word; text-align: center; }
.ks-look-cap { display: flex; flex-direction: column; align-items: flex-start; gap: 0; min-width: 0; }
.ks-look-name { max-width: 100%; font-size: 13px; line-height: 18px; font-weight: 600; overflow-wrap: break-word; }
.ks-look-tier { font-size: 11px; line-height: 16px; font-weight: 700; flex: none; }
.ks-look-none { font-size: 13px; color: var(--ks-ink-3); }
.ks-look-art .ks-look-fx { height: 100%; -webkit-mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000 35%, transparent 100%); mask-image: radial-gradient(ellipse 60% 70% at 50% 50%, #000 35%, transparent 100%); }
.ks-look-art .ks-av40 { position: relative; z-index: 1; }
.ks-look-colors { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.ks-look-colors label { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ks-ink-2); }
.ks-look-colors input[type="color"] { width: 36px; height: 28px; padding: 0; border: 0; border-radius: 6px; background: transparent; cursor: pointer; }
.ks-look-colors[hidden] { display: none; }
.ks-looks-note { font-size: 13px; line-height: 18px; color: var(--ks-ink-2); min-height: 18px; }
@media (max-width: 767px) {
.ks-looks-card { grid-template-columns: 76px minmax(0, 1fr); padding: 28px 20px 16px; gap: 8px 16px; }
.ks-looks-face, .ks-looks-face .ks-avatar { width: 76px; height: 76px; }
.ks-looks-row { margin: 0 20px 20px; }
.ks-looks-tabs { display: flex; flex-wrap: nowrap; }
.ks-looks-tabs .ks-toggle, .ks-looks-tabs.kg-seg .kg-seg-item { flex: 1 1 auto; padding: 0 6px; font-size: 14px; }
.ks-looks-panel { grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 8px; }
.ks-cmt-head[data-plate] { padding-right: 40px; }
}
@media (max-width: 480px) {
.ks-looks-tabs { display: flex; flex-wrap: nowrap; }
.ks-looks-tabs .ks-toggle, .ks-looks-tabs.kg-seg .kg-seg-item { flex: 1 1 auto; min-width: 0; padding: 0 4px; font-size: 13px; }
}
.ks-custom[data-ks-has-code] { position: relative; isolation: isolate; min-height: 100vh; }
.ks-custom-block { position: relative !important; isolation: isolate !important; contain: paint !important; overflow: clip !important; max-width: 100% !important; margin-top: 12px; }
.ks-custom-block img, .ks-custom-block video { max-width: 100%; height: auto; }
.ks-custom .ks-actions, .ks-custom .ks-actions *, .ks-custom #ksMenu, .ks-custom #ksMenu * { visibility: visible !important; opacity: 1 !important; pointer-events: auto !important; filter: none !important; clip-path: none !important; mask: none !important; -webkit-mask: none !important; }
.ks-custom .ks-actions { position: relative !important; z-index: 2147483647 !important; transform: none !important; }
.ks-custom #ksMenu { z-index: 2147483647 !important; }
.ks-custom[data-ks-custom-off] > style, .ks-custom[data-ks-custom-off] .ks-custom-block { display: none !important; }
@media (prefers-reduced-motion: reduce) {
.ks-custom *, .ks-custom *::before, .ks-custom *::after { animation: none !important; transition: none !important; }
}
.ks-code-intro { font-size: 13px; line-height: 18px; color: var(--ks-ink-2); margin: -12px 0 0; }
.ks-code-intro a { color: var(--ks-ink); }
.ks-field textarea.ks-code-input { min-height: 240px; font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: 13px; line-height: 19px; tab-size: 2; white-space: pre; overflow-wrap: normal; overflow-x: auto; }
.ks-code-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 12px; }
.ks-code-bar .ks-field-note { flex: 1; min-width: 200px; }
.ks-code-ref { font-size: 13px; line-height: 20px; color: var(--ks-ink-2); }
.ks-code-ref summary { cursor: pointer; color: var(--ks-ink); font-weight: 600; }
.ks-code-ref code { font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 12px; color: var(--ks-ink); }
.ks-code-ref ul { margin: 8px 0 0; padding-left: 18px; }
.ks-code-preview-head { font-size: 13px; line-height: 18px; font-weight: 600; color: var(--ks-ink-2); margin-bottom: -16px; }
.ks-code-frame { display: block; width: 100%; height: 640px; border: 0; border-radius: 12px; background: var(--ks-canvas); box-shadow: inset 0 0 0 1px var(--ks-line); }
@media (max-width: 767px) { .ks-code-frame { height: 520px; } }
.ks-pv-layer { position: fixed; inset: 0; z-index: 50; overflow-x: hidden; overflow-y: auto; background: var(--ks-canvas); overscroll-behavior: contain; outline: none; }
.ks-pv-layer[hidden] { display: none; }
.ks-pv-layer .ks-main { min-height: 100%; }
.ks-pv-fly { position: fixed; z-index: 52; margin: 0; object-fit: cover; pointer-events: none; border-radius: 10px; }
html.ks-pv-inner, html.ks-pv-inner body { overscroll-behavior: none; }
.ks-container.kst { max-width: 1104px; margin: 0 auto; padding: 0 16px calc(48px + var(--kg-dock-inset, 0px)); }
.kst .ks-card { background: transparent; border-radius: 0; box-shadow: none; padding: 24px 0 0; margin: 0; }
.kst .ks-col { gap: 24px; }
@media (min-width: 768px) {
.ks-container.kst { padding: 0 24px calc(64px + var(--kg-dock-inset, 0px)); }
.kst .ks-card { padding-top: 40px; }
.kst .ks-col { gap: 32px; }
}
.kst-title { font-size: clamp(1.75rem, 1.5rem + 1vw, 2.25rem); line-height: 1.1; font-weight: 750; letter-spacing: -0.02em; color: var(--ks-ink); margin: 0; overflow-wrap: anywhere; }
.kst-sections { margin: 14px 0 0; }
.kst-sections .ks-ptabs { margin: 0; }
.kdx .kst-sections { margin: 0; }
.kst-lede { font-size: 15px; line-height: 22px; color: var(--ks-ink-2); max-width: 62ch; margin: 8px 0 0; }
.kst-version { font-size: 14px; line-height: 20px; color: var(--ks-ink-2); margin: 8px 0 0; }
.kst-link { color: var(--ks-ink); text-decoration: underline; text-underline-offset: 2px; }
.kst-fine { font-size: 13px; line-height: 18px; color: var(--ks-ink-2); margin: 0; }
.kst-quiet { font-size: 15px; line-height: 22px; color: var(--ks-ink-2); padding: 24px 0; }
.kst-back { align-self: flex-start; }
.kst-backrow, .kst-toprow { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-width: 0; }
.kst-viewas { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.kst-viewas-note { font-size: 13px; line-height: 18px; color: var(--ks-ink-2); }
@media (max-width: 520px) { .kst-viewas-note { display: none; } }
.kst-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
@media (min-width: 640px) { .kst-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px 16px; } }
@media (min-width: 960px) { .kst-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.kst-tile { display: flex; flex-direction: column; gap: 2px; min-width: 0; color: inherit; text-decoration: none; transition: transform var(--kg-press-out, 360ms cubic-bezier(0.34, 1.45, 0.5, 1)); }
.kst-tile:active { transform: scale(0.985); transition: transform var(--kg-press-in, 80ms ease-out); }
.kst-cover { position: relative; display: block; aspect-ratio: 3 / 4; border-radius: 10px; overflow: hidden; background: linear-gradient(160deg, rgba(237, 237, 237, 0.07), rgba(237, 237, 237, 0.02) 70%), var(--ks-raised); }
.kst-tile .kst-cover { margin-bottom: 8px; }
.kst-cover img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kst-initial { position: absolute; inset: 0; display: grid; place-items: center; font-size: 44px; font-weight: 600; color: var(--ks-ink-4); user-select: none; }
.kst-lock { position: absolute; right: 8px; bottom: 8px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--kammii-glass-tint-image, rgba(0, 0, 0, 0.62)); box-shadow: inset 0 0 0 1px var(--ks-line); color: var(--ks-ink-2); }
.kst-lock svg { width: 14px; height: 14px; }
.kst-name { font-size: 15px; line-height: 20px; font-weight: 650; color: var(--ks-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kst-count { font-size: 13px; line-height: 18px; color: var(--ks-ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kst-head { display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 16px; align-items: start; }
.kst-portrait { width: 100%; }
.kst-headtext { min-width: 0; display: flex; flex-direction: column; align-items: flex-start; }
.kst-excerpt { font-size: 15px; line-height: 22px; color: var(--ks-ink-2); margin: 6px 0 0; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
.kst-meta { font-size: 13px; line-height: 18px; color: var(--ks-ink-2); margin: 6px 0 0; }
.kst-write { margin-top: 16px; height: 44px; padding: 0 20px; gap: 8px; }
.kst-write svg { width: 16px; height: 16px; flex: none; }
@media (min-width: 768px) {
.kst-head { grid-template-columns: 220px minmax(0, 1fr); gap: 28px; align-items: end; }
}
.kst .ks-toggles { margin: 0; padding: 0; }
.kst .ks-toggle { min-height: 0; font-size: 14px; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.kst-tabs { align-self: flex-start; max-width: 100%; }
.kst-tabs .ks-toggle:focus-visible { border-radius: 999px; }
@media (max-width: 767px) {
.kst-tabs.kg-seg { flex-wrap: nowrap; width: 100%; }
.kst .kst-tabs.kg-seg:not(.kg-seg-grid) .ks-toggle { flex: 1 1 auto; padding: 0 6px; }
}
.kst-tabs .ks-toggle[aria-selected="true"] { background: var(--ks-surface-hover); color: var(--ks-ink); }
[data-kg-seg="true"] > .ks-toggle[aria-selected="true"] { background: transparent; }
.kst-tabcount { color: var(--ks-ink-2); font-variant-numeric: tabular-nums; }
.kst-tab-short { display: none; }
@media (max-width: 559px) {
.kst-tab-long { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.kst-tab-short { display: inline; }
}
.kst-panel[hidden] { display: none; }
.kst-gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
@media (min-width: 768px) { .kst-gallery { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 12px; } }
.kst-gtile { position: relative; display: block; width: 100%; aspect-ratio: 3 / 4; padding: 0; border: 0; border-radius: 10px; overflow: hidden; background: var(--ks-surface); cursor: zoom-in; }
.kst-gtile img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kst-gtile[data-locked] { display: grid; place-items: center; cursor: pointer; color: var(--ks-ink); }
.kst-gtile[data-locked] svg { width: 16px; height: 16px; }
.kst-gtile:focus-visible { outline: 1px solid rgba(237, 237, 237, 0.6); outline-offset: 2px; }
.kst-lockrow { display: flex; align-items: center; gap: 10px; margin: 16px 0 0; padding: 14px 16px; border-radius: 10px; background: var(--ks-surface); font-size: 14px; line-height: 20px; color: var(--ks-ink-2); }
.kst-lockrow svg { width: 16px; height: 16px; flex: none; }
.kst-gimg { margin: 0 0 12px; }
.kst-gimg img { display: block; max-width: 100%; max-height: 520px; border-radius: 10px; }
@media (prefers-reduced-motion: reduce) { .kst-tile, .kst-gcard { transition: none; } }
.kst-yg:not([hidden]) { display: flex; flex-direction: column; gap: 24px; }
.kst-yg-label { margin: 0 0 8px; padding: 0 12px; font-size: 0.8125rem; font-weight: 500; line-height: 1.4; color: var(--ks-ink-2); }
.kst-yg-count { margin-left: 4px; color: var(--ks-ink-3); font-variant-numeric: tabular-nums; }
.kst-yg-card { position: relative; min-width: 0; }
.kst-yg-card:has(.kg-select.open) { z-index: 5; }
.kst-yg-pic { position: relative; overflow: hidden; aspect-ratio: 2 / 3; border-radius: 10px; background: linear-gradient(160deg, rgba(237, 237, 237, 0.07), rgba(237, 237, 237, 0.02) 70%), var(--ks-raised); }
.kst-yg-pic img { display: block; width: 100%; height: 100%; object-fit: cover; }
.kst-yg-none { position: absolute; inset: 0; display: grid; place-items: center; color: var(--ks-ink-4); }
.kst-yg-none svg { width: 20px; height: 20px; }
.kst-yg-body { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.kst-yg-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; min-width: 0; }
.kst-yg-name { margin: 0; padding-top: 4px; min-width: 0; font-size: 15px; line-height: 20px; font-weight: 650; color: var(--ks-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kst-yg-open { margin: 0; font-size: 14px; line-height: 20px; color: rgba(237, 237, 237, 0.85); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kst-yg-facts { margin: 0; font-size: 13px; line-height: 18px; color: var(--ks-ink-2); font-variant-numeric: tabular-nums; }
.kst-yg-facts span + span::before { content: " · "; color: var(--ks-ink-3); }
.kst-yg-q, .kst-yg-facts .kst-yg-q { color: var(--ks-ink-3); }
.kst-yg-note { margin: 4px 0 0; font-size: 13px; line-height: 18px; color: var(--ks-ink); white-space: pre-wrap; overflow-wrap: anywhere; }
.kst-yg-by { color: var(--ks-ink-2); }
.kst-yg-acts { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.kst .ks-btn.kst-yg-go { height: 32px; min-width: 0; padding: 0 16px; font-size: 13px; line-height: 18px; }
.kst-yg-go[aria-busy="true"] { color: var(--ks-ink-2); cursor: progress; }
.kst-yg-open .kg-sg-mk { display: none; }
.kst-yg-open .kg-sg-i { font-style: italic; color: var(--ks-ink-2); }
.kst-yg-open .kg-sg-b { font-weight: 650; }
.kst-yg-open .kg-sg-bi { font-style: italic; font-weight: 650; color: var(--ks-ink-2); }
.kst-yg-open .kg-sg-q { color: var(--ks-ink); }
.kst-yg-open .kg-sg-code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 0.875em; }
.kst-yg-menu { display: inline-flex; flex: none; }
.kst-yg-menu .kg-select { width: auto; }
.kst-yg-menu .kg-select-button { position: relative; width: 32px; height: 32px; min-height: 32px; flex: 0 0 32px; padding: 0; gap: 0; border: 0; border-radius: 50% !important; background: rgba(237, 237, 237, 0.04) !important; box-shadow: inset -1px 1px 0 0 rgba(255, 255, 255, 0.10), inset 1px -1px 0 0 rgba(255, 255, 255, 0.10), 0 4px 19px rgba(0, 0, 0, 0.4) !important; color: var(--ks-ink); justify-content: center; }
.kst-yg-menu .kg-select-button .kg-select-label, .kst-yg-menu .kg-select-button svg:not(:first-child) { display: none; }
.kst-yg-menu .kg-select-button svg:first-child { width: 16px; height: 16px; color: inherit; }
.kst-yg-menu .kg-select.open .kg-select-button svg { transform: none; }
.kst-yg-menu .kg-select-menu { min-width: 0; width: 168px; left: auto; right: 0; }
@media (pointer: coarse) { .kst-yg-menu .kg-select-button::after { content: ""; position: absolute; inset: -6px; } }
.kst-yg-empty { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 24px 0; }
.kst-yg-empty[hidden] { display: none; }
.kst-yg-empty p { margin: 0; font-size: 15px; line-height: 22px; color: var(--ks-ink-2); }
.kst-yg-empty .ks-btn { gap: 8px; padding: 0 16px; height: 36px; }
.kst-yg-empty .ks-btn svg { width: 16px; height: 16px; flex: none; }
.kst-yg-said { margin: 4px 0 0; }
.kst-yg-list { display: grid; grid-template-columns: minmax(0, 1fr); gap: 4px; padding: 4px; border-radius: 16px; background: var(--ks-surface); }
.kst-yg-card { display: grid; grid-template-columns: 64px minmax(0, 1fr); gap: 12px; align-items: start; padding: 8px; border-radius: 12px; }
@media (min-width: 768px) {
.kst-yg { max-width: 760px; }
.kst-yg-card { grid-template-columns: 80px minmax(0, 1fr); gap: 16px; padding: 12px; }
}
.kst .ks-btn { min-height: 0; position: relative; }
.kst .ks-more-btn { width: 32px; height: 32px; min-width: 32px; position: relative; }
.kst .ks-btn.kst-accept { height: 44px; padding: 0 24px; }
@media (pointer: coarse) {
.kst .ks-btn::after, .kst .ks-more-btn::after {
content: ""; position: absolute; left: 50%; top: 50%; width: 100%; height: 100%;
min-width: 44px; min-height: 44px; transform: translate(-50%, -50%);
}
}
.kst-doc .ks-col { max-width: 640px; gap: 20px; }
.kst-doc .kst-title { font-size: 24px; line-height: 30px; font-weight: 700; letter-spacing: -0.01em; }
.kst-doc .kst-version { font-size: 13px; line-height: 18px; margin-top: 6px; }
.kst-prose h2 { font-size: 15px; line-height: 22px; font-weight: 650; color: var(--ks-ink); margin: 24px 0 4px; }
.kst-prose h2:first-child { margin-top: 0; }
.kst-prose p { font-size: 15px; line-height: 24px; color: var(--ks-ink-2); margin: 0 0 10px; overflow-wrap: anywhere; }
.kst-acceptbar { display: flex; flex-direction: column; align-items: stretch; gap: 10px; padding: 8px 0; }
.kst-acceptrow { display: flex; gap: 10px; justify-content: flex-end; }
.kst-note { min-height: 18px; margin: 0; font-size: 13px; line-height: 18px; color: var(--ks-ink-2); }
.kst-note:empty { display: none; }
.kst-note[data-state="error"] { color: var(--ks-error); }
.kst-agree .kg-confirm-box { max-width: 340px; text-align: left; }
.kst-agree .kg-confirm-message { white-space: normal; }
.kst-agree-link { display: inline-block; margin-top: 8px; font-size: 13px; line-height: 18px; color: var(--ks-ink); text-decoration: underline; text-underline-offset: 2px; }
.kst-agree-note { margin-top: 8px; }
.kst-agree .kst-agree-accept { font-weight: 650; }
.kst-agree .kg-confirm-btn[disabled] { color: var(--ks-ink-2); cursor: progress; }
.kst-agree .kg-confirm-box:focus { outline: none; }
.kst-defread { max-width: 68ch; }
.kst-defsec + .kst-defsec { margin-top: 28px; }
.kst-defsec h2 { margin: 0 0 8px; font-size: 13px; line-height: 18px; font-weight: 650; letter-spacing: 0.02em; text-transform: uppercase; color: var(--ks-ink-2); }
.kst-defsec p { margin: 0 0 12px; font-size: 15px; line-height: 24px; color: var(--ks-ink); overflow-wrap: anywhere; }
.kst-tags { display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 24px; padding: 0; list-style: none; }
.kst-tags li { padding: 4px 10px; border-radius: 999px; background: var(--ks-surface); font-size: 12px; line-height: 16px; color: var(--ks-ink-2); }
.kst-lore + .kst-lore { margin-top: 16px; }
.kst-lore-head { margin: 0 0 2px; font-weight: 650; }
.kst-lore-keys { margin: 0 0 6px; font-size: 13px; line-height: 18px; color: var(--ks-ink-2); }
.kst-act { font-style: italic; color: var(--ks-ink-2); }
.kst-you { color: var(--ks-ink); font-weight: 600; }
.kst-ggrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
@media (min-width: 640px) { .kst-ggrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; } }
@media (min-width: 960px) { .kst-ggrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.kst-gcard { padding: 0; border: 0; font: inherit; text-align: left; cursor: pointer; transition: transform var(--kg-press-out, 360ms cubic-bezier(0.34, 1.45, 0.5, 1)); }
.kst-gcard:active { transform: scale(0.985); transition: transform var(--kg-press-in, 80ms ease-out); }
.kst-gcard:focus { outline: none; }
.kst-gcard:focus-visible { outline: 1px solid rgba(237, 237, 237, 0.6); outline-offset: 2px; }
.kst-gcard-img { aspect-ratio: 2 / 3; }
.kst-gcard-veil { position: absolute; inset: -24px; background-size: 260%; background-color: var(--ks-raised); filter: blur(22px) saturate(1.1); }
.kst-gcard-lock { position: absolute; inset: 0; display: grid; place-items: center; padding-bottom: 40px; color: var(--ks-ink); }
.kst-gcard-lock svg { width: 22px; height: 22px; }
.kst-gtile .kst-gcard-lock { padding-bottom: 0; }
.kst-gtile .kst-gcard-lock svg { width: 20px; height: 20px; }
@media (prefers-reduced-transparency: reduce) { .kst-gcard-veil { filter: none; background-image: none !important; } }
.kst-reader { position: fixed; inset: 0; z-index: 72; width: 100%; max-width: none; height: 100%; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: var(--ks-ink); overflow: hidden; }
.kst-reader::backdrop { background: rgba(0, 0, 0, 0.72); }
.kst-reader-in { display: flex; flex-direction: column; height: 100%; background: var(--ks-canvas, #0a0a0a); }
.kst-flying, .kst-flying .ks-mcard-img, .kst-flying .ks-mcard-fig { background: transparent !important; }
.kst-flying .ks-mcard-fig::before { content: none !important; }
.kst-fly { position: fixed; z-index: 2; margin: 0; object-fit: cover; pointer-events: none; border-radius: 10px; }
.kst-reader-head { display: flex; align-items: center; gap: 8px; width: 100%; max-width: 1180px; margin: 0 auto; box-sizing: border-box; padding: calc(10px + env(safe-area-inset-top)) 12px 10px 16px; }
.kst-reader-av { flex: none; width: 36px; height: 36px; border-radius: 50%; overflow: hidden; background: var(--ks-raised); display: grid; place-items: center; font-weight: 650; }
.kst-reader-av img { width: 100%; height: 100%; object-fit: cover; }
.kst-reader-who { flex: 1 1 auto; min-width: 0; display: flex; flex-direction: column; }
.kst-reader-who b { font-size: 15px; line-height: 20px; font-weight: 650; }
.kst-reader-who span { font-size: 13px; line-height: 18px; color: var(--ks-ink-2); font-variant-numeric: tabular-nums; }
.kst-reader-nav[disabled] { opacity: 0.35; }
.kst-reader-body { position: relative; flex: 1 1 auto; overflow-x: hidden; overflow-y: auto; overscroll-behavior: contain; touch-action: pan-y; padding: 4px 16px calc(32px + var(--kg-dock-inset, 0px) + env(safe-area-inset-bottom)); }
.kst-reader-body:focus { outline: none; }
.kst-reader-msg { width: 100%; max-width: 1180px; margin: 0 auto; }
.kst-reader-msg[hidden] { display: none; }
.kst-rd-hero { margin: 0 0 18px; }
.kst-rd-hero img { display: block; width: 100%; height: auto; border-radius: 10px; }
.kst-rd-text { max-width: 640px; margin: 0 auto; }
.kst-reader-msg p { margin: 0 0 14px; font-size: 16px; line-height: 26px; color: var(--ks-ink); overflow-wrap: anywhere; }
.kst-reader-msg .kst-gimg { margin: 4px 0 18px; }
@media (max-width: 899px) { .kst-reader-msg .kst-gimg-hero { display: none; } }
.kst-reader-msg .kst-gimg img { display: block; width: auto; max-width: 100%; height: auto; max-height: none; margin: 0 auto; border-radius: 10px; }
@media (min-width: 900px) {
.kst-reader-head { padding: 14px 20px 12px 24px; }
.kst-reader-body { padding: 4px 24px 32px; }
.kst-reader-msg:not([hidden]) { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; align-items: start; }
.kst-rd-hero { position: sticky; top: 4px; margin: 0; display: flex; justify-content: center; }
.kst-rd-hero img { width: auto; max-width: none; }
.kst-rd-text { margin: 0; padding-top: 2px; }
.kst-reader-msg .kst-gimg img { max-width: min(100%, 480px); max-height: min(64vh, 620px); }
}
.kst-signin { padding-top: 72px; }
.kst-signin .ks-btn { margin: 0 0 16px; }
.kst-signin p.kst-fine { margin: 0; }
.kst-mark { display: inline-flex; align-items: center; gap: 6px; height: 24px; padding: 0 10px; border-radius: 999px; background: var(--ks-surface); box-shadow: inset 0 0 0 1px var(--ks-line); color: var(--ks-ink-2); font-size: 12px; line-height: 16px; font-weight: 600; white-space: nowrap; }
.kst-mark svg { width: 14px; height: 14px; flex: none; }
.kst-in { --kst-from: 0.92; animation: kstSharpen 420ms cubic-bezier(0.22, 1, 0.36, 1) both, kstGrow 760ms linear(0.0000, 0.0051, 0.0199, 0.0432, 0.0741, 0.1117, 0.1549, 0.2029, 0.2546, 0.3093, 0.3662, 0.4244, 0.4833, 0.5422, 0.6005, 0.6577, 0.7133, 0.7669, 0.8181, 0.8666, 0.9122, 0.9546, 0.9937, 1.0294, 1.0617, 1.0905, 1.1158, 1.1377, 1.1563, 1.1717, 1.1840, 1.1933, 1.1998, 1.2038, 1.2053, 1.2046, 1.2020, 1.1975, 1.1914, 1.1839, 1.1752, 1.1655, 1.1550, 1.1439, 1.1323, 1.1204, 1.1083, 1.0962, 1.0842, 1.0724, 1.0609, 1.0498, 1.0392, 1.0292, 1.0197, 1.0109, 1.0027, 0.9952, 0.9885, 0.9824, 0.9771, 0.9725, 0.9685, 0.9653, 0.9626, 0.9606, 0.9592, 0.9583, 0.9579, 0.9579, 0.9584, 0.9593, 0.9604, 0.9619, 0.9637, 0.9656, 0.9678, 0.9700, 0.9724, 0.9748, 0.9773, 0.9798, 0.9823, 0.9847, 0.9871, 0.9894, 0.9916, 0.9936, 0.9956, 0.9974, 0.9991, 1.0007, 1.0021, 1.0034, 1.0045, 1.0055, 1) both; animation-delay: calc(40ms + var(--kst-i, 0) * 28ms); }
.kst-yg-sect.kst-in, .kst-backrow.kst-in, .kst-toprow.kst-in, .kst-lede.kst-in, .kst-title.kst-in, .kst-excerpt.kst-in, .kst-meta.kst-in, .kst-write.kst-in, .kst-tabs.kst-in, .kst-defsec.kst-in, .kst-tags.kst-in { --kst-from: 0.98; }
@keyframes kstSharpen { from { opacity: 0; filter: blur(8px); } }
@keyframes kstGrow { from { scale: var(--kst-from); } }
@media (prefers-reduced-motion: reduce) { .kst-in { animation: none; } }
.kst-lightbox[open]::backdrop, .kst-reader[open]::backdrop { animation: kstScrimIn 260ms cubic-bezier(0.22, 1, 0.36, 1) both; }
.kst-lightbox.kst-going::backdrop, .kst-reader.kst-going::backdrop { animation: kstScrimOut 240ms cubic-bezier(0.22, 1, 0.36, 1) both; }
@keyframes kstScrimIn { from { opacity: 0; } }
@keyframes kstScrimOut { to { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .kst-lightbox::backdrop, .kst-reader::backdrop { animation: none !important; } }
.kst-lightbox.kst-going, .kst-reader.kst-going, .kst-lightbox.kst-going::backdrop, .kst-reader.kst-going::backdrop { pointer-events: none; }
.kst-lightbox.kst-pinned, .kst-reader.kst-pinned { position: absolute; inset: auto; }
.kst-lightbox.kst-pinned img, .kst-lightbox.kst-pinned .kst-lb-close, .kst-lightbox.kst-pinned .kst-lb-bar, .kst-reader.kst-pinned .kst-fly { position: absolute; }
.kst-lightbox { position: fixed; inset: 0; z-index: 70; width: 100vw; height: 100vh; max-width: none; max-height: none; margin: 0; padding: 0; border: 0; background: transparent; color: var(--ks-ink); overflow: hidden; }
.kst-lightbox::backdrop { background: rgba(0, 0, 0, 0.86); }
.kst-lightbox img { position: fixed; display: block; max-width: none; max-height: none; object-fit: cover; border-radius: 10px; cursor: zoom-out; }
.kst-lightbox .kst-lb-close { position: fixed; top: calc(12px + env(safe-area-inset-top)); right: 12px; }
.kst-lb-bar { position: fixed; left: 50%; bottom: calc(20px + var(--kg-dock-inset, 0px) + env(safe-area-inset-bottom)); transform: translateX(-50%); display: flex; gap: 8px; }
.kst-lb-bar[hidden] { display: none; }
.kst-lb-bar .ks-rail-btn { width: auto; padding: 0 18px; white-space: nowrap; }
.kst-lockcard[hidden] { display: none; }
.kst-lockcard a.kg-confirm-btn { display: flex; align-items: center; justify-content: center; text-decoration: none; color: inherit; }
.kst-panels { position: relative; }
.kdx .kdx-main { display: flex; flex-direction: column; gap: 0; padding-bottom: calc(48px + var(--kg-dock-inset, 0px)); }
.kdx-hub { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; margin: 0 0 16px; }
.kdx-hubtitle { margin: 0; font-size: 22px; line-height: 28px; font-weight: 600; letter-spacing: -0.01em; color: var(--ks-ink); }
.kdx-tasterow { display: inline-flex; align-items: center; gap: 8px; min-height: 36px; padding: 0; border: 0; background: transparent; color: var(--ks-ink-2); font: inherit; font-size: 14px; line-height: 20px; cursor: pointer; text-align: left; }
.kdx-tasterow:hover { color: var(--ks-ink); }
.kdx-tasterow svg { width: 16px; height: 16px; flex: 0 0 auto; }
.kdx-top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 4px 0 18px; flex-wrap: wrap; }
.kst-sections .ks-ptabs { margin: 0; }
.kdx-search { margin: 0 0 14px; max-width: 680px; }
.kdx-kind { margin: 0 0 14px; }
.kdx-kind .ks-psort { margin: 0; }
.kdx-note { font-size: 13px; line-height: 18px; color: var(--ks-ink-2); margin: 0 0 12px; min-height: 0; }
.kdx-note:empty { display: none; }
.kdx-side-set { display: flex; flex-direction: column; gap: 24px; }
.kdx-side-set[hidden], .kdx-chips[hidden], .kdx-chip[hidden], .ks-fgroup[hidden], .kdx-grid[hidden], .kdx-creators[hidden] { display: none !important; }
.kdx-grid .kst-tile { position: relative; cursor: pointer; }
.kdx-tile { appearance: none; border: 0; background: none; padding: 0; text-align: left; font: inherit; color: inherit; }
.kdx-tile:focus-visible { outline: 1px solid rgba(237, 237, 237, 0.6); outline-offset: 2px; border-radius: 10px; }
.kdx-labels { position: absolute; top: 8px; left: 8px; right: 8px; z-index: 2; display: flex; gap: 4px; pointer-events: none; }
.kdx-site, .kdx-rise { flex: none; font-size: 11px; line-height: 14px; font-weight: 600; color: var(--ks-ink); padding: 4px 8px; border-radius: 999px; background: rgba(10, 10, 10, 0.55); }
.kdx-rise { background: color-mix(in srgb, var(--kammii-accent, #ededed) 28%, rgba(10, 10, 10, 0.55)); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--kammii-accent, #ededed) 45%, transparent); }
.kdx-cstrip { position: absolute; left: 0; right: 0; bottom: 0; z-index: 3; display: flex; align-items: flex-end; gap: 12px; height: 40px; padding: 0 8px 8px; pointer-events: none; color: var(--ks-ink); font-size: 12px; line-height: 16px; font-variant-numeric: tabular-nums; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.55); }
.kdx-cblur { position: absolute; inset: 0; z-index: -1; background: linear-gradient(to top, rgba(0, 0, 0, 0.2), transparent); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); -webkit-mask-image: linear-gradient(to top, #000 55%, transparent); mask-image: linear-gradient(to top, #000 55%, transparent); }
.kdx-cs { flex: none; display: inline-flex; align-items: center; gap: 4px; }
.kdx-cs b { font-weight: 600; }
.kdx-cs svg { width: 12px; height: 12px; flex: none; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.55)); }
.kdx-cstrip .kdx-pend { color: inherit; opacity: 0.8; }
@media (prefers-reduced-transparency: reduce) {
.kdx-cblur { -webkit-backdrop-filter: none; backdrop-filter: none; -webkit-mask-image: none; mask-image: none; background: rgba(10, 10, 10, 0.86); }
.kdx-cstrip { text-shadow: none; }
}
.kdx-by { font-size: 13px; line-height: 18px; color: var(--ks-ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kdx-blurb { display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; margin-top: 4px; font-size: 13px; line-height: 18px; color: var(--ks-ink); overflow-wrap: anywhere; }
.kdx-full .kdx-blurb { min-height: 72px; }
@media (min-width: 720px) { .kdx-full .kdx-blurb { -webkit-line-clamp: 5; min-height: 90px; } }
.kdx-full .kst-name { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; white-space: normal; overflow-wrap: anywhere; min-height: 40px; font-size: 15px; line-height: 20px; }
.kdx-usage { display: flex; flex-wrap: wrap; gap: 0 8px; height: 16px; margin-top: 4px; overflow: hidden; font-size: 12px; line-height: 16px; color: var(--ks-ink-2); font-variant-numeric: tabular-nums; }
.kdx-usage span { flex: none; white-space: nowrap; }
.kdx-ttags { display: flex; flex-wrap: wrap; gap: 8px 4px; margin-top: 8px; overflow: hidden; height: 20px; }
.kdx-ttags span { flex: none; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 11px; line-height: 12px; padding: 4px 8px; border-radius: 999px; background: var(--ks-surface); color: var(--ks-ink-2); }
.kdx-foot { display: flex; align-items: center; gap: 8px; margin-top: 8px; font-size: 12px; line-height: 16px; color: var(--ks-ink-2); }
.kdx-maker { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kdx-skel .kst-cover { background: var(--ks-surface); }
.kdx-skel-line { display: block; height: 12px; border-radius: 6px; background: var(--ks-surface); margin-top: 8px; width: 72%; }
.kdx-skel-short { width: 44%; margin-top: 8px; }
.kdx-grid[aria-busy="true"] .kdx-skel .kst-cover, .kdx-grid[aria-busy="true"] .kdx-skel-line, .kdx-skel-row .kst-cover, .kdx-skel-row .kdx-skel-line, .kdx-skel-row .kdx-cface { animation: kdxBreathe 1.6s ease-in-out infinite; }
.kdx-skel-row .kdx-cface { background: var(--ks-surface); }
@keyframes kdxBreathe { 0%, 100% { opacity: 1; } 50% { opacity: 0.55; } }
.kdx-empty { grid-column: 1 / -1; padding: 48px 0; text-align: center; color: var(--ks-ink-2); font-size: 15px; line-height: 22px; display: flex; flex-direction: column; align-items: center; gap: 14px; }
.kdx-empty h3 { margin: 0; font-size: 1.25rem; font-weight: 650; color: var(--ks-ink); }
.kdx-sentinel { min-height: 56px; display: grid; place-items: center; }
.kdx-creators { display: flex; flex-direction: column; gap: 24px; }
.kdx-crow { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.kdx-chead { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 12px; min-width: 0; }
.kdx-cface { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; background: var(--ks-surface-raised); display: grid; place-items: center; font-size: 16px; font-weight: 650; color: var(--ks-ink-3); }
.kdx-cface img { width: 100%; height: 100%; object-fit: cover; }
.kdx-cname { font-size: 15px; line-height: 20px; font-weight: 650; color: var(--ks-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kdx-cmeta { font-size: 13px; line-height: 18px; color: var(--ks-ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kdx-cbots { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(104px, 132px); gap: 12px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; scroll-snap-type: x proximity; padding-bottom: 2px; }
.kdx-cbots::-webkit-scrollbar { display: none; }
.kdx-cbots .kst-tile { scroll-snap-align: start; }
.kdx-cbots .kst-name { font-size: 13px; line-height: 18px; font-weight: 600; }
.kdx-phonebar { display: none; }
@media (max-width: 719px) {
.kdx.ks-studio .kdx-grid:not(.kdx-rows) { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
.kdx-sect-head .ks-fstrip { flex: 1 1 100%; min-width: 0; }
.kdx-sect-head .ks-fstrip .ks-toggle { min-width: 0; padding: 0 8px; }
.kdx.ks-studio { display: block; padding: 16px 12px 0; }
.kdx-top { margin: 0 0 14px; }
.kdx-phonebar { display: block; margin: 0 -12px 14px; }
.kdx-chips { display: flex; flex-wrap: nowrap; gap: 8px; padding: 0 12px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; }
.kdx-chips::-webkit-scrollbar { display: none; }
.kdx-chip { flex: none; }
.kdx-chip .kg-select-button { min-height: 36px; height: 36px; padding: 0 12px 0 14px; border-radius: 999px !important; font-size: 13px; font-weight: 600; white-space: nowrap; }
.kdx-chip select:not(.kg-select-native) { appearance: none; height: 36px; border-radius: 999px; border: 1px solid var(--ks-line); background: var(--ks-tertiary); color: var(--ks-ink); font: inherit; font-size: 13px; font-weight: 600; padding: 0 14px; }
.kdx-cbots { margin: 0 -12px; padding: 0 12px 2px; scroll-padding: 0 12px; }
}
.kdx-overlay .kdx-box { max-width: 560px; width: min(560px, calc(100vw - 32px)); text-align: left; background: var(--ks-raised); box-shadow: inset 0 0 0 1px var(--ks-line), 0 24px 64px rgba(0, 0, 0, 0.5); -webkit-backdrop-filter: none; backdrop-filter: none; padding: 20px; max-height: min(86vh, 860px); display: flex; flex-direction: column; gap: 16px; overflow: hidden; overflow: clip; }
.kdx-shead { position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr); gap: 14px; align-items: start; flex: none; padding-right: 40px; }
.kdx-shead .kdx-sname:focus { outline: none; }
.kdx-sx { position: absolute; top: -4px; right: -4px; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--ks-ink-2); display: grid; place-items: center; cursor: pointer; transition: transform 420ms var(--ks-spring); }
.kdx-sx svg { width: 18px; height: 18px; }
.kdx-sx:active { transform: scale(0.92); }
.kdx-sx::after { content: ""; position: absolute; inset: -4px; }
.kdx-snav { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex: none; min-height: 36px; margin: -8px -4px 8px 0; }
.kdx-snav .kdx-sx { position: relative; top: auto; right: auto; flex: none; }
.kdx-snav + .kdx-shead { padding-right: 0; }
.kdx-shead .kst-cover { width: 96px; }
.kdx-sname { margin: 0; font-size: 1.25rem; line-height: 1.2; font-weight: 650; color: var(--ks-ink); overflow-wrap: anywhere; }
.kdx-sby { margin: 4px 0 0; font-size: 13px; line-height: 18px; color: var(--ks-ink-2); }
.kdx-sby a { color: inherit; text-decoration: none; }
.kdx-sby a:hover { color: var(--ks-ink); }
.kdx-sbody { flex: none; height: min(46vh, 420px); overflow-y: auto; overflow-x: clip; overscroll-behavior: contain; display: flex; flex-direction: column; gap: 16px; min-height: 0; }
.kdx-stext { margin: 0; font-size: 15px; line-height: 22px; color: var(--ks-ink-2); white-space: pre-line; overflow-wrap: anywhere; }
.kdx-scap { font-size: 13px; line-height: 18px; font-weight: 500; color: var(--ks-ink-2); margin: 0 0 8px; }
.kdx-sgreet { margin: 0; padding: 12px 14px; border-radius: 12px; background: var(--ks-surface); font-size: 14px; line-height: 21px; color: var(--ks-ink); white-space: pre-line; overflow-wrap: anywhere; display: -webkit-box; -webkit-line-clamp: 8; -webkit-box-orient: vertical; overflow: hidden; }
.kdx-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.kdx-tags span { font-size: 12px; line-height: 16px; padding: 4px 12px; border-radius: 999px; background: var(--ks-surface); color: var(--ks-ink-2); }
.kdx-sacts { display: flex; gap: 8px; flex: none; flex-wrap: wrap; }
.kdx-sacts .ks-btn { flex: 1 1 auto; }
.kdx-serr { margin: 0; font-size: 13px; line-height: 18px; color: var(--ks-error); }
.kdx-serr:empty { display: none; }
.kdx-serr[data-busy] { color: var(--ks-ink-3); }
@media (max-width: 719px) {
.kdx-overlay { align-items: flex-end; padding: 0; }
.kdx-overlay .kdx-box { max-width: none; width: 100%; border-radius: 18px 18px 0 0; padding: 16px 16px calc(16px + var(--kg-dock-inset, 0px)); max-height: 88vh; }
.kdx-sbody { flex: none; height: min(40vh, 360px); }
}
.kdx-overlay[data-ks-chassis="pane"] { display: block; padding: 0; }
.kdx-overlay[data-ks-chassis="pane"] .cupertino-pane-wrapper { z-index: 1; }
.ks-chassis .pane .kdx-box { transform: none; transition: none; max-height: none; height: 100%; }
.ks-chassis .pane > .kdx-box { border-radius: 18px 18px 0 0; overflow: hidden; overflow: clip; }
.kdx-overlay[data-ks-chassis="pane"] .kdx-shead { touch-action: none; cursor: grab; }
.kdx-overlay[data-ks-chassis="pane"] .kdx-sbody { touch-action: auto; }
.kdx-hint { margin: 0; font-size: 12px; line-height: 16px; color: var(--ks-ink-2); }
.kdx-hint:empty { display: none; }
.kdx-more-slot { display: flex; flex-direction: column; gap: 24px; }
.kdx-fgroup-sub { display: flex; flex-direction: column; gap: 8px; }
.ks-fgroup .ks-fselect + .ks-fselect { margin-top: 4px; }
.kdx-range { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 8px; }
.kdx-range .ks-field input, .kdx-tagin input { width: 100%; min-height: 36px; height: 36px; border-radius: 8px; border: 1px solid var(--ks-line); background: var(--ks-surface); color: var(--ks-ink); font: inherit; font-size: 14px; padding: 0 12px; }
.kdx-range .ks-field input:focus, .kdx-tagin input:focus { border-color: var(--ks-ink-3); outline: none; }
.kdx-range .ks-field input::placeholder, .kdx-tagin input::placeholder { color: var(--ks-ink-3); }
.kdx-to { font-size: 12px; color: var(--ks-ink-2); }
.kdx-lens { gap: 8px; }
.kdx-lens .ks-cat, .kdx-suggest .ks-cat, .kdx-chosen .ks-cat, .kdx-taglist .ks-cat { padding: 4px 12px; font-size: 12px; line-height: 16px; }
.kdx-tagfield { display: flex; flex-direction: column; gap: 8px; }
.kdx-suggest { display: flex; flex-wrap: wrap; gap: 8px; }
.kdx-suggest[hidden], .kdx-chosen:empty { display: none; }
.kdx-suggest .ks-cat[aria-selected="true"] { background: var(--ks-hover); color: var(--ks-ink); border-color: var(--ks-ink-3); }
.kdx-suggest .kdx-sgone { font-size: 12px; color: var(--ks-ink-2); }
.kdx-chosen { display: flex; flex-wrap: wrap; gap: 8px; }
.kdx-chosen-tag .kg-icon { width: 12px; height: 12px; opacity: 0.7; }
.kdx-chosen-tag.kdx-out { text-decoration: line-through; text-decoration-color: var(--ks-ink-3); }
.kdx-share { display: inline-flex; align-items: center; gap: 4px; }
.kdx-sharesel select { appearance: none; height: 26px; border-radius: 999px; border: 1px solid var(--ks-line); background: var(--ks-surface); color: var(--ks-ink-2); font: inherit; font-size: 12px; padding: 0 12px; }
.kdx-sharesel .kg-select-button { min-height: 26px; height: 26px; padding: 0 8px 0 12px; border-radius: 999px !important; font-size: 12px; }
.kdx-taglist { display: flex; flex-wrap: wrap; gap: 8px; }
.kdx-rtag { display: inline-flex; align-items: stretch; }
.kdx-rtag .ks-cat { border-radius: 999px 0 0 999px; padding-right: 8px; }
.kdx-rtag .kdx-rminus { border-radius: 0 999px 999px 0; padding: 4px 8px; border-left: 0; }
.kdx-rtag .kdx-rminus .kg-icon { width: 12px; height: 12px; }
.kdx-nsfw strong { font-size: 14px; }
.kdx-linkish { appearance: none; border: 0; background: none; padding: 0; font: inherit; color: inherit; cursor: pointer; text-decoration: underline; text-decoration-color: var(--ks-ink-3); text-underline-offset: 2px; }
.kdx-linkish:hover { color: var(--ks-ink); }
.kdx-resetall { width: 100%; }
.kdx-kind { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.kdx-look[hidden] { display: none !important; }
.kdx-status { display: flex; align-items: center; gap: 8px 16px; flex-wrap: wrap; margin: 0 0 12px; font-size: 12px; line-height: 16px; color: var(--ks-ink-2); }
.kdx-live { display: inline-flex; align-items: center; gap: 8px; }
.kdx-live[data-state="stale"] { color: var(--ks-ink-2); }
.kdx-summary { transition: opacity 200ms var(--ks-settling); }
.kdx-kindend { display: flex; align-items: center; gap: 12px; margin-left: auto; }
.kdx-kind .kdx-ask { position: relative; min-width: 0; height: 32px; min-height: 32px; padding: 0 12px; gap: 8px; font-size: 14px; line-height: 20px; }
.kdx-kind .kdx-ask::after { content: ""; position: absolute; inset: -6px 0; }
.kdx-summary.kdx-dim { opacity: 0.45; }
.kdx-summary b { color: var(--ks-ink-2); font-weight: 600; font-variant-numeric: tabular-nums; }
.kdx-load { margin: 0 0 16px; }
.kdx-load[hidden] { display: none; }
.kdx-loadbar { height: 2px; border-radius: 1px; background: var(--ks-surface); overflow: hidden; }
.kdx-loadfill { display: block; height: 100%; width: 100%; background: var(--ks-ink-2); transform-origin: 0 50%; transform: scaleX(0); transition: transform 0.24s var(--ks-settling, ease-out); }
.kdx-load[data-done] .kdx-loadfill { transform: scaleX(1); }
.kdx-loadhead { margin: 8px 0 0; font-size: 12px; line-height: 16px; color: var(--ks-ink-2); font-variant-numeric: tabular-nums; }
.kdx-steps { list-style: none; margin: 4px 0 0; padding: 0; display: flex; flex-direction: column; gap: 2px; }
.kdx-steps li { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; align-items: center; font-size: 12px; line-height: 16px; color: var(--ks-ink-2); font-variant-numeric: tabular-nums; }
.kdx-steps li[data-state="run"] { color: var(--ks-ink); }
.kdx-steps li[data-state="fail"] { color: var(--ks-error); }
.kdx-newpill { position: sticky; top: calc(var(--app-header-height, 0px) + 12px); z-index: 5; align-self: center; margin: 0 0 12px; min-height: 32px; height: 32px; padding: 0 14px; font-size: 13px; }
.kdx-newpill[hidden] { display: none; }
.kdx-end { font-size: 12px; color: var(--ks-ink-2); }
.kdx-end[hidden] { display: none; }
.kdx-byline { font-size: 12px; line-height: 16px; color: var(--ks-ink-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; margin-top: 2px; }
.kdx-stepf { display: flex; flex-direction: column; gap: 8px; }
.kdx-stepf + .kdx-stepf { margin-top: 12px; }
.kdx-stepcap { font-size: 13px; line-height: 18px; color: var(--ks-ink-2); }
.kdx-step { display: grid; grid-template-columns: 40px minmax(0, 1fr) 40px; align-items: center; height: 44px; padding: 2px; border-radius: 999px; background: var(--ks-surface); border: 1px solid var(--ks-line); }
.kdx-stepbtn { width: 38px; height: 38px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--ks-ink); display: grid; place-items: center; cursor: pointer; transition: background-color 160ms var(--ks-settling), transform 420ms var(--ks-spring); }
.kdx-stepbtn:active:not(:disabled) { transform: scale(0.92); }
.kdx-stepbtn:disabled { color: var(--ks-ink-3); cursor: default; }
.kdx-stepval { display: flex; align-items: center; justify-content: center; gap: 8px; min-width: 0; font-size: 14px; line-height: 20px; font-weight: 600; color: var(--ks-ink); font-variant-numeric: tabular-nums; white-space: nowrap; }
.kdx-stepval svg { flex: none; color: var(--ks-ink-2); }
.kdx-stepval span { overflow: hidden; text-overflow: ellipsis; }
@media (hover: hover) { .kdx-stepbtn:hover:not(:disabled) { background: var(--ks-hover); } }
.kdx .kdx-grid:not(.kdx-rows) { grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 24px 16px; }
.kdx-scores, .kdx-facts { display: flex; flex-wrap: wrap; gap: 4px 8px; margin-top: 8px; font-size: 12px; line-height: 16px; color: var(--ks-ink-2); font-variant-numeric: tabular-nums; }
.kdx-facts { margin-top: 4px; color: var(--ks-ink-2); }
.kdx-task { flex: none; margin-left: 4px; }
.kdx-scores b, .kdx-facts b { color: var(--ks-ink); font-weight: 600; }
.kdx-facts b { color: var(--ks-ink-2); }
.kdx-pend { color: var(--ks-ink-2); }
.kdx-warn { color: var(--ks-error); }
.kdx-ttags .kdx-hit { background: var(--ks-hover); color: var(--ks-ink); }
.kdx-grid.kdx-rows { display: flex; flex-direction: column; gap: 32px; }
.kdx-rows .kdx-row { display: grid; grid-template-columns: 96px minmax(0, 1fr) minmax(0, 240px); gap: 16px; align-items: start; }
.kdx-rows .kdx-row .kst-cover { width: 96px; }
@media (max-width: 719px) {
.kdx-rows .kdx-row { grid-template-columns: 80px minmax(0, 1fr); gap: 12px; }
.kdx-rows .kdx-row .kst-cover { width: 80px; }
.kdx-rows .kdx-row .kdx-rside { grid-column: 2; }
}
.kdx-rows .kdx-row .kdx-blurb { -webkit-line-clamp: 4; }
.kdx-rlen { margin-top: 4px; font-size: 12px; line-height: 16px; color: var(--ks-ink-2); font-variant-numeric: tabular-nums; }
.kdx-rside { display: flex; flex-direction: column; gap: 2px; font-size: 12px; line-height: 16px; color: var(--ks-ink-2); min-width: 0; }
.kdx-rside .kdx-scores, .kdx-rside .kdx-facts { margin-top: 4px; }
.kdx-rows .kdx-row .kdx-ttags { height: auto; max-height: 48px; }
.kdx-chead { grid-template-columns: 24px 40px minmax(0, 1fr) auto; }
.kdx-cpos { font-size: 13px; line-height: 18px; font-weight: 600; color: var(--ks-ink-3); text-align: right; font-variant-numeric: tabular-nums; }
.kdx-cname a { color: inherit; text-decoration: none; }
.kdx-cname a:hover { text-decoration: underline; text-decoration-color: var(--ks-ink-3); }
.kdx-cbadge { font-size: 12px; font-weight: 500; color: var(--ks-ink-2); margin-left: 8px; }
.kdx-cbadge.kdx-mass { color: var(--ks-ink-3); }
.kdx-cline, .kdx-cmeasures { display: flex; flex-wrap: wrap; gap: 2px 12px; font-size: 12px; line-height: 16px; color: var(--ks-ink-2); font-variant-numeric: tabular-nums; margin-top: 4px; }
.kdx-cmeasures { color: var(--ks-ink-2); }
.kdx-cline b, .kdx-cmeasures b { color: var(--ks-ink); font-weight: 600; }
.kdx-cmeasures b { color: var(--ks-ink-2); }
.kdx-crow .kdx-ttags { height: auto; max-height: 20px; margin-top: 8px; }
.kdx-cbots .kdx-tile .kdx-by { font-variant-numeric: tabular-nums; }
.kdx-overlay .kdx-box.kdx-wide { max-width: 960px; width: min(960px, calc(100vw - 32px)); }
.kdx-overlay .kdx-box.kdx-wide { height: min(86vh, 900px); }
@media (min-width: 720px) { .kdx-overlay .kdx-box.kdx-wide.kdx-cardbox { max-width: 1280px; width: min(1280px, calc(100vw - 48px)); height: min(90vh, 1000px); } }
.kdx-cardbox .kdx-sacts { justify-content: flex-end; }
.kdx-cardbox .kdx-sacts .ks-btn { flex: 0 0 auto; min-width: 120px; }
.kdx-cardbox .kdx-sacts #kdxUse { order: 9; }
.kdx-cardbox .kdx-sacts [data-kdx-back] { margin-right: auto; }
.kdx-box.kdx-wide .kdx-sbody, .kdx-box.kdx-held .kdx-sbody { height: auto; flex: 1 1 auto; min-height: 0; }
#kdxSheetMore { display: flex; flex-direction: column; gap: 16px; }
.kdx-cfacts[hidden] { display: none; }
.kdx-box.kdx-wide .kdx-grid { grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.kdx-cfacts { display: grid; grid-template-columns: repeat(auto-fill, minmax(112px, 1fr)); gap: 12px; }
.kdx-fact { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.kdx-fact b { font-size: 15px; line-height: 20px; font-weight: 650; color: var(--ks-ink); font-variant-numeric: tabular-nums; }
.kdx-fact span { font-size: 12px; line-height: 16px; color: var(--ks-ink-2); }
.kdx-sect { display: flex; flex-direction: column; gap: 12px; }
.kdx-sect-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.kdx-sect-head .ks-toggles { margin: 0; }
.kdx-hist { position: relative; min-height: 220px; }
.kdx-hist svg { display: block; width: 100%; overflow: visible; }
.kdx-hist .kdx-gl line { stroke: rgba(237, 237, 237, 0.08); stroke-dasharray: 2 4; }
.kdx-hist .kdx-axis text { font-size: 10.5px; fill: var(--ks-ink-2); font-variant-numeric: tabular-nums; }
.kdx-hist .kdx-trend { fill: none; stroke: var(--ks-ink-2); stroke-width: 1.5; stroke-linejoin: round; }
.kdx-hist .kdx-pt { fill: var(--ks-ink); fill-opacity: 0.45; transition: fill-opacity 0.15s ease, r 0.15s ease; }
.kdx-hist .kdx-pt.on { fill-opacity: 1; r: 6; }
.kdx-tip { position: absolute; z-index: 2; pointer-events: none; padding: 8px 12px; border-radius: 10px; background: var(--ks-raised); box-shadow: inset 0 0 0 1px var(--ks-line), 0 8px 24px rgba(0, 0, 0, 0.4); font-size: 12px; line-height: 16px; color: var(--ks-ink-2); max-width: 220px; }
.kdx-tip b { color: var(--ks-ink); font-weight: 600; }
.kdx-tip[hidden] { display: none; }
.kdx-hsum { display: flex; flex-wrap: wrap; gap: 2px 14px; font-size: 12px; line-height: 16px; color: var(--ks-ink-2); font-variant-numeric: tabular-nums; }
.kdx-hsum b { color: var(--ks-ink); font-weight: 600; }
.kdx-cap { margin: 0; font-size: 12px; line-height: 16px; color: var(--ks-ink-2); }
.kdx-showmore { align-self: center; }
.kdx-sfacts { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 12px; }
.kdx-sscores { display: flex; flex-direction: column; gap: 8px; font-size: 13px; line-height: 18px; color: var(--ks-ink-2); }
.kdx-sscores b { color: var(--ks-ink); font-weight: 600; }
.kdx-sscores .kdx-why { color: var(--ks-ink-2); font-size: 12px; line-height: 16px; }
.kdx-salt { display: flex; flex-direction: column; gap: 8px; }
.kdx-salt[hidden] { display: none; }
@media (max-width: 719px) {
.kdx-kind .kdx-look { display: none !important; }
.kdx-kind { flex-wrap: nowrap; }
.kdx-kind .ks-psort { min-width: 0; }
.kdx-kind [data-kdx-tabs] { flex: 0 1 auto; max-width: 100%; overflow-x: auto; overflow-y: hidden; overscroll-behavior-x: contain; scrollbar-width: none; }
.kdx-kind [data-kdx-tabs]::-webkit-scrollbar { display: none; }
.kdx-kind [data-kdx-tabs] .ks-toggle { flex: none; }
.kdx-askmore { display: none; }
.kdx-fynote:not([hidden]) { display: block; margin: 8px 12px 0; font-size: 13px; line-height: 18px; color: var(--ks-ink-2); }
.kdx-chips .kdx-morebtn, .kdx-chips .kdx-fybtn { flex: none; height: 36px; min-height: 36px; border-radius: 999px; padding: 0 12px; gap: 8px; font-size: 13px; font-weight: 600; }
.kdx-phonemore { display: flex; flex-direction: column; gap: 20px; padding: 16px 12px 4px; }
.kdx-phonemore[hidden] { display: none; }
.kdx-chead { grid-template-columns: 20px 40px minmax(0, 1fr); gap: 8px; align-items: start; }
.kdx-chead > .ks-btn { grid-column: 3; justify-self: start; }
.kdx-chead .kdx-cpos, .kdx-chead .kdx-cface { margin-top: 2px; }
.kdx-summary { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.kdx-summary.kdx-open { display: block; }
.kdx-overlay .kdx-box.kdx-wide { width: 100%; }
.kdx-overlay .kdx-box.kdx-wide { height: 88vh; }
.kdx-box.kdx-wide .kdx-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.kdx-hist { min-height: 180px; }
}
.kdx-cardhead { grid-template-columns: 72px minmax(0, 1fr); gap: 12px; }
.kdx-cardhead .kst-cover { width: 72px; }
.kdx-viewbar { flex: none; }
.kdx-viewbar .ks-toggles { margin: 0; }
.kdx-view { display: flex; flex-direction: column; gap: 16px; }
.kdx-view[hidden] { display: none !important; }
.kdx-viewbody[data-view="page"] { overflow: hidden; overflow: clip; }
.kdx-view[data-kdx-pane="page"] { flex: 1 1 auto; min-height: 0; }
.kdx-pageview { position: relative; flex: 1 1 auto; min-height: 320px; border-radius: 12px; overflow: hidden; overflow: clip; background: var(--ks-surface); box-shadow: inset 0 0 0 1px var(--ks-line); }
.kdx-sv { display: grid; grid-template-columns: minmax(240px, 449px) minmax(0, 1fr); gap: 24px; flex: 1 1 auto; min-height: 0; }
.kdx-sv[data-site="janitor"] { grid-template-columns: 193px minmax(0, 1fr); }
.kdx-sv-col { display: flex; flex-direction: column; gap: 8px; min-width: 0; min-height: 0; }
.kdx-sv-tilecol { max-width: 449px; }
.kdx-sv .kdx-scap { margin: 0; }
.kdx-sv-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; }
.kdx-sv-bar .ks-toggles { margin: 0; }
.kdx-sv-tilebox { position: relative; flex: none; overflow: hidden; overflow: clip; }
.kdx-sv-tilecol { overflow-y: auto; overscroll-behavior: contain; scrollbar-width: none; }
.kdx-sv-tile { position: absolute; left: 0; top: 0; border: 0; transform-origin: 0 0; opacity: 0; transition: opacity 200ms var(--ks-settling); }
.kdx-sv-tile.kdx-on { opacity: 1; }
.kdx-sv-tilebox:has(.kdx-on) .kdx-pageskel, .kdx-sv .kdx-pageview:has(.kdx-page.kdx-on) .kdx-pageskel { display: none; }
.kdx-sv .kdx-page { right: auto; bottom: auto; transform-origin: 0 0; }
.kdx-cardbox .kdx-scap { color: var(--ks-ink-2); }
.kdx-pageskel { position: absolute; inset: 0; background: var(--ks-surface); animation: kdxBreathe 1.6s ease-in-out infinite; }
.kdx-page { position: absolute; left: 0; top: 0; width: 100%; height: 100%; border: 0; opacity: 0; transition: opacity 200ms var(--ks-settling); }
.kdx-page.kdx-on { opacity: 1; }
.kdx-gbar { position: sticky; top: 0; z-index: 1; display: flex; justify-content: center; padding: 0 0 8px; background: var(--ks-raised); }
.kdx-gbar[hidden] { display: none; }
.kdx-gbar .kdx-step { width: min(100%, 240px); }
.kdx-gmsg { display: flex; flex-direction: column; gap: 8px; }
.kdx-gwho { display: flex; align-items: center; gap: 8px; font-size: 14px; line-height: 20px; color: var(--ks-ink); }
.kdx-gwho b { font-weight: 600; }
.kdx-gface { flex: none; width: 32px; height: 32px; border-radius: 50%; overflow: hidden; background: var(--ks-surface); }
.kdx-gface img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kdx-md { position: relative; contain: paint; min-width: 0; font-size: 15px; line-height: 23px; color: var(--ks-ink); overflow-wrap: anywhere; }
.kdx-md > :first-child { margin-top: 0; }
.kdx-md > :last-child { margin-bottom: 0; }
.kdx-md p { margin: 0 0 12px; }
.kdx-md em { color: var(--ks-ink-2); }
.kdx-md strong { font-weight: 650; }
.kdx-md a { color: var(--ks-ink); text-decoration: underline; text-underline-offset: 2px; }
.kdx-md img { max-width: 100%; height: auto; border-radius: 10px; }
.kdx-md h1, .kdx-md h2, .kdx-md h3, .kdx-md h4, .kdx-md h5, .kdx-md h6 { margin: 16px 0 8px; font-size: 16px; line-height: 22px; font-weight: 650; }
.kdx-md h1 { font-size: 20px; line-height: 26px; }
.kdx-md h2 { font-size: 18px; line-height: 24px; }
.kdx-md blockquote { margin: 0 0 12px; padding: 0 0 0 12px; border-left: 2px solid var(--ks-line); color: var(--ks-ink-2); }
.kdx-md hr { border: 0; border-top: 1px solid var(--ks-line); margin: 16px 0; }
.kdx-md ul, .kdx-md ol { margin: 0 0 12px; padding-left: 24px; }
.kdx-md code { font-family: ui-monospace, Menlo, Consolas, monospace; font-size: 13px; padding: 0 4px; border-radius: 6px; background: var(--ks-surface); }
.kdx-md pre { margin: 0 0 12px; padding: 12px; border-radius: 10px; background: var(--ks-surface); overflow-x: auto; }
.kdx-md pre code { padding: 0; background: none; }
.kdx-md table { border-collapse: collapse; margin: 0 0 12px; }
.kdx-md td, .kdx-md th { border: 1px solid var(--ks-line); padding: 4px 8px; }
.kdx-mdq { font-size: 14px; line-height: 21px; color: var(--ks-ink-2); }
.kdx-mdq em { color: var(--ks-ink-3); }
@media (max-width: 719px) {
.kdx-cardhead { grid-template-columns: 56px minmax(0, 1fr); }
.kdx-cardhead .kst-cover { width: 56px; }
.kdx-viewbar .ks-toggles { width: 100%; }
.kdx-viewbar .ks-toggle { flex: 1 1 0; min-width: 0; padding: 0 8px; }
}
.ks-chassis .pane .kdx-box .kdx-viewbody { flex: none; height: max(320px, calc(86vh - 248px)); }
@media (max-width: 760px) {
.kdx-sv, .kdx-sv[data-site="janitor"] { display: flex; flex-direction: column; flex: none; gap: 16px; }
.kdx-sv-col { flex: none; }
.kdx-sv-tilecol { overflow: visible; }
.kdx-sv-tilecol { max-width: none; align-items: center; }
.kdx-sv-tilecol .kdx-sv-bar { align-self: stretch; min-height: 0; }
.kdx-sv .kdx-pageview { flex: none; height: min(68vh, 600px); min-height: 400px; }
.kdx-viewbody[data-view="page"] { overflow-y: auto; overflow-x: clip; }
.kdx-cardbox .kdx-sacts .ks-btn { flex: 1 1 0; min-width: 0; white-space: nowrap; padding-left: 12px; padding-right: 12px; gap: 6px; }
.kdx-cardbox .kdx-sacts .ks-btn svg { flex: none; }
.kdx-cardbox .kdx-sacts .ks-btn span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.kdx-cardbox .kdx-sacts #kdxUse { order: -1; flex: 1 1 100%; }
.kdx-cardbox .kdx-sacts .kdx-pre { display: none; }
}
.kdx.kdx-cp-on > .ks-side, .kdx.kdx-cp-on > .kdx-main { display: none; }
.kdx-cp { grid-column: 1 / -1; width: 100%; max-width: 1280px; margin: 0 auto; padding-bottom: 64px; display: grid; grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "bar bar" "head acts" "eng eng" "views views" "body body" "err err"; column-gap: 24px; align-items: end; }
.kdx-cp-bar { grid-area: bar; position: sticky; top: 0; z-index: 4; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 12px; height: 56px; margin: 0 -24px 12px; padding: 0 24px; background: var(--ks-canvas); box-shadow: 0 1px 0 transparent; transition: box-shadow 200ms var(--ks-settling); }
.kdx-cp-bar.kdx-cp-scrolled { box-shadow: 0 1px 0 var(--ks-line); }
.kdx-cp-bar > .kg-back { justify-self: start; }
.kdx-cp-small { min-width: 0; text-align: center; font-size: 15px; line-height: 20px; font-weight: 600; color: var(--ks-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transition: opacity 200ms var(--ks-settling); }
.kdx-cp-scrolled .kdx-cp-small { opacity: 1; }
.kdx-cp-marks { justify-self: end; min-width: 96px; display: flex; align-items: center; justify-content: flex-end; gap: 4px; }
.kdx-mark { appearance: none; position: relative; width: 44px; height: 44px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--ks-ink-2); display: grid; place-items: center; cursor: pointer; transition: transform 420ms var(--ks-spring), color 160ms linear; }
.kdx-mark svg { width: 22px; height: 22px; transition: fill 160ms linear; }
.kdx-mark:active { transform: scale(0.88); }
.kdx-mark[aria-pressed="true"] { color: var(--ks-ink); }
.kdx-mark[aria-pressed="true"] svg { fill: currentColor; }
.kdx-mark[disabled] { color: var(--ks-ink-4); cursor: default; }
@media (prefers-reduced-motion: reduce) { .kdx-mark, .kdx-mark svg { transition: none; } }
.kdx-cp-head { grid-area: head; display: grid; grid-template-columns: 112px minmax(0, 1fr); gap: 20px; align-items: end; min-width: 0; }
.kdx-cp-cover { width: 112px; border-radius: 12px; }
.kdx-cp-id { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.kdx-cp-name { margin: 0; font-size: 1.75rem; line-height: 1.15; font-weight: 700; letter-spacing: -0.01em; color: var(--ks-ink); overflow-wrap: anywhere; }
.kdx-cp-name:focus { outline: none; }
.kdx-cp .kdx-sby { margin: 0; font-size: 14px; line-height: 20px; }
.kdx-cp-when { margin: 0; font-size: 13px; line-height: 18px; color: var(--ks-ink-3); }
.kdx-cp-when:empty { display: none; }
.kdx-cp-acts { grid-area: acts; justify-content: flex-end; flex-wrap: nowrap; }
.kdx-cp-acts .ks-btn { flex: 0 0 auto; white-space: nowrap; }
.kdx-dl { display: inline-flex; flex: 0 0 auto; }
.kdx-dl .kg-select { width: auto; }
.kdx-dl .kg-select-button { height: 37px; min-height: 37px; padding: 6px 16px; gap: 4px; justify-content: center; border: 0; border-radius: 999px !important; background: var(--ks-surface) !important; color: var(--ks-ink); font-size: 14px; font-weight: 600; box-shadow: none; }
.kdx-dl .kg-select-button .kg-select-label, .kdx-dl .kg-select-button svg:not(:first-child) { display: none; }
.kdx-dl .kg-select-button svg:first-child { width: 16px; height: 16px; color: inherit; }
.kdx-dl .kg-select.open .kg-select-button svg { transform: none; }
.kdx-dl .kg-select-menu { min-width: 0; width: 168px; left: auto; right: 0; }
.kdx-cp-copy { color: var(--ks-ink-3); font-size: 13px; line-height: 18px; }
.kdx-cp-eng { grid-area: eng; margin-top: 32px; padding: 20px 0; border-top: 1px solid var(--ks-line); border-bottom: 1px solid var(--ks-line); display: grid; grid-template-columns: minmax(0, 1fr) minmax(240px, 360px); gap: 12px 40px; align-items: start; }
.kdx-cp-eng > .kdx-scap { grid-column: 1 / -1; margin: 0; }
.kdx-cp-nums { display: flex; flex-wrap: wrap; gap: 16px 36px; min-width: 0; }
.kdx-num { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.kdx-num b { font-size: 28px; line-height: 32px; font-weight: 650; letter-spacing: -0.01em; color: var(--ks-ink); font-variant-numeric: tabular-nums; }
.kdx-num span { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; line-height: 18px; color: var(--ks-ink-2); white-space: nowrap; }
.kdx-num svg { flex: none; color: var(--ks-ink-3); }
.kdx-cp-trend { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.kdx-cp-spark { margin: 0; display: flex; flex-direction: column; gap: 4px; }
.kdx-cp-spark svg { display: block; width: 100%; height: 56px; }
.kdx-cp-spark svg { border-bottom: 1px solid var(--ks-line); }
.kdx-cp-spark rect { fill: var(--ks-ink-2); fill-opacity: 0.6; }
.kdx-cp-spark rect.kdx-cp-guess { fill-opacity: 0.3; }
.kdx-cp-spark figcaption { display: flex; justify-content: space-between; gap: 12px; font-size: 12px; line-height: 16px; color: var(--ks-ink-2); font-variant-numeric: tabular-nums; }
.kdx-cp-gains { margin: 0; font-size: 13px; line-height: 20px; min-height: 80px; color: var(--ks-ink-2); }
.kdx-cp-gains b { color: var(--ks-ink); font-weight: 600; font-variant-numeric: tabular-nums; }
.kdx-cp > .kdx-viewbar { grid-area: views; margin-top: 28px; }
.kdx-cp > .kdx-viewbody { grid-area: body; margin-top: 20px; height: auto; overflow: visible; display: block; }
.kdx-cp > .kdx-serr { grid-area: err; margin-top: 12px; }
.kdx-cp .kdx-sv .kdx-pageview { height: min(78vh, 900px); }
.kdx-cp .kdx-sv-tilecol { max-height: min(78vh, 900px); }
.kdx-cp .kdx-gbar { position: static; background: none; }
.kdx-cp .kdx-scap { color: var(--ks-ink-2); }
.kdx-cp [data-kdx-pane="details"] { max-width: 820px; }
.kdx-cp-scores { padding-top: 16px; border-top: 1px solid var(--ks-line); }
@media (max-width: 760px) {
.kdx-cp { grid-template-columns: minmax(0, 1fr); grid-template-areas: "bar" "head" "eng" "views" "body" "err" "acts"; padding-bottom: 0; align-items: stretch; }
.kdx-cp-bar { margin: 0 -12px 8px; padding: 0 12px; height: 52px; }
.kdx-cp-marks { min-width: 0; }
.kdx-cp-small { text-align: left; }
.kdx-cp-head { grid-template-columns: 88px minmax(0, 1fr); gap: 16px; }
.kdx-cp-cover { width: 88px; }
.kdx-cp-name { font-size: 1.375rem; line-height: 1.2; }
.kdx-cp-eng { margin-top: 24px; grid-template-columns: minmax(0, 1fr); gap: 16px; }
.kdx-cp-nums { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.kdx-num b { font-size: 24px; line-height: 28px; }
.kdx-cp > .kdx-viewbar { margin-top: 24px; }
.kdx-cp > .kdx-viewbar .ks-toggles { width: 100%; }
.kdx-cp > .kdx-viewbar .ks-toggle { flex: 1 1 0; min-width: 0; padding: 0 8px; }
.kdx-cp > .kdx-viewbody { margin-top: 16px; }
.kdx-cp-acts { position: sticky; bottom: 0; z-index: 3; margin: 24px -12px 0; padding: 12px 12px calc(12px + env(safe-area-inset-bottom, 0px)); background: var(--ks-canvas); box-shadow: 0 -1px 0 var(--ks-line); flex-wrap: wrap; justify-content: stretch; }
.kdx-cp-acts .ks-btn { flex: 1 1 0; min-width: 0; padding-left: 12px; padding-right: 12px; gap: 6px; }
.kdx-cp-acts .ks-btn svg { flex: none; }
.kdx-cp-acts .ks-btn span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.kdx-cp-acts #kdxUse { order: -1; flex: 1 1 100%; }
.kdx-cp-acts .kdx-dl { flex: 0 0 auto; }
.kdx-cp-acts .kdx-dl .kg-select-button { width: 44px; min-width: 44px; height: 44px; padding: 0; }
.kdx-cp-acts .kdx-dl-word { display: none; }
.kdx-cp-acts .kdx-pre { display: none; }
}
.kdx-trends { display: flex; flex-direction: column; gap: 48px; }
.kdx-trends[hidden] { display: none !important; }
.kdx-yours { display: flex; flex-direction: column; gap: 16px; }
.kdx-yours[hidden] { display: none !important; }
.kdx-yourslist { align-self: flex-start; margin: 0; }
.kdx[data-kdx-on="yours"] .kdx-live { display: none; }
.kdx[data-kdx-on="yours"] { grid-template-columns: minmax(0, 1fr); }
.kdx[data-kdx-on="yours"] > .ks-side, .kdx[data-kdx-on="yours"] .kdx-phonebar { display: none; }
.kdx-yempty { grid-column: 1 / -1; margin: 0; padding: 24px 0; color: var(--ks-ink-2); font-size: 15px; line-height: 22px; }
.kdx-tsite { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.kdx-tlist { display: flex; flex-direction: column; gap: 48px; min-width: 0; }
.kdx-tsec { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.kdx-thead { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 288px); gap: 8px 32px; align-items: end; }
.kdx-tmain { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.kdx-ttop { display: flex; align-items: center; gap: 4px; min-width: 0; }
.kdx-ttop .kdx-tname { margin-right: 4px; }
.kdx-tname { display: inline-flex; align-items: center; gap: 4px; min-width: 0; padding: 0; margin: 0; border: 0; background: none; color: var(--ks-ink); font: inherit; font-size: 20px; line-height: 26px; font-weight: 600; letter-spacing: -0.01em; text-align: left; cursor: pointer; overflow-wrap: anywhere; }
.kdx-tname svg { flex: none; width: 16px; height: 16px; color: var(--ks-ink-3); }
.kdx-tadd { flex: none; }
.kdx-tadd[aria-pressed="true"] { color: var(--ks-ink); background: var(--ks-surface); }
.kdx-tline { margin: 0; font-size: 13px; line-height: 18px; color: var(--ks-ink-2); font-variant-numeric: tabular-nums; }
.kdx-tline b { color: var(--ks-ink); font-weight: 600; }
.kdx-tchart { margin: 0; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.kdx-tcap { font-size: 11px; line-height: 14px; color: var(--ks-ink-3); }
.kdx-tbars { display: flex; align-items: flex-end; gap: 4px; height: 40px; border-bottom: 1px solid var(--ks-line); }
.kdx-tbars span { flex: 1 1 0; min-height: 2px; border-radius: 2px 2px 0 0; background: var(--ks-ink-3); }
.kdx-tbars span:last-child { background: var(--ks-ink); }
.kdx-taxis { display: flex; justify-content: space-between; gap: 8px; font-size: 11px; line-height: 14px; color: var(--ks-ink-3); font-variant-numeric: tabular-nums; }
.kdx-taxis b { color: var(--ks-ink-2); font-weight: 600; }
.kdx-tshare { display: flex; align-items: center; flex-wrap: wrap; gap: 4px; font-size: 12px; line-height: 16px; color: var(--ks-ink-2); font-variant-numeric: tabular-nums; }
.kdx-tshare b { color: var(--ks-ink); font-weight: 600; }
.kdx-tshare svg { width: 12px; height: 12px; color: var(--ks-ink-3); }
.kdx-shelf-wrap { position: relative; margin: 0 -12px; min-width: 0; }
.kdx-shelf { display: flex; align-items: stretch; gap: 12px; padding: 0 12px 2px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; scroll-snap-type: x proximity; scroll-padding: 0 12px; }
.kdx-shelf::-webkit-scrollbar { display: none; }
.kdx-shelf > .kst-tile { flex: 0 0 140px; scroll-snap-align: start; }
.kdx-shelf .kdx-tile { container-type: inline-size; }
.kdx-shelf .kst-name { font-size: 14px; line-height: 19px; }
.kdx-shelf .kdx-blurb, .kdx-shelf .kdx-ttags, .kdx-shelf .kdx-facts, .kdx-shelf .kdx-site { display: none; }
.kdx-seeall { flex: 0 0 88px; scroll-snap-align: start; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; padding: 0; border: 0; background: none; color: var(--ks-ink-2); font: inherit; font-size: 13px; line-height: 18px; font-weight: 600; cursor: pointer; }
.kdx-seeall-disc { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; background: var(--ks-surface); color: var(--ks-ink); }
.kdx-seeall-disc svg { width: 16px; height: 16px; }
.kdx-tshare { margin: 0; }
.kdx-sarrow { position: absolute; top: 72px; z-index: 2; display: none; }
.kdx-sarrow[data-dir="-1"] { left: 8px; }
.kdx-sarrow[data-dir="1"] { right: 8px; }
.kdx-sarrow[hidden] { display: none !important; }
.kdx-sempty, .kdx-serror { flex: 1 1 auto; display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 0; padding: 12px 0; font-size: 13px; line-height: 18px; color: var(--ks-ink-2); }
.kdx-tnone { padding: 12px 0; }
@media (min-width: 720px) {
.kdx-shelf-wrap { margin: 0; }
.kdx-shelf { padding: 0 0 2px; scroll-padding: 0; gap: 16px; }
.kdx-shelf > .kst-tile { flex-basis: 176px; }
}
@media (min-width: 720px) and (hover: hover) {
.kdx-shelf-wrap:hover .kdx-sarrow:not([hidden]), .kdx-sarrow:focus-visible { display: inline-flex; }
}
@media (max-width: 719px) {
.kdx-thead { grid-template-columns: minmax(0, 1fr); gap: 12px; }
.kdx-tbars { height: 32px; }
}
.kdx-trow { display: grid; grid-template-columns: minmax(0, 1fr) 96px 76px; align-items: center; gap: 16px; min-height: 64px; padding: 8px 0; }
.kdx-tspark { display: block; width: 96px; height: 28px; }
.kdx-skel-row.kdx-trow .kdx-tmain { gap: 8px; width: 60%; }
.kdx-skel-row .kdx-tspark { background: var(--ks-surface); border-radius: 4px; }
.kdx-skel-row .kdx-tfaces { display: block; width: 76px; height: 32px; }
.kdx-tsec.kdx-skel-row .kdx-tchart { height: 96px; background: var(--ks-surface); border-radius: 6px; }
@media (max-width: 719px) { .kdx-tsec.kdx-skel-row .kdx-tchart { height: 88px; } }
.kdx-tsec.kdx-skel-row .kdx-shelf { overflow: hidden; }
.kdx-fybtn { color: var(--ks-ink-2); }
.kdx-fybtn[aria-pressed="true"] { color: var(--ks-ink); background: var(--ks-hover); border-color: var(--ks-ink-3); }
.kdx-fynote { display: none; }
.kdx-tlstrip { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 4px; }
.kdx-customdays { margin-top: 12px; }
.kdx-fyedit { align-self: flex-start; }
.kdx-presetlist { display: flex; flex-direction: column; gap: 4px; }
.kdx-preset { display: flex; align-items: center; gap: 4px; border-radius: 10px; }
.kdx-preset.active { background: var(--ks-hover); }
.kdx-presetbtn { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; min-height: 36px; padding: 0 12px; border: 0; background: transparent; color: var(--ks-ink-2); font: inherit; font-size: 14px; line-height: 20px; text-align: left; cursor: pointer; border-radius: 10px; }
.kdx-presetbtn span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.kdx-preset.active .kdx-presetbtn { color: var(--ks-ink); font-weight: 600; }
.kdx-presetmenu { flex: none; display: inline-flex; }
.kdx-presetmenu .kg-select { width: auto; }
.kdx-presetmenu .kg-select-button { height: 32px; min-height: 32px; width: 32px; padding: 0; gap: 0; justify-content: center; border: 0 !important; border-radius: 50% !important; background: transparent !important; box-shadow: none !important; color: var(--ks-ink-3); }
.kdx-preset.active .kdx-presetmenu .kg-select-button, .kdx-presetmenu .kg-select.open .kg-select-button { color: var(--ks-ink-2); }.kdx-presetmenu .kg-select-button .kg-select-label, .kdx-presetmenu .kg-select-button svg:not(:first-child) { display: none; }
.kdx-presetmenu .kg-select-button svg:first-child { width: 16px; height: 16px; color: inherit; }
.kdx-presetmenu .kg-select.open .kg-select-button svg { transform: none; }
.kdx-presetmenu .kg-select-menu { min-width: 0; width: 152px; left: auto; right: 0; }
.kdx-endacts { display: flex; flex-direction: column; gap: 8px; }
.kdx-endacts .ks-btn { width: 100%; }
.kdx-presetsave { gap: 8px; }
.kdx-askname { display: flex; flex-direction: column; gap: 12px; margin: 4px 0 8px; text-align: left; }
.kdx-askname .ks-field input { width: 100%; }
.kdx-ob { grid-column: 1 / -1; width: 100%; max-width: 760px; margin: 0 auto; min-height: calc(100dvh - 120px); display: flex; flex-direction: column; }
.kdx-ob-bar { position: sticky; top: 0; z-index: 4; display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; height: 56px; background: var(--ks-canvas); }
.kdx-ob-bar > :first-child { justify-self: start; }
.kdx-ob-later { min-height: 44px; }
.kdx-ob-dots { display: flex; gap: 8px; align-items: center; }
.kdx-ob-dots i { width: 6px; height: 6px; border-radius: 3px; background: var(--ks-ink-3); transition: width 320ms var(--ks-spring), background-color 200ms var(--ks-settling); }
.kdx-ob-dots i.on { width: 20px; background: var(--ks-ink); }
.kdx-ob-body { padding: 8px 0 24px; }
.kdx-ob-title { font-size: 2rem; line-height: 1.15; font-weight: 700; letter-spacing: -0.015em; margin: 24px 0 12px; outline: none; }
.kdx-ob-lead { font-size: 16px; line-height: 24px; color: var(--ks-ink-2); margin: 0 0 24px; max-width: 58ch; }
.kdx-ob-link { display: flex; gap: 8px; align-items: center; }
.kdx-ob-link .ks-field { flex: 1 1 auto; min-width: 0; }
.kdx-ob-err { color: var(--ks-error); font-size: 13px; line-height: 18px; margin: 8px 0 0; }
.kdx-ob-err:empty { display: none; }
.kdx-ob-found { margin-top: 24px; }
.kdx-ob-found:empty { display: none; }
.kdx-ob-who { display: flex; gap: 12px; align-items: center; }
.kdx-ob-who b { display: block; font-size: 17px; line-height: 22px; }
.kdx-ob-who div > span { display: block; font-size: 13px; line-height: 18px; color: var(--ks-ink-2); }
.kdx-ob-face { flex: none; width: 48px; height: 48px; border-radius: 50%; overflow: hidden; display: grid; place-items: center; background: var(--ks-surface); font-weight: 600; }
.kdx-ob-face img { width: 100%; height: 100%; object-fit: cover; }
.kdx-ob-note { font-size: 15px; line-height: 22px; color: var(--ks-ink-2); margin: 16px 0 0; }
.kdx-ob-note b { color: var(--ks-ink); font-weight: 600; }
.kdx-ob-quiet { font-size: 13px; line-height: 18px; color: var(--ks-ink-3); margin-top: 8px; }
.kdx-ob-body .ks-fgroup { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.kdx-ob-chip { gap: 4px; }
.kdx-ob-chip svg { flex: none; }
.kdx-ob-chip.kdx-never { color: var(--ks-ink-3); text-decoration: line-through; }
.kdx-ob-seg { align-self: flex-start; }
.kdx-ob-acts { margin-top: auto; display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 8px; padding: 24px 0 32px; }
.kdx-ob-insights { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 48px; }
.kdx-ob-insight { padding: 24px 0; border-top: 1px solid var(--ks-line); min-width: 0; }
.kdx-ob-insight.kdx-ob-coach, .kdx-ob-insights > .kdx-ob-insight:nth-child(n+3) { grid-column: 1 / -1; }
.kdx-ob-big { font-size: 56px; line-height: 1; font-weight: 700; letter-spacing: -0.03em; margin: 0 0 12px; font-variant-numeric: tabular-nums; }
.kdx-ob-says { font-size: 15px; line-height: 22px; color: var(--ks-ink-2); margin: 0 0 16px; }
.kdx-ob-chart { margin: 0; }
.kdx-ob-chart svg { display: block; width: 100%; height: 96px; border-bottom: 1px solid var(--ks-line); }
.kdx-ob-chart rect { fill: var(--ks-ink-3); }
.kdx-ob-chart rect.on { fill: var(--ks-ink); }
.kdx-ob-axis { display: grid; margin-top: 8px; font-size: 11px; line-height: 14px; color: var(--ks-ink-3); text-align: center; font-variant-numeric: tabular-nums; }
.kdx-ob-axis b { display: block; font-size: 12px; font-weight: 600; color: var(--ks-ink-2); }
.kdx-ob-axis .on b { color: var(--ks-ink); }
.kdx-ob-coach ul { margin: 12px 0 0; padding-left: 16px; }
.kdx-ob-coach li { font-size: 15px; line-height: 22px; margin: 8px 0; }
@media (max-width: 760px) {
.kdx-trow { grid-template-columns: minmax(0, 1fr) 56px; gap: 12px; }
.kdx-tspark { width: 56px; }
.kdx-ob { min-height: calc(100dvh - 64px); }
.kdx-ob-bar { margin: 0 -12px; padding: 0 12px; height: 52px; }
.kdx-ob-title { font-size: 1.625rem; margin-top: 12px; }
.kdx-ob-lead { font-size: 15px; line-height: 22px; }
.kdx-ob-link { flex-wrap: wrap; }
.kdx-ob-link > .ks-btn { flex: 1 1 100%; }
.kdx-ob-add > .ks-btn { flex: 0 0 auto; }
.kdx-ob-add { flex-wrap: nowrap; }
.kdx-ob-insights { grid-template-columns: minmax(0, 1fr); }
.kdx-ob-big { font-size: 48px; }
.kdx-ob-acts { position: sticky; bottom: 0; z-index: 3; margin: 0 -12px; padding: 12px 12px calc(12px + env(safe-area-inset-bottom, 0px)); background: var(--ks-canvas); box-shadow: 0 -1px 0 var(--ks-line); }
.kdx-ob-acts .ks-btn { flex: 1 1 0; min-width: 0; }
.kdx-ob-acts-end .ks-btn-primary { order: -1; flex: 1 1 100%; }
}
.kdx-ob .kdx-ob-acts:has(> [data-kdx-ob="noprofile"]) { position: static; margin: 0; padding: 16px 0 0; justify-content: flex-start; box-shadow: none; }
@media (prefers-reduced-motion: reduce) { .kdx-ob-dots i { transition: none; } }
@media (prefers-reduced-motion: reduce) { .kdx-pageskel { animation: none; } .kdx-page { transition: none; } }
@media (prefers-reduced-motion: reduce) { .kdx-grid[aria-busy="true"] .kdx-skel .kst-cover, .kdx-grid[aria-busy="true"] .kdx-skel-line, .kdx-skel-row .kst-cover, .kdx-skel-row .kdx-skel-line, .kdx-skel-row .kdx-cface { animation: none; } }
.ksc-tile .kst-initial { font-size: 40px; }
.ksc-by { display: inline-flex; align-items: center; gap: 8px; margin: 6px 0 0; min-width: 0; max-width: 100%; color: var(--ks-ink-2); text-decoration: none; font-size: 14px; line-height: 20px; }
.ksc-by:hover .ksc-by-name { color: var(--ks-ink); }
.ksc-av { flex: none; width: 24px; height: 24px; border-radius: 50%; overflow: hidden; background: var(--ks-surface-raised); display: grid; place-items: center; font-size: 12px; font-weight: 600; color: var(--ks-ink-2); }
.ksc-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ksc-by-name { color: var(--ks-ink); font-weight: 560; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; transition: color 0.2s ease; }
.ksc-by-handle { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ksc-head { grid-template-areas: "cover text" "acts acts"; row-gap: 16px; }
.ksc-head > .kst-cover { grid-area: cover; }
.ksc-head > .kst-headtext { grid-area: text; }
.ksc-acts { grid-area: acts; display: flex; flex-wrap: wrap; align-items: center; gap: 8px; min-width: 0; }
@media (max-width: 430px) { .ksc-acts:has(.ksc-write) .ks-btn svg { display: none; } }
@media (min-width: 768px) {
.ksc-head { grid-template-areas: "cover text" "cover acts"; grid-template-rows: 1fr auto; row-gap: 20px; align-items: end; }
.ksc-acts { align-self: start; }
}
.kst .ksc-acts .ks-btn { height: 36px; min-width: 0; padding: 0 16px; gap: 8px; font-size: 14px; }
.kst .ksc-acts .ks-btn svg { width: 16px; height: 16px; flex: none; }
.ksc-acts .kst-yg-menu .kg-select-button { width: 36px; height: 36px; min-height: 36px; flex-basis: 36px; }
.ksc-notes.kst-in, .ksc-queue.kst-in, .ksc-acts.kst-in, .ksc-by.kst-in, .ksc-quietline.kst-in { --kst-from: 0.98; }
.ksc-about { display: flex; flex-direction: column; gap: 16px; max-width: 68ch; }
.ksc-about .kst-tags { margin: 0; }
.ksc-label { margin: 0 0 8px; padding: 0; font-size: 0.8125rem; font-weight: 500; line-height: 1.4; letter-spacing: 0; color: var(--ks-ink-2); text-transform: none; }
.ksc-notes-text { font-size: 15px; line-height: 24px; color: var(--ks-ink); overflow-wrap: anywhere; }
.ksc-notes-text p { margin: 0 0 10px; }
.ksc-notes-text p:last-child { margin-bottom: 0; }
.ksc-notes[data-clamped="true"] .ksc-notes-text { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 5; overflow: hidden; }
.ksc-more { margin: 6px 0 0; padding: 0; border: 0; background: none; color: var(--ks-ink-2); font: inherit; font-size: 14px; line-height: 20px; cursor: pointer; }
.ksc-more:hover { color: var(--ks-ink); }
.ksc-more[hidden] { display: none; }
@media (pointer: coarse) { .ksc-more { position: relative; } .ksc-more::after { content: ""; position: absolute; inset: -12px -8px; } }
.ksc-quietline { margin: 16px 0 0; font-size: 14px; line-height: 20px; color: var(--ks-ink-2); }
.ksc-note { margin: 0; min-height: 0; font-size: 13px; line-height: 18px; color: var(--ks-ink-2); }
.ksc-note:empty { display: none; }
.ksc-note[data-state="bad"] { color: var(--ks-error); }
.ksc-count { margin-left: 4px; color: var(--ks-ink-2); font-variant-numeric: tabular-nums; }
.ksc-gwrap { position: relative; min-width: 0; }
.ksc-gwrap > .kst-gcard { display: block; }
.ksc-ghidden .kst-gcard .ks-mcard-img { opacity: 0.45; }
.ksc-eye { position: absolute; top: 8px; right: 8px; z-index: 2; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center; cursor: pointer; color: var(--ks-ink); background: var(--kammii-glass-tint-image, rgba(0, 0, 0, 0.62)); box-shadow: inset 0 0 0 1px var(--ks-line); transition: transform 0.36s var(--ks-spring); }
.ksc-eye:active { transform: scale(0.92); transition-duration: 0.08s; }
.ksc-eye svg { width: 16px; height: 16px; display: block; }
.ksc-eye span[hidden] { display: none; }
@media (pointer: coarse) { .ksc-eye::after { content: ""; position: absolute; inset: -6px; } }
.ksc-gstate[hidden] { display: none; }
.ksc-opening { position: absolute; inset: 0; margin: 0; padding: 14px 14px 64px; background: var(--ks-surface); }
.ksc-opening p { margin: 0; height: 100%; overflow: hidden; font-size: 14px; line-height: 20px; color: var(--ks-ink-2); overflow-wrap: anywhere; -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 40px), transparent); }
.ksc-gwrap .ksc-opening p { padding-right: 32px; }
.ksc-queue { margin: 0 0 24px; max-width: 760px; }
.ksc-queue .ksc-label { padding: 0 12px; }
.ksc-q-list { list-style: none; margin: 0; padding: 4px; border-radius: 16px; background: var(--ks-surface); display: flex; flex-direction: column; gap: 4px; }
.ksc-q { padding: 12px; border-radius: 12px; display: flex; flex-direction: column; gap: 4px; }
.ksc-q-text { margin: 0; font-size: 15px; line-height: 22px; color: var(--ks-ink); overflow-wrap: anywhere; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 4; overflow: hidden; }
.ksc-q-by { margin: 0; font-size: 13px; line-height: 18px; color: var(--ks-ink-2); }
.ksc-q-flag { display: flex; align-items: flex-start; gap: 8px; margin: 4px 0 0; font-size: 13px; line-height: 18px; color: var(--ks-ink); }
.ksc-q-flag svg { flex: none; width: 16px; height: 16px; margin-top: 1px; }
.ksc-q-by a, .ksc-credit { color: inherit; text-decoration: none; }
.ksc-q-by a:hover, .ksc-credit:hover { color: var(--ks-ink); }
.ksc-q-acts { display: flex; align-items: center; gap: 8px; margin-top: 8px; }
.ksc-q-hide { display: inline-flex; align-items: center; gap: 10px; margin-right: auto; font-size: 14px; color: var(--ks-ink-2); }
.kst .ksc-q-acts .ks-btn { height: 32px; min-width: 0; padding: 0 16px; font-size: 13px; line-height: 18px; }
.ksc-q[data-busy="true"] { opacity: 0.6; pointer-events: none; }
.ksc-veil { position: fixed; inset: 0; z-index: 10055; display: flex; align-items: flex-end; justify-content: center; background: rgba(0, 0, 0, 0.6); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); opacity: 0; pointer-events: none; transition: opacity 0.24s ease; }
.ksc-veil[hidden] { display: none; }
.ksc-veil.open { opacity: 1; pointer-events: auto; }
.ksc-sheet { display: flex; flex-direction: column; width: 100%; max-width: 540px; max-height: 88vh; max-height: 88dvh; border-radius: 22px 22px 0 0; overflow: hidden; background: var(--ks-raised); color: var(--ks-ink); box-shadow: inset 0 0 0 1px var(--ks-line); transform: translateY(28px); transition: transform 0.34s cubic-bezier(0.22, 1, 0.36, 1); }
.ksc-veil.open .ksc-sheet { transform: translateY(0); }
@media (min-width: 720px) {
.ksc-veil { align-items: center; padding: 24px; }
.ksc-sheet { border-radius: 22px; max-height: 82vh; }
.ksc-veil .ksc-sheet { transform: translateY(14px) scale(0.985); }
.ksc-veil.open .ksc-sheet { transform: none; }
}
@media (prefers-reduced-motion: reduce) {
.ksc-veil, .ksc-sheet { transition: opacity 0.12s ease; }
.ksc-sheet, .ksc-veil .ksc-sheet, .ksc-veil.open .ksc-sheet { transform: none; }
}
.ksc-sheet-head { flex: none; display: flex; align-items: center; gap: 8px; padding: 16px 12px 8px 16px; }
.ksc-sheet-back + .ksc-sheet-title { margin-left: 0; }
.ksc-sheet-title { flex: 1 1 auto; min-width: 0; margin: 0; font-size: 1.25rem; font-weight: 650; line-height: 1.2; letter-spacing: -0.01em; color: var(--ks-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ksc-sheet-back:not([hidden]) { margin-left: -6px; }
.ksc-sheet-body { flex: 1 1 auto; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 8px 16px calc(24px + env(safe-area-inset-bottom)); display: flex; flex-direction: column; gap: 24px; }
.ksc-sheet-lede { margin: 0; font-size: 14px; line-height: 20px; color: var(--ks-ink-2); }
.ksc-sheet-foot { display: flex; justify-content: flex-end; gap: 8px; }
.ksc-sheet-small { max-width: 480px; }
.ksc-sect { min-width: 0; }
.ksc-sect-head { display: flex; align-items: center; gap: 8px; min-height: 28px; margin-bottom: 8px; padding: 0 6px 0 16px; }
.ksc-sect-label { margin: 0 0 8px; padding: 0 16px; font-size: 0.8125rem; font-weight: 500; line-height: 1.4; letter-spacing: 0; color: var(--ks-ink-2); }
.ksc-sect-head .ksc-sect-label { margin: 0; padding: 0; }
.ksc-sect-action { margin-left: auto; }
.ksc-group { background: var(--ks-surface); border-radius: 16px; padding: 4px 16px; }
.ksc-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 52px; padding: 6px 0; min-width: 0; }
.ksc-sheet-back[hidden] { display: none; }
.ksc-row-text { min-width: 0; flex: 1 1 auto; display: flex; flex-direction: column; }
.ksc-row-name { font-size: 15px; line-height: 20px; color: var(--ks-ink); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ksc-row-sub { font-size: 13px; line-height: 18px; color: var(--ks-ink-2); overflow-wrap: anywhere; }
.ksc-row-end { flex: none; display: flex; align-items: center; gap: 4px; }
.ksc-row .kg-select { width: auto; min-width: 176px; }
.ksc-row .kg-select-button { min-height: 36px; padding: 8px 12px; font-size: 14px; }
.ksc-row .kg-select-menu { min-width: 100%; }
.ksc-row button.ksc-row-main { all: unset; box-sizing: border-box; display: flex; align-items: center; gap: 12px; flex: 1 1 auto; min-width: 0; min-height: 52px; cursor: pointer; }
.ksc-empty { padding: 14px 0; font-size: 14px; line-height: 20px; color: var(--ks-ink-2); }
.ksc-add { display: flex; align-items: center; gap: 8px; padding: 8px 0; }
.ksc-add input { flex: 1 1 auto; min-width: 0; height: 40px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--ks-line); background: var(--ks-surface); color: var(--ks-ink); font: inherit; font-size: 15px; }
.ksc-add input:focus, .ksc-field input:focus, .ksc-rename:focus, .ksc-sheet .ks-field textarea:focus { border-color: var(--ks-line); background: var(--ks-surface-raised); }
.ksc-add .ks-btn, .ksc-sheet .ks-btn { height: 36px; min-width: 0; padding: 0 16px; font-size: 14px; line-height: 20px; }
.ksc-field { display: flex; flex-direction: column; gap: 8px; }
.ksc-field label { padding: 0 16px; font-size: 0.8125rem; font-weight: 500; line-height: 1.4; color: var(--ks-ink-2); }
.ksc-field input { height: 40px; padding: 0 14px; border-radius: 10px; border: 1px solid var(--ks-line); background: var(--ks-surface); color: var(--ks-ink); font: inherit; font-size: 15px; }
.ksc-sheet .ks-field textarea { width: 100%; min-height: 160px; padding: 12px 14px; border-radius: 12px; border: 1px solid var(--ks-line); background: var(--ks-surface); color: var(--ks-ink); font: inherit; font-size: 15px; line-height: 22px; resize: vertical; }
.ksc-copy { position: relative; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center; background: var(--ks-surface-raised); color: var(--ks-ink); cursor: pointer; flex: none; transition: transform 0.36s var(--ks-spring); }
.ksc-copy:active { transform: scale(0.92); transition-duration: 0.08s; }
.ksc-copy svg { width: 16px; height: 16px; }
.ksc-copy[data-done="true"] { width: auto; padding: 0 12px; border-radius: 999px; font-size: 13px; }
@media (pointer: coarse) { .ksc-copy::after { content: ""; position: absolute; inset: -6px; } }
.ksc-row .kst-yg-menu .kg-select { min-width: 0; }
.ksc-row .kst-yg-menu .kg-select-button { min-height: 32px; padding: 0; }
.ksc-row .kst-yg-menu .kg-select-menu { min-width: 0; width: 168px; left: auto; right: 0; }
.ksc-sheet .cm-toggle { flex: none; }
.ksc-rename { height: 32px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--ks-line); background: var(--ks-surface); color: var(--ks-ink); font: inherit; font-size: 15px; min-width: 0; width: 100%; }
@media (max-width: 520px) { .ksc-row .kg-select { min-width: 144px; } }
.ks-cell > .ksc-gen { position: absolute; right: 10px; top: 10px; z-index: 3; width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; color: var(--ks-ink); background: var(--kammii-glass-tint-image, rgba(0, 0, 0, 0.62)); box-shadow: inset 0 0 0 1px var(--ks-line); text-decoration: none; transition: transform 0.36s var(--ks-spring); }
.ks-cell > .ksc-gen:active { transform: scale(0.92); transition-duration: 0.08s; }
.ks-cell > .ksc-gen svg { width: 16px; height: 16px; }
@media (pointer: coarse) { .ks-cell > .ksc-gen::after { content: ""; position: absolute; inset: -6px; } }
@media (pointer: coarse) {
.ks-field input[type="text"], .ks-field textarea, .ks-field textarea.ks-code-input,
.ks-field .ks-taginput input[type="text"], .ks-cmt-field, .ks-report-detail,
.ks-coll-new input, .ks-search-input, .ks-admin-tools input[type="search"],
.ks-select select, .ks-selectfield select:not(.kg-select-native) { font-size: 16px; }
}
.ksa { display: flex; flex-direction: column; gap: 24px; min-width: 0; }
.ksa .ks-admin-head { padding-bottom: 0; }
.ksa-strip { display: inline-flex; align-self: flex-start; flex-wrap: nowrap; margin-left: -6px; }
.ksa-seg { appearance: none; border: 0; background: transparent; font-family: inherit; min-height: 44px; padding: 0 14px; border-radius: 999px; font-size: 0.9375rem; font-weight: 560; line-height: 1.2; color: var(--ks-ink-2); cursor: pointer; white-space: nowrap; }
.ksa-seg[aria-pressed="true"] { background: var(--ks-surface-hover); color: var(--ks-ink); }
[data-kg-seg="true"] > .ksa-seg[aria-pressed="true"] { background: transparent; }
.ksa-pane[hidden] { display: none; }
.ksa-flash { margin-bottom: 12px; }
.ksa-flash:empty { display: none; }
.ksa-split { align-items: start; }
.ksa-list { display: flex; flex-direction: column; gap: 4px; }
.ksa-group { display: flex; flex-direction: column; gap: 4px; margin-bottom: 16px; }
.ksa-grouphead { display: flex; align-items: baseline; gap: 8px; padding: 0 12px 4px; font-size: 13px; line-height: 18px; color: var(--ks-ink-2); }
.ksa-grouphead b { font-weight: 500; color: var(--ks-ink-3); }
.ksa .ks-admin-item { grid-template-columns: minmax(0, 1fr) auto; align-items: start; padding: 12px; border-radius: 10px; text-decoration: none; }
.ksa .ks-admin-item-sub { white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ksa .ks-admin-item-title { color: var(--ks-ink); }
.ksa .ks-admin-item-when { padding-top: 2px; }
.ksa-empty { padding: 48px 16px; }
.ksa-bar { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; padding-bottom: 8px; }
.ksa-importlast { display: inline-flex; align-items: center; gap: 8px; font-size: 13px; color: var(--ks-ink-2); }
.ksa-importlast input { width: 56px; height: 32px; padding: 0 8px; border: 1px solid var(--ks-line); border-radius: 8px; background: var(--ks-surface); color: var(--ks-ink); font: inherit; font-size: 14px; text-align: center; }
.ksa-importnote { padding-bottom: 12px; }
.ksa-charlist .ks-admin-item-when[data-published="false"] { color: var(--ks-ink-3); }
.ksa-detail { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.ksa-pick { padding: 8px 12px; }
.ksa-back { display: none; align-self: flex-start; gap: 2px; padding-left: 6px; margin-left: -6px; }
.ksa-back svg { width: 18px; height: 18px; }
.ksa-dhead { display: flex; flex-direction: column; gap: 4px; }
.ksa-dhead h2 { margin: 0; font-size: 20px; line-height: 24px; font-weight: 650; letter-spacing: -0.01em; color: var(--ks-ink); overflow-wrap: anywhere; }
.ksa-meta { margin: 0; font-size: 14px; line-height: 20px; color: var(--ks-ink-2); overflow-wrap: anywhere; }
.ksa-prose { border: 1px solid var(--ks-line); border-radius: 10px; background: var(--ks-surface); padding: 16px; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.ksa-text { font-size: 16px; line-height: 24px; color: var(--ks-ink); max-width: 68ch; overflow-wrap: anywhere; }
.ksa-text p { margin: 0 0 12px; }
.ksa-text p:last-child { margin-bottom: 0; }
.ksa-text a { display: block; width: fit-content; max-width: 100%; margin: 4px 0; }
.ksa-text img { display: block; max-width: 100%; max-height: 320px; width: auto; height: auto; border-radius: 10px; background: var(--ks-tertiary); }
.ksa-text .ksa-missing { display: inline-block; font-size: 13px; line-height: 18px; color: var(--ks-ink-3); }
.ksa-prose[data-clamp="true"] .ksa-text { max-height: 520px; overflow: hidden; }
.ksa-prose[data-cut="true"] .ksa-text { -webkit-mask-image: linear-gradient(to bottom, #000 calc(100% - 40px), transparent); mask-image: linear-gradient(to bottom, #000 calc(100% - 40px), transparent); }
.ksa-prose .ks-btn-text { align-self: flex-start; margin-left: -10px; }
.ksa-labelrow { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; flex-wrap: wrap; }
.ksa-labelrow label { font-size: 13px; line-height: 18px; font-weight: 600; color: var(--ks-ink-2); }
.ksa-labelrow span { font-size: 13px; line-height: 18px; color: var(--ks-ink-3); }
.ksa-decide { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; max-width: 420px; }
.ksa-decide .ks-btn { min-width: 0; width: 100%; }
.ksa-decide .ks-btn-primary { grid-column: 1 / -1; order: 3; }
.ksa-decide .ks-btn[data-decision="approve"][data-armed="true"],
.ksa-decide .ks-btn[data-decision="changes"][data-armed="true"] { background: rgba(237, 237, 237, 0.14); color: var(--ks-ink); }
.ksa .ks-btn-text[data-armed="true"] { color: var(--ks-error); }
@media (max-width: 1023px) {
.ksa[data-open="true"] .ksa-listwrap { display: none; }
.ksa[data-open="true"] .ksa-back { display: inline-flex; }
}
@media (min-width: 1024px) {
.ksa-list { max-height: 70vh; overflow-y: auto; }
.ksa-charlist { max-height: none; }
}
.ksa-top { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.ksa-top h1 { margin: 0; font-size: 24px; line-height: 30px; font-weight: 650; letter-spacing: -0.01em; color: var(--ks-ink); overflow-wrap: anywhere; }
.ksa-form { gap: 32px; max-width: 720px; }
.ksa-section { display: flex; flex-direction: column; gap: 16px; min-width: 0; }
.ksa-section > h2 { margin: 0; font-size: 20px; line-height: 24px; font-weight: 650; letter-spacing: -0.01em; color: var(--ks-ink); }
.ksa-hint { margin: -8px 0 0; font-size: 14px; line-height: 20px; color: var(--ks-ink-2); }
.ksa > .ksa-section { max-width: 720px; }
.ksa-slots, .ksa-loras { display: flex; flex-direction: column; gap: 12px; }
.ksa-slot { display: flex; flex-direction: column; gap: 12px; padding: 12px; border-radius: 10px; background: var(--ks-surface); }
.ksa-slot .ks-field input[type="text"], .ksa-slot .ks-field textarea { background: var(--ks-surface-raised); }
.ksa-slotfoot { display: flex; justify-content: flex-end; }
.ksa-slotadd { display: flex; margin-top: 6px; }
.ksa-lora { display: grid; grid-template-columns: minmax(0, 1fr) 84px auto; gap: 8px; align-items: center; }
.ksa-lora input[type="number"], .ksa .ks-field input[type="number"] { width: 100%; min-height: 40px; border-radius: 10px; border: 1px solid var(--ks-line); background: var(--ks-surface); color: var(--ks-ink); font-family: inherit; font-size: 14px; padding: 9px 12px; }
.ksa-lora input[type="number"]:focus, .ksa .ks-field input[type="number"]:focus { border-color: var(--ks-line); background: var(--ks-surface-raised); outline: none; }
.ksa .ks-field input[type="text"], .ksa .ks-field textarea, .ksa .ks-selectfield .kg-select-button { border-radius: 10px !important; }
.ksa .ks-field input:focus, .ksa .ks-field textarea:focus { border-color: var(--ks-line); background: var(--ks-surface-raised); outline: none; }
.ksa-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.ksa-pasterow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin-top: 6px; }
.ksa .ks-field-note[data-state="ok"] { color: var(--ks-ink-2); }
.ksa-uploadrow { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }
.ksa-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(104px, 1fr)); gap: 12px; }
.ksa-tile { margin: 0; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.ksa-tileimg { aspect-ratio: 3 / 4; border-radius: 10px; overflow: hidden; background: var(--ks-tertiary); }
.ksa-tileimg img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ksa-tile figcaption { display: flex; align-items: center; justify-content: space-between; gap: 4px; font-size: 13px; line-height: 18px; color: var(--ks-ink-2); }
.ksa-tile figcaption .ks-btn-text { margin-right: -10px; }
.ksa-greetings { display: flex; flex-direction: column; gap: 8px; }
.ksa-greeting { padding: 12px; border-radius: 10px; background: var(--ks-surface); display: flex; flex-direction: column; gap: 4px; }
.ksa-greetinghead { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.ksa-greetinghead strong { font-size: 15px; font-weight: 600; color: var(--ks-ink); overflow-wrap: anywhere; }
.ksa-greetinghead span { font-size: 13px; color: var(--ks-ink-2); }
.ksa-greeting p { margin: 0; font-size: 14px; line-height: 20px; color: var(--ks-ink-2); overflow-wrap: anywhere; }
.ksa-addgreeting { max-width: 720px; }
.ksa-switch .cm-toggle-slider { background-color: rgba(237, 237, 237, 0.18) !important; }
.ksa-switch .cm-toggle input:checked + .cm-toggle-slider { background-color: rgba(237, 237, 237, 0.5) !important; }
@media (min-width: 640px) {
.ksa-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ksa-grid2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (pointer: coarse) {
.ksa .ks-field input[type="number"], .ksa-lora input[type="number"] { font-size: 16px; }
}
@media (prefers-reduced-motion: reduce) { .ksa * { scroll-behavior: auto; } }
.ks-shr {
--shr-bar: 52px;
--shr-r: 30px;
--shr-spring: linear(0,0.0252,0.0886,0.1749,0.2729,0.3742,0.4728,0.5651,0.6486,0.7222,0.7855,0.8389,0.8829,0.9184,0.9465,0.9682,0.9845,0.9964,1.0046,1.01,1.0132,1.0148,1.0152,1.0147,1.0137,1.0123,1.0108,1.0093,1.0078,1.0064,1.0052,1.0041,1.0031,1.0024,1.0017,1.0012,1.0008,1.0004,1.0002,1,1);
--ks-btn-rim: inset -1px 1px 0 0 rgba(255, 255, 255, 0.10), inset 1px -1px 0 0 rgba(255, 255, 255, 0.10);
position: relative;
margin: 0 0 20px;
background: var(--ks-surface);
box-shadow: var(--ks-btn-rim);
border-radius: calc(var(--shr-bar) / 2);
overflow: hidden;
isolation: isolate;
transition: background-color 0.2s var(--ks-settling);
}
.ks-shr[data-open="true"] { border-radius: var(--shr-r); }
.ks-shr[data-over="true"] { background: var(--ks-surface-raised); }
@supports (corner-shape: squircle) {
.ks-shr {
corner-shape: round;
transition: border-radius 640ms var(--shr-spring), corner-shape 640ms var(--shr-spring), background-color 0.2s var(--ks-settling);
}
.ks-shr[data-open="true"] { corner-shape: squircle; }
.ks-shr-m, .ks-shr-t, .ks-shr-up, .ks-isle-pic, .ks-shr-ghost { corner-shape: squircle; }
}
.ks-shr.ks-shr-path { border-radius: 0; box-shadow: none; }
.ks-shr-edge { display: none; }
.ks-shr-path > .ks-shr-edge { display: block; position: absolute; inset: 0; z-index: 3; width: 100%; height: 100%; overflow: visible; pointer-events: none; }
.ks-shr-edge path { fill: none; stroke: rgba(255, 255, 255, 0.10); stroke-width: 1; }
.ks-shr-head { position: relative; display: flex; align-items: center; gap: 12px; height: var(--shr-bar); padding: 0 8px 0 10px; }
.ks-shr-head .ks-av32 { flex: none; }
.ks-shr-ph { flex: 1; min-width: 0; font-size: 16px; line-height: 22px; color: var(--ks-ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; transition: opacity 200ms var(--ks-settling), filter 200ms var(--ks-settling); }
.ks-shr-who { position: absolute; left: 54px; right: 56px; top: 50%; transform: translateY(-50%); display: flex; flex-direction: column; min-width: 0; line-height: 1.25; opacity: 0; filter: blur(4px); pointer-events: none; transition: opacity 260ms var(--ks-settling), filter 260ms var(--ks-settling); }
.ks-shr-who strong { font-size: 14px; font-weight: 600; color: var(--ks-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ks-shr-who span { font-size: 12px; color: var(--ks-ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ks-shr-ic { flex: none; width: 36px; height: 36px; display: grid; place-items: center; color: var(--ks-ink-2); transition: opacity 220ms var(--ks-settling), transform 420ms var(--ks-spring); }
.ks-shr-ic svg, .ks-shr-close svg { width: 18px; height: 18px; }
.ks-shr-close { position: absolute; top: 50%; right: 8px; margin-top: -18px; width: 36px; height: 36px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--ks-ink-2); display: grid; place-items: center; cursor: pointer; opacity: 0; transform: rotate(-90deg) scale(0.6); pointer-events: none; transition: opacity 220ms var(--ks-settling), transform 420ms var(--ks-spring); }
.ks-shr-close:active { transform: scale(0.92); }
.ks-shr-close::after, .ks-shr .ks-btn.ks-shr-post::after { content: ""; position: absolute; inset: -4px; }
.ks-shr .ks-btn.ks-shr-post { position: relative; }
.ks-isle[data-state="busy"] { cursor: default; }
.ks-shr[data-open="true"] .ks-shr-ph { opacity: 0; filter: blur(4px); }
.ks-shr[data-open="true"] .ks-shr-who { opacity: 1; filter: blur(0px); transition-delay: 60ms; }
.ks-shr[data-open="true"] .ks-shr-ic { opacity: 0; transform: rotate(90deg) scale(0.6); }
.ks-shr[data-open="true"] .ks-shr-close { opacity: 1; transform: none; pointer-events: auto; }
.ks-shr-open { position: absolute; inset: 0; z-index: 2; appearance: none; border: 0; padding: 0; background: transparent; border-radius: inherit; cursor: text; }
.ks-shr[data-open="true"] .ks-shr-open { display: none; }
.ks-shr-file { display: none; }
.ks-shr-body { padding: 0 16px 16px; }
.ks-shr-body[hidden] { display: none; }
.ks-shr-title, .ks-shr-desc { display: block; width: 100%; border: 0; background: transparent; font-family: inherit; outline: none; padding: 0; }
.ks-shr-title { font-size: 17px; font-weight: 600; line-height: 24px; color: var(--ks-ink); padding: 4px 0 2px; }
.ks-shr-desc { font-size: 16px; line-height: 22px; color: var(--ks-ink); resize: none; overflow: hidden; height: 26px; padding: 2px 0; }
.ks-shr-title::placeholder, .ks-shr-desc::placeholder { color: var(--ks-ink-3); font-weight: 400; opacity: 1; }
.ks-shr-media { position: relative; display: flex; gap: 8px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; height: 0; margin: 0 -16px; padding: 0 16px; scroll-padding: 0 16px; }
.ks-shr-media::-webkit-scrollbar, .ks-shr-strip::-webkit-scrollbar, .ks-shr-opts::-webkit-scrollbar { display: none; }
.ks-shr-media.ks-has { height: auto; padding-top: 12px; padding-bottom: 2px; }
.ks-shr-m { position: relative; flex: none; height: 208px; aspect-ratio: 3 / 4; border-radius: 16px; overflow: hidden; background: var(--ks-tertiary); }
.ks-shr-m img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ks-shr-x { position: absolute; top: 8px; right: 8px; width: 28px; height: 28px; padding: 0; border: 0; border-radius: 50%; display: grid; place-items: center; color: #fff; cursor: pointer; }
.ks-shr-x svg { width: 14px; height: 14px; }
.ks-shr-x::after { content: ""; position: absolute; inset: -8px; }
.ks-shr-ghost { position: fixed; left: 0; top: 0; z-index: 3200; object-fit: cover; object-position: 50% 25%; border-radius: 16px; pointer-events: none; will-change: transform; }
.ks-shr-landing { opacity: 0; }
.ks-mcell[data-pending] { pointer-events: none; }
.ks-mcell[data-pending] .ks-mcard img { opacity: 0.6; transition: opacity 0.4s var(--ks-settling, ease); }
.ks-shr-tags { position: relative; display: flex; flex-wrap: wrap; gap: 6px; padding-top: 12px; }
.ks-shr-tags:empty { display: none; }
.ks-shr-tag { appearance: none; border: 0; display: inline-flex; align-items: center; gap: 4px; height: 30px; padding: 0 12px; border-radius: 999px; background: transparent; color: var(--ks-ink-2); box-shadow: inset 0 0 0 1px var(--ks-line); font-family: inherit; font-size: 13px; font-weight: 500; cursor: pointer; }
.ks-shr-tag[aria-pressed="true"] { background: rgba(237, 237, 237, 0.07); color: var(--ks-ink); box-shadow: var(--ks-btn-rim); }
.ks-shr-addtag { padding: 0 12px 0 9px; }
.ks-shr-addtag svg { width: 14px; height: 14px; }
.ks-shr-tagin { height: 30px; width: 132px; border: 0; border-radius: 999px; background: var(--ks-surface); box-shadow: inset 0 0 0 1px var(--ks-line); color: var(--ks-ink); font-family: inherit; font-size: 13px; padding: 0 12px; outline: none; }
.ks-shr-label { display: flex; align-items: baseline; gap: 6px; padding: 18px 0 8px; font-size: 0.8125rem; line-height: 18px; font-weight: 500; color: var(--ks-ink-2); }
.ks-shr-count { color: var(--ks-ink-3); }
.ks-shr-strip { display: flex; gap: 6px; overflow-x: auto; overflow-y: hidden; scrollbar-width: none; margin: 0 -16px; padding: 0 16px 2px; scroll-padding: 0 16px; }
.ks-shr-up, .ks-shr-t { position: relative; flex: none; width: 72px; height: 72px; padding: 0; border: 0; border-radius: 14px; overflow: hidden; cursor: pointer; }
@supports (corner-shape: squircle) {
.ks-shr-m { border-radius: 22px; }
.ks-shr-up, .ks-shr-t { border-radius: 20px; }
}
.ks-shr-up { display: grid; place-items: center; background: var(--ks-surface); box-shadow: var(--ks-btn-rim); color: var(--ks-ink-2); }
.ks-shr-up svg { width: 20px; height: 20px; }
.ks-shr-t { background: var(--ks-tertiary); }
.ks-shr-t img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 25%; display: block; transition: transform 380ms var(--ks-spring), opacity 250ms var(--ks-settling); }
.ks-shr-t[aria-pressed="true"] img { transform: scale(0.84); opacity: 0.7; }
.ks-shr-num { position: absolute; top: 5px; right: 5px; width: 20px; height: 20px; border-radius: 50%; display: grid; place-items: center; font-size: 11px; font-weight: 700; color: var(--ks-ink); background: rgba(10, 10, 10, 0.25); box-shadow: inset 0 0 0 1.5px rgba(237, 237, 237, 0.75); }
.ks-shr-t[aria-pressed="true"] .ks-shr-num { background: rgba(10, 10, 10, 0.62); box-shadow: inset 0 0 0 1.5px var(--ks-ink); }
.ks-shr-empty { align-self: center; padding-left: 6px; font-size: 13px; color: var(--ks-ink-3); white-space: nowrap; }
.ks-shr-note { padding-top: 10px; font-size: 13px; line-height: 18px; color: var(--ks-ink-2); }
.ks-shr-note:empty { display: none; }
.ks-shr-foot { display: flex; align-items: center; gap: 10px; padding-top: 16px; }
.ks-shr-opts { display: flex; gap: 6px; flex: 1; min-width: 0; overflow-x: auto; scrollbar-width: none; }
.ks-shr-opt { appearance: none; border: 0; flex: none; display: inline-flex; align-items: center; gap: 6px; height: 32px; padding: 0 12px 0 10px; border-radius: 999px; background: rgba(237, 237, 237, 0.04); box-shadow: var(--ks-btn-rim); color: var(--ks-ink-2); font-family: inherit; font-size: 13px; font-weight: 500; white-space: nowrap; cursor: pointer; overflow: hidden; }
.ks-shr-opt svg { width: 15px; height: 15px; }
.ks-shr-opt[data-k="aud"], .ks-shr-opt[aria-pressed="true"] { color: var(--ks-ink); }
.ks-shr-opt[data-k="nsfw"][aria-pressed="true"] { background: rgba(237, 237, 237, 0.07); }
.ks-shr-opt:active, .ks-shr-tag:active, .ks-shr-up:active, .ks-shr-t:active { transform: scale(0.96); }
.ks-shr .ks-btn.ks-shr-post { flex: none; min-width: 84px; height: 36px; min-height: 36px; padding: 0 20px; font-size: 14px; font-weight: 600; }
.ks-shr .ks-btn.ks-shr-post:disabled { opacity: 0.4; cursor: default; }
@media (max-width: 719px) {
.ks-shr { --shr-bar: 48px; --shr-r: 28px; margin: 2px 0 14px; }
.ks-shr-body { padding: 0 14px 14px; }
.ks-shr-media, .ks-shr-strip { margin: 0 -14px; padding-left: 14px; padding-right: 14px; scroll-padding: 0 14px; }
.ks-shr-m { height: 172px; }
.ks-shr-up, .ks-shr-t { width: 64px; height: 64px; }
.ks-shr-foot { flex-wrap: wrap; row-gap: 12px; }
.ks-shr-opts { flex: 1 1 100%; margin: 0 -14px; padding: 0 14px; }
.ks-shr .ks-btn.ks-shr-post { margin-left: auto; }
}
@media (pointer: coarse) { .ks-shr-tagin { font-size: 16px; } }
.ks-isle {
--fp-spring: linear(0,0.0104,0.039,0.0826,0.1378,0.2018,0.2719,0.3457,0.4212,0.4966,0.5704,0.6413,0.7084,0.7709,0.8283,0.8802,0.9264,0.9669,1.0017,1.0311,1.0553,1.0746,1.0894,1.1001,1.1071,1.1108,1.1118,1.1103,1.1068,1.1018,1.0955,1.0882,1.0803,1.072,1.0635,1.0551,1.0469,1.039,1.0316,1.0247,1.0184,1.0127,1.0076,1.0031,0.9993,0.9961,0.9935,0.9914,0.9898,0.9887,0.988,0.9876,0.9875,0.9877,0.9881,0.9887,0.9894,0.9903,0.9912,0.9921,0.993,0.994,0.9949,0.9958,0.9966,0.9973,0.998,0.9987,0.9992,0.9997,1.0001,1.0005,1);
--isle-w: min(344px, calc(100vw - 44px));
--fp-w: 116px;
--fp-h: 34px;
--fp-col: 0px;
--fp-col-max: calc(var(--isle-w) - 96px);
position: fixed;
top: calc(var(--app-header-height, 0px) + 12px);
left: 50%;
z-index: 3100;
transform: translateX(-50%);
transform-origin: 50% 0%;
width: var(--fp-w);
height: var(--fp-h);
border-radius: 999px;
display: flex;
align-items: center;
overflow: hidden;
box-shadow: 0 4px 19px rgba(0, 0, 0, 0.4);
opacity: 0;
visibility: hidden;
pointer-events: none;
cursor: pointer;
transition: width 1017ms var(--fp-spring), height 1017ms var(--fp-spring), opacity 200ms cubic-bezier(0.16, 1, 0.3, 1);
will-change: width, height;
}
.ks-isle.is-live { opacity: 1; visibility: visible; pointer-events: auto; }
.ks-isle.is-open { --fp-w: var(--isle-w); --fp-h: 58px; --fp-col: var(--fp-col-max); }
.ks-isle.is-gone { opacity: 0; transform: translateX(-50%) scale(0.22); transform-origin: 50% 50%; transition: transform 260ms cubic-bezier(0.42, 0, 1, 1), opacity 200ms linear 60ms; }
.ks-isle-glass { position: absolute; top: 0; left: 50%; margin-left: calc(var(--isle-w) / -2); width: var(--isle-w); height: 58px; border-radius: 999px; pointer-events: none; }
html:not(.kg-lg-on) .ks-isle { background: rgba(20, 20, 20, 0.86); -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%); }
.ks-isle-row { position: relative; z-index: 1; display: flex; align-items: center; justify-content: center; gap: 0; width: 100%; height: 100%; padding: 0 11px; }
.ks-isle-pic { flex: none; width: 24px; height: 24px; border-radius: 7px; overflow: hidden; background: var(--ks-tertiary); transition: width 1017ms var(--fp-spring), height 1017ms var(--fp-spring), border-radius 1017ms var(--fp-spring); }
.ks-isle.is-open .ks-isle-pic { width: 36px; height: 36px; border-radius: 11px; }
.ks-isle-pic img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ks-isle-info { flex: none; width: var(--fp-col); overflow: hidden; transition: width 1017ms var(--fp-spring); }
.ks-isle-inner { width: var(--fp-col-max); padding-left: 12px; display: flex; flex-direction: column; gap: 5px; opacity: 0; filter: blur(4px); transition: opacity 200ms cubic-bezier(0.4, 0, 1, 1), filter 200ms cubic-bezier(0.4, 0, 1, 1); }
.ks-isle.is-open .ks-isle-inner { opacity: 1; filter: blur(0px); transition: opacity 260ms cubic-bezier(0.22, 1, 0.36, 1) 90ms, filter 260ms cubic-bezier(0.22, 1, 0.36, 1) 90ms; }
.ks-isle-text { font-size: 13px; font-weight: 600; line-height: 1.2; color: var(--ks-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ks-isle-slot { position: relative; height: 15px; }
.ks-isle-track { position: absolute; left: 0; right: 0; top: 5px; height: 3px; border-radius: 999px; transition: opacity 250ms var(--ks-settling); }
.ks-isle-fill { position: absolute; top: 0; left: 0; height: 100%; width: 0%; border-radius: inherit; transition: width 0.45s cubic-bezier(0.22, 1, 0.36, 1); }
.ks-isle-sub { position: absolute; inset: 0; font-size: 12px; line-height: 15px; color: var(--ks-ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: 0; transition: opacity 250ms var(--ks-settling); }
.ks-isle[data-state="done"] .ks-isle-track, .ks-isle[data-state="fail"] .ks-isle-track { opacity: 0; }
.ks-isle[data-state="done"] .ks-isle-sub, .ks-isle[data-state="fail"] .ks-isle-sub { opacity: 1; }
.ks-isle[data-state="done"] .ks-isle-inner, .ks-isle[data-state="fail"] .ks-isle-inner { padding-right: 38px; }
.ks-isle-end { position: absolute; top: 50%; right: 13px; margin-top: -14px; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; color: var(--ks-ink); background: rgba(237, 237, 237, 0.10); box-shadow: inset -1px 1px 0 0 rgba(255, 255, 255, 0.10), inset 1px -1px 0 0 rgba(255, 255, 255, 0.10); opacity: 0; transition: opacity 200ms var(--ks-settling); }
.ks-isle.is-open[data-state="done"] .ks-isle-end, .ks-isle.is-open[data-state="fail"] .ks-isle-end { opacity: 1; }
.ks-isle-end svg { width: 15px; height: 15px; }
@media (prefers-reduced-motion: reduce) {
.ks-shr, .ks-isle, .ks-isle.is-open, .ks-isle.is-gone, .ks-isle-inner, .ks-isle.is-open .ks-isle-inner, .ks-isle-info, .ks-isle-pic { transition: none; }
}
.kg-back{
position:relative; display:inline-flex; align-items:center; gap:0; flex:0 0 auto;
box-sizing:border-box; min-width:0; max-width:100%; min-height:36px; margin:0; padding:0 8px 0 0; left:-8px;
border:0; border-radius:999px; background:transparent; box-shadow:none;
color:rgba(237,237,237,.60); font:inherit; font-size:15px; font-weight:400; line-height:20px; letter-spacing:normal;
white-space:nowrap; text-decoration:none; text-align:left; cursor:pointer;
appearance:none; -webkit-appearance:none; -webkit-tap-highlight-color:transparent; touch-action:manipulation; user-select:none; -webkit-user-select:none;
transition:transform var(--kg-press-out, 100ms cubic-bezier(0.4,0,0.6,1));
}
.kg-back::after{content:""; position:absolute; top:50%; left:50%; width:max(100%,44px); height:max(100%,44px); transform:translate(-50%,-50%)}
.kg-back svg{flex:0 0 auto; width:20px; height:20px}
.kg-back > span{min-width:0; max-width:16em; overflow:hidden; text-overflow:ellipsis}
.kg-back:hover{color:rgba(237,237,237,.60); background:transparent}
.kg-back:active{transform:scale(.94); transition:transform var(--kg-press-in, 100ms cubic-bezier(0.4,0,0.6,1))}
.kg-back:focus{outline:none}
.kg-back:focus-visible{outline:1px solid rgba(237,237,237,.6); outline-offset:2px}
@media (prefers-reduced-motion:reduce){ .kg-back{transition:none} .kg-back:active{transform:none} }
:root { --kg-focus-ink: var(--ks-ink, #ededed); }
:focus:not(:focus-visible) { outline: none; }
:not(a, button, input, select, textarea, summary, [role="button"], [role="link"], [role="tab"], [role="menuitem"], [role="switch"], [role="checkbox"], [role="radio"], [role="option"], [contenteditable="true"], [tabindex]:not([tabindex="-1"])):is(:focus, :focus-visible) { outline: none; }
[tabindex="-1"]:is(:focus, :focus-visible) { outline: none; }
svg:is(:focus, :focus-visible), svg :is(:focus, :focus-visible) { outline: none; }
:where(a, button, input, select, textarea, summary, [role="button"], [role="link"], [role="tab"], [role="menuitem"], [role="switch"], [role="checkbox"], [role="radio"], [role="option"], [tabindex]:not([tabindex="-1"])):where(:focus-visible) { border-radius: 8px; }
:is(a, button, select, summary, input:is([type="checkbox"], [type="radio"], [type="range"], [type="button"], [type="submit"], [type="reset"], [type="file"]), [role="button"], [role="link"], [role="tab"], [role="menuitem"], [role="switch"], [role="checkbox"], [role="radio"], [role="option"], [tabindex]:not([tabindex="-1"])):not(svg, svg *):focus-visible { outline: 1px solid rgba(237, 237, 237, 0.6); outline: 1px solid color-mix(in srgb, var(--kg-focus-ink) 60%, transparent); outline-offset: 2px; }
input:not([type="checkbox"], [type="radio"], [type="range"], [type="button"], [type="submit"], [type="reset"], [type="file"], [type="image"], [type="color"]):is(:focus, :focus-visible), textarea:is(:focus, :focus-visible), [contenteditable="true"]:is(:focus, :focus-visible) { outline: none; }
.ks-tab:focus-visible { border-radius: 8px; }
.ks-btn, .ks-follow-sm, .ks-rail-btn, .ks-more-btn, .ks-react-chip, .ks-tag,
.ks-tagchip, .ks-pill, .ks-chipcloud a, .ks-cmt-signin,
.ksw-resume-x {
--ks-btn-rim: inset -1px 1px 0 0 rgba(255, 255, 255, 0.10), inset 1px -1px 0 0 rgba(255, 255, 255, 0.10);
--ks-btn-drop: 0 4px 19px rgba(0, 0, 0, 0.4);
-webkit-backdrop-filter: none; backdrop-filter: none;
}
.ks-btn-primary,
.ks-rail-fill,
.ks-follow-sm,
.ksw-foot .ks-btn-primary {
background: rgba(237, 237, 237, 0.07);
color: var(--ks-ink);
box-shadow: var(--ks-btn-rim), var(--ks-btn-drop);
}
.ks-btn-quiet,
.ks-rail-out,
.ks-more-btn,
.ks-react-chip,
.ks-tag,
.ks-tagchip,
.ks-pill,
.ks-chipcloud a,
.ks-cmt-signin,
.ks-follow[aria-pressed="true"],
.ks-follow-sm[aria-pressed="true"],
.ks-react-chip[aria-pressed="true"] {
background: rgba(237, 237, 237, 0.04);
color: var(--ks-ink);
box-shadow: var(--ks-btn-rim), var(--ks-btn-drop);
}
.ks-btn-text,
.ks-act,
.ks-cmt-btn,
.ks-cmt-iconbtn,
.ks-text-btn,
.ks-bio-more,
.ks-post-more,
.ks-disclose,
.ks-search-clear,
.ks-emoji button,
.ks-tagchip button,
.ksw-resume-x,
.ks-menu button, .ks-menu a,
.ks-coll-row,
.ks-admin-item {
background: transparent;
color: rgba(237, 237, 237, 0.60);
box-shadow: none;
}
.ks-menu [data-destructive="true"],
.ks-admin-acts .ks-btn[data-armed="true"] {
background: rgba(255, 69, 58, 0.15);
color: #ff453a;
box-shadow: var(--ks-btn-rim);
}
.ks-menu [data-destructive="true"] { background: transparent; box-shadow: none; }
.ks-btn, .ks-follow-sm, .ks-rail-btn, .ks-react-chip, .ks-tag, .ks-tagchip,
.ks-pill, .ks-chipcloud a, .ks-act, .ks-cmt-btn, .ks-cmt-signin,
.ks-btn-text, .ks-bio-more, .ks-post-more {
border-radius: 999px;
}
.ks-more-btn { width: 32px; height: 32px; min-width: 32px; border-radius: 50%; }
.ks-post-dots, .ksw-resume-x, .ks-cmt-iconbtn, .ks-emoji button,
.ks-dots-btn, .ks-pinned-dots, .ks-search-clear {
border-radius: 50%;
}
.ks-more-btn svg { width: 16px; height: 16px; }
.ks-post-dots svg, .ks-cmt-iconbtn svg { width: 14px; height: 14px; }
.ks-disclose svg { width: 16px; height: 16px; }
.ks-btn, .ks-act, .ks-more-btn, .ks-follow-sm, .ks-rail-btn, .ks-pic-btn,
.ks-icon-btn, .ks-post-dots, .ks-post-back, .ks-dots-btn, .ks-pinned-dots, .ks-cmt-btn, .ks-copy-btn,
.ks-cmt-iconbtn, .ks-react-chip, .ks-tagchip, .ks-tag, .ks-chipcloud a,
.ks-text-btn, .ks-disclose, .ks-search-clear, .ks-emoji button,
.ks-sx-chip, .ks-sx-chip-x, .ks-sx-person, .ks-sx-model, .ks-sx-pic,
.ks-bio-more, .ks-post-more, .ksw-resume-x, .ks-cmt-signin {
transition: transform var(--kg-press-out, 100ms cubic-bezier(0.4, 0, 0.6, 1)), color 200ms cubic-bezier(0.22, 1, 0.36, 1);
}
.ks-btn:active:not(:disabled):not([aria-disabled="true"]),
.ks-act:active:not([disabled]), .ks-more-btn:active, .ks-follow-sm:active:not([disabled]),
.ks-rail-btn:active:not([disabled]), .ks-pic-btn:active, .ks-icon-btn:active,
.ks-post-dots:active, .ks-post-back:active, .ks-copy-btn:active, .ks-dots-btn:active, .ks-pinned-dots:active,
.ks-cmt-btn:active, .ks-cmt-iconbtn:active:not([disabled]), .ks-react-chip:active,
.ks-tagchip:active, .ks-tag:active, .ks-chipcloud a:active, .ks-text-btn:active,
.ks-disclose:active, .ks-search-clear:active, .ks-emoji button:active,
.ks-sx-chip:active, .ks-sx-chip-x:active, .ks-sx-person:active, .ks-sx-model:active, .ks-sx-pic:active,
.ks-bio-more:active, .ks-post-more:active, .ksw-resume-x:active, .ks-cmt-signin:active {
transform: scale(0.94);
transition: transform var(--kg-press-in, 100ms cubic-bezier(0.4, 0, 0.6, 1)), color 200ms cubic-bezier(0.22, 1, 0.36, 1);
}
@media (prefers-reduced-motion: reduce) {
.ks-btn, .ks-act, .ks-more-btn, .ks-follow-sm, .ks-rail-btn, .ks-pic-btn,
.ks-icon-btn, .ks-post-dots, .ks-post-back, .ks-dots-btn, .ks-pinned-dots, .ks-cmt-btn,
.ks-cmt-iconbtn, .ks-react-chip, .ks-tagchip, .ks-tag, .ks-chipcloud a,
.ks-text-btn, .ks-disclose, .ks-search-clear, .ks-emoji button,
.ks-sx-chip, .ks-sx-chip-x, .ks-sx-person, .ks-sx-model, .ks-sx-pic,
.ks-bio-more, .ks-post-more, .ksw-resume-x, .ks-cmt-signin { transition: none; transform: none; }
}
.ks-btn:focus-visible, .ks-act:focus-visible, .ks-more-btn:focus-visible,
.ks-follow-sm:focus-visible, .ks-rail-btn:focus-visible, .ks-post-dots:focus-visible, .ks-post-back:focus-visible, .ks-copy-btn:focus-visible,
.ks-dots-btn:focus-visible, .ks-pinned-dots:focus-visible, .ks-cmt-btn:focus-visible,
.ks-cmt-iconbtn:focus-visible, .ks-react-chip:focus-visible, .ks-tagchip:focus-visible,
.ks-tag:focus-visible, .ks-chipcloud a:focus-visible, .ks-text-btn:focus-visible,
.ks-disclose:focus-visible, .ks-search-clear:focus-visible, .ks-emoji button:focus-visible,
.ks-bio-more:focus-visible, .ks-post-more:focus-visible, .ksw-resume-x:focus-visible,
.ks-cmt-signin:focus-visible, .ks-pinned-edge:focus-visible,
.ks-sx-chip:focus-visible, .ks-sx-chip-x:focus-visible, .ks-sx-person:focus-visible,
.ks-sx-model:focus-visible, .ks-sx-pic:focus-visible, .ks-sx-more:focus-visible {
outline: 1px solid rgba(237, 237, 237, 0.6);
outline-offset: 2px;
}
.ks-menu button:focus-visible, .ks-menu a:focus-visible,
.ks-coll-row:focus-visible, .ks-sx-chat:focus-visible,
.ks-admin-item:focus-visible {
outline: 1px solid rgba(237, 237, 237, 0.6);
outline-offset: -2px;
}
.ks-btn[disabled], .ks-btn[aria-disabled="true"] { background: rgba(237, 237, 237, 0.04); color: var(--ks-ink-4); box-shadow: none; cursor: not-allowed; }
.ks-btn-text[disabled] { background: transparent; }
.ks-follow-sm[disabled] { background: rgba(237, 237, 237, 0.04); color: var(--ks-ink-4); box-shadow: none; }
.ks-rail-btn[disabled] { background: rgba(237, 237, 237, 0.04); color: var(--ks-ink-4); box-shadow: none; cursor: not-allowed; }
.ks-cmt-iconbtn[disabled] { color: var(--ks-ink-4); }
@media (pointer: coarse) {
.ks-more-btn, .ks-cmt-iconbtn, .ks-follow-sm { position: relative; }
.ks-post-dots::after, .ks-dots-btn::after, .ks-pinned-dots::after, .ks-post-back::after,
.ks-more-btn::after, .ks-cmt-iconbtn::after, .ks-search-clear::after,
.ks-follow-sm::after {
content: ""; position: absolute; left: 50%; top: 50%;
width: 100%; height: 100%; min-width: 44px; min-height: 44px;
transform: translate(-50%, -50%);
}
}