/* Tarot : couche visuelle isolée, sans modification des styles Yam's. */
.tarotview .ttarot-table{--tc-w:clamp(62px,17vw,92px);--tc-h:calc(var(--tc-w)*1.63);display:grid;grid-template-columns:minmax(0,1fr) minmax(0,3fr) minmax(0,1fr);grid-template-rows:64px minmax(170px,1fr) 58px;gap:5px;position:relative;container-type:inline-size;max-width:820px;height:auto;min-height:420px;padding:12px;border:9px solid #79502d;border-radius:28px;background:radial-gradient(ellipse at center,#277958,#104632);overflow:visible;isolation:isolate}
.tarotview .ttarot-table .tseat{position:static!important;left:auto!important;top:auto!important;transform:none!important;min-width:0!important;max-width:none!important;width:100%;box-sizing:border-box;align-self:center;justify-self:center;z-index:2}
.tarotview .ttarot-table .tseat-top{grid-column:2;grid-row:1;max-width:150px!important}
.tarotview .ttarot-table .tseat-top-left{grid-column:1 / 3;grid-row:1;max-width:130px!important;justify-self:start}
.tarotview .ttarot-table .tseat-top-right{grid-column:2 / 4;grid-row:1;max-width:130px!important;justify-self:end}
.tarotview .ttarot-table .tseat-left{grid-column:1;grid-row:2}
.tarotview .ttarot-table .tseat-right{grid-column:3;grid-row:2}
.tarotview .ttarot-table .tseat-bottom{grid-column:2;grid-row:3;max-width:170px!important}
.tarotview .ttarot-table .ttarot-center{position:relative!important;inset:auto!important;grid-column:2;grid-row:2;display:flex!important;align-items:center;justify-content:center;width:100%;height:100%;min-width:0;z-index:1}
.tarotview .ttarot-table .ttarot-center>div{width:100%}
.tarotview .ttarot-table .tplay-layout{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:10px}
.tarotview .ttarot-table .tplay-cards{display:flex;flex-wrap:nowrap!important;gap:clamp(2px,1cqw,9px)!important;align-items:flex-start;justify-content:center;width:100%;min-width:0}
.tarotview .ttarot-table .tplay-card{flex:0 1 var(--tc-w);width:var(--tc-w)!important;min-width:0!important;max-width:var(--tc-w)!important;gap:4px}
.tarotview .ttarot-table .tplay-card .tcard{width:100%!important;height:var(--tc-h)!important;min-width:0!important;box-sizing:border-box!important;padding:5px 2px!important;opacity:1!important;transform:none!important}
.tarotview .ttarot-table .tplay-card .tcard strong{font-size:clamp(.95rem,3cqw,1.4rem)!important}
.tarotview .ttarot-table .tplay-card .tplay-label{display:block;max-width:100%!important;width:100%;font-size:clamp(.55rem,1.8cqw,.75rem)!important;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center;color:#fff!important;font-weight:750}
.tarotview .ttarot-table .tplay-card .tplay-label:first-letter{color:#f8dfd8}
.tarotview .tcard.tred,.tarotview .tcard.tred .tcard-corner,.tarotview .tcard.tred .tarot-art{color:#bc1d2e!important}
.tarotview .tcard:not(.tred),.tarotview .tcard:not(.tred) .tcard-corner,.tarotview .tcard:not(.tred) .tarot-art{color:#1e2329!important}
.tarotview .tcard .tarot-pip-art text{fill:currentColor!important}
.tarotview .tlast-trick summary{background:#f8f2e6!important;color:#2c241b!important;text-shadow:none!important}
@media(max-width:600px){
 .tarotview .ttarot-table{--tc-w:clamp(45px,14.5cqw,71px);grid-template-columns:minmax(0,.35fr) minmax(0,4.3fr) minmax(0,.35fr);grid-template-rows:57px minmax(150px,1fr) 55px;gap:2px;padding:8px 5px;border-width:6px;border-radius:22px;min-height:340px}
 .tarotview .ttarot-table:has(.tseat-top-left){--tc-w:clamp(43px,12.4cqw,56px)}
 .tarotview .ttarot-table .tseat{padding:3px 2px!important;font-size:.65rem;min-width:0!important}
 .tarotview .ttarot-table .tseat-left,.tarotview .ttarot-table .tseat-right{width:76px!important;max-width:76px!important}
 .tarotview .ttarot-table .tseat-left{justify-self:start;transform:translateX(-25%)!important}
 .tarotview .ttarot-table .tseat-right{justify-self:end;transform:translateX(25%)!important}
 .tarotview .ttarot-table .tplay-card .tcard{padding:3px 1px!important}
 .tarotview .ttarot-table .tplay-card .tplay-label{font-size:.62rem!important}
 .tarotview .ttarot-table .tplay-status{font-size:.8rem}
}

/* Played-card labels inherit suit colour while remaining legible on felt. */
.tarotview .ttarot-table .tplay-card:has(.tred) .tplay-label{color:#ffd0c8!important}
.tarotview .ttarot-table .tplay-card:not(:has(.tred)) .tplay-label{color:#fff!important}
