:root { color-scheme: dark; --ink: #090c13; --white: #eff5f4; --mint: #b5f8df; --line: rgba(195,213,227,.16); }
* { box-sizing: border-box; }
html, body { margin: 0; width: 100%; height: 100%; }
body { overflow: hidden; background: var(--ink); color: var(--white); font-family: Avenir, 'Avenir Next', 'Segoe UI', Arial, sans-serif; }
.atmosphere { position: fixed; inset: 0; pointer-events: none; background: radial-gradient(ellipse at 27% 58%, #35335e33, transparent 42%), radial-gradient(ellipse at 74% 30%, #155b4f29, transparent 40%); }
.atmosphere::after { content: ''; position: absolute; inset: 0; opacity: .14; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 170 170'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.78' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Cpath d='M0 0h170v170H0z' filter='url(%23n)' opacity='.38'/%3E%3C/svg%3E"); }
.frame { position: fixed; inset: 30px; border: 1px solid rgba(174,200,219,.05); pointer-events: none; }
.frame i { width: 20px; height: 20px; position: absolute; border: 1px solid #78888b66; }
.frame i:nth-child(1) { top: -1px; left: -1px; border-right: 0; border-bottom: 0; }
.frame i:nth-child(2) { top: -1px; right: -1px; border-left: 0; border-bottom: 0; }
.frame i:nth-child(3) { bottom: -1px; left: -1px; border-right: 0; border-top: 0; }
.frame i:nth-child(4) { bottom: -1px; right: -1px; border-left: 0; border-top: 0; }
.orbit { position: fixed; width: 390px; height: 700px; border: 1px solid rgba(151,190,198,.055); border-radius: 50%; pointer-events: none; top: 50%; transform: translateY(-50%) rotate(-30deg); }
.orbit-left { left: -250px; }
.orbit-right { right: -250px; transform: translateY(-50%) rotate(30deg); }
.orbit::before, .orbit::after { content: ''; position: absolute; border: inherit; border-radius: inherit; inset: 15px; }
.orbit::after { inset: 30px; }
.shop { position: relative; height: 100vh; height: 100dvh; max-width: 820px; margin: auto; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: clamp(22px, 4.2vh, 38px); padding: max(38px, env(safe-area-inset-top)) 36px max(45px, env(safe-area-inset-bottom)); }
.identity { display: flex; flex-direction: column; align-items: center; width: 100%; min-height: 0; flex: 0 1 auto; }
.emblem { position: relative; display: flex; justify-content: center; width: min(100%, 500px); min-height: 0; flex: 0 1 auto; }
.emblem img { display: block; position: relative; width: 100%; height: 100%; max-height: min(35vh, 300px); object-fit: contain; filter: drop-shadow(0 0 16px #91dacc12); animation: levitate 12s ease-in-out infinite; }
.halo { position: absolute; left: 20%; right: 20%; top: 22%; bottom: 13%; background: radial-gradient(ellipse, #668e9518, transparent 65%); filter: blur(20px); }
h1 { flex-shrink: 0; margin: 0; text-align: center; line-height: 1; }
.wordmark { display: block; font-size: clamp(32px, 6.8vw, 58px); font-weight: 400; letter-spacing: .22em; padding-left: .22em; color: #e9f2ef; }
.shop-word { display: flex; justify-content: center; align-items: center; gap: 18px; margin-top: 17px; font-size: 11px; font-weight: 500; letter-spacing: .48em; padding-left: .48em; color: #99b0ae; }
.shop-word i { height: 1px; width: 27px; background: linear-gradient(90deg, transparent, #799c9366); }
.shop-word i:last-child { transform: rotate(180deg); }
nav { display: grid; gap: 10px; width: 100%; max-width: 390px; flex-shrink: 0; }
nav:empty { display: none; }
.shop:has(nav:empty) { gap: 0; }
.link { position: relative; min-width: 0; display: flex; align-items: center; gap: 16px; min-height: 56px; padding: 16px 18px; border: 1px solid #b1c9d12b; border-radius: 9px; background: linear-gradient(110deg, #ffffff06, #ffffff02); text-decoration: none; color: #d7e3e2; font-size: 13px; font-weight: 500; letter-spacing: .025em; transition: border-color .2s, background .2s, transform .2s; }
.link:first-child { border-color: #b5f8df99; color: #111b19; background: linear-gradient(115deg, #d2f8e9, #a9e4d4); box-shadow: 0 0 26px #8de4bf0a; }
.link-index { flex-shrink: 0; font: 10px ui-monospace, SFMono-Regular, Consolas, monospace; color: #76918c; letter-spacing: .05em; }
.link:first-child .link-index { color: #477263; }
.link-label { min-width: 0; flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.arrow { width: 16px; height: 16px; flex-shrink: 0; }
.link:hover { border-color: #a9dfcb; background-color: #b5f8df0d; transform: translateY(-2px); }
.link:first-child:hover { background: #dbfff0; }
.link:active { transform: translateY(0); }
.link:focus-visible { outline: 2px solid #c2aaf2; outline-offset: 4px; }
nav.many { max-width: 600px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
body.dense .emblem img { max-height: 21vh; }
body.dense .shop { gap: 20px; }
body.dense .link { min-height: 44px; padding-top: 11px; padding-bottom: 11px; }
.signature { position: fixed; bottom: 22px; left: 50%; transform: translateX(-50%); display: flex; align-items: center; gap: 10px; pointer-events: none; }
.signature span { width: 20px; height: 1px; background: #7d9d923b; }
.signature i { width: 5px; height: 5px; border: 1px solid #9abdab77; transform: rotate(45deg); }
@keyframes levitate { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-6px); } }
@media (max-width: 540px) {
  .frame { inset: 16px; }
  .shop { padding-left: 28px; padding-right: 28px; gap: 28px; }
  .emblem img { max-height: 29vh; }
  .wordmark { font-size: clamp(27px, 7.8vw, 42px); }
  .link { min-height: 51px; padding: 14px 15px; }
  nav.many { gap: 8px; }
  nav.many .link { gap: 8px; padding: 11px; min-height: 43px; font-size: 12px; }
  nav.many .link-index { display: none; }
  .signature { bottom: 17px; }
}
@media (max-height: 650px) {
  .shop { padding-top: 26px; padding-bottom: 30px; gap: 22px; }
  .emblem img { max-height: 25vh; }
  .wordmark { font-size: clamp(27px, 6vw, 44px); }
  .shop-word { margin-top: 12px; }
  .link { min-height: 43px; padding-top: 10px; padding-bottom: 10px; }
  nav { gap: 8px; }
  body.dense .emblem img { max-height: 14vh; }
  body.dense .shop { gap: 16px; }
}
@media (max-height: 440px) and (min-width: 540px) {
  .shop { max-width: 1060px; flex-direction: row; gap: 26px; padding: 25px 40px; }
  .identity { width: 43%; flex-shrink: 1; }
  .emblem img, body.dense .emblem img { max-height: 50vh; }
  .wordmark { font-size: 29px; }
  nav, nav.many { width: 57%; flex-shrink: 1; gap: 6px; }
  .link, nav.many .link, body.dense .link { min-height: 34px; padding: 7px 10px; font-size: 12px; }
  .link-index { display: none; }
}
@media (prefers-reduced-motion: reduce) { .emblem img { animation: none; } .link { transition: none; } }
