/* support.playmore.pl — tokens from the player design system
   (playmore-player/.claude/skills/playmore-design-system): one orange on CTAs,
   flat off-white page, white cards, Inter, dark mode keeps the orange. */

@font-face {
  font-family: "Inter";
  src: url(../fonts/inter-latin-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
  font-weight: 100 900; font-display: swap; ascent-override: 96%; descent-override: 24%;
}
@font-face {
  font-family: "Inter";
  src: url(../fonts/inter-latin-ext-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329,
    U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
  font-weight: 100 900; font-display: swap; ascent-override: 96%; descent-override: 24%;
}
@font-face {
  font-family: "Inter";
  src: url(../fonts/inter-cyrillic-wght-normal.woff2) format("woff2-variations");
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
  font-weight: 100 900; font-display: swap; ascent-override: 96%; descent-override: 24%;
}

:root {
  --orange: #F15A23;
  --orange-hover: #DC4E1D;
  --page: #F8F8F8;
  --surface: #FFFFFF;
  --surface-2: #F3F4F6;
  --border: #E5E7EB;
  --border-soft: #F3F4F6;
  --input-border: #D1D5DB;
  --ink: #111827;
  --text: #222222;
  --muted: #4B5563;
  --error: #B91C1C;
  /* Text links: the CTA orange is 3.37:1 on white (a CTA-only exception), so
     words in orange use orange-700 (5.2:1) and the light tint in dark. */
  --link: #C2410C;
  --error-bg: #FEF2F2;
  --success: #16A34A;
  --tip-bg: #FFF7ED;
  --focus: rgba(241, 90, 35, .35);
  --bar: rgba(255, 255, 255, .82);
  --shadow: 0 1px 2px rgba(17, 24, 39, .04), 0 8px 24px rgba(17, 24, 39, .06);
  --shadow-lg: 0 2px 4px rgba(17, 24, 39, .04), 0 16px 40px rgba(17, 24, 39, .10);
  /* The one sanctioned wash: the start screen's hero (design system, "Flat backgrounds"). */
  --wash: radial-gradient(48rem 20rem at 12% -6rem, rgba(241, 90, 35, .16), transparent 70%),
    radial-gradient(44rem 18rem at 92% -4rem, rgba(236, 72, 153, .10), transparent 70%);
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root {
    --page: rgb(21, 23, 28);
    --surface: rgb(26, 29, 35);
    --surface-2: rgb(33, 36, 43);
    --border: rgb(45, 48, 56);
    --border-soft: rgb(40, 44, 52);
    --input-border: rgb(55, 58, 66);
    --ink: #F8FAFC;
    --text: #E2E8F0;
    --muted: #CBD5E1;
    --error: #F87171;
    --link: #F9A484;
    --error-bg: rgba(220, 38, 38, .12);
    --success: #4ADE80;
    --tip-bg: rgba(241, 90, 35, .08);
    --bar: rgba(26, 29, 35, .82);
    --shadow: 0 0 0 1px rgb(45, 48, 56);
    --shadow-lg: 0 0 0 1px rgb(55, 58, 66), 0 16px 40px rgba(0, 0, 0, .35);
    --wash: radial-gradient(48rem 20rem at 12% -6rem, rgba(241, 90, 35, .12), transparent 70%),
      radial-gradient(44rem 18rem at 92% -4rem, rgba(236, 72, 153, .06), transparent 70%);
    color-scheme: dark;
  }
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 5rem; }
body {
  margin: 0; min-height: 100vh; background: var(--page); color: var(--text);
  font: 16px/1.55 "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  -webkit-font-smoothing: antialiased;
}
body[data-view="home"] { background: var(--wash), var(--page); background-repeat: no-repeat; }
a { color: var(--link); }
h1, h2, h3 { color: var(--ink); letter-spacing: -.01em; }
.sprite { position: absolute; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.ic { width: 1.25rem; height: 1.25rem; flex: none; fill: none; stroke: currentColor; stroke-width: 1.5;
  stroke-linecap: round; stroke-linejoin: round; }

.topbar {
  position: sticky; top: 0; z-index: 5; display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; padding: .75rem max(1rem, env(safe-area-inset-left), calc((100% - 42rem) / 2 + 1rem)); background: var(--bar);
  -webkit-backdrop-filter: saturate(180%) blur(14px); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid var(--border);
}
body[data-view="home"] .topbar { border-bottom-color: transparent; background: transparent;
  -webkit-backdrop-filter: none; backdrop-filter: none; position: static; }
.brand { display: inline-flex; align-items: center; gap: .65rem; text-decoration: none; }
.brand img { display: block; height: 32px; width: auto; }
.brand-tag { padding-left: .65rem; border-left: 1px solid var(--border); color: var(--muted); font-weight: 600;
  font-size: .95rem; line-height: 1.4; }
.lang select {
  font: inherit; font-size: 16px; color: var(--ink); background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 999px; padding: .4rem 2rem .4rem .9rem; appearance: none; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236B7280' stroke-width='2'%3E%3Cpath d='m19.5 8.25-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right .7rem center; background-size: .85rem;
}

main { max-width: 42rem; margin: 0 auto; padding: 1.5rem 1rem 3rem; }
.js .view:not(.is-active) { display: none; }
.view h1 { font-size: clamp(1.6rem, 6vw, 2rem); font-weight: 800; line-height: 1.2; margin: .25rem 0 .5rem; outline: none; }
.lead { color: var(--muted); margin: 0 0 1.5rem; }

.choices { display: grid; gap: .75rem; }
@media (min-width: 34rem) { .choices { grid-template-columns: 1fr 1fr; } }
.choice {
  display: flex; align-items: center; gap: 1rem; padding: 1.1rem 1rem; text-decoration: none; color: inherit;
  background: var(--surface); border: 1px solid var(--border); border-radius: 1rem;
  transition: border-color .15s, box-shadow .15s;
}
.choice:hover { border-color: var(--orange); box-shadow: var(--shadow); }
.choice:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--focus); }
.choice-icon {
  display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: .9rem; flex: none;
  background: var(--tip-bg); color: var(--orange);
}
.choice-icon .ic { width: 1.6rem; height: 1.6rem; }
.choice-text { display: grid; gap: .1rem; flex: 1; min-width: 0; }
.choice-text strong { color: var(--ink); font-size: 1.05rem; }
.choice-text span { color: var(--muted); font-size: .9rem; }
.chev { color: var(--muted); }
.quick {
  display: inline-flex; align-items: center; gap: .5rem; margin-top: 1.25rem; min-height: 44px;
  color: var(--muted); font-weight: 500; text-decoration: none;
}
.quick:hover { color: var(--link); }

.back {
  display: inline-flex; align-items: center; gap: .4rem; min-height: 44px; color: var(--muted);
  text-decoration: none; font-weight: 500;
}
.back:hover { color: var(--ink); }

.tip, .note {
  display: flex; gap: .75rem; align-items: flex-start; padding: .9rem 1rem; margin: 0 0 1rem;
  background: var(--tip-bg); border-radius: .9rem; color: var(--text); font-size: .95rem;
}
.tip .ic, .note .ic { color: var(--orange); margin-top: .1rem; }
.tip p, .note p { margin: 0; }
.note { margin-top: 1rem; }

.card { background: var(--surface); border: 1px solid var(--border-soft); border-radius: 1rem; padding: 1.25rem; }
@media (prefers-color-scheme: dark) { .card { border-color: var(--border); } }

.form { display: grid; gap: 1.1rem; }
.form[hidden] { display: none; }
.field { display: grid; gap: .4rem; margin: 0; padding: 0; border: 0; min-width: 0; }
.field label, .field legend { font-weight: 600; color: var(--ink); font-size: .95rem; padding: 0; }
.opt { font-weight: 400; color: var(--muted); }
.row { display: grid; gap: 1.1rem; }
@media (min-width: 34rem) { .row { grid-template-columns: 1fr 1fr; } }
input, textarea {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink); background: var(--surface);
  border: 1px solid var(--input-border); border-radius: .75rem; padding: .7rem .85rem; min-height: 48px;
}
textarea { resize: vertical; min-height: 8rem; }
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--orange); box-shadow: 0 0 0 3px var(--focus); }
[aria-invalid="true"] { border-color: var(--error); }
.hint { margin: 0; color: var(--muted); font-size: .85rem; }
.field-error { margin: 0; color: var(--error); font-size: .85rem; font-weight: 500; }

.chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { position: relative; }
.chip input { position: absolute; opacity: 0; width: 1px; height: 1px; min-height: 0; }
.chip span {
  display: inline-flex; align-items: center; min-height: 40px; padding: .45rem .95rem; border-radius: 999px;
  background: var(--surface-2); color: var(--ink); font-size: .9rem; font-weight: 500; cursor: pointer;
  border: 1px solid transparent; transition: background .15s, color .15s;
}
.chip input:checked + span { background: var(--orange); color: #fff; }
.chip input:focus-visible + span { box-shadow: 0 0 0 3px var(--focus); }
.chips.is-invalid .chip span { border-color: var(--error); }

.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.btn-primary {
  display: inline-flex; align-items: center; justify-content: center; width: 100%; height: 3rem; border: 0;
  border-radius: .75rem; background: var(--orange); color: #fff; font: inherit; font-weight: 700; font-size: 1rem;
  cursor: pointer; transition: background .15s;
}
.btn-primary:hover { background: var(--orange-hover); }
.btn-primary:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--focus); }
.btn-primary[disabled] { opacity: .6; cursor: progress; }
.btn-ghost, .copy {
  display: inline-flex; align-items: center; gap: .45rem; min-height: 44px; padding: .5rem .9rem;
  border: 1px solid var(--border); border-radius: .6rem; background: var(--surface); color: var(--ink);
  font: inherit; font-size: .9rem; font-weight: 500; text-decoration: none; cursor: pointer;
  transition: border-color .15s, color .15s;
}
.btn-ghost:hover, .copy:hover { border-color: var(--orange); color: var(--link); }
.copy { min-height: 36px; padding: .3rem .7rem; font-size: .85rem; }
.copy .ic { width: 1rem; height: 1rem; }

.form-error { padding: .8rem 1rem; border-radius: .75rem; background: var(--error-bg); color: var(--error);
  font-size: .92rem; font-weight: 500; display: grid; gap: .6rem; justify-items: start; }
.form-error[hidden] { display: none; }
.form-error .btn-ghost { color: var(--ink); }
.privacy { margin: -.25rem 0 0; color: var(--muted); font-size: .8rem; }
.more { display: inline-flex; align-items: center; gap: .3rem; justify-self: center; min-height: 44px;
  font-weight: 600; text-decoration: none; }

.done { display: grid; justify-items: center; text-align: center; gap: .5rem; padding: 2rem 1.25rem; }
.done[hidden] { display: none; }
.done h2 { margin: 0; font-size: 1.35rem; }
.done p { margin: 0 0 .5rem; color: var(--muted); }
.done-ic { width: 3rem; height: 3rem; color: var(--success); }

.subnav { display: flex; gap: .5rem; overflow-x: auto; margin: 0 -1rem 1.25rem; padding: 0 1rem; scrollbar-width: none; }
.subnav a {
  flex: none; display: inline-flex; align-items: center; min-height: 40px; padding: .45rem .95rem;
  border-radius: 999px; background: var(--surface-2); color: var(--ink); font-size: .9rem; font-weight: 500;
  text-decoration: none;
}
.subnav a:hover { background: var(--orange); color: #fff; }
.contact h2 { display: flex; align-items: center; gap: .5rem; margin: 0 0 .4rem; font-size: 1.1rem; }
.contact h2 .ic { color: var(--orange); }
.contact p { margin: 0 0 1rem; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.section-title { font-size: 1.35rem; font-weight: 800; margin: 2.25rem 0 .35rem; outline: none; }
.section-lead { color: var(--muted); margin: 0 0 1rem; }

.steps { list-style: none; margin: 0; padding: 0; display: grid; gap: .75rem; }
.step h3 { display: flex; align-items: center; gap: .6rem; margin: 0 0 .4rem; font-size: 1.02rem; }
.step p { margin: 0 0 .75rem; color: var(--muted); }
.step p:last-child { margin-bottom: 0; }
.num { display: grid; place-items: center; width: 1.75rem; height: 1.75rem; border-radius: 50%; flex: none;
  background: var(--orange); color: #fff; font-size: .85rem; font-weight: 700; }
.values { display: grid; grid-template-columns: max-content 1fr; gap: .6rem 1rem; margin: 0; }
.values dt { color: var(--muted); font-size: .9rem; padding-top: .45rem; }
.values dd { margin: 0; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; min-width: 0; }
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .88rem; color: var(--ink);
  background: var(--surface-2); border: 1px solid var(--border); padding: .35rem .6rem; border-radius: .5rem;
  word-break: break-all;
}
@media (max-width: 34rem) {
  .values { grid-template-columns: 1fr; gap: .25rem; }
  .values dt { padding-top: .6rem; }
}

.footer {
  max-width: 42rem; margin: 0 auto; padding: 1.5rem 1rem 2.5rem; display: flex; flex-wrap: wrap; gap: .5rem 1.25rem;
  color: var(--muted); font-size: .85rem; border-top: 1px solid var(--border);
}
.footer a { color: var(--muted); }

/* ---- v2: hero search, questions and answers ---- */
.hero { padding: 1.25rem 0 1.75rem; }
.hero h1 { font-size: clamp(2rem, 8vw, 2.75rem); letter-spacing: -.025em; margin-bottom: .6rem; }
.hero .lead { font-size: 1.05rem; margin-bottom: 1.5rem; max-width: 30rem; }
.search { position: relative; display: flex; align-items: center; }
.search > .ic { position: absolute; left: 1.1rem; width: 1.35rem; height: 1.35rem; color: var(--muted); pointer-events: none; }
.search input {
  height: 3.5rem; padding: 0 3.25rem 0 3.25rem; border-radius: 1rem; border-color: var(--border);
  box-shadow: var(--shadow-lg); -webkit-appearance: none; appearance: none;
}
.search input::-webkit-search-cancel-button { display: none; }
.search input::placeholder { color: var(--muted); opacity: .8; }
.search-clear {
  position: absolute; right: .5rem; display: grid; place-items: center; width: 2.75rem; height: 2.75rem;
  border: 0; border-radius: .75rem; background: transparent; color: var(--muted); cursor: pointer;
}
.search-clear:hover { color: var(--ink); background: var(--surface-2); }
.search-clear:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--focus); }
.search-clear[hidden], [data-home-default][hidden], .results[hidden], .qa-list[hidden], .suggest[hidden] { display: none; }
.results .section-title { margin-top: .25rem; }
.empty { display: grid; justify-items: center; gap: .75rem; margin-top: 1rem; text-align: center; }
.empty p { margin: 0; color: var(--muted); }
.empty p[hidden] { display: none; }
.section-title.first { margin-top: 1.75rem; }
.jump { margin-top: -.5rem; }
[data-home-default] > .quick { display: flex; justify-content: center; }
[data-home-default] > .more { display: flex; justify-content: center; width: 100%; margin-top: .5rem; }

.qa-list { background: var(--surface); border: 1px solid var(--border-soft); border-radius: 1rem; overflow: hidden; }
@media (prefers-color-scheme: dark) { .qa-list { border-color: var(--border); } }
.qa + .qa { border-top: 1px solid var(--border-soft); }
@media (prefers-color-scheme: dark) { .qa + .qa { border-top-color: var(--border); } }
.qa summary {
  display: flex; align-items: center; gap: .75rem; min-height: 3.5rem; padding: .85rem 1rem .85rem 1.15rem;
  cursor: pointer; list-style: none; color: var(--ink); font-weight: 600; line-height: 1.4;
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary:hover { background: var(--surface-2); }
.qa summary:focus-visible { outline: none; box-shadow: inset 0 0 0 3px var(--focus); }
.qa-q { flex: 1; min-width: 0; }
.qa-tag { flex: none; padding: .15rem .55rem; border-radius: 999px; background: var(--surface-2); color: var(--muted);
  font-size: .75rem; font-weight: 600; }
.qa-chev { color: var(--muted); transition: transform .2s cubic-bezier(.32, .72, 0, 1); }
.qa[open] .qa-chev { transform: rotate(180deg); }
.qa[open] summary { color: var(--ink); }
.qa-a { padding: 0 1.15rem 1.1rem; color: var(--text); }
.qa-a p { margin: 0 0 .65rem; }
.qa-a p:last-of-type { margin-bottom: 0; }
.qa-link { display: inline-flex; align-items: center; min-height: 44px; font-weight: 600; text-decoration: none; }
.qa-link:hover { text-decoration: underline; }
.qa:target summary, .qa[open]:target { background: var(--tip-bg); }

.topics { display: flex; gap: .5rem; overflow-x: auto; margin: 0 -1rem .9rem; padding: 0 1rem; scrollbar-width: none; }
.topic {
  flex: none; min-height: 40px; padding: .45rem .95rem; border: 1px solid transparent; border-radius: 999px;
  background: var(--surface-2); color: var(--ink); font: inherit; font-size: .9rem; font-weight: 500; cursor: pointer;
  transition: background .15s, color .15s;
}
.topic[aria-pressed="true"] { background: var(--orange); color: #fff; }
.topic:focus-visible { outline: none; box-shadow: 0 0 0 3px var(--focus); }

.suggest { display: grid; gap: .6rem; padding: .9rem; border-radius: .9rem; background: var(--tip-bg); }
.suggest-title { display: flex; align-items: center; gap: .5rem; margin: 0; color: var(--ink); font-weight: 600; font-size: .95rem; }
.suggest-title .ic { color: var(--orange); }
.suggest .qa summary { min-height: 3rem; font-size: .95rem; }

@media (prefers-reduced-motion: reduce) { .qa-chev, .choice, .topic, .chip span { transition: none; } }
