/* LLM Arcade — bold black-border theme shared with inquirelab.ai/llm-club */
:root { --paper: #f5f2ea; --ink: #0b0b0b; --yellow: #e8ff47; --violet: #7c3aed; --red: #ff3b30; --muted: #4b4b4b; }
* { box-sizing: border-box; }
body { margin: 0; font-family: "Outfit", "Manrope", "Segoe UI", Arial, sans-serif; background: var(--paper); color: var(--ink); min-height: 100vh; }

.top { background: var(--ink); color: #fff; padding: 1rem 1.4rem; display: flex; align-items: center; gap: 0.9rem; border-bottom: 4px solid var(--yellow); }
.top img { width: 44px; height: 44px; }
.top h1 { font-size: 1.3rem; margin: 0; letter-spacing: -0.02em; text-transform: uppercase; }
.top .sub { font-size: 0.78rem; color: var(--yellow); margin-top: 2px; font-family: Consolas, monospace; letter-spacing: 0.06em; }
.top a { color: var(--yellow); margin-left: auto; font-size: 0.85rem; text-decoration: none; font-weight: 700; text-transform: uppercase; }

.wrap { max-width: 1080px; margin: 0 auto; padding: 1.6rem 1.25rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.4rem; }

.card { background: #fff; border: 3px solid var(--ink); box-shadow: 8px 8px 0 var(--ink); padding: 1.4rem; }
a.game-card { text-decoration: none; color: inherit; display: block; transition: transform 0.12s, box-shadow 0.12s; }
a.game-card:hover { transform: translate(3px, 3px); box-shadow: 5px 5px 0 var(--ink); }
a.game-card:nth-child(2) { background: var(--violet); color: #fff; }
a.game-card:nth-child(3) { background: var(--yellow); }
.game-card .emoji { font-size: 2.4rem; }
.game-card h2 { margin: 0.5rem 0 0.35rem; font-size: 1.35rem; text-transform: uppercase; letter-spacing: -0.02em; }
.game-card p { margin: 0; font-size: 0.92rem; line-height: 1.5; }
.game-card .tag { display: inline-block; margin-top: 0.9rem; font-size: 0.7rem; font-weight: 700; background: var(--ink); color: var(--yellow); padding: 0.25rem 0.6rem; letter-spacing: 0.08em; text-transform: uppercase; }
a.game-card:nth-child(2) .tag { background: #fff; color: var(--violet); }

.intro { margin: 0 0 1.3rem; color: var(--muted); line-height: 1.6; }
.intro strong { color: var(--ink); }

.duo { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.85fr); gap: 1.4rem; align-items: start; }
@media (max-width: 860px) { .duo { grid-template-columns: 1fr; } }

.btn { font: inherit; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em; cursor: pointer; border: 3px solid var(--ink); background: #fff; color: var(--ink); padding: 0.65rem 1.05rem; box-shadow: 4px 4px 0 var(--ink); transition: transform 0.12s, box-shadow 0.12s; }
.btn:hover:not(:disabled) { transform: translate(2px, 2px); box-shadow: 2px 2px 0 var(--ink); }
.btn:disabled { opacity: 0.4; cursor: default; }
.btn-crimson { background: var(--ink); color: var(--yellow); }
.btn-crimson:hover:not(:disabled) { background: #222; }
.btn-danger { background: var(--red); color: #fff; }
.btn-ghost { background: #fff; }
.btn-row { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-top: 1rem; }

/* the mind panel */
.mind h3 { margin: 0 0 0.3rem; display: flex; align-items: center; gap: 0.5rem; font-size: 1rem; text-transform: uppercase; }
.mind h3 img { width: 26px; height: 26px; }
.mind .status { font-size: 0.75rem; color: var(--muted); min-height: 1.1em; font-family: Consolas, monospace; }
.mind .status .live { color: var(--red); font-weight: bold; }
.think { margin-top: 0.7rem; background: var(--ink); color: #e8e8e8; border: 3px solid var(--ink); padding: 0.85rem; font-family: Consolas, "JetBrains Mono", monospace; font-size: 0.84rem; line-height: 1.55; min-height: 7.5em; max-height: 15em; overflow-y: auto; white-space: pre-wrap; }
.think .cursor { display: inline-block; width: 0.55em; height: 1em; background: var(--yellow); vertical-align: -0.15em; animation: blink 0.9s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }
.say { margin-top: 0.7rem; background: var(--yellow); border: 3px solid var(--ink); padding: 0.65rem 0.85rem; font-size: 0.98rem; min-height: 1.4em; font-weight: 600; }
.metrics { margin-top: 0.55rem; font-size: 0.72rem; color: var(--muted); font-family: Consolas, monospace; }
.metrics b { color: var(--violet); }
.skip { float: right; font-size: 0.72rem; color: var(--violet); background: none; border: none; cursor: pointer; text-decoration: underline; font-weight: 700; }

/* poker table */
.felt { background: #0f3d2e; border: 3px solid var(--ink); padding: 1.1rem; color: #fff; }
.felt .label { font-size: 0.7rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--yellow); margin-bottom: 0.35rem; font-family: Consolas, monospace; }
.cards { display: flex; gap: 0.5rem; }
.pcard { width: 58px; height: 82px; background: #fff; color: var(--ink); border: 3px solid var(--ink); display: flex; flex-direction: column; align-items: center; justify-content: center; font-size: 1.35rem; font-weight: bold; box-shadow: 3px 3px 0 var(--ink); }
.pcard.red { color: var(--red); }
.pcard.back { background: repeating-linear-gradient(45deg, var(--violet), var(--violet) 6px, #5b21b6 6px, #5b21b6 12px); }
.pot { text-align: center; font-size: 0.9rem; margin: 0.8rem 0; color: var(--yellow); font-family: Consolas, monospace; }
.chips-row { display: flex; justify-content: space-between; font-size: 0.85rem; margin-top: 0.8rem; font-weight: 700; }
.verdict { text-align: center; font-weight: 700; font-size: 1.05rem; margin-top: 0.8rem; min-height: 1.3em; text-transform: uppercase; }

/* maze */
.maze-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 0.9rem; }
.maze-box .who { font-size: 0.8rem; font-weight: 700; margin-bottom: 0.4rem; display: flex; justify-content: space-between; text-transform: uppercase; }
canvas.maze { width: 100%; border: 3px solid var(--ink); background: #fff; touch-action: none; }
.hint { font-size: 0.78rem; color: var(--muted); margin-top: 0.6rem; }

/* mind reader */
.qa { font-size: 0.92rem; max-height: 14em; overflow-y: auto; }
.qa .q { margin: 0.55rem 0 0.15rem; font-weight: 700; }
.qa .a { color: var(--violet); font-weight: 700; }
.bigq { font-size: 1.2rem; font-weight: 700; margin: 0.9rem 0; min-height: 1.6em; }

.banner { margin-top: 1rem; padding: 0.9rem 1.1rem; border: 3px solid var(--ink); font-weight: 700; text-align: center; display: none; text-transform: uppercase; }
.banner.win { display: block; background: var(--yellow); }
.banner.lose { display: block; background: var(--red); color: #fff; }
.banner.info { display: block; background: var(--violet); color: #fff; }

.foot { text-align: center; color: var(--muted); font-size: 0.75rem; padding: 1.5rem 0 2rem; font-family: Consolas, monospace; }
.foot a { color: var(--violet); font-weight: 700; }
