/* Solitaire (Klondike) — tüm seçiciler .kl- önekli */
.kl-root { padding: 12px; }
.kl-board { position: relative; width: 100%; background: #2e6b4c; background-image: radial-gradient(ellipse at 50% 0%, rgba(255,255,255,.10), transparent 70%); border-radius: 12px; overflow: hidden; touch-action: manipulation; user-select: none; -webkit-user-select: none; min-height: 320px; }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .kl-board { background-color: #1f4a36; } }
:root[data-theme="dark"] .kl-board { background-color: #1f4a36; }
.kl-slot { position: absolute; left: 0; top: 0; width: var(--cw); height: var(--ch); border-radius: calc(var(--cw) * .08); border: 2px dashed rgba(255,255,255,.28); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,.35); font-weight: 800; font-size: calc(var(--cw) * .36); cursor: pointer; }
.kl-slot.kl-stock-slot { border-style: solid; }
.kl-card { position: absolute; left: 0; top: 0; width: var(--cw); height: var(--ch); border-radius: calc(var(--cw) * .08); background: #fdfcf8; border: 1px solid rgba(0,0,0,.22); box-shadow: 0 1px 2px rgba(0,0,0,.28); color: #1b1b1b; transition: transform .2s ease, box-shadow .15s ease; will-change: transform; cursor: pointer; overflow: hidden; }
.kl-card.kl-red { color: #c0262d; }
.kl-card.kl-up { touch-action: none; }
.kl-card:not(.kl-up) { background: repeating-linear-gradient(45deg, #b8441a 0 4px, #cc5b2b 4px 8px); border: 2px solid #fdfcf8; box-shadow: 0 1px 2px rgba(0,0,0,.35); }
.kl-card:not(.kl-up) > * { display: none; }
.kl-k { position: absolute; top: calc(var(--cw) * .04); left: calc(var(--cw) * .07); font-size: calc(var(--cw) * .27); line-height: 1; font-weight: 800; letter-spacing: -.05em; white-space: nowrap; font-family: system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif; }
.kl-k i { font-style: normal; margin-left: .06em; font-size: .92em; }
.kl-k2 { top: auto; left: auto; bottom: calc(var(--cw) * .04); right: calc(var(--cw) * .07); transform: rotate(180deg); }
.kl-c { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; padding-top: calc(var(--cw) * .2); font-size: calc(var(--cw) * .6); line-height: 1; }
.kl-c.kl-f { font-family: Georgia, "Times New Roman", serif; font-weight: 700; font-size: calc(var(--cw) * .5); }
.kl-c.kl-f small { font-size: .55em; margin-left: .04em; }
.kl-small .kl-k2 { display: none; }
.kl-small .kl-c { font-size: calc(var(--cw) * .5); padding-top: calc(var(--cw) * .3); }
.kl-card.kl-sel { box-shadow: 0 0 0 3px #facc15, 0 4px 10px rgba(0,0,0,.35); }
.kl-card.kl-hint, .kl-slot.kl-hint { box-shadow: 0 0 0 3px #38bdf8, 0 0 14px rgba(56,189,248,.8); }
.kl-card.kl-drag { transition: none; box-shadow: 0 10px 24px rgba(0,0,0,.4); cursor: grabbing; }
.kl-card.kl-shake { animation: kl-shake .3s; }
@keyframes kl-shake { 25% { margin-left: -4px; } 75% { margin-left: 4px; } }
.kl-msg { min-height: 1.4em; }
.kl-bar .g-stat { min-width: 0; }
@media (max-width: 480px) { .kl-root { padding: 8px; } .kl-bar .g-btn, .kl-bar .g-select { padding: 6px 10px; font-size: 14px; min-height: 36px; } }
