/* Siluk · Omarchy-style one-pager
   Layout: a Hyprland desktop. Waybar on top, square tiles with gaps, btop-style titles cut into tile borders,
   an nvim lualine at the bottom. Each Omarchy theme is a token set; with no saved choice the page follows
   the visitor's system: Tokyo Night (dark) or Catppuccin Latte (light). */

:root {
  --bg: #13131a; --tile: #1a1b26; --inset: #16161e; --line: #292e42; --border: #3b4261;
  --fg: #c0caf5; --sub: #a9b1d6; --muted: #7c83ab;
  --accent: #7aa2f7; --cyan: #7dcfff; --green: #9ece6a; --red: #f7768e; --yellow: #e0af68; --magenta: #bb9af7;
  --on-accent: #1a1b26;
  --mono: "JetBrains Mono", ui-monospace, "Cascadia Mono", Menlo, Consolas, monospace;
  --hebrew: "Heebo", "Arial Hebrew", "Segoe UI", sans-serif;
  --gap: 10px; --bw: 2px; --bar: 44px;
  color-scheme: dark;
}
@media (prefers-color-scheme: light) {
  :root {
    --bg: #dce0e8; --tile: #eff1f5; --inset: #e6e9ef; --line: #ccd0da; --border: #bcc0cc;
    --fg: #4c4f69; --sub: #5c5f77; --muted: #6c6f85;
    --accent: #1e66f5; --cyan: #04a5e5; --green: #40a02b; --red: #d20f39; --yellow: #df8e1d; --magenta: #8839ef;
    --on-accent: #eff1f5; color-scheme: light;
  }
}
/* a saved theme wins over the system setting */
:root[data-omarchy="tokyo-night"] {
  --bg: #13131a; --tile: #1a1b26; --inset: #16161e; --line: #292e42; --border: #3b4261;
  --fg: #c0caf5; --sub: #a9b1d6; --muted: #7c83ab;
  --accent: #7aa2f7; --cyan: #7dcfff; --green: #9ece6a; --red: #f7768e; --yellow: #e0af68; --magenta: #bb9af7;
  --on-accent: #1a1b26; color-scheme: dark;
}
:root[data-omarchy="catppuccin"] {
  --bg: #11111b; --tile: #1e1e2e; --inset: #181825; --line: #313244; --border: #45475a;
  --fg: #cdd6f4; --sub: #bac2de; --muted: #9399b2;
  --accent: #89b4fa; --cyan: #89dceb; --green: #a6e3a1; --red: #f38ba8; --yellow: #f9e2af; --magenta: #cba6f7;
  --on-accent: #1e1e2e; color-scheme: dark;
}
:root[data-omarchy="gruvbox"] {
  --bg: #1d2021; --tile: #282828; --inset: #32302f; --line: #3c3836; --border: #504945;
  --fg: #ebdbb2; --sub: #d5c4a1; --muted: #a89984;
  --accent: #fabd2f; --cyan: #8ec07c; --green: #b8bb26; --red: #fb4934; --yellow: #fe8019; --magenta: #d3869b;
  --on-accent: #282828; color-scheme: dark;
}
:root[data-omarchy="matte-black"] {
  --bg: #080808; --tile: #121212; --inset: #0d0d0d; --line: #222222; --border: #333333;
  --fg: #eaeaea; --sub: #bebebe; --muted: #8a8a8d;
  --accent: #e68e0d; --cyan: #d0d0d0; --green: #b6c79a; --red: #d35f5f; --yellow: #e68e0d; --magenta: #c3a3d1;
  --on-accent: #121212; color-scheme: dark;
}
:root[data-omarchy="rose-pine"] {
  --bg: #f2e9e1; --tile: #faf4ed; --inset: #fffaf3; --line: #ebe2d9; --border: #cecacd;
  --fg: #575279; --sub: #575279; --muted: #797593;
  --accent: #286983; --cyan: #56949f; --green: #286983; --red: #b4637a; --yellow: #ea9d34; --magenta: #907aa9;
  --on-accent: #faf4ed; color-scheme: light;
}
:root[data-omarchy="catppuccin-latte"] {
  --bg: #dce0e8; --tile: #eff1f5; --inset: #e6e9ef; --line: #ccd0da; --border: #bcc0cc;
  --fg: #4c4f69; --sub: #5c5f77; --muted: #6c6f85;
  --accent: #1e66f5; --cyan: #04a5e5; --green: #40a02b; --red: #d20f39; --yellow: #df8e1d; --magenta: #8839ef;
  --on-accent: #eff1f5; color-scheme: light;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0; min-height: 100vh;
  background: var(--bg); color: var(--fg);
  font-family: var(--mono); font-size: 14px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-bottom: calc(var(--bar) + env(safe-area-inset-bottom, 0px));
}
img { max-width: 100%; }
a { color: var(--accent); }
p { margin: 0; }
[hidden] { display: none !important; }
::selection { background: var(--accent); color: var(--on-accent); }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 12px; top: -60px; z-index: 100; background: var(--accent); color: var(--on-accent); padding: 8px 14px; font-weight: 700; }
.skip:focus { top: 12px; }
.c-red { color: var(--red); } .c-green { color: var(--green); } .c-muted { color: var(--muted); }
.c-yellow { color: var(--yellow); } .c-cyan { color: var(--cyan); } .c-mag { color: var(--magenta); }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- waybar ---------- */
.waybar {
  position: sticky; top: 0; z-index: 20;
  display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 12px;
  padding: calc(6px + env(safe-area-inset-top, 0px)) max(16px, calc((100% - 1280px) / 2 + 16px)) 6px;
  background: color-mix(in srgb, var(--bg) 90%, transparent);
  -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.wb-left, .wb-right { display: flex; align-items: center; gap: 2px; min-width: 0; }
.wb-right { justify-content: flex-end; gap: 12px; }
.wb-mark { display: block; width: 26px; margin-right: 8px; flex: none; }
.wb-mark svg { display: block; width: 26px; height: 22px; }
.ws {
  display: inline-flex; gap: 6px; align-items: baseline;
  padding: 4px 8px; text-decoration: none; color: var(--muted);
  border-bottom: 2px solid transparent; white-space: nowrap;
}
.ws:hover { color: var(--fg); }
.ws.on { color: var(--fg); border-bottom-color: var(--accent); }
.ws .n { font-weight: 700; }
.ws.on .n { color: var(--accent); }
.ws .lbl-s { display: none; }
.clock { color: var(--fg); font-variant-numeric: tabular-nums; white-space: nowrap; }
.status { display: inline-flex; align-items: center; gap: 7px; color: var(--sub); white-space: nowrap; text-decoration: none; }
.status:hover { color: var(--fg); }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--muted); flex: none; }
.dot.open { background: var(--green); box-shadow: 0 0 0 3px color-mix(in srgb, var(--green) 25%, transparent); }
.theme-btn {
  font: inherit; color: var(--sub); background: none; border: 1px solid var(--border);
  padding: 3px 9px; cursor: pointer; white-space: nowrap;
}
.theme-btn:hover { color: var(--fg); border-color: var(--accent); }

@media (max-width: 1000px) { .clock { display: none; } .waybar { grid-template-columns: 1fr auto; } }
@media (max-width: 760px) {
  .ws .n { display: none; }
  .ws { padding: 4px 6px; }
  .status .txt, .theme-btn .tn { display: none; }
}
@media (max-width: 420px) {
  .waybar { gap: 6px; }
  .wb-mark { margin-right: 2px; }
  .ws { padding: 4px 4px; font-size: 12.5px; }
  .ws:nth-child(4) .lbl { display: none; }
  .ws:nth-child(4) .lbl-s { display: inline; }
  .status { display: none; }
}

/* ---------- desktop / tiles ---------- */
.desk {
  max-width: 1280px; margin: 0 auto;
  padding: 16px 16px 0;
  display: grid; grid-template-columns: minmax(0, 1fr); gap: calc(var(--gap) * 3);
}
section { scroll-margin-top: 60px; min-width: 0; }
.row { display: grid; grid-template-columns: minmax(0, 1fr); gap: var(--gap); }
.row + .row { margin-top: var(--gap); }
.tile {
  position: relative; min-width: 0;
  background: var(--tile);
  border: var(--bw) solid var(--border);
  padding: 28px 22px 22px;
  transition: border-color .15s;
}
/* focus follows mouse, like Hyprland */
.tile:hover, .tile:focus-within { border-color: var(--accent); }
.row:not(:hover) .tile.primary:not(:focus-within) { border-color: color-mix(in srgb, var(--accent) 55%, var(--border)); }
.tag {
  position: absolute; top: -0.85em; left: 14px; max-width: calc(100% - 28px);
  background: var(--tile); padding: 0 8px; font-size: 12.5px; color: var(--sub);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.tag b { color: var(--accent); font-weight: 700; margin-right: 6px; }
.tag-r { left: auto; right: 14px; color: var(--muted); max-width: 50%; }
.sec-h { margin: 0 0 16px; font-size: 18px; font-weight: 800; letter-spacing: -0.01em; text-wrap: balance; }
.sec-h .c-muted { font-weight: 400; font-size: 14px; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px;
  font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
  padding: 9px 18px; border: var(--bw) solid var(--accent);
  background: var(--accent); color: var(--on-accent);
}
.btn:hover { filter: brightness(1.1); }
.btn.ghost { background: transparent; color: var(--fg); border-color: var(--border); }
.btn.ghost:hover { border-color: var(--accent); color: var(--accent); filter: none; }

/* ---------- hero ---------- */
@media (min-width: 960px) {
  .hero { grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); }
  .hero .intro { grid-row: span 2; }
}
.intro { display: flex; flex-direction: column; gap: 22px; padding: 36px clamp(22px, 4vw, 44px); }
.brand { display: flex; align-items: center; gap: 16px; }
.brand svg { width: 74px; height: 62px; flex: none; }
.brand .he { font-family: var(--hebrew); font-weight: 800; font-size: 40px; line-height: 1; }
.brand .en { font-size: 12px; letter-spacing: .32em; color: var(--muted); margin-top: 6px; }
.eyebrow { font-size: 12.5px; color: var(--green); letter-spacing: .04em; }
.eyebrow::before { content: "# "; color: var(--muted); }
h1 {
  margin: 0; font-weight: 800; letter-spacing: -0.035em; line-height: 1.08;
  font-size: clamp(2rem, 4.6vw, 3.35rem); text-wrap: balance;
}
h1 .hl { color: var(--accent); }
h1 .cursor {
  display: inline-block; width: .5em; height: .85em; margin-left: .1em; vertical-align: -0.05em;
  background: var(--accent); animation: blink 1.1s steps(1) infinite;
}
@keyframes blink { 50% { opacity: 0; } }
.lede { color: var(--sub); max-width: 54ch; font-size: 15px; }
.ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.keys { display: flex; flex-wrap: wrap; gap: 6px 16px; font-size: 12.5px; color: var(--muted); margin-top: auto; }
@media (hover: none) { .keys { display: none; } }
kbd {
  font: inherit; font-size: 11.5px; color: var(--fg);
  border: 1px solid var(--border); border-bottom-width: 2px; padding: 0 5px; margin-right: 4px; background: var(--inset);
}

.term { background: var(--inset); font-size: 13.5px; min-height: 270px; }
.term .tag { background: var(--inset); }
.term { display: flex; flex-direction: column; cursor: text; }
.term-scroll { flex: 1; max-height: 420px; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--border) transparent; }
.term pre { margin: 0; font: inherit; white-space: pre-wrap; word-break: break-word; }
.term-line { display: flex; align-items: baseline; gap: 1ch; margin: 0; }
.term-line label { white-space: nowrap; flex: none; }
.term-line input {
  flex: 1; min-width: 0; font: inherit; color: var(--fg); background: transparent;
  border: 0; outline: none; padding: 0; caret-color: var(--accent);
}
.term-line input::placeholder { color: var(--muted); opacity: .8; }
.term .tag-r b { color: var(--yellow); }
@media (hover: none) { .term-line input { font-size: 16px; } }   /* stops iPhone zooming in on focus */
.c-accent-b { color: var(--accent); font-weight: 700; }
.p-user { color: var(--green); }
.p-path { color: var(--accent); }
.caret { display: inline-block; width: .6em; height: 1.1em; background: var(--fg); vertical-align: -0.2em; animation: blink 1.1s steps(1) infinite; }

.proc { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.proc th { text-align: left; font-weight: 500; color: var(--muted); font-size: 12px; letter-spacing: .06em; padding: 0 0 6px; border-bottom: 1px solid var(--line); }
.proc td { padding: 7px 0; border-bottom: 1px dashed var(--line); }
.proc tr:last-child td { border-bottom: 0; }
.proc td:nth-child(2) { font-weight: 800; font-size: 18px; }
.proc td:nth-child(3), .proc th:nth-child(3) { color: var(--muted); font-size: 12.5px; text-align: right; }

/* ---------- apps launcher ---------- */
.search {
  display: flex; align-items: center; gap: 10px; margin-bottom: 12px;
  border: var(--bw) solid var(--border); background: var(--inset); padding: 0 12px;
}
.search:focus-within { border-color: var(--accent); }
.search .gt { color: var(--accent); font-weight: 800; font-size: 18px; }
.search input {
  flex: 1; min-width: 0; font: inherit; font-size: 16px; color: var(--fg);
  background: transparent; border: 0; padding: 11px 0; outline: none;
}
.search input::placeholder { color: var(--muted); }
.search input::-webkit-search-cancel-button { filter: grayscale(1); }
.search .count { color: var(--muted); font-size: 12.5px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.chip {
  font: inherit; font-size: 12.5px; cursor: pointer; min-height: 32px;
  color: var(--sub); background: transparent; border: 1px solid var(--border); padding: 3px 10px;
}
.chip:hover { color: var(--fg); border-color: var(--accent); }
.chip[aria-pressed="true"] { background: var(--accent); border-color: var(--accent); color: var(--on-accent); font-weight: 700; }
@media (max-width: 560px) {
  .chips { flex-wrap: nowrap; overflow-x: auto; margin-inline: -22px; padding-inline: 22px; scrollbar-width: none; }
  .chip { flex: none; }
}
.apps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 250px), 1fr)); gap: 4px; }
.app {
  display: grid; grid-template-columns: 40px 1fr; gap: 12px; align-items: center;
  padding: 9px 10px; border: 1px solid transparent; min-width: 0;
}
.app:hover { background: var(--inset); border-color: var(--line); }
.app img { width: 40px; height: 40px; border-radius: 10px; display: block; background: var(--inset); }
.app .meta { min-width: 0; }
.app .nm { font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.app .ds { font-size: 12.5px; color: var(--sub); line-height: 1.4; }
.app .ct { font-size: 11px; color: var(--magenta); }
.app mark { background: color-mix(in srgb, var(--yellow) 35%, transparent); color: inherit; }
.sub-h { margin: 8px 0 10px; font-size: 14px; font-weight: 700; }
.sub-h .c-muted { font-weight: 400; }
#allowedBox { margin-top: 26px; padding-top: 18px; border-top: 1px dashed var(--line); }
/* A–Z reads down each column, like a printed index */
.allowed { list-style: none; margin: 0; padding: 0; columns: 190px; column-gap: 14px; }
.allowed li { break-inside: avoid; padding: 3px 0; color: var(--sub); font-size: 13px; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.allowed li::before { content: "✓ "; color: var(--cyan); }
.allowed mark { background: color-mix(in srgb, var(--yellow) 35%, transparent); color: inherit; }
.empty { padding: 18px 10px 6px; color: var(--sub); display: flex; flex-wrap: wrap; align-items: center; gap: 12px 20px; }
.empty b { color: var(--yellow); }

/* ---------- diff + build log ---------- */
@media (min-width: 900px) { .split { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.diff div { padding: 3px 10px; }
.diff .hunk { color: var(--cyan); padding-left: 0; margin-bottom: 4px; }
.diff .del { color: var(--red); background: color-mix(in srgb, var(--red) 10%, transparent); }
.diff .add { color: var(--green); background: color-mix(in srgb, var(--green) 10%, transparent); }
.diff .del + .add { margin-top: 8px; }
.log { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.log li { display: grid; grid-template-columns: auto 1fr auto; gap: 2px 14px; align-items: baseline; }
.log .st { color: var(--muted); font-variant-numeric: tabular-nums; }
.log .k { font-weight: 700; }
.log .ok { color: var(--green); font-weight: 700; }
.log .d { grid-column: 2 / 4; color: var(--sub); font-size: 13px; }

/* ---------- fastfetch ---------- */
.ff { display: grid; gap: 28px; align-items: center; }
@media (min-width: 820px) { .ff { grid-template-columns: minmax(200px, 300px) 1fr; } }
.ff-img { display: grid; place-items: center; padding: 8px 0; }
.ff-img img { width: 100%; max-width: 250px; height: auto; display: block; filter: drop-shadow(0 22px 28px rgba(0, 0, 0, .45)); }
.ff-info { min-width: 0; }
.ff-host { margin: 0; font-size: 16px; font-weight: 800; }
.ff-host .u, .ff-host .h { color: var(--accent); }
.ff-rule { color: var(--muted); margin-bottom: 6px; overflow: hidden; white-space: nowrap; }
.ff dl { margin: 0; display: grid; grid-template-columns: max-content 1fr; gap: 3px 14px; }
.ff dt { color: var(--accent); font-weight: 700; }
.ff dd { margin: 0; color: var(--sub); min-width: 0; }
.swatches { display: flex; margin-top: 14px; }
.swatches span { width: 26px; height: 16px; }
.price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; margin-top: 22px; padding-top: 18px; border-top: 1px dashed var(--line); }
.badge {
  display: inline-block; vertical-align: 0.1em; white-space: nowrap;
  font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; line-height: 1.5;
  color: var(--on-accent); background: var(--yellow); padding: 0 7px;
}
.btn .badge { margin-left: 4px; }
.badge-lg { font-size: 13px; padding: 3px 10px; align-self: center; flex-basis: 100%; width: max-content; flex-grow: 0; max-width: max-content; }
.any-phone { margin-top: 16px; padding: 12px 14px; background: var(--inset); border-left: 2px solid var(--green); color: var(--sub); }
.any-phone b { color: var(--fg); }
.price .big { font-size: 40px; font-weight: 800; letter-spacing: -0.03em; font-variant-numeric: tabular-nums; }
.price .rest { color: var(--muted); }
.price .rest b { color: var(--fg); }
.price .btn { margin-left: auto; align-self: center; }
@media (max-width: 560px) { .price .btn { margin-left: 0; width: 100%; } }

/* ---------- man page ---------- */
.man-h { display: flex; justify-content: space-between; color: var(--muted); font-size: 12.5px; margin-bottom: 18px; gap: 10px; }
@media (max-width: 480px) { .man-h .mid { display: none; } }
.man-sec { margin: 22px 0 8px; font-size: 14px; font-weight: 800; letter-spacing: .08em; }
.man-sec:first-of-type { margin-top: 0; }
.man-p { padding-left: 4ch; color: var(--sub); max-width: 78ch; }
.man-p b { color: var(--fg); }
.faq { display: grid; gap: 2px; padding-left: 2ch; }
.faq details { border-left: 2px solid var(--line); }
.faq details[open] { border-left-color: var(--accent); background: var(--inset); }
.faq summary {
  cursor: pointer; list-style: none; padding: 10px 14px; font-weight: 500;
  display: flex; gap: 10px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "▸"; flex: none; display: inline-block; width: 1ch; color: var(--accent); transition: transform .15s; }
.faq details[open] summary::before { transform: rotate(90deg); }
.faq summary:hover { color: var(--accent); }
.faq p { padding: 0 14px 12px 34px; color: var(--sub); max-width: 72ch; }

/* ---------- contact ---------- */
@media (min-width: 900px) {
  .contact-row { grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); }
  .contact-row .req { grid-column: 1 / -1; }
}
.cmd { display: grid; gap: 20px; }
.cmd-line { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 14px; }
.pr { color: var(--green); }
.cmd-line .verb { color: var(--magenta); }
.cmd-line .val { font-size: clamp(20px, 3.4vw, 30px); font-weight: 800; letter-spacing: -0.02em; color: var(--fg); text-decoration: none; word-break: break-all; }
.cmd-line .val:hover { color: var(--accent); }
.cmd-line .note { flex-basis: 100%; color: var(--muted); font-size: 12.5px; padding-left: 1.4em; }
.copy {
  font: inherit; font-size: 12px; cursor: pointer; color: var(--sub); min-height: 30px;
  background: transparent; border: 1px solid var(--border); padding: 2px 10px;
}
.copy:hover { border-color: var(--accent); color: var(--accent); }
.hours { width: 100%; border-collapse: collapse; font-variant-numeric: tabular-nums; }
.hours td { padding: 7px 0; border-bottom: 1px dashed var(--line); }
.hours td:last-child { text-align: right; color: var(--sub); }
.hours tr.today td { color: var(--accent); font-weight: 700; }
.hours tr.today td:first-child::before { content: "› "; }
.now { margin-top: 14px; display: flex; align-items: center; gap: 8px; color: var(--sub); }

/* request form */
#reqForm { display: grid; gap: 12px; }
@media (min-width: 900px) { #reqForm { grid-template-columns: 1fr 1fr; } .req-foot, .out { grid-column: 1 / -1; } }
.field { display: grid; gap: 4px; min-width: 0; }
.field label { color: var(--magenta); font-size: 13px; }
.field input {
  font: inherit; font-size: 16px; color: var(--fg); width: 100%;
  background: var(--inset); border: var(--bw) solid var(--border); padding: 10px 12px; outline: none;
}
.field input:focus { border-color: var(--accent); }
.field input[aria-invalid="true"] { border-color: var(--red); }
.field input::placeholder { color: var(--muted); }
.req-foot { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; font-size: 12.5px; }
.out { margin: 0; font: inherit; min-height: 1.6em; white-space: pre-wrap; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- lualine (fixed bottom bar) ---------- */
.lualine {
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  display: flex; align-items: stretch; font-size: 12.5px; min-height: var(--bar);
  background: var(--tile); border-top: 1px solid var(--line);
  padding-bottom: env(safe-area-inset-bottom, 0px);
}
.lualine > * { display: flex; align-items: center; padding: 0 12px; white-space: nowrap; }
.lualine .mode { background: var(--accent); color: var(--on-accent); font-weight: 800; }
.lualine .file { background: var(--line); color: var(--fg); }
.lualine .textus { color: var(--green); font-weight: 700; text-decoration: none; }
.lualine .textus:hover { text-decoration: underline; }
.lualine .grow { flex: 1; padding: 0; }
.lualine .r { color: var(--muted); }
.lualine .r2 { background: var(--line); color: var(--fg); }
@media (max-width: 700px) {
  .lualine .file, .lualine .hide-s { display: none; }
  .lualine .textus { flex: 1; justify-content: center; background: var(--green); color: var(--on-accent); font-size: 14px; }
  .lualine .grow { display: none; }
}

/* ---------- theme menu (walker-style) ---------- */
.menu-wrap { position: fixed; inset: 0; z-index: 50; display: grid; place-items: start center; padding: 14vh 16px 0; background: color-mix(in srgb, var(--bg) 60%, transparent); }
.menu { width: min(100%, 420px); background: var(--tile); border: var(--bw) solid var(--accent); padding: 12px; box-shadow: 0 30px 80px rgba(0,0,0,.45); }
.menu-title { color: var(--muted); font-size: 12.5px; padding: 0 6px 8px; display: flex; justify-content: space-between; }
.menu button {
  width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 10px;
  font: inherit; text-align: left; cursor: pointer; padding: 9px 10px; min-height: 40px;
  background: transparent; color: var(--fg); border: 0;
}
.menu button:hover, .menu button:focus-visible { background: var(--accent); color: var(--on-accent); outline: none; }
.menu .note { opacity: .7; }
