
@font-face { font-family: Inter; src: url('/fonts/inter.woff2') format('woff2'); font-weight: 400 700; font-display: swap; }
@font-face { font-family: Cinzel; src: url('/fonts/cinzel.woff2') format('woff2'); font-weight: 600 700; font-display: swap; }
:root {
  color-scheme: dark;
  --bg: #0e0f17;
  --surface: #151722;
  --raised: #1b1d2b;
  --line: #323347;
  --text: #f4f1ed;
  --muted: #b9bacb;
  --gold: #f3cb84;
  --gold-faint: #6f5739;
  --serif: Cinzel, Georgia, serif;
  --sans: Inter, system-ui, sans-serif;
}
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.65 var(--sans); }
img, video { display: block; max-width: 100%; height: auto; }
button, input, select { font: inherit; }
a { color: var(--gold); text-underline-offset: .19em; }
a:hover { color: #ffdfa7; }
summary, button { cursor: pointer; }
:focus-visible { outline: 2px solid #f7d590; outline-offset: 4px; }
h1, h2, h3, p, figure { margin: 0; }
h1, h2, h3 { line-height: 1.18; }
[hidden] { display: none !important; }
html:not(.js) .js-only { display: none !important; }
.wrap { width: min(1232px, calc(100% - 72px)); margin-inline: auto; }
.sr-only, .skip-link:not(:focus) { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }
.skip-link:focus { position: fixed; z-index: 20; top: 14px; left: 14px; padding: 10px 16px; background: #0c0e17; }

.site-header { position: relative; z-index: 2; background: #11121c; border-bottom: 1px solid #2b2b3e; }
.header-inner { min-height: 70px; display: flex; align-items: center; justify-content: space-between; gap: 26px; }
.wordmark { display: inline-flex; align-items: center; gap: 11px; flex-shrink: 0; color: var(--text); text-decoration: none; font: 600 21px/1 var(--serif); white-space: nowrap; }
.wordmark strong { color: var(--gold); font-weight: 700; }
.sigil { position: relative; display: inline-grid; place-items: center; width: 23px; height: 23px; color: var(--gold); }
.sigil::before, .sigil::after { content: ''; position: absolute; transform: rotate(45deg); }
.sigil::before { width: 16px; height: 16px; border: 1px solid currentColor; }
.sigil::after { width: 7px; height: 7px; background: currentColor; }
.desktop-nav { display: flex; align-items: center; gap: clamp(15px, 2.25vw, 33px); margin-inline: auto; }
.desktop-nav a, .mobile-nav a { font-size: 14px; font-weight: 600; text-decoration: none; color: var(--muted); white-space: nowrap; }
.desktop-nav a[aria-current], .desktop-nav a:hover, .mobile-nav a:hover { color: var(--gold); }
.search-launch, .mobile-nav summary { min-height: 42px; display: inline-flex; gap: 10px; align-items: center; padding: 7px 13px; background: #191b29; border: 1px solid var(--line); border-radius: 7px; text-decoration: none; color: var(--text); font-size: 14px; font-weight: 600; }
.search-icon { position: relative; width: 13px; height: 13px; margin-right: 2px; border: 1.5px solid currentColor; border-radius: 50%; }
.search-icon::after { content: ''; position: absolute; width: 6px; height: 1.5px; right: -5px; bottom: -2px; transform: rotate(45deg); background: currentColor; }
.search-launch kbd { border: 1px solid #45465b; border-radius: 4px; color: var(--muted); font: 400 14px/1.2 var(--sans); padding: 2px 5px; margin-left: 12px; }
.mobile-nav { display: none; position: relative; }
.mobile-nav nav { display: grid; position: absolute; z-index: 3; top: calc(100% + 8px); right: 0; min-width: 186px; padding: 8px; background: var(--raised); border: 1px solid var(--line); border-radius: 7px; box-shadow: 0 12px 26px #05050a9c; }
.mobile-nav nav a { padding: 9px 10px; }
.mobile-nav summary::-webkit-details-marker { display: none; }

.landing-hero {
  overflow: hidden;
  background: radial-gradient(ellipse at 82% 47%, #252347 0, #16182d 38%, transparent 70%), #12131f;
}
.hero-inner { position: relative; min-height: 448px; display: grid; align-items: center; grid-template-columns: 1.03fr 1fr; }
.hero-inner::after { content: ''; position: absolute; pointer-events: none; inset: 21px -10px; border-inline: 1px solid #e9c48c25; mask-image: linear-gradient(transparent, black 18%, black 82%, transparent); }
.hero-copy { position: relative; z-index: 1; padding: 63px 0 67px; }
.eyebrow { color: var(--gold); font-size: 14px; font-weight: 700; letter-spacing: .108em; text-transform: uppercase; }
.hero-eyebrow { display: flex; gap: 12px; align-items: center; }
.hero-eyebrow span { width: 24px; height: 1px; background: var(--gold); }
.hero-copy h1 { font: 700 clamp(45px, 5.6vw, 81px)/1.02 var(--serif); letter-spacing: -.049em; margin: 20px 0 18px; text-wrap: balance; }
.hero-copy h1 em { color: var(--gold); font-style: normal; }
.hero-summary { max-width: 425px; color: #dedbea; font-size: clamp(17px, 1.5vw, 20px); line-height: 1.55; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.button { min-height: 45px; display: inline-flex; justify-content: center; align-items: center; gap: 12px; background: var(--raised); padding: 9px 17px; border: 1px solid transparent; border-radius: 7px; font-size: 15px; font-weight: 700; text-decoration: none; }
.button-primary { color: #211a14; background: var(--gold); }
.button-primary:hover { color: #19130f; background: #ffdaa0; }
.button-secondary { color: var(--text); background: #1b1d2ea6; border-color: #626077; }
.button-secondary:hover { background: #282a40; }
.hero-art { position: absolute; inset: 0 -24px 0 44%; display: grid; align-items: center; }
.hero-art img { width: 100%; z-index: 0; filter: drop-shadow(0 14px 26px #10112688); }
.hero-art figcaption { position: absolute; right: 26px; bottom: 20px; font-size: 14px; color: #ccc7df; }
.hero-art figcaption span { padding-inline: 4px; }
.arrow { position: relative; display: inline-block; width: 14px; height: 12px; color: currentColor; flex: 0 0 14px; }
.arrow::before { content: ''; position: absolute; top: 5px; left: 0; width: 12px; border-top: 1.5px solid currentColor; }
.arrow::after { content: ''; position: absolute; top: 2px; right: 1px; width: 7px; height: 7px; border-top: 1.5px solid currentColor; border-right: 1.5px solid currentColor; transform: rotate(45deg); }

.launch-strip { background: #191925; border-block: 1px solid #514230; }
.launch-inner { min-height: 57px; display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-block: 8px; font-size: 14px; }
.launch-inner p, .launch-links { display: flex; flex-wrap: wrap; align-items: center; column-gap: 13px; }
.launch-dot { background: #99dfb6; width: 7px; height: 7px; border-radius: 50%; box-shadow: 0 0 12px #99dfb64b; }
.launch-date { color: var(--muted); }
.launch-links { column-gap: 17px; }
.launch-links a { font-weight: 600; }

.home-section { margin-block: 39px; scroll-margin-top: 20px; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 10px 20px; margin-bottom: 19px; }
.section-heading h2 { font: 700 clamp(25px, 3vw, 36px)/1.16 var(--serif); color: #faf5eb; letter-spacing: -.018em; }
.section-heading > a { display: inline-flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 600; text-decoration: none; }
.feature-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.feature-card { position: relative; min-height: 180px; display: flex; align-items: flex-end; isolation: isolate; overflow: hidden; padding: 19px; background: var(--surface); border: 1px solid var(--line); border-radius: 10px; color: var(--text); text-decoration: none; }
.feature-card:hover { color: var(--text); border-color: var(--gold-faint); }
.feature-art { position: absolute; z-index: -1; inset: 0; overflow: hidden; background: radial-gradient(ellipse at 84% 23%, var(--glow), transparent 72%); }
.feature-art img { position: absolute; right: -6px; top: -5px; width: min(51%, 185px); height: 145px; object-fit: contain; object-position: center; transition: transform .2s ease; }
.feature-card:hover img { transform: translateY(-4px); }
.feature-art::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, #141621 3%, #141621e7 35%, transparent 100%); }
.card-vargas { --glow: #4c2e2b; }
.card-atro { --glow: #273d36; }
.card-magress { --glow: #412840; }
.feature-copy { width: calc(100% - 17px); }
.feature-copy h3 { font: 700 clamp(19px, 2vw, 24px)/1.24 var(--serif); margin-bottom: 7px; }
.feature-copy p { font-size: 14px; color: #d2d1df; line-height: 1.52; }
.feature-card > .arrow { align-self: flex-end; margin: 0 0 3px 6px; color: var(--gold); }

.reference-section { margin-top: 61px; margin-bottom: 68px; }
.reference-layout { display: grid; grid-template-columns: 1.25fr .81fr; gap: 25px; align-items: start; }
.reference-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid var(--line); }
.reference-list li { border-bottom: 1px solid var(--line); }
.reference-list a { display: flex; align-items: center; gap: 14px; padding: 13px 0; color: var(--text); text-decoration: none; }
.reference-list a:hover strong { color: var(--gold); }
.reference-list a > span:nth-child(2) { flex: 1; }
.reference-list a > span:last-child { color: var(--gold); margin-right: 7px; }
.reference-list strong, .reference-list strong + span { display: block; }
.reference-list strong + span { color: var(--muted); font-size: 14px; }
.reference-icon { position: relative; width: 36px; height: 36px; flex: 0 0 36px; display: grid; place-items: center; color: var(--gold); border: 1px solid #66513c; background: #22202a; border-radius: 6px; }
.reference-icon::before { display: block; font-size: 20px; line-height: 1; }
.icon-growth::before { content: '◇'; }
.icon-elements::before { content: '✧'; }
.icon-raid::before { content: '⚔'; }
.icon-clock::before { content: '◷'; }
.icon-summons::before { content: '◈'; }
.game-note { border: 1px solid var(--line); background: var(--surface); border-radius: 10px; overflow: hidden; }
.game-note > img { width: 100%; aspect-ratio: 2.65; object-fit: cover; object-position: center 44%; }
.game-note-body { padding: 20px; }
.game-note h2 { font: 700 23px/1.24 var(--serif); margin-bottom: 10px; }
.game-note p, .game-note dl, .game-note a { font-size: 14px; }
.game-note p { color: var(--muted); }
.game-note dl { margin: 12px 0; }
.game-note dl > div { display: flex; gap: 18px; justify-content: space-between; border-bottom: 1px solid var(--line); padding-block: 4px; }
.game-note dt { color: var(--muted); }
.game-note dd { margin: 0; text-align: right; }
.game-note-body > a { display: inline-flex; align-items: center; gap: 8px; }

.site-footer { background: #11121b; border-top: 1px solid #302d3a; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr .7fr; gap: 24px; padding-block: 31px 36px; }
.footer-grid p, .footer-grid a:not(.wordmark) { font-size: 14px; color: var(--muted); }
.footer-grid p { margin-top: 14px; }
.footer-grid h2 { font-size: 15px; margin-bottom: 9px; }
.footer-grid a:not(.wordmark) { display: block; width: fit-content; padding-block: 2px; text-decoration: none; }
.footer-grid a:hover { color: var(--gold); }

.guide-main { padding-bottom: 66px; }
.breadcrumb { padding-block: 18px 12px; display: flex; flex-wrap: wrap; align-items: center; gap: 9px; color: var(--muted); font-size: 14px; }
.breadcrumb a { color: var(--muted); }
.guide-heading { padding: 28px 0 27px; border-bottom: 1px solid var(--line); }
.guide-heading h1, .not-found h1 { max-width: 960px; margin: 11px 0 13px; font: 700 clamp(32px, 5.1vw, 60px)/1.08 var(--serif); letter-spacing: -.028em; text-wrap: balance; overflow-wrap: break-word; }
.guide-summary { max-width: 780px; color: #dad9e8; font-size: clamp(16px, 2.2vw, 19px); line-height: 1.55; }
.guide-byline { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-top: 14px; color: var(--muted); font-size: 14px; }
.guide-layout { display: grid; grid-template-columns: minmax(0, 800px) minmax(176px, 252px); justify-content: space-between; gap: clamp(26px, 6vw, 80px); }
.wide-guide { grid-template-columns: minmax(0, 1fr) minmax(178px, 230px); gap: 32px; }
.guide-section { margin-top: 38px; scroll-margin-top: 21px; }
.guide-section h2 { margin-bottom: 13px; color: #f8efdf; font: 700 clamp(23px, 3.2vw, 32px)/1.2 var(--serif); letter-spacing: -.015em; }
.guide-section p + p { margin-top: 12px; }
.guide-section p, .guide-section li { color: #d9d9e6; }
.guide-aside > nav { position: sticky; top: 20px; margin-top: 38px; border-left: 1px solid var(--line); padding-left: 18px; }
.guide-aside h2 { font-size: 15px; }
.guide-aside ul, .source-section ul { padding-left: 0; list-style: none; }
.guide-aside li { padding-block: 3px; font-size: 14px; line-height: 1.5; }
.guide-aside a { color: var(--muted); text-decoration: none; }
.guide-aside a:hover { color: var(--gold); }
.steps { margin: 0; padding-left: 24px; }
.steps li { padding: 0 0 12px 6px; }
.steps li::marker { color: var(--gold); font-weight: 700; }
.steps strong { color: var(--text); }
.table-region { overflow-x: auto; margin: 15px 0 17px; border: 1px solid var(--line); border-radius: 7px; background: #151621; }
.table-region table { width: 100%; border-collapse: collapse; line-height: 1.5; font-size: 15px; }
.table-region caption { padding: 10px 12px; background: #1f2030; text-align: left; font-size: 14px; color: var(--muted); }
.table-region th, .table-region td { text-align: left; vertical-align: top; padding: 9px 11px; border-top: 1px solid #343549; overflow-wrap: anywhere; }
.table-region thead th { color: #f9e6c3; background: #202132; }
.table-region tbody tr:nth-child(even) { background: #191a28; }
.table-region tbody th { font-weight: 600; color: var(--text); }
.guide-figure, .trailer { margin-block: 19px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); overflow: hidden; }
.guide-figure img { margin-inline: auto; }
.phone-figure { display: grid; grid-template-columns: minmax(112px, 190px) minmax(0,1fr); align-items: end; max-width: 435px; }
.phone-figure img { padding: 10px; }
.guide-figure figcaption, .trailer figcaption { padding: 11px 13px; font-size: 14px; color: var(--muted); }
.guide-figure figcaption span, .trailer figcaption span { display: block; }
.diagram-figure { max-width: 330px; }
.diagram-figure img { width: min(100%, 262px); margin-top: 12px; }
.store-links { display: grid; grid-template-columns: 1fr 1fr; gap: 13px; margin: 0 0 15px; }
.store-links > div { display: grid; gap: 5px; padding: 14px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); }
.store-links span { color: var(--muted); font-size: 14px; }
.store-links a { font-weight: 700; }
.trailer { position: relative; }
.trailer video { display: block; width: 100%; aspect-ratio: 16/9; background: #0a0a10; object-fit: contain; }
.trailer-play { display: none; position: absolute; inset: 0 0 70px; margin: auto; width: fit-content; height: 46px; padding-inline: 19px; background: var(--gold); color: #201b16; }
.js .trailer-play:not([hidden]) { display: inline-flex; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); padding: 10px 0; }
.faq-list summary { min-height: 33px; color: #f5e6cd; font-weight: 600; }
.faq-list p { padding: 2px 0 6px 17px; }
.source-section li { padding-block: 3px; font-size: 15px; }
.related-list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 9px; }
.related-link { display: flex; flex-direction: column; gap: 3px; padding: 10px; border: 1px solid var(--line); border-radius: 7px; background: var(--surface); text-decoration: none; }
.related-link span { color: var(--muted); font-size: 14px; }

.tool-panel, .task-form { padding: 16px; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); }
.tool-form, .clock-form, .unit-controls { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr) auto; align-items: end; gap: 11px; }
.clock-form { grid-template-columns: minmax(0,1fr) minmax(0,1fr) minmax(0,1.25fr); }
.unit-controls { grid-template-columns: 1.55fr 1fr; margin-top: 15px; }
.tool-form label, .clock-form label, .unit-controls label { min-width: 0; font-size: 14px; font-weight: 600; color: var(--muted); }
input:not([type="checkbox"]), select { width: 100%; min-width: 0; min-height: 44px; margin-top: 4px; padding: 8px 10px; border: 1px solid #595b73; border-radius: 6px; background: #202232; color: var(--text); }
input::placeholder { color: #acacc1; }
input[type="date"], input[type="time"] { display: block; }
.plain-button { min-height: 44px; padding: 7px 11px; border: 1px solid #5a5c70; border-radius: 6px; background: #272938; color: var(--text); font-weight: 600; font-size: 14px; }
.plain-button:hover { background: #34364b; }
.tool-result { display: block; margin-top: 12px; padding: 10px 13px; background: #222031; border-left: 2px solid var(--gold); color: #f3e4cc; }
.tool-result span { display: block; font-size: 14px; color: var(--muted); }
.task-form fieldset { border: 0; padding: 0; margin: 0; }
.task-form legend { font-size: 15px; color: var(--gold); padding: 0 0 7px; font-weight: 600; }
.checkline { display: flex; gap: 11px; min-height: 42px; padding: 8px 0; align-items: center; border-bottom: 1px solid #323447; cursor: pointer; }
.checkline input { accent-color: var(--gold); flex: 0 0 18px; height: 18px; margin: 0; }
.task-status { color: var(--muted); display: flex; align-items: center; justify-content: space-between; gap: 11px; padding-top: 11px; font-size: 14px; }
.unit-count { color: var(--muted); font-size: 14px; margin: 11px 0; }
.unit-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 10px; }
.unit-card { min-width: 0; overflow: hidden; border: 1px solid var(--line); border-radius: 9px; background: var(--surface); scroll-margin-top: 14px; }
.unit-card:target { border-color: var(--gold); }
.unit-portrait { display: grid; place-items: center; min-height: 150px; padding: 10px 7px; background: radial-gradient(ellipse, #38304f, #1a1b2a 77%); }
.unit-portrait[data-element="Fire"] { background: radial-gradient(ellipse, #513125, #201827 77%); }
.unit-portrait[data-element="Light"] { background: radial-gradient(ellipse, #3b4233, #192329 77%); }
.unit-portrait[data-element="Thunder"] { background: radial-gradient(ellipse, #52432f, #22202c 77%); }
.unit-portrait img { width: 100%; height: 134px; object-fit: contain; }
.unit-copy { padding: 12px; font-size: 14px; }
.unit-meta { display: flex; flex-wrap: wrap; gap: 3px 12px; margin-bottom: 5px; }
.unit-meta span:first-child { color: var(--gold); font-weight: 700; }
.unit-copy h3 { font: 700 24px/1.1 var(--serif); }
.unit-copy .unit-form { margin: 3px 0 8px; color: var(--muted); }
.unit-copy p + p { margin-top: 5px; }
.unit-copy a { display: inline-block; margin-top: 9px; }
.media-credit { padding-top: 9px; font-size: 14px; }

.search-dialog { width: min(530px, calc(100% - 30px)); margin: min(12vh, 105px) auto auto; padding: 17px; max-height: min(74vh, 620px); border: 1px solid #69677f; border-radius: 10px; background: #161824; color: var(--text); box-shadow: 0 16px 55px #030308d4; }
.search-dialog::backdrop { background: #090a13b5; }
.dialog-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding-bottom: 7px; }
.dialog-top h2 { font: 700 23px/1.2 var(--serif); }
.search-status { color: var(--muted); padding-top: 8px; font-size: 14px; }
.search-results { list-style: none; margin: 7px 0 0; padding: 0; }
.search-results li + li { border-top: 1px solid var(--line); }
.search-results a { display: block; padding: 8px 3px; color: var(--text); text-decoration: none; }
.search-results a:hover { color: var(--gold); }
.search-results span { display: block; font-size: 14px; color: var(--muted); }
.not-found { min-height: 65vh; padding-block: 52px; }
.not-found .button { margin-top: 17px; }

@media (max-width: 950px) {
  .wrap { width: min(100% - 42px, 1232px); }
  .header-inner { gap: 15px; }
  .desktop-nav { gap: 13px; }
  .search-launch kbd { display: none; }
  .hero-inner { min-height: 410px; }
  .hero-copy h1 { font-size: clamp(42px, 6.15vw, 66px); }
  .hero-art { right: -16px; }
  .wide-guide .unit-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width: 740px) {
  .wrap { width: calc(100% - 32px); }
  .header-inner { min-height: 60px; gap: 8px; }
  .wordmark { font-size: 19px; gap: 9px; margin-right: auto; }
  .desktop-nav { display: none; }
  .mobile-nav { display: block; }
  .hero-inner { min-height: 0; display: flex; flex-direction: column; align-items: stretch; }
  .hero-copy { padding: 38px 0 0; }
  .hero-copy h1 { font-size: clamp(36px, 8.3vw, 57px); margin-block: 13px; }
  .hero-summary { max-width: 395px; }
  .hero-actions { margin-top: 18px; }
  .hero-art { position: relative; inset: auto; width: min(100%, 480px); margin: -6px auto 0; padding-bottom: 24px; }
  .hero-art figcaption { right: 0; bottom: 8px; }
  .hero-inner::after { inset-inline: -8px; }
  .home-section { margin-block: 32px; }
  .section-heading { align-items: start; }
  .section-heading > a { text-align: right; gap: 5px; }
  .feature-grid { grid-template-columns: 1fr; gap: 9px; }
  .feature-card { min-height: 107px; padding: 13px; }
  .feature-art img { height: 108px; top: 0; width: min(40%,165px); }
  .feature-art::after { background: linear-gradient(90deg, #141621 22%, #141621c9 57%, #14162112 91%); }
  .feature-copy { width: min(73%, 410px); }
  .feature-card > .arrow { margin-left: auto; }
  .reference-layout, .guide-layout, .wide-guide { grid-template-columns: 1fr; }
  .guide-layout { display: flex; flex-direction: column-reverse; gap: 0; }
  .guide-aside > nav { position: static; margin-top: 17px; }
  .guide-aside ul { display: flex; flex-wrap: wrap; gap: 0 12px; margin: 5px 0 0; }
  .guide-section { margin-top: 27px; }
  .guide-heading { padding-block: 15px 19px; }
  .footer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 17px 10px; }
  .footer-grid > div:first-child { grid-column: 1 / -1; }
}
@media (max-width: 430px) {
  .wrap { width: calc(100% - 28px); }
  .launch-inner { flex-wrap: wrap; gap: 4px; }
  .site-header .sigil { width: 20px; height: 20px; }
  .hero-actions .button { padding-inline: 11px; }
  .hero-art { padding-bottom: 25px; }
  .section-heading > a { display: none; }
  .store-links, .related-list { grid-template-columns: 1fr; }
  .tool-form, .clock-form { grid-template-columns: minmax(0,1fr) minmax(0,1fr); }
  .tool-swap { grid-column: 1 / -1; justify-self: start; }
  .clock-form label:nth-child(3) { grid-column: 1 / -1; }
  .tool-panel, .task-form { padding: 11px; }
  .table-region th, .table-region td { padding: 8px 7px; }
  .wide-guide .unit-grid { grid-template-columns: 1fr; }
  .unit-portrait img { height: 155px; }
}
@media (max-width: 380px) {
  .search-launch { width: 44px; min-height: 44px; justify-content: center; padding: 0; }
  .search-launch span:not(.search-icon) { display: none; }
  .mobile-nav summary { padding-inline: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}

