/* Ludicera v38.37 – remaining solitaire games. Additive styles only. */
.more-game-table{width:min(1460px,100%)!important;margin:0 auto}
.more-game-table .felt{min-height:640px;grid-template-rows:auto minmax(360px,1fr) 48px;padding-left:24px;padding-right:24px}
.rg-top{display:flex;align-items:flex-start;justify-content:space-between;gap:22px;width:100%;margin-bottom:24px;position:relative;z-index:3}
.rg-group{display:flex;flex-direction:column;gap:6px}.rg-label{margin:0;color:#e6f0dc;font-size:11px}
.rg-slots{display:grid;grid-auto-flow:column;grid-auto-columns:var(--ludicera-card-width,76px);gap:var(--ludicera-card-gap,14px);width:max-content}
.rg-slot{box-sizing:border-box;width:var(--ludicera-card-width,76px);height:var(--ludicera-card-height,108px);border:1px dashed #ffffff80;border-radius:5px;color:#e6f0dc;display:grid;place-items:center;position:relative;font-size:12px;overflow:visible;background:#ffffff06;padding:0}
.rg-slot>.playing-card{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important;margin:0!important}
.rg-stock{cursor:pointer}.rg-stock.back{background:transparent}.rg-stock-count{font-size:10px;line-height:1.2;text-align:center;padding:4px}
.rg-columns{display:grid!important;grid-template-columns:repeat(var(--rg-cols,7),var(--ludicera-card-width,76px))!important;column-gap:var(--ludicera-card-gap,14px)!important;row-gap:16px!important;width:max-content!important;max-width:none!important;margin:0 auto!important;align-self:start!important}
.rg-columns>.column{box-sizing:border-box!important;width:var(--ludicera-card-width,76px)!important;min-width:var(--ludicera-card-width,76px)!important;max-width:var(--ludicera-card-width,76px)!important;position:relative}
.rg-columns>.column>.playing-card{box-sizing:border-box!important;width:var(--ludicera-card-width,76px)!important;min-width:var(--ludicera-card-width,76px)!important;max-width:var(--ludicera-card-width,76px)!important;height:var(--ludicera-card-height,108px)!important;min-height:var(--ludicera-card-height,108px)!important;max-height:var(--ludicera-card-height,108px)!important}
.rg-source{touch-action:none;user-select:none;-webkit-touch-callout:none;cursor:grab}.rg-source:active{cursor:grabbing}.rg-source.chosen{outline:3px solid #f1cb66!important;outline-offset:-3px}.rg-target.drop-target{outline:2px solid #d7b967!important;outline-offset:-2px;background:#e8dba013!important}
.more-game-table .table-scroll{overflow-x:auto}.more-game-table .new-game-help{line-height:1.55}
.rg-pyramid-wrap{display:flex;flex-direction:column;align-items:center;gap:4px;min-width:820px;margin:4px auto 22px}.rg-pyramid-row{display:flex;gap:var(--ludicera-card-gap,14px);justify-content:center}.rg-pyramid-card{position:relative;width:var(--ludicera-card-width,76px);height:var(--ludicera-card-height,108px)}.rg-pyramid-card>.playing-card{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;max-width:none!important}.rg-pyramid-card.covered{opacity:.78}.rg-pyramid-card.empty{visibility:hidden}
.rg-pair-grid{display:grid;grid-template-columns:repeat(var(--rg-cols,8),var(--ludicera-card-width,76px));gap:var(--ludicera-card-gap,14px);width:max-content;margin:0 auto}.rg-pair-pile{position:relative;width:var(--ludicera-card-width,76px);height:250px}.rg-pair-pile>.playing-card{position:absolute!important;width:100%!important;height:var(--ludicera-card-height,108px)!important;max-width:none!important}
.rg-montana{display:grid;grid-template-columns:repeat(13,var(--ludicera-card-width,76px));gap:8px;width:max-content;margin:10px auto}.rg-montana .rg-slot{background:#ffffff0b}.rg-montana .rg-slot.row-start{box-shadow:inset 3px 0 0 #ffffff38}
.rg-fans{display:grid;grid-template-columns:repeat(9,var(--ludicera-card-width,76px));gap:22px var(--ludicera-card-gap,14px);width:max-content;margin:0 auto}.rg-fan{position:relative;width:var(--ludicera-card-width,76px);height:185px}.rg-fan>.playing-card{position:absolute!important;width:100%!important;height:var(--ludicera-card-height,108px)!important;max-width:none!important}
.rg-terrace{display:flex;gap:4px;width:min-content}.rg-terrace .playing-card{position:relative!important;width:var(--ludicera-card-width,76px)!important;height:var(--ludicera-card-height,108px)!important;max-width:none!important;margin-left:-54px}.rg-terrace .playing-card:first-child{margin-left:0}
.rg-info-chip{border:1px solid #ffffff55;border-radius:999px;color:#f2f4e9;font-size:11px;padding:5px 9px;white-space:nowrap;background:#0002}
@media(max-width:700px),(max-width:1000px) and (max-height:500px){
 .more-game-table .felt{min-height:520px;grid-template-rows:auto minmax(300px,1fr) 48px;padding-left:8px;padding-right:8px}.rg-top{gap:10px;margin-bottom:14px;width:max-content;min-width:100%;justify-content:flex-start}.rg-slots,.rg-columns{gap:3px!important}.rg-columns{column-gap:3px!important;margin-left:0!important;margin-right:0!important}.rg-slot{font-size:9px}.rg-pyramid-wrap{min-width:620px}.rg-pyramid-row{gap:3px}.rg-pair-grid,.rg-fans{gap:8px 3px}.rg-montana{gap:3px}.rg-info-chip{font-size:9px;padding:4px 6px}
}

/* Content-sized boards: pyramid rows and long fans must never be clipped by the shared fixed table grid. */
.more-game-table .felt{display:block!important;height:auto!important;min-width:max-content!important;width:100%;box-sizing:border-box;overflow:visible!important}
.more-game-table .felt>[id$="-board"]{min-height:300px}
.more-game-table .rg-top{width:100%;min-width:max-content}
.more-game-table .rg-pyramid-wrap{min-width:0;width:max-content;gap:0}
.more-game-table .rg-pyramid-row+.rg-pyramid-row{margin-top:calc(var(--ludicera-card-height,108px) * -.60)}
.more-game-table .rg-source:focus-visible{outline:3px solid #f1cb66;outline-offset:-3px}
.more-game-table .rg-stock-count{position:absolute;z-index:2;bottom:2px;right:2px;background:#073d2c;color:white;border-radius:3px;pointer-events:none}

.more-game-table .rg-pyramid-card.covered{opacity:1;filter:brightness(.86)}
@media(max-width:700px){
 .more-game-table{--ludicera-card-width:46px;--ludicera-card-height:66px}
 .more-game-table .rg-top{flex-wrap:wrap;min-width:0}
 .more-game-table .rg-pair-pile{height:210px}
}
@media(max-width:700px){.more-game-table .rg-pyramid-row{gap:2px}}
