/* Around Town games (2026-11-26): the shared look, taken from Serve the Customer (which still has its own copy inline). Prefix tn-. */
.tn-stage { border-radius: 26px; background: #F3E6CF; border: 1px solid rgba(42,33,26,0.14); box-shadow: 0 34px 60px -34px rgba(42,33,26,0.45); position: relative; padding: 12px 12px 14px; overflow: hidden; }
.tn-hud { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:10px; flex-wrap:wrap; }
.tn-hud .pill { background: rgba(255,253,248,0.8); box-shadow:0 1px 0 rgba(42,33,26,0.1); border-radius:999px; padding:5px 12px; font-weight:600; font-size:14px; color:#2A211A; }
.tn-scene { position:relative; aspect-ratio: 16 / 9; border-radius:18px; overflow:hidden; border:2.5px solid #231B16; background:#EBDCC2; user-select:none; -webkit-user-select:none; }
.tn-bg { position:absolute; inset:0; width:100%; height:100%; }
.tn-cust { position:absolute; left:17%; bottom:9%; width:25%; aspect-ratio: 350 / 575; transform-origin: 50% 100%; z-index:2; }
.tn-cust svg, .tn-owner svg { width:100%; height:100%; overflow:visible; }
.tn-owner { position:absolute; right:3%; bottom:9%; width:22%; aspect-ratio: 350 / 575; transform-origin: 50% 100%; z-index:2; }
.tn-owner svg { transform: scaleX(-1); }
.tn-counter { position:absolute; left:0; right:0; bottom:0; height:30%; z-index:3; pointer-events:none; }
.tn-bubble { position:absolute; left:43%; top:5%; width:52%; z-index:6; background:#FFFDF8; border:2.5px solid #231B16; border-radius:18px; padding:10px 14px; box-shadow:5px 4px 0 rgba(35,27,22,.18); }
.tn-bubble:before { content:''; position:absolute; left:-15px; top:38px; border:9px solid transparent; border-right:14px solid #231B16; }
.tn-bubble:after { content:''; position:absolute; left:-10px; top:40px; border:7px solid transparent; border-right:11px solid #FFFDF8; }
.tn-say { font-family:Fraunces, Georgia, serif; font-weight:600; font-size:clamp(15px, 2.4vw, 24px); color:#231B16; line-height:1.25; }
.tn-say mark { background:#FFE38A; color:#231B16; border-radius:6px; padding:0 3px; box-shadow: inset 0 -2px 0 #E2B54C; }
.tn-en { font-size:clamp(12px, 1.7vw, 15px); color:#6F6256; margin-top:2px; }
.tn-dots span { display:inline-block; width:.5em; height:.5em; margin:0 .12em; border-radius:50%; background:#231B16; }
.tn-row { display:flex; gap:8px; align-items:center; flex-wrap:wrap; margin-top:6px; }
.tn-mini { border:1.5px solid rgba(35,27,22,.25); background:#fff; border-radius:999px; padding:3px 10px; font-size:13px; font-weight:700; color:#5A4A3C; cursor:pointer; }
.tn-mini:hover { border-color:#231B16; }
.tn-next { font-size:11px; letter-spacing:.14em; text-transform:uppercase; color:#8A6E4B; font-weight:800; margin-left:auto; }
.tn-cap { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-top:10px; background:#231B16; color:#FBF6EC; border-radius:14px; padding:8px 10px 8px 12px; font-weight:800; font-size:clamp(14px, 2vw, 19px); cursor:pointer; }
.tn-cap small { display:block; font-weight:600; font-size:.72em; opacity:.75; letter-spacing:.06em; text-transform:uppercase; }
.tn-cap img.av { width:46px; height:46px; flex:0 0 auto; border-radius:50%; object-fit:cover; object-position:50% 6%; background:#EBDCC2; border:2px solid #FBF6EC; }
.tn-cap .tx { flex:1 1 auto; min-width:0; }
.tn-cap .sub { display:block; font-weight:500; font-size:.78em; opacity:.8; margin-top:1px; }
.tn-skip { flex:0 0 auto; background:#FFFDF8; border:0; border-radius:999px; padding:6px 16px; font-weight:800; font-size:14px; color:#231B16; cursor:pointer; }
.tn-hand { position:absolute; z-index:35; width:44px; height:52px; pointer-events:none; transform-origin:30% 10%; }
.tn-ring { position:absolute; z-index:34; width:46px; height:46px; margin:-23px 0 0 -23px; border-radius:50%; border:3px solid #C0552F; pointer-events:none; }
.tn-fly { position:absolute; z-index:30; pointer-events:none; }
.tn-fly svg, .tn-fly img { width:100%; height:100%; object-fit:contain; }
.tn-coin { position:absolute; z-index:31; width:3.2%; aspect-ratio:1; border-radius:50%; background:#E8B04A; border:2px solid #231B16; box-shadow: inset -3px -3px 0 #C68A22; pointer-events:none; }
.tn-pop { position:absolute; z-index:32; font-family:Fraunces, Georgia, serif; font-weight:800; font-size:clamp(20px, 3vw, 30px); color:#2E6E3F; pointer-events:none; }
.tn-help { text-align:center; color:#8A6E4B; font-size:13px; margin-top:8px; }
.tn-poster { position:absolute; inset:0; width:100%; height:100%; object-fit:cover; z-index:8; }
.tn-overlay { position:absolute; inset:0; z-index:40; display:flex; align-items:center; justify-content:center; background:rgba(243,230,207,0.82); backdrop-filter:blur(8px); border-radius:26px; overflow:auto; }
/* the start card sits in the middle of the whole panel (Daryl 2026-11-26: it was at the bottom, over the shelf), the picture showing above it */
.tn-overlay.menu { background:linear-gradient(to bottom, rgba(243,230,207,0) 0%, rgba(243,230,207,0) 25%, rgba(243,230,207,.8) 50%, rgba(243,230,207,.94) 100%); backdrop-filter:none; align-items:center !important; }
.tn-card { background:#FFFDF8; border:1px solid rgba(42,33,26,0.10); border-radius:24px; padding:22px 24px; text-align:center; max-width:420px; width:calc(100% - 36px); box-shadow:0 30px 60px -20px rgba(42,33,26,0.35); }
.tn-cta { display:inline-block; background:#9C5B2E; color:#FBF6EC; border:0; border-radius:16px; padding:14px 30px; font-weight:700; font-size:16px; cursor:pointer; box-shadow:0 5px 0 #6A3A18; transition:transform .08s, box-shadow .08s; }
.tn-cta:active { transform:translateY(4px); box-shadow:0 1px 0 #6A3A18; }
.tn-ghost { display:inline-block; color:#6F6256; border:2px solid #E0CFAF; border-bottom-width:4px; border-radius:14px; padding:10px 22px; background:#fff; font-weight:600; font-size:14px; text-decoration:none; }
.tn-demo-btn { background:none; border:0; color:#9C5B2E; font-weight:700; font-size:14px; text-decoration:underline; cursor:pointer; margin-top:12px; }
.tn-act { position:absolute; right:4%; bottom:19%; z-index:5; border:2.5px solid #231B16; background:#E2B54C; color:#231B16; border-radius:14px; padding:8px 14px; font-weight:800; font-size:clamp(13px, 1.8vw, 17px); cursor:pointer; box-shadow:4px 3px 0 rgba(35,27,22,.3); }
.tn-act:disabled { opacity:.5; cursor:default; }
@media (max-width: 560px) {
  .tn-scene { aspect-ratio: 5 / 4; }
  .tn-cust { left:1%; width:37%; bottom:10%; }
  .tn-bubble { left:37%; width:61%; top:3%; padding:7px 9px; border-radius:14px; }
  .tn-bubble:before, .tn-bubble:after { top:30px; }
  .tn-say { font-size:15px; } .tn-en { font-size:12px; }
  .tn-help .keys { display:none; }
  .tn-card { padding:16px; }
}
