/* lane-hoku.css: the Hoku conversation family in the Ask lane (desktop/pages/Laleh-View.php,
   desktop/pages/Laleh.php and their scripts; docs/plans/desktop/fanout.md unit 1). Prefix lf-hoku.
   Loaded after kit.css. "Laleh" is the code name in file and route names only.

   One DOM per page, three widths:
     STAGE  the page paints to the window's edges (data-surface="none" on the root) on the Home
            hero's own wave, so the conversation reads as the hero continuing: Hoku and the
            question in the hero's type, the bubbles, the composer in the ask box's shape.
     LIST   the lane's glass (lanes.css). A compact header, the same thread, the composer usable.
     SPINE  the strip the stage draws; this sheet only gives the Ask lane Hoku's icon while it
            holds one of these pages.
   The page root fills its lane (data-bleed="lane", height 100%): the header and the composer
   stay put and only the thread (or the list of past conversations) scrolls, as on the phone.

   The bubbles and chips keep the mobile chat system's class names (.mvb-run, .mvb-bubble,
   .mvb-stamp, .lv-chips, .lv-chip, .mvc-btn--*), because their markup is shared with mobile
   (src/components/laleh-message.php). Mobile paints them in assets/css/app.css, which the desktop
   does not load; this sheet paints them here, scoped under .lf-hoku. Mobile's colours: the
   person in the blues, Hoku in light glass.

   Parts the kit did not have (listed in the unit's report):
     .lf-hoku::before          the hero's wave as the Stage backdrop of the thread
     .lf-hoku-avatar           Hoku's mark (mobile .lv-avatar: the brand gradient and the sparkle)
     bubbles, stamps, chips    the chat system, dressed for a lane
     .lf-hoku-found            a card set's receipt in the thread (the cards are on the board)
     .lv-typing                the typing dots
     .lf-hoku-row              a past conversation with its delete button

   Soehne has no weight axis: every rule names a family and pins font-weight normal. Nothing
   under 13px. No viewport media query; prefers-reduced-motion and (hover: hover) are the only
   media blocks. No overlays: the error and every chip sit in the flow. */


/* ─── 1. THE LANE'S ICON ON ITS SPINE ─────────────────────────────────────── */
/* While the Ask lane holds the conversation or its history, its Spine shows a speech
   bubble with a sparkle (Hoku), not the search glass. */

.desktop-surface .lane[data-lane="ask"]:is([data-lane-page="Laleh-View"], [data-lane-page="Laleh"]) {
    --_lane-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M4.5 5h10a3.5 3.5 0 0 1 3.5 3.5v5a3.5 3.5 0 0 1-3.5 3.5H10l-4.5 4v-4h-1A3.5 3.5 0 0 1 1 13.5v-5A3.5 3.5 0 0 1 4.5 5z'/%3E%3Cpath d='M20 .5l1.1 2.4 2.4 1.1-2.4 1.1L20 7.5l-1.1-2.4-2.4-1.1 2.4-1.1z'/%3E%3C/svg%3E");
}


/* ─── 1b. THE SHELVES OR RESULTS BESIDE A WIDE CONVERSATION ───────────────── */
/* ONE rule that reaches outside the lane, the same move lane-ask.css section 1 makes for
   the hero: while the conversation is the Stage with the Browse lane a List beside it,
   the List basis grows to about two fifths of the stage, so what Hoku points at has room
   and a conversation is never stretched across a 2560 window. A value for the
   foundation's --lane-list token, not a width; the cap keeps a 36rem thread. Not while
   a listing is open (Focus is then the List). */
.desktop-surface .desktop-stage:has(> .lane[data-lane="ask"][data-w="stage"] > .lane-body > .lf-hoku):has(> .lane[data-lane="browse"][data-w="list"]):not(:has(> .lane[data-lane="focus"]:is([data-w="list"], [data-w="stage"]))) {
    --lane-list: clamp(20rem, min(38cqi, 100cqi - 36rem), 64rem);
}


/* ─── 2. THE PAGE ─────────────────────────────────────────────────────────── */

.desktop-surface .lf-hoku {
    --hk-x: clamp(1rem, 0.4rem + 2.6cqi, 4.5rem);    /* the side inset, the hero's rhythm */
    --hk-type: var(--type-body);
    --hk-ink-head: var(--text);
    --hk-ink-soft: var(--text-soft);
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
    height: 100%;
    min-height: 0;
    min-width: 0;
    color: var(--text);
}

.desktop-surface .lf-hoku [hidden] { display: none !important; }

/* Stage: bigger words, the lane's own width (cqi) setting them, as the hero does. On a very
   wide lane the column (header, conversation, composer) is capped at 64rem and centred instead
   of stretching: the side inset grows to take the rest, the wave still paints the whole lane. */
.desktop-surface .lane[data-w="stage"] > .lane-body .lf-hoku {
    --hk-x: max(clamp(1rem, 0.4rem + 2.6cqi, 4.5rem), (100cqi - 64rem) / 2);
    --hk-type: calc(clamp(1.0625rem, 0.8rem + 0.7cqi, 1.5rem) + 1.5 * var(--up));
}

.desktop-surface .lf-hoku-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}


/* ─── 3. THE HEADER: Hoku, the question, the quiet controls ───────────────── */

.desktop-surface .lf-hoku-head {
    flex: none;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: var(--space-sm) var(--space-md);
    padding: var(--space-md) var(--hk-x) var(--space-sm);
}

.desktop-surface .lf-hoku-avatar {
    display: inline-grid;
    place-items: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--rt-pink) 0%, var(--rt-blue) 100%);
    box-shadow: 0 0.35rem 0.9rem rgba(44, 117, 222, 0.32), 0 0 0 2px rgba(255, 255, 255, 0.75);
    color: #fff;
    font-size: 1.15rem;
}

.desktop-surface .lf-hoku-who { display: grid; gap: 0.1rem; min-width: 0; }

.desktop-surface .lf-hoku-name {
    margin: 0;
    color: var(--hk-ink-soft);
    font-family: var(--font-head);
    font-weight: normal;
    font-size: var(--type-meta);
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.desktop-surface .lf-hoku-title {
    margin: 0;
    overflow: hidden;
    color: var(--hk-ink-head);
    font-family: var(--font-head);
    font-weight: normal;
    font-size: var(--type-lead);
    line-height: 1.15;
    letter-spacing: var(--track-tight, -0.02em);
    /* wraps rather than clipping in a narrow lane ("Ask me anyt..." at 900: fixer Z, item 10) */
    white-space: normal;
    overflow-wrap: break-word;
    text-wrap: balance;
}

.desktop-surface .lf-hoku-sub {
    margin: 0;
    color: var(--hk-ink-soft);
    font-family: var(--font-text);
    font-weight: normal;
    font-size: var(--type-meta);
}

.desktop-surface .lf-hoku-acts {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: var(--space-xs);
}

/* The way back to the Stage, for a lane that is a List */
.desktop-surface .lane[data-w="stage"] > .lane-body .lf-hoku-widen { display: none; }

/* Armed delete (two taps, no dialog): the pink fill says "press again" */
.desktop-surface .lf-hoku :is(.lf-hoku-delete, .lf-hoku-row-del).is-armed {
    background: var(--fill-pink);
    outline-color: var(--rt-pink-lt);
    color: #fff;
}

/* Stage: the hero's type. Hoku's mark grows, the question is a display line on the wave
   (two lines at most), the controls sit on glass at the top right. */
.desktop-surface .lane[data-w="stage"] > .lane-body .lf-hoku-head {
    align-items: start;
    gap: var(--space-sm) clamp(0.9rem, 0.4rem + 1.4cqi, 2rem);
    padding: clamp(1.25rem, 0.6rem + 2.4cqi, 3.5rem) var(--hk-x) clamp(0.75rem, 0.3rem + 1.4cqi, 2rem);
}

.desktop-surface .lane[data-w="stage"] > .lane-body .lf-hoku-avatar {
    width: clamp(3rem, 2.2rem + 2.4cqi, 4.75rem);
    height: clamp(3rem, 2.2rem + 2.4cqi, 4.75rem);
    margin-top: 0.2rem;
    font-size: clamp(1.35rem, 0.95rem + 1.1cqi, 2.15rem);
}

.desktop-surface .lane[data-w="stage"] > .lane-body .lf-hoku-name { font-size: calc(var(--type-meta) + 0.1rem); }

/* The quiet controls grow with the Stage, as the hero's do */
.desktop-surface .lane[data-w="stage"] > .lane-body .lf-hoku-acts > .k-iconbtn {
    width: clamp(2.4rem, 1.7rem + 1.4cqi, 3.4rem);
    height: clamp(2.4rem, 1.7rem + 1.4cqi, 3.4rem);
    font-size: clamp(0.95rem, 0.7rem + 0.5cqi, 1.3rem);
}

.desktop-surface .lane[data-w="stage"] > .lane-body .lf-hoku-acts > .k-btn {
    min-height: clamp(2.4rem, 1.7rem + 1.4cqi, 3.4rem);
    font-size: var(--type-body);
}

.desktop-surface .lane[data-w="stage"] > .lane-body .lf-hoku-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    max-width: 24em;
    font-size: clamp(1.7rem, 0.55rem + 3.6cqi, calc(4.25rem + 5 * var(--up)));
    line-height: 1.04;
    white-space: normal;
    text-wrap: balance;
}

.desktop-surface .lane[data-w="stage"] > .lane-body .lf-hoku-sub { font-size: var(--type-body); }

/* A narrow lane: the history control keeps its icon, its words stay for assistive tech */
@container lane (width < 36rem) {
    .desktop-surface .lf-hoku-past > span {
        position: absolute;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip-path: inset(50%);
        white-space: nowrap;
    }

    .desktop-surface .lf-hoku-past { padding-inline: 0.75em; }
}


/* ─── 4. THE THREAD ───────────────────────────────────────────────────────── */
/* The one scroller. Short threads sit at the bottom, against the composer (mobile's
   bottom-anchor trick); the top edge fades so bubbles slide under the header. */

.desktop-surface .lf-hoku-thread {
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden auto;
    overscroll-behavior: contain;
    padding: 0 var(--hk-x);
    scrollbar-width: thin;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 1.25rem);
    mask-image: linear-gradient(to bottom, transparent 0, #000 1.25rem);
}

.desktop-surface .lf-hoku-runs {
    flex: none;
    display: flex;
    flex-direction: column;
    gap: clamp(0.35rem, 0.2rem + 0.4cqi, 0.8rem);
    margin-top: auto;
    padding-block: 1.25rem var(--space-sm);
}

/* Stage: the conversation starts right under Hoku and the opening line, so a short thread
   meets the header with no empty wave between them (a tall Stage left the top half bare). It
   grows down to the composer and from there scrolls, following the newest message. A List
   keeps the phone's bottom anchor. */
.desktop-surface .lane[data-w="stage"] > .lane-body .lf-hoku-runs { margin-top: 0; padding-top: 0.5rem; }

.desktop-surface .lf-hoku .mvb-run {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.desktop-surface .lf-hoku .mvb-mine { align-items: flex-end; }
.desktop-surface .lf-hoku .mvb-theirs { align-items: flex-start; }

.desktop-surface .lf-hoku .mvb-bubble {
    max-width: min(82%, 46em);
    padding: 0.68em 1.05em;
    border-radius: 1.3em;
    font-family: var(--font-text);
    font-weight: normal;
    font-size: var(--hk-type);
    line-height: 1.42;
    overflow-wrap: anywhere;
}

/* The person: the blues (mobile .mvb-mine) */
.desktop-surface .lf-hoku .mvb-mine .mvb-bubble {
    background: linear-gradient(160deg, var(--rt-blue-lt) -10%, var(--rt-blue) 55%, var(--rt-blue-dk) 140%);
    color: #fff;
    box-shadow: 0 0.375rem 1rem rgba(44, 117, 222, 0.35), 0 0.125rem 0.375rem rgba(44, 117, 222, 0.22);
}

.desktop-surface .lf-hoku .mvb-mine .mvb-bubble.mvb-last { border-bottom-right-radius: 0.4em; }

/* Hoku: light glass (mobile .mvb-theirs), a little more opaque so it holds on the wave */
.desktop-surface .lf-hoku .mvb-theirs .mvb-bubble {
    background: rgba(255, 255, 255, 0.9);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.75);
    color: #1c2430;
    box-shadow: 0 0.45rem 1.3rem rgba(21, 56, 105, 0.16);
}

.desktop-surface .lf-hoku .mvb-theirs .mvb-bubble.mvb-last { border-bottom-left-radius: 0.4em; }
.desktop-surface .lf-hoku .mvb-theirs .mvb-bubble { cursor: default; }

.desktop-surface .lf-hoku .mvb-stamp {
    margin: 0.3rem 0.7rem 0;
    padding: 0.1rem 0.6rem;
    border-radius: 1rem;
    background: rgba(255, 255, 255, 0.6);
    color: var(--text-faint);
    font-family: var(--font-text);
    font-weight: normal;
    font-size: var(--type-meta);
    line-height: 1.4;
}

/* A message that did not go: kept, marked, and offered again from the alert */
.desktop-surface .lf-hoku .lf-hoku-unsent .mvb-bubble {
    opacity: 0.72;
    outline: 2px dashed rgba(235, 93, 143, 0.75);
    outline-offset: 2px;
}

.desktop-surface .lf-hoku .lf-hoku-unsent .mvb-stamp { color: var(--ink-pink); }

/* Hoku is writing (mobile .lv-typing) */
.desktop-surface .lf-hoku .lv-typing .mvb-bubble {
    display: inline-flex;
    align-items: center;
    gap: 0.32rem;
    min-height: 2.6em;
}

.desktop-surface .lf-hoku .lv-dot {
    width: 0.5rem;
    height: 0.5rem;
    border-radius: 50%;
    background: currentColor;
    opacity: 0.35;
    animation: lf-hoku-dot 1.2s infinite ease-in-out;
}

.desktop-surface .lf-hoku .lv-dot:nth-child(2) { animation-delay: 0.15s; }
.desktop-surface .lf-hoku .lv-dot:nth-child(3) { animation-delay: 0.3s; }

@keyframes lf-hoku-dot {
    0%, 60%, 100% { opacity: 0.35; transform: translateY(0); }
    30% { opacity: 1; transform: translateY(-3px); }
}

/* A new run arrives: a small rise, not a fade from nowhere */
.desktop-surface .lf-hoku-runs > .mvb-run:last-child,
.desktop-surface .lf-hoku-runs > .lf-hoku-found:last-child {
    animation: lf-hoku-in var(--dur-base) var(--ease-out) backwards;
}

@keyframes lf-hoku-in {
    from { opacity: 0; transform: translate3d(0, 0.6rem, 0); }
    to { opacity: 1; transform: none; }
}


/* ─── 5. CHIPS: answers, hand-offs (mobile .lv-chips + the chat button suite) ─ */

.desktop-surface .lf-hoku .lv-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    max-width: min(100%, 52em);
    margin-top: 0.6rem;
}

.desktop-surface .lf-hoku .lv-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.45em;
    min-height: 2.5rem;
    padding: 0.4em 1.1em;
    border: 0;
    border-radius: var(--r-pill);
    font-family: var(--font-head);
    font-weight: normal;
    font-size: calc(var(--hk-type) * 0.9);
    line-height: 1.2;
    text-align: left;
    cursor: pointer;
    transition: transform var(--dur-fast) var(--ease-out), box-shadow var(--dur-fast) var(--ease-out), filter var(--dur-fast) var(--ease-out);
}

.desktop-surface .lf-hoku .lv-chip > i { font-size: 0.75em; }

/* A hand-off (search, sign in, create, a page): the blue fill */
.desktop-surface .lf-hoku .lv-chip.mvc-btn--primary {
    background: var(--fill-blue);
    box-shadow: 0 0.35rem 0.85rem rgba(44, 117, 222, 0.32);
    color: #fff;
}

/* An answer to tap: glass with blue ink */
.desktop-surface .lf-hoku .lv-chip.mvc-btn--ghost {
    background: rgba(255, 255, 255, 0.88);
    -webkit-backdrop-filter: blur(8px);
    backdrop-filter: blur(8px);
    box-shadow: inset 0 0 0 2px rgba(44, 117, 222, 0.32), 0 0.25rem 0.7rem rgba(21, 56, 105, 0.1);
    color: var(--ink-blue);
}

.desktop-surface .lf-hoku .lv-chip:active { transform: scale(0.97); }

.desktop-surface .lf-hoku .lv-chip:focus-visible {
    outline: 3px solid var(--rt-blue);
    outline-offset: 2px;
}

/* Spent answers: dimmed and inert; the one picked keeps its read */
.desktop-surface .lf-hoku .lv-chip.lv-chip-done { opacity: 0.45; pointer-events: none; }
.desktop-surface .lf-hoku .lv-chip.lv-chip-picked { opacity: 0.85; box-shadow: inset 0 0 0 2px var(--rt-blue); }


/* ─── 6. A CARD SET'S RECEIPT ─────────────────────────────────────────────── */
/* The cards themselves are on the board beside; the thread keeps which answer brought them
   and one way to bring them back. */

.desktop-surface .lf-hoku-found {
    align-self: flex-start;
    display: flex;
    flex-wrap: nowrap;
    align-items: center;
    gap: var(--space-sm) var(--space-md);
    max-width: min(100%, 40rem);
    margin: 0.15rem 0 0.35rem;
    padding: 0.6rem 0.75rem 0.6rem 0.65rem;
    border-radius: var(--r-panel);
    background: rgba(255, 255, 255, 0.78);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.85), 0 0.4rem 1.1rem rgba(21, 56, 105, 0.12);
}

.desktop-surface .lf-hoku-faces { display: inline-flex; flex: none; padding-left: 0.5rem; }

.desktop-surface .lf-hoku-face {
    width: 2.5rem;
    height: 2.5rem;
    margin-left: -0.6rem;
    border-radius: 50%;
    background: var(--tilt-pink) center / cover no-repeat;
    box-shadow: 0 0 0 2px #fff, 0 0.2rem 0.5rem rgba(21, 56, 105, 0.2);
}

.desktop-surface .lf-hoku-found-text {
    display: grid;
    flex: 1 1 8rem;
    min-width: 0;
    line-height: 1.25;
}

.desktop-surface .lf-hoku-found-n {
    color: var(--text);
    font-family: var(--font-head);
    font-weight: normal;
    font-size: var(--type-body);
}

.desktop-surface .lf-hoku-found-where {
    color: var(--text-soft);
    font-family: var(--font-text);
    font-weight: normal;
    font-size: var(--type-meta);
}

.desktop-surface .lf-hoku-found-go { flex: none; white-space: nowrap; }

/* A List lane: the button takes its own line under the faces */
@container lane (width < 30rem) {
    .desktop-surface .lf-hoku-found { flex-wrap: wrap; }
}

.desktop-surface .lf-hoku-found.is-on {
    box-shadow: inset 0 0 0 2px var(--rt-blue), 0 0.5rem 1.3rem rgba(44, 117, 222, 0.22);
}

.desktop-surface .lf-hoku-found.is-on .lf-hoku-found-where { color: var(--ink-blue); }


/* ─── 7. THE ALERT AND THE COMPOSER ───────────────────────────────────────── */
/* The composer is the Home ask box, carried down: the same pill, the same pink send. At
   Stage it keeps the hero's size; at List the kit's own. */

.desktop-surface .lf-hoku-alert {
    flex: none;
    margin: 0 var(--hk-x) var(--space-xs);
}

.desktop-surface .lf-hoku-alert > div { display: grid; gap: var(--space-sm); justify-items: start; }

.desktop-surface .lf-hoku-composer {
    flex: none;
    margin: 0;
    padding: var(--space-sm) var(--hk-x) clamp(0.9rem, 0.5rem + 1.2cqi, 2rem);
}

.desktop-surface .lf-hoku-ask > textarea.k-input { max-height: 12rem; }

.desktop-surface .lf-hoku-ask > .k-ask-go {
    transition: transform var(--dur-base) var(--ease-spring), opacity var(--dur-fast) var(--ease-out), filter var(--dur-fast) var(--ease-out);
}

/* Nothing typed yet: the send button rests (mobile shows it only once there are words) */
.desktop-surface .lf-hoku-ask > .k-ask-go.is-resting { opacity: 0.6; filter: saturate(0.65); }
.desktop-surface .lf-hoku-ask > .k-ask-go.is-shake { animation: lf-hoku-shake 0.45s var(--ease-out); }

@keyframes lf-hoku-shake {
    20%, 60% { translate: -4px 0; }
    40%, 80% { translate: 4px 0; }
}

.desktop-surface .lane[data-w="stage"] > .lane-body .lf-hoku-ask > textarea.k-input {
    min-height: clamp(3.5rem, 1.7rem + 4.6cqi, 6rem);
    padding-left: clamp(3.3rem, 2rem + 3.6cqi, 5.4rem);
    padding-right: clamp(4.25rem, 2.6rem + 4.4cqi, 6.75rem);
    padding-block: clamp(0.95rem, 0.45rem + 1.4cqi, 1.75rem);
    border-radius: clamp(1.75rem, 0.8rem + 3cqi, 3.2rem);
    font-size: clamp(1.15rem, 0.7rem + 1.7cqi, calc(1.9rem + 2 * var(--up)));
}

.desktop-surface .lane[data-w="stage"] > .lane-body .lf-hoku-ask > .k-ask-icon {
    left: clamp(1.15rem, 0.6rem + 1.4cqi, 2rem);
    font-size: clamp(1.25rem, 0.75rem + 1.6cqi, 2.1rem);
}

.desktop-surface .lane[data-w="stage"] > .lane-body .lf-hoku-ask > .k-ask-go {
    right: clamp(0.5rem, 0.25rem + 0.6cqi, 0.95rem);
    bottom: clamp(0.5rem, 0.25rem + 0.6cqi, 0.95rem);
    width: clamp(2.75rem, 1.3rem + 4cqi, 4.6rem);
    height: clamp(2.75rem, 1.3rem + 4cqi, 4.6rem);
    font-size: clamp(1.05rem, 0.6rem + 1.3cqi, 1.6rem);
}


/* ─── 8. STATES IN THE LANE: Hoku off, someone else's thread, nothing yet ─── */

.desktop-surface .lf-hoku-state {
    flex: 1 1 auto;
    align-content: center;
    padding-inline: var(--hk-x);
}



/* ─── 9. PAST CONVERSATIONS (Laleh) ───────────────────────────────────────── */
/* Rows in one glass panel under the header; the panel scrolls, the header stays. */

.desktop-surface .lf-hoku-rows {
    flex: 0 1 auto;
    min-height: 0;
    margin: var(--space-xs) var(--hk-x) clamp(0.9rem, 0.5rem + 1.2cqi, 2rem);
    padding: 0.25rem 0;
    overflow: hidden auto;
    overscroll-behavior: contain;
    border-radius: var(--r-feature);
    background: rgba(255, 255, 255, 0.86);
    -webkit-backdrop-filter: blur(12px);
    backdrop-filter: blur(12px);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.85), 0 1rem 2.4rem -1.2rem rgba(21, 56, 105, 0.35);
    list-style: none;
}

.desktop-surface .lane:not([data-w="stage"]) > .lane-body .lf-hoku-rows {
    margin-inline: 0;
    border-radius: 0;
    background: none;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
    box-shadow: none;
}

.desktop-surface .lf-hoku-row {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding-right: var(--space-md);
    overflow: hidden;
    transition: height var(--dur-base) var(--ease-out), opacity var(--dur-base) var(--ease-out);
}

.desktop-surface .lf-hoku-row:first-child > .k-row { border-top: 0; }
.desktop-surface .lf-hoku-row > .k-row { flex: 1 1 auto; min-width: 0; }
.desktop-surface .lf-hoku-row > .k-row .k-row-icon { color: var(--rt-purple); }
.desktop-surface .lf-hoku-row .k-row-sub {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    overflow: hidden;
}

.desktop-surface .lf-hoku-row.is-unread .k-row-title { color: var(--ink-blue); }
.desktop-surface .lf-hoku-row.is-gone { opacity: 0; }

.desktop-surface .lf-hoku-kind {
    padding: 0.05rem 0.5rem;
    border-radius: var(--r-pill);
    background: var(--rt-purple-slt);
    color: var(--ink-purple, var(--rt-purple));
    font-family: var(--font-head);
    font-weight: normal;
}

.desktop-surface .lf-hoku-dot {
    display: inline-block;
    width: 0.55rem;
    height: 0.55rem;
    margin-left: 0.25rem;
    border-radius: 50%;
    background: var(--rt-pink);
    vertical-align: middle;
}

.desktop-surface .lf-hoku-state-note { padding: var(--space-md) var(--hk-x); }

.desktop-surface .lane[data-w="stage"] > .lane-body .lf-hoku-rows .k-row { padding-block: clamp(0.85rem, 0.6rem + 0.6cqi, 1.35rem); }
.desktop-surface .lane[data-w="stage"] > .lane-body .lf-hoku-rows .k-row-title { font-size: var(--type-lead); }


/* ─── 10. POINTER AND MOTION ──────────────────────────────────────────────── */

@media (hover: hover) and (pointer: fine) {
    .desktop-surface .lf-hoku .lv-chip:hover { transform: translateY(-1px); filter: brightness(1.05); }
    .desktop-surface .lf-hoku .lv-chip.mvc-btn--primary:hover { box-shadow: 0 0.55rem 1.2rem rgba(44, 117, 222, 0.38); }
}

@media (prefers-reduced-motion: reduce) {
    .desktop-surface .lf-hoku .lv-dot,
    .desktop-surface .lf-hoku-runs > .mvb-run:last-child,
    .desktop-surface .lf-hoku-runs > .lf-hoku-found:last-child,
    .desktop-surface .lf-hoku-ask > .k-ask-go.is-shake { animation: none; }
    .desktop-surface .lf-hoku .lv-chip,
    .desktop-surface .lf-hoku-row,
    .desktop-surface .lf-hoku-ask > .k-ask-go { transition: none; }
}
