/* Survei 100: papan jawaban berurutan, tanda X, skor dua tim */
.rt-wrap { flex: 1; min-height: 0; display: flex; padding: clamp(4px, 1vw, 12px); background: #134e4a; }
.rt-stage { position: relative; flex: 1; min-height: 0; border-radius: 16px; overflow: hidden; border: 3px solid #fff; background: linear-gradient(180deg, #ecfeff, #fef9c3); display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); }
.rt-board { display: flex; flex-direction: column; gap: 5px; padding: clamp(5px, 1vw, 10px); min-width: 0; min-height: 0; }
.rt-hud { display: flex; flex-wrap: wrap; gap: 5px; font-weight: 800; font-size: clamp(11px, 1.45vw, 16px); }
.rt-hud span { background: rgba(15,23,42,.78); color: #fff; border-radius: 999px; padding: 1px 10px; white-space: nowrap; }
.rt-slots { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: clamp(3px, 0.8vh, 7px); flex: 1; min-height: 0; justify-content: center; }
.rt-slot { position: relative; display: flex; align-items: center; gap: 8px; min-height: clamp(30px, 6.4vh, 52px); flex: 1; max-height: 56px; padding: 0 12px; border: 3px solid #14b8a6; border-radius: 12px; background: #fff; font: inherit; font-weight: 900; font-size: clamp(14px, 2.2vw, 26px); color: var(--ink); cursor: pointer; text-align: left; width: 100%; }
.rt-slot .no { flex: 0 0 auto; width: 1.6em; height: 1.6em; border-radius: 50%; background: #99f6e4; color: #134e4a; font-size: .7em; display: flex; align-items: center; justify-content: center; }
.rt-slot .w { flex: 1; letter-spacing: .06em; min-width: 0; overflow-wrap: anywhere; }
.rt-slot .p { flex: 0 0 auto; font-size: .62em; color: #0f766e; }
.rt-slot.open { background: #bbf7d0; border-color: #16a34a; cursor: default; }
.rt-slot.closed .w { color: #94a3b8; letter-spacing: .18em; }
.rt-slot.lock { opacity: .5; cursor: default; border-style: dashed; }
.rt-slot.sel { background: #fef08a; border-color: #f59e0b; outline: 3px solid #f59e0b; }
.rt-slot.p0 { border-left: 10px solid #e11d48; } .rt-slot.p1 { border-left: 10px solid #0284c7; }
.rt-slot.flash { animation: rt-pop .5s; }
@keyframes rt-pop { 0% { transform: scale(1); } 50% { transform: scale(1.04); background: #fde047; } 100% { transform: scale(1); } }
.rt-panel { display: flex; flex-direction: column; gap: clamp(4px, 1vh, 8px); padding: clamp(6px, 1.2vw, 12px); background: rgba(255,255,255,.88); border-left: 3px solid #fff; min-width: 0; min-height: 0; overflow-y: auto; }
.rt-score { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.rt-pl { border: 3px solid var(--pc); border-radius: 12px; padding: 2px 8px; background: #fff; font-weight: 800; font-size: clamp(11px, 1.5vw, 17px); display: flex; justify-content: space-between; align-items: center; gap: 6px; }
.rt-pl b { font-size: 1.6em; line-height: 1; font-variant-numeric: tabular-nums; }
.rt-pl.on { background: var(--pc); color: #fff; }
.rt-pl:nth-child(1) { --pc: #e11d48; } .rt-pl:nth-child(2) { --pc: #0284c7; }
.rt-clock { align-self: center; font-weight: 900; font-size: clamp(20px, 3.4vh, 32px); background: #0f172a; color: #fde047; border-radius: 10px; padding: 0 14px; font-variant-numeric: tabular-nums; }
.rt-clock.low { background: #dc2626; color: #fff; }
.rt-clue { display: flex; flex-direction: column; gap: 5px; }
.rt-turn { margin: 0; font-weight: 900; font-size: clamp(13px, 1.9vw, 21px); }
.rt-pattern { margin: 0; font-weight: 900; font-size: clamp(16px, 2.8vw, 32px); color: #0f766e; letter-spacing: .04em; word-break: break-word; }
.rt-pattern .bx { display: inline-block; border-bottom: 4px dashed #0f766e; height: 1em; vertical-align: bottom; color: transparent; overflow: hidden; }
.rt-pattern small { display: block; font-size: .55em; color: #475569; letter-spacing: 0; }
.rt-def { margin: 0; font-weight: 700; font-size: clamp(12px, 1.7vw, 19px); line-height: 1.3; }
#form { display: flex; gap: 6px; }
#ans { flex: 1; min-width: 0; min-height: clamp(38px, 6.5vh, 50px); border: 3px solid #0d9488; border-radius: 12px; padding: 0 10px; font: inherit; font-weight: 800; font-size: clamp(15px, 2.2vw, 24px); }
.rt-btn { min-height: clamp(36px, 6vh, 48px); padding: 0 16px; border: 0; border-radius: 999px; background: #0d9488; color: #fff; font: inherit; font-weight: 900; font-size: clamp(13px, 1.8vw, 20px); cursor: pointer; box-shadow: 0 3px 0 rgba(15,23,42,.3); }
.rt-btn.alt { background: #fff; color: #0f766e; border: 2px solid #0d9488; box-shadow: none; font-size: clamp(11px, 1.4vw, 15px); font-weight: 800; flex: 1; }
.rt-btn:disabled { opacity: .45; }
.rt-row { display: flex; gap: 6px; }
.rt-fb { margin: 0; min-height: 2.4em; font-weight: 800; font-size: clamp(12px, 1.6vw, 18px); line-height: 1.3; }
.rt-fb.ok { color: #15803d; } .rt-fb.bad { color: #dc2626; }
.rt-names { display: flex; flex-direction: column; gap: 6px; }
.rt-names input { min-height: 40px; border: 3px solid #cbd5e1; border-radius: 10px; padding: 0 10px; font: inherit; font-weight: 700; font-size: 16px; }
.rt-recap { text-align: left; max-height: 30vh; overflow-y: auto; font-size: clamp(11px, 1.4vw, 15px); font-weight: 600; margin: 4px 0 8px; }
.rt-recap div { padding: 1px 0; } .rt-recap b { color: #0f766e; }
@media (max-height: 520px) { .rt-wrap { padding: 3px 6px; } .rt-stage { border-width: 2px; border-radius: 12px; } .rt-board { padding: 3px 6px; } .rt-slot { min-height: 26px; border-width: 2px; } .rt-panel { gap: 3px; padding: 4px 8px; } .rt-fb { min-height: 1.4em; } }
@media (max-width: 640px) and (orientation: portrait) { .rt-stage { grid-template-columns: 1fr; grid-template-rows: minmax(0, 1.2fr) auto; } .rt-panel { border-left: 0; border-top: 3px solid #fff; } }

.sv-q { margin: 0; font-weight: 900; font-size: clamp(14px, 2vw, 24px); line-height: 1.25; color: #134e4a; }
.rt-slot .p { font-size: .9em; background: #134e4a; color: #fde047; border-radius: 8px; padding: 0 8px; min-width: 2.2em; text-align: center; }
.rt-slot.closed .w { letter-spacing: .05em; color: #cbd5e1; }
.rt-slot.sisa { background: #fef3c7; border-color: #d97706; }
.rt-slot { cursor: default; }
.sv-strikes { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.sv-strikes div { display: flex; gap: 4px; justify-content: center; }
.sv-strikes i { font-style: normal; width: 1.5em; height: 1.5em; border: 2px solid #cbd5e1; border-radius: 6px; display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: clamp(13px, 2vw, 20px); color: transparent; }
.sv-strikes i.x { background: #dc2626; border-color: #dc2626; color: #fff; }
.sv-big { position: absolute; inset: 0; display: none; align-items: center; justify-content: center; font-size: clamp(80px, 30vh, 240px); font-weight: 900; color: #dc2626; text-shadow: 0 0 0 #fff, 0 6px 0 rgba(0,0,0,.25); pointer-events: none; background: rgba(255,255,255,.35); z-index: 3; }
.sv-big.on { display: flex; animation: rt-pop .6s; }
.sv-q { flex: 0 0 auto; }
.rt-slots { overflow: hidden; }
.rt-slot { min-height: 0; flex: 1 1 0; }
@media (max-height: 520px) { .sv-q { font-size: clamp(11px, 1.7vw, 15px); line-height: 1.15; } .rt-hud { font-size: 10px; } .rt-slot { max-height: 34px; font-size: clamp(12px, 2vw, 18px); border-width: 2px; padding: 0 8px; } .rt-slots { gap: 2px; } .rt-board { gap: 3px; } .rt-hud span { padding: 0 8px; } }
