/* Noto Sans KR Black for the heavy station names some screens use (400/700 come from bus-route-fonts.css). */
@font-face { font-family: BusRouteSans; font-style: normal; font-weight: 900; font-display: swap; src: url('/static/fonts/bus-route/noto-sans-kr-korean-900.woff2') format('woff2'); }
@font-face { font-family: BusRouteSans; font-style: normal; font-weight: 900; font-display: swap; src: url('/static/fonts/bus-route/noto-sans-kr-latin-900.woff2') format('woff2'); unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+2000-206F,U+2074,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD; }
/* 차내 LCD 만들기 (/tools/train-lcd/).
   The screen sits in a dark bezel on the left with the player under it; the editing panel sits
   beside it (below it on a phone). Horizon tokens only for the chrome; the LCD itself is SVG.
   Element ids are the contract with static/js/train-lcd-maker.js. */
body.tlcd-body { --tlcd-side: clamp(340px, 30vw, 460px); --tlcd-radius: 14px; margin: 0; }
.tlcd-shell { box-sizing: border-box; min-height: 100dvh; padding-top: var(--header-height); }
.tlcd-main { --hz-control-h: var(--control-h-s); --hz-control-px: var(--control-px-s); --hz-control-font: var(--control-font-s); display: flex; flex-direction: column; min-width: 0; min-height: calc(100dvh - var(--header-height)); word-break: keep-all; overflow-wrap: anywhere; }
.tlcd-main .hz-icon, .tlcd-dialog .hz-icon { font-size: 18px; line-height: 1; }
.tlcd-body :is(.tlcd-main, .tlcd-dialog) .btn { min-height: var(--control-h-s); padding: 0 var(--control-px-s); font-size: var(--control-font-s); line-height: 1.2; border: 1px solid transparent; gap: 6px; white-space: nowrap; }
.tlcd-body :is(.tlcd-main, .tlcd-dialog) .btn-sm { min-height: calc(var(--control-h-s) - 4px); padding: 0 10px; }
.tlcd-body :is(.tlcd-main, .tlcd-dialog) .btn-outline { border-color: var(--border); }
.tlcd-body :is(.tlcd-main, .tlcd-dialog) .btn:hover:not(:disabled) { transform: none; box-shadow: none; }
.tlcd-body :is(.tlcd-main, .tlcd-dialog) :is(.input, .select) { width: 100%; min-width: 0; box-sizing: border-box; min-height: var(--control-h-s); font-size: max(var(--control-font-s), var(--input-font-min, 0px)); color: var(--foreground); padding-block: 0; line-height: 1.2; }
.tlcd-body .tlcd-main textarea.input { height: auto; resize: vertical; padding-block: var(--space-2); line-height: var(--lh-body); }
.tlcd-danger { color: color-mix(in srgb, var(--destructive) 75%, var(--foreground)); }
.tlcd-hint { font-size: var(--fs-xs); line-height: 1.5; color: var(--muted-foreground); margin: 6px 0; }
.tlcd-hint[data-error="true"] { color: var(--destructive); }
.tlcd-hint:empty { display: none; }

/* Toolbar */
.tlcd-toolbar { display: flex; justify-content: space-between; flex-wrap: wrap; align-items: center; gap: var(--space-2) var(--space-4); padding: var(--space-3) var(--space-5); border-bottom: 1px solid var(--border); }
.tlcd-toolbar-heading, .tlcd-toolbar-actions { display: flex; align-items: center; flex-wrap: wrap; gap: var(--space-2); min-width: 0; }
.tlcd-toolbar-heading h1 { margin: 0; font-size: var(--fs-h3); line-height: var(--lh-h3); }
.tlcd-doc-name { color: var(--muted-foreground); font-size: var(--fs-sm); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 28ch; }
.tlcd-banner { margin: 12px 20px 0; padding: 10px 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--card); font-size: var(--fs-sm); }
.tlcd-menu-wrap { position: relative; }
.tlcd-menu { position: absolute; right: 0; top: calc(100% + 6px); z-index: 30; display: grid; min-width: 200px; padding: 6px; border: 1px solid var(--border); border-radius: 12px; background: var(--card); box-shadow: 0 12px 32px rgba(15, 15, 15, .16); }
.tlcd-menu[hidden] { display: none; }
.tlcd-menu button { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 0 10px; border: 0; border-radius: 8px; background: none; color: var(--foreground); font: inherit; font-size: var(--fs-sm); text-align: left; cursor: pointer; }
.tlcd-menu button:hover, .tlcd-menu button:focus-visible { background: var(--secondary); }

/* Work area */
.tlcd-work { flex: 1; display: grid; grid-template-columns: minmax(0, 1fr) var(--tlcd-side); min-height: 0; }
.tlcd-stage { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 20px; background: color-mix(in srgb, var(--secondary) 55%, var(--background)); }
.tlcd-bezel { position: relative; padding: clamp(8px, 1.6vw, 22px); border-radius: clamp(10px, 1.4vw, 22px); background: linear-gradient(160deg, #3a3e46, #1b1d22 55%, #2a2d33); box-shadow: inset 0 1px 0 rgba(255, 255, 255, .12), 0 10px 30px rgba(10, 12, 16, .25); }
.tlcd-screen { position: relative; overflow: hidden; border-radius: 4px; background: #000; box-shadow: 0 0 0 2px #0b0c0f; aspect-ratio: 1920 / 540; }
.tlcd-screen > svg { display: block; width: 100%; height: 100%; text-rendering: geometricPrecision; }
.tlcd-bezel:fullscreen, .tlcd-bezel.is-fullscreen { display: grid; place-items: center; padding: 0; border-radius: 0; background: #000; }
.tlcd-bezel.is-fullscreen { position: fixed; inset: 0; z-index: 2000; }
.tlcd-bezel:fullscreen .tlcd-screen, .tlcd-bezel.is-fullscreen .tlcd-screen { width: min(100vw, calc(100vh * var(--tlcd-ratio, 3.556))); max-height: 100vh; border-radius: 0; }
.tlcd-fs-exit { position: absolute; top: 12px; right: 12px; width: 44px; height: 44px; display: grid; place-items: center; border: 0; border-radius: 999px; background: rgba(0, 0, 0, .55); color: #fff; cursor: pointer; }
.tlcd-fs-exit[hidden] { display: none; }

.tlcd-player { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 14px; }
.tlcd-player-main { display: flex; align-items: center; gap: 4px; padding: 3px; border: 1px solid var(--border); border-radius: 999px; background: var(--card); }
.tlcd-iconbtn { width: 36px; height: 36px; display: grid; place-items: center; flex: none; border: 0; border-radius: 999px; background: transparent; color: var(--foreground); cursor: pointer; }
.tlcd-iconbtn--s { width: 32px; height: 32px; }
.tlcd-iconbtn:hover:not(:disabled) { background: var(--secondary); }
.tlcd-play { display: inline-flex; align-items: center; gap: 6px; min-height: 36px; padding: 0 14px 0 10px; border: 0; border-radius: 999px; background: var(--primary); color: var(--primary-foreground); font: inherit; font-size: var(--fs-sm); font-weight: 700; cursor: pointer; }
.tlcd-play[aria-pressed="true"] { background: var(--foreground); color: var(--background); }
.tlcd-seg { display: inline-flex; flex-wrap: wrap; gap: 2px; padding: 3px; border: 1px solid var(--border); border-radius: 999px; background: var(--card); }
.tlcd-seg button { min-height: 30px; padding: 0 12px; border: 0; border-radius: 999px; background: none; color: var(--muted-foreground); font: inherit; font-size: var(--fs-sm); font-weight: 600; cursor: pointer; }
.tlcd-seg button[aria-pressed="true"] { background: var(--foreground); color: var(--background); }
.tlcd-seg button:disabled { opacity: .4; cursor: default; }
.tlcd-inline { display: flex; align-items: center; gap: 8px; color: var(--muted-foreground); font-size: var(--fs-sm); white-space: nowrap; }
.tlcd-inline .select-wrapper { width: auto; }
.tlcd-body .tlcd-main .tlcd-inline .select { width: auto; max-width: 11rem; }

/* Side panel */
.tlcd-side { display: flex; flex-direction: column; min-width: 0; border-left: 1px solid var(--border); background: var(--background); }
.tlcd-tabs { position: sticky; top: var(--header-height); z-index: 5; display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--border); background: var(--background); }
.tlcd-tab { display: flex; align-items: center; justify-content: center; gap: 5px; min-height: 44px; padding: 0 6px; border: 0; border-bottom: 2px solid transparent; background: none; color: var(--muted-foreground); font: inherit; font-size: var(--fs-sm); font-weight: 600; cursor: pointer; white-space: nowrap; }
.tlcd-tab:hover { color: var(--foreground); }
.tlcd-tab[aria-selected="true"] { color: var(--foreground); border-bottom-color: var(--foreground); }
.tlcd-panel { display: flex; flex-direction: column; gap: 12px; padding: 16px 20px 28px; }
.tlcd-panel[hidden] { display: none; }
.tlcd-panel-title { margin: 8px 0 0; font-size: 15px; font-weight: 700; }
.tlcd-panel-title:first-child { margin-top: 0; }
.tlcd-panel-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.tlcd-count { color: var(--muted-foreground); font-weight: 500; font-size: var(--fs-sm); }
.tlcd-field { display: grid; gap: 6px; min-width: 0; font-size: var(--fs-sm); color: var(--muted-foreground); }
.tlcd-grid2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 12px; }
.tlcd-color-row { display: grid; grid-template-columns: 48px minmax(0, 1fr); gap: 8px; }
.tlcd-color-row input[type="color"], .tlcd-custom-transfer input[type="color"] { width: 100%; min-height: var(--control-h-s); padding: 2px; border: 1px solid var(--border); border-radius: 8px; background: var(--card); cursor: pointer; }
.tlcd-swatches { display: flex; flex-wrap: wrap; gap: 6px; }
.tlcd-swatch { width: 26px; height: 26px; padding: 0; border: 2px solid var(--background); border-radius: 999px; background: var(--swatch); box-shadow: 0 0 0 1px var(--border); cursor: pointer; }
.tlcd-swatch[aria-pressed="true"] { box-shadow: 0 0 0 2px var(--foreground); }
.tlcd-checks { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 0; padding: 0; border: 0; font-size: var(--fs-sm); }
.tlcd-checks legend { width: 100%; margin-bottom: 6px; padding: 0; color: var(--muted-foreground); }
.tlcd-checks label, .tlcd-check { display: inline-flex; align-items: center; gap: 6px; font-size: var(--fs-sm); cursor: pointer; }
.tlcd-row-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: 8px; }

/* This screen's settings: one card of big, plain controls for what the chosen format shows. */
.tlcd-side [hidden] { display: none !important; }
.tlcd-quick { display: grid; gap: 12px; padding: 14px; border: 1px solid var(--border); border-radius: var(--tlcd-radius); background: var(--card); }
.tlcd-quick .tlcd-panel-title { margin: 0; }
.tlcd-quick-row { display: grid; grid-template-columns: 72px minmax(0, 1fr); align-items: center; gap: 10px; font-size: var(--fs-sm); }
.tlcd-quick-label { color: var(--muted-foreground); font-weight: 600; }
.tlcd-seg--fill { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(0, 1fr); }
.tlcd-seg--fill button { min-height: 34px; padding: 0 8px; }
.tlcd-quick-note { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 8px; margin: 0; padding: 10px 12px; border-radius: 10px; background: color-mix(in srgb, var(--primary) 10%, var(--card)); color: var(--foreground); font-size: var(--fs-sm); line-height: 1.5; }
.tlcd-toggles { display: flex; flex-wrap: wrap; gap: 6px; }
.tlcd-toggle { position: relative; display: inline-flex; cursor: pointer; }
.tlcd-toggle input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.tlcd-toggle span { display: inline-flex; align-items: center; min-height: 32px; padding: 0 12px; border: 1px solid var(--border); border-radius: 999px; color: var(--muted-foreground); font-size: var(--fs-sm); font-weight: 600; }
.tlcd-toggle input:checked + span { border-color: var(--foreground); background: var(--foreground); color: var(--background); }
.tlcd-toggle input:focus-visible + span { outline: 2px solid var(--ring, var(--foreground)); outline-offset: 2px; }

/* Phrases */
.tlcd-texts { display: grid; gap: 14px; }
.tlcd-text { display: grid; gap: 6px; }
.tlcd-text-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: var(--fs-sm); font-weight: 600; }
.tlcd-text-reset { padding: 2px 8px; border: 0; border-radius: 999px; background: var(--secondary); color: var(--muted-foreground); font: inherit; font-size: 12px; cursor: pointer; }
.tlcd-tokens { display: flex; flex-wrap: wrap; gap: 6px; }
.tlcd-token { min-height: 28px; padding: 0 10px; border: 1px dashed var(--border); border-radius: 999px; background: none; color: var(--foreground); font: inherit; font-size: 12px; cursor: pointer; }
.tlcd-token:hover { border-style: solid; }
.tlcd-bulk .tlcd-texts { margin-top: 4px; }

/* Express stop toggle on a station row */
.tlcd-station[data-express="true"] .tlcd-station-head { grid-template-columns: 32px minmax(0, 1.1fr) minmax(0, 1fr) auto 32px; }
.tlcd-station[data-express="true"] .tlcd-station-head .tlcd-express { grid-column: 4; grid-row: 1; }
.tlcd-station[data-express="true"] .tlcd-station-head [data-act="toggle"] { grid-column: 5; grid-row: 1; }
.tlcd-express { min-height: 30px; padding: 0 10px; border: 1px solid var(--border); border-radius: 999px; background: none; color: var(--muted-foreground); font: inherit; font-size: 12px; font-weight: 700; white-space: nowrap; cursor: pointer; }
.tlcd-express[aria-pressed="true"] { border-color: #d6262c; background: #d6262c; color: #fff; }

/* Start dialog */
.tlcd-dialog--start { width: min(620px, calc(100vw - 32px)); }
.tlcd-start-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.tlcd-start-card { display: grid; justify-items: start; gap: 2px; padding: 14px; border: 1px solid var(--border); border-radius: 12px; background: var(--card); color: var(--foreground); font: inherit; text-align: left; cursor: pointer; }
.tlcd-start-card:hover { border-color: color-mix(in srgb, var(--foreground) 35%, var(--border)); }
.tlcd-start-card .hz-icon { font-size: 22px; margin-bottom: 6px; }
.tlcd-start-card strong { font-size: var(--fs-sm); }
.tlcd-start-card span:not(.hz-icon) { font-size: var(--fs-xs); color: var(--muted-foreground); }
.tlcd-dialog .tlcd-panel-title { margin: 6px 0 0; }

/* Templates */
.tlcd-templates { display: grid; gap: 16px; }
.tlcd-template-group { display: grid; gap: 10px; }
.tlcd-group-title { margin: 0; color: var(--muted-foreground); font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.tlcd-template { display: grid; gap: 8px; padding: 10px; border: 1px solid var(--border); border-radius: 12px; background: var(--card); color: var(--foreground); font: inherit; text-align: left; cursor: pointer; }
.tlcd-template:hover { border-color: color-mix(in srgb, var(--foreground) 35%, var(--border)); }
.tlcd-template[aria-checked="true"] { border-color: var(--foreground); box-shadow: 0 0 0 1px var(--foreground); }
.tlcd-template-thumb { display: block; overflow: hidden; border-radius: 6px; background: #111; }
.tlcd-template-thumb > svg { display: block; width: 100%; height: 100%; }
.tlcd-template-copy { display: grid; gap: 2px; }
.tlcd-template-copy strong { font-size: var(--fs-sm); }
.tlcd-template-copy span { font-size: var(--fs-xs); color: var(--muted-foreground); line-height: 1.45; }

/* Stations */
.tlcd-stations { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.tlcd-station { padding: 8px; border: 1px solid var(--border); border-radius: 12px; background: var(--card); }
.tlcd-station[data-current="true"] { border-color: color-mix(in srgb, var(--primary) 60%, var(--border)); }
.tlcd-station[data-skip="true"] .tlcd-station-head .input { color: var(--muted-foreground); }
.tlcd-station-head { display: grid; grid-template-columns: 32px minmax(0, 1.1fr) minmax(0, 1fr) 32px; align-items: center; gap: 6px; }
.tlcd-station-num { width: 32px; height: 32px; border: 0; border-radius: 999px; background: var(--secondary); color: var(--foreground); font: inherit; font-size: 12px; font-weight: 700; font-variant-numeric: tabular-nums; cursor: pointer; }
.tlcd-station[data-current="true"] .tlcd-station-num { background: var(--primary); color: var(--primary-foreground); }
.tlcd-station-summary { display: flex; flex-wrap: wrap; align-items: center; gap: 4px; margin: 6px 0 0 38px; }
.tlcd-chip { padding: 1px 8px; border-radius: 999px; background: var(--secondary); color: var(--muted-foreground); font-size: 11px; line-height: 18px; }
.tlcd-mini-badge { display: inline-grid; place-items: center; min-width: 20px; height: 20px; padding: 0 6px; box-sizing: border-box; border-radius: 999px; background: var(--badge); font-size: 11px; font-weight: 700; line-height: 1; white-space: nowrap; }
.tlcd-station-detail { display: grid; gap: 10px; margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--border); }
.tlcd-transfers { display: flex; flex-wrap: wrap; gap: 6px; }
.tlcd-transfers:empty { display: none; }
.tlcd-transfer { display: inline-flex; align-items: center; gap: 6px; padding: 2px 2px 2px 4px; border: 1px solid var(--border); border-radius: 999px; color: var(--foreground); font-size: var(--fs-xs); }
.tlcd-custom-transfer { display: grid; grid-template-columns: minmax(0, 1fr) 72px 44px auto; gap: 6px; }
.tlcd-custom-transfer[hidden] { display: none; }
.tlcd-add { align-self: flex-start; }
.tlcd-bulk { padding: 10px 12px; border: 1px solid var(--border); border-radius: 12px; background: var(--card); }
.tlcd-bulk summary { cursor: pointer; font-size: var(--fs-sm); font-weight: 600; }
.tlcd-bulk[open] summary { margin-bottom: 10px; }
.tlcd-bulk code { font-size: 12px; }

/* Presets and library */
.tlcd-presets, .tlcd-library { display: grid; gap: 6px; margin: 0; padding: 0; list-style: none; }
.tlcd-preset { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 12px; background: var(--card); color: var(--foreground); font: inherit; text-align: left; cursor: pointer; }
.tlcd-preset:hover { border-color: color-mix(in srgb, var(--foreground) 35%, var(--border)); }
.tlcd-preset .tlcd-mini-badge, .tlcd-library-item .tlcd-mini-badge { min-width: 30px; height: 30px; font-size: 12px; }
.tlcd-preset-copy { display: grid; gap: 1px; min-width: 0; flex: 1; }
.tlcd-preset-copy strong { font-size: var(--fs-sm); }
.tlcd-preset-copy span { font-size: var(--fs-xs); color: var(--muted-foreground); }
.tlcd-file { position: relative; overflow: hidden; cursor: pointer; }
.tlcd-file input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.tlcd-dialog { width: min(520px, calc(100vw - 32px)); max-height: min(80vh, 720px); padding: 0; border: 1px solid var(--border); border-radius: 16px; background: var(--background); color: var(--foreground); }
.tlcd-dialog::backdrop { background: rgba(10, 12, 16, .45); }
.tlcd-dialog-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.tlcd-dialog-head h2 { margin: 0; font-size: 16px; }
.tlcd-dialog-body { display: grid; gap: 10px; padding: 14px 18px 18px; }
.tlcd-inline-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 8px; }
.tlcd-library-item { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border: 1px solid var(--border); border-radius: 12px; background: var(--card); }
.tlcd-library-item .tlcd-preset-copy .tlcd-chip { justify-self: start; margin-top: 3px; }
.tlcd-chip--public { background: color-mix(in srgb, var(--primary) 14%, var(--card)); color: var(--foreground); }
.tlcd-library-actions { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 4px; }
.tlcd-account-form { display: grid; gap: 10px; }
.tlcd-switch { display: flex; align-items: flex-start; gap: 10px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 12px; cursor: pointer; }
.tlcd-switch input { margin-top: 3px; }
.tlcd-switch > span { display: grid; gap: 2px; font-size: var(--fs-sm); }
.tlcd-switch > span > span { color: var(--muted-foreground); font-size: var(--fs-xs); line-height: 1.5; }
.tlcd-dialog .tlcd-panel-head { margin-top: 6px; }
.tlcd-gallery-link { margin-left: 2px; }

@media (min-width: 1101px) {
  .tlcd-main { height: calc(100dvh - var(--header-height)); min-height: 560px; }
  .tlcd-work { min-height: 0; }
  .tlcd-stage { overflow-y: auto; }
  /* Tall formats (4:3, 16:9) shrink so the player stays in view under the screen. */
  .tlcd-bezel { width: min(100%, calc((100dvh - var(--header-height) - 240px) * var(--tlcd-ratio, 3.556) + 44px)); align-self: center; }
  .tlcd-side { overflow-y: auto; min-height: 0; }
  .tlcd-tabs { top: 0; }
}
@media (max-width: 1100px) {
  .tlcd-work { grid-template-columns: minmax(0, 1fr); }
  .tlcd-side { border-left: 0; border-top: 1px solid var(--border); }
  .tlcd-stage { position: sticky; top: var(--header-height); z-index: 6; padding: 12px 16px; background: var(--background); border-bottom: 1px solid var(--border); box-shadow: 0 6px 16px rgba(15, 15, 15, .06); }
  .tlcd-tabs { top: auto; position: static; }
  .tlcd-bezel { width: min(100%, calc(42dvh * var(--tlcd-ratio, 3.556) + 24px)); margin-inline: auto; }
}
@media (max-width: 640px) {
  .tlcd-toolbar { padding: 10px 16px; }
  .tlcd-toolbar-actions { width: 100%; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); }
  .tlcd-toolbar-actions .btn { width: 100%; justify-content: center; padding: 0 6px; }
  .tlcd-toolbar-actions .tlcd-menu-wrap .btn { width: 100%; }
  .tlcd-label { font-size: 12px; }
  .tlcd-stage { gap: 8px; padding: 8px 16px 10px; }
  .tlcd-player { display: grid; grid-template-columns: auto minmax(0, 1fr) auto auto; gap: 8px; }
  .tlcd-player .tlcd-seg { grid-column: 2 / -1; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .tlcd-player .tlcd-seg button { padding: 0 2px; font-size: 13px; white-space: nowrap; }
  .tlcd-play { width: 36px; padding: 0; justify-content: center; }
  #playLabel, .tlcd-fs-text, .tlcd-inline--seconds .tlcd-inline-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
  .tlcd-inline { min-width: 0; }
  .tlcd-player > .tlcd-inline:not(.tlcd-inline--seconds) { grid-column: 1 / 3; }
  .tlcd-body .tlcd-main .tlcd-inline .select { width: 100%; max-width: none; }
  .tlcd-inline .select-wrapper { flex: 1; min-width: 0; }
  .tlcd-player > .tlcd-inline--seconds { grid-column: 3; grid-row: 2; }
  .tlcd-body .tlcd-main .tlcd-inline--seconds .select { width: 5.2rem; }
  #enterFullscreen { grid-column: 4; grid-row: 2; width: 36px; padding: 0; justify-content: center; }
  .tlcd-panel { padding: 14px 16px 24px; }
  .tlcd-grid2 { grid-template-columns: minmax(0, 1fr); }
  .tlcd-station-head { grid-template-columns: 32px minmax(0, 1fr) 32px; }
  .tlcd-station-head [data-field="en"] { grid-column: 2; grid-row: 2; }
  .tlcd-station[data-express="true"] .tlcd-station-head { grid-template-columns: 32px minmax(0, 1fr) auto 32px; }
  .tlcd-station[data-express="true"] .tlcd-station-head .tlcd-express { grid-column: 3; grid-row: 1; }
  .tlcd-station[data-express="true"] .tlcd-station-head [data-act="toggle"] { grid-column: 4; grid-row: 1; }
  .tlcd-station[data-express="true"] .tlcd-station-head [data-field="en"] { grid-column: 2 / 4; }
  .tlcd-quick-row { grid-template-columns: 64px minmax(0, 1fr); }
  .tlcd-start-grid { grid-template-columns: minmax(0, 1fr); }
  .tlcd-library-item { flex-wrap: wrap; }
  .tlcd-library-item .tlcd-preset-copy { flex: 1 1 calc(100% - 44px); }
  .tlcd-library-actions { width: 100%; }
  .tlcd-custom-transfer { grid-template-columns: minmax(0, 1fr) 64px 44px; }
  .tlcd-custom-transfer .btn { grid-column: 1 / -1; }
  .tlcd-tab { flex-direction: column; gap: 2px; min-height: 52px; font-size: 12px; }
}
@media (max-width: 380px) {
  .tlcd-toolbar-actions .tlcd-label { display: none; }
}
@media print { .tlcd-toolbar, .tlcd-side, .tlcd-player, #gisHeader { display: none; } }
