/* KURSEGEOGE Winter 2026 / V3 — public UI only. Payment behavior is untouched. */
:root{--kg-hl-navy:#070e28;--kg-hl-night:#14264d;--kg-hl-gold:#ffe4a5;--kg-hl-light:#f9fdff;--kg-hl-blue:#83dbff}
html{scroll-behavior:smooth}
body.kg-holiday-v3:not(.kg-holiday-subpage){
 --kg-hl-hero:url('/kg-holiday-backdrop.webp?v=3');
 background-color:#101435!important;
 background-image:linear-gradient(180deg,rgba(5,9,29,.28),rgba(23,12,56,.32)),var(--kg-hl-hero)!important;
 background-size:cover!important;background-position:center top!important;background-attachment:fixed!important;
}
body.kg-holiday-v3:not(.kg-holiday-subpage)::before{content:"";position:fixed;inset:0;z-index:0;pointer-events:none;background:radial-gradient(ellipse at 50% 0,transparent 30%,rgba(2,8,30,.23) 100%)}
/* The garland is visual only; never receives pointer events or intercepts controls. */
#kg-holiday-garland{position:fixed!important;left:0;right:0;top:0;height:78px;z-index:2147480000!important;pointer-events:none!important;overflow:hidden}
#kg-holiday-garland::before{content:"";position:absolute;left:0;right:0;top:1px;height:11px;border-radius:50%;background:repeating-linear-gradient(100deg,#154a2a 0 13px,#31562f 14px 20px,#123a25 20px 27px);box-shadow:0 3px 5px #0008,0 2px 11px #63b76c65}
.kg-holiday-bulb{position:absolute;top:4px;width:9px;height:12px;border-radius:45% 45% 50% 50%;background:#ffe6aa;box-shadow:0 0 9px 4px #f4b553ba,0 0 26px 8px #ff9b3566;transform-origin:50% -8px;animation:kg-lights 2.9s ease-in-out infinite alternate}
.kg-holiday-bulb:nth-child(3n){background:#addcff;box-shadow:0 0 9px 4px #a9dfffad,0 0 26px 8px #368fd277}
.kg-holiday-bulb:nth-child(5n){background:#ffbdad;box-shadow:0 0 11px 4px #fb9f9299}
.kg-holiday-bulb::before{content:"";position:absolute;width:2px;height:7px;left:4px;bottom:100%;background:#475c5f}
@keyframes kg-lights{0%,42%{opacity:.72;filter:brightness(.85)}100%{opacity:1;filter:brightness(1.35)}}
/* Gentle, decorative snow: no click interception, bounded particle count. */
#kg-holiday-snow{position:fixed!important;inset:0;pointer-events:none!important;z-index:2147479998!important;overflow:hidden}
.kg-holiday-flake{position:absolute;top:-12px;width:5px;height:5px;border-radius:50%;background:#eefaff;opacity:.6;box-shadow:0 0 7px #ddf6ff9c;animation:kg-fall linear infinite}
@keyframes kg-fall{to{transform:translate3d(var(--kg-drift,25px),105vh,0) rotate(180deg)}}
/* Real image logo: replace old Halloween logo, no duplicate brand. */
.kg-holiday-logo-image{display:block!important;max-width:min(360px,42vw)!important;max-height:86px!important;width:auto!important;height:auto!important;object-fit:contain!important;filter:drop-shadow(0 2px 6px #d6954666)!important}
.kg-holiday-old-brand,.kg-newyear-brand{display:none!important}
.kg-holiday-brand-anchor{display:inline-flex!important;align-items:center!important;min-height:58px!important;background:none!important;border:0!important;box-shadow:none!important;white-space:nowrap!important}
/* Replace only the large promotional image, not other images or videos. */
body.kg-holiday-v3 img.kg-holiday-hero{display:block!important;width:100%!important;height:auto!important;max-width:100%!important;object-fit:contain!important;border:2px solid rgba(255,201,111,.8)!important;border-radius:22px!important;box-shadow:0 0 0 1px rgba(255,252,238,.14),0 15px 50px #06112c99,0 0 27px #ffa53840!important}
/* Snow / frost / slight 3D relief on every actual CTA; not on regular article links. */
body.kg-holiday-v3 .kg-holiday-button,
body.kg-holiday-v3 button.kg-holiday-button,
body.kg-holiday-v3 a.kg-holiday-button,
body.kg-holiday-v3 input.kg-holiday-button{
 isolation:isolate;
 border:1px solid #f8c87f!important;border-radius:12px!important;
 color:#fff7e7!important;
 background:linear-gradient(145deg,#354c83 0%,#132149 48%,#08142c 100%)!important;
 box-shadow:inset 0 1px 0 #e8f6ff9c,inset 0 -3px 0 #030a2080,0 5px 0 #050b1c,0 9px 17px #0008,0 0 16px #ffd27b39!important;
 text-shadow:0 1px 2px #010819,0 0 9px #bfe2ff59!important;
 transition:transform .18s,box-shadow .18s,filter .18s!important;
 text-decoration:none!important;
}
body.kg-holiday-v3 .kg-holiday-button:hover:not(:disabled){transform:translateY(-2px)!important;filter:brightness(1.18);box-shadow:inset 0 1px 0 #f7fbffb3,inset 0 -3px 0 #030a20,0 7px 0 #050b1c,0 13px 24px #0009,0 0 24px #ffc2686e!important}
body.kg-holiday-v3 .kg-holiday-button:active:not(:disabled){transform:translateY(2px)!important;box-shadow:inset 0 2px 5px #040a1b,0 2px 0 #050b1c,0 3px 12px #0009!important}
body.kg-holiday-v3 .kg-holiday-button:focus-visible{outline:2px solid #cceeff!important;outline-offset:3px}
body.kg-holiday-v3 .kg-holiday-button:disabled,body.kg-holiday-v3 .kg-holiday-button[aria-disabled="true"]{cursor:not-allowed!important;opacity:.55!important;transform:none!important}
body.kg-holiday-v3 .kg-holiday-button.kg-holiday-buy,body.kg-holiday-v3 #kg-winter-buy-courses{
 color:#301729!important;
 background:linear-gradient(160deg,#fff4cc 0%,#ffc46b 37%,#d97933 85%,#a54621 100%)!important;
 text-shadow:0 1px 1px #fff6b999!important;
 border-color:#fff4c2!important;
 box-shadow:inset 0 2px 1px #fff9e899,0 4px 0 #733a20,0 8px 23px #170b1680,0 0 18px #f6b65b80!important;
}
body.kg-holiday-v3 #kg-winter-buy-courses{border-radius:24px!important;z-index:2147480000!important;padding:14px 18px!important;text-decoration:none!important;font-weight:800!important}
/* Seasonal headings/labels avoid reintroducing old pumpkin colors. */
body.kg-holiday-v3 .kg-holiday-badge{border-color:#e9cf92!important;background:linear-gradient(120deg,rgba(16,39,77,.93),rgba(69,33,81,.76))!important;color:#ffedbd!important;box-shadow:0 0 22px #f7bb6640!important}
body.kg-holiday-v3 .kg-holiday-ticker{color:#ebf5ff!important;text-shadow:0 0 12px #a3dfff66!important}
body.kg-holiday-v3 [class*="card"],body.kg-holiday-v3 [class*="panel"]{--kg-holiday-card-border:rgba(244,201,139,.24)}
/* Existing popup snow game: enhanced and unobtrusive; do not cover site except when opened. */
#kg-snow-activate{position:fixed!important;z-index:2147480000!important;left:16px;bottom:19px;padding:14px 21px;min-height:50px;border-radius:999px;border:1px solid #ffe9a8;color:#fff9e3;background:linear-gradient(130deg,#28487b,#0e234d);box-shadow:inset 0 2px 1px #a8dbff75,0 5px 0 #061127,0 12px 28px #0009,0 0 25px #e6b46b66;cursor:pointer;font:750 14px system-ui,-apple-system,'Segoe UI',sans-serif;animation:kg-button-pulse 3.2s ease-in-out infinite}
#kg-snow-activate:hover{filter:brightness(1.14);transform:translateY(-2px)}
#kg-snow-activate[aria-pressed="true"]{display:none}
@keyframes kg-button-pulse{50%{box-shadow:inset 0 2px 1px #a8dbff75,0 5px 0 #061127,0 12px 28px #0008,0 0 30px #e6b46b99}}
#kg-snow-screen{position:fixed;inset:0;z-index:2147480003;display:none;overflow:hidden;touch-action:none;user-select:none;-webkit-user-select:none}
#kg-snow-screen.kg-active{display:block}
#kg-snow-canvas{display:block;width:100%;height:100%;cursor:crosshair;touch-action:none}
#kg-snow-toolbar{position:absolute;top:max(16px,env(safe-area-inset-top));left:50%;transform:translateX(-50%);display:flex;align-items:center;gap:11px;padding:11px 15px;max-width:calc(100vw - 18px);border:1px solid #e3c691;border-radius:16px;background:linear-gradient(135deg,rgba(10,30,60,.97),rgba(37,30,65,.94));color:#fff8e9;backdrop-filter:blur(16px);box-shadow:0 10px 36px #0008;font:650 13px/1.4 system-ui,-apple-system,'Segoe UI',sans-serif}
#kg-snow-status{min-width:175px}
#kg-snow-toolbar button{min-height:37px;padding:7px 11px;border-radius:10px;border:1px solid #f6d38d;background:linear-gradient(135deg,#fff0c4,#e9a65a);color:#24172b;cursor:pointer;font:750 13px system-ui,sans-serif}
#kg-snow-caption{position:absolute;bottom:15px;left:50%;transform:translateX(-50%);max-width:95vw;color:#fff;text-align:center;text-shadow:0 2px 8px #0e265b;font:600 12px system-ui,sans-serif;pointer-events:none}
#kg-snow-screen.kg-complete #kg-snow-status{color:#b6f5df}
@media(max-width:760px){body.kg-holiday-v3{background-attachment:scroll!important}#kg-holiday-garland{height:42px}.kg-holiday-logo-image{max-width:min(230px,53vw)!important;max-height:55px!important}#kg-snow-activate{left:8px;bottom:74px;font-size:12px;padding:10px 12px;min-height:39px}#kg-snow-toolbar{left:5px;right:5px;transform:none;top:8px;gap:6px;padding:7px}#kg-snow-status{min-width:0;flex:1;font-size:11px}#kg-snow-toolbar button{font-size:11px;padding:6px 8px}#kg-snow-caption{font-size:11px}}
@media(prefers-reduced-motion:reduce){#kg-holiday-garland .kg-holiday-bulb,.kg-holiday-flake,#kg-snow-activate{animation:none!important}body.kg-holiday-v3 .kg-holiday-button{transition:none!important}}

/* V4 FIX — one single brand image, preserving the original home-link target. */
body.kg-holiday-v3 .kg-holiday-hidden-legacy-brand{display:none!important}
body.kg-holiday-v3 .kg-holiday-brand-anchor{
  display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;
  width:auto!important;max-width:min(340px,46vw)!important;
  padding:0!important;margin:0!important;
  background:none!important;background-image:none!important;
  text-indent:0!important;overflow:visible!important;
}
body.kg-holiday-v3 .kg-holiday-brand-anchor::before,
body.kg-holiday-v3 .kg-holiday-brand-anchor::after{content:none!important;display:none!important}
body.kg-holiday-v3 .kg-holiday-brand-anchor .kg-holiday-logo-image{
  display:block!important;position:static!important;max-width:min(315px,45vw)!important;
  width:315px!important;height:auto!important;max-height:62px!important;
  object-fit:contain!important;mix-blend-mode:screen;
  border:0!important;border-radius:0!important;background:transparent!important;
  box-shadow:none!important;filter:drop-shadow(0 2px 5px #05081d80)!important;
}
/* The previous theme painted a dark photograph behind light/white news and
   course interfaces, making their ORIGINAL dark text unreadable. Only the
   homepage gets the cinematic hero background; subpages keep light contrast. */
/* V4: on all other pages, respect EACH page's existing background and text
   colors. Snowflakes and garland still appear, but no forced dark photograph. */
body.kg-holiday-v3.kg-holiday-subpage::before{content:none!important;display:none!important}
/* Blend festive banner into a dark navbar on secondary pages, not into white. */
body.kg-holiday-v3.kg-holiday-subpage .kg-holiday-branded-header{
  background:#0c142c!important;
  background-image:linear-gradient(120deg,#080f29 0%,#121937 55%,#18102b 100%)!important;
  border-bottom:1px solid #edc27b7e!important;
  color:#f8f1e6!important;
}
body.kg-holiday-v3.kg-holiday-subpage .kg-holiday-branded-header > div:not([class*="btn"]):not([class*="button"]),
body.kg-holiday-v3.kg-holiday-subpage .kg-holiday-branded-header > nav{
  background:transparent!important;
}
body.kg-holiday-v3.kg-holiday-subpage .kg-holiday-branded-header a:not(.kg-holiday-button):not(.kg-holiday-brand-anchor){
  color:#f5f0e7!important;
}
@media(max-width:760px){
 body.kg-holiday-v3 .kg-holiday-brand-anchor{max-width:min(200px,57vw)!important}
 body.kg-holiday-v3 .kg-holiday-brand-anchor .kg-holiday-logo-image{width:200px!important;max-width:min(200px,56vw)!important;max-height:45px!important}
}


/* V5. Restore native original site branding. No injected replacement logo. */

body.kg-holiday-v3 .kg-holiday-hidden-legacy-brand {display:revert!important}
#kg-snow-activate,#kg-snow-screen,#kg-snow-toolbar,#kg-snow-caption{display:none!important}

/* Premium gold primary CTA: actual link and target are unchanged. */
body.kg-holiday-v3 .kg-holiday-button.kg-holiday-course-primary,
body.kg-holiday-v3 a.kg-holiday-course-primary,
body.kg-holiday-v3 button.kg-holiday-course-primary{
  color:#28130b!important;
  background:linear-gradient(145deg,#fff8d7 0%,#ffdfa1 18%,#ffc36a 46%,#ff981f 75%,#d86a0e 100%)!important;
  border:2px solid #fff0b0!important;
  padding:13px 24px!important;
  border-radius:999px!important;
  font-size:clamp(14px,1.05vw,18px)!important;
  font-weight:900!important;
  letter-spacing:.02em!important;
  box-shadow:inset 0 2px 1px #fff9e9, inset 0 -4px 0 #ae5b20,0 5px 0 #6a331e,0 10px 22px #0009,0 0 26px #ffd16bb0!important;
  text-shadow:0 1px #fff8db!important;
  animation:kg-cta-gleam 3.1s ease-in-out infinite;
}
body.kg-holiday-v3 .kg-holiday-course-primary:hover{
  transform:translateY(-3px) scale(1.035)!important;
  filter:brightness(1.07)!important;
  box-shadow:inset 0 2px 1px #fff9e9,0 7px 0 #6a331e,0 15px 30px #000a,0 0 38px #ffd16bdc!important;
}
@keyframes kg-cta-gleam{0%,100%{filter:brightness(1)}50%{filter:brightness(1.12)}}

/* Add Santa Claus and reindeer on the LEFT as a genuine background layer, never an overlay.
   On narrow screens the decorative layer is omitted to keep controls readable. */
@media (min-width:1450px){
 body.kg-holiday-v3:not(.kg-holiday-subpage){
  background-image:
    linear-gradient(180deg,rgba(5,9,29,.28),rgba(23,12,56,.32)),
    url('/kg-holiday-santa-reindeer-v5.webp?v=20261110'),
    url('/kg-holiday-backdrop.webp?v=3')!important;
  background-size:cover, clamp(280px,22vw,374px) auto,cover!important;
  background-position:center top,left 0 top 205px,center top!important;
  background-repeat:no-repeat,no-repeat,no-repeat!important;
  background-attachment:fixed,fixed,fixed!important;
 }
}
@media (max-width:760px){
 body.kg-holiday-v3 .kg-holiday-button.kg-holiday-course-primary{padding:11px 15px!important;font-size:14px!important}
}
@media(prefers-reduced-motion:reduce){body.kg-holiday-v3 .kg-holiday-course-primary{animation:none!important}}


/* V6: remove only the upper dangling light garland; keep snow and winter backgrounds. */
#kg-holiday-garland,#kg-holiday-garland::before,.kg-holiday-bulb{display:none!important}
/* One logo replaces the pumpkin inside the original home link, preserving its href. */
.kg-winter-logo-anchor-v6{
 display:inline-flex!important;align-items:center!important;justify-content:flex-start!important;
 background:none!important;border:0!important;box-shadow:none!important;
 text-decoration:none!important;white-space:nowrap!important;
}
.kg-winter-logo-anchor-v6::before,.kg-winter-logo-anchor-v6::after{content:none!important}
.kg-winter-logo-anchor-v6 .kg-winter-logo-v6{
 display:block!important;width:clamp(205px,24vw,425px)!important;
 max-width:calc(100vw - 32px)!important;height:auto!important;max-height:78px!important;
 object-fit:contain!important;filter:drop-shadow(0 3px 6px rgba(80,20,0,.24))!important;
}
@media(max-width:760px){.kg-winter-logo-anchor-v6 .kg-winter-logo-v6{width:min(230px,55vw)!important;max-height:54px!important}}

/* V7: 100% remove the upper row of animated garland lights. */
#kg-holiday-garland, #kg-holiday-garland::before,
.kg-holiday-bulb, [id*="holiday-garland"], [class*="holiday-garland"] {
  display:none!important;visibility:hidden!important;opacity:0!important;
  height:0!important;max-height:0!important;pointer-events:none!important;
}
/* Only one snowy logo in the ORIGINAL branded link. Do not alter navigation. */
body.kg-holiday-v3 .kg-newyear-brand-v7{
 display:inline-flex!important;align-items:center!important;
 background-image:none!important;background-color:transparent!important;
 text-indent:0!important;overflow:visible!important;
}
body.kg-holiday-v3 .kg-newyear-brand-v7::before,
body.kg-holiday-v3 .kg-newyear-brand-v7::after{content:none!important;display:none!important}
body.kg-holiday-v3 img.kg-newyear-logo-v7{
 display:block!important;position:static!important;width:clamp(190px,21vw,360px)!important;
 height:auto!important;max-height:78px!important;object-fit:contain!important;
 background:none!important;box-shadow:none!important;
 mix-blend-mode:normal!important;filter:drop-shadow(0 3px 7px #070b20aa)!important;
}
@media(max-width:760px){body.kg-holiday-v3 img.kg-newyear-logo-v7{
 width:min(230px,53vw)!important;max-height:53px!important}}

/* Hide holiday logo on inner pages */
body.kg-holiday-v3 .kg-holiday-subpage .kg-holiday-brand-anchor, body.kg-holiday-v3 .kg-holiday-subpage .kg-holiday-logo-image { display: none !important; }

/* Hide winter branding on internal pages */
body.kg-holiday-subpage .kg-holiday-brand-anchor, body.kg-holiday-subpage .kg-holiday-logo-image, body.kg-holiday-v3.kg-holiday-subpage .kg-holiday-brand-anchor, body.kg-holiday-v3.kg-holiday-subpage .kg-holiday-logo-image { display:none !important; }
