@font-face {
  font-family: UO;
  src: url('/assets/fonts/uofont.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: Fondamento;
  src: url('/assets/fonts/Fondamento-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: dark;
  font-family: Fondamento, Georgia, serif;
  color: #f4db9f;
  background: #17130e;
}
* { box-sizing: border-box; }
body {
  margin: 0;
  min-width: 280px;
  background: #17130e url('/assets/art/uo-background.jpg') right bottom / cover no-repeat fixed;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 50% 42%, #0808067a 0%, #08080630 36%, transparent 67%),
    linear-gradient(#0b0b1138, transparent 40%, #100b054d),
    radial-gradient(ellipse at center, transparent 44%, #0d080780 100%);
}
body::after {
  content: '';
  position: fixed;
  inset: 16px;
  border: 1px solid #dcc38a47;
  outline: 1px solid #1d160f57;
  outline-offset: 4px;
  pointer-events: none;
}
.entry {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: 64px 28px 80px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.title { margin: 0; font-weight: 400; line-height: 1; }
.title > span { display: block; }
.presents {
  font-size: clamp(18px, 2vw, 25px);
  letter-spacing: .08em;
  margin-bottom: 24px;
  color: #f1dfb6;
  text-shadow: 0 2px 3px #130b06, 0 0 18px #000, 0 0 36px #000;
}
.ultima, .online {
  font-family: UO, Fondamento, Georgia, serif;
  color: #e8c778;
  background: linear-gradient(180deg, #fff3c7 10%, #eed58d 31%, #af7738 55%, #ffe5a0 72%, #bc8841 95%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 2px 0 #503213) drop-shadow(0 4px 1px #120904) drop-shadow(0 0 17px #120904b3);
}
.ultima {
  font-size: clamp(94px, 13vw, 184px);
  line-height: 1.05;
  letter-spacing: .015em;
}
.online {
  font-size: clamp(48px, 6.3vw, 88px);
  letter-spacing: .15em;
  padding-left: .15em;
  margin-top: -6px;
  line-height: 1.2;
}
.bitcoin {
  display: flex !important;
  align-items: center;
  justify-content: center;
  gap: 18px;
  font-size: clamp(20px, 2.3vw, 28px);
  margin-top: 24px;
  color: #f3dba3;
  text-shadow: 0 2px 3px #150d07, 0 0 15px #000, 0 0 24px #000;
}
.bitcoin::before, .bitcoin::after {
  content: '';
  width: clamp(34px, 6vw, 78px);
  height: 1px;
  background: linear-gradient(90deg, transparent, #e3bd72);
  box-shadow: 0 1px #1e100a66;
}
.bitcoin::after { transform: rotate(180deg); }
.connect-wrap { margin-top: clamp(45px, 7vh, 76px); }
#connect {
  position: relative;
  display: block;
  width: 334px;
  max-width: calc(100vw - 72px);
  min-height: 70px;
  padding: 14px 24px 16px;
  border: 2px solid #c5a268;
  border-radius: 3px;
  outline: 1px solid #4f351c;
  outline-offset: 3px;
  background:
    linear-gradient(180deg, #d28e4130, #19040040),
    url('/assets/art/btn-garnet.webp') center / cover,
    #561d18;
  box-shadow:
    inset 0 0 0 2px #28100d,
    inset 0 0 0 3px #dbb67570,
    inset 0 5px 8px #ffd09b1f,
    inset 0 -5px 10px #13050080,
    0 5px 8px #0c050acc,
    0 0 35px #1b0b0673;
  color: #ffebbd;
  font: 400 24px/1.3 Fondamento, Georgia, serif;
  text-shadow: 0 2px 2px #170400, 0 0 8px #210501;
  cursor: pointer;
  transition: filter 160ms ease, transform 160ms ease, box-shadow 160ms ease;
  -webkit-tap-highlight-color: transparent;
}
#connect::before, #connect::after {
  content: '';
  position: absolute;
  top: calc(50% - 3px);
  width: 6px;
  height: 6px;
  background: #e6c387;
  border: 1px solid #72502a;
  transform: rotate(45deg);
  box-shadow: 1px 1px 2px #210a08;
}
#connect::before { left: 9px; }
#connect::after { right: 9px; }
#connect:hover:not(:disabled) { filter: brightness(1.2); transform: translateY(-1px); }
#connect:active:not(:disabled) { filter: brightness(.96); transform: translateY(1px); }
#connect:focus-visible { outline: 2px solid #fff1c9; outline-offset: 6px; }
#connect:disabled { cursor: wait; filter: saturate(.7); }
#connect[data-error] { font-size: 20px; }
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 600px) {
  body { background-position: 68% bottom; }
  body::after { inset: 10px; }
  .entry { padding: 48px 24px 64px; }
  .presents { margin-bottom: 28px; }
  .ultima { font-size: clamp(48px, 18.5vw, 108px); }
  .online { font-size: clamp(46px, 12.5vw, 74px); }
  .bitcoin { margin-top: 26px; }
  .connect-wrap { margin-top: 58px; }
  #connect { font-size: 22px; min-height: 66px; }
}
@media (max-height: 600px) and (min-width: 601px) {
  .entry { padding: 32px 24px; }
  .presents { font-size: 18px; margin-bottom: 10px; }
  .ultima { font-size: 100px; }
  .online { font-size: 48px; }
  .bitcoin { font-size: 20px; margin-top: 12px; }
  .connect-wrap { margin-top: 28px; }
  #connect { min-height: 58px; font-size: 22px; }
}
@media (prefers-reduced-motion: reduce) {
  #connect { transition: none; }
}
@media (forced-colors: active) {
  .ultima, .online { background: none; -webkit-text-fill-color: CanvasText; filter: none; }
  #connect { border: 2px solid ButtonText; }
}
.wallet-networks { margin: 18px 0 0; color: #e0cfaa; font: 13px/1.5 system-ui, sans-serif; letter-spacing: .08em; text-shadow: 0 2px 5px #000; }
#message { max-width: 360px; margin: 12px auto 0; color: #eadab8; font: 14px/1.5 system-ui, sans-serif; text-shadow: 0 2px 4px #000; }
#wallet-picker { width: min(470px, calc(100vw - 32px)); max-height: calc(100dvh - 32px); padding: 30px; border: 1px solid #ac8952; border-radius: 9px; background: linear-gradient(145deg,#292017,#12100e); color: #f4db9f; box-shadow: 0 24px 90px #000b, inset 0 0 0 4px #18130d; text-align: left; }
#wallet-picker::backdrop { background: #080705c9; backdrop-filter: blur(5px); }
#wallet-close { position: absolute; right: 12px; top: 10px; width: 36px; height: 36px; border: 0; border-radius: 4px; background: transparent; color: #dccca9; font: 28px/1 system-ui; cursor: pointer; }
.wallet-eyebrow { margin: 0 30px 12px 0; color: #b49a6d; font: 10px/1.5 system-ui; letter-spacing: .16em; }
#wallet-title { margin: 0; font-size: 30px; font-weight: 400; }
#wallet-intro, .wallet-note, #wallet-status { font: 13px/1.5 system-ui, sans-serif; color: #cabfae; }
#wallet-intro { margin: 8px 0 22px; }
#wallet-picker h3 { margin: 20px 0 8px; color: #c5ad81; font: 11px/1.5 system-ui, sans-serif; text-transform: uppercase; letter-spacing: .1em; }
.wallet-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; }
#ethereum-wallets:not(:empty) { margin-top: 10px; }
.wallet-option { display: flex; flex-direction: column; gap: 5px; width: 100%; min-height: 66px; padding: 13px 15px; border: 1px solid #685335; border-radius: 5px; background: #372b1b70; color: #f4ddb0; text-align: left; font: 16px/1.35 system-ui, sans-serif; cursor: pointer; }
.wallet-option strong { font-weight: 500; }
.wallet-option span { color: #bdb09a; font-size: 11px; }
.wallet-option:hover:not(:disabled) { border-color: #d7b270; background: #51402680; }
.wallet-option:focus-visible, #wallet-close:focus-visible { outline: 2px solid #f4d893; outline-offset: 3px; }
.wallet-option:disabled { opacity: .55; cursor: wait; }
#wallet-status:empty { display: none; }
#wallet-status { padding: 12px; border-left: 2px solid #b89b66; background: #0003; overflow-wrap: anywhere; }
.wallet-note { padding-top: 16px; margin: 20px 0 0; border-top: 1px solid #67523570; font-size: 11px; }
@media(max-width: 420px) { #wallet-picker { padding: 26px 20px; } #wallet-title { font-size: 26px; } .wallet-option { padding: 12px 10px; } }

.google-signin {display:flex;justify-content:center;min-height:44px;font:15px system-ui;color:#d4c4a3;}
.google-start {width:280px;min-height:44px;border:1px solid #dadce0;border-radius:4px;background:#fff;color:#202124;font:500 15px system-ui;cursor:pointer;}
.google-start:disabled {opacity:.7;cursor:wait;}
.signin-divider {color:#d2c4aa;font:13px system-ui;margin:14px 0;}

.signin-privacy{font:12px system-ui;margin:10px 0}.signin-privacy a{color:#d2c4aa}
