/* SHARED page style (recordings) of 久远澪.com and hisame.live - was inline in /var/www/9on0/recordings/index.html until 2026-11-13.
   Colours = variables (style.css / this file give 久远澪's; hisame.live overrides them in its theme.css). Edit here, then /opt/site-style/bump-style.sh. */
  :root {
    /* shared colours, fonts, corners: /style.css (new site style since 2026-11-11); page-only colours here */
    --pop: #fff;                          /* the chart's hover box */
    --all: #b9d097;   /* 全部弹幕 bars (deeper hair mint) */
    --rep: #dce8cc;   /* the part of a bar that is repeated text (same sender + text within 60 s) */
    --ee: #5e534d;    /* 呃呃 bars (ink brown; drawn inside the 全部弹幕 bars, always shorter) */
    /* player controls (on the dark video): from the user's colour set (character reference image:
       f1f8e6 / 645143 / fbf7ee / ffeba4 / bbefea) + black; chosen 2026-10-17; white changed 2026-10-18 */
    --ui-rgb: 251 253 247;                /* icons, text, knobs, bars: the page's own white #fbfdf7 (= --card-solid; user 2026-10-18, was cream #fbf7ee) */
    --play: rgb(var(--ui-rgb));           /* played part of the seek bar, volume level (was yellow #fff2be, then #fff) */
    --shade-rgb: 0 0 0;                   /* dark parts: black (shading behind the bar, menus, round button) */
    --ui: rgb(var(--ui-rgb));
    --ui-track: rgb(var(--ui-rgb) / .28); /* empty part of the bars */
    --ui-buf: rgb(var(--ui-rgb) / .42);   /* loaded part of the seek bar */
    --ui-dark: rgb(var(--shade-rgb) / .92);
  }
  .wrap { max-width: 860px; margin: 0 auto; padding: 36px 16px 60px; }

  h1, h2.month { font-family: "Heading Serif", "Songti SC", "STSong", "SimSun", serif; font-weight: 600; }
  /* Top line: link back to the menu of all streamers (rec.driedjellyfish.com/) + 录制说明 button */
  .top { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: 0 0 10px; min-height: 28px; }
  .top .crumbs { margin: 0; }
  .notes-btn {
    display: inline-flex; align-items: center; gap: 6px; flex: 0 0 auto;
    font: inherit; font-size: 13px; color: var(--text); cursor: pointer;
    border: 1px solid transparent; border-radius: var(--r); padding: 3px 11px;
    /* Same look as the link rows on 9on0.driedjellyfish.com (no visible edge, soft shadow)
       so the button stands out less (2026-10-15; was 1px solid var(--line)) */
    background: var(--btn-bg); box-shadow: 0 1px 2px rgb(var(--shadow-rgb) / .08);
    transition: background-color .15s, box-shadow .15s;
  }
  .notes-btn[hidden] { display: none; }
  .notes-btn:hover { background: #fff; box-shadow: 0 3px 12px rgb(var(--shadow-rgb) / .14); }
  .notes-btn .n {
    min-width: 18px; height: 18px; padding: 0 5px; border-radius: var(--r); background: var(--muted); color: var(--bg);
    font-size: 11.5px; font-weight: 600; line-height: 18px; text-align: center; font-variant-numeric: tabular-nums;
  }
  header h1 { margin: 0; font-size: 34px; line-height: 1.25; letter-spacing: 1px; }
  header p { margin: 8px 0 0; color: var(--faint); font: 12.5px/1.5 var(--mono); }

  .controls {
    position: sticky; top: 0; z-index: 5;
    background: var(--bar-bg);
    -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
    padding: 12px 0 12px; margin: 10px 0 6px;  /* 10px: was the tab row's space before the calendar moved out (2026-10-17) */
    display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
    border-bottom: 1px solid var(--line);
  }
  .seg { display: inline-flex; border: 1px solid var(--line); border-radius: var(--r); background: var(--card-solid); padding: 2px; }
  .seg button {
    border: 0; background: none; color: var(--text); border-radius: var(--r);
    padding: 5px 14px; font: inherit; font-size: 14px; cursor: pointer;
  }
  .seg button .n { color: var(--muted); font: 11.5px var(--mono); margin-left: 6px; }
  .seg button[aria-pressed="true"] { background: var(--accent); color: #fff; }
  .seg button[aria-pressed="true"] .n { color: var(--seg-n-on); }
  .right { display: flex; gap: 8px; flex: 1 1 260px; min-width: 0; justify-content: flex-end; }  /* min-width: else 27 px too wide on 320 px phones */
  input[type=search], select {
    font: inherit; font-size: 14px; color: var(--text);
    border: 1px solid var(--line); background-color: var(--card-solid);   /* -color: keeps the select arrow from /style.css */
    border-radius: var(--r); padding: 6px 10px;
  }
  input[type=search] { flex: 1; min-width: 0; max-width: 300px; }
  select { padding-right: 32px; }   /* room for the arrow from /style.css */
  input:focus, select:focus, button:focus-visible, a:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

  h2.month {
    margin: 34px 4px 10px; font-size: 21px; line-height: 1.3; letter-spacing: .5px;
    display: flex; flex-wrap: wrap; gap: 4px 12px; align-items: baseline;
  }
  h2.month em { font: normal 12.5px var(--mono); color: var(--faint); letter-spacing: 0; }
  h2.month span {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    font: 400 12px var(--mono); color: var(--muted); letter-spacing: 0; margin-left: auto;
  }

  /* One flat rounded row per file; the cover fills the row's full height on the left */
  .rows {
    display: flex; flex-direction: column; background: var(--card); border-radius: var(--r); overflow: hidden;
    box-shadow: 0 1px 2px rgb(var(--shadow-rgb) / .06);
  }
  .rows > * + * { border-top: 1px solid var(--line-soft); }
  .rows > a.row, .rows > .item { background: none !important; box-shadow: none !important; border-radius: 0; }
  a.row {
    display: flex; align-items: center;
    background: var(--btn-bg); border-radius: var(--r); overflow: hidden;
    color: var(--text); text-decoration: none;
    box-shadow: 0 1px 2px rgb(var(--shadow-rgb) / .08);
    transition: background-color .15s, box-shadow .15s;
  }
  a.row:hover { background: #fff; box-shadow: 0 3px 12px rgb(var(--shadow-rgb) / .14); }
  /* Row height comes from the text: 8 + 22 + 1 + 19 + 8 = 58 px, so 77 px wide keeps the cover 4:3 */
  .cover { flex: 0 0 77px; align-self: stretch; background: var(--line-soft); }
  .cover img { display: block; width: 100%; height: 100%; object-fit: cover; }
  .text { flex: 1; min-width: 0; padding: 8px 16px; }
  .text b {
    display: block; font-size: 15.5px; font-weight: 600; line-height: 22px;
    white-space: nowrap; overflow: hidden;
    /* long titles: one line that fades out at the end (every row keeps the same height) */
    -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent);
    mask-image: linear-gradient(to right, #000 calc(100% - 28px), transparent);
  }
  a.row:hover .text b { color: var(--accent); }
  .sub { margin-top: 1px; color: var(--faint); font: 12px/19px var(--mono); }
  .sub .m { display: none; }
  .sz { flex: 0 0 auto; padding-right: 18px; color: var(--faint); font-family: var(--mono); white-space: nowrap; }
  /* length on the title's line, size on the date's line, both right-aligned */
  .sz { display: flex; flex-direction: column; align-items: flex-end; }
  .sz span:first-child { font-size: 12.5px; line-height: 22px; color: var(--ink); }
  .sz span:last-child { font-size: 12px; line-height: 19px; margin-top: 1px; }

  /* 录制说明 (recording notes) window; shown only via the button at the top right */
  dialog.notes {
    width: min(520px, calc(100% - 32px)); max-height: min(80vh, 640px); padding: 0;
    border: 0; border-radius: var(--r); background: var(--card-solid); color: var(--text);
    box-shadow: 0 10px 40px rgba(0, 0, 0, .25);
  }
  dialog.notes::backdrop { background: rgba(0, 0, 0, .35); }
  .notes-head {
    position: sticky; top: 0; display: flex; align-items: center; justify-content: space-between;
    padding: 14px 14px 12px 20px; background: var(--card-solid); border-bottom: 1px solid var(--line);
  }
  .notes-head h2 { margin: 0; font-family: "Heading Serif", "Songti SC", "STSong", serif; font-size: 18px; font-weight: 600; letter-spacing: 1px; }
  .notes-head button {
    font: inherit; font-size: 20px; line-height: 1; color: var(--muted); cursor: pointer;
    background: none; border: 0; border-radius: var(--r); width: 32px; height: 32px;
  }
  .notes-head button:hover { color: var(--text); }
  .notes-list { padding: 4px 20px 18px; outline: none; }
  .notes-list article { padding: 14px 0 4px; border-radius: var(--r); transition: background-color .6s; }
  .notes-list article + article { border-top: 1px solid var(--line); }
  .notes-list article.hl { background: var(--accent-soft); }
  .notes-list h3 { margin: 0; font-size: 16px; line-height: 1.45; font-weight: 600; }
  .notes-list .d { color: var(--muted); font-size: 12.5px; margin-top: 2px; }
  .notes-list p { margin: 8px 0 0; font-size: 14.5px; line-height: 1.65; }
  .notes-list a { display: inline-block; margin-top: 10px; color: var(--accent); font-size: 14px; text-decoration: none; }
  .notes-list a:hover { text-decoration: underline; }

  .empty, .error { text-align: center; color: var(--muted); padding: 40px 0; }
  .error { color: #9b2c1f; }

  /* Floating 9on0 picture behind the content (same motion as driedjellyfish.com/me/desmos/) */
  .bouncing-icon {
    position: fixed; top: 0; left: 0;
    width: 150px; height: auto;
    pointer-events: none; user-select: none;
    z-index: -1; will-change: transform;
  }
  @media (prefers-reduced-motion: reduce) { .bouncing-icon { display: none; } a.row { transition: none; } }

  footer { margin-top: 44px; }

  @media (max-width: 560px) {
    .wrap { padding-top: 24px; }
    header h1 { font-size: 27px; }
    h2.month { font-size: 20px; margin-top: 28px; }
    h2.month em { font-size: 14px; }
    .bouncing-icon { width: 100px; }
    .right { justify-content: stretch; }
    input[type=search] { max-width: none; }
    .text { padding: 8px 12px; }
    .text b {
      font-size: 15px;
    }
    .sz { display: none; }  /* size moves into the line under the title */
    .sub .m { display: inline; }
  }
  dialog h2[tabindex]:focus { outline: none; }

  /* MP4 rows (2026-10-17): a card with the row, the 数据 button (streams with 弹幕 data) and, under
     it, the player / data box when in use. The card takes over the row's fill and shadow. */
  .item {
    background: var(--btn-bg); border-radius: var(--r); overflow: hidden;
    box-shadow: 0 1px 2px rgb(var(--shadow-rgb) / .08); transition: box-shadow .15s;
  }
  .item:hover { box-shadow: 0 3px 12px rgb(var(--shadow-rgb) / .14); }
  .line { display: flex; align-items: stretch; }
  .item a.row { flex: 1; min-width: 0; background: none; box-shadow: none; border-radius: 0; }
  .item a.row:hover { background: #fff; box-shadow: none; }
  /* player or 数据 open under the row: show the whole title (wraps; a changed title "A → B" is read in full) */
  .item:has(> .player:not([hidden])) .text b, .item:has(> .box:not([hidden])) .text b {
    white-space: normal; overflow-wrap: anywhere; -webkit-mask-image: none; mask-image: none;
  }
  button.more {
    flex: 0 0 auto; width: 52px; border: 0; border-left: 1px solid var(--line-soft); background: none;
    color: var(--muted); font: inherit; font-size: 12px; cursor: pointer; padding: 0;
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1px;
    transition: background-color .15s, color .15s;
  }
  button.more:hover { background: #fff; color: var(--accent); }
  button.more svg { transition: transform .2s; }
  button.more[aria-expanded="true"] svg { transform: rotate(180deg); }
  .item button:focus-visible, .item a:focus-visible { outline: 2px solid var(--accent); outline-offset: -2px; }  /* inside: the card clips */

  /* spacing (2026-10-18 review): the box's padding is the only space around its content, the same on
     all sides and the same as the bar above it (16 px computers, 12 px phones), so everything lines up */
  .box { border-top: 1px solid var(--line-soft); padding: 16px; }
  .box[hidden] { display: none; }
  .stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin-top: 10px; }  /* under the timeline (user 2026-10-18; was above it) */
  .stat .v { font: 500 19px/1.25 var(--mono); }
  .stat .v small { font-size: 13px; font-weight: 400; color: var(--muted); margin-left: 4px; }
  .stat .k { font-size: 12.5px; color: var(--muted); }
  .box h3 { margin: 0; font-size: 14px; font-weight: 600; }
  .box h3 span { font-weight: 400; font-size: 12px; color: var(--muted); margin-left: 8px; }

  .box { position: relative; }
  .chart { touch-action: pan-y; -webkit-user-select: none; user-select: none; -webkit-touch-callout: none; }  /* iPhone: a held finger sliding along the timeline must not select text (blue handles) */
  .chart svg { display: block; width: 100%; overflow: visible; }
  .chart text { font-size: 11px; fill: var(--muted); font-variant-numeric: tabular-nums; }
  .chart .bar { fill: var(--all); }
  .chart .bar.ee { fill: var(--ee); }
  .chart .bar.rep { fill: var(--rep); }
  .chart .bar.dim { opacity: .35; }
  .chart .grid { stroke: var(--line-soft); stroke-width: 1; }
  .chart .base { stroke: var(--line); stroke-width: 1; }
  .chart .dot { fill: var(--muted); }
  .chart .hair { stroke: var(--text); stroke-width: 1; opacity: .35; }
  .tip {
    position: fixed; z-index: 30; pointer-events: none; white-space: nowrap;
    padding: 6px 10px; border-radius: var(--r); background: var(--pop); box-shadow: 0 4px 16px rgb(var(--shadow-rgb) / .2);
    font-size: 12.5px; line-height: 1.5; font-variant-numeric: tabular-nums;
  }
  .tip[hidden] { display: none; }
  .tip.tap { pointer-events: auto; cursor: pointer; }
  .tip b { font-weight: 600; }
  .tip .m { color: var(--muted); }
  .tip .hint { color: var(--accent); }

  .chead { display: flex; align-items: baseline; justify-content: space-between; gap: 4px 12px; flex-wrap: wrap; margin: 0 0 8px; }
  .chead h3 { margin: 0; }
  .legend { display: flex; gap: 12px; font-size: 12.5px; color: var(--muted); }
  .legend i { display: inline-block; width: 10px; height: 10px; border-radius: 2px; margin-right: 5px; vertical-align: -1px; }
  /* the 呃呃 room sticker, shown in place of the word */
  img.emo { width: 1.45em; height: 1.45em; vertical-align: -.4em; margin: 0 1px; }
  .tip i { display: inline-block; width: 8px; height: 8px; border-radius: 2px; margin-right: 5px; vertical-align: 0; }
  /* Player: opens under the row when the row is clicked; 弹幕 drawn on a canvas over the video */
  .player { border-top: 1px solid var(--line-soft); }
  .player[hidden] { display: none; }
  .screen { position: relative; background: #000; aspect-ratio: 16 / 9; max-height: 80vh; margin: 0 auto; outline: none; }
  .screen video { position: absolute; left: 0; top: 0; display: block; width: 100%; height: 100%; object-fit: contain; }
  .screen canvas { position: absolute; z-index: 1; left: 0; top: 0; width: 100%; height: 100%; pointer-events: none; }
  /* full screen = the whole .screen (video + 弹幕 + our controls); iPhones have no element full screen,
     so there .pseudo fills the browser window instead */
  .screen.fs { aspect-ratio: auto; max-height: none; width: 100%; height: 100%; }
  .screen.pseudo { position: fixed; z-index: 100; left: 0; top: 0; width: 100vw; height: 100vh; height: 100dvh; }
  html.noscroll, html.noscroll body { overflow: hidden; }

  /* Our own controls (the browser's own full screen would leave the 弹幕 behind) */
  .ctl {
    position: absolute; z-index: 2; left: 0; right: 0; bottom: 0; padding: 22px 10px 2px; color: var(--ui);
    background: linear-gradient(rgb(var(--shade-rgb) / 0), rgb(var(--shade-rgb) / .65)); transition: opacity .25s;
  }
  .screen.idle .ctl { opacity: 0; pointer-events: none; }
  .screen.idle.fs, .screen.idle.fs video { cursor: none; }
  .seek { position: relative; height: 16px; display: flex; align-items: center; cursor: pointer; touch-action: none; }
  .seek .track { position: relative; flex: 1; height: 3px; border-radius: 2px; background: var(--ui-track); transition: height .1s; }
  .seek:hover .track, .seek.drag .track { height: 5px; }
  .seek .buf i { position: absolute; top: 0; bottom: 0; background: var(--ui-buf); }
  .seek .done { position: absolute; left: 0; top: 0; bottom: 0; width: 0; border-radius: 2px; background: var(--play); }
  .seek .knob {
    position: absolute; top: 50%; left: 0; width: 13px; height: 13px; margin: -6.5px 0 0 -6.5px; border-radius: 50%;
    background: var(--ui); transform: scale(0); transition: transform .1s; pointer-events: none;
  }
  .seek:hover .knob, .seek.drag .knob { transform: scale(1); }
  .stip {
    position: absolute; bottom: 18px; transform: translateX(-50%); padding: 1px 6px; border-radius: var(--r); pointer-events: none;
    background: var(--ui-dark); font-size: 12px; font-variant-numeric: tabular-nums; white-space: nowrap;
  }
  .stip[hidden] { display: none; }
  /* preview picture over the time tip (2026-11-20, /opt/site-style/player-thumbs.py); size + sprite set by the page */
  .sthumb { position: absolute; bottom: 42px; transform: translateX(-50%); border-radius: var(--r); pointer-events: none;
            background-color: var(--ui-dark); background-repeat: no-repeat; box-shadow: 0 0 0 1px rgb(255 255 255 / .25); }
  .sthumb[hidden] { display: none; }
  .cbar { display: flex; align-items: center; gap: 2px; height: 38px; }
  .cbar button {
    display: inline-flex; align-items: center; justify-content: center; height: 32px; min-width: 32px; padding: 0 6px;
    border: 0; border-radius: var(--r); background: none; color: var(--ui); font: inherit; font-size: 13px; cursor: pointer; white-space: nowrap;
  }
  .cbar button:hover { background: rgb(var(--ui-rgb) / .14); }
  .cbar button[hidden] { display: none; }
  .cbar button[aria-pressed="false"] { color: rgb(var(--ui-rgb) / .5); text-decoration: line-through; }
  .ctime { margin: 0 6px; font-size: 12.5px; font-variant-numeric: tabular-nums; white-space: nowrap; overflow: hidden; }
  .cgap { flex: 1; }
  .vol { display: inline-flex; align-items: center; }
  /* volume: --play up to the value (--v, set by the script), pale track after it */
  .vol input { -webkit-appearance: none; appearance: none; width: 72px; height: 16px; margin: 0 4px; background: none; cursor: pointer; --v: 100%; }
  .vol input::-webkit-slider-runnable-track { height: 3px; border-radius: 2px; background: linear-gradient(to right, var(--play) var(--v), var(--ui-track) var(--v)); }
  .vol input::-webkit-slider-thumb { -webkit-appearance: none; width: 11px; height: 11px; margin-top: -4px; border: 0; border-radius: 50%; background: var(--ui); }
  .vol input::-moz-range-track { height: 3px; border-radius: 2px; background: var(--ui-track); }
  .vol input::-moz-range-progress { height: 3px; border-radius: 2px; background: var(--play); }
  .vol input::-moz-range-thumb { width: 11px; height: 11px; border: 0; border-radius: 50%; background: var(--ui); }
  .menu { position: relative; }
  .rates {
    position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%); display: flex; flex-direction: column;
    padding: 4px; border-radius: var(--r); background: var(--ui-dark);
  }
  .rates[hidden] { display: none; }
  .rates button { min-width: 58px; }
  .rates button[aria-current="true"] { background: rgb(var(--ui-rgb) / .18); font-weight: 600; }
  .fsonly { display: none !important; }       /* 弹幕 switches inside the player: only in full screen (the bar below has them otherwise) */
  .screen.fs .fsonly { display: inline-flex !important; }
  .big {
    position: absolute; z-index: 2; left: 50%; top: 50%; width: 62px; height: 62px; margin: -31px 0 0 -31px; padding: 0;
    display: none; align-items: center; justify-content: center; border: 0; border-radius: 50%;
    background: rgb(var(--shade-rgb) / .5); color: var(--ui); cursor: pointer;
  }
  .screen.paused .big { display: flex; }
  .spin {
    position: absolute; z-index: 2; left: 50%; top: 50%; width: 40px; height: 40px; margin: -20px 0 0 -20px; pointer-events: none;
    border: 3px solid var(--ui-track); border-top-color: var(--ui); border-radius: 50%; animation: spin .8s linear infinite;
  }
  .spin[hidden], .screen.paused .spin { display: none; }  /* paused: the round play button is enough */
  /* touch screens (like the iPhone's own player): while the controls show, ↺10 ▶/❚❚ ↻10 in the middle;
     the spinner then rings the middle button */
  .screen.touch { touch-action: manipulation; }   /* no double-tap zoom: double tap = jump */
  .skipb {
    position: absolute; z-index: 2; top: 50%; width: 48px; height: 48px; margin-top: -24px; padding: 0;
    display: none; align-items: center; justify-content: center; border: 0; border-radius: 50%;
    background: rgb(var(--shade-rgb) / .35); color: var(--ui); cursor: pointer;
  }
  .skipb.back { left: calc(50% - 31px - 24px - 48px); }
  .skipb.fwd { left: calc(50% + 31px + 24px); }
  .screen.touch:not(.idle) .big, .screen.touch:not(.idle) .skipb { display: flex; }
  .screen.touch .big, .screen.touch .skipb { transition: opacity .25s; }
  .screen.touch:not(.idle):not(.paused) .spin { width: 72px; height: 72px; margin: -36px 0 0 -36px; }
  /* jump feedback ("−10 秒" on the left, "+10 秒" on the right) */
  .skipfx {
    position: absolute; z-index: 2; top: 50%; transform: translate(-50%, -50%); padding: 6px 14px; border-radius: 999px;
    background: rgb(var(--shade-rgb) / .55); color: var(--ui); font-size: 14px; font-weight: 600; white-space: nowrap;
    pointer-events: none; opacity: 0; transition: opacity .3s;
  }
  .skipfx.back { left: 17%; } .skipfx.fwd { left: 83%; }
  .skipfx.on { opacity: 1; transition: none; }
  @keyframes spin { to { transform: rotate(360deg); } }
  .pbar { display: flex; align-items: center; gap: 8px; padding: 8px 16px; }
  .pbar button {
    font: inherit; font-size: 13px; color: var(--muted); cursor: pointer;
    border: 1px solid var(--line); background: var(--card-solid); border-radius: var(--r); padding: 3px 11px;
  }
  .pbar button[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: #fff; }
  .pbar button[hidden] { display: none; }
  /* (i) next to 过滤重复弹幕: explanation on hover / focus / tap */
  /* the switch and its (i) drawn as one control: shared border, (i) as the right-hand end */
  .joined { display: inline-flex; align-items: stretch; }
  .joined button { border-radius: var(--r) 0 0 var(--r); }
  .info {
    position: relative; display: inline-flex; align-items: center; color: var(--muted); cursor: help;
    border: 1px solid var(--line); border-left: 0; border-radius: 0 var(--r) var(--r) 0; background: var(--card-solid); padding: 0 7px;
  }
  .info:hover, .info:focus-visible, .info.open { color: var(--accent); outline: none; }
  .info-tip {
    display: none; position: absolute; z-index: 5; left: 50%; bottom: calc(100% + 8px); transform: translateX(-50%);
    width: max-content; max-width: 230px; padding: 7px 10px; border-radius: var(--r); background: var(--pop); color: var(--text);
    box-shadow: 0 4px 16px rgb(var(--shadow-rgb) / .2); font-size: 12.5px; line-height: 1.5; white-space: normal;
  }
  .info:hover .info-tip, .info:focus-visible .info-tip, .info.open .info-tip { display: block; }
  .pbar button, .pbar a { white-space: nowrap; }
  .pbar a { margin-left: auto; color: var(--muted); font-size: 13px; text-decoration: none; }
  .pbar a:hover { color: var(--accent); }
  #newtab .ico { display: none; vertical-align: -3px; }
  @media (max-width: 380px) {  /* narrow phones (360 px Android etc.): the bar did not fit, the link becomes an icon */
    #newtab .t { display: none; }
    #newtab .ico { display: inline-block; }
  }
  @media (max-width: 340px) { .player .pbar { gap: 4px; } }  /* 320 px phones (.player: beats the 560 px rule below) */
  /* Beijing time of the moment being played (start time from the file name + position) */
  .bjtime { display: inline-flex; align-items: center; gap: 4px; margin-left: 4px; color: var(--muted); font-size: 13px; white-space: nowrap; font-variant-numeric: tabular-nums; }
  .bjtime svg { flex: none; }
  .chart .ph { stroke: var(--accent); stroke-width: 1.5; }
  .player.nodm .pbar .dmonly, .player.nodm .cbar .dmonly { display: none !important; }  /* no 弹幕 data */
  /* 4K臻享版 (second version of a stream with its sound in two parts): one wide bar per part under the
     player; light part + knob = the volume set (drag / arrow keys); green = what comes out now, in dB
     across the whole bar (-60 dB left end .. 0 dB = full scale right end), so it can pass the knob */
  .mix { display: grid; grid-template-columns: auto 1fr auto; gap: 10px 12px; align-items: center; padding: 2px 16px 14px; }
  .mix[hidden] { display: none; }
  .mixname { font-size: 13px; color: var(--muted); white-space: nowrap; }
  .mixv { min-width: 3.2em; font-size: 12.5px; color: var(--muted); text-align: right; font-variant-numeric: tabular-nums; }
  .mixbar { position: relative; height: 22px; cursor: pointer; touch-action: pan-y; outline: none; }
  .mixbar .mtrack { position: absolute; inset: 0; overflow: hidden; border-radius: var(--r); background: var(--line-soft); }
  .mixbar .mset { position: absolute; left: 0; top: 0; bottom: 0; background: var(--accent-soft); }
  .mixbar .mlvl { position: absolute; left: 0; top: 0; bottom: 0; width: 0; background: var(--accent); opacity: .8; }
  .mixbar .mknob {
    position: absolute; top: -3px; bottom: -3px; width: 8px; margin-left: -4px; border-radius: var(--r); pointer-events: none;
    background: var(--card-solid); border: 1px solid var(--line); box-shadow: 0 1px 3px rgb(var(--shadow-rgb) / .25);
  }
  .mixbar:focus-visible .mtrack { box-shadow: 0 0 0 2px var(--accent); }
  .player.hasx .pbar { flex-wrap: wrap; row-gap: 6px; }   /* one more button: 320-360 px phones wrap the bar */
  @media (max-width: 560px) {  /* MP4 cards on phones: date · length · size on one line next to 数据 */
    .item .text { padding: 8px 8px 8px 10px; }
    .item .sub { font-size: 11px; letter-spacing: -.2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  }
  @media (max-width: 440px) { .item .sub .wd { display: none; } }  /* phones: drop the weekday so the line fits (mono is wider) */
  @media (max-width: 380px) { .item .sub { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif; font-size: 12px; } }  /* narrow phones: mono does not fit */
  @media (max-width: 560px) {
    button.more { width: 34px; font-size: 11px; }
    .box { padding: 12px; }
    /* all five numbers on one line */
    .stats { display: flex; justify-content: space-between; gap: 8px; }
    .stat .v { font-size: 16px; }
    .stat .v small { display: none; }
    .stat .k { font-size: 11px; white-space: nowrap; }
    .ctl { padding: 18px 4px 0; }
    .cbar { gap: 0; }
    .cbar button { min-width: 30px; padding: 0 5px; }
    .ctime { margin: 0 4px; font-size: 12px; }
    .pbar { gap: 6px; padding: 8px 12px; }
    .mix { gap: 10px; padding: 2px 12px 12px; }
    .player.hasx #newtab .t { display: none; }        /* row with the 4K臻享版 button: the link as its icon */
    .player.hasx #newtab .ico { display: inline-block; }
    .pbar button { padding: 3px 8px; font-size: 12.5px; }
    .pbar a { font-size: 12.5px; }
    .pbar a .long { display: none; }
    .bjtime { font-size: 12.5px; margin-left: 2px; gap: 3px; }
    .bjtime .long { display: none; }   /* phones: the clock icon + title say what it is */
  }
  /* touch screens: no hover, so the seek knob is always shown; volume is the phone's own buttons */
  @media (hover: none) {
    .seek .knob { transform: scale(.8); }
    .vol input { display: none; }
  }
  /* load problems (2026-11-13): error box over the video + soft "still loading" note under the spinner */
  .verr {
    position: absolute; z-index: 4; left: 50%; top: 50%; transform: translate(-50%, -50%); width: min(420px, calc(100% - 32px));
    display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 14px 16px; text-align: center;
    background: var(--ui-dark); color: var(--ui); border-radius: var(--r); font-size: 13px; line-height: 1.5;
  }
  .verr[hidden], .vslow[hidden] { display: none; }
  .verr b { font-size: 15px; font-weight: 600; }
  .verr code { font: 11px/1.5 var(--mono); color: rgb(var(--ui-rgb) / .6); word-break: break-all; }
  .verr button {
    margin-top: 4px; font: inherit; color: var(--ui); cursor: pointer; background: transparent;
    border: 1px solid rgb(var(--ui-rgb) / .5); border-radius: var(--r); padding: 4px 12px; transition: background-color .15s, color .15s;
  }
  .verr button:hover { background: var(--ui); color: rgb(var(--shade-rgb)); }
  .vslow {
    position: absolute; z-index: 2; left: 0; right: 0; top: calc(50% + 34px); padding: 0 16px; text-align: center; pointer-events: none;
    color: var(--ui); font-size: 12.5px; text-shadow: 0 1px 3px rgb(var(--shade-rgb) / .8);
  }
  .screen.paused .vslow { display: none; }   /* only while it is trying to play */
  /* 版聊 (user 2026-11-22, 久远澪 only, listed streams): her own 弹幕 around the stream. List above the
     button (over the player), scrolls inside; small box for a 弹幕 the video just passed. In full screen
     both move into the player above the control bar. */
  .player { position: relative; }
  .pbar .bl-btn[aria-expanded="true"] { color: var(--accent); border-color: var(--accent); }
  .bl-pop, .bl-new {
    position: absolute; z-index: 30; width: max-content; max-width: min(340px, calc(100% - 16px));
    border-radius: var(--r); background: var(--pop); color: var(--text); box-shadow: 0 6px 24px rgb(var(--shadow-rgb) / .28);
    font-size: 13px; line-height: 1.45; overflow-wrap: anywhere;
  }
  .bl-pop[hidden], .bl-new[hidden] { display: none; }
  .bl-pop { width: min(340px, calc(100% - 16px)); }
  .bl-list { max-height: min(340px, 60vh); overflow-y: auto; overscroll-behavior: contain; padding: 4px 0; }
  .screen.fs .bl-list { max-height: min(420px, 60vh); }
  .bl-head { padding: 4px 12px 6px; color: var(--muted); font-size: 12px; }
  .bl-row { display: flex; gap: 8px; width: 100%; padding: 3px 12px; text-align: left; font: inherit; color: inherit; background: none; border: 0; }
  button.bl-row { cursor: pointer; }
  button.bl-row:hover { background: var(--line-soft); }
  .bl-row.now { background: var(--accent-soft); }
  .bl-t { flex: none; min-width: 4.4em; color: var(--muted); font-variant-numeric: tabular-nums; }
  .bl-x .emo, .bl-new .emo { height: 1.7em; vertical-align: middle; }
  .bl-new { padding: 6px 11px; cursor: pointer; max-width: min(300px, calc(100% - 16px)); }
  .bl-pop::after { content: ""; position: absolute; left: 0; right: 0; top: 100%; height: 8px; }   /* bridge to the button: the list closes at once when the mouse leaves */
  .player.hasbl .pbar { flex-wrap: wrap; row-gap: 6px; }   /* one more button: narrow phones wrap the bar */
  @media (max-width: 560px) {
    .player.hasbl #newtab .t { display: none; }        /* row with the 版聊 button: the link as its icon */
    .player.hasbl #newtab .ico { display: inline-block; }
  }
