/* React Bits GhostCursor + 星汐 × CLANNAD Dual-World ("汐 · 春海花风" & "星 · 幻想世界星河").
   Crystalline Sea-Glass + Radiant Golden/Sakura-Pink Border Glow Edition (clannad6):
   - Combines true translucent crystal glass (water & blossoms refract through .topbar, .panel, and controls)
     with vivid Golden-Yellow (#ffdf28) & Sakura-Pink (#ff58a6) panel/control border light effects.
   - Bright, bubble-free .topbar (no GALAXY bubble artifacts or repeating dot texture). */
.rb-ghost-cursor {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: -1;
  pointer-events: none;
  mix-blend-mode: screen;
  opacity: .24;
  filter: saturate(1.12);
}
.sky-scenery {
  z-index: -3 !important;
  background: #0b1325;
}
:root[data-theme="light"] .sky-scenery {
  opacity: 0;
  visibility: hidden;
  transition: opacity .42s cubic-bezier(.4, 0, .2, 1), visibility 0s linear .42s;
}
:root:not([data-theme="light"]) .sky-scenery {
  opacity: 1;
  visibility: visible;
  transition: opacity .42s cubic-bezier(.4, 0, .2, 1), visibility 0s linear 0s;
}
:root[data-theme="light"] .canvas { background: transparent; }
:root[data-theme="light"] .empty h2 { color: #f4fff7; text-shadow: 0 2px 18px #24606b80; }
:root[data-theme="light"] .empty p { color: #e5f7f1; text-shadow: 0 1px 12px #24606b80; }
:root[data-theme="light"] .empty-symbol { color: #fff2a7; text-shadow: 0 0 18px #fff4afcc, 0 0 42px #fff0a466; }

/* 1. Daylight Artwork Card (.node) Outward-Spilling Luminous Frame */
:root[data-theme="light"] .node {
  background: rgba(246, 253, 252, .88);
  border-color: rgba(255, 238, 148, .95);
  box-shadow:
    0 16px 38px rgba(14, 68, 82, .24),
    0 0 0 1px rgba(255, 218, 72, .68),
    0 0 20px rgba(255, 214, 64, .44),
    0 0 34px rgba(255, 96, 176, .28),
    inset 0 1.2px 0 #ffffff;
}
:root[data-theme="light"] .node:hover {
  border-color: #fff2a6;
  box-shadow:
    0 18px 44px rgba(14, 68, 82, .30),
    0 0 0 1.5px rgba(255, 218, 68, .94),
    0 0 26px rgba(255, 214, 58, .58),
    0 0 44px rgba(255, 92, 172, .38);
}
:root[data-theme="light"] .node.selected {
  border-color: #ffe066;
  box-shadow:
    0 0 0 3px rgba(255, 218, 68, .40),
    0 0 32px rgba(255, 214, 58, .54),
    0 0 46px rgba(255, 92, 172, .34),
    0 18px 44px rgba(14, 68, 82, .28);
}
:root[data-theme="light"] .node-footer {
  color: #1f464e;
  background: linear-gradient(180deg, rgba(244, 252, 251, .86), rgba(228, 246, 245, .90));
  border-top: 1px solid rgba(255, 224, 108, .52);
}

/* 2. Daylight WebGL2 LaserFlow + Full Radiant Golden/Pink BorderGlow (No GALAXY bubbles!) */
:root[data-theme="light"]:not([data-motion="off"]) .rb-decor:not([hidden]) {
  display: block !important;
}
/* Day Mode GALAXY uses uMode 4 (pure luminous Golden & Sakura-Pink light orbs, zero dark bubble rings!) */
:root[data-theme="light"] .topbar > .rb-decor-galaxy {
  mix-blend-mode: screen;
  opacity: .92;
}
:root[data-theme="light"] .panel > .rb-decor-galaxy {
  mix-blend-mode: screen;
  opacity: .76;
}
:root[data-theme="light"] .panel-heading > .rb-decor-laser {
  mix-blend-mode: plus-lighter;
  opacity: .88;
}

:root[data-theme="light"]:not([data-motion="off"]) .rb-decor.rb-border-decor:not([hidden]) {
  --mesh:
    radial-gradient(at 80% 55%, #ffe02e 0, transparent 52%),
    radial-gradient(at 69% 34%, #ff58a6 0, transparent 52%),
    radial-gradient(at 8% 6%, #ffe642 0, transparent 52%),
    radial-gradient(at 41% 38%, #ff62b0 0, transparent 52%),
    radial-gradient(at 86% 85%, #ffe02e 0, transparent 52%),
    radial-gradient(at 82% 18%, #ff58a6 0, transparent 52%),
    radial-gradient(at 51% 4%, #ffe02e 0, transparent 52%),
    linear-gradient(115deg, #ffe02e 0%, #ff58a6 52%, #ffe642 100%);
}
/* Skip the 7-mask .rb-border-fill layer in light mode to save 40+ offscreen mask-composite surfaces */
:root[data-theme="light"] .rb-border-fill {
  display: none !important;
}
:root[data-theme="light"] .rb-border-decor > .rb-edge-light {
  mix-blend-mode: plus-lighter;
}
:root[data-theme="light"] .rb-border-decor > .rb-edge-light::before {
  box-shadow:
    inset 0 0 0 1.3px #fff6a8f5,
    inset 0 0 5px #ffe02ee6,
    inset 0 0 14px #ff58a6bf,
    inset 0 0 26px #ffe02e88,
    0 0 4px #fff6a8f0,
    0 0 11px #ffe02ee0,
    0 0 24px #ff58a6b3,
    0 0 42px 2px #ffe02e75;
}
:root[data-theme="light"] .rb-border-control > .rb-edge-light::before {
  box-shadow:
    inset 0 0 0 1.2px #fff8b8f5,
    inset 0 0 5px #ffe02ed9,
    inset 0 0 13px #ff58a699,
    0 0 4px #fff8b8eb,
    0 0 12px #ffe02ec7,
    0 0 24px #ff58a699;
}
:root[data-theme="light"] .rb-border-decor:not(.rb-border-active) > .rb-border-cone {
  opacity: .80;
}
:root[data-theme="light"] .rb-border-decor:not(.rb-border-active) > .rb-edge-light {
  opacity: .56;
}
:root[data-theme="light"] .rb-border-control:not(.rb-border-active):not(.rb-border-focus) > .rb-edge-light {
  display: none;
}

/* 3. Replace sky.css's repeating circle-dot ::before with a pure Diagonal Crystal Glass Sheen */
:root[data-theme="light"] :is(.topbar,.canvas-toolbar,.canvas-hint,.selection-tools,.library,.canvas-manager,.prompt-library)::before {
  background-image:
    linear-gradient(125deg, rgba(255, 255, 255, .52) 0%, rgba(255, 248, 206, .16) 36%, transparent 64%, rgba(255, 182, 218, .20) 100%) !important;
  background-size: 100% 100% !important;
  background-position: 0 0 !important;
  animation: none !important;
  opacity: .88 !important;
}

/* Masked 1.2px Luminous Golden-Sakura-Aqua Rim (::after) on All Daylight Glass Containers */
.canvas-hint {
  isolation: isolate;
}
.canvas-hint::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.2px;
  pointer-events: none;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
}
:root[data-theme="light"] :is(.topbar,.panel,.canvas-toolbar,.canvas-hint,.selection-tools,.library,.prompt-library,.canvas-manager,#accountDialog)::after {
  opacity: .96;
  padding: 1.2px;
  background: linear-gradient(
    115deg,
    rgba(72, 224, 240, .88) 4%,
    rgba(255, 220, 58, .98) 32%,
    #fffef0 50%,
    rgba(255, 92, 172, .95) 74%,
    rgba(255, 220, 58, .92) 96%
  );
}

/* 4. Bright, Crystal-Clear Topbar with Golden & Sakura-Pink Outward Light Spill */
:root[data-theme="light"] .topbar {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, .78) 0%, rgba(242, 253, 251, .64) 54%, rgba(226, 247, 245, .54) 100%);
  backdrop-filter: blur(12px) saturate(1.26) brightness(1.06);
  -webkit-backdrop-filter: blur(12px) saturate(1.26) brightness(1.06);
  border-bottom: 1px solid rgba(255, 222, 86, .88);
  box-shadow:
    0 3px 18px rgba(255, 216, 56, .44),
    0 7px 32px rgba(255, 88, 168, .30),
    0 12px 30px rgba(16, 72, 86, .14),
    inset 0 1.5px 0 #ffffff,
    inset 0 -1px 0 rgba(255, 236, 148, .78);
}
:root[data-theme="light"] .topbar .wordmark {
  filter: drop-shadow(0 0 12px rgba(255, 216, 64, .52));
}
:root[data-theme="light"] .topbar .divider {
  border-color: rgba(46, 128, 142, .28);
}
:root[data-theme="light"] .top-actions > .quiet {
  border: 1px solid rgba(255, 220, 86, .82);
  background: linear-gradient(135deg, rgba(255, 255, 255, .78) 0%, rgba(238, 252, 250, .42) 100%);
  color: #1a444e;
  box-shadow:
    inset 0 1.2px 0 #ffffff,
    inset 0 -1px 0 rgba(255, 238, 162, .56),
    0 0 0 1px rgba(255, 108, 180, .24),
    0 0 14px rgba(255, 216, 58, .32),
    0 0 24px rgba(255, 88, 168, .20),
    0 4px 12px rgba(18, 72, 86, .06);
}
:root[data-theme="light"] .top-actions > .quiet:hover {
  border-color: #ffe258;
  background: linear-gradient(135deg, rgba(255, 255, 255, .90) 0%, rgba(244, 253, 251, .60) 100%);
  box-shadow:
    0 0 20px rgba(255, 216, 52, .54),
    0 0 32px rgba(255, 86, 168, .38),
    inset 0 1.5px 0 #ffffff;
}
:root[data-theme="light"] .topbar .user-badge {
  border-color: rgba(255, 216, 68, .92);
  background: linear-gradient(135deg, rgba(255, 252, 226, .84) 0%, rgba(232, 250, 246, .52) 100%);
  box-shadow:
    0 0 16px rgba(255, 214, 58, .44),
    0 0 28px rgba(255, 88, 168, .28),
    inset 0 1.2px 0 #ffffff;
}

/* 5. Crystalline Translucent Right Panel (.panel) + Vivid Left-Border Golden/Pink Light Spill */
:root[data-theme="light"] .panel {
  background:
    radial-gradient(280px 155px at 84% 48px, rgba(255, 218, 68, .26), rgba(255, 106, 180, .18) 56%, transparent 100%),
    linear-gradient(135deg, rgba(255, 255, 255, .62) 0%, rgba(236, 251, 249, .50) 48%, rgba(216, 243, 242, .42) 100%);
  backdrop-filter: blur(12px) saturate(1.26) brightness(1.03);
  -webkit-backdrop-filter: blur(12px) saturate(1.26) brightness(1.03);
  border-left-color: rgba(255, 220, 78, .90);
  box-shadow:
    -3px 0 20px rgba(255, 216, 54, .50),
    -9px 0 38px rgba(255, 86, 168, .36),
    -18px 0 46px rgba(14, 62, 76, .18),
    inset 1.5px 0 0 #ffffff,
    inset 0 1px 0 rgba(255, 255, 255, .92);
}
:root[data-theme="light"] .panel::before {
  height: 2px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(72, 224, 240, .92),
    #ffe664 36%,
    #ffffff 50%,
    #ff6eb8 68%,
    transparent
  );
  box-shadow:
    0 0 18px rgba(255, 216, 56, .75),
    0 0 32px rgba(255, 88, 168, .55);
}

/* 6. Daylight Panel-Heading Light Pillar + WebGL2 LaserFlow */
:root[data-theme="light"] .panel-heading {
  position: relative;
  overflow: visible;
  border-bottom: 1px solid rgba(255, 222, 92, .78);
}
:root[data-theme="light"] .panel-heading::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -6px;
  bottom: -1px;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(155px 68px at 86% 100%, rgba(255, 216, 58, .52), rgba(255, 98, 176, .30) 54%, transparent 100%),
    linear-gradient(90deg, transparent 4%, rgba(72, 224, 240, .55) 34%, rgba(255, 216, 54, .98) 76%, #ffffff 86%, rgba(255, 92, 172, .92) 95%, transparent 100%) no-repeat 0 100% / 100% 2px;
  -webkit-mask-image: linear-gradient(90deg, transparent 4%, #000 48%), linear-gradient(180deg, transparent 0%, #000 22%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(90deg, transparent 4%, #000 48%), linear-gradient(180deg, transparent 0%, #000 22%);
  mask-composite: intersect;
}
:root[data-theme="light"] .panel-heading::after {
  content: "";
  position: absolute;
  right: calc(14% - 28px);
  top: -14px;
  bottom: -1px;
  width: 56px;
  pointer-events: none;
  z-index: 0;
  background:
    radial-gradient(16px 12px at 50% 100%, #ffffff 0%, rgba(255, 228, 112, .96) 50%, transparent 100%),
    linear-gradient(180deg, transparent 0%, rgba(255, 98, 176, .62) 22%, rgba(255, 216, 56, .98) 76%, #ffffff 100%) no-repeat 50% 0 / 2.4px 100%,
    radial-gradient(26px 92% at 50% 100%, rgba(255, 216, 58, .50), rgba(255, 96, 176, .28) 56%, transparent 100%);
  -webkit-mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 100%);
  mask-image: linear-gradient(180deg, transparent 0%, #000 18%, #000 100%);
}
:root[data-theme="light"] .panel :is(h2,h3) {
  color: #143542;
  text-shadow: 0 1px 12px rgba(255, 255, 255, .84);
}
:root[data-theme="light"] .panel-heading h2 span {
  color: #fff6b8;
  text-shadow:
    0 0 10px #f6c424,
    0 0 22px rgba(255, 88, 168, .85);
}
:root[data-theme="light"] .panel .eyebrow {
  color: #265260;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .65);
}

/* 7. Crystalline Translucent Panel Controls + Luminous Golden & Sakura-Pink Border Halos */
:root[data-theme="light"] .panel :is(textarea,select) {
  background: linear-gradient(135deg, rgba(255, 255, 255, .68) 0%, rgba(240, 252, 251, .40) 56%, rgba(224, 246, 245, .26) 100%);
  border-color: rgba(255, 218, 78, .84);
  color: #143642;
  box-shadow:
    inset 0 1.2px 0 #ffffff,
    inset 0 -1px 0 rgba(255, 236, 156, .58),
    0 0 0 1px rgba(255, 108, 180, .28),
    0 0 14px rgba(255, 216, 56, .34),
    0 0 24px rgba(255, 88, 168, .22),
    0 4px 14px rgba(18, 72, 86, .06);
}
:root[data-theme="light"] .panel :is(textarea,select)::placeholder {
  color: #426974;
}
:root[data-theme="light"] .panel :is(textarea,select):hover {
  border-color: #ffe054;
  background: linear-gradient(135deg, rgba(255, 255, 255, .78) 0%, rgba(244, 253, 252, .50) 56%, rgba(228, 248, 247, .34) 100%);
  box-shadow:
    inset 0 1.5px 0 #ffffff,
    inset 0 -1px 0 rgba(255, 240, 168, .70),
    0 0 0 1px rgba(255, 98, 176, .42),
    0 0 20px rgba(255, 216, 52, .50),
    0 0 32px rgba(255, 86, 168, .34);
}
:root[data-theme="light"] .panel :is(textarea,select):focus {
  border-color: #ffdc48;
  background: linear-gradient(135deg, rgba(255, 255, 255, .82) 0%, rgba(246, 253, 252, .56) 56%, rgba(232, 250, 248, .40) 100%);
  box-shadow:
    0 0 0 2.5px rgba(255, 216, 58, .34),
    0 0 24px rgba(255, 214, 52, .56),
    0 0 36px rgba(255, 86, 168, .40),
    inset 0 1.5px 0 #ffffff;
}
:root[data-theme="light"] .prompt-open {
  border-color: rgba(255, 216, 72, .88);
  background: linear-gradient(135deg, rgba(255, 252, 228, .76) 0%, rgba(232, 250, 248, .40) 100%);
  color: #17404c;
  box-shadow:
    inset 0 1.2px 0 #ffffff,
    inset 0 -1px 0 rgba(255, 236, 156, .58),
    0 0 14px rgba(255, 216, 56, .38),
    0 0 24px rgba(255, 88, 168, .24);
}
:root[data-theme="light"] .prompt-open:hover {
  border-color: #ffde4e;
  background: linear-gradient(135deg, rgba(255, 254, 238, .88) 0%, rgba(238, 252, 250, .54) 100%);
  box-shadow:
    0 0 20px rgba(255, 214, 52, .56),
    0 0 32px rgba(255, 86, 168, .38),
    inset 0 1.5px 0 #ffffff;
}
:root[data-theme="light"] .references {
  border: 1px dashed rgba(255, 216, 72, .86);
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .54) 0%, rgba(236, 250, 249, .24) 100%);
  box-shadow:
    inset 0 1.2px 0 rgba(255, 255, 255, .90),
    inset 0 -1px 0 rgba(255, 236, 156, .48),
    0 0 0 1px rgba(255, 108, 180, .24),
    0 0 14px rgba(255, 216, 56, .30),
    0 0 24px rgba(255, 88, 168, .20);
}
:root[data-theme="light"] .references p {
  color: #305862;
}
:root[data-theme="light"] .tiers button {
  background: linear-gradient(135deg, rgba(255, 255, 255, .66) 0%, rgba(238, 251, 250, .32) 100%);
  border-color: rgba(255, 218, 78, .80);
  color: #1a424c;
  box-shadow:
    inset 0 1.2px 0 #ffffff,
    inset 0 -1px 0 rgba(255, 236, 156, .52),
    0 0 0 1px rgba(255, 108, 180, .24),
    0 0 12px rgba(255, 216, 56, .30),
    0 0 22px rgba(255, 88, 168, .18);
}
:root[data-theme="light"] .tiers button small {
  color: #36606a;
}
:root[data-theme="light"] .tiers button:hover {
  border-color: #ffe054;
  background: linear-gradient(135deg, rgba(255, 255, 255, .80) 0%, rgba(242, 252, 251, .46) 100%);
  box-shadow:
    inset 0 1.5px 0 #ffffff,
    0 0 18px rgba(255, 216, 52, .48),
    0 0 30px rgba(255, 86, 168, .32);
}
:root[data-theme="light"] .tiers button.active {
  background: linear-gradient(135deg, rgba(255, 252, 224, .84) 0%, rgba(226, 248, 245, .50) 100%);
  border-color: #ffdc4a;
  color: #11363e;
  box-shadow:
    inset 0 1.5px 0 #ffffff,
    inset 0 -1px 0 rgba(255, 236, 148, .76),
    0 0 0 1px rgba(255, 218, 68, .48),
    0 0 20px rgba(255, 214, 52, .52),
    0 0 32px rgba(255, 86, 168, .34);
}
:root[data-theme="light"] .panel .field-title,
:root[data-theme="light"] .panel label {
  color: #153d47;
  text-shadow: 0 1px 0 rgba(255, 255, 255, .62);
}
:root[data-theme="light"] .panel .micro-note { color: #2d545a; }
:root[data-theme="light"] :is(.channel-notice,.storage-notice.warning) { color: #663f0e; }

:root[data-theme="light"] #generate {
  color: #12343c;
  background: linear-gradient(120deg, rgba(255, 248, 206, .90) 0%, rgba(212, 244, 240, .78) 46%, rgba(255, 206, 232, .84) 82%, rgba(232, 250, 246, .88) 100%);
  border: 1px solid #ffe054;
  box-shadow:
    inset 0 1.5px 0 #ffffff,
    inset 0 -1px 0 rgba(255, 236, 148, .78),
    0 8px 24px rgba(18, 78, 92, .18),
    0 0 22px rgba(255, 216, 52, .54),
    0 0 36px rgba(255, 86, 168, .38);
}
:root[data-theme="light"] #generate:hover {
  border-color: #ffe868;
  box-shadow:
    inset 0 1.5px 0 #ffffff,
    0 10px 28px rgba(18, 78, 92, .24),
    0 0 28px rgba(255, 214, 48, .68),
    0 0 44px rgba(255, 82, 166, .48);
}

:root[data-theme="light"] .history-heading {
  border-top-color: rgba(255, 222, 92, .68);
}
:root[data-theme="light"] #taskCount {
  color: #153e46;
  background: linear-gradient(135deg, rgba(255, 252, 226, .84), rgba(226, 248, 245, .52));
  border-color: rgba(255, 216, 68, .88);
  box-shadow:
    inset 0 1px 0 #ffffff,
    0 0 14px rgba(255, 214, 56, .42),
    0 0 24px rgba(255, 88, 168, .26);
}
:root[data-theme="light"] .panel .job {
  background: linear-gradient(135deg, rgba(255, 255, 255, .68) 0%, rgba(238, 251, 250, .34) 100%);
  border-color: rgba(255, 218, 78, .82);
  box-shadow:
    inset 0 1.2px 0 #ffffff,
    inset 0 -1px 0 rgba(255, 236, 156, .54),
    0 0 14px rgba(255, 216, 56, .30),
    0 0 24px rgba(255, 88, 168, .20),
    0 6px 18px rgba(16, 68, 82, .08);
}
:root[data-theme="light"] .panel .job::before {
  width: 2.8px;
  background: linear-gradient(180deg, transparent, #48d6e6, #ffd838, #ff5ca8, transparent);
  box-shadow:
    0 0 12px rgba(255, 214, 52, .80),
    0 0 20px rgba(255, 88, 168, .60);
}
:root[data-theme="light"] .panel .job:hover {
  border-color: #ffe054;
  background: linear-gradient(135deg, rgba(255, 255, 255, .80) 0%, rgba(242, 252, 251, .46) 100%);
  box-shadow:
    inset 0 1.5px 0 #ffffff,
    0 0 22px rgba(255, 214, 52, .50),
    0 0 34px rgba(255, 86, 168, .34);
}

/* 8. Crystalline Floating Bottom Toolbar (.canvas-toolbar) & Hint Box (.canvas-hint) + Golden/Pink Glow */
:root[data-theme="light"] :is(.canvas-toolbar,.canvas-hint,.selection-tools,.library,.prompt-library,.canvas-manager,#accountDialog) {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .70) 0%, rgba(238, 252, 250, .52) 52%, rgba(222, 246, 244, .42) 100%);
  backdrop-filter: blur(12px) saturate(1.26) brightness(1.04);
  -webkit-backdrop-filter: blur(12px) saturate(1.26) brightness(1.04);
  border-color: rgba(255, 220, 78, .88);
  box-shadow:
    0 16px 38px rgba(14, 64, 78, .18),
    0 0 0 1px rgba(255, 108, 180, .30),
    0 0 20px rgba(255, 216, 56, .46),
    0 0 36px rgba(255, 88, 168, .32),
    inset 0 1.5px 0 #ffffff,
    inset 0 -1px 0 rgba(255, 238, 162, .68);
}
:root[data-theme="light"] .canvas-toolbar button { color: #1a444e; }
:root[data-theme="light"] .canvas-toolbar button:hover {
  color: #0e323a;
  background: linear-gradient(135deg, rgba(255, 253, 232, .88), rgba(236, 250, 248, .58));
  box-shadow:
    inset 0 1px 0 #ffffff,
    0 0 16px rgba(255, 214, 52, .48),
    0 0 26px rgba(255, 88, 168, .32);
}
:root[data-theme="light"] #app .canvas-hint {
  background: linear-gradient(135deg, rgba(250, 255, 254, .97), rgba(230, 247, 246, .94));
  color: #244a53;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.65;
  text-shadow: none;
}
:root[data-theme="light"] #app .canvas-hint strong {
  color: #12343d;
  font-weight: 700;
}
@supports ((background-clip: text) or (-webkit-background-clip: text)) {
  :root[data-theme="light"] #app .canvas-hint strong {
    background: linear-gradient(100deg, #006575 0%, #354fa2 36%, #9b397c 70%, #825b16 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
  }
}

/* 9. Also give the Login Card (#login .login-card) the same Golden & Sakura-Pink Luminous Glass Halo */
:root[data-theme="light"] #login #loginBtn {
  background: linear-gradient(115deg, #c9eceb, #e5f3ef 48%, #d8e7f4);
  border-color: #fff4c8;
  box-shadow: inset 0 1px 0 #ffffff, inset 0 -1px 2px #558e982b,
    0 0 16px #ffe59a50, 0 6px 20px #17495620;
  isolation: isolate;
}
:root[data-theme="light"] #login #loginBtn::after {
  z-index: -1;
  background: linear-gradient(110deg, transparent 24%, #ffe58d45 36%, #fff2b6cf 44%, #ffffff 50%, #fff4c6df 56%, #d5f7ff55 66%, transparent 76%);
  mix-blend-mode: normal;
  filter: none;
  opacity: 0;
  animation: none;
}
:root[data-theme="light"] #login[data-starlight="on"] #loginBtn:not(:disabled)::after {
  animation: auth-daylight-sheen 2.6s ease-in-out infinite;
}
@keyframes auth-daylight-sheen {
  0% { transform: translateX(-110%); opacity: 0; }
  12% { opacity: 1; }
  64% { transform: translateX(110%); opacity: 1; }
  72%, 100% { transform: translateX(110%); opacity: 0; }
}
:root[data-theme="light"] #login .login-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, .68) 0%, rgba(238, 252, 250, .52) 52%, rgba(222, 246, 245, .44) 100%);
  backdrop-filter: blur(12px) saturate(1.26) brightness(1.03);
  -webkit-backdrop-filter: blur(12px) saturate(1.26) brightness(1.03);
  border-color: rgba(255, 222, 86, .92);
  box-shadow:
    inset 0 1.5px 0 #ffffff,
    inset 0 -1px 0 rgba(255, 236, 156, .75),
    0 24px 70px rgba(18, 72, 86, .18),
    0 0 0 1px rgba(255, 108, 180, .34),
    0 0 26px rgba(255, 216, 56, .48),
    0 0 48px rgba(255, 88, 168, .34);
}
:root[data-theme="light"] #login .login-card::after {
  background: linear-gradient(90deg, transparent, #ffe048 26%, #ffffff 50%, #ff66b4 74%, transparent);
  box-shadow: 0 0 18px rgba(255, 216, 56, .82), 0 0 34px rgba(255, 88, 168, .65);
  opacity: .92;
}
:root[data-theme="light"] #login :is(.login-card input,.tabs) {
  border-color: rgba(255, 218, 78, .76);
  box-shadow:
    inset 0 1.2px 0 #ffffff,
    0 0 12px rgba(255, 216, 56, .28),
    0 0 22px rgba(255, 88, 168, .18),
    0 4px 16px rgba(18, 72, 86, .07);
}

:root[data-theme="light"] .rb-ghost-cursor { opacity: .24; }
:root[data-theme="light"] .rb-border-decor { --glow-color: #ffe036; }
@media (pointer: coarse) { .rb-ghost-cursor { display:none; } }
@media (prefers-reduced-motion: reduce) { .rb-ghost-cursor { display: none !important; } }

.studio-daylight {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: -2;
  pointer-events: none;
  contain: strict;
  background: radial-gradient(ellipse at 70% 35%, #63b6b9, #287888 75%, #236374);
}
.studio-daylight > canvas { position:absolute; inset:0; width:100%; height:100%; display:block; pointer-events:none; }
.studio-daylight > .studio-daylight-flowers { opacity:.82; }

:root:not([data-theme="light"]) .studio-daylight {
  opacity: 0;
  visibility: hidden;
  transition: opacity .42s cubic-bezier(.4, 0, .2, 1), visibility 0s linear .42s;
}
:root[data-theme="light"] .studio-daylight {
  opacity: 1;
  visibility: visible;
  transition: opacity .42s cubic-bezier(.4, 0, .2, 1), visibility 0s linear 0s;
}

.studio-clannad-orbs.studio-daylight-border-bloom {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  z-index: 12;
  pointer-events: none;
}
:root[data-overlay-open="true"] .studio-clannad-orbs.studio-daylight-border-bloom {
  opacity: 0;
}

:root:not([data-theme="light"]) .rb-ghost-cursor,
:root[data-motion="off"] .rb-ghost-cursor { display:none!important; }

:root[data-theme="light"] .panel .rb-glow-canvas,
:root[data-theme="light"] .topbar .rb-glow-canvas {
  opacity: .72;
  mix-blend-mode: plus-lighter;
}
