.tks-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;margin:18px 0;min-width:0}.tks-card{min-width:0;margin:0;border:1px solid var(--line);background:var(--surface);scroll-margin-top:150px}.tks-picture{display:flex;align-items:center;justify-content:center;background:#15131a;aspect-ratio:16/10;overflow:hidden}.tks-picture img{display:block;width:100%;height:100%;object-fit:contain}.tks-portrait{aspect-ratio:4/3;background:radial-gradient(ellipse at bottom,#463036,#15131a)}.tks-card-body,.tks-card>figcaption{padding:12px}.tks-card h2{font-size:17px!important;line-height:1.3;margin:0 0 7px;scroll-margin-top:150px}.tks-card p{font-size:14px;line-height:1.55;margin:0 0 8px}.tks-card p:last-child{margin-bottom:0}.tks-card .tks-caption,.tks-card>figcaption,.tks-credit{font-size:12px!important;color:var(--muted);line-height:1.5}.tks-home .tks-characters{grid-template-columns:repeat(4,minmax(0,1fr))}.tks-home .tks-stages{grid-template-columns:repeat(3,minmax(0,1fr))}.tks-home .portal-heading>a{font-size:inherit}.tks-home .portal-heading>a:last-child:not(:first-child){float:right;font-size:13px}.tks-home .tks-card h2{font-size:14px!important}.tks-home .tks-card p{font-size:12px}.tks-home .tks-card-body{padding:10px}.tks-story,.tks-getting-started,.tks-game-modes,.tks-tekken-bowl{grid-template-columns:1fr}.tks-story .tks-picture,.tks-tekken-bowl .tks-picture{max-height:390px;aspect-ratio:16/9}.tks-edition{border-left:3px solid var(--accent);padding:12px 15px;background:var(--surface);font-size:14px}.tks-references{font-size:13px;margin:20px 0}.tks-references summary{cursor:pointer}.tks-picture:focus-visible,.tks-card a:focus-visible{outline:3px solid var(--accent);outline-offset:3px}.tks-directory img,.tks-home img{max-width:100%}@media(max-width:700px){.tks-home .tks-characters{grid-template-columns:repeat(2,minmax(0,1fr))}.tks-home .tks-stages,.tks-grid{grid-template-columns:1fr}.tks-home .portal-heading>a:last-child:not(:first-child){float:none;display:block;margin-top:4px}.tks-card h2{font-size:17px!important}}
/* Compact fighter rosters; scene and image-gallery cards keep their larger artwork. */
.tks-directory .tks-characters{grid-template-columns:repeat(auto-fill,minmax(min(100%,132px),1fr));gap:10px}
.tks-characters .tks-portrait{height:96px;aspect-ratio:auto}
.tks-characters .tks-card-body{padding:9px}
.tks-characters .tks-card h2{font-size:14px!important;line-height:1.3;margin:0 0 6px;overflow-wrap:anywhere}
.tks-characters .tks-card p{font-size:12px;line-height:1.45;margin:0 0 6px}
@media(max-width:600px){
 .tks-directory .tks-characters{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
 .tks-characters .tks-portrait{height:84px}
}
