:root {
  color-scheme: light;
  font-family: "Segoe UI", system-ui, sans-serif;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
}
* { box-sizing: border-box; }
html, body { width: 100%; min-height: 100%; margin: 0; background: #fff; color: #050505; }
body { min-height: 100dvh; overflow: hidden; }
.mobile-home {
  display: grid;
  grid-template-rows: auto auto 1fr auto;
  gap: 34px;
  min-height: 100dvh;
  padding: calc(var(--safe-top) + 24px) 20px calc(var(--safe-bottom) + 18px);
  background: #fff;
}
.mobile-home[hidden] { display: none; }
.mobile-home .wiki-kiwi-signature {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  width: 100%;
  color: #050505;
}
.mobile-home .wiki-kiwi-signature img { width: 28px; height: 28px; }
.mobile-home .wiki-kiwi-signature small { font-size: 11px; font-weight: 650; letter-spacing: .09em; text-transform: none; }
.connected-member { margin: -23px 0 0; text-align: center; color: #555; font-size: 10px; font-weight: 700; letter-spacing: .06em; }
.mobile-member-login { min-height: 100dvh; display: grid; place-items: center; padding: calc(var(--safe-top) + 24px) 20px calc(var(--safe-bottom) + 24px); background: #fff; color: #050505; }
.mobile-member-login[hidden] { display: none; }
.mobile-member-login form { width:min(300px,calc(100vw - 48px)); display:grid; justify-items:center; align-content:center; gap:14px; text-align:center; margin-inline:auto; }
.mobile-member-login h1 { width:100%; margin:0 0 26px; font-size:30px; font-weight:400; letter-spacing:-.03em; text-align:center; }
.mobile-member-login input { justify-self:center; width:100%; height:52px; margin:0 auto; padding:0; border:0; border-radius:0; background:transparent; color:#111; font-family:inherit; font-size:17px; font-weight:400; line-height:1.2; text-align:center; outline:none }
.mobile-member-login input::placeholder{color:#999;opacity:1}
.mobile-member-login input:focus{border:0;box-shadow:none}
.mobile-member-login .login-submit-hint{min-height:0;margin:24px 0 0;color:#050505;font-size:11px;font-weight:400;letter-spacing:.035em;line-height:1.2}
.mobile-member-login .login-submit-hint[hidden]{display:none}
.mobile-member-login p { min-height: 34px; margin: 4px 0 0; color: #555; font-size: 11px; line-height: 1.5; text-align:center }
.spaces { align-self: center; display: grid; gap: 10px; }
.space {
  position: relative;
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  width: 100%;
  min-height: 94px;
  padding: 15px 14px;
  border: 1px solid #050505;
  border-radius: 0;
  background: #fff;
  color: #050505;
  text-align: left;
}
.space-index { align-self: start; color: #050505; font-size: 10px; font-weight: 900; letter-spacing: .14em; }
.space-copy { display: grid; gap: 5px; }
.space-copy strong { font-size: 25px; letter-spacing: -.04em; }
.space-copy small { color: #555; font-size: 11px; }
.space > b { align-self: start; padding: 4px 7px; border: 1px solid currentColor; border-radius: 999px; font-size: 8px; letter-spacing: .13em; text-transform: uppercase; }
.space.is-disabled { border-color: #d5d5d5; color: #aaa; opacity: 1; }
.space.is-disabled .space-index, .space.is-disabled .space-copy small { color: #b6b6b6; }
.space.is-active { cursor: pointer; transition: background .18s ease, color .18s ease, transform .18s ease; }
.space.is-active:active { transform: scale(.985); background: #050505; color: #fff; }
.space.is-active:active .space-index, .space.is-active:active .space-copy small { color: #ddd; }
.mobile-home footer { display: flex; justify-content: space-between; gap: 16px; color: #777; font-size: 8px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.splash { position: fixed; z-index: 10; inset: 0; display: grid; place-content: center; justify-items: center; gap: 18px; background: #fff; color: #000; overflow: hidden; }
.splash[hidden] { display: none; }
.splash-character { width: 150px; height: 150px; display: grid; place-items: center; animation: slim-bounce-in .85s cubic-bezier(.22, 1.25, .36, 1) both; }
.splash-character img { width: 132px; height: 132px; }
.splash p { margin: 0; text-align: center; font-size: 15px; line-height: 1.25; opacity: 0; animation: welcome-in .48s .75s ease forwards; }
.splash p strong { font-size: 25px; letter-spacing: -.04em; }
.splash.is-leaving .splash-character { animation: slim-bounce-out .8s cubic-bezier(.55, -.3, .8, .4) both; }
.splash.is-leaving p { animation: welcome-out .32s ease forwards; }
@keyframes slim-bounce-in { 0% { opacity: 0; transform: translateY(105vh) rotate(-15deg) scale(.78); } 62% { opacity: 1; transform: translateY(-28px) rotate(7deg) scale(1.06); } 78% { transform: translateY(10px) rotate(-3deg) scale(.97); } 100% { opacity: 1; transform: none; } }
@keyframes slim-bounce-out { 0% { opacity: 1; transform: none; } 30% { transform: translateY(-34px) rotate(7deg) scale(1.04); } 100% { opacity: 0; transform: translateY(-110vh) rotate(-18deg) scale(.78); } }
@keyframes welcome-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes welcome-out { to { opacity: 0; transform: translateY(-12px); } }
@media (min-width: 600px) { .mobile-home { width: min(480px, 100%); margin: auto; } .space { min-height: 104px; } }
@media (prefers-reduced-motion: reduce) { * { animation: none !important; transition: none !important; } .splash p { opacity: 1; } }
