/* Etown Arcade shared look (owners, 10/28/2026) — pairs with arcade.js; pages also get _inc/layout.php styles. */
.ar-top { display: flex; gap: .5rem; flex-wrap: wrap; align-items: stretch; margin: .6rem 0; }
.ar-stat { background: var(--g2); border-radius: 12px; padding: .4rem .8rem; box-shadow: inset 0 0 0 2px #2b4570; text-align: center; min-width: 5.5rem; flex: 1 1 auto; }
.ar-stat small { display: block; color: var(--dim); font-size: .72rem; font-weight: 700; letter-spacing: .08em; }
.ar-stat b { font-family: "Courier New", monospace; font-size: 1.35rem; color: #fff; }
.ar-stat.bad b { color: #ff6b6b; } .ar-stat.good b { color: #5fe37a; }
.ar-stage { position: relative; width: 100%; margin: 0 auto; border-radius: 14px; overflow: hidden; box-shadow: inset 0 0 0 2px #2b4570; background: #0b1729; touch-action: none; user-select: none; -webkit-user-select: none; }
.ar-stage canvas { display: block; width: 100%; height: auto; }
.ar-shake { animation: arShake .45s cubic-bezier(.36,.07,.19,.97); }
@keyframes arShake { 10%, 90% { transform: translate(-2px, 1px); } 20%, 80% { transform: translate(4px, -2px); } 30%, 50%, 70% { transform: translate(-7px, 3px); } 40%, 60% { transform: translate(7px, -3px); } }
.ar-big { position: absolute; left: 50%; top: 38%; transform: translate(-50%, -50%) rotate(-8deg); font-family: var(--display); font-weight: 900; font-size: clamp(2.2rem, 9vw, 3.8rem); color: #ffc933; -webkit-text-stroke: 3px #111; text-shadow: 0 6px 0 #111; display: none; pointer-events: none; white-space: nowrap; text-align: center; line-height: 1; }
.ar-big.show { display: block; animation: arPop .4s cubic-bezier(.2,1.6,.4,1); }
.ar-big small { display: block; font-size: .42em; -webkit-text-stroke: 1.5px #111; margin-top: .3rem; }
@keyframes arPop { from { transform: translate(-50%, -50%) rotate(-8deg) scale(.3); opacity: 0; } to { transform: translate(-50%, -50%) rotate(-8deg) scale(1); opacity: 1; } }
.ar-pad { display: grid; grid-template-columns: repeat(3, 1fr); gap: .45rem; margin-top: .55rem; }
.ar-pad button { font: inherit; font-weight: 800; font-size: 1.05rem; min-height: 56px; border-radius: 14px; border: 2px solid #36507c; background: var(--g3); color: #fff; touch-action: none; user-select: none; -webkit-user-select: none; }
.ar-pad button.on { background: #2a64b8; border-color: var(--led); }
.ar-pad .act { background: var(--orange); border-color: var(--orange); }
.ar-pad button:disabled { opacity: .45; }
.ar-end { display: none; margin-top: 1rem; padding: 1.1rem 1.2rem; border-radius: 14px; text-align: center; }
.ar-end.win { display: block; background: #13361f; box-shadow: inset 0 0 0 3px #5fc77a; }
.ar-end.lose { display: block; background: #3b1515; box-shadow: inset 0 0 0 3px #e05252; }
.ar-end h2 { margin: .2rem 0 .3rem; font-size: clamp(1.6rem, 5vw, 2.3rem); }
.ar-end .acts { display: flex; flex-wrap: wrap; gap: .6rem; justify-content: center; margin-top: 1rem; }
.ar-ach { display: inline-flex; align-items: center; gap: .6rem; background: rgba(0,0,0,.3); border-radius: 12px; padding: .5rem .9rem; margin: .4rem 0; text-align: left; }
.ar-ach .ic { width: 54px; height: 54px; border-radius: 50%; display: grid; place-items: center; font-size: 1.6rem; flex: none; background: #1d3560; box-shadow: 0 0 0 4px #c8642a, inset 0 0 0 2px #ffc933; }
.ar-ach.bad .ic { background: #2a0f0f; box-shadow: 0 0 0 4px #5a1d1d, inset 0 0 0 2px #e05252; }
.ar-ach small { display: block; color: var(--dim); font-weight: 700; letter-spacing: .06em; font-size: .75rem; }
.ar-ach b { font-size: 1.15rem; }
.ar-cta { font-weight: 800; color: var(--led); font-size: 1.05rem; margin-top: .6rem; }
.ar-join { margin: 1rem auto 0; max-width: 460px; background: rgba(0,0,0,.25); border-radius: 12px; padding: .8rem 1rem; text-align: left; }
.ar-join form { display: flex; gap: .5rem; flex-wrap: wrap; margin-top: .4rem; } .ar-join input { flex: 1 1 180px; }
.ar-help { color: var(--dim); font-size: .97rem; }
.ar-acts { display: flex; gap: .6rem; flex-wrap: wrap; margin-top: .9rem; }
.ar-board ol { list-style: none; margin: .6rem 0 0; padding: 0; display: grid; gap: .35rem; }
.ar-board li { display: grid; grid-template-columns: 2.2rem 1fr auto; gap: .6rem; align-items: center; background: var(--g2); border-radius: 10px; padding: .5rem .8rem; }
.ar-board li .r { font-family: var(--display); font-weight: 900; font-size: 1.3rem; color: var(--led); text-align: center; }
.ar-board li .n span { display: block; color: var(--dim); font-size: .85rem; }
.ar-board li .w { font-weight: 800; color: #5fe37a; white-space: nowrap; }
.ar-more { margin-top: 1.4rem; display: flex; flex-wrap: wrap; gap: .5rem; }
.ar-more a { color: #fff; background: var(--g2); border: 1px solid #36507c; border-radius: 999px; padding: .35rem .8rem; text-decoration: none; font-weight: 700; font-size: .95rem; }
@media (prefers-reduced-motion: reduce) { .ar-shake, .ar-big.show { animation: none !important; } }
