/* Settings luxury header (Claude Code 2026-11-11, owner reference image "ULTRA-LUXURY SETTINGS HEADER").
   One design for phones, tablets and computers — only the size changes: --slhF is the heading size and every part
   (emblem, divider, ornament, sparkles) is measured in em of it. Transparent background; gold + sapphire fixed.
   Markup: src/components/SettingsHeader.js. */
html body #v-settings#v-settings .settings-head {
  --slhF: clamp(40px, calc((100vw - 132px) / 4.6), 82px);
  display: grid !important; grid-template-columns: minmax(44px, 1fr) auto minmax(44px, 1fr) !important; grid-template-rows: auto !important;
  align-items: center !important; justify-items: stretch !important; column-gap: 6px !important;
  padding: 6px 0 4px !important; margin: 0 0 12px !important; text-align: left !important; background: none !important;
}
html body #v-settings#v-settings.st-split .settings-head { --slhF: clamp(64px, 7vw, 86px); }
html body #v-settings#v-settings .settings-head > .set-back { max-width: none !important; flex: none !important; }
html body #v-settings#v-settings .settings-head::before,
html body #v-settings#v-settings .settings-head::after { content: none !important; }
html body #v-settings#v-settings .settings-head > .set-back { grid-column: 1 !important; grid-row: 1 !important; justify-self: start !important; align-self: center !important; position: static !important; top: auto !important; }
html body #v-settings#v-settings .settings-head > .overflow { grid-column: 3 !important; grid-row: 1 !important; justify-self: end !important; align-self: center !important; position: static !important; top: auto !important; }

html body #v-settings#v-settings .slh {
  grid-column: 2; grid-row: 1; justify-self: center; display: flex; align-items: center; gap: .17em;
  font-size: var(--slhF); line-height: 1; min-width: 0; margin-bottom: .1em;
}
/* octagon gear emblem */
html body #v-settings#v-settings .slh .slh-emb {
  flex: none; width: 1.02em; height: 1.02em; display: block; margin-top: -.06em;
  filter: drop-shadow(0 .05em .07em rgba(0, 0, 0, .6)) drop-shadow(0 0 .14em rgba(255, 200, 80, .28));
}
/* thin gold divider with a luminous centre */
html body #v-settings#v-settings .slh .slh-div {
  flex: none; position: relative; width: 2px; height: .78em; margin: 0 .02em; border-radius: 2px;
  background: linear-gradient(180deg, rgba(200, 144, 30, 0) 0%, #E9B949 18%, #FFF4C2 50%, #C8901E 82%, rgba(200, 144, 30, 0) 100%);
  box-shadow: 0 0 .06em rgba(255, 214, 110, .45);
}
html body #v-settings#v-settings .slh .slh-div::after {
  content: ""; position: absolute; left: 50%; top: 50%; width: .16em; height: .16em; transform: translate(-50%, -50%); border-radius: 50%;
  background: radial-gradient(circle, #FFFFFF 0%, #FFF0A8 35%, rgba(255, 214, 110, 0) 70%); box-shadow: 0 0 .12em .05em rgba(255, 214, 110, .55);
}
/* heading + ornament column */
html body #v-settings#v-settings .slh .slh-tw { position: relative; display: grid; justify-items: center; min-width: 0; }
html body #v-settings#v-settings .slh .slh-title {
  margin: 0 !important; padding: .02em .14em .2em .05em !important; position: static !important; width: auto !important;
  font-family: "Cormorant Garamond", Georgia, serif !important; font-style: italic !important; font-weight: 700 !important;
  font-size: 1em !important; line-height: 1 !important; letter-spacing: -.025em !important; text-transform: none !important; white-space: nowrap !important;
  background: linear-gradient(180deg, #FFF8D5 0%, #FFE995 15%, #FFD34D 32%, #C88A17 52%, #FFF0A4 70%, #B7750B 88%, #F5C54E 100%) !important;
  -webkit-background-clip: text !important; background-clip: text !important; color: transparent !important; -webkit-text-fill-color: transparent !important;
  text-shadow: none !important; filter: drop-shadow(0 1px 0 #6B4300) drop-shadow(0 2px 1px #402400) drop-shadow(0 .05em .12em rgba(0, 0, 0, .5)) !important;
  outline-offset: 4px;
}
html body #v-settings#v-settings .slh .slh-orn { display: block; width: 106%; height: auto; margin: -.1em -3% 0; overflow: visible;
  filter: drop-shadow(0 .02em .03em rgba(0, 0, 0, .55)); }
/* sparkles on the lettering */
html body #v-settings#v-settings .slh .slh-spark { position: absolute; fill: #FFF8DC; pointer-events: none; overflow: visible;
  filter: drop-shadow(0 0 .06em #FFE38A) drop-shadow(0 0 .14em rgba(255, 214, 110, .7)); }
html body #v-settings#v-settings .slh .slh-spark.s1 { width: .34em; height: .34em; left: 54%; top: -.14em; }
html body #v-settings#v-settings .slh .slh-spark.s2 { width: .2em; height: .2em; left: 46%; top: .1em; opacity: .85; }
@keyframes slhTwinkle { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(.55); opacity: .55; } }
@media (prefers-reduced-motion: no-preference) {
  html body #v-settings#v-settings .slh .slh-spark.s1 { animation: slhTwinkle 3.2s ease-in-out infinite; }
  html body #v-settings#v-settings .slh .slh-spark.s2 { animation: slhTwinkle 3.2s ease-in-out 1.6s infinite; }
}

/* Framed panel (owner reference 2, 2026-11-11): double gold frame, top-centre crest, theme-coloured night inside, soft light
   at the bottom corners, slow gold shimmer on the frame (off with reduced motion). Colours inside follow the theme. */
html body #v-settings#v-settings .settings-head.slh-framed {
  --slhF: clamp(30px, calc((100vw - 176px) / 4.7), 84px);
  position: relative !important; overflow: visible !important; isolation: isolate;
  margin: 18px 0 14px !important; padding: 16px 12px 14px !important; border-radius: 22px !important; border: 2.5px solid transparent !important;
  background:
    radial-gradient(90% 120% at 50% -10%, color-mix(in srgb, var(--btn-a) 70%, #fff 6%) 0%, transparent 60%) padding-box,
    linear-gradient(180deg, color-mix(in srgb, var(--btn-a) 55%, #000) 0%, color-mix(in srgb, var(--btn-b) 45%, #000) 100%) padding-box,
    linear-gradient(100deg, #9A6814 0%, #F7DC82 18%, #C8901E 34%, #FFF3C4 50%, #C8901E 66%, #F7DC82 82%, #9A6814 100%) border-box !important;
  background-size: 100% 100%, 100% 100%, 260% 100% !important;
  box-shadow: 0 0 18px rgba(255, 196, 77, .3), 0 10px 26px rgba(0, 0, 0, .45) !important;
}
html body #v-settings#v-settings.st-split .settings-head.slh-framed { --slhF: clamp(52px, 5.6vw, 84px); padding: 20px 18px 18px !important; }
@media (prefers-reduced-motion: no-preference) {
  html body #v-settings#v-settings .settings-head.slh-framed { animation: slhShimmer 12s ease-in-out infinite alternate; }
}
@keyframes slhShimmer { from { background-position: 0 0, 0 0, 0% 0; } to { background-position: 0 0, 0 0, 100% 0; } }
html body #v-settings#v-settings .slh-frame { position: absolute; inset: 0; z-index: -1; border-radius: 20px; overflow: hidden; pointer-events: none; }
html body #v-settings#v-settings .slh-fr-line { position: absolute; inset: 5px; border-radius: 16px; border: 1px solid rgba(243, 210, 122, .6);
  box-shadow: inset 0 0 10px rgba(255, 200, 80, .12); }
html body #v-settings#v-settings .slh-waves { position: absolute; left: 0; right: 0; bottom: 0; width: 100%; height: 70%;
  color: color-mix(in srgb, var(--btn-a) 35%, #5AA8FF 65%); filter: blur(.6px) drop-shadow(0 0 6px currentColor); opacity: .75; }
html body #v-settings#v-settings .slh-crest { position: absolute; left: 50%; top: -22px; width: clamp(110px, 26vw, 200px); height: auto; transform: translateX(-50%);
  z-index: 2; pointer-events: none; filter: drop-shadow(0 1px 1px rgba(0, 0, 0, .5)) drop-shadow(0 0 6px rgba(255, 210, 110, .45)); }
/* star divider */
html body #v-settings#v-settings .slh .slh-div { width: .26em !important; height: .95em !important; background: none !important; box-shadow: none !important; margin: 0 .04em !important;
  filter: drop-shadow(0 0 .08em rgba(255, 214, 110, .8)); }
html body #v-settings#v-settings .slh .slh-div::after { content: none !important; }
/* round keys inside the frame: navy-glass (theme), thin gold rim, gold glyphs */
html body #v-settings#v-settings .settings-head.slh-framed > .set-back,
html body #v-settings#v-settings .settings-head.slh-framed > .overflow > .icon-btn {
  width: 44px !important; height: 44px !important; min-width: 0 !important; padding: 0 !important; border-radius: 50% !important; display: grid !important; place-items: center !important;
  border: 2px solid transparent !important; color: #F3D27A !important;
  background: radial-gradient(circle at 35% 30%, color-mix(in srgb, var(--btn-a) 75%, #fff 8%), color-mix(in srgb, var(--btn-b) 55%, #000)) padding-box,
    linear-gradient(135deg, #FFF3C4, #D4AF37 45%, #9A6814 70%, #F7DC82) border-box !important;
  box-shadow: 0 0 10px rgba(255, 196, 77, .25), 0 4px 10px rgba(0, 0, 0, .4) !important; transition: box-shadow .2s ease;
}
html body #v-settings#v-settings .settings-head.slh-framed > .set-back:hover,
html body #v-settings#v-settings .settings-head.slh-framed > .overflow > .icon-btn:hover { box-shadow: 0 0 16px rgba(255, 210, 110, .55), 0 4px 10px rgba(0, 0, 0, .4) !important; }
html body #v-settings#v-settings .settings-head.slh-framed > .overflow > .icon-btn svg { width: 22px; height: 22px; color: #F3D27A; }
html body #v-settings#v-settings .settings-head.slh-framed > .set-back .set-back-t { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
html body #v-settings#v-settings .settings-head.slh-framed > .set-back .set-back-ar { font: 700 1.9rem/1 Georgia, serif; color: #F3D27A; margin: -3px 2px 0 0; display: block !important; }
html body #v-settings#v-settings .settings-head.slh-framed > .set-back > :not(.set-back-ar):not(.set-back-t) { display: none !important; }
@media (max-width: 370px) {
  html body #v-settings#v-settings .settings-head.slh-framed { padding: 14px 8px 12px !important; column-gap: 4px !important; }
  html body #v-settings#v-settings .settings-head.slh-framed > .set-back,
  html body #v-settings#v-settings .settings-head.slh-framed > .overflow > .icon-btn { width: 38px !important; height: 38px !important; }
}
html body #v-settings#v-settings .slh-crest { width: clamp(150px, 42vw, 300px) !important; top: -26px !important; }
@media (min-width: 768px) { html body #v-settings#v-settings .slh-crest { top: -30px !important; } }
/* crest sits ON the top border: its scroll line (31/36 of its height) lands on the frame */
html body #v-settings#v-settings .settings-head.slh-framed { --crw: clamp(150px, 42vw, 280px); }
html body #v-settings#v-settings .slh-crest { width: var(--crw) !important; top: calc(var(--crw) * -0.2 * 31 / 36 - 4px) !important; }
@media (min-width: 768px) {
  html body #v-settings#v-settings .settings-head.slh-framed { --crw: clamp(200px, 24vw, 280px); }
  html body #v-settings#v-settings .settings-head.slh-framed > .set-back,
  html body #v-settings#v-settings .settings-head.slh-framed > .overflow > .icon-btn { width: 52px !important; height: 52px !important; }
  html body #v-settings#v-settings .settings-head.slh-framed > .set-back .set-back-ar { font-size: 2.2rem; }
}
html body #v-settings#v-settings.st-split .settings-head.slh-framed { width: min(100%, 960px) !important; justify-self: center !important; margin-inline: auto !important; margin-top: 26px !important; }
html body #v-settings#v-settings.st-split .settings-head.slh-framed { --slhF: clamp(60px, 6.4vw, 88px); }
html body #v-settings#v-settings .settings-head.slh-framed > .overflow > .icon-btn svg,
html body #v-settings#v-settings .settings-head.slh-framed > .overflow > .icon-btn svg * { color: #F3D27A !important; fill: #F3D27A !important; }
html body #v-settings#v-settings .settings-head.slh-framed > .overflow > .icon-btn svg * { stroke: #F3D27A !important; }
/* owner 2026-11-11 "remove this": no crest on top of the frame (markup kept, hidden) */
html body #v-settings#v-settings .slh-crest { display: none !important; }
html body #v-settings#v-settings .settings-head.slh-framed { margin-top: 8px !important; }
/* owner 2026-11-11 "remove two small dots outside": no glints on the gear emblem */
html body #v-settings#v-settings .slh-emb .slh-glint { display: none !important; }
/* owner 2026-11-11: underline a bit higher so the line runs behind the "g" */
html body #v-settings#v-settings .slh .slh-title { position: relative !important; z-index: 1; }
html body #v-settings#v-settings .slh .slh-orn { position: relative; z-index: 0; margin-top: -.27em !important; }
/* owner 2026-11-11: title + underline closer to the star, same space as octagon → star */
html body #v-settings#v-settings .slh .slh-tw { margin-left: -.15em; }
html body #v-settings#v-settings .slh .slh-tw { margin-left: 0 !important; }
html body #v-settings#v-settings .slh .slh-orn { width: 0 !important; min-width: 106% !important; }
html body #v-settings#v-settings .slh .slh-orn { min-width: 122% !important; margin-left: -11% !important; margin-right: -11% !important; justify-self: center; }
