




.ls-pane { display: flex; flex-direction: column; gap: var(--kh-sp-3); }
.ls-pane[hidden] { display: none; }


.ls-mine, .ls-card {
    background: var(--glass-bg-2);
    border: 1px solid var(--glass-stroke);
    box-shadow: var(--glass-spec), var(--glass-float-sm);
    border-radius: var(--kh-r-md);
}


.ls-mine { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: var(--kh-sp-2); padding: 12px; }
.ls-mine-none { margin: 0; font-size: var(--kh-fs-sm); color: var(--kh-muted); }
.ls-mine-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; flex: 1 1 200px; min-width: 0; }
.ls-mine-item { display: flex; align-items: center; gap: 6px; min-width: 0; font-size: var(--kh-fs-sm); }
.ls-mine-title { flex: 1 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 800; font-family: var(--kh-font-serif); color: var(--kh-text); }
.ls-mine-likes { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 4px; white-space: nowrap; color: var(--kh-gold-text); font-weight: 800; }
.ls-mine-likes svg { width: 15px; height: 15px; display: block; }
.ls-mine-hidden { flex: 0 0 auto; white-space: nowrap; color: var(--kh-crimson); font-weight: 700; }
.ls-mine-del { flex: 0 0 auto; white-space: nowrap; border: 0; background: none; min-height: 40px; padding: 6px 8px; margin: -6px -4px -6px 0; color: var(--kh-muted); font: inherit; font-size: var(--kh-fs-xs); text-decoration: underline; cursor: pointer; }
.ls-upload { flex: 0 0 auto; }


.ls-seg { gap: 2px; overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x proximity; scrollbar-width: none; }
.ls-seg::-webkit-scrollbar { display: none; }
.ls-seg > .kh-filter { flex: 1 0 auto; min-height: 36px; padding: 4px 10px; font-size: var(--kh-fs-sm); scroll-snap-align: start; }


.ls-list { display: flex; flex-direction: column; gap: var(--kh-sp-3); }
.ls-card { display: flex; flex-direction: column; gap: 10px; padding: 14px 12px 12px; }
.ls-head { display: flex; align-items: center; gap: var(--kh-sp-2); }
.ls-author { flex: 1 1 auto; min-width: 0; display: flex; align-items: center; gap: 11px; border: 0; background: none; padding: 0;
    text-align: left; color: inherit; font: inherit; cursor: pointer; }
.ls-avatar { position: relative; flex: 0 0 46px; width: 46px; height: 46px; border-radius: 50%; overflow: hidden; border: 2px solid var(--kh-border); background: var(--glass-bg-2); }
.ls-avatar img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 18%; display: block; }
.ls-avatar[class*="aura-"] { border-color: var(--a-line); box-shadow: inset 0 0 0 1px rgba(255,255,255,.55), 0 0 10px 0 var(--a-glow); }
.ls-head-text { display: flex; flex-direction: column; gap: 2px; min-width: 0; }
.ls-title { font-family: var(--kh-font-serif); font-size: var(--kh-fs-h3); font-weight: 800; line-height: 1.3; color: var(--kh-text); word-break: keep-all; overflow-wrap: anywhere; }
.ls-who { display: flex; flex-wrap: wrap; align-items: center; gap: 2px 6px; font-size: var(--kh-fs-xs); color: var(--kh-muted); min-width: 0; }
.ls-who-name { font-weight: 700; color: var(--kh-paper-dim); }
.ls-who .kh-badge { padding: 1px 8px; }


.ls-like { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 6px; min-height: 40px; border: 1px solid var(--glass-stroke); border-radius: var(--kh-r-pill);
    padding: 7px 14px; background: var(--glass-bg-2); box-shadow: var(--glass-spec), var(--glass-float-sm); color: var(--kh-muted);
    font-size: var(--kh-fs-sm); font-weight: 700; font-family: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent;
    transition: color var(--kh-dur-fast), border-color var(--kh-dur-fast), transform var(--kh-dur-fast); }
.ls-like svg { width: 17px; height: 17px; display: block; }
.ls-like.on { color: var(--kh-gold-text); border-color: var(--kh-gold); }
.ls-like.on svg { fill: currentColor; }
.ls-like:disabled { opacity: .6; cursor: default; }

.ls-proof { display: flex; flex-wrap: wrap; align-items: center; gap: 6px; }
.ls-date { font-size: var(--kh-fs-xs); color: var(--kh-paper-muted); }


.ls-slots { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 6px; }
.ls-slot { position: relative; aspect-ratio: 1 / 1; overflow: hidden; border-radius: var(--kh-r-sm); background: var(--kh-surface-2);
    border: 1px solid var(--kh-border); }
.ls-slot[style*="--aura"] { border-color: var(--aura); }

.ls-slot--tap { appearance: none; padding: 0; font: inherit; color: inherit; cursor: pointer; -webkit-tap-highlight-color: transparent;
    transition: transform var(--kh-dur-fast); }
.ls-slot--tap:active { transform: scale(.96); }
.ls-detail-own { margin-top: 4px; font-size: var(--kh-fs-sm); color: var(--kh-muted); }
.ls-detail-basis { margin: 0 0 2px; font-size: var(--kh-fs-xs); font-weight: 800; color: var(--kh-gold-text); }
.ls-detail-own.is-owned { color: var(--kh-jade); font-weight: 700; }
.ls-slot img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ls-slot.is-miss img { filter: grayscale(1); opacity: .42; }
.ls-star { position: absolute; right: 3px; bottom: 1px; font-size: var(--kh-fs-xs); font-weight: 800; color: var(--kh-on-dark); text-shadow: 0 0 3px #000, 0 0 2px #000; }
.ls-slot.is-gone { display: flex; align-items: center; justify-content: center; border-style: dashed; }
.ls-slot-gone { font-size: var(--kh-fs-xs); line-height: 1.2; color: var(--kh-muted); text-align: center; padding: 2px; }
.ls-names { margin: 0; font-size: var(--kh-fs-xs); line-height: 1.5; color: var(--kh-paper-dim); word-break: keep-all; }

.ls-foot { display: flex; align-items: center; justify-content: space-between; gap: var(--kh-sp-3); padding-top: 10px; border-top: 1px dashed var(--kh-border); }

.ls-foot--guest { justify-content: flex-end; }
.ls-own { display: flex; flex-direction: column; gap: 6px; flex: 1 1 auto; min-width: 0; max-width: 180px; }
.ls-own-count { font-size: var(--kh-fs-sm); color: var(--kh-text); }
.ls-own-count small { font-size: var(--kh-fs-xs); color: var(--kh-muted); }
.ls-progress { height: 8px; }
.ls-apply { flex: 0 0 auto; }
.ls-more { margin-top: var(--kh-sp-1); }


.ls-sheet { display: flex; flex-direction: column; gap: var(--kh-sp-2); padding-bottom: var(--kh-sp-2); }
.ls-sheet-lbl { margin: var(--kh-sp-2) 0 0; }
.ls-sheet-field { margin: 0; }
.ls-sheet-field > label { margin-top: var(--kh-sp-2); }
.ls-sheet-modes { display: flex; }
.ls-sheet-modes > .kh-filter { flex: 1 1 0; min-height: 40px; }

.ls-sheet-input { position: relative; }
.ls-sheet-input .kh-input { padding-right: 64px; }
.ls-sheet-count { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); font-size: var(--kh-fs-xs); color: var(--kh-paper-muted); font-variant-numeric: tabular-nums; pointer-events: none; }
.ls-sheet-note { margin: 0; font-size: var(--kh-fs-sm); color: var(--kh-muted); }
.ls-sheet-warn { margin: var(--kh-sp-2) 0 0; padding: 10px 12px; border-radius: var(--kh-r-md); background: var(--kh-crimson-soft); color: var(--kh-crimson); font-size: var(--kh-fs-sm); line-height: 1.5; }
.ls-sheet-error { margin: 0; color: var(--kh-crimson); font-size: var(--kh-fs-sm); font-weight: 700; }
.ls-sheet-btns { display: flex; gap: var(--kh-sp-2); margin-top: var(--kh-sp-3); }
.ls-sheet-btns > .kh-btn { flex: 1 1 0; }
.ls-sheet-btns > .kh-btn--secondary { flex: 0 0 34%; }

@media (min-width: 720px) {
    .ls-slots { grid-template-columns: repeat(10, minmax(0, 1fr)); }
}
