
/* Independent site adjustments for the cleaned, static frontend. */
:root{color-scheme:dark;--font-sarabun:Tahoma,Arial,sans-serif}
html{scroll-behavior:smooth;scroll-padding-top:6rem}
body{min-width:320px}
a,button,summary{touch-action:manipulation}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid #ffdb55;outline-offset:3px;border-radius:.3rem}
a,button{transition:color .18s,transform .18s,opacity .18s,background-color .18s,filter .18s}
a:active,button:active{transform:scale(.975)}
[aria-current="page"]{color:#ffd95b!important;text-decoration:underline;text-underline-offset:5px}
.notice{border-color:#eebd52;background:linear-gradient(120deg,#452024,#281114)}
.notice strong{color:#ffda77}
img{max-width:100%;height:auto}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{animation-duration:.01ms!important;transition-duration:.01ms!important}}

/* qpluslotto brand lockup — no modifications to the base theme. */
.brand-logo-header{display:block;width:158px;max-width:100%;height:auto;max-height:54px;object-fit:contain}
.brand-logo-footer{display:block;width:210px;max-width:100%;height:auto;object-fit:contain}
@media(max-width:639px){.brand-logo-header{width:108px}.brand-logo-footer{width:182px}}


/* ==============================================================
   QPLUSLOTTO PURPLE & GOLD THEME V1
   Scope: COLORS ONLY. Keep every route, layout, logo, image, JS,
   gold CTA, responsive rule and original decorative pattern.
   Applied AFTER theme.css via the already-existing site.css.
   ============================================================= */

/* Shared source colors for all 12 static routes. */
:root {
  --background: #190c2e;
  --surface: #2a1648;
  --foreground: #f6efff;
  --brand: #55229e;
  --brand-dark: #330e65;
  --brand-deep: #21113b;
  /* Gold remains exactly as defined in theme.css. */
}

/* Header, hero and red-pattern sections retain original SVG motif. */
.brand-pattern { background-color: var(--brand); background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M54.627 0l.83.828-1.415 1.415L51.8 0h2.827zM5.373 0l-.83.828L5.96 2.243 8.2 0H5.374zM48.97 0l3.657 3.657-1.414 1.414L46.143 0h2.828zM11.03 0L7.372 3.657 8.787 5.07 13.857 0H11.03zm32.284 0L49.8 6.485 48.384 7.9l-7.9-7.9h2.83zM16.686 0L10.2 6.485 11.616 7.9l7.9-7.9h-2.83zm20.97 0l9.315 9.314-1.414 1.414L34.828 0h2.83zM22.344 0L13.03 9.314l1.414 1.414L25.172 0h-2.83zM32 0l12.142 12.142-1.414 1.414L30 .828 17.272 13.556l-1.414-1.414L28 0h4zM.284 0l28 28-1.414 1.414L0 2.544V0h.284zM0 5.373l25.456 25.455-1.414 1.415L0 8.2V5.374zm0 5.656l22.627 22.627-1.414 1.414L0 13.86v-2.83zm0 5.656l19.8 19.8-1.415 1.413L0 19.514v-2.83zm0 5.657l16.97 16.97-1.414 1.415L0 25.172v-2.83zM0 28l14.142 14.142-1.414 1.414L0 30.828V28zm0 5.657L11.314 44.97 9.9 46.386l-9.9-9.9v-2.828zm0 5.657L8.485 47.8 7.07 49.212 0 42.143v-2.83zm0 5.657l5.657 5.657-1.414 1.415L0 47.8v-2.83zm0 5.657l2.828 2.83-1.414 1.413L0 53.456v-2.83zM54.627 60L30 35.373 5.373 60H8.2L30 38.2 51.8 60h2.827zm-5.656 0L30 41.03 11.03 60h2.828L30 43.858 46.142 60h2.83zm-5.656 0L30 46.686 16.686 60h2.83L30 49.515 40.485 60h2.83zm-5.657 0L30 52.343 22.343 60h2.83L30 55.172 34.828 60h2.83zM32 60l-2-2-2 2h4zM59.716 0l-28 28 1.414 1.414L60 2.544V0h-.284zM60 5.373L34.544 30.828l1.414 1.415L60 8.2V5.374zm0 5.656L37.373 33.656l1.414 1.414L60 13.86v-2.83zm0 5.656l-19.8 19.8 1.415 1.413L60 19.514v-2.83zm0 5.657l-16.97 16.97 1.414 1.415L60 25.172v-2.83zM60 28L45.858 42.142l1.414 1.414L60 30.828V28zm0 5.657L48.686 44.97l1.415 1.415 9.9-9.9v-2.828zm0 5.657L51.515 47.8l1.414 1.413 7.07-7.07v-2.83zm0 5.657l-5.657 5.657 1.414 1.415L60 47.8v-2.83zm0 5.657l-2.828 2.83 1.414 1.413L60 53.456v-2.83zM39.9 16.385l1.414-1.414L30 3.658 18.686 14.97l1.415 1.415 9.9-9.9 9.9 9.9zm-2.83 2.828l1.415-1.414L30 9.313 21.515 17.8l1.414 1.413 7.07-7.07 7.07 7.07zm-2.827 2.83l1.414-1.416L30 14.97l-5.657 5.657 1.414 1.415L30 17.8l4.243 4.242zm-2.83 2.827l1.415-1.414L30 20.626l-2.828 2.83 1.414 1.414L30 23.456l1.414 1.414zM56.87 59.414L58.284 58 30 29.716 1.716 58l1.414 1.414L30 32.544l26.87 26.87z' fill='%23d8b4fe' fill-opacity='0.10' fill-rule='evenodd'/%3E%3C/svg%3E"); }

/* Content panels and highlighted boxes: red-brown to deep violet. */
.panel {
  background: linear-gradient(180deg, #39205d 0%, #25133f 100%);
  border-color: rgba(252,194,1,.22);
}
.plaque {
  background:
    radial-gradient(120% 90% at 50% 0, rgba(252,194,1,.11) 0%, transparent 55%),
    linear-gradient(180deg, #402365 0%, #261440 100%);
  border-color: rgba(252,194,1,.55);
  box-shadow: inset 0 0 0 3px rgba(25,12,46,.92),
              inset 0 0 0 4px rgba(252,194,1,.32),
              0 4px 16px rgba(0,0,0,.40);
}

/* Fixed/mobile dock; gold active-state and icons remain untouched. */
.quick-dock {
  background:
    radial-gradient(90% 140% at 50% -30%, rgba(252,194,1,.16) 0%, transparent 45%),
    linear-gradient(180deg, rgba(55,29,89,.985) 0%, rgba(24,10,46,.99) 100%);
}

/* Existing notice component in site.css, without changing its markup. */
.notice {
  border-color: #c49bff;
  background: linear-gradient(120deg, #3b205e, #211139);
}
.notice strong { color: #ffda77; }

/* Tailwind bracket utilities saved in the original HTML snapshots.
   These specific class-token overrides recolor only existing red tones;
   black overlays, white icon chips and gold remain as originally set. */
[class~="bg-[#200d0f]"] { background-color: #24113d; }
[class~="bg-[#1e0c0e]"] { background-color: #1b0d30; }
[class~="bg-[#220d10]/95"] { background-color: rgba(30,13,54,.95); }
[class~="bg-[#4a191e]"] { background-color: #442475; }

/* Background gradient stops for the sticky mobile navigation and cards. */
[class~="from-[#160709]"] { --tw-gradient-from: #140921; }
[class~="via-[#160709]/88"] { --tw-gradient-via: rgba(20,9,33,.88); }
[class~="from-[#3b151a]"] { --tw-gradient-from: #3b205c; }
[class~="to-[#2a0f13]"] { --tw-gradient-to: #21113d; }
[class~="ring-[#220d10]"] { --tw-ring-color: #23113b; }

/* Purple shadow for the single legacy red-glow utility. */
[class~="shadow-[0_4px_20px_rgba(183,28,28,0.45)]"] {
  box-shadow: 0 4px 20px rgba(91,42,155,.45);
}
