/* Pisaczek Rozrywka — Pasjans. Marker: PNP_PISACZEK_GAMES_SOLITAIRE_CSS_V1, wersja 1 (30.10.2026). Seniorzy: tekst ≥ 18 px, przyciski ≥ 54 px, duże czytelne karty. */
.gm-sol .gm-back { color: var(--gm-gold); text-decoration: none; font-size: 18px; }
.gm-sol .gm-ghost { background: rgba(255,255,255,.04); color: var(--gm-ink); border: 1px solid rgba(227,196,106,.45); }
.gm-sol .gm-btn, .gm-sol .gm-btn:hover { transform: none; } .gm-sol .gm-btn { min-height: 54px; font-size: 18px; gap: 8px; }
.gm-sol .gm-btn svg { width: 22px; height: 22px; } .gm-sol .gm-btn:disabled { opacity: .5; cursor: default; }
.sol-tabs { align-self: flex-start; display: inline-flex; flex-wrap: wrap; gap: 6px; padding: 6px; border-radius: 20px; background: rgba(6,12,36,.55); border: 1px solid rgba(227,196,106,.35); box-shadow: inset 0 1px 0 rgba(255,255,255,.08), 0 10px 30px rgba(0,0,0,.4); } /* klasa cw-tabs tylko po to, by napis „O co chodzi w tej grze?” stanął w tej linii */
.sol-tabs button { display: inline-flex; align-items: center; gap: 10px; min-height: 56px; padding: 10px 24px; border-radius: 15px; border: 1px solid transparent; background: transparent; color: var(--gm-ink); font: inherit; font-size: 19px; font-weight: 700; cursor: pointer; }
.sol-tabs button svg { width: 22px; height: 22px; } .sol-tabs button:hover { background: rgba(227,196,106,.12); color: var(--gm-gold3); }
.sol-tabs button[aria-pressed="true"] { color: #15120A; background: linear-gradient(180deg, var(--gm-gold3), var(--gm-gold) 55%, var(--gm-gold2)); }
.sol-tabs button:focus-visible, .sol-tool:focus-visible, .sol-lvl:focus-visible, .sol-lItem:focus-visible, .sol-c:focus-visible, .sol-stock:focus-visible { outline: 3px solid var(--gm-teal); outline-offset: 2px; }
.sol-pane[hidden], .sol-pane [hidden], .gm-sol [hidden] { display: none !important; }
.sol-muted { color: var(--gm-mute); font-size: 17px; } .sol-lead { color: var(--gm-mute); font-size: 19px; line-height: 1.5; margin: 0; }
.sol-h2 { font-size: 26px; margin: 0 0 12px; color: var(--gm-gold3); }
.sol-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; } .sol-rowL { justify-content: flex-start; flex-wrap: nowrap; }
.sol-say { margin: 0; padding: 14px 16px; border-radius: 14px; font-size: 19px; line-height: 1.45; color: #0B1430; background: #EAF7F5; border-inline-start: 6px solid #1C9C8E; }
.sol-say.ok { background: #E3F6E8; border-color: #2BA05A; } .sol-say.bad { background: #FDECEA; border-color: #D0453A; } .sol-say.hint { background: #FFF6D8; border-color: #C7A23E; }
.sol-say:empty { display: none; }
.sol-now { padding: 16px 18px; border-radius: 16px; border: 2px solid var(--gm-gold); background: rgba(6,12,36,.7); }
.sol-now b { display: block; font-size: 18px; color: var(--gm-gold3); margin-bottom: 4px; } .sol-now p { margin: 0; font-size: 20px; line-height: 1.45; }
.sol-nowM { display: none; margin: 0; padding: 12px 14px; border-radius: 14px; border: 2px solid var(--gm-gold); background: rgba(6,12,36,.75); font-size: 19px; line-height: 1.4; }
.sol-nowM:empty { display: none !important; }

/* układ: stół po lewej, panel po prawej (telefon: jedno pod drugim) */
.sol-layout { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 22px; align-items: start; }
.sol-work { position: relative; display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.sol-side { display: flex; flex-direction: column; gap: 14px; }
.sol-topbar { display: flex; justify-content: space-between; align-items: baseline; gap: 10px; flex-wrap: wrap; font-size: 19px; }
.sol-topbar b { font-size: 21px; color: var(--gm-gold3); } .sol-stat { display: flex; gap: 16px; font-size: 18px; color: var(--gm-mute); } .sol-stat b { color: var(--gm-ink); font-size: 18px; }

/* stół i karty */
.sol-table { direction: ltr; position: relative; width: 100%; min-height: 200px; border-radius: 18px; border: 2px solid rgba(227,196,106,.5); user-select: none; -webkit-user-select: none;
  background: radial-gradient(120% 90% at 50% 0%, #2F8352, #164A30 78%); box-shadow: inset 0 0 0 1px rgba(255,255,255,.06), inset 0 0 60px rgba(0,0,0,.35), 0 20px 50px rgba(0,0,0,.35); }
.sol-table[data-felt="navy"] { background: radial-gradient(120% 90% at 50% 0%, #1E3170, #0A1336 75%); }
.sol-table[data-felt="light"] { background: radial-gradient(120% 90% at 50% 0%, #F4EFE3, #D9CFB9 80%); border-color: #B79A4E; }
.sol-slot { position: absolute; left: 0; top: 0; width: var(--cw); height: var(--ch); border-radius: calc(var(--cw) * .1); border: 2px dashed rgba(255,255,255,.32); background: rgba(0,0,0,.12); box-sizing: border-box; transition: box-shadow .15s, border-color .15s; }
.sol-table[data-felt="light"] .sol-slot { border-color: rgba(60,50,20,.35); background: rgba(0,0,0,.05); }
.sol-found { display: grid; place-items: center; } .sol-found span { font-size: calc(var(--cw) * .62); line-height: 1; color: rgba(255,255,255,.35); }
.sol-table[data-felt="light"] .sol-found span { color: rgba(60,50,20,.3); }
.sol-stock { cursor: pointer; display: grid; place-items: center; touch-action: none; }
.sol-stock.sol-redeal::after { content: "↻"; font-size: calc(var(--cw) * .7); line-height: 1; color: rgba(255,241,194,.85); }
.sol-stock.sol-none::after { content: "—"; font-size: calc(var(--cw) * .5); color: rgba(255,255,255,.35); }
.sol-col { border-style: solid; border-color: rgba(255,255,255,.14); }
.sol-slot.sol-over { border: 3px solid #8BF0B4; box-shadow: 0 0 18px 4px rgba(43,194,106,.7); }
.sol-c { position: absolute; left: 0; top: 0; width: var(--cw); height: var(--ch); cursor: grab; touch-action: none; transition: transform .18s ease-out; -webkit-tap-highlight-color: transparent; }
.sol-noanim .sol-c, .sol-c.sol-drag { transition: none; } .sol-c.sol-drag { cursor: grabbing; filter: drop-shadow(0 10px 14px rgba(0,0,0,.45)); }
.sol-c.sol-hide { visibility: hidden; }
.sol-f, .sol-b { position: absolute; inset: 0; border-radius: calc(var(--cw) * .1); box-sizing: border-box; overflow: hidden; }
.sol-c:not(.up) .sol-f, .sol-c.up .sol-b { display: none; }
.sol-f { background: #FFFDF6; border: 1px solid #B8AE95; box-shadow: 0 1px 2px rgba(0,0,0,.35), 0 2px 6px rgba(0,0,0,.18); color: #15151A; }
.sol-c.red .sol-f { color: #C8102E; } .sol-four .sol-c.s2 .sol-f { color: #1550C0; } .sol-four .sol-c.s3 .sol-f { color: #11823B; }
.sol-ix { position: absolute; top: calc(var(--ch) * .025); left: calc(var(--cw) * .07); right: calc(var(--cw) * .05); display: flex; align-items: baseline; justify-content: space-between; line-height: 1; font-family: "Exo 2", "Segoe UI", system-ui, sans-serif; }
.sol-ix b { font-size: max(15px, calc(var(--cw) * .42)); font-weight: 800; letter-spacing: -.04em; } .sol-ix i { font-style: normal; font-size: max(13px, calc(var(--cw) * .36)); }
.sol-mid { position: absolute; left: 0; right: 0; top: 30%; bottom: 4%; display: grid; place-items: center; font-size: calc(var(--cw) * .66); line-height: 1; }
.sol-fc { top: 32%; left: 12%; right: 12%; bottom: 7%; border: 2px solid currentColor; border-radius: calc(var(--cw) * .08); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2%; background: linear-gradient(180deg, rgba(227,196,106,.22), rgba(227,196,106,.06)); }
.sol-fc b { font-size: calc(var(--cw) * .44); font-weight: 800; line-height: 1; } .sol-fc i { font-style: normal; font-size: calc(var(--cw) * .32); line-height: 1; }
.sol-b { border: 2px solid #F3E7C2; background: #142257 repeating-linear-gradient(45deg, rgba(227,196,106,.45) 0 2px, transparent 2px 9px), #142257;
  background-image: repeating-linear-gradient(45deg, rgba(227,196,106,.42) 0 2px, transparent 2px 9px), repeating-linear-gradient(-45deg, rgba(227,196,106,.42) 0 2px, transparent 2px 9px), linear-gradient(160deg, #1C2E72, #0B1440);
  box-shadow: inset 0 0 0 3px #142257, inset 0 0 0 5px rgba(227,196,106,.7), 0 1px 2px rgba(0,0,0,.4); }
.sol-c.sol-hl .sol-f { box-shadow: 0 0 0 3px #F1D27A, 0 0 16px 4px rgba(241,210,122,.85); }
.sol-target { position: absolute; left: 0; top: 0; z-index: 2900; pointer-events: none; border-radius: calc(var(--cw) * .14); box-shadow: inset 0 0 0 4px #2BC26A, 0 0 18px 4px rgba(43,194,106,.75); background: rgba(43,194,106,.14); animation: solPulse 1.4s ease-in-out infinite; }
@keyframes solPulse { 50% { box-shadow: inset 0 0 0 4px #8BF0B4, 0 0 30px 8px rgba(43,194,106,.9); } }
.sol-arrow { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 3000; pointer-events: none; overflow: visible; }
.sol-arrO { fill: none; stroke: #0B3D20; stroke-width: 13; stroke-linecap: round; stroke-linejoin: round; opacity: .55; } .sol-arrL { fill: none; stroke: #2BC26A; stroke-width: 7; stroke-linecap: round; stroke-linejoin: round; }

/* narzędzia pod stołem */
.sol-tools { display: flex; flex-wrap: wrap; gap: 10px; }
.sol-tool { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 56px; padding: 10px 18px; border-radius: 14px; border: 1.5px solid rgba(227,196,106,.5); background: rgba(6,12,36,.65); color: var(--gm-ink); font: inherit; font-size: 18px; font-weight: 700; cursor: pointer; flex: 1 1 auto; }
.sol-tool svg { width: 24px; height: 24px; } .sol-tool:hover { background: rgba(227,196,106,.14); }
.sol-tool.sol-fin { color: #15120A; background: linear-gradient(180deg, var(--gm-gold3), var(--gm-gold) 55%, var(--gm-gold2)); border-color: var(--gm-gold); }
.sol-glow { animation: solGlow 1.2s ease-in-out infinite; } @keyframes solGlow { 50% { box-shadow: 0 0 0 4px #2BC26A, 0 0 24px 6px rgba(43,194,106,.8); } }

/* okno wygranej */
.sol-dlg { position: absolute; left: 50%; top: 90px; transform: translateX(-50%); z-index: 4000; width: min(520px, calc(100% - 24px)); box-sizing: border-box; padding: 24px 22px; border-radius: 22px; text-align: center;
  background: linear-gradient(180deg, rgba(14,24,64,.97), rgba(6,12,36,.97)); border: 2px solid var(--gm-gold); box-shadow: 0 24px 60px rgba(0,0,0,.6); }
.sol-dlg h2 { margin: 0 0 8px; font-size: 28px; color: var(--gm-gold3); } .sol-dlg p { font-size: 20px; margin: 0 0 14px; } .sol-dlg .gm-autoNote { margin-top: 12px; }
.sol-chRes { color: var(--gm-gold3); font-weight: 700; }

/* panel boczny */
.sol-lvlPick { display: flex; align-items: center; gap: 10px; font-size: 18px; } .sol-lvlPick select { flex: 1; min-height: 50px; font: inherit; font-size: 18px; border-radius: 12px; padding: 6px 10px; background: #0B1430; color: var(--gm-ink); border: 1.5px solid rgba(227,196,106,.5); }
.sol-how { border-radius: 14px; border: 1px solid rgba(227,196,106,.3); background: rgba(6,12,36,.55); padding: 12px 16px; font-size: 18px; line-height: 1.5; }
.sol-how summary { cursor: pointer; font-weight: 700; color: var(--gm-gold3); min-height: 32px; } .sol-how p { margin: 10px 0 0; }
.sol-opt { display: flex; align-items: center; gap: 12px; margin-top: 12px; font-size: 18px; cursor: pointer; } .sol-opt input { width: 24px; height: 24px; accent-color: var(--gm-gold); flex: none; }
.sol-optSet { border: 0; padding: 0; margin: 14px 0 0; } .sol-optSet legend { font-weight: 700; color: var(--gm-mute); }

/* Graj — wybór poziomu */
.sol-cont { display: flex; align-items: center; gap: 18px; padding: 18px 20px; margin-bottom: 22px; border-radius: 18px; border: 2px solid var(--gm-gold); background: rgba(6,12,36,.7); }
.sol-cont b { font-size: 21px; color: var(--gm-gold3); } .sol-cont p { margin: 4px 0 0; font-size: 18px; } .sol-cont > div { flex: 1; } .sol-contArt { width: 46px; height: 62px; flex: none; border-radius: 6px; background: #FFFDF6; box-shadow: 6px -4px 0 #142257, 6px -4px 0 2px rgba(227,196,106,.7); position: relative; }
.sol-contArt::after { content: "♥"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 30px; color: #C8102E; }
.sol-levels { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.sol-lvl { display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 18px; min-height: 170px; border-radius: 18px; border: 1.5px solid rgba(227,196,106,.4); background: rgba(6,12,36,.62); color: var(--gm-ink); font: inherit; text-align: start; cursor: pointer; }
.sol-lvl:hover { border-color: var(--gm-gold); background: rgba(227,196,106,.1); } .sol-lvl[aria-pressed="true"] { border: 2px solid var(--gm-gold); }
.sol-lvlName { font-size: 21px; color: var(--gm-gold3); } .sol-lvlD { font-size: 17px; color: var(--gm-mute); line-height: 1.35; } .sol-lvlDone { font-size: 17px; font-weight: 700; color: #8FE3D8; margin-top: auto; }
.sol-lvlArt { display: flex; height: 54px; margin-bottom: 4px; } .sol-lvlArt i { width: 38px; height: 52px; border-radius: 5px; background: #FFFDF6; border: 1px solid #B8AE95; box-shadow: 0 2px 5px rgba(0,0,0,.4); margin-inline-end: -18px; position: relative; }
.sol-lvlArt i::after { content: "♠"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 22px; color: #15151A; } .sol-lvlArt i:nth-child(2)::after { content: "♥"; color: #C8102E; } .sol-lvlArt i:nth-child(3)::after { content: "♦"; color: #C8102E; }
.sol-lvlArt-pro i { box-shadow: 0 0 0 2px var(--gm-gold), 0 2px 5px rgba(0,0,0,.4); }
.sol-note { margin: 14px 0 0; }
.sol-daily { display: flex; align-items: center; gap: 16px; margin-top: 22px; padding: 18px 20px; border-radius: 18px; border: 1.5px solid rgba(227,196,106,.4); background: rgba(6,12,36,.62); }
.sol-daily > div { flex: 1; display: flex; flex-direction: column; gap: 4px; } .sol-daily b { font-size: 19px; } .sol-dailyArt svg { width: 46px; height: 46px; color: var(--gm-gold); }

/* Naucz się */
.sol-lesson h2 { margin: 6px 0 4px; font-size: 26px; color: var(--gm-gold3); } .sol-lnSteps { margin: 0 0 12px; color: var(--gm-mute); font-size: 18px; }
.sol-lesson { display: flex; flex-direction: column; gap: 14px; } .sol-lesson > * { margin-top: 0; margin-bottom: 0; }
.sol-desc { border-radius: 14px; border: 1px solid rgba(227,196,106,.3); background: rgba(6,12,36,.55); padding: 12px 16px; font-size: 18px; line-height: 1.5; } .sol-desc summary { cursor: pointer; font-weight: 700; color: var(--gm-gold3); }
.sol-keep { margin-top: 10px; padding: 10px 12px; border-radius: 10px; background: rgba(227,196,106,.12); }
.sol-lnAll { align-self: flex-start; }
.sol-lessons { display: flex; flex-direction: column; gap: 10px; }
.sol-lItem { display: flex; align-items: center; gap: 14px; min-height: 64px; padding: 10px 16px; border-radius: 14px; border: 1.5px solid rgba(227,196,106,.35); background: rgba(6,12,36,.6); color: var(--gm-ink); font: inherit; font-size: 18px; text-align: start; cursor: pointer; }
.sol-lItem span:nth-child(2) { flex: 1; display: flex; flex-direction: column; } .sol-lItem b { font-size: 15px; color: var(--gm-mute); font-weight: 600; } .sol-lItem i { font-style: normal; color: #8FE3D8; font-size: 22px; }
.sol-lNo { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; font-weight: 800; background: rgba(227,196,106,.18); color: var(--gm-gold3); flex: none; } .sol-lItem.done .sol-lNo { background: #2BA05A; color: #fff; }

/* Ze znajomymi i okna */
.sol-frHead { margin-bottom: 18px; } .sol-frH { font-size: 22px; margin: 26px 0 12px; color: var(--gm-gold3); }
.sol-card, .sol-chCard { padding: 18px 20px; border-radius: 18px; border: 1.5px solid rgba(227,196,106,.4); background: rgba(6,12,36,.62); font-size: 18px; }
.sol-card h3 { margin: 0 0 8px; font-size: 21px; color: var(--gm-gold3); } .sol-card p { margin: 0 0 14px; line-height: 1.5; }
.sol-chCard { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 12px; } .sol-chCard > div { flex: 1; display: flex; flex-direction: column; gap: 6px; } .sol-chCard p { margin: 0; }
.sol-chCard .sol-row { justify-content: flex-start; margin-top: 6px; } .sol-chHot { border-color: var(--gm-gold); box-shadow: 0 0 0 2px var(--gm-gold); }
.sol-chArt { width: 44px; height: 60px; border-radius: 6px; background: #FFFDF6; display: grid; place-items: center; color: #C8102E; font-size: 28px; flex: none; box-shadow: 0 2px 6px rgba(0,0,0,.4); }
.sol-chHead { padding: 12px 16px; border-radius: 14px; background: rgba(227,196,106,.14); border: 1.5px solid var(--gm-gold); font-size: 19px; margin-bottom: 12px; }
.sol-big { position: fixed; inset: 0; z-index: 2147483200; display: grid; place-items: center; padding: 16px; background: rgba(2,4,14,.72); }
.sol-box { width: min(560px, 100%); box-sizing: border-box; display: flex; flex-direction: column; gap: 12px; padding: 24px; border-radius: 22px; background: linear-gradient(180deg, #0E1840, #060C24); border: 2px solid var(--gm-gold); font-size: 19px; }
.sol-box h2 { margin: 0; color: var(--gm-gold3); font-size: 25px; } .sol-box p { margin: 0; line-height: 1.5; } .sol-box input { flex: 1; min-width: 0; min-height: 52px; font: inherit; font-size: 18px; border-radius: 12px; padding: 8px 12px; border: 1.5px solid rgba(227,196,106,.5); background: #0B1430; color: var(--gm-ink); }
.sol-lbl { font-weight: 700; } .sol-or { text-align: center; color: var(--gm-mute); }

@media (max-width: 1100px) { .sol-levels { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 999px) { .sol-layout { grid-template-columns: minmax(0, 1fr); } .sol-nowM { display: block; } #solGame .sol-side > .sol-now { display: none; } }
@media (max-width: 560px) {
  .sol-tabs { align-self: stretch; } .sol-tabs button { padding: 10px 14px; flex: 1 1 auto; justify-content: center; }
  .sol-table { margin-inline: -12px; width: calc(100% + 24px); border-radius: 12px; border-width: 1.5px; }
  .sol-tool { padding: 8px 10px; font-size: 17px; flex: 1 1 40%; } .sol-dlg { top: 40px; padding: 20px 14px; } .sol-dlg h2 { font-size: 24px; }
  .sol-levels { grid-template-columns: minmax(0, 1fr); } .sol-lvl { min-height: 0; } .sol-cont, .sol-daily { flex-wrap: wrap; } .sol-cont .gm-btn, .sol-daily .gm-btn { width: 100%; }
  .sol-rowL { flex-wrap: wrap; } .sol-topbar { font-size: 17px; }
}
@media (prefers-reduced-motion: reduce) { .sol-c { transition: none; } .sol-target, .sol-glow { animation: none; } }

/* S1.2 (30.10, prośba właściciela): Podpowiedź — duży złoty przycisk pod „Co dalej” (telefon: pod zdaniem nad stołem) */
.gm-sol .sol-hintBtn { width: 100%; min-height: 60px; font-size: 20px; border-radius: 16px; gap: 10px; box-shadow: 0 10px 26px rgba(227,196,106,.35), inset 0 1px 0 rgba(255,255,255,.6); }
.gm-sol .sol-hintBtn svg { width: 28px; height: 28px; } .gm-sol .sol-hintBtn:hover { box-shadow: 0 12px 32px rgba(227,196,106,.55), inset 0 1px 0 rgba(255,255,255,.6); }
.sol-hintM { display: none !important; } .sol-side .sol-hintBtn { margin-top: -4px; }
/* S1.2: rozmiar stołu — suwaki pod stołem i uchwyt w rogu */
.sol-size { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 18px; padding: 12px 16px; border-radius: 14px; border: 1px solid rgba(227,196,106,.3); background: rgba(6,12,36,.55); font-size: 18px; }
.sol-size > b { color: var(--gm-gold3); font-size: 18px; } .sol-sz { display: flex; align-items: center; gap: 10px; flex: 1 1 200px; } .sol-sz span { white-space: nowrap; }
.sol-sz input { flex: 1; min-width: 110px; height: 32px; accent-color: var(--gm-gold); } .sol-szReset { flex: 0 0 auto; min-height: 48px; font-size: 17px; }
.sol-grip { position: absolute; right: 2px; bottom: 2px; width: 34px; height: 34px; z-index: 3100; cursor: nwse-resize; touch-action: none; border-radius: 0 0 14px 0;
  background: linear-gradient(135deg, transparent 50%, rgba(227,196,106,.85) 50%, rgba(227,196,106,.85) 56%, transparent 56%, transparent 66%, rgba(227,196,106,.85) 66%, rgba(227,196,106,.85) 72%, transparent 72%, transparent 82%, rgba(227,196,106,.85) 82%, rgba(227,196,106,.85) 88%, transparent 88%); }
.sol-grip:hover { background-color: rgba(227,196,106,.12); }
.sol-layout.sol-stack { grid-template-columns: minmax(0, 1fr); } .sol-layout.sol-stack .sol-side { max-width: 760px; }
/* S1.2: tasowanie i rozdawanie */
.sol-dealing .sol-c { cursor: default; } .sol-dealing .sol-c .sol-b { box-shadow: inset 0 0 0 3px #142257, inset 0 0 0 5px rgba(227,196,106,.7), 0 3px 8px rgba(0,0,0,.45); }
@media (max-width: 999px) { .sol-hintM { display: inline-flex !important; } .sol-side .sol-hintBtn:not(.sol-hintM) { display: none; } .gm-sol .sol-hintBtn.sol-hintM { min-height: 56px; } }
@media (max-width: 560px) { .sol-size { padding: 10px 12px; } .sol-sz { flex-basis: 100%; } .sol-szReset { width: 100%; } }
/* S1.4: „Jak to działa?” w Ze znajomymi */
.sol-howList { margin: 0 0 16px; padding-inline-start: 26px; font-size: 18px; line-height: 1.5; } .sol-howList li { margin-bottom: 8px; } .sol-howList li::marker { color: var(--gm-gold); font-weight: 800; }
.sol-frLogin { margin-top: 14px; }
/* S1.5: rozmiar stołu — układ może wyjść poza środkową kolumnę strony (przesunięcie left), uchwyt po stronie, która się rusza */
.sol-layout { position: relative; } .sol-resizing, .sol-resizing * { cursor: nwse-resize !important; } .sol-resizing .sol-c { transition: none !important; }
[dir="rtl"] .sol-grip { right: auto; left: 2px; transform: scaleX(-1); cursor: nesw-resize; }

/* PNP_PISACZEK_GAMES_UNDO_V1 (COF1 8.11): Cofnij wyłączony (nie schowany), gdy nie ma czego cofać */
.gm-sol .sol-tool:disabled { opacity: .45; cursor: default; }

/* PNP_PISACZEK_GAMES_SOLITAIRE_SL2 (15.11.2026): radość po wygranej, rekord, statystyki poziomów, zwijany „Rozmiar stołu”, mniejszy uchwyt pod kartami */
.gm-sol .sol-hintBtn[hidden], .gm-sol .sol-now[hidden] { display: none !important; }
.sol-table.sol-win { animation: solWin 1.6s ease; } @keyframes solWin { 25% { box-shadow: 0 0 0 4px #E3C46A, 0 0 44px rgba(227,196,106,.9); } 60% { box-shadow: 0 0 0 3px #8FE3D8, 0 0 30px rgba(143,227,216,.7); } }
.sol-c.sol-kWin { animation: solKing .7s ease var(--kd, 0s) 3; } /* królowie na stosach podskakują (właściwość translate, bo pozycja karty to transform) */
@keyframes solKing { 45% { translate: 0 -14px; box-shadow: 0 0 24px rgba(227,196,106,.95); } }
.sol-conf { position: absolute; z-index: 3500; width: 8px; height: 14px; border-radius: 2px; pointer-events: none; opacity: 0; animation: solConf 2s cubic-bezier(.2,.6,.4,1) var(--d) forwards; }
@keyframes solConf { 0% { opacity: 1; transform: translate(0, 0) rotate(0); } 100% { opacity: 0; transform: translate(var(--dx), var(--dy)) rotate(var(--r)); } }
.sol-dlg p.sol-doneRec { color: #8FE3D8; font-weight: 700; } .sol-dlg p.sol-doneRec.new { color: var(--gm-gold3); font-size: 1.1em; } .sol-dlg [hidden] { display: none !important; }
.sol-dlg .sol-row { flex-wrap: wrap; justify-content: center; }
.sol-lvlSt { display: block; margin-top: 4px; font-size: 15px; color: #8FE3D8; } .sol-lvlSt[hidden] { display: none; }
.sol-sizeD { border-radius: 14px; } .sol-sizeD > summary { cursor: pointer; padding: 10px 16px; font-size: 18px; font-weight: 700; color: var(--gm-gold3); border-radius: 14px; border: 1px solid rgba(227,196,106,.3); background: rgba(6,12,36,.55); list-style-position: inside; }
.sol-sizeD[open] > summary { border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-bottom: 0; } .sol-sizeD[open] > .sol-size { border-top-left-radius: 0; border-top-right-radius: 0; }
.gm-sol .sol-grip { width: 24px; height: 24px; }
@media (prefers-reduced-motion: reduce) { .sol-table.sol-win, .sol-c.sol-kWin, .sol-conf { animation: none; } }
/* SL2: telefon w grze i lekcji — „‹ Pisaczek” nie wchodzi na wynik, koło ratunkowe = wąski pasek przy krawędzi (nie zasłania kart ani uchwytu) */
@media (max-width: 999px) {
  body:has(#solGame:not([hidden])) .gm-backTop, body:has(#solLearnPane:not([hidden]) #solLesson:not([hidden])) .gm-backTop { display: none !important; }
  body:has(#solGame:not([hidden])) .pnp-lb-btn, body:has(#solLearnPane:not([hidden]) #solLesson:not([hidden])) .pnp-lb-btn { width: 9px !important; min-width: 0 !important; height: 64px !important; padding: 0 !important; overflow: hidden !important; border-radius: 8px 0 0 8px !important; opacity: .9; }
  body:has(#solGame:not([hidden])) .pnp-lb-btn > *, body:has(#solLearnPane:not([hidden]) #solLesson:not([hidden])) .pnp-lb-btn > * { display: none !important; }
}
@media (max-width: 999px) { #solDone { position: fixed; top: 12px; max-height: calc(100vh - 100px); overflow-y: auto; } } /* SL2.1: okno wygranej zawsze całe na ekranie telefonu */
