/* News · Chest · home entry tiles (owner 2026-10-05) */
.nw-body { max-height: 56vh; overflow: auto; display: grid; gap: 8px; }
.nw-ban { padding: 0; border: 1px solid rgba(217,183,106,.35); border-radius: 14px; overflow: hidden; cursor: pointer; background: #0B0C0F; }
.nw-ban img { display: block; width: 100%; height: auto; aspect-ratio: 1200/430; }
.nw-msg { display: flex; gap: 10px; padding: 10px 12px; border-radius: 12px; background: #1A1C21; border: 1px solid #23252b; }
.nw-msg > i { width: 8px; height: 8px; border-radius: 50%; margin-top: 6px; flex: none; background: transparent; }
.nw-msg.new > i { background: #E0B85E; }
.nw-msg b { font-weight: 800; } .nw-msg p { margin: 2px 0 0; color: #CFC9BF; font-size: 13px; } .nw-msg span { font-size: 11px; color: #77726A; }
.nw-up ol { margin: 6px 0 14px; padding-left: 20px; color: #D6D1C8; font-size: 13.5px; line-height: 1.5; }
.nw-date { display: flex; align-items: center; gap: 10px; } .nw-date i { flex: 1; height: 1px; background: linear-gradient(90deg, transparent, rgba(224,184,94,.6), transparent); }
.nw-date b { color: #F7E2A8; font-size: 16px; }
.bp-row { display: flex; align-items: center; gap: 12px; padding: 10px 12px; border-radius: 12px; background: #1A1C21; border: 1px solid #23252b; }
.bp-tk { width: 64px; height: 42px; flex: none; border-radius: 6px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: linear-gradient(170deg, #F3DA9C, #C9A55E 55%, #9C7A3E); color: #1a1405; font: 800 13px/1 Manrope, system-ui;
  -webkit-mask: radial-gradient(circle 6px at 0 50%, transparent 98%, #000) , radial-gradient(circle 6px at 100% 50%, transparent 98%, #000); -webkit-mask-composite: source-in; mask-composite: intersect; }
.bp-tk em { font-style: normal; font-size: 8px; letter-spacing: .14em; margin-top: 3px; }
.bp-row .trn-act { width: auto; padding: 0 16px; }
.gx-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 10px 0 4px; }
.gx-t { position: relative; height: 128px; border-radius: 16px; overflow: hidden; cursor: pointer; text-align: left; padding: 0 10px 10px;
  display: flex; flex-direction: column; justify-content: flex-end; border: 1px solid rgba(217,183,106,.4); color: #F2EFEA;
  background: linear-gradient(160deg, #1d1f24, #0f1013); font-family: Manrope, system-ui; }
.gx-t b { position: relative; z-index: 2; font-weight: 800; font-size: 11.5px; letter-spacing: .06em; line-height: 1.1; font-style: italic; }
.gx-t span:last-child { position: relative; z-index: 2; font-size: 10.5px; color: #A39E95; font-weight: 700; margin-top: 2px; }
.gx-lobby img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; filter: brightness(.55); }
.gx-lobby::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, rgba(11,12,15,.9)); }
.gx-t .trn-ped { position: absolute; top: 6px; left: 50%; transform: translateX(-50%); }
.gx-spin { background: radial-gradient(90% 70% at 50% 25%, rgba(168,90,255,.28), transparent 70%), linear-gradient(160deg, #1d1f24, #0f1013); }
.gx-mtt { background: radial-gradient(90% 70% at 50% 25%, rgba(179,23,43,.3), transparent 70%), linear-gradient(160deg, #1d1f24, #0f1013); }

/* ---------- Global Lobby unit: card on top, three-way strip below ---------- */
.cb-globalwrap { position: relative; border-radius: 20px; overflow: hidden; margin-bottom: 6px;
  background: radial-gradient(120% 60% at 85% 0%, rgba(56,214,190,.30), transparent 55%), radial-gradient(90% 60% at 10% 100%, rgba(132,92,240,.34), transparent 60%), linear-gradient(160deg, #0B1530 0%, #0A1024 45%, #120B2A 100%);
  border: 1px solid rgba(150,230,215,.42); box-shadow: 0 14px 30px rgba(10,16,40,.7), inset 0 1px 0 rgba(255,255,255,.12); }
.cb-globalwrap > .cb-global { margin: 0 !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; background: transparent !important; }
.cb-globalwrap > .cb-global::before { border-radius: 0 !important; }
.gx-strip { position: relative; display: grid; grid-template-columns: repeat(3, 1fr); background: rgba(4,7,18,.55); border-top: 1px solid rgba(150,230,215,.22); }
.gx-c { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 1px; height: 104px; padding: 0 6px 11px; border: 0; background: none; color: #F2EFEA; cursor: pointer; font-family: 'Manrope', sans-serif; }
.gx-c + .gx-c::before { content: ""; position: absolute; left: 0; top: 14px; bottom: 14px; width: 1px; background: linear-gradient(180deg, transparent, rgba(212,185,138,.35), transparent); }
.gx-c:active { background: rgba(255,255,255,.05); }
.gx-c b { font-size: 13px; font-weight: 800; letter-spacing: .01em; }
.gx-c > span:last-child { font-size: 10.5px; font-weight: 700; color: #A9B6C9; white-space: nowrap; }
.gx-art { position: relative; flex: 1; width: 100%; display: grid; place-items: center; }
.gx-art .trn-ped { position: relative !important; transform: none !important; top: auto !important; left: auto !important; }
.gx-felt i { width: 54px; height: 30px; border-radius: 50%; background: radial-gradient(ellipse at 50% 40%, #29C77A, #0B6A3C 62%, #04301B); box-shadow: 0 0 0 4px #4A3220, 0 0 0 5px #C9A15E, 0 6px 12px rgba(0,0,0,.6); }

/* ---------- Polaris Global panel (sketch 2026-10-06) ---------- */
.cb-globalwrap:has(.gp) { background: none; border: 0; box-shadow: none; overflow: visible; border-radius: 0; margin: 18px 16px 6px; }
.gp { position: relative; border-radius: 24px; overflow: hidden; border: 1px solid rgba(227,201,152,.32);
  background: radial-gradient(120% 70% at 50% 0%, rgba(227,201,152,.10), transparent 60%), linear-gradient(180deg, #17171B, #0E0E11);
  box-shadow: 0 16px 34px rgba(0,0,0,.6), inset 0 1px 0 rgba(255,255,255,.06); font-family: 'Manrope', sans-serif; color: #F2EFEA; }
.gp button { font-family: inherit; color: inherit; border: 0; background: none; cursor: pointer; text-align: left; }
.gp-head { display: flex; align-items: center; gap: 12px; width: 100%; padding: 14px 16px 10px; }
.gp-crest { width: 40px; height: 40px; flex: none; border-radius: 12px; display: grid; place-items: center; background: #0A0A0C; border: 1px solid rgba(227,201,152,.4); }
.gp-tt { flex: 1; min-width: 0; display: flex; flex-direction: column; } .gp-tt b { font-size: 16.5px; font-weight: 800; color: #F3DEAE; } .gp-tt span { font-size: 11.5px; font-weight: 600; color: #A39C8E; margin-top: 1px; }
.gp-live { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border-radius: 99px; background: rgba(34,240,138,.10); color: #5BF0A6; font-size: 11px; font-weight: 800; white-space: nowrap; }
.gp-live i { width: 7px; height: 7px; border-radius: 50%; background: #22F08A; box-shadow: 0 0 8px #22F08A; animation: gpPulse 1.6s infinite; }
.gp-live.off { background: rgba(255,255,255,.06); color: #8A8178; } .gp-live.off i { background: #6E6A64; box-shadow: none; animation: none; }
@keyframes gpPulse { 50% { opacity: .35; } }
.gp-info { display: grid; gap: 8px; margin: 0 16px 34px; padding: 10px 12px; border-radius: 14px; background: rgba(255,255,255,.035); border: 1px solid rgba(255,255,255,.06); }
.gp-next, .gp-mis { display: flex; align-items: center; gap: 8px; min-width: 0; font-size: 12.5px; }
.gp-info .k { flex: none; font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: #8A8178; min-width: 62px; }
.gp-info b { flex: 1; min-width: 0; font-weight: 800; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gp-cd { font: 800 16px 'Barlow Condensed', 'Manrope', sans-serif; letter-spacing: .04em; color: #FFE7A8; text-shadow: 0 0 10px rgba(255,200,90,.4); }
.gp-bar { flex: 0 0 64px; height: 6px; border-radius: 99px; background: #2A2A30; overflow: hidden; } .gp-bar i { display: block; height: 100%; background: linear-gradient(90deg, #C9A15E, #F3DEAE); border-radius: 99px; }
.gp-mn { font-size: 11px; font-weight: 700; color: #A39C8E; }
.gp-row { position: relative; display: grid; grid-template-columns: 1fr 112px 1fr; height: 132px; border-top: 1px solid rgba(227,201,152,.22); }
.gp-c { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; gap: 1px; padding: 0 8px 13px; text-align: center !important; }
.gp-c b { font-size: 14px; font-weight: 800; } .gp-c > span:last-child { font-size: 10.5px; font-weight: 700; color: #A39C8E; white-space: nowrap; }
.gp-lobby { background: radial-gradient(90% 80% at 50% 30%, rgba(34,194,122,.20), transparent 70%); }
.gp-mtt { background: radial-gradient(90% 80% at 50% 30%, rgba(224,57,78,.22), transparent 70%); }
.gp-c:active, .gp-spin:active, .gp-head:active { filter: brightness(1.15); }
/* lobby: a little felt whose seats fill with the busiest table */
.gp-felt { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); width: 82px; height: 44px; border-radius: 50%;
  background: radial-gradient(ellipse at 50% 40%, #2EDC88, #0B6A3C 62%, #04301B); box-shadow: 0 0 0 4px #3A2818, 0 0 0 5px #C9A15E, 0 8px 14px rgba(0,0,0,.6); }
.gp-felt i { position: absolute; width: 10px; height: 10px; border-radius: 50%; background: #26262B; border: 1.5px solid #4A4A52; }
.gp-felt i.on { background: radial-gradient(circle at 35% 35%, #F6E2B3, #C9A15E); border-color: #FFF0C8; animation: gpSeat 3.6s ease-in-out infinite; }
.gp-felt .s0 { left: -8px; top: 16px; } .gp-felt .s1 { left: 12px; top: -9px; } .gp-felt .s2 { right: 12px; top: -9px; } .gp-felt .s3 { right: -8px; top: 16px; } .gp-felt .s4 { right: 18px; bottom: -9px; } .gp-felt .s5 { left: 18px; bottom: -9px; }
.gp-felt .s1.on { animation-delay: -.6s; } .gp-felt .s2.on { animation-delay: -1.2s; } .gp-felt .s3.on { animation-delay: -1.8s; } .gp-felt .s4.on { animation-delay: -2.4s; } .gp-felt .s5.on { animation-delay: -3s; }
@keyframes gpSeat { 50% { box-shadow: 0 0 8px rgba(243,214,150,.8); } }
.gp-trophy { position: absolute; top: 16px; left: 50%; width: 44px; height: 48px; transform: translateX(-50%); filter: drop-shadow(0 6px 10px rgba(0,0,0,.6)); animation: gpFloat 3.2s ease-in-out infinite; }
.gp-trophy svg { width: 100%; height: 100%; }
@keyframes gpFloat { 50% { transform: translateX(-50%) translateY(-4px); } }
/* spins: the round medallion on the seam */
.gp-gap { position: relative; }
.gp-gap::before, .gp-gap::after { content: ""; position: absolute; top: 16px; bottom: 16px; width: 1px; background: linear-gradient(180deg, transparent, rgba(227,201,152,.35), transparent); }
.gp-gap::before { left: 0; } .gp-gap::after { right: 0; }
.gp-spin { position: absolute; left: 50%; top: -30px; transform: translateX(-50%); width: 104px; display: flex; flex-direction: column; align-items: center; gap: 1px; text-align: center !important; z-index: 2; }
.gp-wheel { position: relative; width: 84px; height: 84px; border-radius: 50%; padding: 4px; margin-bottom: 8px;
  background: conic-gradient(from 210deg, #8A5F14, #F6E2B3, #C9A15E, #7A5420, #F3DEAE, #B8893E, #8A5F14); box-shadow: 0 10px 22px rgba(0,0,0,.6), 0 0 22px rgba(155,92,255,.35); }
.gp-wheel::before { content: ""; position: absolute; inset: 4px; border-radius: 50%; background: repeating-conic-gradient(#7B3BFF 0 22.5deg, #EDE3FF 22.5deg 45deg); animation: gpSpin 7s linear infinite; }
.gp-wheel i { position: absolute; inset: 24px; border-radius: 50%; background: radial-gradient(circle, #3A1A6E, #160A2C); border: 2px solid #C9A15E; z-index: 1; }
.gp-wheel i::after { content: ""; position: absolute; left: 50%; top: -23px; transform: translateX(-50%); border: 6px solid transparent; border-top: 9px solid #F3DEAE; }
@keyframes gpSpin { to { transform: rotate(360deg); } }
.gp-spin b { font-size: 14px; font-weight: 800; } .gp-spin > span:last-child { font-size: 10.5px; font-weight: 700; color: #C7B6F2; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) { .gp-wheel::before, .gp-trophy, .gp-felt i.on, .gp-live i { animation: none !important; } }
@media (min-width: 740px) { .gp-row { height: 150px; } }

/* ---------- Global tile, variant J (owner pick 2026-10-06) ---------- */
.cb-globalwrap:has(.gj-strip) { background: radial-gradient(110% 120% at 100% 0%, #1C3354 0%, #122140 40%, #0C1428 100%); border-color: rgba(231,200,115,.35); }
.gj-strip { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 0 10px 10px; }
.gj-c { position: relative; height: 108px; padding: 0; border: 1px solid rgba(231,200,115,.45); border-radius: 12px; overflow: hidden; background: #0A0C14; cursor: pointer; color: inherit; font-family: 'Manrope', sans-serif; }
.gj-c:active { filter: brightness(1.15); }
.gj-spin { border-color: rgba(231,200,115,.7); box-shadow: 0 0 14px rgba(231,200,115,.25); }
.gj-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gj-chips { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.gj-sp { position: absolute; top: 0; bottom: 0; left: 50%; aspect-ratio: 4 / 3; transform: translateX(-50%); }
.gj-sp i { position: absolute; inset: 0; background: url(../assets/lobby/gl-spin.webp) center / 100% 100% no-repeat; }
/* owner 2026-10-06: coin stays still; a sparkle runs round its rim */
.gj-orb { position: absolute; left: 48.9%; top: 47.8%; width: 0; height: 0; transform: scale(1, .92); }
.gj-st { position: absolute; left: 0; top: 0; width: 0; height: 0; animation: gjSpin 3.6s linear infinite; }
.gj-st svg { position: absolute; left: -9px; top: -53px; width: 18px; height: 18px; filter: drop-shadow(0 0 4px #FFE7A8) drop-shadow(0 0 9px rgba(255,200,90,.95)); animation: gjTwinkle .7s ease-in-out infinite alternate; }
.gj-st1 { animation-delay: -.09s; } .gj-st1 svg { transform: scale(.6); opacity: .65; animation: none; }
.gj-st2 { animation-delay: -.18s; } .gj-st2 svg { transform: scale(.38); opacity: .35; animation: none; }
@keyframes gjTwinkle { from { transform: scale(.8) rotate(0deg); } to { transform: scale(1.15) rotate(45deg); } }
.gj-glow { position: absolute; inset: 0; background: radial-gradient(48% 50% at 50% 47%, rgba(255,220,140,.32), transparent 70%); animation: gjGlow 2.6s ease-in-out infinite; }
.gj-sh { position: absolute; top: 0; bottom: 0; left: 0; width: 36%; background: linear-gradient(90deg, transparent, rgba(255,236,190,.22), transparent); animation: gjSheen 6s ease-in-out infinite; pointer-events: none; }
.gj-c:nth-child(2) .gj-sh { animation-delay: 2s; } .gj-c:nth-child(3) .gj-sh { animation-delay: 4s; }
.gj-cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 22px 6px 7px; display: flex; flex-direction: column; align-items: center; gap: 1px; background: linear-gradient(180deg, transparent, rgba(5,6,10,.92)); }
.gj-cap b { font-size: 9.5px; font-weight: 800; letter-spacing: .14em; color: #F3DCA0; white-space: nowrap; }
.gj-cap span { font-size: 10px; font-weight: 600; color: #C9C2B4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%; }
.gj-kb { animation: gjKb 14s ease-in-out infinite; }
.gj-t1 { animation: gjThrow1 4.2s cubic-bezier(.25,.8,.35,1) infinite; }
.gj-t2 { animation: gjThrow2 4.2s cubic-bezier(.25,.8,.35,1) infinite; }
.gj-t3 { animation: gjThrow3 4.2s cubic-bezier(.25,.8,.35,1) infinite; }
@keyframes gjSpin { to { transform: rotate(360deg); } }
@keyframes gjGlow { 0%,100% { opacity: .35; } 50% { opacity: .85; } }
@keyframes gjSheen { 0% { transform: translateX(-140%) skewX(-18deg); } 45%,100% { transform: translateX(300%) skewX(-18deg); } }
@keyframes gjKb { 0%,100% { transform: scale(1.04); } 50% { transform: scale(1.14) translate(-2%,-2%); } }
@keyframes gjThrow1 { 0% { transform: translate(-70px,-60px) rotate(-200deg) scale(1.25); opacity: 0; } 8% { opacity: 1; } 30% { transform: none; } 36% { transform: translate(0,-6px); } 42%,82% { transform: none; opacity: 1; } 92%,100% { transform: none; opacity: 0; } }
@keyframes gjThrow2 { 0%,14% { transform: translate(70px,-64px) rotate(220deg) scale(1.25); opacity: 0; } 22% { opacity: 1; } 44% { transform: none; } 50% { transform: translate(0,-5px); } 56%,82% { transform: none; opacity: 1; } 92%,100% { opacity: 0; } }
@keyframes gjThrow3 { 0%,28% { transform: translate(-40px,-70px) rotate(-160deg) scale(1.25); opacity: 0; } 36% { opacity: 1; } 58% { transform: none; } 64% { transform: translate(0,-4px); } 70%,82% { transform: none; opacity: 1; } 92%,100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) { .gj-st, .gj-st svg, .gj-glow, .gj-sh, .gj-kb, .gj-t1, .gj-t2, .gj-t3 { animation: none !important; } }

/* sparkle on Ring and MTT tiles (owner 2026-10-07: high end, some sparkle) */
.gj-tw { position: absolute; z-index: 3; transform: translate(-50%, -50%) scale(.3); opacity: 0; pointer-events: none; filter: drop-shadow(0 0 4px rgba(255,240,200,.9)); animation: gjTw 5s ease-in-out infinite; }
.gj-tw svg { display: block; width: 100%; height: 100%; }
@keyframes gjTw { 0%, 100% { opacity: 0; transform: translate(-50%, -50%) scale(.3) rotate(0deg); } 45% { opacity: 1; transform: translate(-50%, -50%) scale(1) rotate(25deg); } 60% { opacity: .2; } }
@media (prefers-reduced-motion: reduce) { .gj-tw { animation: none; opacity: .7; transform: translate(-50%, -50%) scale(.8); } }
