:root {
  color-scheme: light;
  font-family: Inter, ui-rounded, system-ui, sans-serif;
  color: #463750;
  background: #d8cfdf;
  --color-canvas: #d8cfdf;
  --color-canvas-bright: #cbbdd5;
  --color-surface: #ded3e6f2;
  --color-surface-solid: #ded3e6;
  --color-surface-soft: #cfc0da;
  --color-border: #9b86ab;
  --color-border-soft: #bba9c6;
  --color-text: #463750;
  --color-text-muted: #66586e;
  --color-text-subtle: #786b80;
  --color-ink: #3e3048;
  --color-sky: #93ae9f;
  --color-teal: #aa97bf;
  --color-mango: #d7ba78;
  --color-coral: #cf8fa6;
  --color-violet: #aa95bf;
  --color-danger: #c96f79;
  --color-shadow: #493b5f38;
}
* { box-sizing: border-box; }
body { margin: 0; min-width: 320px; height: 100dvh; overflow: hidden; background: radial-gradient(circle at 18% 12%, #c9b8d6 0, transparent 38%), radial-gradient(circle at 82% 18%, #bfd0c7 0, transparent 34%), var(--color-canvas); }
button { font: inherit; }
#nest { height: 100%; min-height: 0; overflow: hidden; display: grid; grid-template-rows: minmax(0, 1fr) auto; }
header { display: flex; align-items: center; justify-content: space-between; gap: 20px; padding: 20px clamp(18px, 4vw, 48px); position: absolute; z-index: 2; width: 100%; }
#nest header > div:first-child { padding: 9px 12px; border-radius: 14px; background: #201713b8; backdrop-filter: blur(8px); }
h1 { margin: 0; font: 700 clamp(28px, 5vw, 44px) Georgia, serif; }
header p { margin: 3px 0 0; color: #d8c3b4; }
.brand-title { display: flex; align-items: center; gap: 10px; }
.goal-subtitle { max-width: 360px; color: #f0d3bd; font-size: 13px; }
.viewers { padding: 8px 12px; border: 1px solid #795b4c; border-radius: 999px; background: #201713a8; white-space: nowrap; }
.help-button { width: 40px; height: 40px; padding: 0; border: 1px solid #9a715a; border-radius: 50%; color: #fff5eb; background: #201713d9; font-weight: 900; cursor: pointer; }
.help-button:hover { background: #4b3025; }
.help-button:focus-visible, .help-dialog button:focus-visible { outline: 3px solid #f4ac82; outline-offset: 3px; }
.help-dialog { width: min(520px, calc(100% - 32px)); max-height: calc(100dvh - 32px); overflow: hidden; padding: 24px; border: 1px solid #a87355; border-radius: 24px; color: #fff5eb; background: #2a1e19; box-shadow: 0 24px 70px #100a07a8; }
.help-dialog::backdrop { background: #100a07b8; backdrop-filter: blur(5px); }
.help-dialog-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.help-dialog h2 { margin: 0; font: 700 28px Georgia, serif; }
.help-kicker { margin: 0 0 4px; color: #d6a98f; font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.help-dialog-heading button { min-height: 40px; padding: 8px 12px; border: 1px solid #8e674f; border-radius: 10px; color: #fff5eb; background: #241711; cursor: pointer; }
.help-dialog > p { margin: 20px 0 0; color: #f0d3bd; line-height: 1.5; }
.help-dialog ol { display: grid; gap: 12px; margin: 20px 0 0; padding-left: 22px; color: #e9d7ca; line-height: 1.45; }
.help-dialog li { padding-left: 5px; }
.gift-checkout-dialog { width: min(440px, calc(100% - 32px)); padding: 26px; border: 1px solid #a87355; border-radius: 26px; color: #fff5eb; background: #2a1e19; box-shadow: 0 24px 70px #100a07a8; text-align: center; }
.gift-checkout-dialog::backdrop { background: #100a07b8; backdrop-filter: blur(5px); }
.gift-checkout-heading { display: flex; align-items: flex-start; justify-content: space-between; }
.gift-checkout-heading form { margin: 0; }
.gift-checkout-heading button { min-height: 38px; padding: 7px 10px; border: 1px solid #8e674f; border-radius: 10px; color: #fff5eb; background: #241711; cursor: pointer; }
.gift-checkout-bao { position: relative; width: 72px; height: 57px; border-radius: 52% 52% 45% 45%; background: radial-gradient(circle at 50% 72%, #f3b899 0 7%, transparent 8%), linear-gradient(#f8dec0, #e8bd96); box-shadow: 0 12px 26px #100a0760; }
.gift-checkout-bao::before, .gift-checkout-bao::after { content: ""; position: absolute; top: 24px; width: 8px; height: 12px; border-radius: 50%; background: #34221d; box-shadow: inset 3px 3px 0 #fff8; }
.gift-checkout-bao::before { left: 19px; }
.gift-checkout-bao::after { right: 19px; }
.gift-checkout-bao span { position: absolute; top: -4px; left: 50%; width: 12px; height: 17px; border-radius: 80% 20%; background: #efc9a6; transform-origin: bottom; }
.gift-checkout-bao span:first-child { transform: translateX(-80%) rotate(-24deg); }
.gift-checkout-bao span:last-child { transform: translateX(-20%) rotate(24deg); }
.gift-checkout-kicker { margin: 14px 0 5px; color: #d99c78; font-size: 12px; font-weight: 800; letter-spacing: .08em; }
.gift-checkout-dialog h2 { margin: 0; font: 700 clamp(28px, 7vw, 38px) Georgia, serif; }
.gift-checkout-dialog > p:not(.gift-checkout-kicker, .gift-checkout-terms, .gift-checkout-feedback) { margin: 12px auto 0; color: #d8c3b4; line-height: 1.5; }
.gift-checkout-dialog > form:not([method="dialog"]) { display: grid; gap: 9px; margin-top: 22px; text-align: left; }
.gift-checkout-dialog label { color: #e9d7ca; font-size: 13px; font-weight: 700; }
.gift-checkout-dialog input { width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid #8e674f; border-radius: 11px; color: #fff5eb; background: #201713; font: inherit; }
.gift-checkout-dialog > form:not([method="dialog"]) button { min-height: 48px; margin-top: 5px; padding: 12px 16px; border: 0; border-radius: 13px; color: #35241d; background: #f1d7b8; font-weight: 800; cursor: pointer; }
.gift-checkout-dialog button:disabled { cursor: wait; opacity: .6; }
.gift-checkout-dialog button:focus-visible, .gift-checkout-dialog input:focus-visible { outline: 3px solid #f4ac82; outline-offset: 3px; }
.gift-checkout-feedback { min-height: 20px; margin: 12px 0 0; color: #f3bc9c; font-size: 13px; }
.gift-checkout-terms { margin: 15px 0 0; color: #a99184; font-size: 12px; line-height: 1.45; }
.look-shell { min-height: 0; position: relative; grid-row: 1 / 3; grid-column: 1; }
.video-look { position: absolute; inset: 0; }
.video-look { overflow: hidden; background: #201713; }
.video-look video, .video-look img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 50%; }
.video-look img { z-index: 1; }
@media (min-width: 561px) {
  .video-look video, .video-look img { object-fit: contain; }
}
.sleep-state { position: absolute; inset: auto 0 28px; text-align: center; color: #f0d3bd; }
.sleep-state { inset: clamp(104px, 13vh, 132px) 0 auto; font: 700 28px Georgia, serif; }
.panel { position: fixed; z-index: 3; right: 18px; bottom: 18px; width: min(360px, calc(100% - 36px)); max-height: calc(100dvh - 36px); overflow-y: auto; padding: 12px; border: 1px solid #775849; border-radius: 20px; background: #2a1e19e8; backdrop-filter: blur(12px); box-shadow: 0 18px 50px #100a0770; }
.panel[data-super-care-active="true"] { border-color: #ffcf61; box-shadow: 0 18px 50px #100a0770, 0 0 0 1px #f05b9c66, 0 0 28px #43d8e044; }
.toolbar-summary { display: grid; gap: 10px; }
.toolbar-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.toolbar-actions button, .drawer-heading button { min-height: 38px; padding: 8px 10px; border: 1px solid #8e674f; border-radius: 11px; color: #fff5eb; background: #241711; font-weight: 700; cursor: pointer; }
.toolbar-actions button[aria-expanded="true"] { color: #35241d; border-color: #f1d7b8; background: #f1d7b8; }
.toolbar-drawer[data-toolbar-drawer], .gift-section[data-toolbar-drawer] { position: static; width: auto; max-height: none; overflow: visible; margin: 4px 0 0; padding: 12px 0 0; border: 0; border-top: 1px solid #6e4e3d; border-radius: 0; background: transparent; box-shadow: none; }
.drawer-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 12px; }
.drawer-heading .section-heading { flex: 1 1 auto; }
.drawer-heading h2 { margin: 0; font: 700 19px Georgia, serif; }
.drawer-heading button { min-height: 34px; padding: 6px 9px; font-size: 12px; }
.drawer-heading-actions { display: flex; align-items: flex-start; gap: 7px; }
.gift-help { position: relative; }
.gift-help > summary { display: grid; width: 34px; height: 34px; list-style: none; place-items: center; }
.gift-help > summary::-webkit-details-marker { display: none; }
.gift-help > p { width: 230px; margin: 8px 0 0; padding: 9px 10px; border: 1px solid #795b4c; border-radius: 10px; color: #f0d3bd; background: #201713; font-size: 12px; line-height: 1.35; }
.control-rail { position: fixed; z-index: 3; top: 112px; left: 18px; bottom: 18px; width: min(360px, calc(100% - 36px)); display: flex; flex-direction: column; gap: 12px; }
.control-rail .operator-drawer { flex: 1 1 auto; }
.operator-drawer { min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 18px; border: 1px solid #a87355; border-radius: 24px; background: #35231bea; backdrop-filter: blur(12px); box-shadow: 0 18px 50px #100a0770; }
.operator-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.operator-heading h2 { margin: 0; font: 700 22px Georgia, serif; }
.operator-kicker { margin: 0 0 3px; color: #d6a98f; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.operator-heading button, .operator-reopen { padding: 8px 10px; color: #fff5eb; border: 1px solid #8e674f; border-radius: 10px; background: #241711; cursor: pointer; }
.operator-state { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; margin: 16px 0 0; }
.operator-state div { min-width: 0; }
.operator-state dt { color: #c9a995; font-size: 11px; }
.operator-state dd { margin: 2px 0 0; overflow-wrap: anywhere; font-size: 13px; }
.operator-actions { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.operator-actions button, .operator-load-all { padding: 9px 8px; color: #35241d; border: 0; border-radius: 10px; background: #f1d7b8; cursor: pointer; }
.operator-actions button:disabled { cursor: wait; opacity: .55; }
.operator-feedback { min-height: 18px; margin: 10px 0 0; color: #f0c7ad; font-size: 13px; }
.operator-checkout { margin-top: 16px; padding-top: 14px; border-top: 1px solid #6e4e3d; }
.operator-checkout h3 { margin: 0; font-size: 14px; }
.operator-checkout p { margin: 5px 0 9px; color: #c9a995; font-size: 12px; }
.operator-checkout button { width: 100%; padding: 9px 8px; color: #35241d; border: 0; border-radius: 10px; background: #f1d7b8; cursor: pointer; }
.operator-checkout button:disabled { cursor: wait; opacity: .55; }
.operator-audit-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-top: 14px; }
.operator-audit-heading h3 { margin: 0; font-size: 14px; }
.operator-audit-heading span { color: #c9a995; font-size: 11px; }
.operator-audit { display: grid; gap: 7px; max-height: 180px; overflow: hidden; margin: 9px 0 0; padding-left: 22px; color: #e9d7ca; font-size: 12px; }
.operator-audit li { padding-left: 3px; }
.operator-load-all { width: 100%; margin-top: 10px; }
.operator-reopen { position: fixed; z-index: 4; left: 0; top: 40%; border-radius: 0 12px 12px 0; writing-mode: vertical-rl; }
.records, .care-menu { margin: 0; }
.records > summary, .care-menu > summary { min-height: 44px; padding: 11px 13px; border: 1px solid #8e674f; border-radius: 12px; color: #fff5eb; background: #241914c9; cursor: pointer; font-weight: 800; }
.records > summary:focus-visible, .care-menu > summary:focus-visible { outline: 3px solid #f4ac82; outline-offset: 3px; }
.day-results { display: grid; gap: 10px; margin: 10px 0 12px; }
.previous-day-result, .longest-day-result, .previous-day-compact { padding: 12px 14px; border: 1px solid #806151; border-radius: 14px; background: #241914c9; }
.day-results-prominent .previous-day-result { border-color: #d49a73; background: #3a251bd9; box-shadow: 0 8px 24px #100a0738; }
.day-result-label, .day-result-value { margin: 0; }
.day-result-label { color: #e0b294; font-size: 12px; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.day-result-value { margin-top: 4px; font: 700 18px Georgia, serif; }
.day-result-value span { margin-left: 6px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: 15px; font-variant-numeric: tabular-nums; }
.previous-day-compact summary { cursor: pointer; color: #f0d3bd; font-size: 13px; font-weight: 700; }
.previous-day-compact summary:focus-visible { outline: 3px solid #f4ac82; outline-offset: 4px; }
.day-summary-details { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 7px 12px; margin: 12px 0 0; }
.day-summary-details div { min-width: 0; }
.day-summary-details dt { color: #bd9f8c; font-size: 10px; text-transform: uppercase; }
.day-summary-details dd { margin: 2px 0 0; font-size: 12px; }
.day-timer { display: flex; align-items: baseline; gap: 6px; padding: 5px 8px; border: 1px solid #8e674f; border-radius: 999px; background: #201713b8; white-space: nowrap; }
.day-timer-label { color: #d8c3b4; font-size: 11px; }
.day-timer-label strong { color: #fff5eb; }
.day-timer-duration { font: 700 12px ui-monospace, SFMono-Regular, Menlo, monospace; font-variant-numeric: tabular-nums; }
.day-timer.current-day-record { border-width: 2px; border-color: #f1c36f; box-shadow: inset 0 0 0 1px #4f341f; }
.record-day { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin: -7px 0 13px; padding: 9px 11px; border: 1px solid #f1c36f; border-left-width: 6px; border-radius: 12px; color: #fff5dd; background: #4b301c; }
.record-day p { margin: 0; }
.record-day-badge { font-size: 12px; font-weight: 900; letter-spacing: .08em; }
.record-day-badge span { margin-right: 5px; }
.record-day-lead { color: #f4d7ad; font-size: 12px; text-align: right; }
.record-day-lead span { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 800; font-variant-numeric: tabular-nums; }
.record-time { margin: -7px 0 13px; color: #e9cbbb; font-size: 12px; text-align: center; }
.record-time span { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 800; font-variant-numeric: tabular-nums; }
.record-encouragement { margin: 12px 0 -8px; color: #ffe1aa; font-size: 13px; font-weight: 800; text-align: center; }
.record-celebration { position: absolute; z-index: 5; top: 16px; left: 50%; display: flex; align-items: center; gap: 10px; padding: 11px 16px; border: 2px solid #fff0bf; border-radius: 999px; color: #2d1b10; background: #f4c967; box-shadow: 0 10px 30px #120b076b; pointer-events: none; transform: translateX(-50%); }
.record-celebration-animated { animation: record-crossing 2.5s ease-out both; }
.record-celebration-static { outline: 3px solid #6d4728; outline-offset: 3px; }
@keyframes record-crossing { 0% { opacity: 0; transform: translate(-50%, 18px) scale(.82); } 18%, 76% { opacity: 1; transform: translate(-50%, 0) scale(1); } 100% { opacity: 0; transform: translate(-50%, -8px) scale(.96); } }
.visually-hidden { position: absolute !important; width: 1px !important; height: 1px !important; padding: 0 !important; margin: -1px !important; overflow: hidden !important; clip: rect(0, 0, 0, 0) !important; white-space: nowrap !important; border: 0 !important; }
.about-link { padding: 6px 8px; border: 1px solid var(--color-border); border-radius: 999px; color: var(--color-text); background: var(--color-surface); font-size: 12px; font-weight: 700; text-decoration: none; }
.about-link:hover { background: var(--color-surface-soft); }
.about-link:focus-visible, .info-page a:focus-visible, .info-page summary:focus-visible { outline: 3px solid var(--color-teal); outline-offset: 3px; }
.info-page { height: auto; min-height: 100dvh; overflow: auto; color: var(--color-text); background: radial-gradient(circle at 88% 4%, #bfd0c7 0, transparent 25rem), radial-gradient(circle at 4% 20%, #c9b8d6 0, transparent 30rem), var(--color-canvas); }
.info-main { width: min(100% - 36px, 960px); margin: 0 auto; }
.info-header { position: static; display: flex; align-items: center; justify-content: space-between; width: auto; padding: 22px 0; }
.info-brand { color: var(--color-ink); font: 700 28px Georgia, serif; letter-spacing: -.03em; text-decoration: none; }
.info-play-link, .info-primary-action { display: inline-block; border-radius: 999px; color: var(--color-ink); background: var(--color-mango); font-weight: 800; text-decoration: none; }
.info-play-link { padding: 10px 14px; font-size: 14px; }
.info-hero { max-width: 710px; padding: clamp(56px, 12vw, 120px) 0 clamp(52px, 9vw, 88px); }
.info-kicker { margin: 0 0 16px; color: var(--color-text-muted); font-size: 15px; font-weight: 700; }
.info-hero h1, .info-section h2 { color: var(--color-ink); font-family: Georgia, serif; letter-spacing: -.035em; }
.info-hero h1 { max-width: 640px; margin: 0; font-size: clamp(48px, 9vw, 92px); line-height: .95; }
.info-lead { max-width: 630px; margin: 25px 0 28px; font-size: clamp(19px, 3vw, 25px); line-height: 1.45; }
.info-primary-action { padding: 14px 19px; }
.info-section { max-width: 760px; margin: 0 auto; padding: clamp(38px, 7vw, 68px) 0; border-top: 1px solid var(--color-border-soft); }
.info-section h2 { margin: 0 0 20px; font-size: clamp(30px, 5vw, 47px); line-height: 1.05; }
.info-section p, .info-steps { max-width: 700px; font-size: 17px; line-height: 1.6; }
.info-steps { display: grid; gap: 18px; margin: 0; padding: 0; list-style-position: inside; }
.info-steps li { padding-bottom: 15px; border-bottom: 1px solid var(--color-border-soft); }
.info-steps strong { color: var(--color-ink); }
.info-section-highlight { max-width: none; padding-right: clamp(24px, 7vw, 72px); padding-left: clamp(24px, 7vw, 72px); border: 1px solid #c2a85f; border-radius: 24px; background: #e8dbb4; }
.info-section-highlight p { margin-bottom: 0; }
.info-questions { display: grid; gap: 10px; }
.info-questions details { padding: 17px 19px; border: 1px solid var(--color-border-soft); border-radius: 14px; background: var(--color-surface); }
.info-questions summary { cursor: pointer; color: var(--color-ink); font-weight: 800; }
.info-questions p { margin: 13px 0 0; font-size: 16px; }
.info-footer { display: flex; align-items: center; justify-content: space-between; gap: 18px; padding: 36px 0 48px; color: var(--color-text-muted); }
.info-footer p { margin: 0; }
.info-footer a { color: var(--color-ink); font-weight: 800; }
.meters { display: grid; grid-template-columns: repeat(3, 1fr); gap: 9px; }
.meter-label { display: flex; justify-content: space-between; margin-bottom: 5px; font-size: 11px; }
.meter-track { height: 13px; overflow: hidden; border-radius: 999px; background: #5b463b; }
.meter-fill { height: 100%; border-radius: inherit; transition: width 450ms ease; }
.hunger .meter-fill { background: #61a9e8; }
.thirst .meter-fill { background: #69b985; }
.loneliness .meter-fill { background: #a878d1; }
.panel[data-super-care-active="true"] .hunger .meter-fill { background: #42d7f5; }
.panel[data-super-care-active="true"] .thirst .meter-fill { background: #b8ec4e; }
.panel[data-super-care-active="true"] .loneliness .meter-fill { background: #fa6db0; }
.meter.warn-soft .meter-track { animation: warning 1.4s infinite; }
.meter.warn-hard .meter-track { animation: warning .55s infinite; }
@keyframes warning { 50% { box-shadow: 0 0 0 4px #ef704b80; } }
.cares { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 17px; }
.cares button { display: flex; min-height: 44px; align-items: center; justify-content: center; gap: 7px; padding: 8px 10px; color: #35241d; background: #f1d7b8; border: 0; border-radius: 14px; cursor: pointer; }
.care-icon { width: 28px; height: 28px; flex: 0 0 auto; object-fit: contain; }
.cares button:hover { background: #ffe6c6; transform: translateY(-1px); }
.cares button:disabled { color: #b9a99f; background: #5b4a42; cursor: not-allowed; transform: none; }
.cares button:disabled .care-icon { filter: grayscale(.75); opacity: .55; }
.care-section, .gift-section { margin: 0; padding: 0; border: 0; }
.care-menu { margin-top: 10px; }
.super-care-banner { position: relative; display: grid; grid-template-columns: auto minmax(0, 1fr) auto; align-items: center; gap: 9px; margin: 0 0 14px; padding: 10px 12px; overflow: hidden; border: 1px solid #ffe39a; border-radius: 14px; color: #2d1b10; background: #fff1bf; box-shadow: inset 0 0 0 1px #ffffff8c; }
.super-care-banner::before, .super-care-banner::after { position: absolute; width: 72px; height: 72px; border-radius: 50%; content: ""; opacity: .85; pointer-events: none; }
.super-care-banner::before { top: -54px; left: -12px; border: 8px solid #42d7f5; border-right-color: #b8ec4e; border-bottom-color: #fa6db0; transform: rotate(-32deg); }
.super-care-banner::after { right: -38px; bottom: -58px; border: 8px solid #fa6db0; border-top-color: #ffcf61; border-left-color: #42d7f5; transform: rotate(25deg); }
.super-care-banner > * { position: relative; z-index: 1; }
.super-care-banner-mark { display: grid; width: 28px; height: 28px; place-items: center; border-radius: 50%; color: #fffaf0; background: #e84f92; box-shadow: 0 0 0 3px #42d7f5, 0 0 0 6px #b8ec4e; font-size: 16px; }
.super-care-banner strong, .super-care-banner span { display: block; }
.super-care-banner strong { font: 700 16px Georgia, serif; }
.super-care-banner div span { margin-top: 1px; font-size: 11px; }
.super-care-banner time { font: 800 14px ui-monospace, SFMono-Regular, Menlo, monospace; font-variant-numeric: tabular-nums; }
.section-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
.section-heading h2, .section-heading p { margin: 0; }
.section-heading h2 { font: 700 18px Georgia, serif; }
.section-heading p { color: #c9a995; font-size: 12px; }
[data-care-cooldown], [data-care-sleep], .gift-section > p { margin: 10px 0 0; color: #d8c3b4; font-size: 13px; }
[data-care-cooldown-time] { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-variant-numeric: tabular-nums; }
[data-invite], [data-wake], [data-gift] { min-height: 44px; margin-top: 10px; padding: 11px 14px; border: 1px solid #d49a73; border-radius: 12px; color: #fff5eb; background: #4b3025; cursor: pointer; }
[data-wake], [data-gift] { display: flex; width: 100%; justify-content: space-between; color: #35241d; border: 0; background: #f1d7b8; font-weight: 800; }
[data-gift]:disabled { color: #b9a99f; background: #5b4a42; cursor: not-allowed; }
[data-invite]:focus-visible, [data-wake]:focus-visible, [data-gift]:focus-visible { outline: 3px solid #f4ac82; outline-offset: 3px; }
.gift-acknowledgments { display: grid; gap: 6px; margin: 12px 0 0; padding-left: 22px; color: #e9d7ca; font-size: 13px; }
.gift-acknowledgments li:nth-child(n + 4) { display: none; }
.operator-gifts { margin-top: 16px; padding-top: 14px; border-top: 1px solid #6e4e3d; }
.operator-gifts h3 { margin: 0; font-size: 14px; }
.operator-gifts ol { display: grid; gap: 7px; padding-left: 22px; font-size: 12px; }
.operator-gifts button { margin-top: 5px; padding: 6px 8px; border: 1px solid #8e674f; border-radius: 8px; color: #fff5eb; background: #241711; cursor: pointer; }
.warning, .feedback, .terms { margin: 11px 0 0; min-height: 18px; text-align: center; color: #e9cbbb; font-size: 13px; }
.warning { color: #ff9b79; font-weight: 700; }
.terms { color: #bfa89a; }
[hidden] { display: none !important; }
@media (max-width: 560px) {
  body, body.operator-page { height: 100dvh; min-height: 0; overflow: hidden; }
  #nest, .operator-page #nest { height: 100dvh; min-height: 0; overflow: hidden; grid-template-rows: minmax(0, 1fr); }
  .public-page #nest { grid-template-rows: minmax(0, 1fr) auto; row-gap: 12px; padding-bottom: max(8px, env(safe-area-inset-bottom)); }
  .look-shell { overflow: hidden; grid-row: 1 / 2; }
  #look { position: absolute; top: 5%; left: -5%; width: 110%; height: 110%; }
  header { align-items: center; gap: 10px; padding: 12px; }
  #nest header > div:first-child { padding: 7px 9px; border-radius: 12px; }
  header > div:first-child { min-width: 0; }
  .brand { position: relative; }
  .brand-details { display: none; }
  .brand:hover .brand-details, .brand:focus-within .brand-details { position: absolute; left: 0; display: grid; width: min(270px, calc(100vw - 24px)); gap: 5px; margin-top: 8px; padding: 10px 12px; border: 1px solid #795b4c; border-radius: 12px; color: #f0d3bd; background: #201713ed; box-shadow: 0 12px 30px #100a0770; }
  .brand-details p { margin: 0; font-size: 12px; line-height: 1.35; }
  .brand-title { gap: 7px; }
  h1 { font-size: 32px; }
  .viewers { padding: 6px 8px; font-size: 11px; }
  .help-button { width: 34px; height: 34px; }
  .help-dialog { padding: 20px; border-radius: 20px; }
  .gift-checkout-dialog { padding: 20px; border-radius: 20px; }
  .sleep-state { inset: 82px 0 auto; font-size: 23px; }
  .public-page .panel { position: relative; right: auto; bottom: auto; grid-row: 2; grid-column: 1; width: calc(100% - 20px); max-height: none; overflow: visible; margin: 0 auto; padding: 9px; border-radius: 16px; }
  .operator-page .panel { position: relative; right: auto; bottom: auto; grid-row: 2; grid-column: 1; width: calc(100% - 28px); max-height: none; margin: 0 auto 12px; padding: 14px; border-radius: 20px; }
  .control-rail { position: relative; top: auto; left: auto; bottom: auto; grid-row: 2; grid-column: 1; width: calc(100% - 28px); margin: 0 auto 12px; }
  .operator-page .panel { grid-row: 3; }
  .operator-drawer { max-height: none; padding: 14px; border-radius: 20px; }
  .public-page .super-care-banner { margin-bottom: 0; padding: 7px 9px; border-radius: 11px; }
  .public-page .super-care-banner-mark { width: 22px; height: 22px; box-shadow: 0 0 0 2px #42d7f5, 0 0 0 4px #b8ec4e; font-size: 13px; }
  .public-page .super-care-banner strong { font-size: 13px; }
  .public-page .super-care-banner div span { display: none; }
  .public-page .super-care-banner time { font-size: 12px; }
  .toolbar-summary { gap: 8px; }
  .toolbar-actions { gap: 6px; }
  .toolbar-actions button { min-height: 36px; padding: 7px 9px; }
  .meter-label { margin-bottom: 3px; font-size: 10px; }
  .meter-track { height: 9px; }
  .warning:empty, .feedback:empty { display: none; }
  .warning, .feedback { min-height: 0; margin-top: 0; font-size: 11px; }
  .public-page .feedback:not(:empty) { position: absolute; z-index: 1; bottom: calc(100% + 12px); left: 50%; width: max-content; max-width: calc(100vw - 24px); padding: 6px 10px; border: 1px solid #775849; border-radius: 999px; background: #2a1e19f2; box-shadow: 0 8px 24px #100a0770; transform: translateX(-50%); }
  [data-wake] { min-height: 40px; margin-top: 0; padding: 9px 12px; }
  .drawer-heading { margin-bottom: 9px; }
  .drawer-heading h2, .drawer-heading .section-heading h2 { font-size: 17px; }
  .gift-help > p { position: absolute; z-index: 1; top: 36px; right: 0; }
  .care-menu { margin-top: 0; }
  .cares { margin-top: 0; }
  .operator-page .control-rail { position: fixed; z-index: 4; top: 76px; right: 14px; bottom: 14px; left: 14px; display: flex; width: auto; margin: 0; pointer-events: none; }
  .operator-page .operator-drawer { width: 100%; overflow-y: auto; pointer-events: auto; }
  .record-day { align-items: flex-start; flex-direction: column; gap: 4px; }
  .record-day-lead { text-align: left; }
  .day-summary-details { gap: 6px 9px; }
  .cares { gap: 7px; }
  .cares button { padding: 9px 6px; font-size: 12px; }
  .care-icon { width: 23px; height: 23px; }
  .gift-acknowledgments { margin-top: 9px; font-size: 12px; }
  .about-link { padding: 5px 7px; font-size: 11px; }
  .info-main { width: min(100% - 28px, 960px); }
  .info-header { padding: 17px 0; }
  .info-brand { font-size: 24px; }
  .info-play-link { padding: 9px 11px; font-size: 12px; }
  .info-hero { padding-top: 64px; }
  .info-footer { align-items: flex-start; flex-direction: column; padding-top: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  .record-celebration-animated { animation: none; }
}
