/*
 * One stylesheet, with no framework and no build step.
 *
 * The palette, type and card geometry come from the app, so the website and the
 * app look like one product:
 *
 *   colours   lib/theme/colors.dart          (#0E0E0E ground, #C9A96E gold)
 *   type      Playfair Display + Inter       (named, never downloaded)
 *   cards     280x250 studio, 150x240 artist (lib/screens/discover)
 *
 * The two card sizes matter: a studio card is nearly twice as wide as an artist
 * card, which is how the two are told apart in a list that mixes them.
 *
 * A provider page overrides the colour custom properties inline from
 * `presenters.palette_css`, so noir, minimal and gold all use the same rules.
 */

:root {
  --background: #0E0E0E;
  --surface: #1A1A1A;
  --surface-2: #242424;
  --border: #2E2E2E;
  --text: #F0EDE8;
  --muted: #8E8A84;
  --accent: #C9A96E;
  --on-accent: #0E0E0E;
  --success: #52A878;

  /* The backdrop the app draws designs on (`kDesignBackdrop` in
     image_bytes.dart). Designs and flash pieces are line art on a transparent
     background, which would be invisible on the dark page surface. Not themed:
     it stays the same on a light provider page. */
  --paper: #F6F3EE;

  --display: "Playfair Display", "Iowan Old Style", Palatino, Georgia, serif;
  --body: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;

  /* The app's card geometry, to scale. */
  --studio-w: 280px;
  --artist-w: 150px;

  --wrap: 1180px;
  --r: 12px;
  --r-s: 8px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--background);
  color: var(--text);
  font-family: var(--body);
  font-size: 15px;
  line-height: 1.55;
  min-height: 100vh;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 2px;
}

h1, h2, h3 { margin: 0 0 .35em; line-height: 1.15; }
h1 { font-family: var(--display); font-weight: 700; font-size: clamp(1.8rem, 5vw, 2.6rem); }
h2 { font-family: var(--display); font-weight: 700; font-size: 1.35rem; }
h3 { font-size: .95rem; font-weight: 600; }
p { margin: 0 0 .8rem; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 18px; }
.muted { color: var(--muted); }
.small { font-size: .82rem; }
.gold { color: var(--accent); }
.sr {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip {
  position: absolute; left: -9999px; z-index: 20;
  background: var(--accent); color: var(--on-accent); padding: 10px 16px;
}
.skip:focus { left: 0; top: 0; }
.linkish { color: var(--accent); text-decoration: none; font-size: .85rem; }
.linkish:hover { text-decoration: underline; }

/* --- Wordmark ----------------------------------------------------------- */
.mark {
  font-family: var(--display); font-weight: 700; letter-spacing: -.5px;
  text-decoration: none; line-height: 1; font-size: 1.35rem;
}
.mark-a { color: var(--text); }
.mark-b { color: color-mix(in srgb, var(--text) 55%, transparent); font-size: .72em; font-weight: 400; }
.mark-foot { font-size: 1.5rem; margin: 0 0 12px; }

/* --- Bar ---------------------------------------------------------------- */
.bar {
  position: sticky; top: 0; z-index: 10;
  border-bottom: 1px solid var(--border);
  background: color-mix(in srgb, var(--background) 90%, transparent);
  backdrop-filter: blur(10px);
}
.bar-row { display: flex; align-items: center; justify-content: space-between; height: 58px; gap: 14px; }
.bar-nav { display: flex; align-items: center; gap: 2px; }
.bar-nav a { text-decoration: none; color: var(--muted); padding: 8px 10px; font-size: .88rem; border-radius: var(--r-s); }
.bar-nav a:hover { color: var(--text); }
.bar-nav a.btn { color: var(--on-accent); }
/* The nav links collapse on a narrow screen, but the language switcher must
   not, or there would be no way to change language on a phone. */
@media (max-width: 520px) { .bar-nav > a:not(.btn) { display: none; } }

/* --- Language switcher --------------------------------------------------- */
/* A native <select>, styled to fit the bar. Native because it is one tag,
   works with a keyboard and screen reader without extra code, and opens the
   OS picker on a phone.

   Each option reads `EN 🇬🇧`. The width comes from the content, so another
   language needs no re-measuring.

   `lang-go` is the submit button for browsers without JavaScript;
   `static/lang.js` hides it once it is listening for `change`. */
.lang { display: inline-flex; align-items: center; gap: 6px; margin: 0 2px; }
.lang select {
  appearance: none;
  font: inherit; font-size: .8rem; font-weight: 600; letter-spacing: .02em;
  color: var(--muted); background: transparent;
  border: 1px solid transparent; border-radius: var(--r-s);
  padding: 6px 20px 6px 8px; line-height: 1; cursor: pointer;
  /* The chevron is drawn rather than fetched, since the site avoids loading
     images. The colour is a literal because `currentColor` does not work
     inside a data URI. */
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpath fill='%23888' d='M0 0h10L5 6z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 7px center;
  background-size: 8px;
}
.lang select:hover { color: var(--text); background-color: var(--surface-2); }
.lang select:focus-visible { outline: 2px solid var(--accent); outline-offset: 1px; }
/* The OS draws the open list and does not inherit the page's colours, so each
   option sets them explicitly. Without this the dropdown is black text on a
   black background on some platforms. */
.lang option { background: var(--surface); color: var(--text); }
.lang-go {
  font: inherit; font-size: .78rem; font-weight: 600;
  color: var(--muted); background: var(--surface-2);
  border: 1px solid var(--border); border-radius: var(--r-s);
  padding: 5px 9px; cursor: pointer;
}
.lang-go[hidden] { display: none; }

/* --- Room for a longer language ----------------------------------------- */
/* German text runs roughly 30% longer than English, and some strings much
   more, so these rules give text room to grow. They are written so another
   language needs no further work.

   The rule: anything whose width is fixed by the design, such as a card, pill
   or tab, keeps `nowrap` with an ellipsis. Anything that is a sentence wraps. */
.inline-cta .btn,
.cta-inner .btn,
.feature-list li,
.entry-sub,
.empty p {
  white-space: normal;
}
/* A call to action is a sentence on a button, so it wraps to two lines rather
   than widening the page. `balance` keeps the lines even instead of leaving one
   word on its own. */
.inline-cta .btn, .cta-inner .btn { text-wrap: balance; max-width: 100%; }
/* Badges sit on a fixed-width cover, so they stay on one line and take
   whatever width they need within it. */
.tag, .badge { white-space: nowrap; max-width: calc(100% - 16px); overflow: hidden; text-overflow: ellipsis; }
/* Headings in a language with long compound nouns need to break mid-word
   rather than overflow a narrow column. */
h1, h2, h3, .s-card-head h3, .a-card-body h3 { overflow-wrap: break-word; }
/* The search row already wraps; this stops the tabs being squeezed below a
   readable size when their labels grow. */
.tab { white-space: nowrap; }

/* --- Buttons ------------------------------------------------------------ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  background: var(--text); color: var(--background);
  border: 1px solid transparent; border-radius: var(--r-s);
  padding: 11px 18px; font: inherit; font-weight: 600; font-size: .9rem;
  text-decoration: none; cursor: pointer; white-space: nowrap;
}
.btn:hover { opacity: .9; }
.btn-accent { background: var(--accent); color: var(--on-accent); }
.btn-quiet { background: transparent; color: var(--text); border-color: var(--border); }
.btn-small { padding: 7px 13px; font-size: .82rem; }

/* --- Entry page (mirrors the app's welcome screen) ---------------------- */
.entry { position: relative; min-height: min(78vh, 620px); display: flex; align-items: flex-end; }
.entry-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.entry-veil {
  position: absolute; inset: 0;
  /* The app's gradient: transparent to 0xCC0E0E0E to solid, at 30%, 65% and
     100%. */
  background: linear-gradient(to bottom, transparent 30%, rgba(14,14,14,.8) 65%, var(--background) 100%);
}
.entry-inner { position: relative; padding-bottom: 40px; padding-top: 90px; }
.entry h1 { font-size: clamp(2rem, 7vw, 3.1rem); margin-bottom: .3em; }
.entry-sub { color: var(--muted); font-size: 1rem; margin-bottom: 22px; }
.entry-search { display: flex; gap: 8px; max-width: 520px; }
.entry-search input { flex: 1; }
.entry-links { display: flex; gap: 18px; margin-top: 16px; }
.entry-links a { color: var(--accent); text-decoration: none; font-size: .9rem; }
.entry-links a:hover { text-decoration: underline; }

/* --- Inputs ------------------------------------------------------------- */
input[type="search"], input[type="text"] {
  background: var(--surface); color: var(--text);
  border: 1px solid var(--border); border-radius: var(--r-s);
  padding: 11px 13px; font: inherit; font-size: .92rem; width: 100%; min-width: 0;
}
input::placeholder { color: var(--muted); }
input[type="search"]::-webkit-search-cancel-button { filter: invert(.6); }

/* --- Search controls ---------------------------------------------------- */
.explore { padding: 22px 18px 40px; }
.search {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r); padding: 12px; margin-bottom: 18px;
}
.search-main { display: flex; gap: 8px; align-items: stretch; flex-wrap: wrap; }
.field { position: relative; display: flex; align-items: center; flex: 1 1 190px; }
.field-icon {
  position: absolute; left: 11px; color: var(--muted); font-size: 1rem; pointer-events: none;
}
.field input { padding-left: 32px; }
.field-near input { padding-right: 78px; }
.near-me {
  position: absolute; right: 5px; background: var(--surface-2); color: var(--muted);
  border: 1px solid var(--border); border-radius: 999px;
  font: inherit; font-size: .72rem; padding: 4px 9px; cursor: pointer;
}
.near-me:hover { color: var(--text); }
.near-me.on { background: var(--accent); color: var(--on-accent); border-color: transparent; }
.near-me.busy { opacity: .6; }
.btn-go { flex: 0 0 auto; }

.search-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; margin-top: 12px; }
.tabs { display: inline-flex; background: var(--surface-2); border-radius: 999px; padding: 3px; }
.tab {
  padding: 6px 15px; border-radius: 999px; text-decoration: none;
  color: var(--muted); font-size: .85rem; font-weight: 500;
}
.tab.on { background: var(--accent); color: var(--on-accent); }
.toggle { display: inline-flex; align-items: center; gap: 7px; color: var(--muted); font-size: .85rem; cursor: pointer; }
.toggle input { accent-color: var(--accent); width: 15px; height: 15px; }
.search-row .linkish { margin-left: auto; }
.search-clear { margin: 10px 0 0; }

/* --- Chips -------------------------------------------------------------- */
.chip-scroll {
  display: flex; gap: 7px; overflow-x: auto; padding: 12px 0 2px;
  scrollbar-width: none; -ms-overflow-style: none;
}
.chip-scroll::-webkit-scrollbar { display: none; }
.chip-scroll-home { padding: 18px 0 4px; }
.chip {
  display: inline-flex; align-items: center; gap: 5px; white-space: nowrap;
  border: 1px solid var(--border); background: var(--surface-2); color: var(--text);
  border-radius: 999px; padding: 6px 13px; font-size: .82rem;
  text-decoration: none; cursor: pointer;
}
.chip:hover { border-color: var(--accent); }
.chip.on { background: var(--accent); color: var(--on-accent); border-color: transparent; }
.chip.on .muted { color: inherit; opacity: .7; }
.chip-more { border-style: dashed; color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 5px; margin: 0; }
.chips .chip { padding: 3px 9px; font-size: .72rem; background: var(--surface-2); border-color: transparent; color: var(--muted); }
.chips-linked { margin: 12px 0; }
.chips-linked .chip { padding: 5px 12px; font-size: .8rem; color: var(--text); }

/* --- Rows (the app's Discover shape) ------------------------------------ */
.rows { padding-bottom: 20px; }
.row { margin: 26px 0; }
.row-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; margin-bottom: 12px; }
.row-head h2 { margin: 0; }
.row-more { color: var(--accent); text-decoration: none; font-size: .85rem; white-space: nowrap; }
.row-more:hover { text-decoration: underline; }
.row-scroll {
  display: flex; gap: 12px; overflow-x: auto; padding-bottom: 6px;
  scroll-snap-type: x proximity;
  scrollbar-width: thin; scrollbar-color: var(--border) transparent;
}
.row-scroll > * { scroll-snap-align: start; flex: 0 0 auto; }
.row-scroll::-webkit-scrollbar { height: 6px; }
.row-scroll::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* --- Grids -------------------------------------------------------------- */
.grid { display: grid; gap: 12px; }
.grid-studios { grid-template-columns: repeat(auto-fill, minmax(var(--studio-w), 1fr)); }
.grid-artists { grid-template-columns: repeat(auto-fill, minmax(var(--artist-w), 1fr)); }
.grid-flash { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); }

/* --- Studio card (280 wide, 16:9 cover) --------------------------------- */
.s-card {
  display: flex; flex-direction: column; width: var(--studio-w);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r); overflow: hidden; text-decoration: none;
  transition: border-color .15s ease;
}
.grid .s-card { width: auto; }
.s-card:hover { border-color: var(--accent); }
.s-card-cover { position: relative; aspect-ratio: 16 / 9; background: var(--surface-2); }
.s-card-cover img { width: 100%; height: 100%; object-fit: cover; }
.s-card-body { padding: 12px; }
.s-card-head { display: flex; align-items: baseline; gap: 8px; }
.s-card-head h3 { flex: 1; margin: 0; font-size: 1rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rating { color: var(--accent); font-size: .8rem; font-weight: 600; white-space: nowrap; }
.s-card-meta {
  display: flex; align-items: center; gap: 4px;
  margin: 3px 0 8px; color: var(--muted); font-size: .82rem;
  overflow: hidden; white-space: nowrap;
}
.s-card-meta .followers { margin-left: auto; }
.near { color: var(--accent); font-weight: 600; }
.followers { color: var(--muted); font-size: .78rem; white-space: nowrap; }

/* --- Artist card (150 wide, portrait) ----------------------------------- */
.a-card {
  display: flex; flex-direction: column; width: var(--artist-w);
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--r); overflow: hidden; text-decoration: none;
  transition: border-color .15s ease;
}
.grid .a-card { width: auto; }
.a-card:hover { border-color: var(--accent); }
.a-card-cover { position: relative; aspect-ratio: 3 / 3.4; background: var(--surface-2); }
.a-card-cover img { width: 100%; height: 100%; object-fit: cover; }
.a-card-body { padding: 10px; }
.a-card-body h3 { margin: 0; font-size: .88rem; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.a-card-styles, .a-card-meta {
  margin: 2px 0 0; color: var(--muted); font-size: .76rem;
  overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.a-card-foot { display: flex; align-items: center; margin: 5px 0 0; }
.a-card-foot .rate { color: var(--accent); font-size: .76rem; font-weight: 600; }
.a-card-foot .followers { margin-left: auto; }

/* --- Tags on covers ----------------------------------------------------- */
.tag {
  position: absolute; border-radius: 999px; padding: 3px 9px;
  font-size: .68rem; font-weight: 600; letter-spacing: .01em;
}
.tag-open { top: 9px; left: 9px; background: var(--success); color: #fff; }
.tag-closed { top: 8px; right: 8px; background: rgba(36,36,36,.92); color: var(--muted); }

/* --- Results ------------------------------------------------------------ */
.count { margin: 4px 0 14px; color: var(--muted); font-size: .88rem; }
.count strong { color: var(--text); }
#results { transition: opacity .12s ease; }
#results.is-loading { opacity: .45; }
.empty { padding: 40px 0; }
.hint { margin-top: 16px; }
.hint a { color: var(--accent); }
.pager { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 30px; }

/* --- Map ---------------------------------------------------------------- */
.map-wrap { padding: 0 18px; max-width: var(--wrap); margin: 0 auto 14px; }
#map { height: min(66vh, 560px); border-radius: var(--r); border: 1px solid var(--border); background: var(--surface); }
.map-fallback { padding: 40px; text-align: center; border: 1px solid var(--border); border-radius: var(--r); }
.pin {
  display: block; width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid var(--background); box-shadow: 0 1px 4px rgba(0,0,0,.5);
  background: var(--accent);
}
.pin-artist { width: 13px; height: 13px; margin: 2px; background: var(--text); }
.pin-open { box-shadow: 0 0 0 3px rgba(82,168,120,.45); }
.pin-card { display: flex; gap: 9px; align-items: center; text-decoration: none; color: #1A1A1A; }
.pin-card img { width: 46px; height: 46px; object-fit: cover; border-radius: 6px; }
.pin-card span { display: flex; flex-direction: column; }
.pin-card small { color: #6B6560; }
.leaflet-popup-content { margin: 10px 12px; }
.map-showall a {
  padding: 0 10px; font: 600 .78rem/28px var(--body);
  color: #1A1A1A; text-decoration: none; white-space: nowrap;
}

/* --- Provider page ------------------------------------------------------ */
.cover { position: relative; height: clamp(180px, 32vw, 360px); overflow: hidden; }
.cover img { width: 100%; height: 100%; object-fit: cover; }
.cover-fade { position: absolute; inset: 0; background: linear-gradient(to bottom, transparent 45%, var(--background) 100%); }
.profile-body { padding-bottom: 40px; }
.profile-head { padding-top: 18px; }
.title-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.title-row h1 { margin: 0; }
.tagline { color: var(--muted); margin: 5px 0 8px; }
.badge { display: inline-block; border-radius: 999px; padding: 4px 11px; font-size: .74rem; font-weight: 600; border: 1px solid var(--border); color: var(--muted); background: var(--surface); }
.badge-open { color: var(--success); border-color: transparent; background: rgba(82,168,120,.16); }
.stars { display: flex; align-items: center; gap: 7px; margin: 5px 0; color: var(--accent); font-size: .9rem; }
.stars strong { color: var(--text); }
.stats { color: var(--muted); font-size: .85rem; margin: 7px 0; display: flex; gap: 12px; flex-wrap: wrap; }
.where { color: var(--muted); font-size: .88rem; margin: 7px 0; }
.where a { color: var(--muted); }
.works-at { margin: 9px 0 3px; font-size: .9rem; }
.works-at a { color: var(--accent); }
.highlights { list-style: none; padding: 0; margin: 16px 0; display: grid; gap: 6px; }
.highlights li { padding-left: 22px; position: relative; font-size: .9rem; }
.highlights li::before { content: "✓"; position: absolute; left: 0; color: var(--accent); font-weight: 700; }
.prose { max-width: 64ch; color: var(--muted); }
.prose p { white-space: pre-line; }
.section { margin-top: 38px; }
.section h2 { margin-bottom: 12px; }
.inline-cta {
  display: flex; align-items: center; gap: 12px; flex-wrap: wrap; margin: 22px 0 6px;
  padding: 14px; border: 1px solid var(--border); border-radius: var(--r); background: var(--surface);
}
.tiles { display: grid; gap: 5px; grid-template-columns: repeat(auto-fill, minmax(105px, 1fr)); }
.tile { display: block; border-radius: 6px; overflow: hidden; background: var(--surface-2); }
.tile img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.tile:hover img { opacity: .85; }

/* Designs and flash pieces are line art on transparency rather than
   photographs, so they get a paper backdrop and `contain` so nothing is
   cropped. `CachedImage` applies the same two rules to a bundled design. */
.tile-art { background: var(--paper); }
.tile-art img { object-fit: contain; background: var(--paper); padding: 6px; }
.flash-item { margin: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); overflow: hidden; }
.flash-item img {
  width: 100%; aspect-ratio: 1; object-fit: contain;
  background: var(--paper); padding: 8px;
}
.flash-item figcaption { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 8px 10px; font-size: .8rem; }
.hours { border-collapse: collapse; width: 100%; max-width: 400px; }
.hours caption { text-align: left; padding-bottom: 8px; }
.hours th, .hours td { text-align: left; padding: 7px 0; border-bottom: 1px solid var(--border); font-weight: 400; font-size: .88rem; }
.hours td { text-align: right; }
.hours tr.today th, .hours tr.today td { color: var(--accent); font-weight: 600; }
.contact { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; font-size: .9rem; }
.contact li { display: flex; align-items: baseline; gap: 7px; flex-wrap: wrap; }
.contact a { color: var(--accent); }
.reviews { list-style: none; padding: 0; margin: 0; display: grid; gap: 11px; }
.review { background: var(--surface); border: 1px solid var(--border); border-radius: var(--r); padding: 12px 14px; }
.review-head { display: flex; align-items: baseline; gap: 7px; margin: 0 0 4px; font-size: .88rem; }
.review-text { margin: 0; color: var(--muted); font-size: .9rem; }
.crumbs { color: var(--muted); font-size: .85rem; }
.crumbs a { color: var(--accent); text-decoration: none; }

/* --- Work detail -------------------------------------------------------- */
.work { display: grid; gap: 26px; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); align-items: start; padding: 26px 0; }
.work-image img { width: 100%; border-radius: var(--r); }
.work-image.is-art img { background: var(--paper); padding: 18px; }
@media (max-width: 720px) { .work { grid-template-columns: 1fr; } }

/* --- App call to action ------------------------------------------------- */
.cta { border-top: 1px solid var(--border); background: var(--surface); margin-top: 30px; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; flex-wrap: wrap; padding: 28px 18px; }
.cta h2 { margin: 0 0 4px; font-size: 1.2rem; }
.cta p { margin: 0; }
.store-badges { display: flex; gap: 10px; flex-wrap: wrap; align-items: center; }
.store-badge {
  display: inline-flex; align-items: center; gap: 9px;
  border: 1px solid var(--border); border-radius: var(--r-s);
  padding: 8px 15px; text-decoration: none; background: var(--background);
}
.store-badge:hover { border-color: var(--accent); }
.store-badge span { display: flex; flex-direction: column; line-height: 1.2; font-weight: 600; font-size: .9rem; }
.store-badge small { font-weight: 400; font-size: .68rem; color: var(--muted); }
.feature-list { list-style: none; padding: 0; margin: 22px 0; display: grid; gap: 11px; }
.feature-list li { padding-left: 22px; position: relative; color: var(--muted); }
.feature-list li::before { content: "→"; position: absolute; left: 0; color: var(--accent); }
.feature-list strong { color: var(--text); }

/* --- Style index -------------------------------------------------------- */
.style-list { list-style: none; padding: 0; margin: 20px 0 0; }
.style-list li { border-bottom: 1px solid var(--border); }
.style-list a { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; padding: 13px 2px; text-decoration: none; }
.style-list a:hover .style-name { color: var(--accent); }
.style-name { font-family: var(--display); font-size: 1.15rem; }

/* --- Footer / errors ---------------------------------------------------- */
.foot { border-top: 1px solid var(--border); padding: 28px 0 40px; color: var(--muted); }
.foot-nav { display: flex; flex-wrap: wrap; gap: 15px; margin: 0 0 12px; }
.foot-nav a { color: var(--muted); text-decoration: none; font-size: .86rem; }
.foot-nav a:hover { color: var(--text); }
.error-page { padding: 70px 18px 50px; max-width: 640px; }
.error-code { font-family: var(--display); font-size: 3.4rem; color: var(--muted); margin: 0; line-height: 1; }
.error-page .btn { margin-right: 8px; }

@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
