/* GOLI Sky Light · Visual Authority Correction R1
   Integrated R3 is the presentation authority. Product DOM, state, runtime,
   Programme, Cue, Audio, and Analytics remain owned by the existing Product. */

:root {
  --sky-base: #63caff;
  --sky-purple: #d7a6ff;
  --sky-peach: #ffd292;
  --sky-mint: #94e8b4;
  --sky-rose: #ffadca;
  --sky-white: #fff;
  --sky-ink: #18202a;
  --sky-line: rgba(255, 255, 255, .25);
  --sky-glass: linear-gradient(145deg, rgba(255, 255, 255, .14), rgba(255, 255, 255, .045));
  --sky-glass-strong: linear-gradient(145deg, rgba(255, 255, 255, .20), rgba(255, 255, 255, .075));
  --sky-glass-blur: blur(22px) saturate(1.08);
  --sky-shadow: 0 18px 46px rgba(39, 55, 75, .05);
  --sky-focus-core: rgba(255, 255, 255, .88);
  --sky-focus-glow: rgba(126, 203, 255, .24);
}

body[data-goli-theme="sky"] {
  --goli-product-canvas: var(--sky-base);
  --goli-brand-fg: rgba(255, 255, 255, .94);
  --goli-brand-text-shadow: 0 2px 15px rgba(68, 91, 128, .16);
  --goli-brand-mark-filter: drop-shadow(0 2px 15px rgba(68, 91, 128, .10));
  color: var(--sky-white);
  background: var(--sky-base) !important;
  isolation: isolate;
}

/* Integrated R3 four-field atmosphere, expressed on the shared Product root. */
body[data-goli-theme="sky"]::before,
body[data-goli-theme="sky"]::after {
  content: "";
  position: fixed;
  z-index: 0;
  pointer-events: none;
  transform: translate3d(0, 0, 0);
}

body[data-goli-theme="sky"]::before {
  inset: 0;
  background-image:
    radial-gradient(circle closest-side, var(--sky-rose) 0 82%, transparent 100%),
    radial-gradient(circle closest-side, var(--sky-mint) 0 82%, transparent 100%),
    radial-gradient(circle closest-side, var(--sky-peach) 0 82%, transparent 100%),
    radial-gradient(circle closest-side, var(--sky-purple) 0 82%, transparent 100%);
  background-position:
    left -5cqw top -10cqh,
    left -15cqw bottom -5cqh,
    right 5cqw bottom -15cqh,
    right -10cqw top -15cqh;
  background-repeat: no-repeat;
  background-size: 55cqw 55cqw;
  filter: blur(80px);
  animation: sky-r3-field-flow 24s ease-in-out infinite;
}

body[data-goli-theme="sky"]::after {
  inset: 0;
  background-image:
    radial-gradient(ellipse at 50% 47%, rgba(255, 255, 255, .11), transparent 58%),
    url("data:image/svg+xml;utf8,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 100% 100%, 200px 200px;
  background-repeat: no-repeat, repeat;
  mix-blend-mode: overlay;
  opacity: .045;
  animation: sky-r3-haze 13s ease-in-out infinite alternate;
}

body[data-goli-theme="sky"] > :not(script) {
  position: relative;
  z-index: 1;
}

@keyframes sky-r3-field-flow {
  0%, 100% { background-size: 19.25cqw 19.25cqw, 24.75cqw 24.75cqw, 19.25cqw 19.25cqw, 88cqw 88cqw; }
  25% { background-size: 24.75cqw 24.75cqw, 19.25cqw 19.25cqw, 88cqw 88cqw, 19.25cqw 19.25cqw; }
  50% { background-size: 19.25cqw 19.25cqw, 88cqw 88cqw, 24.75cqw 24.75cqw, 24.75cqw 24.75cqw; }
  75% { background-size: 88cqw 88cqw, 19.25cqw 19.25cqw, 19.25cqw 19.25cqw, 19.25cqw 19.25cqw; }
}

@keyframes sky-r3-field-flow-mobile {
  0%, 100% { background-size: 30.72cqh 30.72cqh, 34.56cqh 34.56cqh, 32cqh 32cqh, 71.68cqh 71.68cqh; }
  25% { background-size: 35.84cqh 35.84cqh, 29.44cqh 29.44cqh, 72.96cqh 72.96cqh, 34.56cqh 34.56cqh; }
  50% { background-size: 29.44cqh 29.44cqh, 72.96cqh 72.96cqh, 35.84cqh 35.84cqh, 29.44cqh 29.44cqh; }
  75% { background-size: 71.68cqh 71.68cqh, 34.56cqh 34.56cqh, 30.72cqh 30.72cqh, 37.12cqh 37.12cqh; }
}

@keyframes sky-r3-haze {
  from { opacity: .032; }
  to { opacity: .058; }
}

body[data-goli-theme="sky"] :is(.workbench, .preview-workbench, .archive, .preview-stage, .preview-canvas, .stage, .preview-frame, .app-viewport, .app, .page) {
  background-color: transparent !important;
  background-image: none !important;
}

body[data-goli-theme="sky"] .goli-brand {
  --goli-brand-fg: rgba(255, 255, 255, .94);
  --goli-brand-text-shadow: 0 2px 15px rgba(68, 91, 128, .16);
  --goli-brand-mark-filter: drop-shadow(0 2px 15px rgba(68, 91, 128, .10));
}

body[data-goli-theme="sky"] :is(button, input):focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px var(--sky-focus-core), 0 0 0 6px var(--sky-focus-glow);
}

/* Canonical current scene IDs mapped to Integrated R3 palettes. */
body[data-goli-theme="sky"][data-goli-page="player"][data-scene="morning"] {
  --sky-base: #ffc79a;
  --sky-purple: #fff0a8;
  --sky-peach: #ffb5b5;
  --sky-mint: #90e0ef;
  --sky-rose: #e0bbe4;
}

body[data-goli-theme="sky"][data-goli-page="player"][data-scene="exercise"] {
  --sky-base: #88eab3;
  --sky-purple: #e4f99c;
  --sky-peach: #7bdef2;
  --sky-mint: #ffd292;
  --sky-rose: #d7a6ff;
}

body[data-goli-theme="sky"][data-goli-page="player"][data-scene="focus"] {
  --sky-base: #63caff;
  --sky-purple: #d7a6ff;
  --sky-peach: #ffd292;
  --sky-mint: #94e8b4;
  --sky-rose: #ffadca;
}

body[data-goli-theme="sky"][data-goli-page="player"][data-scene="break"] {
  --sky-base: #d7a6ff;
  --sky-purple: #ffc2d1;
  --sky-peach: #b8e0ff;
  --sky-mint: #ffe0b2;
  --sky-rose: #c8e6c9;
}

body[data-goli-theme="sky"][data-goli-page="player"][data-scene="sleep"] {
  --sky-base: #5c7c99;
  --sky-purple: #8e7cc3;
  --sky-peach: #b8a9c9;
  --sky-mint: #d0a3bf;
  --sky-rose: #7a96b4;
}

/* Welcome R3: open atmosphere, centered light axis, Product rail preserved. */
body[data-goli-theme="sky"][data-goli-page="welcome"] .welcome-page {
  background: transparent !important;
}

body[data-goli-theme="sky"][data-goli-page="welcome"] .ambient { display: none; }

body[data-goli-theme="sky"][data-goli-page="welcome"] .welcome-main {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 104px;
  margin: 0;
  grid-area: auto;
}

body[data-goli-theme="sky"][data-goli-page="welcome"] .theme-carousel {
  width: min(860px, calc(100% - 36px));
  height: 480px;
  max-width: none;
  position: relative;
  top: 1px;
  left: 1px;
}

body[data-goli-theme="sky"][data-goli-page="welcome"] :is(.theme-track, .theme-slide) { height: 100%; }
body[data-goli-theme="sky"][data-goli-page="welcome"] .theme-slide { padding: 0; }

body[data-goli-theme="sky"][data-goli-page="welcome"] .welcome-bottom {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 18px;
  width: min(calc(100% - 116px), 980px);
  transform: translateX(-50%);
}

body[data-goli-theme="sky"][data-goli-page="welcome"] .theme-card.sky {
  color: var(--sky-white);
  height: 100%;
  min-height: 0;
  overflow: hidden;
  border: 0 !important;
  border-radius: 40px;
  outline: 0;
  background: none !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

body[data-goli-theme="sky"][data-goli-page="welcome"] .theme-card.sky.locked::after,
body[data-goli-theme="sky"][data-goli-page="welcome"] .theme-card.sky .sky-flow-wrap {
  display: none;
}

/* Keep adjacent Oxygen/Space cards swipeable without a one-pixel bleed at the open Sky rail. */
body[data-goli-theme="sky"][data-goli-page="welcome"] :is(.theme-card.oxygen, .theme-card.space) {
  clip-path: inset(0 2px);
}

body[data-goli-theme="sky"][data-goli-page="welcome"] .theme-card.sky .theme-copy {
  inset: 0;
  width: 100%;
  max-width: none;
  transform: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

body[data-goli-theme="sky"][data-goli-page="welcome"] .theme-card.sky .theme-copy::before {
  content: "";
  width: 100px;
  height: 100px;
  margin-bottom: 24px;
  display: grid;
  place-items: center;
  background: center / 56px 56px no-repeat url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' fill='none' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3Cpath d='M12 2v2M12 20v2M4.93 4.93l1.41 1.41M17.66 17.66l1.41 1.41M2 12h2M20 12h2M4.93 19.07l1.41-1.41M17.66 6.34l1.41-1.41'/%3E%3C/svg%3E");
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, .80));
}

body[data-goli-theme="sky"][data-goli-page="welcome"] .theme-card.sky .theme-label {
  min-height: 0;
  padding: 0;
  color: rgba(255, 255, 255, .86);
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  margin-bottom: 16px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 5px;
  text-transform: uppercase;
}

body[data-goli-theme="sky"][data-goli-page="welcome"] .theme-card.sky .greeting-title {
  display: block;
  width: auto;
  max-width: 100%;
  margin: 0 0 16px;
  color: rgba(255, 255, 255, .98);
  font-size: 56px;
  line-height: normal;
  font-weight: 300;
  letter-spacing: 2px;
  white-space: nowrap;
  text-shadow: 0 3px 18px rgba(57, 95, 130, .07);
}

body[data-goli-theme="sky"][data-goli-page="welcome"] .theme-card.sky .greeting-title > span {
  display: inline;
}

body[data-goli-theme="sky"][data-goli-page="welcome"] .theme-card.sky .greeting-line,
body[data-goli-theme="sky"][data-goli-page="welcome"] :is(.theme-caption, .swipe-hint) {
  width: auto;
  max-width: 100%;
  color: rgba(255, 255, 255, .78);
  text-align: center;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 400;
  letter-spacing: 2px;
}

body[data-goli-theme="sky"][data-goli-page="welcome"] .theme-dot {
  width: 8px;
  background: rgba(255, 255, 255, .30);
}

body[data-goli-theme="sky"][data-goli-page="welcome"] .theme-dot.active {
  width: 8px;
  background: #fff;
}

body[data-goli-theme="sky"][data-goli-page="welcome"] .primary-btn {
  width: 202px;
  min-height: 58px;
  padding: 0 24px;
  color: var(--sky-ink);
  background: #fff;
  box-shadow: 0 10px 30px rgba(35, 50, 70, .08);
  font-weight: 500;
}

body[data-goli-theme="sky"][data-goli-page="welcome"] .primary-btn .arrow-disc {
  width: 32px;
  background: rgba(23, 26, 23, .06);
}

/* Profile R19: one translucent onboarding shell on current Product fields. */
body[data-goli-theme="sky"][data-goli-page="profile"] :is(.archive, .stage, .onboarding-layer) {
  background: transparent !important;
}

body[data-goli-theme="sky"] .onboarding-layer {
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body[data-goli-theme="sky"] .onboarding-card {
  width: min(920px, calc(100% - 8px));
  height: 522px;
  max-height: calc(100% - 8px);
  grid-template-columns: 43% 57%;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, .25);
  border-radius: 40px;
  background: var(--sky-glass);
  box-shadow: var(--sky-shadow), inset 0 1px 0 rgba(255, 255, 255, .18);
  backdrop-filter: var(--sky-glass-blur);
  -webkit-backdrop-filter: var(--sky-glass-blur);
  transform: none !important;
  transition: none !important;
}

body[data-goli-theme="sky"] .onboarding-visual {
  min-height: 0;
  padding: 0;
  overflow: hidden;
  color: var(--sky-white);
  background: transparent;
}

body[data-goli-theme="sky"] .onboarding-visual::before {
  inset: -18% -10%;
  width: auto;
  height: auto;
  border-radius: 0;
  background: radial-gradient(circle at 15% 18%, rgba(255, 255, 255, .105), transparent 27%);
  filter: none;
}

body[data-goli-theme="sky"] .onboarding-visual::after {
  display: none;
}

body[data-goli-theme="sky"] .friend-visual {
  position: absolute;
  left: 50%;
  top: 111px;
  width: 100px;
  height: 100px;
  aspect-ratio: 1;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
}

body[data-goli-theme="sky"] .friend-visual::after {
  content: "";
  position: relative;
  z-index: 2;
  width: 56px;
  height: 56px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg' fill='none' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='5'/%3E%3Cpath d='M12 2v2M12 20v2M4.93 4.93l1.41 1.41M17.66 17.66l1.41 1.41M2 12h2M20 12h2M4.93 19.07l1.41-1.41M17.66 6.34l1.41-1.41'/%3E%3C/svg%3E");
  filter: drop-shadow(0 0 12px rgba(255, 255, 255, .78));
}

body[data-goli-theme="sky"] .friend-orbit {
  inset: 9px;
  background: #fff;
  filter: blur(24px);
  opacity: .72;
  animation: none;
}

body[data-goli-theme="sky"] :is(.friend-star, .friend-dot) {
  display: none;
}

body[data-goli-theme="sky"] .onboarding-copy {
  left: 24px;
  right: 24px;
  top: 264px;
  bottom: auto;
  text-align: center;
}

body[data-goli-theme="sky"] .onboarding-copy h1 {
  margin: 0 0 8px;
  color: rgba(255, 255, 255, .985);
  font-size: 44px;
  line-height: 1.12;
  font-weight: 300;
  letter-spacing: .004em;
  text-shadow: 0 3px 18px rgba(57, 95, 130, .07);
}

body[data-goli-theme="sky"] .onboarding-copy p {
  max-width: 350px;
  margin: 0 auto;
  color: rgba(255, 255, 255, .89);
  font-size: 16px;
  line-height: 1.48;
  font-weight: 400;
  white-space: nowrap;
}

body[data-goli-theme="sky"] .onboarding-form {
  position: relative;
  justify-content: flex-start;
  padding: 70px 47px 40px;
  color: var(--sky-white);
  background: transparent;
}

body[data-goli-theme="sky"] .onboarding-form h2 {
  color: rgba(255, 255, 255, .98);
  font-size: 34px;
  line-height: 1.16;
  font-weight: 300;
  letter-spacing: .01em;
}

body[data-goli-theme="sky"] .form-intro {
  margin: 8px 0 34px;
  color: rgba(255, 255, 255, .80);
  font-size: 14px;
  line-height: 1.65;
  font-weight: 400;
  white-space: nowrap;
}

body[data-goli-theme="sky"] .profile-fields { gap: 30px; }
body[data-goli-theme="sky"] .field { gap: 10px; }

body[data-goli-theme="sky"] .field-label {
  color: rgba(255, 255, 255, .76);
  font-size: 13px;
  font-weight: 400;
}

body[data-goli-theme="sky"] .field input,
body[data-goli-theme="sky"] .gender-options {
  height: 58px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 18px;
  background: rgba(255, 255, 255, .095);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .09);
}

body[data-goli-theme="sky"] .field input { font-weight: 400; }

body[data-goli-theme="sky"] .field input::placeholder {
  color: rgba(255, 255, 255, .44);
  font-weight: 400;
}

body[data-goli-theme="sky"] .field input:focus {
  color: #fff;
  border-color: rgba(255, 255, 255, .42);
  background: rgba(255, 255, 255, .135);
  box-shadow: 0 0 0 4px rgba(255, 255, 255, .055), inset 0 1px 0 rgba(255, 255, 255, .12);
}

body[data-goli-theme="sky"] .gender-option {
  color: rgba(255, 255, 255, .64);
  font-weight: 400;
}

body[data-goli-theme="sky"] .gender-option.selected,
body[data-goli-theme="sky"] .gender-option[data-gender].selected {
  color: #fff;
  background: rgba(255, 255, 255, .235);
  box-shadow: 0 6px 16px rgba(54, 79, 112, .10), inset 0 1px 0 rgba(255, 255, 255, .18);
}

body[data-goli-theme="sky"] .profile-error {
  min-height: 16px;
  margin: 7px 0 8px;
  color: rgba(255, 244, 240, .92);
  font-weight: 400;
}

body[data-goli-theme="sky"] .profile-actions {
  margin-top: auto;
  margin-left: auto;
}

body[data-goli-theme="sky"] .profile-primary {
  width: 196px;
  height: 50px;
  padding: 0 16px 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--sky-ink);
  background: #fff;
  box-shadow: 0 10px 24px rgba(35, 50, 70, .08);
  font-size: 14px;
  font-weight: 400;
  letter-spacing: .025em;
}

body[data-goli-theme="sky"] .profile-primary::after {
  content: "→";
  width: 32px;
  height: 32px;
  flex: 0 0 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(23, 26, 23, .06);
  font-size: 18px;
  line-height: 1;
}

/* Plan R6 information glass on the canonical Product Plan DOM. */
body[data-goli-theme="sky"][data-goli-page="plan"] > .ambient { display: none; }
body[data-goli-theme="sky"] #planPage {
  position: relative;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 84px 52px 24px;
  gap: 20px;
  color: var(--sky-white);
}

body[data-goli-theme="sky"] .plan-topline {
  position: absolute;
  top: 18px;
  right: 52px;
  min-height: 46px;
  margin: 0;
  transform: none;
}

body[data-goli-theme="sky"] .plan-layout {
  flex: 1;
  min-height: 0;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr);
  grid-template-rows: 455px minmax(0, 1fr) 54px;
  column-gap: 28px;
  row-gap: 12px;
  align-content: stretch;
}

body[data-goli-theme="sky"] .plan-list-column { display: contents; }

body[data-goli-theme="sky"] .plan-items {
  grid-column: 1;
  grid-row: 1;
  height: 455px;
  max-height: 455px;
  padding: 2px 6px 0 0;
  gap: 9px;
  overflow-x: hidden;
  overflow-y: auto;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, .28) transparent;
  scrollbar-gutter: stable;
}

body[data-goli-theme="sky"] .plan-items::-webkit-scrollbar { width: 8px; }
body[data-goli-theme="sky"] .plan-items::-webkit-scrollbar-track { background: transparent; }
body[data-goli-theme="sky"] .plan-items::-webkit-scrollbar-thumb {
  border: 0;
  border-radius: 99px;
  background: rgba(255, 255, 255, .25);
}

body[data-goli-theme="sky"] .plan-header h1 {
  color: #fff;
  font-size: clamp(44px, 4.1vw, 56px);
  font-weight: 300;
  letter-spacing: 1.2px;
  text-shadow: 0 4px 18px rgba(44, 66, 88, .075);
}

body[data-goli-theme="sky"] :is(.plan-date, .item-note, .duration-unit, .summary-kicker, .summary-unit) {
  color: rgba(255, 255, 255, .70);
}

body[data-goli-theme="sky"] .back-circle-visual {
  color: #fff;
  border-color: rgba(255, 255, 255, .40);
  background: rgba(255, 255, 255, .15);
  box-shadow: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

body[data-goli-theme="sky"] .plan-item {
  min-height: 68px;
  overflow: hidden;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .18);
  background: transparent;
  box-shadow: var(--sky-shadow);
}

body[data-goli-theme="sky"] .plan-item-surface {
  min-height: 66px;
  padding: 10px 12px;
  grid-template-columns: 26px 46px minmax(0, 1fr) auto 32px;
  align-items: center;
  gap: 11px;
  color: #fff;
  background: linear-gradient(135deg, rgba(255, 255, 255, .135), rgba(255, 255, 255, .055));
  box-shadow: none;
  backdrop-filter: blur(20px) saturate(1.08);
  -webkit-backdrop-filter: blur(20px) saturate(1.08);
}

body[data-goli-theme="sky"] .plan-item-surface .drag-handle { width: 26px; height: 40px; }
body[data-goli-theme="sky"] .plan-item-surface .type-button { width: 46px; height: 46px; border-radius: 16px; }
body[data-goli-theme="sky"] .plan-item-surface .item-more-btn { width: 32px; height: 32px; }

body[data-goli-theme="sky"] .plan-item.active {
  border-color: rgba(255, 255, 255, .42);
  box-shadow: 0 14px 38px rgba(45, 62, 84, .08), inset 0 0 0 1px rgba(255, 255, 255, .10);
}

body[data-goli-theme="sky"] .plan-item.active .plan-item-surface {
  background: linear-gradient(135deg, rgba(255, 255, 255, .205), rgba(255, 255, 255, .08));
}

body[data-goli-theme="sky"] .plan-item :is(.item-name, .duration-input) {
  color: #fff;
  font-weight: 500;
}

body[data-goli-theme="sky"] .plan-item :is(.item-note, .duration-unit, .drag-handle, .item-more-btn) {
  color: rgba(255, 255, 255, .62);
}

body[data-goli-theme="sky"] .type-button {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .24);
  background: color-mix(in srgb, var(--item-accent) 24%, rgba(255, 255, 255, .10));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .18);
}

body[data-goli-theme="sky"] .step-btn {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .22);
  background: rgba(255, 255, 255, .075);
}

body[data-goli-theme="sky"] .swipe-delete-action { background: #e78977; }

body[data-goli-theme="sky"] .add-plan-btn {
  grid-column: 1;
  grid-row: 3;
  align-self: stretch;
  justify-self: start;
  width: 220px;
  height: 54px;
  min-height: 54px;
  color: #fff;
  border: 1px dashed rgba(255, 255, 255, .30);
  border-radius: 20px;
  background: rgba(255, 255, 255, .075);
  box-shadow: none;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  font-weight: 500;
}

body[data-goli-theme="sky"] .add-plan-btn::before {
  color: rgba(30, 38, 46, .78);
  background: rgba(255, 255, 255, .88);
}

body[data-goli-theme="sky"] .plan-summary {
  grid-column: 2;
  grid-row: 1;
  height: 455px;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .25);
  background: var(--sky-glass);
  box-shadow: var(--sky-shadow), inset 0 1px 0 rgba(255, 255, 255, .16);
  backdrop-filter: var(--sky-glass-blur);
  -webkit-backdrop-filter: var(--sky-glass-blur);
}

body[data-goli-theme="sky"] .plan-summary::after {
  background: radial-gradient(circle, rgba(255, 255, 255, .10), transparent 70%);
}

body[data-goli-theme="sky"] .summary-kicker { font-weight: 500; letter-spacing: 1.2px; }

body[data-goli-theme="sky"] .summary-total {
  color: #fff;
  font-weight: 220;
  letter-spacing: -2px;
  text-shadow: 0 4px 20px rgba(35, 50, 70, .06);
}

body[data-goli-theme="sky"] .summary-unit,
body[data-goli-theme="sky"] .summary-line,
body[data-goli-theme="sky"] .music-switch-copy strong { font-weight: 400; }

body[data-goli-theme="sky"] .summary-line {
  color: rgba(255, 255, 255, .88);
  border-color: rgba(255, 255, 255, .13);
}

body[data-goli-theme="sky"] .summary-line span:last-child,
body[data-goli-theme="sky"] .music-switch-copy span { color: rgba(255, 255, 255, .62); }

body[data-goli-theme="sky"] .switch {
  border: 1px solid rgba(255, 255, 255, .20);
  background: rgba(255, 255, 255, .10);
}

body[data-goli-theme="sky"] .switch.on { background: rgba(255, 255, 255, .26); }
body[data-goli-theme="sky"] .switch.on::after { background: rgba(255, 255, 255, .92); }

body[data-goli-theme="sky"] .plan-actions .primary-btn {
  width: 220px;
  height: 54px;
  min-width: 220px;
  min-height: 54px;
  color: var(--sky-ink);
  background: #fff;
  box-shadow: 0 11px 30px rgba(35, 50, 70, .09);
  font-weight: 500;
}

body[data-goli-theme="sky"] .plan-actions {
  grid-column: 2;
  grid-row: 3;
  align-items: center;
  justify-content: flex-end;
}

/* Player R6 Air Zone; transport and audio ownership remain untouched. */
body[data-goli-theme="sky"][data-goli-page="player"] .app-bg { background: transparent; }

body[data-goli-theme="sky"][data-goli-page="player"] .app-bg::before,
body[data-goli-theme="sky"][data-goli-page="player"] :is(.bg-mountains, .hero-mountain-bg, .timer-shine) {
  display: none;
}

body[data-goli-theme="sky"] .player-shell {
  width: min(100%, 1040px);
  height: min(100%, 620px);
  grid-template-columns: minmax(0, 620px) minmax(280px, 340px);
  justify-content: start;
  gap: 20px;
}

body[data-goli-theme="sky"] .timer-ring {
  --timer-size: clamp(350px, 38cqw, 452px);
  max-width: min(100%, 68cqh);
  filter: none;
}

body[data-goli-theme="sky"] .timer-ring::after {
  content: "";
  position: absolute;
  z-index: 6;
  top: 3.5%;
  left: 50%;
  width: 10px;
  height: 10px;
  transform: translateX(-50%);
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 10px 2px rgba(112, 225, 245, .30);
}

body[data-goli-theme="sky"] .timer-face {
  inset: 0;
  overflow: visible;
  border: 0;
  background: transparent;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

body[data-goli-theme="sky"] .timer-face::after { display: none; }
body[data-goli-theme="sky"] :is(.timer-track, .timer-progress) { stroke-width: 1.5; }
body[data-goli-theme="sky"] .timer-track { stroke: rgba(255, 255, 255, .12); }

body[data-goli-theme="sky"] .timer-progress {
  stroke: rgba(255, 255, 255, .92);
  filter: drop-shadow(0 0 6px rgba(112, 225, 245, .28));
}

body[data-goli-theme="sky"] .timer-value {
  color: rgba(255, 255, 255, .96);
  font-size: clamp(76px, 7.2cqw, 92px);
  font-weight: 100;
  letter-spacing: -2px;
  text-shadow: 0 2px 8px rgba(255, 255, 255, .18);
}

body[data-goli-theme="sky"] .player-side {
  position: relative;
  width: 100%;
  height: 280px;
  align-self: center;
  gap: 0;
  padding: 0;
}

body[data-goli-theme="sky"] .player-title {
  position: absolute;
  left: 50%;
  bottom: calc(50% + 34px);
  width: 100%;
  max-width: 430px;
  margin: 0;
  transform: translateX(-50%);
  color: rgba(255, 255, 255, .96);
  font-size: clamp(38px, 4.4cqw, 54px);
  line-height: 1.08;
  font-weight: 260;
  letter-spacing: .015em;
  text-shadow: 0 2px 12px rgba(112, 225, 245, .22);
}

body[data-goli-theme="sky"] .player-note {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 100%;
  max-width: 410px;
  margin: 0;
  transform: translate(-50%, -50%);
  color: rgba(255, 255, 255, .76);
  font-size: clamp(14px, 1.4cqw, 17px);
  line-height: 1.72;
  font-weight: 320;
  letter-spacing: .02em;
}

body[data-goli-theme="sky"] .player-controls {
  position: absolute;
  left: 50%;
  top: calc(50% + 46px);
  width: 100%;
  gap: 20px;
  margin: 0;
  transform: translateX(-50%);
}

body[data-goli-theme="sky"] .control-secondary,
body[data-goli-theme="sky"] .control-primary,
body[data-goli-theme="sky"] .control-secondary.active,
body[data-goli-theme="sky"] .app-viewport[data-motion-mode="light"] .control-secondary,
body[data-goli-theme="sky"] .app-viewport[data-motion-mode="light"] .control-primary {
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .23);
  background: rgba(255, 255, 255, .075);
  box-shadow: none;
  backdrop-filter: blur(9px);
  -webkit-backdrop-filter: blur(9px);
}

body[data-goli-theme="sky"] .control-secondary { width: 50px; }

body[data-goli-theme="sky"] .control-primary,
body[data-goli-theme="sky"] .app-viewport[data-motion-mode="light"] .control-primary {
  width: 72px;
  border-color: rgba(255, 255, 255, .30);
  background: rgba(255, 255, 255, .115);
  backdrop-filter: blur(13px);
  -webkit-backdrop-filter: blur(13px);
}

/* Complete R17 hierarchy on current settlement/history/reveal content. */
body[data-goli-theme="sky"][data-goli-page="result"] > .workbench > .preview-stage > .app-viewport > .ambient { display: none; }

body[data-goli-theme="sky"][data-goli-page="result"]:has(.result-hero.incomplete) {
  --sky-base: #e0bbe4;
  --sky-purple: #ffdfd3;
  --sky-peach: #fff1e6;
  --sky-mint: #d291bc;
  --sky-rose: #957dad;
}

body[data-goli-theme="sky"][data-goli-page="result"] .result-page {
  padding: 84px clamp(28px, 4.2vw, 52px) 24px;
  display: grid;
  grid-template-columns: minmax(300px, .83fr) minmax(520px, 1.17fr);
  grid-template-rows: minmax(0, 520px) 54px;
  column-gap: clamp(24px, 3vw, 38px);
  row-gap: 38px;
  align-content: end;
  overflow: hidden;
}

body[data-goli-theme="sky"] .result-hero {
  grid-column: 1;
  grid-row: 1;
  min-height: 0;
  border: 1px solid rgba(255, 255, 255, .30);
  border-radius: clamp(30px, 3.6vw, 42px);
  background: var(--sky-glass-strong);
  box-shadow: var(--sky-shadow);
  backdrop-filter: blur(26px) saturate(1.18);
  -webkit-backdrop-filter: blur(26px) saturate(1.18);
}

body[data-goli-theme="sky"] :is(.result-hero.completed, .result-hero.incomplete) { background: var(--sky-glass-strong); }

body[data-goli-theme="sky"] .hero-grid,
body[data-goli-theme="sky"] .hero-art > :is(.completed-visual, .incomplete-visual, .candy-wrap),
body[data-goli-theme="sky"] :is(.ribbon, .confetti, .celebration-halo, .candy-sunwheel) { display: none; }

body[data-goli-theme="sky"] .hero-art {
  inset: 139px auto auto 50%;
  width: 120px;
  height: 120px;
  transform: translateX(-50%);
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, .30) 50%, transparent 100%);
  box-shadow: 0 0 50px rgba(112, 225, 245, .34);
}

body[data-goli-theme="sky"] .hero-art::before {
  content: "";
  width: 68px;
  height: 68px;
  background: center / contain no-repeat url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg' fill='none' stroke='white' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M25.7 17A10.5 10.5 0 1 1 22 8.9'/%3E%3Cpath d='m12.3 15.8 3.2 3.2L26 8.5'/%3E%3C/svg%3E");
  filter: drop-shadow(0 0 10px rgba(255, 255, 255, .48));
}

body[data-goli-theme="sky"] .result-hero.incomplete .hero-art::before {
  width: 54px;
  height: 54px;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 32 32' xmlns='http://www.w3.org/2000/svg' fill='none' stroke='white' stroke-width='1.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m16 3 2.7 8.3L27 14l-8.3 2.7L16 25l-2.7-8.3L5 14l8.3-2.7L16 3Z'/%3E%3C/svg%3E");
}

body[data-goli-theme="sky"] .hero-copy {
  left: 24px;
  right: 24px;
  bottom: 96px;
  text-align: center;
}

body[data-goli-theme="sky"] .hero-copy h1,
body[data-goli-theme="sky"] .result-hero.incomplete .hero-copy h1 {
  color: rgba(255, 255, 255, .95);
  font-size: 46px;
  line-height: 1.1;
  font-weight: 300;
  letter-spacing: 2px;
  white-space: normal;
  text-shadow: 0 2px 16px rgba(112, 225, 245, .28);
}

body[data-goli-theme="sky"] .hero-copy p {
  max-width: 330px;
  margin: 16px auto 0;
  color: rgba(255, 255, 255, .85);
  font-size: 16px;
  line-height: 1.55;
  font-weight: 400;
  text-shadow: none;
}

body[data-goli-theme="sky"] .result-panel { display: contents; }

body[data-goli-theme="sky"] .result-scroll {
  grid-column: 2;
  grid-row: 1;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .30);
  border-radius: clamp(30px, 3.6vw, 42px);
  background: var(--sky-glass-strong);
  box-shadow: var(--sky-shadow);
  backdrop-filter: blur(26px) saturate(1.18);
  -webkit-backdrop-filter: blur(26px) saturate(1.18);
  scrollbar-color: rgba(255, 255, 255, .42) transparent;
}

body[data-goli-theme="sky"] .result-scroll::-webkit-scrollbar-thumb { background: rgba(255, 255, 255, .42); }

body[data-goli-theme="sky"] .session-achievement-card {
  overflow: visible;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body[data-goli-theme="sky"] .session-achievement-card::after { display: none; }

body[data-goli-theme="sky"] .section-heading h2,
body[data-goli-theme="sky"] .section-heading span,
body[data-goli-theme="sky"] .achievement-value,
body[data-goli-theme="sky"] .achievement-label,
body[data-goli-theme="sky"] .bar-label,
body[data-goli-theme="sky"] .bar-value,
body[data-goli-theme="sky"] .bar-value strong,
body[data-goli-theme="sky"] .stat-value,
body[data-goli-theme="sky"] .stat-label,
body[data-goli-theme="sky"] .calendar-head,
body[data-goli-theme="sky"] .calendar-day {
  color: rgba(255, 255, 255, .92);
  text-shadow: 0 2px 16px rgba(112, 225, 245, .20);
}

body[data-goli-theme="sky"] .section-heading h2,
body[data-goli-theme="sky"] .section-heading span,
body[data-goli-theme="sky"] .achievement-label,
body[data-goli-theme="sky"] .bar-label,
body[data-goli-theme="sky"] .bar-value,
body[data-goli-theme="sky"] .stat-label,
body[data-goli-theme="sky"] .calendar-head,
body[data-goli-theme="sky"] .calendar-day { font-weight: 400; }

body[data-goli-theme="sky"] .achievement-metrics { gap: 0; }

body[data-goli-theme="sky"] .achievement-card {
  min-height: 98px;
  padding: 10px clamp(16px, 2.2vw, 24px);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

body[data-goli-theme="sky"] .achievement-card:first-child { padding-left: 0; }

body[data-goli-theme="sky"] .achievement-card + .achievement-card {
  padding-right: 0;
  border-left: 1px solid rgba(255, 255, 255, .20);
}

body[data-goli-theme="sky"] .achievement-value { font-weight: 200; }

body[data-goli-theme="sky"] .completion-chart {
  height: 170px;
  gap: clamp(8px, 1.4vw, 16px);
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, .20);
}

body[data-goli-theme="sky"] .bar-frame {
  width: clamp(18px, 2.15vw, 24px);
  height: 132px;
  min-height: 0;
  max-height: none;
  border: 1px solid rgba(255, 255, 255, .30);
  border-radius: 999px;
  background: rgba(255, 255, 255, .10);
  box-shadow: inset 0 1px 5px rgba(64, 83, 120, .08);
}

body[data-goli-theme="sky"] .bar-fill {
  width: calc(100% - 4px);
  margin: 2px;
  border-radius: 999px;
}

body[data-goli-theme="sky"] .stats-grid { gap: 0; }

body[data-goli-theme="sky"] .stat-card,
body[data-goli-theme="sky"] :is(.stat-card.streak, .stat-card.time, .stat-card.complete) {
  min-height: 106px;
  padding: 4px clamp(14px, 1.8vw, 20px) 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

body[data-goli-theme="sky"] .stat-card:first-child { padding-left: 0; }
body[data-goli-theme="sky"] .stat-card + .stat-card { border-left: 1px solid rgba(255, 255, 255, .20); }
body[data-goli-theme="sky"] .stat-card:last-child { padding-right: 0; }

body[data-goli-theme="sky"] .stat-icon {
  color: rgba(255, 255, 255, .84);
  background: transparent;
}

body[data-goli-theme="sky"] .stat-value { font-weight: 200; }

body[data-goli-theme="sky"] .calendar-wrap {
  padding: 4px 0 2px;
  border: 0;
  border-radius: 0;
  background: transparent;
}

body[data-goli-theme="sky"] .calendar-day {
  border: 1px solid rgba(255, 255, 255, .32);
  background: rgba(255, 255, 255, .08);
}

body[data-goli-theme="sky"] .calendar-day.complete { color: var(--sky-ink); background: #fff; }
body[data-goli-theme="sky"] .calendar-day.partial { color: #fff; background: rgba(255, 255, 255, .25); }

body[data-goli-theme="sky"] .result-action {
  grid-column: 2;
  grid-row: 2;
  padding: 0;
  display: flex;
  justify-content: flex-end;
  background: transparent;
}

body[data-goli-theme="sky"] .result-action .primary-btn {
  width: 220px;
  min-height: 54px;
  padding: 0 24px 0 18px;
  color: var(--sky-ink);
  background: #fff;
  box-shadow: 0 11px 30px rgba(35, 50, 70, .09);
  font-weight: 400;
}

body[data-goli-theme="sky"] .result-action .arrow-disc {
  color: var(--sky-ink);
  background: rgba(23, 26, 23, .065);
}

@media (max-width: 760px) {
  body[data-goli-theme="sky"]::before {
    inset: 0;
    background-position:
      left -29cqw top -18cqh,
      left -31cqw bottom -18cqh,
      right -29cqw bottom -19cqh,
      right -33cqw top -17cqh;
    background-size: 64cqh 64cqh;
    filter: blur(76px);
    animation-name: sky-r3-field-flow-mobile;
  }

  body[data-goli-theme="sky"][data-goli-page="welcome"] .welcome-main {
    padding-bottom: 132px;
  }

  body[data-goli-theme="sky"][data-goli-page="welcome"] .theme-carousel {
    width: calc(100% - 34px);
    height: min(500px, 66cqh);
    margin-top: -12px;
  }

  body[data-goli-theme="sky"][data-goli-page="welcome"] .theme-card.sky { border-radius: 32px; }

  body[data-goli-theme="sky"][data-goli-page="welcome"] .theme-card.sky .theme-copy::before {
    width: 84px;
    height: 84px;
    margin-bottom: 18px;
    background-size: 48px 48px;
  }

  body[data-goli-theme="sky"][data-goli-page="welcome"] .theme-card.sky .theme-label {
    margin-bottom: 13px;
    font-size: 12px;
    letter-spacing: 4px;
  }

  body[data-goli-theme="sky"][data-goli-page="welcome"] .theme-card.sky .greeting-title {
    margin: 0 0 14px;
    font-size: clamp(36px, 10cqw, 44px);
    letter-spacing: 1px;
  }

  body[data-goli-theme="sky"][data-goli-page="welcome"] .theme-card.sky .greeting-line {
    max-width: 82%;
    font-size: 14px;
    line-height: 1.65;
    letter-spacing: 1px;
    white-space: normal;
  }

  body[data-goli-theme="sky"][data-goli-page="welcome"] .welcome-bottom {
    bottom: 18px;
    width: calc(100% - 28px);
  }

  body[data-goli-theme="sky"][data-goli-page="welcome"] .primary-btn {
    width: 176px;
    min-height: 52px;
    padding: 0 18px;
  }

  body[data-goli-theme="sky"] .onboarding-card {
    width: calc(100% - 4px) !important;
    height: 578px;
    max-height: calc(100% - 28px);
    grid-template-columns: 1fr;
    grid-template-rows: 228px minmax(0, 350px);
    border-radius: 30px;
  }

  body[data-goli-theme="sky"] .onboarding-visual { min-height: 0; padding: 0; }

  body[data-goli-theme="sky"][data-goli-page="profile"] .friend-visual,
  body[data-goli-theme="sky"][data-goli-page="profile"] .archive[data-viewport="portrait"] .friend-visual {
    top: 24px;
    width: 84px;
    height: 84px;
  }

  body[data-goli-theme="sky"] .friend-visual::after { width: 48px; height: 48px; }

  body[data-goli-theme="sky"] .onboarding-copy {
    left: 25px;
    right: 25px;
    top: 130px;
  }

  body[data-goli-theme="sky"] .onboarding-copy h1 {
    margin: 0;
    font-size: 43px;
    line-height: 1.08;
  }

  body[data-goli-theme="sky"] .onboarding-copy p { display: none; }

  body[data-goli-theme="sky"] .onboarding-form {
    min-height: 0;
    padding: 6px 25px 18px;
  }

  body[data-goli-theme="sky"][data-goli-page="profile"] .archive[data-viewport="portrait"] .onboarding-form {
    padding: 6px 25px 18px;
  }

  body[data-goli-theme="sky"] .onboarding-form h2 { font-size: 23px; line-height: 1.14; }

  body[data-goli-theme="sky"] .form-intro {
    margin: 5px 0 10px;
    font-size: 12.5px;
    line-height: 1.48;
    white-space: normal;
  }

  body[data-goli-theme="sky"][data-goli-page="profile"] .archive[data-viewport="portrait"] .form-intro {
    margin: 5px 0 16px;
  }

  body[data-goli-theme="sky"] .profile-fields { gap: 18px; }
  body[data-goli-theme="sky"] .field { gap: 5px; }
  body[data-goli-theme="sky"] .field-label { font-size: 11.5px; line-height: 14px; }

  body[data-goli-theme="sky"] .field input,
  body[data-goli-theme="sky"] .gender-options { height: 50px; }

  body[data-goli-theme="sky"] .profile-error {
    min-height: 12px;
    margin: 4px 0;
    font-size: 11px;
  }

  body[data-goli-theme="sky"] .profile-error:empty { min-height: 0; margin: 0; }
  body[data-goli-theme="sky"] .profile-actions { width: 100%; margin: 28px 0 0; }
  body[data-goli-theme="sky"] .profile-primary { width: 100%; height: 50px; }

  body[data-goli-theme="sky"] #planPage {
    display: block !important;
    padding: 70px 14px 24px;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  body[data-goli-theme="sky"] .plan-topline {
    top: 18px;
    right: 14px;
  }

  body[data-goli-theme="sky"] .plan-header h1 {
    font-size: clamp(32px, 8vw, 40px);
    line-height: 1.06;
    letter-spacing: .6px;
  }

  body[data-goli-theme="sky"] .plan-header { margin: 0 0 20px; }

  body[data-goli-theme="sky"] .plan-layout {
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-height: auto;
  }

  body[data-goli-theme="sky"] .plan-list-column {
    min-height: auto;
    display: flex;
  }

  body[data-goli-theme="sky"] .plan-items {
    width: 100%;
    height: auto;
    max-height: none;
    padding: 0;
    gap: 10px;
    overflow: visible;
    scrollbar-gutter: auto;
  }

  body[data-goli-theme="sky"] .plan-item {
    min-height: 0;
    border-radius: 21px;
  }

  body[data-goli-theme="sky"] .plan-item-surface {
    min-height: 0;
    padding: 11px 10px 10px;
    grid-template-columns: 23px 44px minmax(0, 1fr) 30px;
    grid-template-rows: auto auto;
    gap: 8px;
  }

  body[data-goli-theme="sky"] .plan-item-surface .drag-handle { width: 23px; height: 44px; }
  body[data-goli-theme="sky"] .plan-item-surface .type-button { width: 44px; height: 44px; border-radius: 15px; }
  body[data-goli-theme="sky"] .item-name { font-size: 15px; }
  body[data-goli-theme="sky"] .item-note { font-size: 11.5px; }
  body[data-goli-theme="sky"] .duration-control {
    grid-column: 3 / 4;
    justify-self: start;
    margin-top: 7px;
  }
  body[data-goli-theme="sky"] .plan-item-surface .item-more-btn {
    width: 30px;
    height: 30px;
    grid-column: 4;
    grid-row: 1 / 3;
    align-self: center;
  }
  body[data-goli-theme="sky"] .step-btn { width: 29px; height: 29px; }
  body[data-goli-theme="sky"] .duration-input { width: 31px; font-size: 13px; }

  body[data-goli-theme="sky"] .add-plan-btn,
  body[data-goli-theme="sky"] .plan-actions .primary-btn {
    width: 100%;
    height: 54px;
    min-height: 54px;
  }

  body[data-goli-theme="sky"] .add-plan-btn {
    align-self: auto;
    justify-self: auto;
  }

  body[data-goli-theme="sky"] .plan-summary {
    width: 100%;
    height: auto;
    min-height: 285px;
    flex: none;
    border-radius: 28px;
  }

  body[data-goli-theme="sky"] .plan-actions {
    display: block;
    width: 100%;
    height: auto;
  }

  body[data-goli-theme="sky"] .player-page {
    padding: 70px 22px 28px;
    display: block;
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: none;
  }

  body[data-goli-theme="sky"] .player-shell {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 0 0 18px;
  }

  body[data-goli-theme="sky"] .player-stage {
    width: 100%;
    height: auto;
    flex: 0 0 auto;
    margin-top: clamp(58px, 9cqh, 76px);
  }

  body[data-goli-theme="sky"] .timer-ring {
    --timer-size: min(69cqw, 296px);
    max-width: none;
  }

  body[data-goli-theme="sky"] .timer-value { font-size: clamp(58px, 16cqw, 74px); }

  body[data-goli-theme="sky"] .player-side {
    position: relative;
    width: 100%;
    height: auto;
    min-height: 0;
    margin-top: clamp(54px, 7.5cqh, 66px);
    padding: 0 6px 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
  }

  body[data-goli-theme="sky"] .player-title {
    position: static;
    width: auto;
    max-width: 100%;
    margin: 0 0 12px;
    transform: none;
    font-size: clamp(30px, 8.4cqw, 38px);
  }

  body[data-goli-theme="sky"] .player-note {
    position: static;
    max-width: 90%;
    width: auto;
    margin: 0 auto 28px;
    transform: none;
    font-size: clamp(13px, 3.6cqw, 15px);
    line-height: 1.7;
  }

  body[data-goli-theme="sky"] .player-controls {
    position: static;
    gap: 24px;
    width: auto;
    margin: 0;
    transform: none;
  }

  body[data-goli-theme="sky"] .control-secondary { width: 48px; height: 48px; }
  body[data-goli-theme="sky"] .control-primary { width: 72px; height: 72px; }

  body[data-goli-theme="sky"][data-goli-page="result"] .app-viewport {
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
  }

  body[data-goli-theme="sky"][data-goli-page="result"] .result-page {
    height: auto;
    min-height: 100%;
    padding: 70px 14px max(28px, env(safe-area-inset-bottom));
    display: flex;
    flex-direction: column;
    gap: 24px;
    overflow: visible;
  }

  body[data-goli-theme="sky"] .result-hero {
    flex: 0 0 auto;
    width: 100%;
    min-height: 318px;
    border: 1px solid rgba(255, 255, 255, .30);
    border-radius: 32px;
  }

  body[data-goli-theme="sky"] .hero-art {
    top: 34px;
    width: 108px;
    height: 108px;
  }

  body[data-goli-theme="sky"] .hero-art::before { width: 62px; height: 62px; }

  body[data-goli-theme="sky"] .hero-copy {
    left: 22px;
    right: 22px;
    bottom: 46px;
    text-align: center;
  }

  body[data-goli-theme="sky"] .hero-copy h1,
  body[data-goli-theme="sky"] .result-hero.incomplete .hero-copy h1 { font-size: 40px; }

  body[data-goli-theme="sky"] .hero-copy p {
    max-width: 310px;
    margin-top: 12px;
    font-size: 14px;
  }

  body[data-goli-theme="sky"] .result-panel {
    display: flex;
    flex: 0 0 auto;
    width: 100%;
    overflow: visible;
    border: 0;
    background: transparent;
    box-shadow: none;
  }

  body[data-goli-theme="sky"] .result-scroll {
    overflow: visible;
    border-radius: 32px;
    padding: 22px 18px 26px;
  }

  body[data-goli-theme="sky"] .completion-chart { height: 156px; gap: 7px; }
  body[data-goli-theme="sky"] .bar-frame { width: 18px; height: 120px; }

  body[data-goli-theme="sky"] .result-action {
    width: 100%;
    padding: 0;
    background: transparent;
  }

  body[data-goli-theme="sky"] .result-action .primary-btn { width: 100%; }
}

@media (max-width: 400px) {
  body[data-goli-theme="sky"][data-goli-page="welcome"] .welcome-main { padding-bottom: 136px; }

  body[data-goli-theme="sky"][data-goli-page="welcome"] .theme-carousel {
    width: calc(100% - 26px);
    height: min(520px, 67cqh);
  }

  body[data-goli-theme="sky"][data-goli-page="welcome"] .theme-card.sky .greeting-title { font-size: 36px; }
  body[data-goli-theme="sky"][data-goli-page="welcome"] .theme-card.sky .greeting-line { font-size: 13px; }

  body[data-goli-theme="sky"][data-goli-page="profile"] .onboarding-layer {
    place-items: start center;
    padding: 116px 0 22px;
  }

  body[data-goli-theme="sky"] .onboarding-card {
    width: calc(100% - 28px) !important;
    height: 558px;
    grid-template-rows: 216px minmax(0, 342px);
    border-radius: 28px;
  }

  body[data-goli-theme="sky"][data-goli-page="profile"] .friend-visual,
  body[data-goli-theme="sky"][data-goli-page="profile"] .archive[data-viewport="portrait"] .friend-visual {
    top: 21px;
    width: 84px;
    height: 84px;
  }
  body[data-goli-theme="sky"] .onboarding-copy { top: 120px; }
  body[data-goli-theme="sky"] .onboarding-copy h1 { font-size: 42px; }
  body[data-goli-theme="sky"] .onboarding-form { padding: 5px 25px 16px; }
  body[data-goli-theme="sky"][data-goli-page="profile"] .archive[data-viewport="portrait"] .onboarding-form {
    padding: 5px 25px 16px;
  }
  body[data-goli-theme="sky"] .onboarding-form h2 { font-size: 21px; }
  body[data-goli-theme="sky"] .form-intro { margin-bottom: 4px; font-size: 12px; }
  body[data-goli-theme="sky"][data-goli-page="profile"] .archive[data-viewport="portrait"] .form-intro {
    margin: 5px 0 14px;
  }
  body[data-goli-theme="sky"] .profile-fields { gap: 8px; }
  body[data-goli-theme="sky"] .field input,
  body[data-goli-theme="sky"] .gender-options { height: 46px; }
  body[data-goli-theme="sky"] .profile-primary { height: 46px; }
  body[data-goli-theme="sky"] .profile-actions { margin-top: 25px; }

  body[data-goli-theme="sky"] #planPage { padding-left: 12px; padding-right: 12px; }
  body[data-goli-theme="sky"] .plan-topline { right: 12px; }
  body[data-goli-theme="sky"] .plan-header h1 { font-size: 32px; }
  body[data-goli-theme="sky"] .plan-item-surface {
    padding-left: 8px;
    padding-right: 8px;
    gap: 7px;
  }
  body[data-goli-theme="sky"] .item-note { max-width: 185px; }

  body[data-goli-theme="sky"] .player-page { padding: 64px 18px 26px; }
  body[data-goli-theme="sky"] .player-stage { margin-top: clamp(58px, 9.2cqh, 78px); }
  body[data-goli-theme="sky"] .timer-ring { --timer-size: min(71cqw, 282px); }
  body[data-goli-theme="sky"] .timer-value { font-size: 60px; }
  body[data-goli-theme="sky"] .player-side { margin-top: clamp(52px, 7.2cqh, 62px); }
  body[data-goli-theme="sky"] .player-title { margin-bottom: 12px; font-size: 31px; }
  body[data-goli-theme="sky"] .player-note { max-width: 92%; margin-bottom: 28px; }
  body[data-goli-theme="sky"] .player-controls { gap: 20px; }
  body[data-goli-theme="sky"] .control-secondary { width: 46px; height: 46px; }
  body[data-goli-theme="sky"] .control-primary { width: 70px; height: 70px; }

  body[data-goli-theme="sky"] .result-hero { min-height: 304px; }
  body[data-goli-theme="sky"] .hero-copy h1,
  body[data-goli-theme="sky"] .result-hero.incomplete .hero-copy h1 { font-size: 38px; }
}

@media (max-width: 400px) and (min-height: 820px) {
  body[data-goli-theme="sky"] .player-page { padding-top: 64px; padding-bottom: 24px; }
  body[data-goli-theme="sky"] .player-stage { margin-top: 90px; }
  body[data-goli-theme="sky"] .player-side { margin-top: 86px; }
  body[data-goli-theme="sky"] .player-title { margin-bottom: 14px; }
  body[data-goli-theme="sky"] .player-note { margin-bottom: 42px; line-height: 1.72; }
}

@media (orientation: landscape) and (min-width: 701px) and (max-height: 500px) {
  body[data-goli-theme="sky"] .onboarding-card {
    height: 100%;
    max-height: none;
    grid-template-columns: 43% 57%;
  }

  body[data-goli-theme="sky"] .friend-visual { top: 22px; width: 78px; height: 78px; }
  body[data-goli-theme="sky"] .onboarding-copy { top: 124px; }
  body[data-goli-theme="sky"] .onboarding-copy h1 { font-size: 30px; }
  body[data-goli-theme="sky"] .onboarding-copy p { display: none; }
  body[data-goli-theme="sky"] .onboarding-form { padding: 20px 28px max(20px, env(safe-area-inset-bottom)); }
  body[data-goli-theme="sky"] .profile-fields { gap: 11px; }
}

@media (prefers-reduced-motion: reduce) {
  body[data-goli-theme="sky"]::before,
  body[data-goli-theme="sky"]::after,
  body[data-goli-theme="sky"] :is(.friend-orbit, .friend-dot, .friend-star, .timer-ring, .timer-progress, .candy-sunwheel, .celebration-halo, .ribbon, .confetti),
  body[data-goli-page="welcome"] .theme-card.sky :is(.sky-blob, .sky-haze, .sky-rays) {
    animation: none !important;
    transition-duration: .001ms !important;
  }
}
