/* tiles（小1の かたちづくり）。いろいた＝あお（まわさずに あった）・オレンジ（まわして あった）、かげ＝はいいろ、ぼう＝きいろ、いっしょに つかう ぼう＝オレンジ。字は 16px 以上 */
.tl { font-size: 1.05rem; }
.tl [hidden] { display: none !important; }
.tl-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 10px; }
.tl-tab { min-width: 48px; min-height: 46px; padding: 2px 14px; border: 2px solid var(--line, #e5e7eb); background: #fff; border-radius: 999px; font-weight: 700; font-size: 1rem; color: var(--ink, #1f2937); cursor: pointer; }
.tl-tab[aria-pressed="true"] { background: var(--ink, #1f2937); color: #fff; border-color: var(--ink, #1f2937); }
.tl-guess { background: #fff8e6; border: 2px solid var(--orange, #f59e0b); border-radius: 12px; padding: 8px 12px 10px; margin-bottom: 8px; }
.tl-ask { font-weight: 700; margin: 0 0 6px; font-size: 1.1rem; }
.tl-gb { display: flex; flex-wrap: wrap; gap: 8px; }
.tl-g, .tl-b { min-height: 50px; min-width: 50px; padding: 4px 16px; border: 2px solid var(--ink, #1f2937); background: #fff; border-radius: 12px; font-weight: 700; font-size: 1.05rem; color: var(--ink, #1f2937); cursor: pointer; }
.tl-g:disabled { opacity: .45; cursor: default; }
.tl-g[aria-pressed="true"] { opacity: 1; background: #eaf1ff; border-color: #2563eb; }
.tl-b:disabled, .tl-go:disabled { opacity: .5; }
.tl-ar { min-width: 56px; padding: 4px 8px; font-size: 1.3rem; }
.tl-svg { width: 100%; height: auto; display: block; margin: 4px 0; user-select: none; -webkit-user-select: none; touch-action: manipulation; cursor: pointer; }
.tl-acts { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin: 4px 0 10px; }
.tl-go { min-height: 54px; padding: 6px 22px; border: 0; border-radius: 14px; background: var(--teal-d, #0f8a72); color: #fff; font-weight: 700; font-size: 1.1rem; cursor: pointer; }
.tl-nx { border-color: var(--teal-d, #0f8a72); color: var(--teal-d, #0f8a72); }
.tl-read { background: #f3f6ff; border-radius: 12px; padding: 8px 14px; min-height: 56px; }
.tl-read p { margin: 4px 0; }
.tl-res { font-weight: 700; color: var(--teal-d, #0f8a72); }
.tl-res.ng { color: #c2410c; }
.tl-note { font-size: 1rem; color: var(--sub, #4b5563); }
.tl-big { white-space: nowrap; font-size: 1.2rem; color: #b45309; }
/* SVG */
.tl-t { font-size: 20px; font-weight: 700; fill: var(--ink, #1f2937); paint-order: stroke; stroke: #fff; stroke-width: 5px; stroke-linejoin: round; }
.tl-cap { font-size: 17px; fill: var(--sub, #4b5563); }
.tl-grid { stroke: #e5e7eb; stroke-width: 1; }
.tl-sep { stroke: #e5e7eb; stroke-width: 2; stroke-dasharray: 6 5; }
.tl-dot { fill: #c3cad4; }
.tl-sil { fill: #cfd5dd; stroke: #cfd5dd; stroke-width: 1.5; stroke-linejoin: round; }
.tl-tile { fill: #60a5fa; stroke: #fff; stroke-width: 3; stroke-linejoin: round; }
.tl-tile.turned { fill: #fbbf24; }
.tl-tile.bad { fill: rgba(251, 191, 36, .55); stroke: #dc2626; stroke-width: 3; stroke-dasharray: 7 5; }
.tl-tile.sel { stroke: #1f2937; stroke-width: 4; }
.tl-ghost { fill: none; stroke: #9ca3af; stroke-width: 2.5; stroke-dasharray: 6 5; }
.tl-goal { fill: #bfdbfe; stroke: #fff; stroke-width: 2; stroke-linejoin: round; }
.tl-lab { font-size: 19px; }
.tl-nb { fill: #fff; stroke: #1f2937; stroke-width: 2.5; }
.tl-nbt { font-size: 18px; stroke-width: 0; }
.tl-stick { stroke: #eab308; stroke-width: 11; stroke-linecap: round; }
.tl-stick.stray { stroke: #9ca3af; }
.tl-stick.share { stroke: #ea580c; }
.tl-sq { fill: #ecfdf5; stroke: none; }
.tl-model { fill: #fff4dc; stroke: #374151; stroke-width: 3.5; stroke-linejoin: round; }
.tl-line { fill: none; stroke: #374151; stroke-width: 5; stroke-linecap: round; stroke-linejoin: round; }
.tl-line.on { stroke: var(--orange, #f59e0b); fill: #fff4dc; }
.tl-line.ng { stroke: #9ca3af; stroke-dasharray: 8 6; }
.tl-v { fill: #374151; stroke: #fff; stroke-width: 2; }
.tl-v.on { fill: #2563eb; }
.tl-first { fill: rgba(5, 150, 105, .12); stroke: #059669; stroke-width: 3; }
