:root{color-scheme:dark;font-family:system-ui,sans-serif;background:#080d1d;color:#edf7ff}*{box-sizing:border-box}body{margin:0;background:radial-gradient(ellipse at top right,#39246b66,transparent 65%),#080d1d}main{max-width:1100px;margin:auto;padding:20px}button,a{touch-action:manipulation}button{font:inherit;font-weight:750;border:1px solid #405071;background:#17233c;color:#eef9ff;border-radius:12px;padding:12px;cursor:pointer;min-height:48px}button:hover:not(:disabled){border-color:#54edf4;background:#233957}button:disabled{opacity:.4;cursor:default}button:focus-visible,a:focus-visible{outline:3px solid #ffc55d;outline-offset:4px}a{color:#6feaf0}header{display:flex;align-items:center;gap:12px;flex-wrap:wrap;font-size:12px}header span{flex:1;letter-spacing:1px}.title{display:flex;align-items:center;justify-content:space-between;margin:28px 0}.title small{color:#86a7c8;letter-spacing:2px}h1{font-size:clamp(38px,7vw,65px);margin:0;letter-spacing:-3px}h1 em{font-style:normal;color:#63eced}.title p{margin:4px 0;color:#b4c7e1}.scores{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}.score{display:flex;align-items:center;gap:10px;background:#121d32;border:1px solid #334665;padding:12px;border-radius:16px}.score img{width:48px;height:58px;object-fit:cover;border-radius:10px}.score strong{display:block;color:#6aeeee;font-size:23px}.score small{color:#c2cde0}.arena{background:linear-gradient(145deg,#13263c,#18162f);border:1px solid #344567;border-radius:22px;padding:20px;margin:20px 0}.round{display:flex;justify-content:space-between;gap:10px;flex-wrap:wrap;font-size:14px}.round span{color:#ffc55d}.network{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;padding:20px 0;background:linear-gradient(90deg,transparent 10%,#4ddeeb22 50%,transparent 90%) center/100% 3px no-repeat}.audience{display:flex;align-items:center;flex-direction:column;gap:5px;background:#0c172c}.audience img{width:90px;height:90px;object-fit:contain}.audience.chosen{border:2px solid #55e9ec;box-shadow:0 0 25px #3dc6d433}.audience span{font-size:12px;color:#bccce2}.audience.pulse{animation:spread .65s ease 2}@keyframes spread{50%{box-shadow:0 0 35px #61efeb;transform:translateY(-4px)}}.broadcast{display:flex;gap:18px;align-items:center}.broadcast img{width:90px;height:90px;object-fit:cover;border-radius:14px}.broadcast small{font-size:10px;color:#ad99e8;letter-spacing:2px}.broadcast h2{margin:4px 0;font-size:20px}.broadcast p{margin:0;color:#c0d1e5;font-size:14px}#log{min-height:44px;margin-top:16px;color:#ffda90;font-size:14px}.hand-title{display:flex;justify-content:space-between;align-items:center;gap:10px}.hand-title h2{font-size:20px}.hand-title span{color:#b4c7e1;font-size:13px}.hand{display:grid;grid-template-columns:repeat(4,1fr);gap:12px}.card{padding:0;text-align:left;overflow:hidden;background:#131e34}.card img{width:100%;aspect-ratio:1;object-fit:cover;display:block}.card .copy{padding:12px;display:block}.card b{display:block;font-size:15px}.card small{display:block;font-size:11px;color:#c2d3e8;margin-top:6px}.card.selected{outline:3px solid #61e9ee;outline-offset:2px}.controls{display:flex;gap:8px;flex-wrap:wrap;margin:22px 0;position:sticky;bottom:0;background:#080d1df5;padding:12px 0}.controls button{flex:1}.controls small{display:block;font-size:10px;color:#b7cee6}#publish{background:#4cdedb;color:#061a23}#publish small{color:#173341}#end{background:#744ac3}dialog{background:#142039;border:1px solid #62dcdf;border-radius:22px;color:#eff8ff;max-width:560px;width:calc(100% - 32px);padding:25px;line-height:1.6}dialog::backdrop{background:#020714cc}dialog a{display:inline-block;margin:15px}dialog li{margin:12px 0}@media(max-width:600px){main{padding:12px}.scores{gap:6px}.score{padding:8px;display:block}.score img{width:38px;height:42px;float:left;margin-right:6px}.score strong{font-size:19px}.score small{font-size:10px}.score b{font-size:12px}.network{gap:7px}.audience{padding:8px;font-size:12px}.audience img{width:65px;height:65px}.arena{padding:14px}.hand{grid-template-columns:repeat(2,1fr)}.controls{display:grid;grid-template-columns:repeat(2,1fr)}#end{grid-column:1/-1}.title{margin:20px 0}.broadcast h2{font-size:17px}}@media(prefers-reduced-motion:reduce){*{animation:none!important;transition:none!important}}

#instructions{max-width:760px;max-height:85dvh;padding:0;overflow:auto}.rule-header{position:sticky;top:0;z-index:1;background:#142039;display:flex;gap:12px;align-items:center;justify-content:space-between;padding:16px 20px;border-bottom:1px solid #405071}.rule-header small{color:#63eced;font-size:10px;letter-spacing:1px}.rule-header h2{font-size:21px;margin:0}.rule-header button{flex-shrink:0}.rule-content{padding:4px 20px 20px}.rule-content section{padding:14px 0;border-bottom:1px solid #344567}.rule-content h3{color:#63eced;margin:0 0 8px}.rule-content p{margin:8px 0}.rule-content dt{font-weight:750;color:#ffda90;margin-top:12px}.rule-content dd{margin:4px 0 12px}.rule-table{overflow-x:auto}.rule-table table{width:100%;border-collapse:collapse;font-size:14px}.rule-table caption{text-align:left;font-weight:750}.rule-table th,.rule-table td{text-align:left;padding:8px;border-bottom:1px solid #405071}.rule-example{background:#233957;border-radius:12px;padding:16px!important;margin-top:14px}@media(max-width:600px){.rule-header{padding:12px}.rule-header h2{font-size:17px}.rule-header button{font-size:12px;padding:8px}.rule-content{padding:0 14px 14px}}


@media(max-width:430px){.audience{min-width:0;padding:8px 3px}.audience img{max-width:100%;height:auto}.audience b{overflow-wrap:anywhere}.scores{gap:6px}.score{min-width:0;flex-wrap:wrap;padding:8px}}
