#entryTech { --ink: #0e0f14; --gold: #f2b84b; --muted: #5b5648; font-family: 'Itim', system-ui, sans-serif; color: var(--ink); min-width: 0; }
/* ----- entry-technique status board (read-only, 2026-10-10). Works before login; only displays data/entry-techniques.json ----- */
#entryTech .intel-tech { margin: 16px 0; border: 3px solid var(--ink); border-radius: 16px; background: #fff; color: var(--ink); box-shadow: 5px 5px 0 var(--ink); }
#entryTech .intel-tech > summary { cursor: pointer; list-style: none; display: grid; gap: 2px; padding: 12px 16px; border-radius: 13px; background: #fff1a8; }
#entryTech .intel-tech > summary::-webkit-details-marker { display: none; }
#entryTech .intel-tech[open] > summary { border-bottom: 3px solid var(--ink); border-radius: 13px 13px 0 0; }
#entryTech .intel-tech > summary b { font-family: 'Bangers', 'Itim', system-ui, sans-serif; font-size: 1.5rem; letter-spacing: .03em; font-weight: 400; line-height: 1.2; }
#entryTech .intel-tech > summary::after { content: 'พับ/เปิด ▾'; position: absolute; }
#entryTech .intel-tech > summary { position: relative; padding-right: 96px; }
#entryTech .intel-tech > summary::after { right: 14px; top: 12px; font-size: .85rem; color: #4a4636; }
#entryTech .tech-eyebrow { font-size: .8rem; color: #c4251b; font-weight: 700; letter-spacing: .06em; }
#entryTech .tech-summary { font-size: .95rem; color: #3a3626; }
#entryTech .tech-body { padding: 14px 16px 16px; display: grid; gap: 14px; }
#entryTech .tech-top { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
#entryTech .tech-pill { border: 2.5px solid var(--ink); border-radius: 999px; padding: 2px 12px; background: #d9f2ff; font-size: .95rem; }
#entryTech .tech-pill b { font-size: 1.1rem; }
#entryTech .tech-updated { font-size: .85rem; color: var(--muted, #5b5648); margin-left: auto; }
#entryTech .tech-lead { margin: 0; font-size: 1rem; line-height: 1.5; }
#entryTech .tech-cards { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 330px), 1fr)); gap: 12px; }
#entryTech .tech-card { display: grid; gap: 8px; align-content: start; min-width: 0; padding: 12px; border: 3px solid var(--ink); border-left-width: 9px; border-radius: 14px; background: #fffdf5; box-shadow: 3px 3px 0 var(--ink); }
#entryTech .tech-card.v-pass { border-left-color: #16a05b; } #entryTech .tech-card.v-fail { border-left-color: #d7263d; } #entryTech .tech-card.v-wait { border-left-color: var(--gold); } #entryTech .tech-card.v-none { border-left-color: #9aa3b2; }
#entryTech .tech-card header { display: flex; gap: 8px; justify-content: space-between; align-items: flex-start; }
#entryTech .tech-card h4 { margin: 0; font-size: 1.05rem; line-height: 1.35; font-family: 'Itim', system-ui, sans-serif; letter-spacing: 0; overflow-wrap: anywhere; min-width: 0; }
#entryTech .tech-verdict { flex: none; border: 2.5px solid var(--ink); border-radius: 999px; padding: 1px 10px; font-size: .85rem; font-weight: 700; white-space: nowrap; background: #e6e8ee; }
#entryTech .tech-verdict.pass { background: #b6f0d8; } #entryTech .tech-verdict.fail { background: #ffb3b3; } #entryTech .tech-verdict.wait { background: #ffe9a8; }
#entryTech .tech-rank { justify-self: start; border: 2px solid var(--ink); border-radius: 8px; padding: 0 8px; background: var(--gold); font-weight: 700; font-size: .9rem; }
#entryTech .tech-steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; }
#entryTech .tech-steps li { display: grid; justify-items: center; gap: 2px; text-align: center; font-size: .72rem; line-height: 1.2; color: #6b6656; position: relative; }
#entryTech .tech-steps li i { font-style: normal; display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #9aa3b2; background: #fff; font-size: .72rem; font-weight: 700; }
#entryTech .tech-steps li.done { color: #0a7a3a; } #entryTech .tech-steps li.done i { background: #b6f0d8; border-color: #16a05b; }
#entryTech .tech-steps li.now { color: var(--ink); font-weight: 700; } #entryTech .tech-steps li.now i { background: var(--gold); border-color: var(--ink); box-shadow: 0 0 0 3px rgba(242,184,75,.45); }
#entryTech .tech-variants, #entryTech .tech-evidence, #entryTech .tech-note, #entryTech .tech-nometrics, #entryTech .tech-luck { margin: 0; font-size: .9rem; line-height: 1.45; overflow-wrap: anywhere; }
#entryTech .tech-variants code, #entryTech .tech-help code { background: #eef0f5; border: 1.5px solid #c8ccd6; border-radius: 6px; padding: 0 5px; font-size: .8rem; overflow-wrap: anywhere; }
#entryTech .tech-q { display: inline-block; border: 2px solid var(--ink); border-radius: 999px; padding: 0 8px; font-size: .75rem; margin-left: 4px; }
#entryTech .tech-q.q-high { background: #b6f0d8; } #entryTech .tech-q.q-mid { background: #ffe9a8; } #entryTech .tech-q.q-low { background: #ffd0c8; }
#entryTech .tech-crit { border: 2px solid var(--ink); border-radius: 10px; padding: 8px 10px; background: #fff; }
#entryTech .tech-crit-head { display: flex; justify-content: space-between; gap: 8px; flex-wrap: wrap; font-size: .9rem; margin-bottom: 4px; }
#entryTech .tech-crit ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
#entryTech .tech-crit li { display: grid; grid-template-columns: 22px 1fr; gap: 6px; font-size: .88rem; line-height: 1.35; }
#entryTech .tech-crit li b { display: grid; place-items: center; width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--ink); font-size: .8rem; background: #e6e8ee; }
#entryTech .tech-crit li.ok b { background: #b6f0d8; color: #0a7a3a; } #entryTech .tech-crit li.no b { background: #ffb3b3; color: #c4251b; }
#entryTech .tech-crit li em { font-style: normal; color: #5b5648; }
#entryTech .tech-metrics { margin: 0; display: grid; gap: 4px; }
#entryTech .tech-metrics div { display: flex; justify-content: space-between; gap: 10px; border-bottom: 1.5px dotted #b9b29a; padding-bottom: 2px; font-size: .88rem; }
#entryTech .tech-metrics dt { color: #4a4636; min-width: 0; } #entryTech .tech-metrics dd { margin: 0; font-weight: 700; text-align: right; flex: none; }
#entryTech .tech-metrics .tech-metric-note, #intelTech .tech-metrics .tech-metric-note { display: block; }
#entryTech .tech-metrics .tech-metric-note dd, #intelTech .tech-metrics .tech-metric-note dd { text-align: left; white-space: normal; overflow-wrap: anywhere; margin-top: 3px; }
#entryTech .tech-nometrics { color: #6b6656; }
#entryTech .tech-luck { padding: 6px 8px; border: 2px dashed #c4251b; border-radius: 8px; background: #ffe0dc; color: #8f1a12; }
#entryTech .tech-note { padding: 6px 8px; border-radius: 8px; background: #eef6ff; }
#entryTech .tech-usable { padding: 12px 14px; border: 3px solid var(--ink); border-radius: 14px; box-shadow: 3px 3px 0 var(--ink); }
#entryTech .tech-usable.no { background: #fff1a8; } #entryTech .tech-usable.yes { background: #c9f7df; }
#entryTech .tech-usable h4, #entryTech .tech-rank-box h4, #entryTech .tech-help h4 { margin: 0 0 4px; font-size: 1.25rem; color: var(--ink); }
#entryTech .tech-usable p { margin: 4px 0 0; line-height: 1.5; }
#entryTech .tech-rank-box small { color: #5b5648; }
#entryTech .tech-table-wrap { overflow-x: auto; border: 2px solid var(--ink); border-radius: 10px; margin: 6px 0; }
#entryTech .tech-table-wrap table { border-collapse: collapse; width: 100%; font-size: .88rem; min-width: 440px; }
#entryTech .tech-table-wrap th, #entryTech .tech-table-wrap td { padding: 6px 8px; border-bottom: 1.5px solid #d8d0b8; text-align: left; }
#entryTech .tech-table-wrap thead th { background: #fff1a8; }
#entryTech .tech-help { padding: 10px 14px; border: 2px dashed var(--ink); border-radius: 12px; background: #f6f8fc; }
#entryTech .tech-help ul { margin: 0; padding-left: 18px; display: grid; gap: 4px; font-size: .9rem; line-height: 1.45; overflow-wrap: anywhere; }
#entryTech .tech-warn { margin: 0; padding: 10px 14px; border: 3px solid #c4251b; border-radius: 12px; background: #ffe0dc; color: #7a150e; font-size: .92rem; line-height: 1.5; }
#entryTech .tech-empty { margin: 0; padding: 10px; color: #4a4636; }
@media (max-width: 600px) {
  #entryTech .intel-tech > summary b { font-size: 1.25rem; }
  #entryTech .tech-updated { margin-left: 0; flex-basis: 100%; }
  #entryTech .tech-body { padding: 12px; }
  #entryTech .tech-steps li { font-size: .68rem; }
}
#entryTech .tech-body > * { min-width: 0; }
#entryTech .intel-tech { min-width: 0; max-width: 100%; }
#entryTech .tech-table-wrap table, #entryTech .tech-table-wrap tbody th, #entryTech .tech-table-wrap td { background: #fff; color: var(--ink); }
#entryTech .tech-table-wrap thead th { background: #fff1a8; color: var(--ink); }
#entryTech .tech-table-wrap tbody th { text-align: center; width: 3.2em; }

/* per-line split (2026-10-10): racer = yellow/orange, gunmen = slate/purple */
#entryTech .tech-line { display: grid; gap: 12px; min-width: 0; padding: 12px; border: 3px solid var(--ink); border-radius: 16px; box-shadow: 4px 4px 0 var(--ink); }
#entryTech .tech-line.line-racer { background: #fff4d6; border-top: 10px solid #ff9a1f; }
#entryTech .tech-line.line-gunmen { background: #e9e6f5; border-top: 10px solid #4b3f72; }
#entryTech .tech-line.line-unknown { background: #f1f1f1; border-top: 10px dashed #c4251b; }
#entryTech .tech-line > * { min-width: 0; }
#entryTech .tech-line-head { display: flex; gap: 10px; align-items: center; }
#entryTech .tech-line-icon { font-size: 2rem; line-height: 1; }
#entryTech .tech-line-head h3 { margin: 0; font-size: 1.5rem; color: var(--ink); text-shadow: none; }
#entryTech .tech-line-head small { color: #4a4636; }
#entryTech .tech-line.line-racer .tech-line-head h3 { color: #a14a00; }
#entryTech .tech-line.line-gunmen .tech-line-head h3 { color: #3b2f63; }
#entryTech .tech-pill.line-racer { background: #ffd27a; } #entryTech .tech-pill.line-gunmen { background: #cfc6ee; } #entryTech .tech-pill.line-unknown { background: #e6e6e6; }
#entryTech .tech-owner { justify-self: start; display: inline-block; padding: 3px 12px; border: 2.5px solid var(--ink); border-radius: 8px; font-weight: 700; font-size: 1rem; }
#entryTech .tech-owner.line-racer { background: #ffb347; } #entryTech .tech-owner.line-gunmen { background: #4b3f72; color: #fff; } #entryTech .tech-owner.line-unknown { background: #fff; color: #c4251b; border-style: dashed; }
#entryTech .tech-sep { font-size: .85rem; color: #4a4636; } #entryTech .tech-usable.warn { background: #ffe0dc; }
#entryTech .tech-empty { border: 2px dashed var(--ink); border-radius: 10px; background: #fff; }
#entryTech .tech-overall { display: grid; gap: 6px; }
#entryTech .tech-overall-row { display: flex; flex-wrap: wrap; gap: 4px 10px; align-items: center; }
#entryTech .tech-overall-text { font-size: .95rem; line-height: 1.4; min-width: 0; flex: 1 1 240px; }
#entryTech .tech-pill.pass { background: #b6f0d8; }
#entryTech .tech-pill.fail { background: #ffb3b3; border-color: #c4251b; color: #7a150e; }
#entryTech .tech-overall .tech-updated { margin-left: 0; }

/* Live research progress (2026-10-11) */
.tech-progress { margin: 12px 0; border: 2px solid #141414; border-radius: 14px; background: #fffdf5; padding: 10px 14px; display: grid; gap: 8px; }
.tech-progress header { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; justify-content: space-between; }
.tp-chip { border: 2px solid #141414; border-radius: 999px; padding: 1px 10px; font-size: .78rem; font-weight: 700; background: #cdeccd; } .tp-chip.run { background: #ffd23f; }
.tp-bar { height: 14px; border: 2px solid #141414; border-radius: 999px; background: #fff; overflow: hidden; } .tp-bar i { display: block; height: 100%; background: #3fa34d; transition: width .4s; }
.tp-line { margin: 0; font-size: .92rem; } .tp-note { margin: 0; font-size: .82rem; color: #555; }
.tp-verdict { margin: 0; padding: 6px 10px; border: 2px solid #141414; border-radius: 10px; font-size: .88rem; } .tp-verdict.pass { background: #cdeccd; } .tp-verdict.fail { background: #ffe0b3; }
.tp-star { border: 3px solid #141414; border-radius: 12px; background: #fff3a8; padding: 8px 12px; font-size: .88rem; display: grid; gap: 4px; } .tp-star span { display: block; border-top: 1px dashed #141414; padding-top: 3px; } .tp-star small { color: #333; }
.tp-list > summary { cursor: pointer; font-weight: 700; font-size: .86rem; } .tp-list ol { list-style: none; margin: 6px 0 0; padding: 0; max-height: 280px; overflow: auto; display: grid; gap: 3px; }
.tp-list li { display: grid; grid-template-columns: 2.2em 1fr; gap: 2px 8px; font-size: .8rem; padding: 3px 6px; border-radius: 6px; } .tp-list li.hot { background: #fff3a8; font-weight: 700; }
.tp-list li .r { grid-column: 2; color: #444; } .tp-list li .hotchip { grid-column: 2; font-size: .72rem; }
.tp-foot { color: #555; font-size: .75rem; overflow-wrap: anywhere; }
.tp-fam { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; } .tp-fam li { border: 2px solid #141414; border-radius: 10px; padding: 5px 10px; font-size: .85rem; display: grid; gap: 1px; } .tp-fam li.pass { background: #cdeccd; } .tp-fam li.fail { background: #ffe9c7; } .tp-fam li span { color: #333; }

/* Speed Racer top 3 (2026-10-12) */
.tech-top3 { border: 2px solid #141414; border-radius: 12px; background: #fffdf5; padding: 8px 12px; margin: 8px 0; }
.tech-top3 h4 { margin: 0 0 6px; } .tech-top3 ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.tech-top3 li { display: grid; grid-template-columns: 2em 1fr; gap: 8px; align-items: start; } .tech-top3 li > div { display: grid; gap: 2px; }
.tt3-rank { display: grid; place-items: center; width: 1.8em; height: 1.8em; border: 2px solid #141414; border-radius: 50%; background: #ffd23f; font-weight: 800; }
.tech-top3 small { color: #444; } .tech-top3-note { margin: 6px 0 0; font-size: .8rem; color: #555; }
.tech-rest { margin: 8px 0; } .tech-rest > summary { cursor: pointer; font-weight: 700; font-size: .88rem; } .tech-rest-list { margin: 6px 0 0; padding-left: 1.1em; font-size: .82rem; }
.tech-top3 li > div > .tech-verdict { justify-self: start; }

#entryTech .tech-line.line-gold { background: #fff1b8; border-top: 10px solid #7a3b22; }
#entryTech .tech-line.line-gold .tech-line-head h3 { color: #7a3b22; }
#entryTech .tech-pill.line-gold { background: #ffc21a; }
#entryTech .tech-owner.line-gold { background: #7a3b22; color: #fff1b8; }
