:root {
  color-scheme: light;
  --background: #eee8f3;
  --surface: #f9f3fc;
  --ink: #4a365b;
  --muted: #695472;
  --lavender: #e1d2f1;
  --pink: #e9bcd0;
  --blue: #a286bc;
  --gold: #c1a678;
  --line: #d7c6df;
  --heading: #6b4d82;
  --greeting: #895875;
  --support: #faeaf0;
  --modal-bg: #fff9f0;
  --modal-button: #806092;
  --modal-button-text: #ffffff;
  --page-width: 1200px;
  --image-column: 50%;
  --mobile-image-size: 96px;
  --button-radius: 32px;
  --button-height: 104px;
  --button-gap: 18px;
  --icon-size: 74px;
  --link-font-size: 16px;
  --thai: 'Noto Sans Thai', sans-serif;
  --display: 'Bricolage Grotesque', sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
html {
  min-width: 320px;
  background: var(--background);
  scrollbar-color: #bca0c8 var(--background);
  scrollbar-gutter: stable;
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--ink);
  font: 16px var(--thai);
  -webkit-font-smoothing: antialiased;
}
button, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }
button { font: inherit; cursor: pointer; }
a { color: inherit; text-decoration: none; }
::selection { background: #d5b5e8; color: #412d51; }
:focus-visible { outline: 3px solid #8b5daf; outline-offset: 6px; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.icon { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; }
.cute-icon { width: 42px; height: 42px; fill: none; stroke: #8c658f; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; }
.skip-link { position: fixed; left: 20px; top: -90px; padding: 14px 22px; background: #f9f3fc; z-index: 30; }
.skip-link:focus { top: 12px; }
.site-header {
  position: relative;
  z-index: 4;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(1320px, 100%);
  margin: auto;
  padding: 18px 44px 12px;
}
.wordmark { display: inline-flex; align-items: center; gap: 9px; }
.brand-mark { display: block; width: 54px; height: 54px; object-fit: contain; }
.brand-name { font: 600 25px var(--display); letter-spacing: -.035em; color: var(--heading); max-width: min(45vw, 300px); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.header-actions { display: flex; gap: 12px; }
.share-button {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  color: #79608b;
  background: #fff8ed;
  border: 1px solid #ccba9c;
  border-radius: 50%;
  box-shadow: inset 0 0 0 4px #fffefa, 0 4px 8px #8c74951a;
  transition: background .2s, transform .2s;
}
.share-button:hover { background: #f4e8f7; transform: rotate(-9deg); }
.share-button .icon { width: 19px; height: 19px; }
.page {
  display: grid;
  grid-template-columns: minmax(0, var(--image-column)) minmax(0, 1fr);
  align-items: start;
  gap: clamp(38px, 5.4vw, 78px);
  width: min(var(--page-width), calc(100% - 88px));
  margin: auto;
  padding: 15px 0 64px;
}
.artwork {
  position: sticky;
  top: 24px;
  isolation: isolate;
  aspect-ratio: 3 / 4;
  margin: 0;
  width: 100%;
}
.artwork-image {
  position: absolute;
  inset: 5% 4%;
  width: 92%;
  height: 90%;
  object-fit: cover;
  object-position: 50% 40%;
  border-radius: 50px 50px 28px 28px;
}
.artwork::after {
  content: '';
  position: absolute;
  inset: 6% 4% 5%;
  background: linear-gradient(0deg, #231b4d99, transparent 25%);
  border-radius: 30px;
  pointer-events: none;
  z-index: 1;
}
.portrait-frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: fill;
  pointer-events: none;
  z-index: 3;
  filter: drop-shadow(0 4px 5px #7d648929);
}
.artwork-caption {
  position: absolute;
  z-index: 2;
  bottom: 11%;
  left: 13%;
  right: 13%;
  display: flex;
  align-items: center;
  gap: 8px;
  font: 500 14px var(--display);
  color: #fff9ee;
}
.caption-star { font-size: 24px; }
.profile { position: relative; padding-top: 25px; min-width: 0; }
.profile-intro { margin-bottom: 30px; padding: 0 4px; }
h1 {
  width: fit-content;
  max-width: 100%;
  overflow-wrap: anywhere;
  margin: 0 0 14px;
  font: 600 clamp(54px, 5.1vw, 74px)/1.1 var(--display);
  letter-spacing: -.04em;
  color: var(--heading);
}
.name-emblem { width: 48px; height: 48px; object-fit: contain; vertical-align: top; margin-left: 6px; transform: rotate(8deg); }
.greeting { margin: 0 0 11px; font-size: 21px; font-weight: 500; line-height: 1.65; color: var(--greeting); }
.intro-copy { margin: 0; font-size: 15px; line-height: 1.95; color: var(--muted); overflow-wrap: anywhere; }
.links { display: grid; gap: var(--button-gap); padding: 0 3px; }
.channel-link {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: var(--button-height);
  padding: 13px 58px 13px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--button-radius) calc(var(--button-radius) * .47) var(--button-radius) calc(var(--button-radius) * .47);
  box-shadow: inset 0 2px 0 #fffefb, inset 0 -5px 0 #c8b5d92b, 0 7px 12px -8px #755a8b66;
  transform-origin: center;
  transition: background .2s, border-color .2s, box-shadow .2s;
}
.channel-link::before {
  content: '';
  position: absolute;
  z-index: -1;
  inset: 5px;
  border: 1px solid color-mix(in srgb, var(--gold) 55%, white);
  border-radius: inherit;
  pointer-events: none;
}
.channel-link::after {
  content: '';
  position: absolute;
  inset: 1px;
  border-radius: inherit;
  background: linear-gradient(115deg, transparent 30%, #fffdfcb3 46%, transparent 61%) -220% 0 / 240% 100% no-repeat;
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s;
}
.channel-link:hover {
  background: color-mix(in srgb, var(--surface) 72%, var(--lavender));
  border-color: #ad8dc1;
  box-shadow: inset 0 2px 0 #fffefa, inset 0 -5px 0 #c8b5d92b, 0 12px 19px -11px #755a8b80;
}
.channel-link:hover::after { opacity: 1; animation: satin-sheen .8s ease-out both; }
.channel-link:active { box-shadow: inset 0 3px 9px #8d699b25, 0 2px 4px #755a8b20; }
.featured { min-height: calc(var(--button-height) + 12px); background: var(--lavender); border-color: color-mix(in srgb, var(--lavender) 65%, var(--ink)); }
.featured:hover { background: color-mix(in srgb, var(--lavender) 74%, white); }
.support { background: var(--support); border-color: color-mix(in srgb, var(--pink) 65%, var(--ink)); }
.support:hover { background: color-mix(in srgb, var(--support) 75%, var(--pink)); border-color: var(--pink); }
.channel-icon { display: grid; place-items: center; flex: 0 0 auto; width: 64px; margin-right: 19px; }
.channel-icon .icon { width: 30px; height: 30px; }
.channel-icon.has-mascot { width: calc(var(--icon-size) - 4px); }
.mascot-icon { display: block; width: var(--icon-size); height: var(--icon-size); object-fit: contain; transition: transform .32s cubic-bezier(.16,1,.3,1); }
.channel-link:hover .mascot-icon { transform: translateY(-4px) rotate(-4deg); }
.link-copy { display: flex; flex-direction: column; gap: 4px; min-width: 0; z-index: 1; }
.link-title { font-size: var(--link-font-size); font-weight: 600; line-height: 1.65; overflow-wrap: anywhere; }
.link-description { color: var(--muted); font-size: 13px; line-height: 1.7; overflow-wrap: anywhere; }
.link-flourish {
  position: absolute;
  bottom: -10px;
  right: -10px;
  width: 90px;
  height: 48px;
  object-fit: contain;
  pointer-events: none;
  transform-origin: 80% 80%;
  transition: transform .4s cubic-bezier(.16,1,.3,1);
  z-index: 2;
}
.channel-link:hover .link-flourish { transform: rotate(8deg) translateY(-2px); }
.profile-footer { display: flex; justify-content: space-between; gap: 12px; margin: 32px 4px 0; padding-top: 19px; border-top: 1px solid #ccb9d4; color: var(--muted); font-size: 12px; overflow-wrap: anywhere; }
.profile-footer > span { min-width: 0; }
.footer-signature { font: 500 13px var(--display); color: #7b5570; }
.fallback-links { padding-left: 20px; line-height: 2; }
.fallback-links a { text-decoration: underline; text-underline-offset: 4px; }
.toast { position: fixed; z-index: 10; left: 50%; bottom: 26px; transform: translate(-50%, 14px); padding: 14px 24px; max-width: calc(100% - 32px); width: max-content; border-radius: 14px; background: #fff7ee; color: #64466e; box-shadow: 0 12px 35px #755a8b40; font-size: 14px; opacity: 0; visibility: hidden; transition: opacity .2s, transform .2s, visibility .2s; }
.toast.is-visible { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.dialog-open { overflow: hidden; position: fixed; left: 0; right: 0; width: 100%; }
.exit-dialog { padding: 0; width: min(460px, calc(100% - 40px)); max-width: none; max-height: none; border: 0; overflow: visible; background: transparent; color: var(--ink); }
.exit-dialog::backdrop { background: #43314b80; backdrop-filter: blur(7px); animation: backdrop-arrival .3s ease-out; }
.dialog-card {
  position: relative;
  isolation: isolate;
  max-height: calc(100dvh - 40px);
  overflow-y: auto;
  padding: 54px 30px 30px;
  border: 1px solid var(--gold);
  border-radius: 45px 18px 45px 18px;
  background: var(--modal-bg);
  box-shadow: inset 0 0 0 5px #fffdf8, inset 0 0 0 6px #dfcaa5, 0 22px 90px #3d24464d;
  text-align: center;
  scrollbar-color: #c9a7ca #fff9f0;
}
.dialog-flourish { position: absolute; left: 7px; top: 7px; width: 155px; height: 69px; object-fit: contain; transform: scaleX(-1) rotate(-8deg); pointer-events: none; }
.dialog-close { position: absolute; right: 16px; top: 16px; z-index: 2; display: grid; place-items: center; width: 42px; height: 42px; border: 1px solid #d8c3df; border-radius: 50%; color: #785975; background: #f2e7f4; }
.dialog-close:hover { background: #e6cde8; }
.dialog-close .icon { width: 18px; height: 18px; }
.dialog-mascot-stage { position: relative; height: 155px; display: grid; place-items: center; isolation: isolate; }
.dialog-mascot { position: relative; z-index: 1; display: block; width: 154px; height: 154px; object-fit: contain; }
.dialog-orbit { position: absolute; width: 170px; height: 170px; border: 1px solid #d7c2e1; border-radius: 50%; transform: rotate(-25deg) scaleY(.68); }
.orbit-two { width: 197px; height: 197px; transform: rotate(30deg) scaleY(.68); border-color: #dfb9ce; }
.dialog-orbit::after { content: ''; position: absolute; width: 6px; height: 6px; border-radius: 50%; left: 20px; top: 14px; background: #c5a7d7; }
.orbit-two::after { background: #dbabc5; left: auto; right: 26px; }
.dialog-card h2 { margin: 18px 0 9px; font-size: 23px; font-weight: 600; line-height: 1.5; text-wrap: balance; overflow-wrap: anywhere; }
.dialog-card p { margin: 0; font-size: 14px; line-height: 1.8; color: var(--muted); overflow-wrap: anywhere; }
.destination-preview { display: grid; gap: 5px; margin-top: 20px; padding: 15px; background: color-mix(in srgb, var(--lavender) 55%, var(--modal-bg)); border-radius: 17px 7px 17px 7px; }
#exit-platform { font-family: var(--display), var(--thai); font-size: 17px; font-weight: 600; color: var(--heading); overflow-wrap: anywhere; }
#exit-url { font-size: 13px; line-height: 1.7; color: var(--muted); overflow-wrap: anywhere; }
.dialog-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: stretch; margin-top: 24px; }
.dialog-cancel, .dialog-confirm { position: relative; display: flex; align-items: center; justify-content: center; min-width: 0; overflow-wrap: anywhere; min-height: 50px; padding: 13px 10px; border-radius: 19px 8px 19px 8px; font: 15px var(--thai); }
.dialog-cancel { border: 1px solid #c9b5cf; background: #fffaf6; color: #72567a; }
.dialog-cancel:hover { background: #f1e4f1; }
.dialog-confirm { border: 1px solid var(--modal-button); background: var(--modal-button); box-shadow: inset 0 2px 0 #ad8fc2, inset 0 -3px 0 #6f5080; color: var(--modal-button-text); font-weight: 600; }
.dialog-confirm:hover { background: color-mix(in srgb, var(--modal-button) 90%, black); }
.dialog-confirm[aria-disabled='true'] { opacity: .7; cursor: wait; }
.dialog-confirm::after { content: ''; position: absolute; inset: 4px; border: 1px solid #d7c0e2; border-radius: 15px 5px 15px 5px; pointer-events: none; }
.exit-dialog :focus-visible { outline-color: #8a56b4; outline-offset: 4px; }
@keyframes satin-sheen { from { background-position: 180% 0; } to { background-position: -140% 0; } }
@keyframes backdrop-arrival { from { background: transparent; backdrop-filter: blur(0); } to { background: #43314b80; backdrop-filter: blur(7px); } }
@media (max-width: 1100px) and (min-width: 761px) {
  .page { width: calc(100% - 54px); gap: 28px; }
  h1 { font-size: 56px; }
  .name-emblem { width: 38px; height: 38px; }
  .channel-link { padding-left: 15px; padding-right: 35px; }
  .channel-icon.has-mascot { width: max(28px, calc(var(--icon-size) - 16px)); margin-right: 13px; }
  .mascot-icon { width: max(32px, calc(var(--icon-size) - 12px)); height: max(32px, calc(var(--icon-size) - 12px)); }
  .link-title { font-size: max(14px, calc(var(--link-font-size) - 1px)); }
  .link-flourish { width: 74px; }
  .artwork { top: 32px; }
}
@media (max-width: 760px) {
  .site-header { padding: 14px 22px 8px; }
  .brand-mark { width: 44px; height: 44px; }
  .brand-name { font-size: 23px; }
  .page { position: relative; display: block; width: min(500px, calc(100% - 32px)); padding: 7px 0 28px; }
  .artwork { position: absolute; top: 11px; left: 3px; width: var(--mobile-image-size); height: calc(var(--mobile-image-size) * 1.29); aspect-ratio: auto; }
  .artwork-image { object-position: 50% 36%; }
  .artwork-image, .artwork::after { border-radius: 12px; }
  .artwork-caption { display: none; }
  .profile { padding: 6px 7px 0; }
  .profile-intro { display: grid; grid-template-columns: calc(var(--mobile-image-size) + 9px) minmax(0, 1fr); grid-template-rows: auto minmax(max(38px, calc(var(--mobile-image-size) * 1.29 - 57px)), auto) auto; align-items: start; margin-bottom: 22px; padding: 0 3px; }
  h1 { grid-column: 2; font-size: clamp(33px, 10.6vw, 45px); margin: 7px 0 6px; max-width: 100%; }
  .name-emblem { display: none; }
  .greeting { grid-column: 2; font-size: 16px; margin: 0; line-height: 1.8; }
  .intro-copy { grid-column: 1 / -1; font-size: 14px; margin-top: 15px; }
  .links { gap: max(8px, calc(var(--button-gap) - 3px)); padding: 0; }
  .channel-link { padding: 10px 36px 10px 15px; min-height: max(64px, calc(var(--button-height) - 14px)); }
  .featured { min-height: max(64px, calc(var(--button-height) - 8px)); }
  .channel-icon.has-mascot { width: max(32px, calc(var(--icon-size) - 16px)); margin-right: 12px; }
  .mascot-icon { width: max(32px, calc(var(--icon-size) - 11px)); height: max(32px, calc(var(--icon-size) - 11px)); }
  .link-title { font-size: max(14px, calc(var(--link-font-size) - 1px)); }
  .link-description { font-size: 13px; }
  .link-flourish { width: 70px; height: 38px; right: -7px; bottom: -10px; }
  .profile-footer { font-size: 12px; gap: 6px; }
  .footer-signature { font-size: 12px; }
  .exit-dialog { width: calc(100% - 32px); }
  .dialog-card { padding: 50px 21px 25px; }
  .dialog-card h2 { font-size: 21px; }
  .dialog-mascot-stage { height: 140px; }
  .dialog-mascot { width: 138px; height: 138px; }
  .dialog-orbit { width: 143px; height: 143px; }
  .orbit-two { width: 168px; height: 168px; }
  .dialog-actions { gap: 9px; }
  .dialog-cancel, .dialog-confirm { font-size: 14px; }
}
@media (max-width: 360px) {
  .site-header { padding-left: 18px; padding-right: 18px; }
  .profile { padding-left: 2px; padding-right: 2px; }
  .artwork { left: 0; width: min(85px, var(--mobile-image-size)); height: min(112px, calc(var(--mobile-image-size) * 1.29)); }
  .profile-intro { grid-template-columns: min(93px, calc(var(--mobile-image-size) + 9px)) minmax(0, 1fr); }
  h1 { font-size: 33px; }
  .channel-link { padding-left: 12px; padding-right: 28px; }
  .channel-icon.has-mascot { width: max(28px, calc(var(--icon-size) - 25px)); margin-right: 9px; }
  .mascot-icon { width: max(32px, calc(var(--icon-size) - 20px)); height: max(32px, calc(var(--icon-size) - 20px)); }
  .link-title { font-size: max(14px, calc(var(--link-font-size) - 2px)); }
  .link-description { font-size: 12px; }
}
.no-artwork .page { grid-template-columns: minmax(0, 1fr); max-width: 680px; }
body[data-button-shape='rounded'] .channel-link, body[data-button-shape='rounded'] .channel-link::before { border-radius: var(--button-radius); }
body[data-button-shape='square'] .channel-link, body[data-button-shape='square'] .channel-link::before { border-radius: 0; }
:is(.effects-off, .hover-effects-off) .channel-link:hover::after { animation: none; opacity: 0; }
:is(.effects-off, .hover-effects-off) .channel-link:hover .mascot-icon, :is(.effects-off, .hover-effects-off) .channel-link:hover .link-flourish { transform: none; }
.effects-off .exit-dialog::backdrop { animation: none; }
@media (max-width: 760px) {
  .no-mobile-artwork .artwork { display: none; }
  .no-mobile-artwork .profile-intro { display: block; }
  .no-mobile-artwork .greeting { margin-top: 12px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .channel-link:hover .mascot-icon, .channel-link:hover .link-flourish { transform: none; }
}

/* Studio controls share the same variables on the public page and preview. */
body { position: relative; isolation: isolate; min-height: 100svh; }
#page-background { inset: -32px; z-index: -1; pointer-events: none; }
.brand-mark { width: var(--logo-size, 54px); height: var(--logo-size, 54px); }
.page { padding-top: var(--top-space, 15px); padding-bottom: var(--bottom-space, 64px); }
.artwork { aspect-ratio: var(--art-ratio, .75); }
.artwork-image, .artwork::after { border-radius: var(--art-radius, 30px); }
.portrait-frame { opacity: var(--frame-opacity, 1); }
.profile-intro { margin-bottom: var(--intro-gap, 30px); }
h1 { font-weight: var(--heading-weight, 600); font-size: clamp(min(54px, var(--heading-size, 74px)), 5.1vw, var(--heading-size, 74px)); }
.greeting { font-size: var(--greeting-size, 21px); }
.intro-copy { font-size: var(--bio-size, 15px); line-height: var(--bio-line-height, 1.95); white-space: pre-line; }
.channel-link { border-width: var(--button-border-width, 1px); border-style: var(--button-border-style, solid); box-shadow: inset 0 2px 0 #fffefb, inset 0 -5px 0 rgb(200 181 217 / calc(.17 * var(--button-shadow, 1))), 0 7px 12px -8px rgb(117 90 139 / calc(.4 * var(--button-shadow, 1))); }
.channel-link:hover { box-shadow: inset 0 2px 0 #fffefb, 0 12px 19px -11px rgb(117 90 139 / calc(.5 * var(--button-shadow, 1))); }
.no-inner-border .channel-link::before { display: none; }
.link-copy { flex: 1; }
.link-title { font-weight: var(--button-weight, 600); }
.link-description { font-size: var(--description-size, 13px); white-space: pre-line; }
.mascot-icon { object-fit: var(--icon-fit, contain); }
body[data-profile-align='center'] .profile-intro { text-align: center; }
body[data-profile-align='center'] h1 { margin-inline: auto; }
body[data-profile-align='right'] .profile-intro { text-align: right; }
body[data-profile-align='right'] h1 { margin-left: auto; }
body[data-button-align='center'] .channel-link { text-align: center; }
body[data-button-align='right'] .channel-link { text-align: right; }
body[data-icon-shape='circle'] .channel-link:not([data-icon-shape]) .mascot-icon, .channel-link[data-icon-shape='circle'] .mascot-icon { border-radius: 50%; }
body[data-icon-shape='rounded'] .channel-link:not([data-icon-shape]) .mascot-icon, .channel-link[data-icon-shape='rounded'] .mascot-icon { border-radius: 18%; }
body[data-icon-shape='square'] .channel-link:not([data-icon-shape]) .mascot-icon, .channel-link[data-icon-shape='square'] .mascot-icon { border-radius: 0; }
.channel-link[data-display='textOnly'] .channel-icon { display: none; }
.channel-link[data-display='textOnly'] { padding-inline: 25px; }
.channel-link[data-display='card'] { flex-direction: column; gap: 15px; padding: 17px; }
.channel-link[data-display='card'] .channel-icon { width: 100%; margin: 0; }
.channel-link[data-display='card'] .mascot-icon { width: 100%; height: max(110px, calc(var(--icon-size, 74px) * 1.8)); }
.channel-link[data-display='card'] .link-copy { width: 100%; }
.link-badge { align-self: start; padding: 1px 7px; border: 1px solid currentColor; border-radius: 5px; font-size: 10px; font-weight: 600; max-width: 100%; overflow-wrap: anywhere; }
.profile-block { padding: 12px 15px; overflow-wrap: anywhere; white-space: pre-line; color: var(--ink); text-align: inherit; }
.profile-block h2 { margin: 8px 0; font-size: 21px; color: inherit; }
.profile-block p { margin: 5px 0; font-size: var(--bio-size, 15px); line-height: 1.8; }
body[data-hover-effect='lift']:not(.effects-off):not(.hover-effects-off) .channel-link:hover { transform: translateY(-4px); }
body[data-hover-effect='scale']:not(.effects-off):not(.hover-effects-off) .channel-link:hover { transform: scale(1.025); }
body[data-hover-effect='none'] .channel-link:hover .mascot-icon, body[data-hover-effect='none'] .channel-link:hover .link-flourish { transform: none; }
body[data-hover-effect='none'] .channel-link:hover::after { animation: none; opacity: 0; }
.exit-dialog { width: min(var(--modal-width, 460px), calc(100% - 32px)); }
.exit-dialog::backdrop { background: rgb(67 49 75 / var(--backdrop-opacity, .5)); backdrop-filter: blur(var(--backdrop-blur, 7px)); }
.dialog-card { border-radius: var(--modal-radius, 45px) calc(var(--modal-radius, 45px) * .4); }
.dialog-mascot-stage { height: var(--modal-image-size, 154px); }
.dialog-mascot { width: var(--modal-image-size, 154px); height: var(--modal-image-size, 154px); }
.dialog-orbit { width: calc(var(--modal-image-size, 154px) * 1.1); height: calc(var(--modal-image-size, 154px) * 1.1); }
.orbit-two { width: calc(var(--modal-image-size, 154px) * 1.28); height: calc(var(--modal-image-size, 154px) * 1.28); }
body[data-layout='stack'] .page { display: block; width: min(var(--content-width, 680px), calc(100% - 40px)); }
body[data-layout='stack'] .artwork { position: relative; top: auto; left: auto; width: min(240px, 75%); height: auto; margin: 0 auto 20px; }
body[data-layout='stack'] .profile { padding-top: 0; }
.no-artwork .page { max-width: var(--content-width, 680px); }
@media (max-width: 760px) {
  .brand-mark { width: max(24px, calc(var(--logo-size, 54px) - 10px)); height: max(24px, calc(var(--logo-size, 54px) - 10px)); }
  .page { padding-top: max(0px, calc(var(--top-space, 15px) - 8px)); padding-bottom: max(16px, calc(var(--bottom-space, 64px) - 36px)); }
  .artwork { top: max(0px, calc(var(--top-space, 15px) - 4px)); }
  .artwork-image, .artwork::after { border-radius: min(12px, var(--art-radius, 30px)); }
  h1 { font-size: clamp(min(33px, var(--mobile-heading-size, 45px)), 10.6vw, var(--mobile-heading-size, 45px)); }
  .greeting { font-size: max(12px, calc(var(--greeting-size, 21px) - 5px)); }
  .intro-copy { font-size: max(12px, calc(var(--bio-size, 15px) - 1px)); }
  .profile-intro { margin-bottom: max(8px, calc(var(--intro-gap, 30px) - 8px)); }
  body[data-layout='stack'] .artwork { width: var(--mobile-image-size, 96px); aspect-ratio: var(--art-ratio, .75); }
  body[data-layout='stack'] .profile-intro { display: block; }
  body[data-layout='stack'] .greeting { margin-top: 10px; }
  .dialog-mascot-stage { height: max(48px, calc(var(--modal-image-size, 154px) - 16px)); }
  .dialog-mascot { width: max(48px, calc(var(--modal-image-size, 154px) - 16px)); height: max(48px, calc(var(--modal-image-size, 154px) - 16px)); }
}
@media (prefers-reduced-motion: reduce) {
  body[data-hover-effect] .channel-link:hover { transform: none !important; }
}
