.tg .game-difficulty { border:0; padding:0; margin:2px 0 17px; min-width:0 }
.tg .game-difficulty legend { font-weight:750; color:#294d42; margin:0 0 9px }
.tg .difficulty-option { min-width:86px; min-height:42px; margin:0 8px 0 0; padding:6px 20px; border:1px solid #9daea0; border-radius:7px; color:#31574a; background:#fbf8f0; font-weight:700 }
.tg .difficulty-option[aria-pressed="true"] { background:#31584a; color:#fffaf0; border-color:#31584a; box-shadow:inset 0 0 0 2px #ffffff1a }
.tg .difficulty-detail { color:#495d50; margin:10px 0 0; font-size:15px; line-height:1.55 }
.tg .tg-art-drum::before { content:""; left:7px; top:4px; width:22px; height:21px; border-radius:45% 45% 35% 35%; background:repeating-linear-gradient(70deg,#a95346 0 5px,#edd19a 6px 8px) }
.tg .tg-art-drum::after { content:""; left:7px; top:3px; width:22px; height:8px; border-radius:50%; border:2px solid #ae8052; background:#f2dbac }
.tg .tg-art-stack i { left:4px; top:20px; width:25px; height:7px; border-radius:2px; background:#618674; box-shadow:inset 0 -2px #3c5f50 }
.tg .tg-art-stack i:nth-child(2) { left:8px; top:13px; background:#be7950 }
.tg .tg-art-stack i:nth-child(3) { left:5px; top:6px; background:#d4ad69 }

.tg-memory .tg-peek { margin-bottom:.65rem }
#activity .tg-memory .tg-timed-deck {gap:clamp(4px,1cqi,9px);padding:clamp(5px,1.5cqi,12px)}
#activity .tg-memory .tg-timed-deck:is(.tg-pairs-9,.tg-pairs-10) {grid-template-columns:repeat(5,minmax(0,1fr))}
#activity .tg-memory .tg-timed-deck .tg-card {height:clamp(55px,min(15cqi,10dvh),88px);padding:3px;touch-action:manipulation}
#activity .tg-memory .tg-timed-deck .tg-card-inner {gap:1px}
#activity .tg-memory .tg-timed-deck .tg-art {scale:1;margin:0}
#activity .tg-memory .tg-timed-deck .tg-brand-name {display:none}
#activity .tg-memory .tg-timed-deck .tg-product-name {font-size:clamp(10px,2.6cqi,14px);line-height:1.1;white-space:normal}
.tg-memory .tg-art-daruma::before {content:"";top:0;left:5px;width:25px;height:28px;background:var(--tg-art-color);border-radius:48% 48% 38% 38%;box-shadow:inset -3px -2px #9d392e}
.tg-memory .tg-art-daruma::after {content:"";top:4px;left:8px;width:19px;height:13px;border-radius:50%;background:radial-gradient(circle at 32% 43%,#41372b 0 1.7px,transparent 2px),radial-gradient(circle at 68% 43%,#41372b 0 1.7px,transparent 2px),radial-gradient(ellipse at 50% 90%,#5a4b37 0 3px,transparent 3.5px),#fff1d2}
.tg-memory .tg-art-ticket::before {content:"";left:2px;top:5px;width:29px;height:18px;border:2px solid #a98238;border-radius:4px;transform:rotate(-10deg);background:linear-gradient(90deg,transparent 69%,#a98238 70% 74%,transparent 75%),var(--tg-art-color)}
.tg-memory .tg-art-ticket::after {content:"★";left:8px;top:4px;color:#fff8d8;font:16px/20px sans-serif;transform:rotate(-10deg)}
.tg-memory .tg-art-basketball::before {content:"";width:27px;height:27px;top:1px;left:4px;border-radius:50%;border:1px solid #8c512f;background:linear-gradient(32deg,transparent 46%,#6b4935 47% 51%,transparent 52%),radial-gradient(ellipse at 6% -30%,transparent 52%,#6b4935 53% 56%,transparent 57%),radial-gradient(ellipse at 94% 135%,transparent 47%,#6b4935 48% 51%,transparent 52%),radial-gradient(at 30% 22%,#f8c28d,var(--tg-art-color) 67%)}
.tg-memory .tg-art-marble::before {content:"";width:26px;height:26px;top:1px;left:4px;border:1px solid #427490;border-radius:50%;background:radial-gradient(circle at 26% 21%,#fff 0 8%,transparent 12%),radial-gradient(ellipse at 90% 15%,transparent 40%,#98e1c3 42%,#3b939a 52%,transparent 55%),radial-gradient(at 28% 22%,#d7f4ef,var(--tg-art-color) 74%,#375770)}

.tg .arcade-goal{margin:0 0 .9rem;padding:.7rem .85rem;border-left:3px solid #a96a31;background:#f5efdb;color:#294a3c;font-weight:700}
@media(max-width:450px){.tg .difficulty-option{min-width:0;padding:8px 12px;margin-right:6px}}
