/* roulang page: index */
:root {
  --amber: #E39B45;
  --amber-hover: #C8842E;
  --rose: #B85A6A;
  --bg: #161210;
  --bg-2: #1C1614;
  --panel: #241C18;
  --moss: #8A9A86;
  --text: #F3EADF;
  --muted: #C9B8A8;
  --line: #3A2E28;
  --input: #1C1614;
  --input-line: #4A3B34;
  --radius: 8px;
  --shadow: 0 8px 24px rgba(0,0,0,.28);
  --gap: 64px;
  --max: 1120px;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body, h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
ul, ol { list-style: none; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
  font-size: 16px;
  line-height: 1.8;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden] { display: none !important; }
:focus-visible { outline: 2px solid var(--moss); outline-offset: 2px; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 30; background: #120e0c; border-bottom: 1px solid var(--line); }
.info-bar {
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 0 20px;
  background: #100d0b;
  color: var(--muted);
  font-size: 12px;
  border-bottom: 1px solid var(--line);
}
.info-left { display: flex; gap: 14px; align-items: center; min-width: 0; }
.info-left b { color: var(--text); font-weight: 600; }
.info-cta {
  color: var(--amber);
  border-bottom: 1px solid rgba(227,155,69,.5);
  line-height: 1.4;
  white-space: nowrap;
}
.info-cta:hover { color: var(--text); }
.nav-inner {
  min-height: 74px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.logo { display: flex; align-items: flex-start; gap: 10px; color: var(--text); font-weight: 700; font-size: 18px; line-height: 1.25; }
.logo:hover { color: var(--amber); }
.pin {
  width: 10px; height: 10px; margin-top: 4px; flex: none;
  border: 2px solid var(--amber); transform: rotate(45deg);
}
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: var(--muted); font-size: 15px; padding: 8px 0; border-bottom: 2px solid transparent; }
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--amber); border-bottom-color: var(--amber); }
.section { padding: var(--gap) 0; border-top: 1px solid var(--line); }
.section:nth-child(even) { background: var(--bg-2); }
#board { border-top: 0; background: radial-gradient(1200px 280px at 10% -10%, rgba(227,155,69,.08), transparent 60%), var(--bg); }
h1 { font-size: 38px; line-height: 1.3; font-weight: 700; }
h2 { font-size: 26px; line-height: 1.35; font-weight: 700; margin-bottom: .45em; }
h3 { font-size: 19px; line-height: 1.45; font-weight: 700; }
.lead { color: var(--muted); max-width: 760px; margin-bottom: 22px; }
.sub { color: var(--muted); margin-top: 10px; max-width: 640px; }
.board-grid { display: grid; grid-template-columns: 1.25fr .9fr; gap: 28px; align-items: start; }
.chips { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.chip {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 14px 14px 12px; min-height: 108px;
  transition: border-color .2s ease, transform .2s ease;
}
.chip:hover { border-color: var(--amber); transform: translateY(-1px); }
.chip i { display: block; color: var(--moss); font-style: normal; font-size: 12px; letter-spacing: .08em; }
.chip b { display: block; margin: 6px 0 2px; color: var(--amber); font-size: 28px; line-height: 1.15; }
.chip span { display: block; color: var(--muted); font-size: 13px; line-height: 1.5; }
.progress { margin-top: 26px; }
.progress-meta { display: flex; justify-content: space-between; color: var(--muted); font-size: 13px; margin-bottom: 8px; }
.track { height: 4px; background: var(--line); border-radius: 999px; overflow: hidden; }
.track span { display: block; height: 100%; width: 64%; background: var(--amber); }
.zone-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  grid-template-areas: "main sub" "main cont" "main night";
  gap: 12px;
}
.zone-main { grid-area: main; }
.tile {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 18px 18px 16px; min-height: 132px;
  display: flex; flex-direction: column; gap: 8px;
  transition: border-color .2s ease, transform .2s ease;
}
.tile:hover { border-color: var(--amber); transform: translateY(-1px); }
.tile p { color: var(--muted); }
.zone-main { min-height: 100%; background:
  linear-gradient(160deg, rgba(227,155,69,.14), transparent 42%),
  repeating-linear-gradient(90deg, rgba(58,46,40,.55) 0 1px, transparent 1px 28px),
  var(--panel);
}
.status { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; color: var(--muted); font-size: 13px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--amber); box-shadow: 0 0 0 4px rgba(227,155,69,.16); flex: none; }
.dot.rose { background: var(--rose); box-shadow: 0 0 0 4px rgba(184,90,106,.16); }
.dot.moss { background: var(--moss); box-shadow: 0 0 0 4px rgba(138,154,134,.16); }
.btn, .link-more {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 42px; padding: 0 16px; border-radius: var(--radius);
  background: var(--amber); color: #161210; font-weight: 700; border: 0;
  transition: background .2s ease, transform .2s ease;
}
.btn:hover, .link-more:hover { background: var(--amber-hover); transform: translateY(-1px); }
.btn:active, .link-more:active { transform: translateY(0); }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.link-more { align-self: flex-start; margin-top: 8px; }
.matrix { display: grid; grid-template-columns: 1.4fr 1fr; gap: 12px; }
.cell-play { grid-row: span 2; }
.cell-bar { grid-column: 1 / -1; }
.cell {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: 20px; min-height: 148px;
  display: flex; flex-direction: column; gap: 10px;
}
.cell-play { background:
  linear-gradient(180deg, rgba(184,90,106,.12), transparent 48%), var(--panel);
}
.cell p { color: var(--muted); }
.scene-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.scene {
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 16px; box-shadow: var(--shadow); min-height: 150px;
}
.scene em { display: inline-block; font-style: normal; color: var(--amber); font-size: 12px; letter-spacing: .06em; }
.scene p { color: var(--muted); margin-top: 8px; }
.cmp-wrap { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden; }
.cmp { width: 100%; border-collapse: collapse; }
.cmp th, .cmp td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--line); vertical-align: top; }
.cmp tr:last-child td { border-bottom: 0; }
.cmp th { font-size: 14px; background: #2a211c; }
.cmp th:nth-child(2) { color: var(--amber); }
.cmp th:nth-child(3) { color: var(--rose); }
.cmp td:first-child { color: var(--muted); width: 18%; }
.filter-bar { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 8px; }
label { display: block; color: var(--muted); font-size: 13px; margin-bottom: 6px; }
input, select, textarea {
  width: 100%; background: var(--input); border: 1px solid var(--input-line);
  border-radius: var(--radius); padding: 12px 14px; color: var(--text);
  transition: border-color .2s ease;
}
textarea { min-height: 120px; resize: vertical; }
input::placeholder, textarea::placeholder { color: var(--muted); }
input:focus, select:focus, textarea:focus { border-color: var(--amber); }
.is-error { border-color: var(--rose) !important; }
.log { margin-top: 8px; }
.log-row {
  display: grid; grid-template-columns: 1.4fr auto auto; gap: 12px; align-items: center;
  padding: 14px 4px; border-bottom: 1px solid var(--line);
}
.log-row a { color: var(--text); }
.log-row a:hover { color: var(--amber); }
.tag {
  display: inline-flex; align-items: center; min-height: 24px; padding: 0 8px;
  border: 1px solid var(--input-line); border-radius: 999px; color: var(--amber); font-size: 12px;
}
.time { color: var(--muted); font-size: 13px; }
.empty { margin-top: 14px; padding: 16px; border: 1px dashed var(--line); border-radius: var(--radius); color: var(--muted); }
.rail { border-left: 2px solid var(--line); margin: 8px 0 0 8px; }
.rail li { position: relative; padding: 0 0 22px 22px; }
.rail li::before {
  content: ""; position: absolute; left: -6px; top: 8px; width: 10px; height: 10px;
  border-radius: 50%; background: var(--amber);
}
.rail h3 { margin-bottom: 4px; }
.rail p { color: var(--muted); }
.night-grid { display: grid; grid-template-columns: 200px 1fr; gap: 22px; }
.axis { border-left: 2px solid var(--line); margin-left: 6px; padding-top: 4px; }
.axis li { position: relative; padding: 0 0 28px 16px; color: var(--muted); }
.axis li::before { content: ""; position: absolute; left: -6px; top: 8px; width: 10px; height: 10px; border-radius: 50%; background: var(--rose); }
.night-cards { display: grid; grid-template-columns: 1.15fr .9fr 1fr; gap: 12px; }
.night-cards article { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; }
.night-cards p { color: var(--muted); margin: 8px 0 12px; }
.news-grid { display: grid; grid-template-columns: 1.55fr .85fr; gap: 18px; }
.news-list a {
  display: block; padding: 12px 0; border-bottom: 1px solid var(--line); color: var(--text);
}
.news-list a:hover { color: var(--amber); }
.news-list small { display: block; color: var(--muted); font-size: 13px; }
.feature { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 18px; }
.feature p { color: var(--muted); margin: 10px 0 16px; }
.kicker { color: var(--rose); font-size: 12px; letter-spacing: .08em; }
.track-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.lane { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px 14px 6px; }
.lane h3 { margin-bottom: 8px; }
.lane li { padding: 12px 0; border-top: 1px solid var(--line); }
.lane li strong { display: block; font-weight: 700; }
.lane li span { color: var(--muted); font-size: 13px; }
.guard li {
  display: grid; grid-template-columns: 92px 1fr; gap: 12px; align-items: baseline;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.guard b { color: var(--amber); font-weight: 700; }
.guard span { color: var(--muted); }
.qa { border-top: 1px solid var(--line); }
.qa div { padding: 14px 0; border-bottom: 1px solid var(--line); }
.qa dt { font-weight: 700; }
.qa dd { color: var(--muted); margin-top: 4px; }
.faq details { border-bottom: 1px solid var(--line); padding: 12px 0; }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 12px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--amber); font-weight: 700; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--muted); margin-top: 8px; }
.form-panel { background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); padding: 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.span-2 { grid-column: 1 / -1; }
.form-msg { margin-top: 12px; }
.form-msg.bad { color: var(--rose); }
.form-msg.ok { color: var(--moss); }
.site-footer { background: #100d0b; border-top: 1px solid var(--line); padding: 36px 0 28px; }
.foot { display: grid; grid-template-columns: 1.3fr .8fr 1fr; gap: 22px; align-items: start; }
.foot p, .foot a { color: var(--muted); }
.foot a { display: block; padding: 4px 0; }
.foot a:hover { color: var(--amber); }
.foot-copy { color: var(--muted); font-size: 13px; }
@media (max-width: 1100px) {
  :root { --gap: 48px; }
  .board-grid, .zone-grid, .matrix, .night-grid, .night-cards, .news-grid, .foot { grid-template-columns: 1fr; }
  .zone-grid { grid-template-areas: "main" "sub" "cont" "night"; }
  .cell-play, .cell-bar { grid-row: auto; grid-column: auto; }
}
@media (max-width: 768px) {
  :root { --gap: 36px; }
  .info-bar { height: auto; min-height: 34px; flex-wrap: wrap; padding: 6px 16px 8px; }
  .nav-inner { flex-direction: column; align-items: stretch; padding: 10px 0 12px; min-height: 0; gap: 8px; }
  .nav-links { overflow-x: auto; flex-wrap: nowrap; gap: 18px; padding-bottom: 4px; }
  .nav-links a { white-space: nowrap; }
  .chips, .scene-row, .filter-bar { grid-template-columns: 1fr 1fr; }
  .track-grid { grid-template-columns: 1fr; }
  h1 { font-size: 32px; }
  h2 { font-size: 24px; }
}
@media (max-width: 480px) {
  :root { --gap: 32px; }
  .container { width: min(var(--max), calc(100% - 28px)); }
  h1 { font-size: 30px; }
  .chips, .scene-row, .filter-bar, .form-grid, .log-row, .guard li { grid-template-columns: 1fr; }
  .btn, .link-more { width: 100%; }
  .cmp thead { display: none; }
  .cmp, .cmp tbody, .cmp tr, .cmp th, .cmp td { display: block; width: 100%; }
  .cmp tr { padding: 8px 14px; border-bottom: 1px solid var(--line); }
  .cmp td { border: 0; padding: 8px 0; }
  .cmp td::before { content: attr(data-h); display: block; color: var(--amber); font-size: 12px; line-height: 1.4; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; scroll-behavior: auto !important; }
}

/* roulang page: category1 */
:root {
 --amber: #E39B45;
 --amber-hover: #C8842E;
 --rose: #B85A6A;
 --bg: #161210;
 --bg-2: #1C1614;
 --panel: #241C18;
 --moss: #8A9A86;
 --text: #F3EADF;
 --muted: #C9B8A8;
 --line: #3A2E28;
 --input: #1C1614;
 --input-line: #4A3B34;
 --radius: 8px;
 --shadow: 0 8px 24px rgba(0,0,0,.28);
 --gap: 64px;
 --max: 1120px;
}
html { scroll-behavior: smooth; }
*, *::before, *::after { box-sizing: border-box; }
body, h1, h2, h3, p, ul, ol, dl, dd, figure, blockquote { margin: 0; padding: 0; }
body {
 background: var(--bg);
 color: var(--text);
 font-family: "PingFang SC", "Microsoft YaHei", "Noto Sans SC", sans-serif;
 font-size: 16px;
 line-height: 1.8;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
ul { list-style: none; }
[hidden] { display: none !important; }
.container { width: min(var(--max), calc(100% - 40px)); margin: 0 auto; }
.site-header { position: sticky; top: 0; z-index: 30; background: #120e0c; border-bottom: 1px solid var(--line); }
.info-bar {
 height: 34px;
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 16px;
 padding: 0 20px;
 background: #100d0b;
 color: var(--muted);
 font-size: 13px;
 border-bottom: 1px solid var(--line);
}
.info-left { display: flex; gap: 14px; align-items: center; min-width: 0; }
.info-left b { font-weight: 600; color: var(--text); }
.info-cta {
 color: var(--amber);
 border-bottom: 1px solid rgba(227,155,69,.5);
 line-height: 1.4;
 white-space: nowrap;
}
.info-cta:hover { color: var(--text); }
.info-cta:focus-visible { outline: 2px solid var(--moss); outline-offset: 2px; }
.nav-inner {
 min-height: 74px;
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 24px;
}
.logo { display: flex; align-items: flex-start; gap: 10px; color: var(--text); font-weight: 700; font-size: 18px; line-height: 1.25; }
.logo:hover { color: var(--amber); }
.logo:focus-visible { outline: 2px solid var(--moss); outline-offset: 3px; }
.pin {
 width: 10px;
 height: 10px;
 margin-top: 5px;
 border-radius: 50%;
 background: var(--amber);
 box-shadow: 0 0 0 4px rgba(227,155,69,.18);
 flex: none;
}
.nav-links { display: flex; align-items: center; gap: 22px; }
.nav-links a { color: var(--muted); font-size: 15px; padding: 8px 0; border-bottom: 2px solid transparent; white-space: nowrap; }
.nav-links a:hover { color: var(--text); }
.nav-links a.active { color: var(--amber); border-bottom-color: var(--amber); }
.nav-links a:focus-visible { outline: 2px solid var(--moss); outline-offset: 3px; }
.section { padding: var(--gap) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section:nth-child(even) { background: var(--bg-2); }
.section { scroll-margin-top: 120px; }
h1 { font-size: 38px; line-height: 1.25; font-weight: 700; }
h2 { font-size: 26px; line-height: 1.35; font-weight: 700; margin-bottom: 14px; }
h3 { font-size: 19px; line-height: 1.45; font-weight: 700; }
p { margin: 0 0 1em; }
.lead { color: var(--muted); max-width: 680px; margin: 12px 0 0; }
.cat-head {
 display: grid;
 grid-template-columns: 1.45fr .75fr;
 gap: 28px;
 align-items: stretch;
 padding: 28px;
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 background:
  linear-gradient(155deg, rgba(227,155,69,.16), transparent 48%),
  repeating-linear-gradient(90deg, rgba(58,46,40,.7) 0 1px, transparent 1px 26px),
  var(--panel);
}
.sum-card {
 background: rgba(22,18,16,.72);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 padding: 16px 16px 12px;
 align-self: end;
}
.sum-card i {
 display: block;
 color: var(--moss);
 font-style: normal;
 font-size: 12px;
 letter-spacing: .08em;
}
.sum-card strong { display: block; margin: 8px 0 6px; color: var(--amber); font-size: 18px; line-height: 1.45; }
.sum-card p { color: var(--muted); margin: 0; font-size: 14px; }
.filter-groups { display: grid; grid-template-columns: 1.15fr 1fr 1fr; gap: 18px; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { color: var(--muted); font-size: 13px; margin-bottom: 8px; padding: 0; }
.filter-row { display: flex; flex-wrap: wrap; gap: 8px; }
.opt { position: relative; }
.opt input {
 position: absolute;
 width: 1px;
 height: 1px;
 padding: 0;
 margin: 0;
 opacity: 0;
 border: 0;
}
.opt span {
 display: inline-flex;
 align-items: center;
 min-height: 36px;
 padding: 0 12px;
 border: 1px solid var(--input-line);
 border-radius: var(--radius);
 background: var(--input);
 color: var(--muted);
 transition: border-color .2s ease, color .2s ease, transform .2s ease;
}
.opt input:checked + span {
 border-color: var(--amber);
 color: var(--amber);
 box-shadow: inset 0 0 0 1px var(--amber);
}
.opt:hover span { border-color: var(--amber); color: var(--text); }
.opt input:focus-visible + span { outline: 2px solid var(--moss); outline-offset: 2px; }
.log-board {
 background: var(--panel);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 padding: 6px 16px 8px;
}
.log-row {
 display: grid;
 grid-template-columns: 1.5fr auto auto;
 gap: 14px;
 align-items: center;
 padding: 14px 2px;
 border-bottom: 1px solid var(--line);
}
.log-row:last-child { border-bottom: 0; }
.log-row a { color: var(--text); font-weight: 700; }
.log-row a:hover { color: var(--amber); }
.log-row a:focus-visible { outline: 2px solid var(--moss); outline-offset: 2px; }
.log-row small { display: block; color: var(--muted); font-size: 13px; font-weight: 400; }
.log-row time { color: var(--muted); font-size: 13px; white-space: nowrap; }
.tag {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 min-height: 24px;
 padding: 0 8px;
 border: 1px solid var(--input-line);
 border-radius: 999px;
 color: var(--amber);
 font-size: 12px;
 white-space: nowrap;
}
.more-wrap { margin: 14px 0 0; }
.empty {
 margin-top: 12px;
 border: 1px dashed var(--line);
 border-radius: var(--radius);
 padding: 18px;
 color: var(--muted);
 background: var(--bg-2);
}
.cond-grid { display: grid; grid-template-columns: 1.35fr 1fr .82fr; gap: 12px; }
.cond-grid article {
 background: var(--panel);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 padding: 18px;
}
.cond-grid p { color: var(--muted); margin: 8px 0 0; }
.news-list a {
 display: block;
 padding: 14px 0;
 border-bottom: 1px solid var(--line);
 color: var(--text);
}
.news-list a:hover { color: var(--amber); }
.news-list a:focus-visible { outline: 2px solid var(--moss); outline-offset: 2px; }
.news-list small { display: block; color: var(--muted); font-size: 13px; }
.faults li {
 display: grid;
 grid-template-columns: 132px 1fr;
 gap: 16px;
 padding: 14px 0;
 border-bottom: 1px solid var(--line);
}
.faults b { font-weight: 700; }
.faults span { color: var(--muted); }
.form-entry {
 display: flex;
 align-items: center;
 justify-content: space-between;
 gap: 20px;
 background: var(--panel);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 box-shadow: var(--shadow);
 padding: 22px;
}
.form-entry p { color: var(--muted); margin: 0; max-width: 640px; }
.form-entry h2 { margin-bottom: 8px; }
.back-grid { display: grid; grid-template-columns: 220px 1fr; gap: 22px; align-items: start; }
.rel a {
 display: block;
 padding: 12px 0;
 border-bottom: 1px solid var(--line);
 color: var(--text);
}
.rel a:hover { color: var(--amber); }
.rel a:focus-visible { outline: 2px solid var(--moss); outline-offset: 2px; }
.rel small { display: block; color: var(--muted); font-size: 13px; }
.btn, .link-more {
 display: inline-flex;
 align-items: center;
 justify-content: center;
 min-height: 42px;
 padding: 0 16px;
 border-radius: var(--radius);
 background: var(--amber);
 color: #161210;
 font-weight: 700;
 border: 0;
 transition: background .2s ease, transform .2s ease;
}
.btn:hover, .link-more:hover { background: var(--amber-hover); transform: translateY(-1px); }
.btn:active, .link-more:active { transform: translateY(0); }
.btn:focus-visible, .link-more:focus-visible { outline: 2px solid var(--moss); outline-offset: 2px; }
.btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }
.site-footer { border-top: 1px solid var(--line); background: #120e0c; padding: 36px 0 28px; }
.foot { display: grid; grid-template-columns: 1.2fr .8fr; gap: 18px 28px; align-items: start; }
.foot-brand p { color: var(--muted); margin-top: 10px; }
.foot-links { display: flex; flex-wrap: wrap; gap: 12px 18px; align-content: start; justify-content: flex-end; }
.foot-links a { color: var(--muted); }
.foot-links a:hover { color: var(--amber); }
.foot-links a:focus-visible { outline: 2px solid var(--moss); outline-offset: 2px; }
.foot-copy { grid-column: 1 / -1; color: var(--muted); font-size: 13px; border-top: 1px solid var(--line); padding-top: 14px; margin: 0; }
@media (max-width: 1100px) {
 .cat-head, .cond-grid, .back-grid, .filter-groups { grid-template-columns: 1fr; }
 .back-grid { gap: 12px; }
}
@media (max-width: 768px) {
 :root { --gap: 36px; }
 .info-bar { height: auto; flex-direction: column; align-items: flex-start; padding: 8px 16px; gap: 4px; }
 .nav-inner { flex-direction: column; align-items: stretch; min-height: 0; padding: 12px 0; gap: 8px; }
 .nav-links { width: 100%; overflow-x: auto; gap: 18px; padding-bottom: 6px; }
 .form-entry { align-items: flex-start; flex-direction: column; }
 .faults li { grid-template-columns: 1fr; gap: 4px; }
 .foot { grid-template-columns: 1fr; }
 .foot-links { justify-content: flex-start; }
 h1 { font-size: 32px; }
}
@media (max-width: 480px) {
 :root { --gap: 32px; }
 .container { width: min(var(--max), calc(100% - 28px)); }
 h1 { font-size: 28px; }
 h2 { font-size: 22px; }
 .cat-head, .log-board, .form-entry { padding: 16px; }
 .log-row { grid-template-columns: 1fr; gap: 6px; }
 .log-row time { white-space: normal; }
 .btn, .link-more { width: 100%; }
}
