/* Usta Sokağı / Fixer Street — the game's support site (site/README.md).
   The game's own colors (design/tokens.json); Baloo 2 is served from this site, no third-party font host. */
@font-face { font-family: "Baloo 2"; src: url("/assets/fonts/Baloo2-Bold.ttf") format("truetype"); font-weight: 700 800; font-display: swap; }
:root {
  --bg: #F6F5FB; --surface: #FFFFFF; --muted: #EDEBF5; --ink: #2C2A4A; --ink-2: #5A5675;
  --accent: #F28A1E; --accent-dark: #B86917; --link: #2766B5; --line: #D9D6E8;
  --display: "Baloo 2", "Trebuchet MS", system-ui, sans-serif;
  --body: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #17162A; --surface: #211F38; --muted: #2B2948; --ink: #ECEAF8; --ink-2: #B7B3D3;
          --accent: #F59A3A; --accent-dark: #F7B067; --link: #8AB8F5; --line: #3A3760; color-scheme: dark; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; }
.wrap { max-width: 760px; margin: 0 auto; padding-inline: 18px; padding-block: 24px 56px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: inherit; }
.brand img { width: 52px; height: 52px; border-radius: 12px; border: 3px solid var(--ink); }
.brand span { font-family: var(--display); font-weight: 800; font-size: 22px; line-height: 1.1; }
header.site { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
nav.lang a { font-family: var(--display); font-weight: 700; color: var(--ink); text-decoration: none; border: 2px solid var(--ink); border-radius: 999px; padding: 2px 12px; }
h1, h2, h3 { font-family: var(--display); line-height: 1.15; text-wrap: balance; }
h1 { font-size: clamp(30px, 6vw, 40px); margin: 0 0 8px; }
h2 { font-size: 23px; margin: 32px 0 6px; }
h3 { font-size: 19px; margin: 22px 0 4px; }
p, li { max-width: 68ch; }
a { color: var(--link); }
.lede { color: var(--ink-2); font-size: 18px; }
.hero { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; }
.hero img { width: 120px; height: 120px; border-radius: 26px; border: 4px solid var(--ink); }
@media (max-width: 520px) { .hero { grid-template-columns: 1fr; } }
.stores { display: flex; gap: 10px; flex-wrap: wrap; margin: 18px 0; }
.btn { display: inline-block; font-family: var(--display); font-weight: 800; font-size: 17px; color: #2C2A4A; background: var(--accent); border: 3px solid var(--ink); border-radius: 14px; padding: 8px 16px; text-decoration: none; box-shadow: 0 4px 0 var(--ink); }
.btn.secondary { background: var(--surface); color: var(--ink); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 12px; margin: 16px 0; }
.card { background: var(--surface); border: 3px solid var(--ink); border-radius: 16px; padding: 14px 16px; min-width: 0; }
.card h3 { margin-top: 0; }
.table-wrap { overflow-x: auto; border: 2px solid var(--ink); border-radius: 12px; background: var(--surface); margin: 12px 0; }
table { border-collapse: collapse; width: 100%; font-size: 15px; }
th, td { text-align: left; vertical-align: top; padding: 9px 12px; border-bottom: 1px solid var(--line); }
th { font-family: var(--display); background: var(--muted); }
tr:last-child td { border-bottom: none; }
.mail { font-family: ui-monospace, "SF Mono", Menlo, monospace; background: var(--muted); padding: 2px 8px; border-radius: 8px; user-select: all; overflow-wrap: anywhere; }
details { background: var(--surface); border: 2px solid var(--line); border-radius: 12px; padding: 10px 14px; margin: 8px 0; }
summary { font-family: var(--display); font-weight: 700; cursor: pointer; }
footer.site { margin-top: 44px; padding-top: 14px; border-top: 2px solid var(--line); color: var(--ink-2); font-size: 15px; display: flex; gap: 16px; flex-wrap: wrap; }
footer.site a { color: var(--ink-2); }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--link); outline-offset: 2px; }
