@font-face{font-family:IvoryHomeUI;src:url('/assets/ivory-interface.otf') format('opentype');font-display:swap}
body:has(.ivory-motion-home-layout){background:#fffdf8}
.calm-home-screen:has(.ivory-motion-home-layout){position:relative;display:grid;place-items:center;width:100%;height:100%;overflow:hidden;background:#fffdf8;color:#2d2c29;container-type:size}
.player-home-shell:has(.ivory-motion-home-layout){background:#fffdf8}
.ivory-motion-home-layout{position:relative;width:min(100cqw,56.25cqh);height:100cqh;max-height:177.778cqw;container-type:inline-size;overflow:hidden;isolation:isolate;background:#fffdf8;font-family:IvoryHomeUI,'PingFang SC',sans-serif;user-select:none;-webkit-user-select:none}
.ivory-motion-home-layout *{box-sizing:border-box}
.ivory-motion-home-layout button{border:0;padding:0;background:none;color:inherit;font:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation}
.ivory-motion-home-layout button:disabled{cursor:default;opacity:1}
.ivory-motion-home-layout button:focus-visible,.ivory-home-level [role=slider]:focus-visible{outline:2px solid #bd8d25;outline-offset:4px}
.ivory-motion-home-layout svg{display:block;width:100%;height:100%;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.ivory-home-defs{position:absolute;width:0!important;height:0!important;overflow:hidden}
.ivory-home-top{position:absolute;top:max(2.5%,env(safe-area-inset-top));left:4%;right:4%;display:flex;justify-content:space-between;align-items:center;z-index:3}
.ivory-home-energy{display:flex;align-items:center;gap:1.1cqw;padding:1.1cqw 2.6cqw;border-radius:10cqw;background:#f5f2eb;font-size:3.55cqw;font-weight:600;height:7.4cqw;line-height:1;font-variant-numeric:tabular-nums;white-space:nowrap}
.ivory-home-energy svg{width:3.7cqw;height:5.3cqw;fill:#ffca43;stroke:none;flex:none}
.ivory-home-energy time{font-size:2.8cqw;color:#8b8170}
.ivory-home-energy button{width:5cqw;height:5cqw;border-radius:50%;background:#ebe2d0;font-size:4cqw;line-height:1}
.ivory-home-settings{width:7.8cqw;height:7.8cqw;padding:.9cqw!important;min-width:32px;min-height:32px}
.ivory-home-settings svg{stroke-width:2}
.ivory-home-title{position:absolute;top:14.3%;left:12%;width:76%;margin:0;line-height:0;z-index:2}
.ivory-home-title img{display:block;width:100%;height:auto;filter:url('#ivory-title-warm-shadow') drop-shadow(.35cqw 1cqw .8cqw rgba(104,85,63,.13));pointer-events:none}
.ivory-motion-home-layout .ivory-home-grid{position:absolute;top:28.8%;left:0;width:100%;height:41%;pointer-events:none}
.ivory-home-hero{position:absolute;top:35.3%;left:28%;width:44%;aspect-ratio:1;z-index:1}
.ivory-home-egg-shadow{position:absolute;left:24%;top:99%;width:52%;height:10%;border-radius:50%;background:radial-gradient(ellipse,rgba(130,103,57,.22),rgba(130,103,57,0) 72%);filter:blur(1.7cqw);will-change:transform,opacity}
.ivory-home-egg-touch{display:block;width:100%;height:100%;position:relative}
.ivory-home-egg-body{width:100%;height:100%;transform-origin:50% 72%;will-change:transform}
.ivory-home-egg-body img{display:block;width:100%;height:100%;pointer-events:none}
.ivory-home-face{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}
.ivory-home-shortcuts{position:absolute;inset:0;pointer-events:none}
.ivory-shortcut{position:absolute;width:22%;height:10%;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:1.7cqw;font-size:3.45cqw;white-space:nowrap;pointer-events:auto;transition:transform .3s cubic-bezier(.45,0,.25,1),opacity .3s}
.ivory-shortcut svg{width:6.7cqw;height:6.7cqw;stroke-width:1.8}
.ivory-shortcut:active:not(:disabled){transform:scale(.94);opacity:.7}
.ivory-shortcut.rank,.ivory-shortcut.album{top:81.3%}
.ivory-shortcut.rank{left:2%}
.ivory-shortcut.album{right:2%}
.ivory-home-level{position:absolute;top:74.9%;left:28.5%;width:43%;height:5%;display:flex;align-items:center;justify-content:space-between;gap:1cqw;font-size:4.65cqw;font-weight:600;white-space:nowrap}
.ivory-home-level button{width:6cqw;min-height:44px;padding:1cqw!important;display:grid;place-items:center}
.ivory-home-level button:disabled{opacity:.34}
.ivory-home-level svg{height:4.1cqw;stroke-width:2.4}
.ivory-home-level button:last-child svg{transform:rotate(180deg)}
.ivory-home-level [role=slider]{cursor:ew-resize;touch-action:none}
.ivory-home-start-wrap{position:absolute;top:81.65%;left:26.5%;width:47%;height:8.2%;animation:ivory-home-breathe 2s ease-in-out infinite;will-change:transform}
.ivory-home-start{width:100%;height:100%;border-radius:5cqw!important;background:linear-gradient(105deg,#ffd257,#ffda67)!important;font-size:5.3cqw!important;font-weight:600!important;display:flex;align-items:center;justify-content:center;gap:2.9cqw;box-shadow:0 4px 14px -10px #b4862430;transition:transform .5s cubic-bezier(.16,1,.3,1)}
.ivory-home-start svg{width:5.5cqw;height:5.5cqw;fill:currentColor;stroke:none}
.ivory-home-start:active:not(:disabled){transform:scale(.966)}
.ivory-home-start:disabled{opacity:.5!important}
@keyframes ivory-home-breathe{0%,100%{transform:scale(1)}50%{transform:scale(1.085)}}
@media(max-aspect-ratio:9/16){.ivory-motion-home-layout{width:100cqw;max-height:none}.ivory-home-hero{top:37%}.ivory-home-title{top:15.5%}.ivory-home-start-wrap{height:7.3%}}
@media(prefers-reduced-motion:reduce){.ivory-home-start-wrap{animation:none}.ivory-motion-home-layout *{transition:none!important}}

@font-face {
  font-family: 'Egg Settings';
  src: url('data:font/woff2;base64,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') format('woff2');
  font-weight: 400;
  font-display: swap;
}

.porcelain-settings {
  --settings-ink: #202020;
  --settings-cream: linear-gradient(145deg, #fffefa, #f7f6f1 65%, #eae8e1);
  box-sizing: border-box;
  position: fixed;
  inset: 0;
  width: min(296px, calc(100vw - 40px));
  max-width: none;
  max-height: calc(100dvh - 32px);
  margin: auto;
  padding: 20px 16px 16px;
  overflow: auto;
  overscroll-behavior: contain;
  color: var(--settings-ink);
  background: var(--settings-cream);
  border: 1px solid #fffef8;
  border-radius: 28px;
  box-shadow: inset 0 2px 2px #fff, inset 0 -2px 3px #aba9a366, 0 3px 0 #c6c3bc, 0 12px 22px #20202030;
  font: 400 18px/1.25 'Egg Settings', 'PingFang SC', 'Microsoft YaHei', sans-serif;
  user-select: none;
  -webkit-user-select: none;
}
.porcelain-settings[open] { animation: porcelain-settings-enter 180ms ease-out both; }
.porcelain-settings::backdrop { background: rgb(0 0 0 / 18%); }
.porcelain-settings button { appearance: none; font: inherit; cursor: pointer; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.porcelain-settings button:focus-visible { outline: 2px solid #202020; outline-offset: 4px; }
.porcelain-settings-header { position: relative; padding: 0 37px; text-align: center; }
.porcelain-settings-header h2 { margin: 0; font: inherit; font-size: 24px; line-height: 30px; white-space: nowrap; letter-spacing: -.03em; }
.porcelain-settings-header h2:focus { outline: none; }
.porcelain-settings-uid { margin: 2px -20px 12px; font: 600 11px/14px ui-rounded, 'SF Pro Rounded', system-ui, sans-serif; letter-spacing: .035em; color: #888680; }
.porcelain-settings-uid span { margin-left: 3px; }
.porcelain-settings-close { position: absolute; right: -6px; top: -12px; width: 44px; height: 44px; padding: 12px; border: 0; border-radius: 50%; color: var(--settings-ink); background: transparent; isolation: isolate; }
.porcelain-settings-close::before { content: ''; position: absolute; inset: 5px; z-index: -1; border-radius: 50%; background: var(--settings-cream); box-shadow: inset 0 1px 1px #fff, 0 3px 6px #85837c3d; }
.porcelain-settings-close svg { display: block; width: 100%; height: 100%; fill: none; stroke: currentColor; stroke-width: 3; stroke-linecap: round; }
.porcelain-settings-options { display: grid; gap: 9px; }
.porcelain-settings-restore { display: block; min-height: 36px; margin: 8px auto -5px; padding: 6px 16px; border: 0; background: transparent; color: #202020; font-size: 13px !important; }
.porcelain-setting-row { display: flex; align-items: center; gap: 14px; width: 100%; min-height: 46px; padding: 8px 15px; border: 1px solid #e2e0d9; border-radius: 17px; color: var(--settings-ink); background: linear-gradient(140deg, #fffefa, #f1f0eb); box-shadow: inset 0 1px 1px #fff, 0 3px 6px #94918a26; }
.porcelain-setting-icon { display: block; width: 27px; height: 27px; flex: 0 0 auto; color: #202020; }
.porcelain-setting-icon svg { display: block; width: 100%; height: 100%; }
.porcelain-setting-label { font-size: 19px; }
.porcelain-setting-switch { position: relative; width: 53px; height: 28px; margin-left: auto; border-radius: 20px; flex: 0 0 auto; background: #c9c7c1; box-shadow: inset 0 1px 3px #38383835, 0 1px 0 #fff; transition: background 180ms ease; }
.porcelain-setting-switch > span { position: absolute; top: 2px; left: 2px; width: 24px; height: 24px; border-radius: 50%; background: var(--settings-cream); box-shadow: inset 0 1px 1px #fff, 0 2px 3px #62605b55; transition: transform 180ms cubic-bezier(.2,.7,.3,1); }
.porcelain-setting-row[aria-checked='true'] .porcelain-setting-switch { background: #202020; }
.porcelain-setting-row[aria-checked='true'] .porcelain-setting-switch > span { transform: translateX(25px); }
.porcelain-settings-footer { margin-top: 13px; padding-top: 10px; border-top: 1px solid #d5d2ca; box-shadow: inset 0 1px 0 #fff9; }
.porcelain-settings-home { display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; min-height: 44px; padding: 9px 16px; border: 0; border-radius: 24px; color: #fdfcf5; background: linear-gradient(155deg, #363636, #202020); box-shadow: inset 0 1px 1px #7777778c, inset 0 -1px 2px #14141480, 0 2px 3px #30303030; font-size: 19px !important; }
.porcelain-settings-home svg { width: 21px; height: 21px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.porcelain-settings button:active { transform: translateY(1px); }
@keyframes porcelain-settings-enter { from { opacity: 0; transform: translateY(6px) scale(.97); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .porcelain-settings[open] { animation: none; } .porcelain-setting-switch, .porcelain-setting-switch > span { transition: none; } }

.leaderboard-overlay {
  position: absolute;
  z-index: 20;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 20px 16px;
  background: rgba(18, 35, 41, 0.68);
  animation: leaderboard-overlay-in 160ms ease-out both;
}

.leaderboard-dialog {
  --leaderboard-cream: #f7f0e4;
  --leaderboard-ink: #203842;
  --leaderboard-line: rgba(42, 74, 83, 0.16);
  display: grid;
  grid-template-rows: 60px minmax(0, 1fr);
  width: min(100%, 380px);
  max-height: min(720px, calc(100dvh - 40px));
  overflow: hidden;
  border: 2px solid #355761;
  border-radius: 16px;
  color: var(--leaderboard-ink);
  background: var(--leaderboard-cream);
  box-shadow:
    0 6px 0 rgba(25, 52, 60, 0.82),
    0 20px 42px rgba(15, 33, 39, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.82);
  animation: leaderboard-dialog-in 220ms cubic-bezier(0.2, 0.86, 0.28, 1.08) both;
}

.leaderboard-dialog > header {
  position: relative;
  display: grid;
  place-items: center;
}

.leaderboard-dialog h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0.1em;
  line-height: 1;
}

.leaderboard-close {
  position: absolute;
  top: 13px;
  right: 14px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--leaderboard-ink);
  background: transparent;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.leaderboard-close svg {
  width: 27px;
  height: 27px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.1;
  stroke-linecap: round;
}

.leaderboard-close:focus-visible {
  outline: 2px solid #4e7781;
  outline-offset: 2px;
}

.leaderboard-table {
  display: grid;
  grid-template-rows: 38px minmax(0, 1fr) auto;
  min-height: 250px;
  margin: 0 10px 12px;
  overflow: hidden;
  border-top: 1px solid rgba(42, 74, 83, 0.22);
}

.leaderboard-columns,
.leaderboard-rows > li,
.leaderboard-current-player {
  display: grid;
  grid-template-columns: 34px minmax(66px, 1fr) 54px 44px 64px;
  align-items: center;
  column-gap: 3px;
}

.leaderboard-columns {
  position: relative;
  z-index: 1;
  height: 38px;
  padding: 0 5px;
  border-bottom: 1px solid var(--leaderboard-line);
  background: var(--leaderboard-cream);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-align: center;
}

.leaderboard-columns span:nth-child(2) { text-align: left; }

.leaderboard-scroll {
  min-height: 0;
  overflow-x: hidden;
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: thin;
  scrollbar-color: rgba(58, 88, 96, 0.28) transparent;
}

.leaderboard-scroll::-webkit-scrollbar { width: 4px; }
.leaderboard-scroll::-webkit-scrollbar-thumb {
  border-radius: 2px;
  background: rgba(58, 88, 96, 0.28);
}

.leaderboard-rows {
  margin: 0;
  padding: 0;
  list-style: none;
}

.leaderboard-rows > li {
  min-height: 42px;
  padding: 0 5px;
  border-bottom: 1px solid var(--leaderboard-line);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.leaderboard-current-player {
  min-height: 46px;
  margin-top: 5px;
  padding: 0 5px;
  border-top: 2px solid rgba(42, 74, 83, 0.25);
  background: rgba(106, 157, 164, 0.17);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}

.leaderboard-rows > li:nth-child(even) { background: rgba(112, 143, 150, 0.055); }
.leaderboard-rows > li.is-current-player { background: rgba(106, 157, 164, 0.17); }

.leaderboard-rows strong,
.leaderboard-current-player strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.15;
  text-overflow: ellipsis;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.leaderboard-rank {
  display: grid;
  place-items: center;
  justify-self: center;
  width: 27px;
  height: 27px;
  font-size: 14px;
  font-weight: 900;
}

.leaderboard-rank.is-medal {
  position: relative;
  width: 31px;
  height: 35px;
  color: var(--medal-ink);
  font-family: ui-rounded, 'SF Pro Rounded', system-ui, sans-serif;
}

.leaderboard-medal { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.leaderboard-medal-ribbon { fill: var(--medal-ribbon); }
.leaderboard-medal-edge { fill: var(--medal-edge); }
.leaderboard-medal-face { fill: var(--medal-face); stroke: var(--medal-ring); stroke-width: 1; }
.leaderboard-medal-shine { fill: none; stroke: #fff; stroke-width: 1.4; stroke-linecap: round; opacity: .7; }
.leaderboard-rank.is-medal .leaderboard-rank-number { position: relative; top: -1.5px; font-size: 14px; line-height: 1; }

.leaderboard-rank.is-rank-1 {
  --medal-face: #f5d980;
  --medal-edge: #d8ad4f;
  --medal-ring: #b88c38;
  --medal-ribbon: #b79753;
  --medal-ink: #72521f;
}
.leaderboard-rank.is-rank-2 {
  --medal-face: #e2eaeb;
  --medal-edge: #aebfc3;
  --medal-ring: #8b9ea5;
  --medal-ribbon: #869da5;
  --medal-ink: #51666e;
}
.leaderboard-rank.is-rank-3 {
  --medal-face: #eec09b;
  --medal-edge: #c89169;
  --medal-ring: #a8734f;
  --medal-ribbon: #a97d60;
  --medal-ink: #754d31;
}

.leaderboard-unranked {
  color: #5f777c;
  font-size: 10px;
  font-weight: 900;
  text-align: center;
  white-space: nowrap;
}

.leaderboard-uid,
.leaderboard-clear-count,
.leaderboard-rows time,
.leaderboard-current-player time {
  color: #314b54;
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: -0.015em;
  text-align: center;
  white-space: nowrap;
}

.leaderboard-clear-count {
  font-size: 13px;
  font-weight: 900;
}

.leaderboard-empty {
  display: grid;
  place-items: center;
  min-height: 250px;
  color: #84989b;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

@keyframes leaderboard-overlay-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes leaderboard-dialog-in {
  from { opacity: 0; transform: translateY(10px) scale(0.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-height: 720px) {
  .leaderboard-overlay { padding-block: 12px; }
  .leaderboard-dialog { grid-template-rows: 52px minmax(0, 1fr); }
  .leaderboard-dialog h2 { font-size: 25px; }
  .leaderboard-close { top: 8px; }
  .leaderboard-columns { height: 34px; }
  .leaderboard-table { grid-template-rows: 34px minmax(0, 1fr) auto; }
  .leaderboard-rows > li { min-height: 36px; }
  .leaderboard-current-player { min-height: 40px; }
  .leaderboard-rank { width: 24px; height: 24px; font-size: 13px; }
  .leaderboard-rank.is-medal { width: 28px; height: 32px; }
  .leaderboard-rank.is-medal .leaderboard-rank-number { font-size: 13px; }
}

@media (max-width: 350px) {
  .leaderboard-overlay { padding-inline: 9px; }
  .leaderboard-dialog { border-radius: 14px; }
  .leaderboard-dialog h2 { font-size: 25px; }
  .leaderboard-table { margin-inline: 6px; }
  .leaderboard-columns,
  .leaderboard-rows > li,
  .leaderboard-current-player {
    grid-template-columns: 31px minmax(58px, 1fr) 49px 38px 58px;
    column-gap: 2px;
  }
  .leaderboard-columns,
  .leaderboard-rows > li,
  .leaderboard-current-player { padding-inline: 3px; }
  .leaderboard-columns { font-size: 10px; }
  .leaderboard-uid,
  .leaderboard-clear-count,
  .leaderboard-rows time,
  .leaderboard-current-player time { font-size: 10px; }
}

@media (prefers-reduced-motion: reduce) {
  .leaderboard-overlay,
  .leaderboard-dialog { animation: none; }
}

.bounce-challenge{position:relative;width:100%;height:100%;overflow:hidden;isolation:isolate;color:#fffdf8;background:#5b778d;font-family:IvoryHomeUI,'PingFang SC',sans-serif;touch-action:none}
.bounce-challenge-canvas,.bounce-challenge-canvas .canvas-shell,.bounce-challenge-canvas .level-canvas{position:absolute;inset:0;width:100%;height:100%;min-height:0}
.bounce-challenge-canvas .canvas-shell{overflow:hidden;border:0;border-radius:0;box-shadow:none}.bounce-challenge-canvas .canvas-ruler{display:none}
.bounce-challenge-header{position:absolute;z-index:2;top:max(18px,env(safe-area-inset-top));left:5%;right:5%;display:flex;align-items:center;justify-content:space-between}
.bounce-challenge-header strong{padding:8px 18px;border-radius:18px;background:#fffdf8e8;color:#3f3b31;font-size:clamp(22px,6vw,31px);font-weight:600;font-variant-numeric:tabular-nums}
.bounce-challenge button{cursor:pointer;border:0;color:#40392b;background:#fffdf8;font:inherit;-webkit-tap-highlight-color:transparent}
.bounce-challenge button:focus-visible{outline:3px solid #e8bb4f;outline-offset:3px}
.bounce-challenge-header button{width:46px;height:46px;border-radius:50%;font-size:42px;line-height:30px}
.bounce-challenge-controls{position:absolute;z-index:2;left:7%;right:7%;bottom:max(6%,env(safe-area-inset-bottom));display:flex;justify-content:space-between}
.bounce-challenge-controls button{display:grid;place-items:center;width:clamp(74px,24vw,104px);height:clamp(74px,24vw,104px);border-radius:50%;background:#fffdf8d9;font-size:70px;line-height:1;user-select:none;touch-action:none}
.bounce-challenge-controls button:active{transform:scale(.94);background:#f2e3b7}
.bounce-challenge-result{position:absolute;z-index:3;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:18px;background:#fffdf8df;backdrop-filter:blur(9px)}
.bounce-challenge-result strong{margin-bottom:12px;color:#3f3b31;font-size:clamp(44px,13vw,70px);font-variant-numeric:tabular-nums}
.bounce-challenge-result button{min-width:180px;min-height:54px;padding:10px 24px;border-radius:16px;background:#f2e3b7;font-size:21px;font-weight:600}
.bounce-challenge-result button:last-child{background:#f4f0e7}

body:has(.merge-challenge),.player-home-shell:has(.merge-challenge){background:#fffdf8}
.merge-challenge{position:relative;display:flex;flex-direction:column;align-items:center;width:100%;height:100%;overflow:hidden;background:#fffdf8;color:#3b362b;font-family:IvoryHomeUI,'PingFang SC',sans-serif;touch-action:none}
.merge-header{position:relative;z-index:2;display:grid;grid-template-columns:48px 1fr 72px;align-items:center;gap:10px;width:min(100%,430px);min-height:74px;padding:12px 16px;padding-top:max(12px,env(safe-area-inset-top));text-align:center}
.merge-header strong{font-size:24px;font-weight:600}.merge-header span{font-size:19px;font-variant-numeric:tabular-nums;text-align:right}
.merge-header button{display:grid;place-items:center;width:42px;height:42px;padding:0;border:0;border-radius:50%;background:#f6f2e9;color:#4b4437;font:38px/1 IvoryHomeUI,sans-serif;cursor:pointer}
.merge-board{width:min(calc(100vw - 24px),calc((100dvh - 100px)*.607),410px);aspect-ratio:340/560;max-height:calc(100dvh - 95px);overflow:hidden;border:1px solid #e7e0d3;border-radius:18px;background:#f9f6ef;box-shadow:0 10px 36px #564e3b1c}
.merge-board canvas{display:block;width:100%;height:100%;touch-action:none;cursor:crosshair}
.merge-result{position:absolute;z-index:3;inset:0;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:15px;background:#fffdf8df;backdrop-filter:blur(9px)}
.merge-result strong{margin-bottom:10px;font-size:42px;font-weight:600}
.merge-result button{min-width:165px;min-height:50px;padding:10px 20px;border:0;border-radius:16px;background:#f2e3b7;color:#413827;font:600 18px IvoryHomeUI,'PingFang SC',sans-serif;cursor:pointer}
.merge-result button:last-child{background:#f4f0e7}
.merge-challenge button:focus-visible{outline:2px solid #b98a29;outline-offset:3px}

.discovery-overlay{position:absolute;inset:0;z-index:21;display:grid;place-items:center;padding:20px 14px;background:rgb(25 30 27 / 42%);backdrop-filter:blur(5px)}
.discovery-dialog{display:grid;grid-template-rows:72px 54px minmax(0,1fr);width:min(100%,396px);max-height:min(760px,calc(100dvh - 40px));overflow:hidden;border:1px solid rgb(255 255 255 / 70%);border-radius:26px;background:#f9f8f4;box-shadow:0 24px 80px #18241c38;color:#303731;font-family:'PingFang SC','Microsoft YaHei',sans-serif;-webkit-font-smoothing:antialiased}
.discovery-dialog>header{position:relative;display:flex;align-items:center;padding:0 25px}
.discovery-dialog h2{margin:0;font-size:25px;line-height:1.2;letter-spacing:2px;font-weight:600}
.discovery-close{position:absolute;right:18px;top:18px;display:grid;place-items:center;width:36px;height:36px;padding:0;border:1px solid #dedfd7;border-radius:50%;background:transparent;color:#62685f;font:26px/1 Arial,sans-serif;cursor:pointer}
.discovery-tabs{display:flex;gap:4px;margin:0 22px 13px;padding:4px;border-radius:13px;background:#eaece5}
.discovery-tabs button{flex:1;padding:4px;border:0;border-radius:9px;background:transparent;color:#7c8279;font-family:inherit;font-size:14px;font-weight:500;line-height:1.5;cursor:pointer;transition:background .18s,color .18s,box-shadow .18s}
.discovery-tabs button[aria-selected=true]{background:#fffefa;color:#303731;box-shadow:0 1px 4px #30373112}
.discovery-list{min-height:0;overflow-y:auto;padding:5px 21px 24px;overscroll-behavior:contain;scrollbar-width:thin;scrollbar-color:#cbd0c4 transparent}
.discovery-list--eggs{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-rows:max-content;align-content:start;gap:12px}
.discovery-card{min-width:0;overflow:hidden;border:1px solid #e6e8de;border-radius:17px;background:#fffefa}
.discovery-art{display:grid;place-items:center;overflow:hidden}
.discovery-list--eggs .discovery-art{height:130px;background:radial-gradient(ellipse at 50% 58%,#e5eadb 0%,#f0f2e9 46%,#f8f9f2 76%)}
.discovery-egg-specimen{display:grid;place-items:center;flex:none}
.discovery-egg-specimen>svg{display:block;width:100%;height:100%;max-width:none}
.discovery-copy{min-width:0;padding:15px 16px 18px}
.discovery-copy strong{display:block;font-size:16px;line-height:1.4;font-weight:600;letter-spacing:.3px}
.discovery-copy p{margin:7px 0 0;color:#818679;font-size:12px;line-height:1.65;font-weight:400}
.discovery-list--eggs .discovery-copy{padding:13px 13px 17px}
.discovery-list--boards{display:flex;flex-direction:column;gap:14px}
.discovery-list--boards .discovery-card{flex:0 0 auto}
.discovery-list--boards .discovery-art{background-color:#85988b;background-image:linear-gradient(#ffffff06 1px,transparent 1px),linear-gradient(90deg,#ffffff06 1px,transparent 1px);background-size:18px 18px}
.discovery-list--boards .discovery-copy{padding:15px 18px 17px}
.discovery-board-artwork{width:100%;pointer-events:none}
.discovery-board-artwork .canvas-shell{position:relative;width:100%;height:100%;min-height:0;overflow:hidden;border:0;border-radius:0;background:transparent;box-shadow:none}
.discovery-board-artwork .canvas-ruler{display:none}
.discovery-board-artwork .level-canvas{display:block;width:100%;height:100%;background:transparent;touch-action:auto}
.discovery-board-artwork .board-object{filter:none}
.discovery-board-artwork .wind-board-stream{animation:discovery-wind-flow 1.5s linear infinite}
@keyframes discovery-wind-flow{from{stroke-dashoffset:0}to{stroke-dashoffset:-148px}}
.discovery-card.is-locked{border-color:#eaebe4;background:#f8f8f2}
.discovery-card.is-locked .discovery-art{color:#bec4b5;background:#edf0e7}
.discovery-card.is-locked .discovery-board-artwork{opacity:.14;filter:brightness(0)}
.discovery-card.is-locked .discovery-board-artwork *{animation:none!important}
.discovery-card.is-locked .wind-board-field{visibility:hidden}
.discovery-card.is-locked .discovery-copy strong{color:#a4ac9d;letter-spacing:2px}
.discovery-card.is-locked .discovery-copy p{color:#a4ac9d}
.discovery-dialog button:focus-visible{outline:2px solid #5c7160;outline-offset:2px}
@media(max-height:720px){.discovery-dialog{grid-template-rows:61px 50px minmax(0,1fr);max-height:calc(100dvh - 28px)}.discovery-overlay{padding-block:14px}.discovery-close{top:12px}.discovery-list--eggs .discovery-art{height:112px}}
@media(prefers-reduced-motion:reduce){.discovery-board-artwork *{animation:none!important}.discovery-tabs button{transition:none}}

.portal-energy-arrow {
  animation-name: portal-energy-arrow-flow;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
  filter:
    drop-shadow(0 0 2px rgba(240, 255, 255, 0.98))
    drop-shadow(0 0 6px rgba(169, 233, 244, 0.58));
}

@keyframes portal-energy-arrow-flow {
  0% {
    opacity: 0.24;
  }

  42% {
    opacity: 0.96;
  }

  100% {
    opacity: 0.24;
  }
}

@media (prefers-reduced-motion: reduce) {
  .portal-energy-arrow {
    /* Flow direction is gameplay information, so keep it visible but slower. */
    animation-duration: 2.4s !important;
  }
}

.discovery-callout.first-level-rule-tutorial {
  position: absolute;
  inset: 0;
  z-index: 50;
  pointer-events: auto;
  touch-action: none;
}

.first-level-rule-tutorial .first-level-rule-dismiss,
.first-level-rule-tutorial .first-level-rule-dismiss:hover,
.first-level-rule-tutorial .first-level-rule-dismiss:active {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  scale: 1;
  transform: none;
  filter: none;
  transition: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}

.first-level-rule-dismiss:focus-visible { outline: 1px solid #faf1dc; outline-offset: -3px; }
.first-level-rule-dismiss svg { display: block; width: 100%; height: 100%; pointer-events: none; }
.first-level-rule-dismiss text { filter: drop-shadow(0 1px 1px rgba(24,46,53,.18)); }

.first-level-rule-tutorial.is-closing .first-level-rule-dismiss svg {
  animation: first-level-rule-dissolve 220ms ease-out both;
}

@keyframes first-level-rule-dissolve {
  from { opacity: 1; filter: blur(0); }
  to { opacity: 0; filter: blur(5px); }
}

@media (prefers-reduced-motion: reduce) {
  .first-level-rule-tutorial.is-closing .first-level-rule-dismiss svg {
    animation-name: first-level-rule-fade;
  }
}

@keyframes first-level-rule-fade {
  from { opacity: 1; }
  to { opacity: 0; }
}

.ivory-home-level button{touch-action:none}

.home-entry-overlay{position:absolute;inset:0;z-index:10000;overflow:hidden;pointer-events:none;isolation:isolate;contain:layout paint}.home-entry-backdrop{position:absolute;inset:0;background:#fffdf8;z-index:0}.home-entry-snapshot{position:absolute!important;inset:0;z-index:1;pointer-events:none}.home-entry-coordinates{position:absolute;inset:0;width:100%;height:100%;visibility:hidden;pointer-events:none}.home-entry-grid{position:absolute!important;z-index:2;pointer-events:none;max-width:none;max-height:none;filter:drop-shadow(0 0 4px #91c7b546)}.home-entry-flight{position:absolute;z-index:4;transform-origin:50% 50%;will-change:transform}.home-entry-home-egg,.home-entry-game-egg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.home-entry-home-egg img{display:block;width:100%;height:100%}.home-entry-home-egg .ivory-home-face{position:absolute;inset:0;width:100%;height:100%}.home-entry-game-egg{overflow:visible;filter:drop-shadow(0 0 4px #fff6d8)}.home-entry-pulse{position:absolute;width:80vmax;height:80vmax;border-radius:50%;z-index:3;opacity:0;border:1px solid #8cc5b59c;box-shadow:0 0 22px 2px #83c4b747,inset 0 0 16px #d1b56624;background:radial-gradient(circle,transparent 66%,#acd7c713 69%,#ffe7a024 70%,transparent 71%);will-change:transform,opacity}

.play-resource-counters{display:flex;align-items:flex-start;gap:2cqw;color:#493e31;font-variant-numeric:tabular-nums}
.play-resource-egg-stack{position:relative}
.ivory-motion-home-layout .play-resource-counter,.play-resource-counter{display:flex;align-items:center;gap:1.5cqw;min-height:8cqw;padding:1.2cqw 2.8cqw;border:0;border-radius:9cqw;background:#f3efe6;color:#493e31;font-family:inherit;font-size:3.8cqw;font-weight:600;line-height:1;white-space:nowrap;cursor:default}
.play-resource-counter img{display:block;width:4cqw;height:5.2cqw;object-fit:contain}
.play-resource-counter span{font-size:3.8cqw;font-weight:600;line-height:1.1}
.play-resource-recovery{position:absolute;left:0;right:0;top:calc(100% + 1cqw);text-align:center;white-space:nowrap;font-size:2.65cqw;color:#8b8170;line-height:1}
.game-hud-action .play-resource-badge{position:absolute;z-index:2;top:-5px;right:0;display:grid;place-items:center;min-width:24px;height:22px;padding:0 5px;border:1.5px solid #f9f5eb;border-radius:12px;background:#494a43;color:#fffaf0;font:700 12px/1 ui-rounded,system-ui,sans-serif;font-variant-numeric:tabular-nums;text-shadow:none;box-shadow:0 2px 3px #26352f32;pointer-events:none}
.game-hud-action .play-resource-badge.is-empty{background:#897c70}
.play-resource-dialog{position:fixed;inset:0;margin:auto;width:min(304px,calc(100vw - 40px));max-height:calc(100dvh - 32px);overflow:auto;padding:30px 24px 24px;border:1px solid #e2dccf;border-radius:24px;background:#faf7ef;color:#493e31;text-align:center;box-shadow:0 14px 60px #222b2440;font-family:'IvoryInterface',ui-rounded,system-ui,sans-serif}
.play-resource-dialog::backdrop{background:#24382d59;backdrop-filter:blur(3px)}
.play-resource-dialog h2{margin:0 0 15px;font-size:23px;line-height:1.4;font-weight:600}
.play-resource-dialog p{margin:14px 0 20px;font-size:13px;line-height:1.7;color:#817564}
.play-resource-dialog .play-resource-close{position:absolute;right:10px;top:8px;width:36px;height:36px;padding:0;border:0;background:transparent;color:#6f6455;font:26px/1 system-ui;cursor:pointer}
.play-resource-balance{display:flex;justify-content:center;align-items:center;gap:12px;font-size:40px;font-weight:500;font-variant-numeric:tabular-nums}
.play-resource-primary{width:100%;min-height:44px;padding:10px 12px;border:1px solid #c4b8a0;border-radius:22px;background:#e9dfcc;color:#473e32;font-family:inherit;font-size:15px;font-weight:600;line-height:1.4;cursor:pointer}
.play-resource-primary:disabled{opacity:.55;cursor:default}
.play-resource-text-button{margin-top:12px;padding:8px 22px;border:0;background:transparent;color:#807463;font-size:14px;cursor:pointer}
.play-resource-dialog .play-resource-kicker{margin:0 0 5px;letter-spacing:.12em;font-size:11px}
.reward-ad-test-mark{display:grid;place-items:center;width:76px;height:76px;margin:15px auto;border:1px solid #d9ceba;border-radius:50%;color:#897958;font:40px/1 system-ui}
[data-hint-emphasis="new"]{animation:play-hint-reveal 650ms ease-out}
@keyframes play-hint-reveal{0%{stroke-width:12;opacity:1}100%{stroke-width:8;opacity:.95}}
@media(prefers-reduced-motion:reduce){[data-hint-emphasis="new"]{animation:none}}

.play-resource-balance img{width:32px;height:44px;object-fit:contain}
.play-resource-balance strong{font:inherit}

.ivory-motion-home-layout .play-resource-add,.play-resource-add{display:grid;place-items:center;width:6cqw;height:6cqw;margin:-1cqw -1.3cqw -1cqw 0;padding:0;border:0;border-radius:50%;background:#e4dccb;color:#493e31;font:500 4.5cqw/1 system-ui;cursor:pointer}

/* Draw the plus with centered strokes, independent of the system font baseline. */
.ivory-motion-home-layout .play-resource-add,.play-resource-add{position:relative;font-size:0}
.play-resource-add::before,.play-resource-add::after{content:"";position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);background:currentColor;border-radius:.21cqw;pointer-events:none}
.play-resource-add::before{width:2.6cqw;height:.42cqw}
.play-resource-add::after{width:.42cqw;height:2.6cqw}

.ivory-home-title img{display:block;width:100%;height:auto;filter:drop-shadow(.35cqw 1cqw .8cqw rgba(104,85,63,.13));pointer-events:none}

[data-home-modal],[data-home-modal-overlay]{animation:none!important}
[data-home-modal]{transform-origin:50% 50%}
[data-home-modal-phase]{will-change:transform,opacity}
[data-home-modal][data-home-modal-phase]{overflow:hidden}
dialog[data-home-modal-phase="opening"]::backdrop{animation:home-modal-backdrop-in 480ms ease-out both}
dialog[data-home-modal-phase="closing"]::backdrop{animation:home-modal-backdrop-out 320ms ease-in both}
@keyframes home-modal-backdrop-in{from{opacity:0}to{opacity:1}}
@keyframes home-modal-backdrop-out{from{opacity:1}to{opacity:0}}
@media(prefers-reduced-motion:reduce){dialog[data-home-modal]::backdrop{animation:none!important}}
[data-home-modal-phase="preparing"]{visibility:hidden}
[data-home-modal-overlay][data-home-modal-phase="preparing"]{opacity:0}
dialog[data-home-modal-phase="preparing"]::backdrop{opacity:0}


/* One persistent indicator slides with the selected category. */
.discovery-tabs{position:relative;isolation:isolate}
.discovery-tab-indicator{position:absolute;inset:4px auto 4px 4px;width:calc((100% - 12px)/2);border-radius:9px;background:#fffefa;box-shadow:0 1px 4px #30373112;pointer-events:none;will-change:transform;transform:translateX(0);transition:transform 320ms cubic-bezier(.22,1,.36,1)}
.discovery-tabs[data-tab=boards] .discovery-tab-indicator{transform:translateX(calc(100% + 4px))}
.discovery-tabs button{position:relative;z-index:1;transition:color 180ms ease}
.discovery-tabs button[aria-selected=true]{background:transparent;box-shadow:none}
@media(prefers-reduced-motion:reduce){.discovery-tab-indicator{transition:none}}

.home-entry-overlay{position:absolute;inset:0;z-index:10000;overflow:hidden;pointer-events:none;isolation:isolate;contain:layout paint}.home-entry-backdrop{position:absolute;inset:0;background:#fffdf8;z-index:0}.home-entry-snapshot{position:absolute!important;inset:0;z-index:1;pointer-events:none}.home-entry-coordinates{position:absolute;inset:0;width:100%;height:100%;visibility:hidden;pointer-events:none}.home-entry-grid{position:absolute!important;z-index:2;pointer-events:none;max-width:none;max-height:none;filter:none;transform-origin:50% 50%;will-change:transform,opacity}.home-entry-flight{position:absolute;z-index:4;transform-origin:50% 50%;will-change:transform}.home-entry-home-egg,.home-entry-game-egg{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}.home-entry-home-egg img{display:block;width:100%;height:100%}.home-entry-home-egg .ivory-home-face{position:absolute;inset:0;width:100%;height:100%}.home-entry-game-egg{overflow:visible;filter:none}

/* Published runtime equivalent of removing polygon hover/active feedback nodes. */
.board-object:has(circle.geometry-rotation-hit) .endpoint-hover-ring{display:none}

.game-hud-bottom > .game-hud-action{position:relative}

.portal-energy-arrow{animation-name:portal-energy-arrow-flow;animation-timing-function:ease-in-out;animation-iteration-count:infinite;filter:drop-shadow(0 0 2px rgba(240,255,255,.98)) drop-shadow(0 0 6px rgba(169,233,244,.58))}@keyframes portal-energy-arrow-flow{0%{opacity:.24}42%{opacity:.96}to{opacity:.24}}@media(prefers-reduced-motion:reduce){.portal-energy-arrow{animation-duration:2.4s!important}}.player-home-shell,.player-app:has(.game-grid-backdrop-blue),.player-app:has(.game-grid-backdrop-blue) .player-stage-viewport{background:#5b778d}.home-stamina{--stamina-cream: #f6efe3;--stamina-cream-deep: #e8d8bd;--stamina-teal: #29515c;--stamina-ochre: #b69450;--stamina-ink: #142a31;position:absolute;z-index:4;top:max(14px,env(safe-area-inset-top));right:8px;width:103px;color:var(--stamina-ink);font-variant-numeric:tabular-nums;filter:drop-shadow(0 3px 2px rgba(37,75,86,.18))}.home-stamina-main{position:relative;z-index:2;display:flex;align-items:center;width:100%;height:32px;border:1px solid rgba(185,158,112,.34);border-radius:16px;background:linear-gradient(180deg,#fffaf1 0%,var(--stamina-cream) 72%,#eee4d3 100%);box-shadow:inset 0 1px #ffffffe6,0 2px #bda9877a}.home-stamina-badge{display:grid;place-items:center;width:33px;height:33px;margin:-1px 0 -1px -1px;flex:none;border:1.5px solid rgba(247,240,228,.94);border-radius:50%;color:var(--stamina-cream);background:var(--stamina-teal);box-shadow:inset 0 1px #ffffff29,1px 1px #1f46503d}.home-stamina-badge svg{width:16px;height:16px;fill:currentColor}.home-stamina-meter{display:grid;flex:1;gap:2px;min-width:0;padding:3px 8px 3px 7px}.home-stamina-meter strong{font-size:13px;font-weight:600;line-height:1;letter-spacing:-.04em;text-align:center}.home-stamina-meter strong span{margin:0 2px;font-weight:500}.home-stamina-track{display:block;width:100%;height:3px;overflow:hidden;border-radius:999px;background:#29515c24;box-shadow:inset 0 1px 1px #29515c1a}.home-stamina-track>span{display:block;height:100%;border-radius:inherit;background:var(--stamina-ochre);transition:width .22s ease}.home-stamina-recovery{box-sizing:border-box;position:absolute;z-index:auto;top:32px;right:11px;display:flex;width:62px;height:24px;padding:0;border:1px solid rgba(185,158,112,.34);border-radius:12px;background:linear-gradient(180deg,#e8dece 0%,var(--stamina-cream) 48%,#fffaf1 100%);box-shadow:inset 0 2px 3px #62523c2e,inset 0 -1px #ffffffc7}.home-stamina-recovery time{position:absolute;top:0;left:24px;display:flex;align-items:center;width:36px;height:100%;font-size:10px;font-weight:600;line-height:1;letter-spacing:.02em;text-align:left}.home-stamina-refill{box-sizing:border-box;position:absolute;z-index:3;top:-1px;left:-9px;display:grid;place-items:center;width:24px;height:24px;padding:0;border:1.5px solid rgba(185,158,112,.48);border-radius:50%;color:var(--stamina-teal);background:linear-gradient(180deg,#e6dccd 0%,var(--stamina-cream) 52%,#fffaf1 100%);box-shadow:inset 0 2px 4px #62523c38,inset 0 -1px #ffffffd6;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:transform .1s ease,box-shadow .1s ease}.home-stamina-refill svg{width:12px;height:12px;fill:currentColor}.home-stamina-refill:focus-visible{outline:3px solid rgba(41,81,92,.42);outline-offset:3px}.home-stamina-refill:active{box-shadow:inset 0 3px 5px #62523c4d,inset 0 -1px #ffffffad;transform:none}@media(max-width:350px){.home-stamina{right:6px}}@media(prefers-reduced-motion:reduce){.home-stamina-track>span,.home-stamina-refill{transition:none}}.game-hud-bottom.has-gravity{gap:clamp(8px,4.5vw,18px)}.game-hud-gravity svg{display:block;color:#484f67}.home-entry-screen{--home-entry-bg: #486b76;--home-entry-cream: #f7f0e4;--home-entry-shadow: #254b56;--home-entry-ink: #29313c;--home-entry-muted: #9eb1b5;--home-entry-tile-blue: #718d96;position:relative;width:min(420px,100%);height:100dvh;max-width:100%;overflow:hidden;isolation:isolate;color:var(--home-entry-cream);background-color:var(--home-entry-bg);background-image:linear-gradient(rgba(247,240,228,.1) 1px,transparent 1px),linear-gradient(90deg,rgba(247,240,228,.1) 1px,transparent 1px);background-position:center center;background-size:18px 18px;font-family:PingFang SC,Microsoft YaHei,sans-serif}.home-entry-egg-composite{position:absolute;z-index:1;top:0;right:0;bottom:0;left:0;background-image:url(../assets/ui/home-yolk.webp),url(../assets/ui/home-egg-approved.webp);background-repeat:no-repeat,no-repeat;background-position:center center,center -550px;background-size:100% 100%,570px auto;filter:drop-shadow(0 5px 6px rgba(18,38,46,.2));pointer-events:none;-webkit-user-select:none;user-select:none}.home-entry-title-art{position:absolute;z-index:3;top:36%;left:50%;width:min(84%,350px);height:auto;pointer-events:none;transform:translate(-50%);filter:drop-shadow(0 4px 5px rgba(18,38,46,.28));-webkit-user-select:none;user-select:none}.home-entry-screen:not(.home-hero-ready) .home-entry-egg-composite,.home-entry-screen:not(.home-hero-ready) .home-entry-title-art{opacity:0}.home-entry-screen.home-hero-ready .home-entry-egg-composite,.home-entry-screen.home-hero-ready .home-entry-title-art{opacity:1}.home-entry-console{position:absolute;z-index:3;right:7.5%;bottom:max(7.5%,28px);left:7.5%;display:grid;gap:18px}.home-entry-console-row{display:grid;grid-template-columns:minmax(104px,1fr) repeat(3,68px);gap:8px;align-items:start}.home-level-block{--home-level-drag-x: 0px;display:grid;grid-template-rows:17px 35px 16px;align-content:start;height:68px;min-width:0;align-self:stretch;touch-action:none;cursor:grab;-webkit-user-select:none;user-select:none;-webkit-tap-highlight-color:transparent}.home-level-block.is-dragging{cursor:grabbing}.home-level-block:focus-visible{outline:2px solid rgba(247,240,228,.86);outline-offset:4px;border-radius:2px}.home-level-label{padding-left:2px;color:var(--home-entry-cream);font-size:11px;font-weight:800;letter-spacing:.22em;line-height:16px}.home-level-number-window{position:relative;min-width:0;overflow:hidden;mask-image:linear-gradient(90deg,transparent 0,#000 9%,#000 91%,transparent 100%);-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 9%,#000 91%,transparent 100%)}.home-level-number-track{position:relative;width:100%;height:100%;transform:translate(var(--home-level-drag-x));transition:transform .13s cubic-bezier(.2,.8,.2,1)}.home-level-block.is-dragging .home-level-number-track,.home-level-block.is-dragging .home-level-ruler-track{transition:none}.home-level-number{position:absolute;bottom:0;width:max-content;color:var(--home-entry-cream);font-size:21px;font-weight:600;line-height:1;opacity:.76;text-shadow:1px 2px 0 rgba(37,75,86,.7);text-align:center;font-variant-numeric:tabular-nums;white-space:nowrap;transform:translate(-50%);transition:color .15s ease,font-size .15s ease,opacity .15s ease}.home-level-number:nth-child(1){left:17%}.home-level-number:nth-child(2){left:50%}.home-level-number:nth-child(3){left:83%}.home-level-number.is-current{font-size:34px;font-weight:800;opacity:1}.home-level-number.is-locked{color:var(--home-entry-muted);opacity:.68;text-shadow:1px 2px 0 rgba(37,75,86,.38)}.home-level-number.is-coming-soon{bottom:1px;color:var(--home-entry-cream);font-size:9px;font-weight:750;letter-spacing:.12em;line-height:1.05;opacity:1;text-shadow:1px 2px 0 rgba(37,75,86,.7)}.level-coming-soon-copy{display:grid;gap:2px}.home-level-number.is-empty{visibility:hidden}.home-level-ruler{position:relative;height:16px;min-width:0;overflow:hidden;mask-image:linear-gradient(90deg,transparent 0,#000 7%,#000 93%,transparent 100%);-webkit-mask-image:linear-gradient(90deg,transparent 0,#000 7%,#000 93%,transparent 100%)}.home-level-ruler-track{position:absolute;top:0;right:0;bottom:0;left:0;display:flex;align-items:end;justify-content:space-between;padding:0 0 1px;transform:translate(var(--home-level-drag-x));transition:transform .13s cubic-bezier(.2,.8,.2,1)}.home-level-ruler-track span{width:2px;height:5px;border-radius:1px;background:#f7f0e46b}.home-level-ruler-track span:nth-child(6),.home-level-ruler-track span:nth-child(12){height:7px;background:#f7f0e480}.home-level-ruler-track span:nth-child(7),.home-level-ruler-track span:nth-child(11){height:9px;background:#f7f0e494}.home-level-ruler-track span:nth-child(8),.home-level-ruler-track span:nth-child(10){height:12px;background:#f7f0e4b3}.home-level-ruler-track span:nth-child(9){width:3px;height:15px;background:var(--home-entry-cream);box-shadow:0 1px #254b56a6}.home-console-tile{display:grid;place-items:center;width:68px;height:68px;padding:0;border:1px solid rgba(255,255,255,.24);border-radius:6px;color:var(--home-entry-ink);background:#f4eee4;box-shadow:0 5px #254b5694,inset 0 1px #ffffff94;cursor:pointer;-webkit-tap-highlight-color:transparent}.home-console-tile svg{width:28px;height:28px;fill:currentColor}.home-console-ranking{color:var(--home-entry-cream);background:var(--home-entry-tile-blue)}.home-console-diy{color:var(--home-entry-cream);background:#5f7e88}.home-console-diy.is-locked{opacity:.42;filter:grayscale(.72)}.home-diy-icon{font-family:Arial Rounded MT Bold,SF Pro Rounded,PingFang SC,sans-serif;font-size:20px;font-weight:950;letter-spacing:.02em;line-height:1;text-shadow:0 2px 0 rgba(37,75,86,.5)}.home-entry-start{display:flex;align-items:center;justify-content:center;gap:22px;width:100%;min-height:68px;padding:0 24px;border:1px solid rgba(255,255,255,.26);border-radius:6px;color:var(--home-entry-ink);background:var(--home-entry-cream);box-shadow:0 5px #254b56b8,inset 0 1px #ffffffa3;cursor:pointer;-webkit-tap-highlight-color:transparent;transition:transform .1s ease,box-shadow .1s ease}.home-entry-start svg{width:28px;height:28px;flex:none;fill:currentColor}.home-entry-start strong{font-size:21px;font-weight:800;letter-spacing:.08em}.home-console-tile:focus-visible,.home-entry-start:focus-visible{outline:3px solid rgba(247,240,228,.9);outline-offset:4px}.home-console-tile:active,.home-entry-start:active{box-shadow:0 2px #254b568f;transform:translateY(3px)}.home-settings-layer{position:absolute;z-index:30;top:0;right:0;bottom:0;left:0;display:grid;place-items:center;padding:20px 16px;background:#122329ad;animation:home-settings-overlay-in .16s ease-out both}.home-settings-dialog{position:relative;width:min(100%,364px);overflow:hidden;border:2px solid #355761;border-radius:16px;color:var(--home-entry-ink);background:#f7f0e4;box-shadow:0 6px #19343cd1,0 20px 42px #0f212757,inset 0 1px #ffffffd1;animation:home-settings-dialog-in .22s cubic-bezier(.2,.86,.28,1.08) both}.home-settings-dialog>header{position:relative;display:grid;place-items:center;height:66px}.home-settings-dialog h2{margin:0;font-size:28px;font-weight:900;letter-spacing:.1em;line-height:1}.home-settings-close{position:absolute;top:14px;right:14px;display:grid;place-items:center;width:36px;height:36px;padding:0;border:0;border-radius:50%;color:var(--home-entry-ink);background:transparent;box-shadow:none;cursor:pointer}.home-settings-close svg{width:27px;height:27px;stroke-width:2.1}.home-settings-content{display:grid;gap:14px;padding:4px 18px 22px}.home-diy-lock-dialog .home-settings-content{padding-top:0;text-align:center}.home-diy-lock-dialog p{margin:4px 0 8px;color:#486b76;font-size:16px;font-weight:800;letter-spacing:.03em}.home-diy-lock-confirm{min-height:48px;border:1px solid rgba(41,77,88,.24);border-radius:12px;color:#f7f0e4;background:#486b76;box-shadow:0 3px #254b5661;font-weight:850}.home-settings-uid{display:flex;align-items:center;justify-content:space-between;min-height:46px;padding:0 16px;border-radius:11px;color:#f7f0e4;background:#15272d;box-shadow:inset 0 1px #ffffff17}.home-settings-uid span{font-size:11px;font-weight:800;letter-spacing:.12em}.home-settings-uid strong{font-family:SFMono-Regular,Consolas,Liberation Mono,monospace;font-size:14px;font-weight:800;letter-spacing:.08em}.home-settings-sound{display:flex;align-items:center;justify-content:space-between;min-height:70px;padding:0 16px;border:1px solid rgba(41,77,88,.24);border-radius:12px;background:#fffaf1;box-shadow:0 3px #254b562e}.home-settings-sound>span{display:grid;gap:4px}.home-settings-sound strong{font-size:17px;font-weight:850;letter-spacing:.06em}.home-settings-sound small{color:#789096;font-size:11px;font-weight:700}.home-settings-sound input{position:relative;width:50px;height:30px;margin:0;border:2px solid #355761;border-radius:16px;-webkit-appearance:none;-moz-appearance:none;appearance:none;background:#d6ddd9;cursor:pointer;transition:background .15s ease}.home-settings-sound input:after{content:"";position:absolute;top:3px;left:3px;width:20px;height:20px;border-radius:50%;background:#f7f0e4;box-shadow:0 2px #18313957;transition:transform .15s ease}.home-settings-sound input:checked{background:#638b86}.home-settings-sound input:checked:after{transform:translate(20px)}.home-settings-close:focus-visible,.home-settings-sound input:focus-visible{outline:2px solid #4e7781;outline-offset:2px}@keyframes home-settings-overlay-in{0%{opacity:0}to{opacity:1}}@keyframes home-settings-dialog-in{0%{opacity:0;transform:translateY(8px) scale(.96)}to{opacity:1;transform:translateY(0) scale(1)}}@media(max-height:720px){.home-entry-egg-composite{background-position:center center,center -580px}.home-entry-title-art{top:34%}.home-entry-console{bottom:24px;gap:13px}.home-entry-console-row{grid-template-columns:minmax(96px,1fr) repeat(3,64px);gap:7px}.home-level-block{grid-template-rows:16px 33px 15px;height:64px}.home-level-number{font-size:20px}.home-level-number.is-current{font-size:32px}.home-level-ruler{height:15px}.home-level-ruler-track span:nth-child(9){height:14px}.home-console-tile{width:64px;height:64px}.home-entry-start{min-height:64px}}@media(max-width:350px){.home-entry-console{right:5.5%;left:5.5%}.home-entry-console-row{grid-template-columns:minmax(88px,1fr) repeat(3,60px);gap:6px}.home-level-block{grid-template-rows:15px 31px 14px;height:60px}.home-level-label{font-size:10px}.home-level-number{font-size:19px}.home-level-number.is-current{font-size:30px}.home-level-ruler{height:14px}.home-level-ruler-track span:nth-child(9){height:13px}.home-console-tile{width:60px;height:60px}.home-console-tile svg{width:25px;height:25px}.home-diy-icon{font-size:18px}.home-entry-start strong{font-size:21px}}@media(prefers-reduced-motion:reduce){.home-entry-start{transition:none}}@font-face{font-family:Sticker Rounded;src:url(./home-rounded-CvhyaEa8.woff2) format("woff2");font-display:swap}.calm-home-screen:has(.sticker-home-layout){background:#5b778d;color:#285367;font-family:Sticker Rounded,PingFang SC,sans-serif;container-type:size;display:grid;place-items:center;overflow:hidden;width:100%;height:100%;position:relative}.player-home-shell:has(.sticker-home-layout){background:#5b778d}.calm-home-screen[data-home-canvas-theme=green]:has(.sticker-home-layout),.player-home-shell:has([data-home-canvas-theme=green] .sticker-home-layout){background:#5d7167}.calm-home-screen[data-home-canvas-theme=indigo]:has(.sticker-home-layout),.player-home-shell:has([data-home-canvas-theme=indigo] .sticker-home-layout){background:#565f88}.calm-home-screen[data-home-canvas-theme=charcoal]:has(.sticker-home-layout),.player-home-shell:has([data-home-canvas-theme=charcoal] .sticker-home-layout){background:#373239}.sticker-home-background{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;pointer-events:none}.sticker-home-layout{position:relative;width:min(100cqw,59cqh,560px);height:min(100%,1000px);container-type:inline-size;user-select:none;-webkit-user-select:none;--sticker-ink: #285367;--soft-ivory: linear-gradient(155deg,#fffdf4 0%,#faf4e7 65%,#ede2cd 100%);--soft-shadow: inset 0 1px 1px #fff, inset 0 -2px 1px #d7cdb8, 0 3px 0 #b3ad9c, 0 7px 10px #25495735}.sticker-home-layout button{cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation;font:inherit;transition:transform .12s ease,box-shadow .12s ease}.sticker-home-layout button:focus-visible,.sticker-home-level-value:focus-visible{outline:3px solid #ffdc7a;outline-offset:4px}.sticker-home-layout button:active:not(:disabled){transform:translateY(2px) scale(.98)}.sticker-home-top{position:absolute;inset:max(4%,env(safe-area-inset-top)) 5% auto;height:7%;z-index:6}.sticker-home-top .home-stamina{left:0;top:0;right:auto;width:33cqw;filter:none}.sticker-home-top .home-stamina-main{height:9.4cqw;border:0;background:var(--soft-ivory);border-radius:99px;box-shadow:var(--soft-shadow)}.sticker-home-top .home-stamina-badge{width:9cqw;height:10cqw;margin:0;border:0;background:none;box-shadow:none;color:#ffd34f}.sticker-home-top .home-stamina-badge svg{width:8cqw;height:8cqw;stroke:#e5ac3e;stroke-width:.4;filter:drop-shadow(0 1px 0 #c49743)}.sticker-home-top .home-stamina-meter{padding:0 1.5cqw 0 0}.sticker-home-top .home-stamina-meter strong{font:900 4.5cqw/1 Arial Rounded MT Bold,sans-serif;letter-spacing:-.025em;color:var(--sticker-ink)}.sticker-home-top .home-stamina-track{display:none}.sticker-home-top .home-stamina-meter strong span{font:inherit;margin:0}.sticker-home-top .home-stamina.home-stamina--compact{width:clamp(104px,28cqw,148px);color:var(--sticker-ink)}.sticker-home-top .home-stamina--compact.is-recovering{width:clamp(132px,34cqw,180px)}.stamina-compact-surface{box-sizing:border-box;display:flex;align-items:center;justify-content:center;gap:clamp(4px,1.2cqw,7px);min-height:clamp(36px,9.4cqw,50px);padding:clamp(6px,1.6cqw,9px);border-radius:99px;background:var(--soft-ivory);box-shadow:var(--soft-shadow)}.is-recovering .stamina-compact-surface{display:grid;grid-template-columns:auto minmax(0,1fr) auto;min-height:clamp(40px,10.8cqw,58px);padding-block:clamp(4px,1cqw,6px)}.stamina-compact-bolt{display:grid;place-items:center;width:clamp(18px,5cqw,27px);flex:none}.stamina-compact-bolt svg{display:block;width:100%;height:auto;fill:#ffd34f;stroke:#d8a542;stroke-width:.45;filter:drop-shadow(0 1px 0 #b68d42)}.stamina-compact-content{display:grid;justify-items:center;align-content:center;gap:clamp(3px,.8cqw,5px);min-width:0;font-variant-numeric:tabular-nums}.is-recovering .stamina-compact-content{justify-items:start;text-align:left}.stamina-compact-content strong{font:800 clamp(14px,4cqw,21px)/1.1 "Arial Rounded MT Bold",sans-serif;letter-spacing:-.035em;white-space:nowrap}.stamina-compact-content time{display:block;color:#315364;font:600 clamp(10px,2.55cqw,13px)/1.15 "Arial Rounded MT Bold","PingFang SC",sans-serif;letter-spacing:-.025em;white-space:nowrap}.sticker-home-layout .stamina-compact-refill{position:relative;display:grid;place-items:center;width:clamp(26px,6.8cqw,36px);height:clamp(26px,6.8cqw,36px);padding:6px;border:1px solid #dfd4bd;border-radius:50%;color:var(--sticker-ink);background:linear-gradient(160deg,#e8dfcf,#fffaf0 85%);box-shadow:inset 0 2px 3px #98856730,inset 0 -1px 1px #fff}.stamina-compact-refill:after{content:"";position:absolute;top:-6px;right:-6px;bottom:-6px;left:-6px;border-radius:inherit}.stamina-compact-refill svg{width:100%;height:100%;fill:currentColor}.sticker-home-layout .stamina-compact-refill:active{transform:scale(.95);box-shadow:inset 0 3px 5px #98856745}.sticker-home-settings{position:absolute;right:0;top:-.5cqw;width:11cqw;height:11cqw;min-width:42px;min-height:42px;display:grid;place-items:center;padding:2.4cqw;border:0;border-radius:50%;background:var(--soft-ivory);box-shadow:var(--soft-shadow);color:var(--sticker-ink)}.sticker-home-settings svg{width:100%;height:100%}.sticker-home-title{position:absolute;top:12%;left:8%;width:84%;height:18%;object-fit:contain;pointer-events:none;filter:drop-shadow(0 3px 2px #26465330)}.sticker-home-hero{position:absolute;top:30%;left:0;width:100%;height:34%}.sticker-home-oval{position:absolute;left:17%;top:0;width:66%;height:100%;border-radius:50%;background:#d4e2cf28}.sticker-home-egg{position:absolute;left:50%;translate:-50% 0;top:-3%;width:auto;height:94%;aspect-ratio:306 / 402;padding:0;border:0;background:none;transform-origin:50% 95%;z-index:2;filter:drop-shadow(3px 5px 3px #23455435)}.sticker-home-egg>img{display:block;width:100%;height:100%;object-fit:fill}.sticker-home-egg .paper-egg-face{position:absolute;left:17%;top:46%;width:60%;aspect-ratio:1;pointer-events:none}.sticker-home-egg .paper-egg-face-animation,.sticker-home-egg .paper-egg-face-fallback{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%}.sticker-home-egg .paper-egg-face:has([data-animation-ready=true]) .paper-egg-face-fallback{display:none}.sticker-home-egg .paper-egg-face-animation:not([data-animation-ready=true]){visibility:hidden}.sticker-home-actions{position:absolute;top:66%;left:5%;right:5%;bottom:max(6%,env(safe-area-inset-bottom));display:grid;grid-template-rows:21% 38% 25%;gap:8%}.sticker-home-level{display:flex;justify-content:center;align-items:center;gap:8%}.sticker-home-level-value{display:flex;align-items:center;justify-content:center;min-width:33%;height:8.8cqw;padding:0 3cqw;color:#fff8e8;background:transparent;box-shadow:none;border-radius:0;font-size:5.4cqw;font-weight:900;white-space:nowrap;touch-action:none;cursor:ew-resize}.sticker-home-level-value strong{font:inherit}.sticker-home-layout .calm-home-step{display:grid;place-items:center;width:10cqw;height:10cqw;min-width:44px;min-height:44px;padding:1cqw;flex:none;border:0;background:none;filter:drop-shadow(0 3px 1px #264d6555)}.sticker-home-layout .calm-home-step svg{width:6cqw;height:8cqw}.sticker-home-layout .calm-home-step:disabled{opacity:.3;cursor:default}.sticker-home-start{position:relative;display:flex;align-items:center;justify-content:center;gap:5cqw;margin:0 5%;min-height:48px;padding:0;border:0;border-radius:9cqw;background:linear-gradient(155deg,#ff9783,#fa816b 58%,#f17663);color:#fff9e9;box-shadow:inset 0 2px 2px #ffbb9f,inset 0 -3px 2px #d56855,0 4px #b75549,0 9px 12px #244b6540}.sticker-home-start:before{content:"";position:absolute;left:4%;top:13%;width:6%;height:32%;border-left:1cqw solid #ffb7a1;border-top:1cqw solid #ffb7a1;border-radius:4cqw 0 0;pointer-events:none}.sticker-home-start strong{font:900 9.3cqw/1 Sticker Rounded,sans-serif;letter-spacing:.02em;text-shadow:0 2px 1px #bf675557}.sticker-home-play{width:8cqw;height:9cqw;filter:drop-shadow(0 2px 1px #b76350)}.sticker-home-start:disabled{opacity:.55;cursor:default}.sticker-home-start:active:not(:disabled){box-shadow:inset 0 2px 2px #ffbb9f,inset 0 -2px 2px #d56855,0 1px #b75549,0 4px 6px #244b6540}.sticker-home-shortcuts{display:flex;gap:5%;justify-content:center;margin:0 5%}.sticker-home-shortcuts button{display:flex;align-items:center;justify-content:center;gap:2cqw;width:47.5%;min-height:42px;padding:.7cqw 1cqw;border:0;border-radius:99px;background:var(--soft-ivory);box-shadow:var(--soft-shadow);color:var(--sticker-ink);font-size:5cqw;font-weight:900}.sticker-home-shortcuts svg{width:7.5cqw;height:7.5cqw;flex:none}.sticker-home-egg.is-greeting{animation:sticker-egg-greet .65s ease-in-out}.sticker-home-egg.is-greeting-even{animation-name:sticker-egg-greet-repeat}@keyframes sticker-egg-greet{0%,to{transform:rotate(0)}35%{transform:rotate(-2deg)}70%{transform:rotate(1deg)}}@keyframes sticker-egg-greet-repeat{0%,to{transform:rotate(0)}35%{transform:rotate(-2deg)}70%{transform:rotate(1deg)}}[data-motion-paused=true] .sticker-home-egg{animation-play-state:paused}@media(prefers-reduced-motion:reduce){.sticker-home-layout *,.sticker-home-layout *:before{animation:none!important;transition:none!important}}.orbit-home-layout{width:min(100cqw,56.3cqh,560px);height:min(100%,995px)}.orbit-home-layout .sticker-home-top{--orbit-top-control-size: clamp(30px,8cqw,40px);inset:max(2.7%,env(safe-area-inset-top)) 4% auto}.orbit-home-layout .sticker-home-top .home-stamina.home-stamina--compact{width:clamp(84px,22cqw,118px)}.orbit-home-layout .sticker-home-top .home-stamina--compact.is-recovering{width:clamp(120px,29cqw,158px)}.orbit-home-layout .stamina-compact-surface{min-height:var(--orbit-top-control-size);padding:clamp(4px,1.2cqw,6px);gap:clamp(3px,.8cqw,4px)}.orbit-home-layout .is-recovering .stamina-compact-surface{min-height:clamp(34px,9cqw,46px);padding-block:3px}.orbit-home-layout .stamina-compact-bolt{width:clamp(16px,4.2cqw,21px)}.orbit-home-layout .stamina-compact-content{gap:2px}.orbit-home-layout .stamina-compact-content strong{font-size:clamp(12px,3.4cqw,17px)}.orbit-home-layout .stamina-compact-content time{font-size:clamp(10px,2.55cqw,12px)}.orbit-home-layout .stamina-compact-refill{width:clamp(24px,6.2cqw,30px);height:clamp(24px,6.2cqw,30px);padding:5px}.orbit-home-layout .sticker-home-settings{top:0;width:var(--orbit-top-control-size);height:var(--orbit-top-control-size);min-width:0;min-height:0;padding:clamp(6px,1.8cqw,9px)}.orbit-home-layout .sticker-home-settings:after{content:"";position:absolute;left:50%;top:50%;width:max(44px,100%);height:max(44px,100%);transform:translate(-50%,-50%);border-radius:50%}.orbit-home-layout .sticker-home-title{top:9.4%;left:12%;width:76%;height:12.8%}.orbit-home-layout .sticker-home-hero{top:24.2%;left:0;width:100%;height:50%;display:grid;place-items:center}.orbit-home-artwork{display:block;width:100%;height:100%;overflow:visible;pointer-events:none;transform:translateY(-3%) scale(.9)}.orbit-home-artwork *,.orbit-home-artwork *:before{animation:none!important;transition:none!important}.orbit-home-egg{position:absolute;left:51.25%;top:49.6%;transform:translate(-50%,-50%);width:23%;height:31%;overflow:visible;pointer-events:none}.orbit-home-egg-bitmap{position:absolute;display:block;max-width:none;left:-16.233766%;top:-6.643357%;width:129.761905%;height:114.685315%;filter:drop-shadow(1px 2px 1.2px #243d4e30)}.orbit-home-egg-motion{position:absolute;top:0;right:0;bottom:0;left:0;width:100%;height:100%;overflow:visible}.orbit-home-egg,.orbit-home-egg *{animation:none!important;transition:none!important}.orbit-home-animated-egg{position:absolute;top:0;right:0;bottom:0;left:0}.orbit-home-egg-canvas{position:absolute;left:-20%;top:-20%;width:140%;height:140%;visibility:hidden;filter:drop-shadow(1px 2px 1.2px #243d4e30)}.orbit-home-egg-canvas canvas{display:block;width:100%;height:100%}.orbit-home-animated-egg[data-animation-ready=true] .orbit-home-egg-canvas{visibility:visible}.orbit-home-animated-egg[data-animation-ready=true] .orbit-home-egg-poster{visibility:hidden}.orbit-home-egg-touch{position:absolute;top:0;right:0;bottom:0;left:0;padding:0;border:0;border-radius:50%;background:transparent;cursor:pointer;pointer-events:auto;touch-action:manipulation}.orbit-home-egg-touch:focus-visible{outline:2px solid #fff8e8;outline-offset:5px}.orbit-home-layout .sticker-home-actions{top:74%;left:20%;right:20%;bottom:max(5%,env(safe-area-inset-bottom));grid-template-rows:21% 40% 25%;gap:7%}.orbit-home-layout .sticker-home-level{gap:7%}.orbit-home-layout .sticker-home-level-value{font-size:5.6cqw;padding:0 1cqw}.orbit-home-layout .calm-home-step{width:9cqw;height:9cqw;padding:1.4cqw}.orbit-home-layout .calm-home-step svg{width:4.5cqw;height:6cqw}.orbit-home-layout .sticker-home-start{margin:0;gap:4cqw;min-height:44px;border-radius:8cqw}.orbit-home-layout .sticker-home-start strong{font-size:6.8cqw;letter-spacing:.02em}.orbit-home-layout .sticker-home-play{width:6cqw;height:7cqw}.orbit-home-layout .sticker-home-start:before{border-width:.7cqw}.orbit-home-layout .sticker-home-shortcuts{margin:0;gap:4%}.orbit-home-layout .sticker-home-shortcuts button{width:48%;gap:1.3cqw;min-height:36px;font-size:4.1cqw}.orbit-home-layout .sticker-home-shortcuts svg{width:5.5cqw;height:5.5cqw}@media(max-width:360px){.orbit-home-layout .sticker-home-actions{left:16%;right:16%}}@media(max-height:650px){.orbit-home-layout .sticker-home-actions{top:72%;bottom:max(3%,env(safe-area-inset-bottom));grid-template-rows:30% 38% 26%;gap:3%}}.block-title-home-layout .sticker-home-title{top:8.1%;left:0;width:100%;height:16.3%;filter:none}@media(max-width:360px){.block-title-home-layout .sticker-home-title{top:9.2%;height:15.2%}}.ivory-home-layout{--ivory-button-face: linear-gradient(135deg, #fcf8ec, #f5efdf);--ivory-button-ink: #204862;--ivory-button-line: #faf5e7;--ivory-button-radius: clamp(10px, 3.3cqw, 18px);--ivory-button-shadow: inset 0 1px 0 #ffffff80, 0 2px 0 #d5cebb, 0 5px 7px #203e502b;--sticker-ink: var(--ivory-button-ink)}.ivory-home-layout .sticker-home-start{border-radius:var(--ivory-button-radius);background:var(--ivory-button-face);color:var(--ivory-button-ink);box-shadow:var(--ivory-button-shadow)}.ivory-home-layout .sticker-home-start:before{content:none}.ivory-home-layout .sticker-home-start strong{text-shadow:none}.ivory-home-layout .sticker-home-play{filter:none}.ivory-home-layout .sticker-home-start:active:not(:disabled){box-shadow:inset 0 1px #ffffff80,0 1px #d5cebb,0 2px 4px #203e5026}.ivory-home-layout .sticker-home-shortcuts button{box-sizing:border-box;border:0;border-radius:var(--ivory-button-radius);background:linear-gradient(180deg,#fffdf5,#fbf7eb 58%,#f0e8d6);box-shadow:inset 0 1px #ffffffb3,inset 0 -2px 1px #e0d9c8,0 3px #c8c2b0,0 5px #aaa79566,0 7px 8px #24435426;color:var(--ivory-button-ink);text-shadow:none}.ivory-home-layout .sticker-home-shortcuts button:active{background:linear-gradient(180deg,#f8f3e6,#f0e8d6);box-shadow:inset 0 1px 1px #c8c2b040,0 1px #c8c2b0,0 3px 4px #24435426}.ivory-home-layout .sticker-home-settings,.ivory-home-layout .stamina-compact-surface{border-radius:clamp(10px,3.1cqw,17px);background:var(--ivory-button-face);box-shadow:var(--ivory-button-shadow)}.ivory-home-layout .sticker-home-settings:active{box-shadow:inset 0 1px #ffffff80,0 1px #d5cebb,0 2px 4px #203e5026}.ivory-home-layout .stamina-compact-refill{border:1px solid #dcd5c5;background:#fffbf1;box-shadow:0 1px #d5cebb}.ivory-home-layout .stamina-compact-refill:active{background:#f0ebdf;box-shadow:none}@media(min-height:651px){.ivory-home-layout .sticker-home-actions{grid-template-rows:21% 38% 27%}}@media(hover:hover)and (pointer:fine){.ivory-home-layout .sticker-home-shortcuts button:hover:not(:active){background:linear-gradient(180deg,#fffef9,#fdf9ee 58%,#f4eddd)}}

.first-level-rule-tutorial .first-level-rule-dismiss,.first-level-rule-tutorial .first-level-rule-dismiss:hover,.first-level-rule-tutorial .first-level-rule-dismiss:active{position:absolute;inset:0;width:100%;height:100%;padding:0;margin:0;border:0;border-radius:0;background:transparent;box-shadow:none;scale:1;transform:none;filter:none;transition:none;cursor:pointer;-webkit-tap-highlight-color:transparent}.first-level-rule-dismiss:focus-visible{outline:1px solid #faf1dc;outline-offset:-3px}.first-level-rule-dismiss svg{display:block;width:100%;height:100%;pointer-events:none}.first-level-rule-dismiss text{filter:drop-shadow(0 1px 1px rgba(24,46,53,.18))}.first-level-rule-tutorial.is-closing .first-level-rule-dismiss svg{animation:first-level-rule-dissolve .22s ease-out both}@keyframes first-level-rule-dissolve{0%{opacity:1;filter:blur(0)}to{opacity:0;filter:blur(5px)}}@media(prefers-reduced-motion:reduce){.first-level-rule-tutorial.is-closing .first-level-rule-dismiss svg{animation-name:first-level-rule-fade}}@keyframes first-level-rule-fade{0%{opacity:1}to{opacity:0}}
