@font-face{font-family:Baloo;src:url('assets/v6/fonts/baloo2.woff2') format('woff2');font-weight:400 800;font-display:swap}
@font-face{font-family:Nunito;src:url('assets/v6/fonts/nunito-sans.woff2') format('woff2');font-weight:400 800;font-display:swap}

html[data-relic-preview="true"] {
  --relic-safe-top: env(safe-area-inset-top, 0px);
  --relic-safe-right: env(safe-area-inset-right, 0px);
  --relic-safe-bottom: env(safe-area-inset-bottom, 0px);
  --relic-safe-left: env(safe-area-inset-left, 0px);
  --relic-safe-insets: var(--relic-safe-top) var(--relic-safe-right) var(--relic-safe-bottom) var(--relic-safe-left);
  --relic-viewport-height: calc(100dvh - var(--relic-safe-top) - var(--relic-safe-bottom));
  --relic-viewport-width: calc(100vw - var(--relic-safe-left) - var(--relic-safe-right));
  --relic-game-width: min(var(--relic-viewport-width), 560px, calc(var(--relic-viewport-height) * .48913));
}

html[data-relic-preview="true"] body { padding: var(--relic-safe-insets); }
html[data-relic-preview="true"] #game {
  width: var(--relic-game-width);
  max-width: none;
  height: var(--relic-viewport-height);
}

html[data-relic-preview="true"] #overlay { inset: var(--relic-safe-insets); }
html[data-relic-preview="true"] #overlay .sheet-backdrop {
  width: var(--relic-game-width);
  --v8-u: calc(var(--relic-game-width) / 360);
}

html[data-relic-preview="true"] .toast {
  left: calc(50% + (var(--relic-safe-left) - var(--relic-safe-right)) / 2);
  bottom: max(6%, var(--relic-safe-bottom));
  max-width: min(calc(var(--relic-viewport-width) * .9), 480px);
}

:root{--v8-u:calc(100cqw / 360);font-family:Baloo,Arial,sans-serif;color:#17475d;background:#173e38;font-synthesis:none;-webkit-tap-highlight-color:transparent;touch-action:manipulation;color-scheme:light}
*{box-sizing:border-box}html,body{margin:0;width:100%;height:100%;overflow:hidden;overscroll-behavior:none}body{display:flex;justify-content:center}button{font:inherit;color:inherit;cursor:pointer;touch-action:manipulation;user-select:none;-webkit-user-select:none}button:disabled{cursor:default;opacity:.48}button:focus-visible{outline:3px solid #09c8f6;outline-offset:4px}img{user-select:none;-webkit-user-drag:none;pointer-events:none}button,img{vertical-align:middle}[hidden]{display:none!important}h1,h2,p{margin:0}h1{font-size:clamp(25px,7cqw,36px);font-weight:800;line-height:1.1}h2{font-size:24px}p{font-family:Nunito,Arial,sans-serif;line-height:1.4}#game{width:100%;max-width:min(560px,48.913dvh);height:100%;height:100dvh;position:relative;overflow:hidden;isolation:isolate;container-type:inline-size}#overlay{position:fixed;inset:0;z-index:50;display:flex;justify-content:center;align-items:center;pointer-events:none}#overlay>*{pointer-events:auto}.boot-screen{height:100%;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:20px;background:#216e62;color:white;padding:32px;text-align:center}.boot-screen img{width:160px}.boot-screen p{max-width:290px}.boot-screen button{border:0;border-radius:20px;background:#fff4c5;padding:12px 25px}.toast{position:fixed;z-index:90;bottom:6%;left:50%;transform:translate(-50%,16px);max-width:min(90%,480px);background:#16495dee;color:white;border:2px solid #fff9;border-radius:20px;padding:10px 20px;font:700 15px Nunito,Arial,sans-serif;opacity:0;pointer-events:none;transition:opacity .16s,transform .16s;text-align:center}.toast.visible{opacity:1;transform:translate(-50%,0)}
.action{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:2px solid #fff;border-radius:17px;padding:10px 17px;min-height:46px;background:linear-gradient(#5fe4a3,#1bbc84);box-shadow:0 3px 0 #148763;color:#fff;font-weight:800;line-height:1.08;text-shadow:0 1px 1px #178568;transition:transform .1s}.action:active:not(:disabled){transform:translateY(2px);box-shadow:0 1px 0 #148763}.action img{width:26px;height:26px;object-fit:contain}.action.quiet{background:#ecf5f6;box-shadow:0 2px 0 #c2dce0;color:#345f72;text-shadow:none;border-color:#fff}.action.selected{background:#55d8ef;box-shadow:0 3px 0 #229cb7}.action.play-action{background:linear-gradient(#85eb68,#36c969);box-shadow:0 4px 0 #178a55;min-height:58px;font-size:27px;letter-spacing:.02em}.action.play-action img{width:34px;height:34px}.price{display:inline-flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:5px 9px}.price>span{display:inline-flex;align-items:center;white-space:nowrap;gap:2px}.price img{width:23px;height:23px;object-fit:contain}.small-action{padding:8px 10px;min-width:82px;font-size:16px}.small-action>img{display:none}.small-action .price img{width:21px;height:21px}
