/* Player additions on top of quasar.css: brand colors, fonts, SVG icons, lightbox, toast. */
@font-face { font-family: 'atrament-web'; src: url('fonts/atrament-web.woff2') format('woff2'); font-weight: 600; font-style: normal; font-display: swap; }
@font-face { font-family: 'atrament-light'; src: url('fonts/atrament-light.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'poppins'; src: url('fonts/poppins.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }

:root {
  --q-primary: #21043D; --q-secondary: #F55B01; --q-accent: #ECB742; --q-dark: #000022;
  --q-info: #3399FF; --q-positive: #8DE88D; --q-negative: #F53301; --q-warning: #FFCC33;
  --q-light: #E6F0FF; --q-win: #B0D2B0; --q-lost: #C52944; --q-dark-page: #121212;
}

/* Quasar material "purple" palette (timer bar colour goes purple-1 .. purple-10) */
.text-purple-1 { color: #f3e5f5 !important; } .text-purple-2 { color: #e1bee7 !important; }
.text-purple-3 { color: #ce93d8 !important; } .text-purple-4 { color: #ba68c8 !important; }
.text-purple-5 { color: #ab47bc !important; } .text-purple-6 { color: #9c27b0 !important; }
.text-purple-7 { color: #8e24aa !important; } .text-purple-8 { color: #7b1fa2 !important; }
.text-purple-9 { color: #6a1b9a !important; } .text-purple-10 { color: #4a148c !important; }

/* SVG replacements for the icon fonts */
.q-icon > svg { width: 100%; height: 100%; fill: currentColor; display: block; }
.q-icon.bootstrap-icons { font-size: 1.45em !important; }
.q-rating__icon > svg { filter: drop-shadow(0 1px 1.5px rgba(0, 0, 0, .12)) drop-shadow(0 1px 1px rgba(0, 0, 0, .24)); }

a.q-btn { cursor: pointer; }
.q-btn--fab { padding: 16px; min-height: 56px; min-width: 56px; border-radius: 50%; }
.q-btn--fab .q-icon { margin: auto; }
.q-btn--fab:before { content: ""; display: block; position: absolute; inset: 0; border-radius: inherit;
  box-shadow: 0 3px 5px -1px #0003, 0 6px 10px #00000024, 0 1px 18px #0000001f; }

/* Preview banner (admin preview only) */
.aq-preview-banner { position: fixed; top: 0; left: 50%; transform: translateX(-50%); z-index: 3000;
  background: #F55B01; color: #fff; font: 600 12px/1 poppins, sans-serif; padding: 6px 14px;
  border-radius: 0 0 10px 10px; letter-spacing: .05em; pointer-events: none; }

/* Lightbox (replaces q-dialog maximized) */
.aq-lightbox { position: fixed; inset: 0; z-index: 6000; opacity: 0; transition: opacity .3s; }
.aq-lightbox.open { opacity: 1; }
.lightbox-container { position: relative; width: 100%; height: 100%; background: rgba(0, 0, 0, .9);
  display: flex; align-items: center; justify-content: center; overflow: hidden; padding: 16px; }
.lightbox-image { max-width: calc(100% - 40px); max-height: calc(100% - 40px); object-fit: contain; transform-origin: center; user-select: none; -webkit-user-drag: none; }
.aq-lightbox .close-btn { position: absolute; top: 20px; right: 20px; color: white; z-index: 10; }
.aq-lightbox input[type=range] { position: absolute; bottom: 50px; left: 50%; transform: translateX(-50%); width: 200px; accent-color: var(--q-secondary); }

/* Toast (replaces Quasar Notify) */
.aq-toast { position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 20px); z-index: 9500; opacity: 0;
  transition: opacity .3s, transform .3s; background: var(--q-positive); color: #fff; border-radius: 4px;
  padding: 6px 16px; min-height: 48px; display: flex; align-items: center; gap: 12px; font-size: 14px;
  box-shadow: 0 1px 5px #0003, 0 2px 2px #00000024, 0 3px 1px -2px #0000001f; pointer-events: none; }
.aq-toast.show { opacity: 1; transform: translate(-50%, 0); }
.aq-toast .q-icon { font-size: 24px; }

.aq-error { padding: 16px 24px; background: var(--q-negative); color: #fff; border-radius: 4px; }
.aq-toast button { pointer-events: auto; background: none; border: 0; color: #fff; font: 500 14px/1 inherit; text-transform: uppercase;
  padding: 8px; margin-right: -8px; border-radius: 4px; cursor: pointer; }
.aq-toast button:hover { background: rgba(255, 255, 255, .15); }

/* Visually hidden, still read by screen readers and crawlers (page title and description). */
.aq-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.aq-noscript { color: #fff; text-align: center; padding: 40px 16px; font-family: sans-serif; }
