/* Ono (Uno rules). The table is drawn at 1920 x 1080 inside .ono-stage and scaled to fit by ono.js. */
.ono { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 14px; align-items: start; }
@media (max-width: 1050px) { .ono { grid-template-columns: 1fr; } }
.ono-main { min-width: 0; }
.ono-side { display: flex; flex-direction: column; gap: 12px; }
.ono-side .card { padding: 12px; }

.ono-tablewrap { position: relative; overflow: hidden; border-radius: 16px; background: radial-gradient(ellipse at 50% 50%, #1d6a87 0%, #0e3c52 45%, #061c27 100%); box-shadow: 0 10px 30px rgba(0,0,0,.4); }
.ono-stage { position: absolute; left: 0; top: 0; width: 1920px; height: 1080px; transform-origin: 0 0; }
.ox-table { position: absolute; left: 490px; top: 330px; width: 940px; height: 420px; border-radius: 50%; background: radial-gradient(ellipse at 50% 40%, #ead9ab, #cdb27a 70%, #a98c55);
  box-shadow: inset 0 0 0 12px #7a5a2c, inset 0 0 40px rgba(0,0,0,.35), 0 20px 60px rgba(0,0,0,.5); }
.ox-swim { position: absolute; left: 0; top: 0; pointer-events: none; overflow: visible; }
.ox-swim .f { animation: oxwig .5s ease-in-out infinite alternate; }
@keyframes oxwig { from { transform: rotate(-8deg); } to { transform: rotate(8deg); } }
.ox-pile { position: absolute; line-height: 0; filter: drop-shadow(0 8px 12px rgba(0,0,0,.45)); }
.ox-pile.draw { left: 688px; top: 405px; padding: 0; border: 0; background: none; cursor: default; }
.ox-pile.draw .under { position: absolute; left: 6px; top: 6px; }
.ox-pile.draw > svg { position: relative; }
.ox-pile.draw.live { cursor: pointer; animation: oxlive 1.4s ease-in-out infinite; }
@keyframes oxlive { 50% { filter: drop-shadow(0 0 18px #ffd24a) drop-shadow(0 8px 12px rgba(0,0,0,.45)); } }
.ox-pile.disc { left: 906px; top: 397px; }
.ox-halo { position: absolute; left: 836px; top: 367px; width: 300px; height: 300px; border-radius: 50%; }
.ox-lbl { position: absolute; left: 906px; top: 651px; width: 160px; text-align: center; font: 800 26px system-ui; color: #2a1e0c; }
.ox-pill { position: absolute; text-align: center; font: 700 22px system-ui; color: #3b2a14; white-space: nowrap; }
.ox-pill.draw-lbl { left: 688px; top: 647px; width: 160px; }
.ox-pill.dir { left: 840px; top: 362px; width: 240px; }
.ox-pill.pend { left: 1110px; top: 440px; width: 260px; white-space: normal; background: #5b2a86; color: #fff; border-radius: 14px; padding: 8px 10px; font-size: 22px; }
.ox-seat { position: absolute; width: 270px; height: 148px; }
.ox-seat .fant { position: absolute; left: 0; right: 0; top: 0; height: 64px; }
.ox-seat .fant span, .ono-strip .fant span { position: absolute; bottom: 0; line-height: 0; filter: drop-shadow(0 3px 4px rgba(0,0,0,.45)); }
.ox-seat .onotag { position: absolute; right: 6px; top: 18px; z-index: 2; background: #d8443a; color: #fff; font: 900 20px Georgia, serif; padding: 3px 10px; border-radius: 999px; box-shadow: 0 2px 6px rgba(0,0,0,.4); }
.ox-seat .onotag.forgot { background: #1d1a17; color: #ff8c8c; font-size: 17px; }
.ox-seat .ban { position: absolute; left: 0; bottom: 0; width: 270px; height: 84px; display: grid; grid-template-columns: 62px 1fr auto; gap: 12px; align-items: center; background: #0a2633;
  border: 3px solid #2a6a86; border-radius: 20px; padding: 10px 14px; box-sizing: border-box; }
.ox-seat .av { width: 60px; height: 60px; border-radius: 50%; background: #fff; border: 5px solid var(--pc); display: grid; place-items: center; line-height: 0; box-sizing: border-box; }
.ox-seat .nm { font: 800 40px/1.1 system-ui; white-space: nowrap; overflow: hidden; min-width: 0; color: #eef6f8; }
.ox-seat .ct { font: 900 24px system-ui; color: #1d1a17; background: #ffd24a; border-radius: 999px; padding: 2px 10px; }
.ox-seat.cur .ban { border-color: #ffd24a; box-shadow: 0 0 0 4px rgba(255,210,74,.35), 0 0 30px rgba(255,210,74,.5); }
.ox-seat.exposed .ban { border-color: #d8443a; box-shadow: 0 0 0 4px rgba(216,68,58,.4), 0 0 26px rgba(216,68,58,.6); }
.ox-seat.callable { cursor: pointer; }
.ox-seat.callable:hover .ban { border-color: #ff8c8c; }

/* phones */
.ono-strip { background: linear-gradient(#0d2f40, #06202c); border-radius: 16px; padding: 10px; }
.ox-cur { display: flex; gap: 12px; align-items: center; margin-bottom: 6px; }
.ox-cur .c0 { line-height: 0; }
.ox-cur .info { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.ono .chip { display: inline-flex; gap: 8px; align-items: center; background: #12384b; border-radius: 999px; padding: 5px 12px; font: 700 14px system-ui; white-space: nowrap; color: #eef6f8; }
.ono .chip.warn { background: #5b2a86; }
.ono .chip .dot { width: 14px; height: 14px; border-radius: 50%; }
.ox-minis { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px 4px; }
.ox-minis .omini { background: none; border: 0; padding: 0; color: #9fc3d3; font-size: 12px; text-align: center; min-width: 0; cursor: pointer; position: relative; }
.ox-minis .aw { position: relative; height: 56px; }
.ox-minis .aw .fant { position: absolute; left: 0; right: 0; top: 0; height: 18px; }
.ox-minis .a { position: absolute; left: calc(50% - 20px); top: 16px; width: 40px; height: 40px; border-radius: 50%; background: #fff; border: 3px solid var(--pc); display: grid; place-items: center; line-height: 0; box-sizing: border-box; }
.ox-minis .omini.cur .a { box-shadow: 0 0 0 3px #ffd24a; }
.ox-minis .omini.exposed .a { box-shadow: 0 0 0 3px #d8443a, 0 0 12px #d8443a; }
.ox-minis b { display: block; color: #eef6f8; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ox-minis .ono { position: absolute; right: 0; top: 0; background: #d8443a; color: #fff; font: 900 10px Georgia, serif; padding: 1px 4px; border-radius: 999px; font-style: normal; }

/* you */
.ono-me { margin-top: 12px; padding: 12px; }
.ox-top { display: flex; justify-content: space-between; align-items: center; gap: 8px; margin-bottom: 6px; }
.ox-top .st { font: 800 1.15rem system-ui; color: var(--muted); } .ox-top .st.me { color: #ffd24a; }
.ox-top .tm { font-weight: 800; background: #12384b; border-radius: 999px; padding: 3px 12px; white-space: nowrap; }
.ox-catch { display: block; width: 100%; margin: 6px 0; background: #d8443a; color: #fff; border: 0; border-radius: 14px; padding: 10px 12px; font: 800 15px/1.3 system-ui; cursor: pointer; }
.ox-hint { margin: 6px 0; border: 2px dashed #ffd24a; border-radius: 14px; padding: 7px 12px; text-align: center; font: 700 13px/1.3 system-ui; color: #ffd24a; }
.ox-stack { margin: 6px 0; background: #5b2a86; border-radius: 14px; padding: 9px 12px; text-align: center; font: 800 15px/1.3 system-ui; color: #fff; }
.ox-hand { position: relative; margin: 26px auto 0; }
.ox-hand .c { position: absolute; padding: 0; border: 0; background: none; line-height: 0; border-radius: 9px; box-shadow: -3px 0 6px rgba(0,0,0,.35); cursor: default; transition: transform .15s; }
.ox-hand .c.ok { cursor: pointer; transform: translateY(-14px); box-shadow: 0 0 0 3px #ffd24a, 0 0 14px rgba(255,210,74,.6); }
.ox-hand .c.ok:hover { transform: translateY(-22px); }
.ox-hand .c.no { filter: brightness(.55); }
.ox-hand .c.new { animation: oxnew 1.2s ease-out; }
@keyframes oxnew { 0% { transform: translateY(-30px) scale(1.08); } 100% { transform: none; } }
.ox-note { text-align: center; font-size: .85rem; color: var(--muted); margin-top: 4px; }
.ox-btns { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 10px; }
.ox-btns .btn { height: 56px; font-size: 1.15rem; }
.ox-btns .onobtn { font-family: Georgia, serif; font-size: 1.5rem; font-weight: 900; }
.ox-btns .onobtn.live { background: #d8443a; color: #fff; animation: oxlive 1.2s ease-in-out infinite; }
.ox-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 10px 0; }
.ox-col { height: 84px; border-radius: 18px; border: 4px solid rgba(255,255,255,.85); font: 800 1.3rem system-ui; color: #fff; text-shadow: 0 2px 0 rgba(0,0,0,.35); cursor: pointer; }
.ox-col.red { background: #d8443a; } .ox-col.yellow { background: #f0b429; } .ox-col.green { background: #2f9e5b; } .ox-col.blue { background: #2f7fd1; }
.ox-final { display: flex; flex-direction: column; gap: 8px; }
.ox-final .row { display: flex; gap: 3px; flex-wrap: wrap; margin-top: 3px; }
.ono .endbox { margin-top: 12px; }
