.gw { position: fixed; inset: 0; z-index: 2147483200; background: #04060c; opacity: 0; visibility: hidden; transition: opacity 1.1s ease, visibility 0s linear 1.1s; color: #eef1f8; font-family: 'Inter', system-ui, sans-serif; font-weight: 300; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
.gw.on { opacity: 1; visibility: visible; transition: opacity 1.1s ease; }
.gw canvas { position: absolute; inset: 0; width: 100%; height: 100%; display: block; touch-action: none; cursor: grab; }
.gw canvas:active { cursor: grabbing; }
.gw-head { position: absolute; left: 26px; top: 22px; pointer-events: none; text-shadow: 0 1px 12px rgba(0,0,0,.55); }
.gw-head b { display: block; font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-weight: 400; font-size: clamp(26px, 3.4vw, 44px); line-height: 1; letter-spacing: -.01em; }
.gw-head span { display: block; margin-top: 10px; font-size: 10px; letter-spacing: .28em; text-transform: uppercase; opacity: .85; font-variant-numeric: tabular-nums; }
.gw-x, .gw-plant { position: absolute; appearance: none; border: 1px solid rgba(255,255,255,.4); background: rgba(6,10,22,.35); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: inherit; font: inherit; font-size: 10px; letter-spacing: .28em; text-transform: uppercase; padding: 12px 18px; border-radius: 999px; cursor: pointer; transition: background .3s, border-color .3s, opacity .3s; }
.gw-x:hover, .gw-plant:hover { background: rgba(255,255,255,.16); border-color: #fff; }
.gw-x { right: 24px; top: 22px; }
.gw-plant { right: 24px; bottom: 24px; }
.gw-plant:disabled { opacity: .55; cursor: default; }
.gw-log { position: absolute; left: 26px; bottom: 22px; max-width: min(430px, 62vw); pointer-events: none; text-shadow: 0 1px 10px rgba(0,0,0,.7); }
.gw-log p { margin: 5px 0 0; font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-size: 17px; line-height: 1.25; }
.gw-log i { font-family: 'Inter', sans-serif; font-style: normal; font-size: 9px; letter-spacing: .24em; text-transform: uppercase; opacity: .7; margin-right: 10px; font-variant-numeric: tabular-nums; }
.gw-hint { position: absolute; left: 50%; top: 26px; transform: translateX(-50%); font-size: 9px; letter-spacing: .3em; text-transform: uppercase; opacity: .6; pointer-events: none; white-space: nowrap; text-shadow: 0 1px 8px rgba(0,0,0,.6); }
.gw-card { position: absolute; width: 240px; margin-left: -120px; transform: translateY(-100%) translateY(8px); opacity: 0; pointer-events: none; transition: opacity .35s ease, transform .35s ease; background: rgba(8,12,26,.72); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); border: 1px solid rgba(255,255,255,.18); border-radius: 14px; padding: 14px 16px 13px; box-shadow: 0 18px 50px rgba(0,0,0,.4); }
.gw-card.on { opacity: 1; transform: translateY(-100%); }
.gw-card b { display: block; font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-weight: 400; font-size: 26px; line-height: 1; }
.gw-card b em { font-size: 15px; color: #ffe2a0; }
.gw-card span { display: block; margin: 8px 0 7px; font-size: 9px; letter-spacing: .22em; text-transform: uppercase; opacity: .75; }
.gw-card p { margin: 0; font-size: 12.5px; line-height: 1.45; opacity: .9; }
html.gw-open #sa { overflow: hidden !important; }

.gw-brin { position: fixed; left: 0; bottom: 4px; z-index: 2147483100; width: 140px; height: 210px; padding: 0; margin: 0; border: 0; background: none; cursor: pointer; opacity: 0; transition: opacity 1.4s ease; -webkit-tap-highlight-color: transparent; will-change: transform; filter: drop-shadow(0 6px 14px rgba(0,0,0,.35)); }
.gw-brin canvas { width: 140px; height: 210px; display: block; pointer-events: none; }
@media (max-width: 700px) { .gw-brin { width: 104px; height: 156px; } .gw-brin canvas { width: 104px; height: 156px; } .gw-hint { display: none; } .gw-head span { max-width: 58vw; line-height: 1.9; margin-top: 6px; } .gw-head { left: 18px; top: 18px; } .gw-x { right: 16px; top: 16px; } .gw-plant { right: 16px; bottom: 18px; } .gw-log { left: 18px; bottom: 70px; } .gw-log p { font-size: 15px; } .gw-log p:nth-child(n+4) { display: none; } }

.gw-say { position: fixed; left: 50%; top: 22%; z-index: 2147483150; transform: translate(-50%, 10px); width: min(86vw, 640px); text-align: center; font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-size: clamp(22px, 3vw, 34px); line-height: 1.2; color: #f3f0e6; text-shadow: 0 2px 24px rgba(0,0,0,.8); opacity: 0; pointer-events: none; transition: opacity 1.6s ease, transform 1.6s ease; }
.gw-say.on { opacity: 1; transform: translate(-50%, 0); }
.gw-veil { position: fixed; inset: 0; z-index: 2147483050; background: #02030a; opacity: 0; pointer-events: none; transition: opacity 7s ease; }
.gw-veil.on { opacity: .62; transition: opacity .2s; }

.gw-pill { position: fixed; left: 50%; top: 18px; z-index: 2147483100; transform: translateX(-50%); appearance: none; border: 1px solid rgba(255,226,160,.28); background: rgba(10,12,22,.3); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); color: #f3ead2; font-family: 'Inter', system-ui, sans-serif; font-weight: 300; font-size: 9px; letter-spacing: .26em; text-transform: uppercase; padding: 8px 14px 8px 12px; border-radius: 999px; cursor: pointer; white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity 1.6s ease, border-color .3s; }
.gw-pill.on { opacity: .9; pointer-events: auto; }
.gw-pill:hover { border-color: rgba(255,226,160,.8); }
.gw-pill i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #ffd27a; box-shadow: 0 0 10px 3px rgba(255,190,90,.7); margin-right: 10px; vertical-align: -1px; animation: gwp 2.6s ease-in-out infinite; }
.gw-pill.out i { background: #555; box-shadow: none; animation: none; }
.gw-pill.else i { opacity: .55; }
html.gw-open .gw-pill, html.gw-open .gw-brin { opacity: 0 !important; pointer-events: none !important; }
@keyframes gwp { 50% { box-shadow: 0 0 16px 6px rgba(255,190,90,.9); } }
@media (max-width: 700px) { .gw-pill { top: 44px; font-size: 8px; } }
.gw-sheet { position: fixed; inset: 0; z-index: 2147483300; display: flex; align-items: center; justify-content: center; padding: 24px; background: rgba(3,5,10,.8); -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px); opacity: 0; visibility: hidden; transition: opacity .5s, visibility 0s linear .5s; color: #eef1f8; font-family: 'Inter', system-ui, sans-serif; font-weight: 300; }
.gw-sheet.on { opacity: 1; visibility: visible; transition: opacity .5s; }
.gw-sheet > div { max-width: 440px; text-align: center; }
.gw-sheet h3 { font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-weight: 400; font-size: clamp(30px, 5vw, 46px); line-height: 1.05; margin: 0 0 22px; }
.gw-sheet p { font-size: 14px; line-height: 1.6; opacity: .85; margin: 0 0 14px; }
.gw-sheet b { font-weight: 500; color: #ffe2a0; }
.gw-sheet button { appearance: none; display: block; margin: 22px auto 0; border: 1px solid rgba(255,255,255,.4); background: none; color: inherit; font: inherit; font-size: 10px; letter-spacing: .28em; text-transform: uppercase; padding: 13px 22px; border-radius: 999px; cursor: pointer; }
.gw-sheet .gw-go { border-color: #ffd27a; color: #ffe2a0; }
.gw-sheet .gw-close { border: 0; opacity: .6; margin-top: 10px; }
.gw-sheet small { display: block; margin-top: 12px; font-size: 11px; opacity: .8; word-break: break-all; min-height: 14px; }

/* the way in */
.gw-gate { position: fixed; inset: 0; z-index: 2147483250; display: flex; align-items: center; justify-content: center; background: radial-gradient(120% 90% at 50% 60%, #0b1630 0%, #04060c 70%); opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility 0s linear .9s; color: #eef1f8; }
.gw-gate.on { opacity: 1; visibility: visible; transition: opacity .9s ease; }
.gw-gate > div { width: min(78vw, 420px); text-align: center; transition: transform 1s ease, opacity 1s ease; }
.gw-gate input { width: 100%; appearance: none; -webkit-appearance: none; background: none; border: 0; border-bottom: 1px solid rgba(255,255,255,.45); border-radius: 0; outline: 0; color: #fff; text-align: center; font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-size: 34px; letter-spacing: .14em; padding: 10px 0 12px; caret-color: #ffd27a; transition: border-color .4s; -webkit-user-select: text; user-select: text; }
.gw-gate input:focus { border-bottom-color: #ffd27a; }
.gw-gate p { margin: 18px 0 0; font-family: 'Inter', system-ui, sans-serif; font-weight: 300; font-size: 10px; letter-spacing: .3em; text-transform: uppercase; opacity: .62; }
.gw-gate.no > div { animation: gwno .45s ease; }
.gw-gate.yes > div { transform: scale(1.5); opacity: 0; }
.gw-gate.yes input { border-bottom-color: #ffd27a; color: #ffe2a0; }
@keyframes gwno { 20% { transform: translateX(-9px); } 40% { transform: translateX(8px); } 60% { transform: translateX(-5px); } 80% { transform: translateX(3px); } }
.gw-gx { position: absolute; right: 24px; top: 22px; appearance: none; border: 0; background: none; color: inherit; font-family: 'Inter', system-ui, sans-serif; font-weight: 300; font-size: 10px; letter-spacing: .28em; text-transform: uppercase; opacity: .6; cursor: pointer; padding: 12px; }

/* the world inside, in 3d */
.g3 { position: fixed; inset: 0; z-index: 2147483200; background: #04060c; opacity: 0; visibility: hidden; transition: opacity 1.2s ease, visibility 0s linear 1.2s; color: #eef1f8; font-family: 'Inter', system-ui, sans-serif; font-weight: 300; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent; }
.g3.on { opacity: 1; visibility: visible; transition: opacity 1.2s ease; }
.g3 > canvas:not(.g3-map) { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; touch-action: none; cursor: pointer; }
.g3 .gw-head, .g3 .gw-x, .g3 .gw-hint { z-index: 2; }
.g3::before { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 170px; z-index: 1; pointer-events: none; background: linear-gradient(rgba(6,12,30,.5), rgba(6,12,30,0)); }
.g3::after { content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 120px; z-index: 1; pointer-events: none; background: linear-gradient(rgba(6,12,30,0), rgba(6,12,30,.4)); }
.g3-dew, .g3-tend, .g3-join, .g3-edit, .g3-make, .g3-card { z-index: 3; }
.g3-dew { position: absolute; left: 26px; bottom: 26px; font-size: 10px; letter-spacing: .28em; text-transform: uppercase; text-shadow: 0 1px 10px rgba(0,0,0,.7); pointer-events: none; }
.g3-dew b { font-weight: 500; color: #bfe6ff; }
.g3-tend, .g3-join, .g3-edit { position: absolute; appearance: none; border: 1px solid rgba(255,255,255,.45); background: rgba(6,10,22,.4); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: inherit; font: inherit; font-size: 10px; letter-spacing: .28em; text-transform: uppercase; padding: 13px 20px; border-radius: 999px; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .5s, transform .5s, background .3s; }
.g3-tend, .g3-join { left: 50%; bottom: 13%; transform: translate(-50%, 10px); border-color: #ffd27a; color: #ffe2a0; font-size: 11px; padding: 16px 26px; box-shadow: 0 0 40px rgba(255,190,90,.25); }
.g3-tend.on, .g3-join.on { opacity: 1; pointer-events: auto; transform: translate(-50%, 0); }
.g3-edit { right: 24px; bottom: 24px; }
.g3-edit.on { opacity: .85; pointer-events: auto; }
.g3-make { position: absolute; right: 24px; top: 50%; transform: translate(20px, -50%); width: 330px; max-height: 84vh; overflow: auto; background: rgba(8,12,26,.66); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border: 1px solid rgba(255,255,255,.16); border-radius: 20px; padding: 16px 18px 18px; opacity: 0; pointer-events: none; transition: opacity .6s, transform .6s; box-shadow: 0 24px 70px rgba(0,0,0,.45); }
.g3-make.on { opacity: 1; pointer-events: auto; transform: translate(0, -50%); }
.g3-make button { appearance: none; font: inherit; color: inherit; cursor: pointer; }
.g3-tabs { display: flex; gap: 6px; margin-bottom: 12px; }
.g3-tabs button { flex: 1; border: 0; background: rgba(255,255,255,.06); border-radius: 999px; padding: 10px; font-size: 10px; letter-spacing: .26em; text-transform: uppercase; opacity: .7; }
.g3-tabs button.on { background: rgba(255,255,255,.2); opacity: 1; }
.g3-row { margin-top: 12px; }
.g3-row > span { display: block; font-size: 9px; letter-spacing: .26em; text-transform: uppercase; opacity: .6; margin-bottom: 7px; }
.g3-row > div { display: flex; flex-wrap: wrap; gap: 7px; align-items: center; }
.g3-row .sw { width: 30px; height: 30px; border-radius: 50%; border: 2px solid rgba(255,255,255,.18); padding: 0; }
.g3-row .sw.on { border-color: #fff; box-shadow: 0 0 0 2px rgba(255,255,255,.25); transform: scale(1.1); }
.g3-row .ch { border: 1px solid rgba(255,255,255,.22); background: none; border-radius: 999px; padding: 7px 12px; font-size: 11px; letter-spacing: .06em; }
.g3-row .ch.on { background: #fff; color: #0a1022; border-color: #fff; }
.g3-name button { border: 1px solid rgba(255,255,255,.22); background: none; border-radius: 10px; min-width: 42px; padding: 7px 10px; font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-size: 19px; }
.g3-name i { margin-left: auto; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 26px; color: #ffe2a0; }
.g3-go { margin-top: 18px; display: flex; flex-direction: column; gap: 4px; }
.g3-go button { border: 1px solid #ffd27a; color: #ffe2a0; background: rgba(255,210,122,.08); border-radius: 999px; padding: 14px; font-size: 10px; letter-spacing: .28em; text-transform: uppercase; }
.g3-go .q { border: 0; background: none; color: inherit; opacity: .6; padding: 10px; }
@media (max-width: 700px) {
  .g3-make { right: 10px; left: 10px; width: auto; top: auto; bottom: 10px; transform: translateY(20px); max-height: 46vh; padding: 12px 14px 14px; border-radius: 18px; }
  .g3-make.on { transform: none; }
  .g3-row { margin-top: 9px; } .g3-row .sw { width: 28px; height: 28px; }
  .g3-dew { left: 18px; bottom: 20px; } .g3-edit { right: 14px; bottom: 14px; padding: 11px 14px; font-size: 9px; } .g3-tend, .g3-join { bottom: 16%; white-space: nowrap; }
}

.g3-here { position: absolute; left: 26px; bottom: 50px; z-index: 3; font-size: 10px; letter-spacing: .28em; text-transform: uppercase; text-shadow: 0 1px 10px rgba(0,0,0,.7); pointer-events: none; }
.g3-here i { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: #7dffa0; box-shadow: 0 0 10px 2px rgba(125,255,160,.7); margin-right: 9px; }
.g3-emo { position: absolute; left: 50%; bottom: 22px; z-index: 3; transform: translateX(-50%); display: flex; gap: 8px; opacity: 0; pointer-events: none; transition: opacity .5s; }
.g3-emo.on { opacity: 1; pointer-events: auto; }
.g3-emo button { appearance: none; border: 1px solid rgba(255,255,255,.35); background: rgba(6,10,22,.4); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: inherit; font: inherit; font-size: 9px; letter-spacing: .24em; text-transform: uppercase; padding: 11px 15px; border-radius: 999px; cursor: pointer; }
.g3-emo button:active { background: rgba(255,255,255,.25); }
@media (max-width: 700px) { .g3-here { left: 18px; bottom: 96px; } .g3-dew { bottom: 74px; } .g3-emo { bottom: 62px; } .g3-edit { right: auto; left: 50%; transform: translateX(-50%); bottom: 14px; } }

.g3-stat { position: absolute; right: 24px; top: 78px; z-index: 3; text-align: right; font-size: 10px; letter-spacing: .26em; text-transform: uppercase; text-shadow: 0 1px 10px rgba(0,0,0,.7); pointer-events: none; }
.g3-stat b { font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-weight: 400; font-size: 26px; letter-spacing: 0; color: #ffe2a0; margin-right: 6px; text-transform: none; }
.g3-stat span { display: block; width: 120px; height: 4px; margin: 8px 0 0 auto; border-radius: 4px; background: rgba(255,255,255,.22); overflow: hidden; }
.g3-stat span i { display: block; height: 100%; background: linear-gradient(90deg, #7dffa0, #d8ff96); border-radius: 4px; transition: width .6s; }
.g3-work { position: absolute; left: 50%; top: 58%; z-index: 3; width: 120px; height: 5px; margin-left: -60px; border-radius: 5px; background: rgba(0,0,0,.35); overflow: hidden; opacity: 0; transition: opacity .3s; pointer-events: none; }
.g3-work i { display: block; height: 100%; width: 0; background: #ffd27a; }
.g3-purse { font-size: 10px; letter-spacing: .26em; text-transform: uppercase; opacity: .85; margin: 4px 2px 10px; }
.g3-purse b { font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-weight: 400; font-size: 24px; color: #ffe2a0; letter-spacing: 0; margin-right: 6px; }
.g3-items { display: flex; flex-direction: column; gap: 6px; }
.g3-items .it { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; border: 1px solid rgba(255,255,255,.16); background: rgba(255,255,255,.04); border-radius: 12px; padding: 11px 13px; text-align: left; }
.g3-items .it em { font-family: 'Cormorant Garamond', Georgia, serif; font-size: 19px; }
.g3-items .it span { font-size: 9px; letter-spacing: .2em; text-transform: uppercase; color: #ffe2a0; white-space: nowrap; }
.g3-items .it.on { border-color: #ffd27a; background: rgba(255,210,122,.1); }
.g3-items .it:disabled { opacity: .4; }
.g3-shop.shake { animation: gwno .45s ease; }
@media (max-width: 700px) { .g3-stat { right: 16px; top: 64px; } .g3-shop { max-height: 58vh; } }

.g3-goal { position: absolute; left: 50%; top: 22px; z-index: 3; transform: translateX(-50%); max-width: min(560px, 62vw); text-align: center; font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-size: clamp(17px, 2vw, 23px); line-height: 1.15; text-shadow: 0 1px 14px rgba(0,0,0,.8); pointer-events: none; }
.g3-goal i { display: block; font-family: 'Inter', sans-serif; font-style: normal; font-size: 9px; letter-spacing: .3em; text-transform: uppercase; opacity: .7; margin-bottom: 5px; }
.g3-goal b { font-family: 'Inter', sans-serif; font-style: normal; font-weight: 400; font-size: 10px; letter-spacing: .14em; color: #ffe2a0; margin-left: 10px; vertical-align: 2px; }
.g3-goal.pop { animation: g3pop .9s ease; }
@keyframes g3pop { 0% { transform: translateX(-50%) scale(1); } 30% { transform: translateX(-50%) scale(1.14); color: #ffe2a0; } 100% { transform: translateX(-50%) scale(1); } }
.g3 .gw-hint { display: none; }
.g3-map { position: absolute; right: 24px; top: 132px; z-index: 3; width: 116px; height: 116px; border-radius: 50%; background: rgba(6,10,22,.38); border: 1px solid rgba(255,255,255,.2); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); pointer-events: none; }
.g3-hoop { position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0; transition: opacity .5s; }
.g3-hoop.on { opacity: 1; }
.g3-hoop .hs { position: absolute; left: 50%; top: 84px; transform: translateX(-50%); font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-weight: 400; font-size: clamp(64px, 9vw, 120px); line-height: 1; text-shadow: 0 2px 30px rgba(0,0,0,.6); transition: color .4s; }
.g3-hoop.fire .hs { color: #ffb347; text-shadow: 0 0 40px rgba(255,150,60,.8); }
.g3-hoop .ht { position: absolute; left: 50%; top: 66px; transform: translateX(-50%); font-size: 11px; letter-spacing: .34em; opacity: .85; font-variant-numeric: tabular-nums; }
.g3-hoop .ht::after { content: ' sec'; }
.g3-hoop .hm { position: absolute; right: 12%; top: 26%; bottom: 26%; width: 10px; border-radius: 10px; background: rgba(0,0,0,.4); border: 1px solid rgba(255,255,255,.3); }
.g3-hoop .hm u { position: absolute; left: -1px; right: -1px; background: rgba(125,255,160,.75); border-radius: 6px; box-shadow: 0 0 14px rgba(125,255,160,.6); }
.g3-hoop .hm i { position: absolute; left: -9px; right: -9px; height: 3px; margin-bottom: -1px; background: #fff; border-radius: 3px; box-shadow: 0 0 10px #fff; }
.g3-hoop .hmsg { position: absolute; left: 0; right: 0; bottom: 20%; text-align: center; font-family: 'Cormorant Garamond', Georgia, serif; font-size: clamp(22px, 3vw, 36px); text-shadow: 0 2px 20px rgba(0,0,0,.8); }
.g3-hoop .hmsg.pop { animation: g3msg 1.6s ease both; }
@keyframes g3msg { 0% { opacity: 0; transform: translateY(12px) scale(.9); } 15% { opacity: 1; transform: none; } 75% { opacity: 1; } 100% { opacity: .55; } }
.g3-hoop .hx { position: absolute; left: 50%; bottom: 24px; transform: translateX(-50%); pointer-events: auto; appearance: none; border: 1px solid rgba(255,255,255,.4); background: rgba(6,10,22,.4); color: inherit; font: inherit; font-size: 9px; letter-spacing: .26em; text-transform: uppercase; padding: 11px 16px; border-radius: 999px; cursor: pointer; }
.g3-note { font-size: 11px; letter-spacing: .08em; opacity: .8; margin: -4px 2px 12px; }
.g3-res .it { cursor: default; }
@media (max-width: 700px) { .g3-map { right: 14px; top: 116px; width: 84px; height: 84px; } .g3-goal { top: 62px; max-width: 64vw; font-size: 16px; } .g3-hoop .hs { top: 130px; } .g3-hoop .ht { top: 112px; } .g3-hoop .hm { right: 7%; } }

.g3-pop { position: absolute; left: 50%; top: 46%; z-index: 4; transform: translateX(-50%); font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-size: 34px; color: #ffe2a0; text-shadow: 0 2px 16px rgba(0,0,0,.7); pointer-events: none; animation: g3rise 1.4s ease-out both; }
@keyframes g3rise { 0% { opacity: 0; transform: translate(-50%, 10px) scale(.8); } 20% { opacity: 1; transform: translate(-50%, 0) scale(1.1); } 100% { opacity: 0; transform: translate(-50%, -70px) scale(1); } }
.g3-build { position: absolute; right: 24px; bottom: 76px; z-index: 3; appearance: none; border: 1px solid rgba(255,255,255,.45); background: rgba(6,10,22,.4); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: inherit; font: inherit; font-size: 10px; letter-spacing: .28em; text-transform: uppercase; padding: 13px 20px; border-radius: 999px; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .5s; }
.g3-build.on { opacity: .9; pointer-events: auto; }
.g3-bp { top: auto; bottom: 24px; transform: translate(20px, 0); max-height: 70vh; }
.g3-bp.on { transform: none; }
.g3-sw { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 6px 0 4px; }
.g3-sw button { height: 84px; border-radius: 14px; border: 2px solid rgba(255,255,255,.18); opacity: .62; transition: opacity .12s, transform .12s, box-shadow .12s; }
.g3-sw button.lit { opacity: 1; transform: scale(1.04); box-shadow: 0 0 26px rgba(255,255,255,.55); border-color: #fff; }
.g3-q { font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-size: 24px; line-height: 1.15; margin: 4px 2px 14px; }
.g3-hoop.contest .ht::after { content: ' balls'; }
.g3-items button.it:disabled { opacity: 1; cursor: default; }
@media (max-width: 700px) { .g3-build { right: 14px; bottom: 60px; padding: 11px 14px; font-size: 9px; } .g3-sw button { height: 62px; } .g3-bp { bottom: 10px; max-height: 50vh; } }

/* the film, hearts and seedlings */
.g3-bars { position: absolute; inset: 0; pointer-events: none; z-index: 6; }
.g3-bars::before, .g3-bars::after { content: ''; position: absolute; left: 0; right: 0; height: 0; background: #000; transition: height 1.5s cubic-bezier(.7,0,.2,1); }
.g3-bars::before { top: 0; } .g3-bars::after { bottom: 0; }
.g3.cine .g3-bars::before, .g3.cine .g3-bars::after { height: 11.5vh; }
.g3.cine > *:not(canvas):not(.g3-bars):not(.g3-title):not(.g3-skip) { opacity: 0 !important; pointer-events: none !important; transition: opacity .8s ease; }
.g3-title { position: absolute; left: 0; right: 0; top: 50%; transform: translateY(-50%); text-align: center; z-index: 7; pointer-events: none; opacity: 0; transition: opacity 2s ease; text-shadow: 0 2px 30px rgba(0,0,0,.55); }
.g3-title.on { opacity: 1; }
.g3-title b { display: block; font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-weight: 400; font-size: clamp(40px, 7vw, 92px); line-height: 1; letter-spacing: .02em; color: #fff7e6; }
.g3-title span { display: block; margin-top: 18px; font-size: 11px; letter-spacing: .42em; text-transform: lowercase; color: rgba(255,255,255,.78); }
.g3-skip { position: absolute; right: 22px; bottom: calc(5.75vh - 12px); z-index: 8; background: none; border: 0; color: rgba(255,255,255,.55); font: inherit; font-size: 11px; letter-spacing: .3em; text-transform: lowercase; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity 1s ease; padding: 6px 4px; }
.g3.cine .g3-skip { opacity: 1; pointer-events: auto; }
.g3-skip:hover { color: #fff; }
.g3-card.on { pointer-events: auto; }
.g3-card button { display: block; margin: 10px auto 0; padding: 8px 16px; border: 1px solid rgba(255,255,255,.35); border-radius: 999px; background: rgba(255,255,255,.08); color: inherit; font: inherit; font-size: 11px; letter-spacing: .14em; text-transform: lowercase; cursor: pointer; }
.g3-card button.q { border-color: transparent; background: none; opacity: .6; margin-top: 4px; }
.g3-card .bond { margin-top: 8px; color: #ffb3c4; }
.g3-kid { display: block; width: 100%; box-sizing: border-box; margin: 14px 0 4px; padding: 12px 14px; border: 1px solid rgba(255,255,255,.25); border-radius: 12px; background: rgba(255,255,255,.06); color: #fff; font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-size: 22px; text-align: center; outline: none; -webkit-user-select: text; user-select: text; }

/* toddi talks, the jukebox, the last leaf */
.g3-talk { max-height: 34vh; overflow: auto; margin: 10px 0 8px; display: flex; flex-direction: column; gap: 8px; }
.g3-talk p { margin: 0; padding: 9px 12px; border-radius: 14px; font-size: 13.5px; line-height: 1.45; max-width: 88%; }
.g3-talk p.t { align-self: flex-start; background: rgba(255,255,255,.09); border-bottom-left-radius: 4px; font-family: 'Cormorant Garamond', Georgia, serif; font-size: 17px; }
.g3-talk p.u { align-self: flex-end; background: rgba(255,226,160,.18); border-bottom-right-radius: 4px; }
.g3-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.g3-chips button { border: 1px solid rgba(255,255,255,.22); border-radius: 999px; padding: 6px 11px; font-size: 11px; background: none; }
.g3-say { font-size: 17px; text-align: left; margin-top: 10px; }
.g3-juke { position: absolute; left: 20px; bottom: 20px; width: 340px; max-width: calc(100vw - 40px); z-index: 4; background: rgba(8,12,26,.72); -webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px); border: 1px solid rgba(255,255,255,.16); border-radius: 18px; padding: 10px 10px 8px; opacity: 0; pointer-events: none; transform: translateY(20px); transition: opacity .6s, transform .6s; box-shadow: 0 24px 70px rgba(0,0,0,.5); }
.g3-juke.on { opacity: 1; pointer-events: auto; transform: none; }
.g3-juke .jh { display: flex; align-items: center; justify-content: space-between; padding: 2px 6px 8px; }
.g3-juke .jh b { font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-weight: 400; font-size: 19px; }
.g3-juke .jx, .g3-jpill { appearance: none; background: none; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; color: inherit; font: inherit; font-size: 10.5px; letter-spacing: .14em; padding: 5px 10px; cursor: pointer; }
.g3-juke iframe { display: block; width: 100%; height: 300px; max-height: 40vh; border: 0; border-radius: 12px; background: transparent; overflow: hidden; }
.g3-jpill { position: absolute; left: 20px; bottom: 20px; z-index: 4; background: rgba(8,12,26,.72); opacity: 0; pointer-events: none; transition: opacity .5s; }
.g3-jpill.on { opacity: 1; pointer-events: auto; }
@media (max-width: 700px) { .g3-juke { left: 10px; bottom: 10px; } .g3-juke iframe { height: 175px; } .g3-jpill { left: 10px; bottom: 70px; } }
.g3.ry > *:not(canvas):not(.g3-ry):not(.g3-res):not(.g3-x):not(.g3-stat) { opacity: 0 !important; pointer-events: none !important; }
.g3-ry { position: absolute; inset: 0; z-index: 4; pointer-events: none; opacity: 0; transition: opacity .6s; }
.g3-ry.on { opacity: 1; }
.g3-ry .rl { position: absolute; top: 22px; left: 50%; transform: translateX(-50%); font-family: 'Cormorant Garamond', Georgia, serif; font-style: italic; font-weight: 400; font-size: 34px; text-shadow: 0 2px 18px rgba(0,0,0,.6); }
.g3-ry .rh { position: absolute; top: 66px; left: 50%; transform: translateX(-50%); font-size: 18px; letter-spacing: .2em; color: #ff8fa8; white-space: nowrap; text-shadow: 0 2px 12px rgba(0,0,0,.6); }
.g3-ry .rf { position: absolute; top: 100px; left: 50%; transform: translateX(-50%); font-style: normal; font-size: 12px; letter-spacing: .12em; color: rgba(255,255,255,.8); white-space: nowrap; text-shadow: 0 2px 12px rgba(0,0,0,.7); }
.g3-ry .rf.pop { animation: g3rf 4.5s ease both; }
@keyframes g3rf { 0% { opacity: 0; } 8% { opacity: 1; } 80% { opacity: 1; } 100% { opacity: .35; } }
.g3-ry button { pointer-events: none; appearance: none; font: inherit; color: inherit; cursor: pointer; }
.g3-ry.on button { pointer-events: auto; }
.g3-ry .rt { position: absolute; right: 26px; bottom: 30px; width: 104px; height: 104px; border-radius: 50%; border: 1px solid rgba(255,255,255,.4); background: rgba(159,224,255,.22); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); font-size: 13px; letter-spacing: .16em; touch-action: manipulation; }
.g3-ry .rt:active { background: rgba(159,224,255,.5); transform: scale(.95); }
.g3-ry .rx { position: absolute; left: 22px; bottom: 30px; border: 1px solid rgba(255,255,255,.25); border-radius: 999px; background: rgba(8,12,26,.6); padding: 8px 14px; font-size: 11px; letter-spacing: .14em; }

/* postcards, the stone, codes */
.g3-post { position: absolute; right: 24px; bottom: 128px; z-index: 3; appearance: none; border: 1px solid rgba(255,255,255,.45); background: rgba(6,10,22,.4); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: inherit; font: inherit; font-size: 10px; letter-spacing: .28em; text-transform: uppercase; padding: 13px 20px; border-radius: 999px; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .5s; }
.g3-post.on { opacity: .9; pointer-events: auto; }
@media (max-width: 700px) { .g3-post { right: 14px; bottom: 106px; padding: 11px 14px; font-size: 9px; } }
.g3-chron { max-height: 46vh; overflow: auto; margin: 10px 0 4px; }
.g3-chron p { margin: 0; padding: 10px 0; border-top: 1px solid rgba(255,255,255,.1); font-family: 'Cormorant Garamond', Georgia, serif; font-size: 17px; line-height: 1.35; }
.g3-chron p i { display: block; font-family: 'Inter', system-ui, sans-serif; font-style: normal; font-size: 9px; letter-spacing: .3em; text-transform: uppercase; color: rgba(255,255,255,.5); margin-bottom: 4px; }
.g3-code { font-style: normal; font-family: 'Inter', system-ui, sans-serif; font-size: 15px; letter-spacing: .22em; text-transform: uppercase; margin-top: 8px; }
.g3-link { font-style: normal; font-family: 'Inter', system-ui, sans-serif; font-size: 11px; letter-spacing: 0; text-align: left; }
.g3-card .bond.real { color: #ffe2a0; }

/* the shop-window view */
.g3.kiosk > *:not(canvas):not(.g3-head), .g3.kiosk > .g3-map { display: none !important; }
.g3.kiosk > canvas { cursor: default; }

/* cars and flying */
.g3-out, .g3-fly { position: absolute; right: 24px; bottom: 180px; z-index: 3; appearance: none; border: 1px solid rgba(255,255,255,.45); background: rgba(6,10,22,.4); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: inherit; font: inherit; font-size: 10px; letter-spacing: .28em; text-transform: uppercase; padding: 13px 20px; border-radius: 999px; cursor: pointer; opacity: 0; pointer-events: none; transition: opacity .5s; }
.g3-out.on, .g3-fly.on { opacity: .9; pointer-events: auto; }
@media (max-width: 700px) { .g3-out, .g3-fly { right: 14px; bottom: 152px; padding: 11px 14px; font-size: 9px; } }

.g3.cine > .g3-map, .g3.ry > .g3-map { opacity: 0 !important; }
