.sol-page { --sol-lime: #d5f76d; max-width: 1030px; margin: auto; }
.sol-page [hidden] { display: none !important; }
.sol-page button { font: inherit; cursor: pointer; touch-action: manipulation; }
.sol-page button:focus-visible, .sol-rules summary:focus-visible { outline: 3px solid #e5ff9d; outline-offset: 3px; z-index: 60; }
.sol-heading { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.sol-eyebrow { margin: 0 0 8px; color: #a3b5a7; font-size: 10px; font-weight: 700; letter-spacing: 1.7px; }
.sol-heading h1 { margin: 0; color: #f0f5e9; font-size: clamp(32px, 4vw, 45px); line-height: 1.2; font-weight: 750; letter-spacing: -1.5px; }
.sol-title-suit { color: var(--sol-lime); margin-left: 9px; font-weight: 400; }
.sol-subtitle { margin: 10px 0 0; color: #a7b9ae; font-size: 13px; }
.sol-heading > a { flex-shrink: 0; color: #c6d1c9; text-decoration: none; font-size: 12px; }
.sol-heading > a span { margin-left: 8px; color: var(--sol-lime); }
.sol-game { overflow: hidden; background: #142721; border: 1px solid #405347; border-radius: 15px; }
.sol-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 15px 20px; background: #192724; border-bottom: 1px solid #405347; }
.sol-actions { display: flex; gap: 7px; flex-wrap: wrap; }
.sol-actions button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 39px; border: 1px solid #4b5e50; border-radius: 7px; background: #22332b; color: #d9e4d6; font-size: 12px; padding: 8px 12px; }
.sol-actions button:hover:not(:disabled) { border-color: #afc58a; background: #31452f; }
.sol-actions .sol-primary { background: var(--sol-lime); border-color: var(--sol-lime); color: #1c2816; font-weight: 700; }
.sol-actions .sol-primary:hover { background: #e3ff96; color: #1c2816; }
.sol-actions button:disabled { opacity: .4; cursor: default; }
.sol-deal-help { margin: 0; padding: 10px 20px; border-bottom: 1px solid #405347; color: #b4c7ac; font-size: 11px; line-height: 1.6; }
.sol-stats { display: flex; gap: 25px; flex-shrink: 0; }
.sol-stats > div { display: flex; flex-direction: column; gap: 2px; }
.sol-stats span:not(#sol-collected) { color: #a4b7a5; font-size: 10px; }
.sol-stats strong { color: #ecf4df; font-size: 21px; line-height: 1.2; font-weight: 600; font-variant-numeric: tabular-nums; }
.sol-stats small { font-size: 12px; color: #92aa94; font-weight: 400; }
.sol-table-wrap { padding: 0 27px 24px; background: radial-gradient(ellipse at 50% 20%, #2b4931 0, #203c2b 48%, #183125 100%); }
.sol-table { --sol-card-height: clamp(75px, 12.4vw, 160px); --sol-step: clamp(23px, 3.1vw, 34px); --sol-gap: clamp(5px, 1.7vw, 20px); }
.sol-table-caption { display: flex; align-items: center; justify-content: space-between; min-height: 51px; color: #b2c4a7; font-size: 9px; font-weight: 650; letter-spacing: 1.8px; }
.sol-table-suits { font-size: 17px; letter-spacing: 8px; opacity: .5; }
.sol-table-suits i { font-style: normal; }
.sol-top-row, .sol-tableau { display: grid; grid-template-columns: repeat(7, minmax(0, 1fr)); gap: var(--sol-gap); }
.sol-top-row { margin-bottom: 24px; }
.sol-foundations { display: contents; }
.sol-pile, .sol-stock-pile, .sol-waste-pile { min-width: 0; position: relative; }
.sol-pile { min-height: var(--sol-card-height); }
.sol-pile-label { display: block; text-align: center; margin-top: 7px; font-size: 10px; color: #bacdb0; }
.sol-slot { width: 100%; height: var(--sol-card-height); display: grid; place-items: center; border: 1px solid #afc49455; border-radius: 8px; background: #0d241d44; color: #b3c59c; font-size: clamp(19px, 3.5vw, 35px) !important; padding: 0; }
.sol-slot:hover { border-color: #d5f79b; background: #344e3255; }
.sol-column { position: relative; min-width: 0; min-height: calc(var(--sol-card-height) + var(--sol-depth, 6) * var(--sol-step)); }
.sol-card { position: relative; display: block; width: 100%; height: var(--sol-card-height); padding: 0; text-align: left; border: 1px solid #c3ceae; border-radius: 8px; background: #f1f2df; color: #263b30; box-shadow: 0 2px 3px #08150d3d; user-select: none; -webkit-user-select: none; overflow: hidden; }
.sol-column > .sol-card { position: absolute; top: calc(var(--sol-index, 0) * var(--sol-step)); left: 0; }
.sol-card.is-red { color: #b43048; }
.sol-slot.is-red { color: #e8a9ad; }
.sol-card:not(.sol-card-back):hover { background: #ffffee; border-color: #fff; }
.sol-card-corner { position: absolute; left: 8px; top: 5px; display: flex; align-items: center; gap: 4px; font-family: "Segoe UI", sans-serif; font-weight: 750; font-size: clamp(13px, 2.5vw, 21px); line-height: 1; white-space: nowrap; }
.sol-card-symbol { position: absolute; inset: 28% 0 10%; display: grid; place-items: center; font-family: "Segoe UI Symbol", "Segoe UI", serif; font-size: clamp(22px, 5vw, 60px); line-height: 1; }
.sol-card-back, #sol-stock.has-cards { background: repeating-linear-gradient(45deg, #b9cc8155 0, #b9cc8155 1px, transparent 1px, transparent 7px), repeating-linear-gradient(-45deg, #b9cc8126 0, #b9cc8126 1px, transparent 1px, transparent 7px), #314d36; border: 3px solid #a7b782; box-shadow: inset 0 0 0 3px #314d36, inset 0 0 0 4px #9eb978; }
.sol-column > .sol-card-back { pointer-events: none; }
.sol-card.is-selected { border-color: var(--sol-lime); outline: 3px solid var(--sol-lime); outline-offset: -3px; background: #f4ffc8; }
.sol-card.is-hint-source, .sol-slot.is-hint-source, #sol-stock.is-hint-source { outline: 3px solid #f2cb75; outline-offset: -3px; }
.is-hint-target { outline: 3px dashed #d5f76d; outline-offset: 3px; }
.sol-column.is-hint-target { outline-offset: 5px; border-radius: 8px; }
.sol-feedback { background: #192b24; padding: 12px 22px; border-top: 1px solid #405347; }
.sol-feedback p { margin: 0; color: #cad9be; font-size: 12px; line-height: 1.6; min-height: 20px; }
.sol-feedback .sol-storage-notice { color: #f3ca91; margin-top: 7px; }
.sol-win { text-align: center; padding: 26px 20px; border-top: 1px solid #7c9551; background: #263b26; }
.sol-win > span { color: var(--sol-lime); font-size: 26px; letter-spacing: 7px; }
.sol-win h2 { color: #ecfacd; font-size: 24px; margin: 10px 0; }
.sol-win p { color: #c0d1b6; margin: 0; font-size: 13px; }
.sol-bottom { padding: 16px 4px 0; }
.sol-bottom > p { font-size: 11px; line-height: 1.7; color: #a8bbae; margin-bottom: 13px; max-width: 760px; }
.sol-rules { border-top: 1px solid #34453a; padding-top: 13px; }
.sol-rules summary { width: fit-content; color: #d4e7bb; font-size: 12px; cursor: pointer; }
.sol-rules ol { padding-left: 20px; margin: 14px 0; max-width: 800px; color: #a9bdaa; font-size: 12px; line-height: 1.8; }
.sol-bottom > .sol-save-note { color: #829b8b; font-size: 10px; margin-top: 15px; }
@media (max-width: 700px) {
    .sol-toolbar { align-items: flex-start; flex-direction: column; padding: 13px 14px; }
    .sol-stats { width: 100%; justify-content: space-between; }
    .sol-stats > div { flex-direction: row; align-items: baseline; gap: 9px; }
    .sol-stats strong { font-size: 18px; }
    .sol-table-wrap { padding: 0 12px 20px; }
    .sol-table { --sol-card-height: clamp(65px, 16vw, 110px); --sol-step: clamp(22px, 4vw, 28px); --sol-gap: clamp(4px, 1.3vw, 9px); }
    .sol-top-row { margin-bottom: 20px; }
    .sol-heading { gap: 10px; }
    .sol-heading > a { font-size: 11px; }
    .sol-card-corner { left: 4px; top: 5px; gap: 1px; font-size: clamp(12px, 2.7vw, 17px); }
    .sol-card, .sol-slot { border-radius: 5px; }
    .sol-card-symbol { font-size: clamp(23px, 5vw, 42px); }
    .sol-feedback { padding: 11px 14px; }
}
@media (max-width: 420px) {
    .sol-page { margin-left: -12px; margin-right: -12px; }
    .sol-heading { padding: 0 6px; }
    .sol-eyebrow { font-size: 8px; letter-spacing: 1.2px; }
    .sol-subtitle { font-size: 11px; }
    .sol-actions { width: 100%; gap: 4px; }
    .sol-actions button { font-size: 10px; padding: 8px; min-height: 40px; flex: 1 1 auto; }
    .sol-table-wrap { padding-left: 9px; padding-right: 9px; }
    .sol-table-caption { font-size: 8px; letter-spacing: 1px; min-height: 43px; }
    .sol-table-suits { letter-spacing: 3px; }
    .sol-card-back, #sol-stock.has-cards { border-width: 2px; }
    .sol-card-corner { left: 3px; gap: 0; }
    .sol-bottom { padding-left: 8px; padding-right: 8px; }
}
@media (prefers-reduced-motion: reduce) { .sol-page *, .sol-page *::before, .sol-page *::after { scroll-behavior: auto !important; animation: none !important; transition: none !important; } }
