/* tavern/css/tavern.css - THE HUSK & HEARTH's page: the stage, the rotate prompt, the boot error, the loading curtain,
 * the front door (the start page), the corner and the toast.
 *
 * The founder (2026-09-29): "give it the same cool proper intro screen treatment." So this is the Gate's door
 * (gate/css/gate.css) in the tavern's colours: the painted tavern (art/tavern-herd.jpg), slowly breathing, with pipe
 * smoke curling and sparks drifting up from the hearth, the title set in the game's engraved serif, and one ENTER over
 * the table. The two sides wear their own light (html[data-band], set by js/tavern-page.js from the account's side):
 * the HERD the hearth's amber, the HORDE the back room after closing in green lamplight (art/tavern-horde.jpg).
 * Everything here is plain CSS; the only pictures are the tavern's own paintings and icon. */

:root {
  --ink: #0B0814;
  --soot: #120A08;
  --parchment: #FBF3E7;
  --lavender: #C9A8F5;
  --muted: #8E7FB0;
  --gold: #F5C242;
  --candy-pink: #FF8FC7;
  --mint-teal: #7FE0D6;
  --toxic-green: #6BE04A;
  --blood: #FF6B6B;
  --accent: #FFB060;
  --accent-2: #FFE6A8;
  --glow: rgba(255, 170, 80, 0.55);
  --spark: #FFD48A;
  --spark-glow: rgba(255, 150, 60, 0.8);
  --font: 'Trebuchet MS', 'Lucida Grande', Verdana, sans-serif;
  --title-font: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
}
html[data-band="horde"] {
  --accent: var(--toxic-green); --accent-2: #B9F59E; --glow: rgba(107, 224, 74, 0.5);
  --spark: #CFFFA8; --spark-glow: rgba(120, 235, 80, 0.8);
}

html, body { margin: 0; padding: 0; height: 100%; background: var(--ink); color: var(--parchment); font-family: var(--font); overflow: hidden; }
body { overscroll-behavior: none; -webkit-tap-highlight-color: transparent; }
button { font-family: inherit; }
#stage { position: fixed; inset: 0; display: flex; align-items: center; justify-content: center; background: var(--ink); }
#stage canvas { display: block; }

/* ---- the rotate prompt -------------------------------------------------------------------------------------------- */
#rotate-prompt {
  display: none;
  position: fixed; inset: 0; z-index: 80;
  flex-direction: column; align-items: center; justify-content: center; gap: 18px;
  padding: 24px; text-align: center; color: var(--parchment);
  background: radial-gradient(ellipse at 50% 70%, #4A2410 0%, #1A0F0C 60%, #070405 100%);
}
html[data-rotate="1"] #rotate-prompt { display: flex; }
#rotate-prompt .rp-device {
  width: 46px; height: 84px; border: 3px solid var(--gold); border-radius: 10px;
  box-shadow: inset 0 0 0 2px #14121A, 0 0 24px var(--glow);
  animation: hh-rotate-hint 2.2s ease-in-out infinite;
}
html[data-device="tablet"] #rotate-prompt .rp-device { width: 70px; height: 96px; border-radius: 12px; }
#rotate-prompt .rp-title { margin: 0; font-family: var(--title-font); font-weight: bold; font-size: 24px; letter-spacing: 0.08em; color: var(--gold); }
#rotate-prompt .rp-sub { margin: 0; max-width: 320px; font-size: 14px; line-height: 1.5; color: #F2DCC4; }
@keyframes hh-rotate-hint { 0%, 20% { transform: rotate(0deg); } 55%, 80% { transform: rotate(-90deg); } 100% { transform: rotate(0deg); } }

/* ---- the boot error ----------------------------------------------------------------------------------------------- */
#boot-error {
  position: fixed; inset: 0; z-index: 90;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  background: var(--ink); text-align: center; padding: 24px;
}
#boot-error[hidden] { display: none; }
#boot-error .be-title { margin: 0; font-family: var(--title-font); font-size: 26px; color: var(--gold); }
#boot-error .be-sub { margin: 0; font-size: 14px; color: var(--lavender); max-width: 420px; }
#boot-error .be-refresh { margin-top: 8px; padding: 12px 34px; border-radius: 999px; cursor: pointer; font-family: var(--title-font); font-weight: bold;
  font-size: 18px; letter-spacing: 0.12em; color: #FFF6E6; background: rgba(40, 18, 8, 0.6); border: 1px solid var(--accent-2); box-shadow: 0 0 22px var(--glow); }
#boot-error .be-refresh:hover, #boot-error .be-refresh:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--accent-2), 0 0 28px var(--glow); }

/* =====================================================================================================================
   THE LOADING CURTAIN: the hearth breathing low, sparks drifting up, the tavern's icon, the bar.
   ===================================================================================================================== */
#load-curtain {
  position: fixed; inset: 0; z-index: 70; overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  padding: 24px 24px 18vh; text-align: center; color: var(--parchment);
  background: radial-gradient(ellipse 120% 80% at 50% 100%, #5A2A10 0%, #2A140C 38%, #140A09 70%, #070405 100%);
  transition: opacity 0.6s ease;
}
#load-curtain.is-done { opacity: 0; pointer-events: none; }
#load-curtain .lc-hearth {
  position: absolute; left: 50%; bottom: -30vmin; width: 110vmin; height: 70vmin; transform: translateX(-50%); border-radius: 50%;
  background: radial-gradient(ellipse, rgba(255, 170, 80, 0.5) 0%, rgba(255, 110, 40, 0.18) 40%, rgba(0, 0, 0, 0) 70%);
  animation: hh-breathe 3.2s ease-in-out infinite;
}
@keyframes hh-breathe { 0%, 100% { opacity: 0.7; transform: translateX(-50%) scale(0.95); } 50% { opacity: 1; transform: translateX(-50%) scale(1.05); } }
.lc-motes, .ts-motes { position: absolute; inset: 0; pointer-events: none; }
.lc-motes span, .ts-motes span {
  position: absolute; bottom: -12px; width: 4px; height: 4px; border-radius: 50%;
  background: var(--spark); box-shadow: 0 0 10px 2px var(--spark-glow);
  animation: hh-spark 8s linear infinite; opacity: 0;
}
.lc-motes span:nth-child(1), .ts-motes span:nth-child(1) { left: 8%; animation-delay: 0s; }
.lc-motes span:nth-child(2), .ts-motes span:nth-child(2) { left: 19%; animation-delay: -2.1s; animation-duration: 10s; }
.lc-motes span:nth-child(3), .ts-motes span:nth-child(3) { left: 27%; animation-delay: -5.2s; }
.lc-motes span:nth-child(4), .ts-motes span:nth-child(4) { left: 36%; animation-delay: -1.3s; animation-duration: 11s; }
.lc-motes span:nth-child(5), .ts-motes span:nth-child(5) { left: 47%; animation-delay: -7.4s; }
.lc-motes span:nth-child(6), .ts-motes span:nth-child(6) { left: 58%; animation-delay: -3.3s; animation-duration: 9s; }
.lc-motes span:nth-child(7), .ts-motes span:nth-child(7) { left: 66%; animation-delay: -6.1s; }
.lc-motes span:nth-child(8), .ts-motes span:nth-child(8) { left: 75%; animation-delay: -0.6s; animation-duration: 12s; }
.lc-motes span:nth-child(9), .ts-motes span:nth-child(9) { left: 86%; animation-delay: -4.4s; }
.lc-motes span:nth-child(10), .ts-motes span:nth-child(10) { left: 93%; animation-delay: -8.2s; animation-duration: 10s; }
.ts-motes span:nth-child(11) { left: 81%; animation-delay: -9.1s; animation-duration: 7s; }
.ts-motes span:nth-child(12) { left: 88%; animation-delay: -10.5s; animation-duration: 8s; }
@keyframes hh-spark {
  0% { transform: translate(0, 0) scale(0.7); opacity: 0; }
  10% { opacity: 1; }
  55% { transform: translate(-16px, -50vh) scale(1); opacity: 0.75; }
  100% { transform: translate(14px, -100vh) scale(0.3); opacity: 0; }
}
#load-curtain .lc-crest { width: 96px; height: 96px; border-radius: 22.37%; position: relative; box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 34px var(--glow); }
#load-curtain .lc-kicker { margin: 8px 0 0; font-size: 11px; letter-spacing: 0.42em; text-transform: uppercase; color: #E9CBA8; position: relative; }
#load-curtain .lc-title { margin: 0; font-family: var(--title-font); font-size: clamp(34px, 7vw, 72px); letter-spacing: 0.12em; line-height: 1; position: relative;
  background: linear-gradient(180deg, #FFF3C4 10%, #F5C242 55%, #B7791F 95%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 4px 0 #1A0F0C) drop-shadow(0 0 26px rgba(255, 170, 80, 0.4)); }
#load-curtain .lc-sub { margin: 0; font-style: italic; color: #F2DCC4; letter-spacing: 0.06em; position: relative; }
#load-curtain .lc-bar { width: min(420px, 70vw); height: 6px; border-radius: 4px; background: rgba(255, 255, 255, 0.08); overflow: hidden; margin-top: 16px; position: relative; box-shadow: 0 0 0 1px rgba(245, 194, 66, 0.35); }
#load-curtain .lc-bar-fill { width: 0; height: 100%; background: linear-gradient(90deg, #B8520B, #FFB060, #F5C242); transition: width 0.3s ease; box-shadow: 0 0 12px var(--glow); }
#load-curtain .lc-pct { font-size: 11px; color: var(--muted); position: relative; min-height: 14px; }
#load-curtain .lc-note { margin: 0; font-size: 13px; color: #E9CBA8; position: relative; min-height: 18px; }
#load-curtain .lc-tip { margin: 6px 0 0; max-width: 460px; font-size: 12px; line-height: 1.5; color: var(--gold); position: relative; }
#load-curtain.is-failed .lc-note { color: var(--blood); }
#load-curtain .lc-copyright { position: absolute; left: 0; right: 0; bottom: 14px; padding: 0 16px; font-size: 10px; color: rgba(251, 243, 231, 0.45); }
#load-curtain .cr-short { display: none; }
html[data-device="phone"] #load-curtain .cr-full { display: none; }
html[data-device="phone"] #load-curtain .cr-short { display: inline; }

/* =====================================================================================================================
   THE FRONT DOOR: one painting, the title up in the rafters, ONE action over the table. Pip stays in view between them.
   ===================================================================================================================== */
.ts {
  position: fixed; inset: 0; z-index: 40; overflow: hidden;
  display: flex; align-items: stretch; justify-content: center; text-align: center;
  padding: max(14px, env(safe-area-inset-top)) max(16px, env(safe-area-inset-right)) max(14px, env(safe-area-inset-bottom)) max(16px, env(safe-area-inset-left));
  box-sizing: border-box; background: #070405;
  animation: hh-in 0.9s ease both;
  transition: opacity 0.45s ease, transform 0.45s ease, filter 0.45s ease;
}
.ts[hidden] { display: none; }
.ts.is-leaving { opacity: 0; transform: scale(1.04); filter: blur(4px); }
@keyframes hh-in { from { opacity: 0; } to { opacity: 1; } }
.ts-art { position: absolute; inset: 0; overflow: hidden; }
.ts-plate {
  position: absolute; inset: -5%;
  background: center 55% / cover no-repeat;
  animation: hh-drift 40s ease-in-out infinite alternate;
  transition: opacity 0.9s ease;
}
.ts-plate--herd { background-image: url("../art/tavern-herd.jpg"); }
.ts-plate--horde { background-image: url("../art/tavern-horde.jpg"); opacity: 0; }
html[data-band="horde"] .ts-plate--herd { opacity: 0; }
html[data-band="horde"] .ts-plate--horde { opacity: 1; }
@keyframes hh-drift { from { transform: scale(1.03) translate(0, 0); } to { transform: scale(1.1) translate(1.2%, -1%); } }
/* the hearth's light, breathing from the right where the fire is */
.ts-glow { position: absolute; right: -8%; top: 58%; width: 60vmax; height: 60vmax; transform: translate(0, -50%); border-radius: 50%;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 34%, transparent) 0%, color-mix(in srgb, var(--accent) 10%, transparent) 38%, transparent 66%);
  mix-blend-mode: screen; animation: hh-flare 5s ease-in-out infinite; }
@keyframes hh-flare { 0%, 100% { opacity: 0.45; transform: translate(0, -50%) scale(0.96); } 40% { opacity: 0.8; } 55% { opacity: 0.6; } 70% { opacity: 0.9; transform: translate(0, -50%) scale(1.04); } }
/* pipe smoke, curling across the rafters */
.ts-smoke { position: absolute; left: -30%; right: -30%; top: 6%; height: 40%;
  background: radial-gradient(ellipse at 30% 50%, rgba(220, 200, 190, 0.14), transparent 60%), radial-gradient(ellipse at 72% 40%, rgba(200, 190, 210, 0.12), transparent 55%);
  filter: blur(22px); animation: hh-smoke 34s ease-in-out infinite alternate; }
@keyframes hh-smoke { from { transform: translateX(-7%) translateY(0); } to { transform: translateX(7%) translateY(-4%); } }
.ts-vignette { position: absolute; inset: 0; background:
  radial-gradient(ellipse 80% 70% at 50% 55%, rgba(7, 4, 5, 0) 0%, rgba(7, 4, 5, 0.35) 70%, rgba(7, 4, 5, 0.85) 100%),
  linear-gradient(180deg, rgba(7, 4, 5, 0.82) 0%, rgba(7, 4, 5, 0.5) 22%, rgba(7, 4, 5, 0) 42%, rgba(7, 4, 5, 0) 62%, rgba(7, 4, 5, 0.55) 82%, rgba(7, 4, 5, 0.9) 100%); }
.ts-hero { position: relative; display: flex; flex-direction: column; align-items: center; justify-content: space-between; width: 100%; max-width: 1100px;
  animation: hh-rise 1.1s cubic-bezier(.2, .8, .2, 1) 0.15s both; }
.ts-top, .ts-foot { display: flex; flex-direction: column; align-items: center; }
@keyframes hh-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.ts-kicker { margin: 0; font-size: 12px; letter-spacing: 0.6em; padding-left: 0.6em; text-transform: uppercase; color: rgba(245, 225, 200, 0.85); text-shadow: 0 1px 3px #000; }
.ts-title { margin: 4px 0 0; font-family: var(--title-font); font-weight: bold; line-height: 0.92; display: flex; flex-direction: column; align-items: center; }
.ts-the { font-size: clamp(16px, 2vw, 26px); letter-spacing: 0.7em; padding-left: 0.7em; text-transform: uppercase; color: var(--accent-2); text-shadow: 0 2px 4px #000, 0 0 18px var(--glow); }
.ts-name { font-size: clamp(46px, 8.4vw, 118px); letter-spacing: 0.06em; padding-left: 0.06em; text-transform: uppercase;
  background: linear-gradient(180deg, #FFF8DC 6%, #F5C242 50%, #8E5A12 96%); -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 6px 0 rgba(20, 8, 6, 0.92)) drop-shadow(0 0 34px var(--glow)); }
.ts-name i { font-style: italic; font-weight: normal; }
.ts-sub { margin: 10px 0 0; max-width: 34em; font-family: var(--title-font); font-style: italic; font-size: clamp(16px, 1.9vw, 23px); line-height: 1.35; color: #FFF0DC;
  text-shadow: 0 0 20px var(--glow), 0 2px 3px #000; }
html[data-band="horde"] .ts-sub { color: #E3FAD8; animation: hh-flicker 8s infinite; }
@keyframes hh-flicker { 0%, 90%, 100% { opacity: 1; } 91% { opacity: 0.5; } 92% { opacity: 1; } 95% { opacity: 0.72; } }
.ts-games { margin: 10px 0 0; min-height: 14px; font-size: 11px; font-weight: bold; letter-spacing: 0.18em; text-transform: uppercase; white-space: pre-wrap;
  color: color-mix(in srgb, var(--accent) 70%, #fff 30%); text-shadow: 0 1px 3px #000, 0 0 10px rgba(0, 0, 0, 0.9); }
.ts-enter { position: relative; padding: 15px 64px; border-radius: 999px; cursor: pointer; overflow: hidden;
  font-family: var(--title-font); font-weight: bold; font-size: 22px; letter-spacing: 0.34em; text-transform: uppercase; color: #FFF6E6;
  background: rgba(40, 18, 8, 0.5); border: 1px solid color-mix(in srgb, var(--accent-2) 75%, transparent); backdrop-filter: blur(6px);
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4), 0 0 28px var(--glow), inset 0 0 24px color-mix(in srgb, var(--accent) 22%, transparent);
  transition: transform 0.2s ease, box-shadow 0.25s ease, background 0.25s ease; }
html[data-band="horde"] .ts-enter { color: #F6FFE9; background: rgba(10, 30, 16, 0.5); }
.ts-enter span { position: relative; padding-left: 0.34em; }
.ts-enter::before { content: ''; position: absolute; inset: 0; background: linear-gradient(110deg, transparent 30%, rgba(255, 240, 210, 0.35) 45%, transparent 60%); background-size: 260% 100%; animation: hh-sheen 4.2s ease-in-out infinite; }
.ts-enter:hover, .ts-enter:focus-visible { transform: translateY(-2px) scale(1.03); outline: none;
  background: color-mix(in srgb, var(--accent) 28%, rgba(20, 10, 6, 0.6));
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.4), 0 0 44px var(--glow), inset 0 0 30px color-mix(in srgb, var(--accent) 32%, transparent); }
@keyframes hh-sheen { 0%, 55% { background-position: 130% 0; } 100% { background-position: -130% 0; } }
.ts-band { margin: 12px 0 0; min-height: 16px; max-width: 40em; font-size: 12px; letter-spacing: 0.08em; color: color-mix(in srgb, var(--accent) 80%, #fff 20%); text-shadow: 0 1px 3px #000, 0 0 8px #000; }
.ts-preview { margin: 8px 0 0; padding: 6px 14px; border-radius: 999px; cursor: pointer; font-size: 12px; color: var(--gold); background: rgba(11, 8, 20, 0.6); border: 1px solid rgba(245, 194, 66, 0.6); }
.ts-preview[hidden] { display: none; }
.ts-preview:hover, .ts-preview:focus-visible { background: rgba(245, 194, 66, 0.18); outline: none; }
/* THE CORN GAMBIT's hop (tavern-page.js): a smaller pill under ENTER, the chess icon beside its name, signed in only */
.ts-hop { display: inline-flex; align-items: center; gap: 10px; margin: 12px 0 0; padding: 6px 18px 6px 7px; border-radius: 999px; cursor: pointer;
  font-family: var(--title-font); font-weight: bold; font-size: 14px; letter-spacing: 0.08em; color: #FFE6F6;
  background: rgba(40, 8, 36, 0.55); border: 1px solid rgba(255, 79, 184, 0.7); backdrop-filter: blur(6px);
  box-shadow: 0 0 18px rgba(255, 79, 184, 0.28); transition: transform 0.2s ease, background 0.25s ease; }
.ts-hop[hidden] { display: none; }
.ts-hop img { width: 30px; height: 30px; border-radius: 8px; }
.ts-hop:hover, .ts-hop:focus-visible { transform: translateY(-2px); background: rgba(255, 79, 184, 0.24); outline: none; }
/* Bottom left: the bottom right is THE WORLD DOOR's (js/world-door.js, 2026-09-29). */
.ts-copy { position: absolute; left: max(14px, env(safe-area-inset-left)); bottom: max(10px, env(safe-area-inset-bottom)); margin: 0; font-size: 10px; color: rgba(251, 243, 231, 0.45); }
@media (max-height: 520px) {
  .ts-kicker { font-size: 10px; }
  .ts-the { font-size: 13px; }
  .ts-name { font-size: 50px; }
  .ts-sub { margin-top: 6px; font-size: 15px; }
  .ts-games { margin-top: 6px; font-size: 9px; letter-spacing: 0.12em; }
  .ts-enter { padding: 10px 44px; font-size: 17px; }
  .ts-band { margin-top: 6px; font-size: 11px; }
  .ts-hop { margin-top: 6px; padding: 4px 14px 4px 5px; font-size: 12px; }
  .ts-hop img { width: 24px; height: 24px; }
}

/* =====================================================================================================================
   THE CORNER: the way back, the account and the side, small, over the front door
   ===================================================================================================================== */
.tc { position: fixed; z-index: 45; top: max(12px, env(safe-area-inset-top)); left: max(12px, env(safe-area-inset-left)); right: max(12px, env(safe-area-inset-right));
  display: flex; align-items: center; gap: 8px; pointer-events: none; opacity: 0; transform: translateY(-8px); transition: opacity 0.35s ease, transform 0.35s ease; }
.tc.is-on { opacity: 1; transform: none; }
.tc.is-on > * { pointer-events: auto; }
html[data-loading] .tc { opacity: 0; }
.tc-home, .tc-chip, .tc-side { display: inline-flex; align-items: center; gap: 8px; height: 36px; box-sizing: border-box; border-radius: 999px; color: var(--parchment); text-decoration: none; cursor: pointer;
  background: rgba(14, 8, 6, 0.55); border: 1px solid rgba(255, 255, 255, 0.16); backdrop-filter: blur(8px); transition: border-color 0.2s, background 0.2s; font-size: 12px; }
.tc-home { padding: 0 14px 0 10px; letter-spacing: 0.06em; }
.tc-home svg { width: 16px; height: 16px; }
.tc-acct { margin-left: auto; display: flex; }
.tc-chip { padding: 0 14px 0 10px; }
.tc-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); flex: none; }
.tc-chip--guest .tc-dot { background: var(--mint-teal); box-shadow: 0 0 10px var(--mint-teal); }
.tc-words { display: flex; flex-direction: column; align-items: flex-start; line-height: 1.1; }
.tc-name { font-weight: bold; font-size: 12px; }
.tc-band { font-size: 9px; letter-spacing: 0.16em; color: var(--accent); }
.tc-chip--guest .tc-band { color: var(--mint-teal); }
/* PICK A SIDE, again: the half-light, half-dark disc opens the shared screen (js/side-picker.js) */
.tc-side { padding: 0 12px 0 8px; font-size: 11px; font-weight: bold; letter-spacing: 0.14em; text-transform: uppercase; }
.tc-side svg { width: 18px; height: 18px; flex: none; }
.tc-side-band { color: var(--accent); }
/* THE SOUND PANEL's way in (../js/sound-settings.js, 2026-10-04): a round speaker, crossed while nothing would sound */
.tc-sound { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; padding: 0; box-sizing: border-box; border-radius: 999px; color: var(--parchment); cursor: pointer;
  background: rgba(14, 8, 6, 0.55); border: 1px solid rgba(255, 255, 255, 0.16); backdrop-filter: blur(8px); transition: border-color 0.2s, background 0.2s; }
.tc-sound svg { width: 18px; height: 18px; }
.tc-sound .tc-x { display: none; }
.tc-sound.is-muted .tc-x { display: inline; }
.tc-sound.is-muted .tc-wave { display: none; }
.tc-sound[hidden] { display: none; }
.tc-home:hover, .tc-chip:hover, .tc-side:hover, .tc-sound:hover, .tc-home:focus-visible, .tc-chip:focus-visible, .tc-side:focus-visible, .tc-sound:focus-visible { border-color: var(--accent); background: rgba(30, 18, 12, 0.78); outline: none; }
@media (max-width: 560px) { .tc-home span, .tc-side-band { display: none; } .tc-side { padding: 0; width: 36px; justify-content: center; } }
html[data-picking] .tc { opacity: 0; pointer-events: none; }

/* ---- the toast ---------------------------------------------------------------------------------------------------- */
.tavern-toast { position: fixed; left: 50%; bottom: 28px; z-index: 95; max-width: min(560px, calc(100vw - 32px)); padding: 10px 16px; border-radius: 10px; transform: translate(-50%, 12px); opacity: 0;
  font-size: 13px; line-height: 1.4; color: var(--parchment); background: rgba(20, 12, 10, 0.92); border: 1px solid rgba(245, 194, 66, 0.55); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5); transition: opacity 0.25s ease, transform 0.25s ease; }
.tavern-toast.is-on { opacity: 1; transform: translate(-50%, 0); }
.tavern-toast[hidden] { display: none; }

@media (prefers-reduced-motion: reduce) {
  .ts, .ts-hero, .ts-plate, .ts-glow, .ts-smoke, .ts-sub, .ts-enter::before, .lc-motes span, .ts-motes span, #load-curtain .lc-hearth, #rotate-prompt .rp-device { animation: none !important; }
  .ts-motes, .lc-motes { display: none; }
  .ts, .tc, .ts-plate, .tavern-toast, #load-curtain { transition: none !important; }
}
