.classic-cards-host .classic-board{max-width:960px;overflow:auto;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#5272aa #182449}.cc-card{position:relative;display:block;padding:0;min-width:48px;min-height:64px;border:0;background:transparent;border-radius:5px;cursor:pointer;touch-action:manipulation;color:#f8fbff}.cc-card-art{display:block;width:100%;height:auto;aspect-ratio:96/132;pointer-events:none}.cc-card.is-selected{outline:3px solid #ffcf3f;outline-offset:0;z-index:2;transform:translateY(-2px)}.cc-card.is-hint{outline:3px solid #28c7ee;outline-offset:1px}.cc-card.is-legal{box-shadow:0 3px 0 #22c781}.cc-card:disabled{cursor:default;opacity:.75}.cc-placeholder{min-width:48px;min-height:72px;white-space:pre-line;border:1px dashed #5272aa;border-radius:6px;background:#182449;color:#a8b8d7;font-size:16px;line-height:1.3;padding:5px;cursor:pointer;touch-action:manipulation}.cc-placeholder:disabled{opacity:.55}.cc-pile-caption{position:absolute;left:5px;right:5px;bottom:10px;background:#182449e8;color:#f8fbff;border-radius:3px;font-size:13px;font-weight:750;line-height:1.5;text-align:center;pointer-events:none}.cc-klondike-surface{min-width:356px;max-width:760px;margin:auto}.cc-klondike-top,.cc-klondike-columns{display:grid;grid-template-columns:repeat(7,minmax(44px,1fr));gap:6px}.cc-klondike-top{align-items:stretch;margin-bottom:9px}.cc-klondike-top .cc-card,.cc-klondike-top .cc-placeholder{width:100%;aspect-ratio:96/132}.cc-column{display:flex;flex-direction:column;align-items:stretch;min-width:0}.cc-column-target{background:#182449;border:1px solid #5272aa;border-radius:4px;min-height:44px;width:100%;padding:4px;color:#a8e6ff;font-size:14px;line-height:1.3;margin-bottom:4px;touch-action:manipulation}.cc-column .cc-overlap-card{height:44px;min-height:44px;overflow:hidden;aspect-ratio:auto;border-radius:4px 4px 0 0}.cc-column .cc-overlap-card .cc-card-art{min-height:66px}.cc-column .cc-last-card{height:auto;min-height:64px;width:100%}.cc-down-card{height:15px;overflow:hidden;pointer-events:none}.cc-empty-column{height:90px}.cc-foundation{color:#28c7ee}.cc-foundation.is-destination,.cc-column-target.is-destination{background:#2546c0;color:#f8fbff;border:2px solid #28c7ee}.cc-opponents{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:7px;margin:0 0 12px}.cc-opponent{display:grid;grid-template-columns:38px minmax(0,1fr);column-gap:5px;align-items:center;border:1px solid #5272aa;border-radius:8px;background:#182449;padding:7px}.cc-opponent .cc-avatar{grid-row:1/4;max-width:100%;width:38px;height:38px}.cc-opponent strong{font-size:14px;line-height:1.4;white-space:nowrap}.cc-opponent span{font-size:14px;color:#ffcf3f;line-height:1.4}.cc-opponent small{font-size:12px;line-height:1.4;color:#a8b8d7}.cc-opponent.is-turn{border:2px solid #28c7ee;background:#2546c0;padding:6px}.cc-sevens-field{display:flex;flex-direction:column;gap:4px;margin:7px 0 10px}.cc-sevens-row{display:grid;grid-template-columns:repeat(13,minmax(18px,1fr));gap:3px}.cc-sevens-cell{display:flex;align-items:center;justify-content:center;min-height:31px;background:#182449;border:1px dashed #5272aa;border-radius:3px;color:#8295b9;font:650 13px/1.2 system-ui;letter-spacing:-.3px;white-space:nowrap}.cc-sevens-cell.is-placed{background:#536992;color:#f8fbff;border-style:solid}.cc-sevens-cell.is-connected{background:#f8fbff;color:#182449;border-color:#f8fbff}.cc-sevens-cell.is-connected.is-red{color:#c43458}.cc-hand-heading{font-size:15px;font-weight:750;text-align:center;color:#ffcf3f;line-height:1.5;margin:9px 0}.cc-hand{display:grid;grid-template-columns:repeat(auto-fit,minmax(48px,64px));justify-content:center;gap:6px;max-width:900px;margin:auto}.cc-hand .cc-card{width:100%;min-height:66px}.cc-hand-empty{grid-column:1/-1;font-size:15px;line-height:1.65;text-align:center}.cc-trick-area{padding:12px 10px;border:1px solid #5272aa;border-radius:10px;background:#142b4a;min-height:135px}.cc-table-rule{margin:0 0 7px;text-align:center;font-size:15px;line-height:1.5;color:#a8e6ff}.cc-table-rule.is-revolution{color:#ffcf3f}.cc-table-cards{display:flex;align-items:center;justify-content:center;min-height:95px;gap:9px}.cc-shown-card{width:65px}.cc-empty-table{display:flex;align-items:center;justify-content:center;min-height:95px;border-radius:8px;padding:5px 16px;font-size:18px;font-weight:750;color:#a8b8d7}.classic-cards-host .classic-controls{gap:6px}.classic-cards-host .classic-action{white-space:normal}.classic-cards-host button:focus-visible{outline-offset:1px}
@media(max-width:680px){.cc-opponents{gap:4px;margin-bottom:7px}.cc-opponent{grid-template-columns:26px minmax(0,1fr);column-gap:3px;padding:5px 4px}.cc-opponent.is-turn{padding:4px 3px}.cc-opponent .cc-avatar{width:26px;height:34px}.cc-opponent strong,.cc-opponent span{font-size:13px}.cc-opponent small{font-size:11px}.cc-sevens-row{gap:2px}.cc-sevens-cell{font-size:11px;min-height:28px}.cc-hand{grid-template-columns:repeat(auto-fit,minmax(48px,1fr));gap:5px}.cc-hand .cc-card{max-width:65px;justify-self:center}.cc-trick-area{padding:8px 6px;min-height:115px}.cc-table-cards{min-height:79px;gap:5px}.cc-shown-card{width:56px}.cc-table-rule{font-size:14px}.cc-empty-table{min-height:79px;font-size:16px}.classic-cards-host .classic-rules-brief{font-size:14px}.cc-klondike-surface{min-width:356px}.cc-column-target{font-size:13px}.cc-hand-heading{font-size:14px}.classic-cards-host .classic-action{font-size:14px;padding:8px 10px}}
@media(max-height:480px) and (min-width:681px){.classic-cards-host .classic-board-title{margin-bottom:4px}.cc-opponents{margin-bottom:5px}.cc-opponent{padding:3px 6px}.cc-opponent.is-turn{padding:2px 5px}.cc-hand{grid-template-columns:repeat(13,minmax(44px,1fr));gap:4px}.cc-hand .cc-card{max-width:55px;min-width:44px;min-height:60px}.cc-trick-area{display:grid;grid-template-columns:minmax(140px,1fr) 1fr;align-items:center;min-height:80px;padding:4px 8px}.cc-shown-card{width:48px}.cc-table-cards{min-height:65px}.cc-empty-table{min-height:60px}.cc-sevens-cell{min-height:24px}.cc-hand-heading{margin:5px 0}.cc-klondike-top{margin-bottom:6px}.cc-klondike-surface{max-width:660px}.cc-klondike-top .cc-card,.cc-klondike-top .cc-placeholder{max-height:86px;aspect-ratio:auto;overflow:hidden}.cc-klondike-top .cc-card-art{max-width:65px;margin:auto}.cc-column-target{min-height:44px}.cc-column .cc-last-card .cc-card-art{max-width:65px;margin:auto}}

.cc-klondike-surface .cc-card,.cc-klondike-surface .cc-placeholder{min-width:44px}
