/* Artsymus Kids — CHRISTMAS SKIN 2026 (seasonal layer, TEMPLATE v1 part 1)
   ADDITIVE ONLY: this file decorates; it never redefines base layout, never
   touches logos/wordmarks, never recolours functional elements.
   Function colours are NOT overridden here (clickable stays Hermès orange
   #F37021 per §五十八; warning red #9B2423 untouched).
   Decorative palette is OPEN under the Kids colour exception.
   Window: 2026-12-14 → 2026-12-26. Rollback = remove the <link> + body class. */

body.festival-christmas {
  --xmas-red: #D42426;      /* decorative only */
  --xmas-green: #1E7A46;    /* decorative only */
  --xmas-gold: #E8A812;     /* decorative only */
  --xmas-berry: #8E2A5C;    /* decorative only */
  --xmas-sky: #BFE3F2;      /* decorative only */
  --xmas-cream: #FFF7E8;
}

/* Garland strip under the header (pure decoration, pointer-events none) */
body.festival-christmas .site-header::after {
  content: "🎄 ✦ 🎁 ✦ ⛄ ✦ 🔔 ✦ 🎄 ✦ 🎁 ✦ ⛄ ✦ 🔔 ✦ 🎄";
  display: block; text-align: center; letter-spacing: .35em;
  font-size: 15px; line-height: 1.9; color: var(--xmas-green);
  background: linear-gradient(90deg, var(--xmas-cream), #FDEBD2, var(--xmas-cream));
  pointer-events: none;
}

/* Snowfall dots on section tops (CSS only, no JS, no images) */
body.festival-christmas .kids-hero {
  background-image:
    radial-gradient(circle at 12% 22%, #fff 2.2px, transparent 2.6px),
    radial-gradient(circle at 34% 12%, #fff 1.6px, transparent 2px),
    radial-gradient(circle at 57% 30%, #fff 2px, transparent 2.4px),
    radial-gradient(circle at 76% 16%, #fff 1.5px, transparent 1.9px),
    radial-gradient(circle at 91% 26%, #fff 2.1px, transparent 2.5px),
    linear-gradient(180deg, var(--xmas-sky), #EAF6FC);
}

/* Cards get a candy-stripe top edge (decoration layer only) */
body.festival-christmas .card {
  border-top: 6px solid transparent;
  border-image: repeating-linear-gradient(45deg, var(--xmas-red) 0 14px, #fff 14px 28px) 6;
}

/* Tier badges wear a Santa-hat corner (decoration) */
body.festival-christmas .tier-badge::before { content: "🎅 "; }

/* Christmas entry banner block (added markup, base pages unchanged) */
.xmas-banner {
  background: linear-gradient(135deg, var(--xmas-red), var(--xmas-berry));
  color: #fff; border-radius: 18px; padding: 18px 20px; text-align: center;
}
.xmas-banner h2 { margin: 0 0 6px; font-size: 1.45rem; }
.xmas-banner p { margin: 0; opacity: .95; }
.xmas-banner a { color: #fff; font-weight: 700; }

/* ——— INTEGRATION SUPPLEMENT (2026-11-26, artsymus.org Kids) ———
   The .org Kids pages use header.top / .hero / .door / .band classes
   (kids.css), not .site-header / .kids-hero. The same three decorations
   are mapped onto the Kids classes here. Additive only, same rules:
   no layout redefinition, no logo/wordmark rules, no function colours. */
body.festival-christmas header.top::after {
  content: "🎄 ✦ 🎁 ✦ ⛄ ✦ 🔔 ✦ 🎄 ✦ 🎁 ✦ ⛄ ✦ 🔔 ✦ 🎄";
  display: block; text-align: center; letter-spacing: .35em;
  font-size: 15px; line-height: 1.9; color: var(--xmas-green);
  background: linear-gradient(90deg, var(--xmas-cream), #FDEBD2, var(--xmas-cream));
  border-radius: 999px; margin-top: 10px;
  pointer-events: none;
}
body.festival-christmas .hero figure {
  background-image:
    radial-gradient(circle at 12% 22%, #fff 2.2px, transparent 2.6px),
    radial-gradient(circle at 34% 12%, #fff 1.6px, transparent 2px),
    radial-gradient(circle at 57% 30%, #fff 2px, transparent 2.4px),
    radial-gradient(circle at 76% 16%, #fff 1.5px, transparent 1.9px),
    radial-gradient(circle at 91% 26%, #fff 2.1px, transparent 2.5px),
    linear-gradient(180deg, var(--xmas-sky), #F3E7CE);
}
body.festival-christmas .door {
  border-top-width: 10px;
}
body.festival-christmas .band::before { content: "🎅 "; }

/* KIDS-LAYOUT-REWORK-v1 (2026-11-27): component styles for pages that load this skin
   WITHOUT kids.css (mission, activities, share) — identical values to kids.css.
   The guide entry is the round bust avatar only; the jump band is the slim light lockup band. */

.fam-jump-band{position:fixed;left:0;right:0;bottom:0;z-index:80;background:#FFF3DC;color:#2B2118;box-shadow:0 -2px 10px rgba(43,33,24,.12);border-top:3px solid #F2B705}
.fam-jump-band a{display:flex;align-items:center;justify-content:center;gap:12px;min-height:40px;padding:5px 14px calc(5px + env(safe-area-inset-bottom));color:#2B2118;text-decoration:none}
.fam-jump-lockup{display:flex;flex-direction:row;align-items:baseline;gap:9px;line-height:1.12;text-align:left}
.fam-jump-name{font-size:15.5px;font-weight:800;letter-spacing:.03em;color:#2B2118;white-space:nowrap}
.fam-jump-line{font-size:10.5px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#7A5C2E;white-space:nowrap}
.fam-jump-arrow{background:#F37021;color:#fff;border-radius:999px;width:26px;height:26px;display:inline-flex;align-items:center;justify-content:center;font-weight:700;flex:none;line-height:1}
.fam-jump-arrow svg{display:block}
/* KIDS-GUIDE-v1 — Symus at the bottom-right (Lawrence 2026-11-26):
   one floating entry, her face; her panel opens in place above it.
   Bottom offsets clear the 54px jump band + the browser's bottom bar. */
.kg-btn{position:fixed;right:14px;bottom:calc(60px + env(safe-area-inset-bottom));z-index:85;width:60px;height:60px;border-radius:50%;border:3px solid #FFF;padding:0;background:#1E1A24;box-shadow:0 4px 16px rgba(0,0,0,.3);cursor:pointer;overflow:hidden}
.kg-btn img{width:100%;height:100%;object-fit:cover;display:block}
.kg-panel{position:fixed;right:14px;bottom:calc(132px + env(safe-area-inset-bottom));z-index:86;width:min(344px,calc(100vw - 28px));max-height:min(72vh,600px);overflow-y:auto;background:#FFF;border:3px solid #EAD9B8;border-radius:22px;box-shadow:0 10px 34px rgba(0,0,0,.28);padding:14px;font-size:17px}
.kg-head{display:flex;align-items:center;gap:10px}
.kg-mini{width:44px;height:44px;border-radius:50%;object-fit:cover;flex:none}
.kg-id{display:flex;flex-direction:column;line-height:1.2;min-width:0}
.kg-name{font-weight:800;font-size:19px}
.kg-role{font-size:14px;color:#6b7078}
.kg-close{margin-left:auto;background:#FFF;border:3px solid #2B2118;color:#2B2118;border-radius:999px;width:44px;height:44px;font-size:17px;cursor:pointer;flex:none}
.kg-langs{display:flex;flex-wrap:wrap;gap:4px 8px;align-items:center;margin-top:12px;font-size:16px}
.kg-langs a{color:#2E6FBE;text-decoration:none}
.kg-langs [aria-current]{font-weight:800}
.kg-sec{margin-top:14px;border-top:2px solid #F3E7CE;padding-top:10px}
.kg-h{margin:0 0 8px;font-size:18px}
.kg-search{width:100%;font-size:17px;padding:10px 12px;border:2px solid #EAD9B8;border-radius:12px;font-family:inherit}
.kg-results a{display:block;padding:7px 2px;color:#2E6FBE;text-decoration:none;font-size:17px;border-bottom:1px solid #F3E7CE}
.kg-none{padding:7px 2px;color:#6b7078;font-size:16px}
.kg-chips{display:flex;flex-direction:column;gap:8px}
.kg-chip{text-align:left;background:#FFF7EA;border:2px solid #EAD9B8;border-radius:14px;padding:9px 12px;font-size:16px;cursor:pointer;color:#2B2118;font-family:inherit}
.kg-ask{display:flex;gap:8px;margin-top:10px}
.kg-askin{flex:1;font-size:17px;padding:10px 12px;border:2px solid #EAD9B8;border-radius:12px;min-width:0;font-family:inherit}
.kg-send{background:#F37021;color:#fff;border:none;border-radius:12px;width:48px;min-height:48px;font-size:20px;cursor:pointer;flex:none}
.kg-back{background:none;border:none;color:#2E6FBE;font-size:16px;cursor:pointer;padding:4px 0;font-family:inherit}
.kg-q{font-weight:800;font-size:18px;margin:2px 0 6px}
.kg-atext{font-size:17px;line-height:1.5;margin:0 0 8px}
.kg-noted{font-size:17px;line-height:1.5;background:#FFF7EA;border-radius:12px;padding:10px 12px}
.kg-panel audio{width:100%}
.kg-story{margin:10px 0}
.kg-storyt{font-weight:700;font-size:16px;margin-bottom:2px}

/* KIDS-PASS3-v1 (2026-11-27): jump band removed from Kids pages; the
   slim footer carries the stacked lockup; guide returns to the corner. */
.kids-foot-lockup{display:flex;flex-direction:column;align-items:center;gap:1px;line-height:1.12;margin-bottom:6px}
.kfl-name{font-size:15.5px;font-weight:800;letter-spacing:.03em;color:#2B2118}
.kfl-line{font-size:10.5px;font-weight:700;letter-spacing:.14em;text-transform:uppercase;color:#7A5C2E}
.kids-standalone-foot{text-align:center;color:#7A5C2E;font-size:16px;padding:18px 12px 26px}
.kg-btn{bottom:calc(18px + env(safe-area-inset-bottom))}
.kg-panel{bottom:calc(90px + env(safe-area-inset-bottom))}

/* KIDS-PASS4-v1 (2026-11-27): same ONE selected-state treatment on the
   standalone Christmas pages (guide language pill + swatch ring). */
.kg-langs [aria-current]{background:#F37021;color:#fff;border-radius:999px;padding:2px 10px;display:inline-block;line-height:1.45;font-weight:800}
.sw.sel{box-shadow:0 0 0 3px #fff,0 0 0 7px #F37021;transform:scale(1.12)}
.studiobtns button.on{background:#F37021;border-color:#F37021;color:#fff}

/* KIDS-ITEM6-v1c (2026-11-27): this skin sheet loads after kids.css and
   redeclares .kg-panel, so the taller guide panel (rows not cut off)
   is stated here too. */
.kg-panel{max-height:min(88vh,780px)}
