:root {
  /* Outer silhouettes; nested corners subtract their actual border/padding inset. */
  --radius-panel: 16px;
  --radius-card: 10px;
  --radius-control: 6px;
  --radius-detail: 4px;
  font-family: UnivalHome, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  color: var(--color-text);
  background: var(--color-surface);
  font-synthesis: none;
  --header-height: 64px;
  --header-offset: 0px;
  --header-clearance: calc(var(--header-offset) + var(--header-height));
  --dock-clearance: calc(95px + env(safe-area-inset-bottom, 0px));
  --nav-pill-background: #ffffffed;
  --nav-pill-border: var(--line);
  --nav-pill-text: var(--muted);
  --nav-pill-active-text: var(--color-primary);
  --nav-pill-active-background: var(--color-primary-soft);
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  padding-bottom: var(--dock-clearance);
}
button, input {
  font: inherit;
}
button, a {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
  color: inherit;
}
button:disabled {
  cursor: default;
  opacity: 0.6;
}
a {
  color: inherit;
  text-decoration: none;
}
button:focus-visible, a:focus-visible, input:focus-visible, summary:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 5px;
}
img {
  display: block;
  max-width: 100%;
}
[hidden] {
  display: none !important;
}
::selection {
  background: var(--color-primary-soft);
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-clearance) + 20px);
  scroll-padding-bottom: var(--dock-clearance);
}
h1, h2, h3, p {
  margin: 0;
}
h1, h2, h3 {
  word-break: keep-all;
}
p {
  word-break: keep-all;
  line-height: 1.75;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.skip-link {
  position: fixed;
  top: -80px;
  left: 20px;
  z-index: 100;
  padding: 15px;
  background: white;
}
.skip-link:focus {
  top: 10px;
}
.btn {
  border: 0;
  background: var(--color-primary-fill);
  color: var(--color-primary-ink);
  padding: 14px 22px;
  font-size: 14px;
  font-weight: 650;
  border-radius: var(--radius-control);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  line-height: 1.35;
  transition:
    background 0.18s,
    transform 0.18s;
}
.btn:hover {
  background: var(--color-primary-border);
  transform: translateY(-1px);
}
.btn-white {
  background: white;
  color: var(--dark);
  border: 1px solid var(--line);
}
.btn-white:hover {
  background: var(--color-primary-subtle);
}
.btn-outline {
  background: transparent;
  border: 1px solid var(--color-primary-border);
  color: var(--dark);
}
.btn-outline:hover {
  background: var(--color-primary-soft);
}
.btn-small {
  padding: 11px 15px;
  font-size: 13px;
}
.ms-icon {
  display: grid;
  grid-template-columns: repeat(2, 7px);
  gap: 2px;
  flex-shrink: 0;
}
.ms-icon i {
  width: 7px;
  height: 7px;
  background: currentColor;
}
.ms-icon.color i:nth-child(1) {
  background: #f35325;
}
.ms-icon.color i:nth-child(2) {
  background: #81bc06;
}
.ms-icon.color i:nth-child(3) {
  background: #05a6f0;
}
.ms-icon.color i:nth-child(4) {
  background: #ffba08;
}
.preview-bar {
  padding: 9px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--color-text-muted);
  background: var(--color-primary-subtle);
  border-bottom: 1px solid var(--color-primary-border);
}
.preview-bar span {
  font-weight: 750;
}
.preview-bar a {
  border-bottom: 1px solid var(--color-primary-border);
  font-size: 12px;
}
main {
  max-width: 1280px;
  padding: 28px 32px 72px;
  margin: auto;
  min-height: 70vh;
}
main:focus {
  outline: 0;
}
.eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  letter-spacing: 2.2px;
  font-weight: 700;
  color: var(--color-text-muted);
}
.tiny-cross {
  font-size: 17px;
  line-height: 12px;
  color: var(--color-primary);
}
.section-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  margin-bottom: 20px;
  gap: 20px;
}
.section-heading h2 {
  font-size: 22px;
  font-weight: 730;
  letter-spacing: -0.8px;
}
.section-heading p {
  font-size: 12px;
  color: var(--muted);
  margin-top: 8px;
}
.text-link {
  font-size: 12px;
  color: var(--color-primary);
  display: inline-flex;
  gap: 9px;
  align-items: center;
  white-space: nowrap;
}
.text-link:hover {
  color:var(--color-primary-hover);
  text-decoration: underline;
}
.section {
  margin-top: 64px;
}
.pixel-icon {
  image-rendering: pixelated;
  object-fit: contain;
  flex-shrink: 0;
}
.overline {
  font-size: 12px;
  letter-spacing: 1.8px;
  color: var(--color-text-muted);
  font-weight: 650;
}
.money small {
  font-size: 12px;
  font-weight: 400;
  color: var(--color-text-muted);
  margin-left: 4px;
}
.avatar {
  display: block;
  width: 35px;
  height: 35px;
  border-radius: var(--radius-detail);
  background: var(--color-primary-soft) url('/assets/imgs/default-face.svg?v=5d05789daa587c804115') center / cover;
  flex-shrink: 0;
  overflow: hidden;
}
.avatar img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  image-rendering: pixelated;
}
.page-head {
  margin: 24px 0 32px;
}
.page-head h1 {
  font-size: 36px;
  letter-spacing: -1.4px;
  font-weight: 750;
  margin: 12px 0;
}
.page-head p {
  font-size: 14px;
  color: var(--muted);
}
.page-head.split {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.round-label {
  font-size: 12px;
  border: 1px solid var(--color-primary-border);
  border-radius: var(--radius-control);
  padding: 7px 12px;
  color: var(--color-primary-ink);
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--color-primary-subtle);
}
.round-label:before {
  content: '';
  background: var(--color-primary);
  width: 5px;
  height: 5px;
  border-radius: 50%;
}
.muted {
  color: var(--muted);
}
.empty-state {
  text-align: center;
  padding: 54px 0;
  border-top: 1px solid var(--line);
}
.empty-state h2 {
  font-size: 18px;
  margin: 15px 0 10px;
}
.empty-state p {
  font-size: 12px;
  color: var(--muted);
}
.empty-state .btn {
  margin-top: 20px;
}
.empty-mark {
  font-size: 25px;
  opacity: 0.45;
}
.empty-state.compact {
  padding: 25px 0;
  background: transparent;
  border: 0;
}
.empty-state.compact h2 {
  font-size: 13px;
}
.empty-state.compact p {
  font-size: 12px;
}
.inline-btn {
  background: none;
  border: 0;
  padding: 0;
  margin-left: 7px;
  color: var(--color-primary);
  font-size: 12px;
  text-decoration: underline;
}
dialog {
  border: 1px solid var(--color-primary-border);
  border-radius: var(--radius-panel);
  width: 430px;
  max-width: calc(100% - 32px);
  padding: 0;
  color: var(--dark);
  box-shadow: 0 24px 100px #18364a24;
}
dialog::backdrop {
  background: #18364a4d;
  backdrop-filter: blur(4px);
}
#modal-content {
  padding: 38px;
}
.dialog-close {
  position: absolute;
  right: 13px;
  top: 11px;
  background: none;
  border: 0;
  font-size: 25px;
  color: var(--color-text-muted);
  width: 32px;
  height: 32px;
}
.dialog-icon {
  width: 57px;
  height: 57px;
  image-rendering: pixelated;
  margin-bottom: 22px;
}
/* Decorative server dive/slide; the connection action is available immediately. */
.join-dash { position:relative;height:184px;margin:0 0 14px;overflow:hidden; }
.join-dash canvas { display:block;position:absolute;inset:0;width:100%;height:100%; }
.join-dash-fallback { position:absolute;left:0;right:0;bottom:16px;height:3px;background:var(--color-primary-subtle); }
.join-dash[data-dash-state="ready"] .join-dash-fallback { visibility:hidden; }
.join-dash[data-dash-state="fallback"] .join-dash-fallback { background:var(--color-primary); }

.dialog-title {
  font-size: 25px;
  line-height: 1.4;
  letter-spacing: -0.8px;
  margin-bottom: 14px;
}
.dialog-copy {
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.8;
}
.dialog-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 25px;
}
.dialog-actions .btn {
  width: 100%;
}
.dialog-footnote {
  margin-top: 19px;
  font-size: 12px;
  color: var(--color-text-muted);
  line-height: 1.7;
}
.dialog-divider {
  height: 1px;
  background: var(--line);
  margin: 25px 0 18px;
}
.dialog-label {
  font-size: 12px;
  color: var(--color-text-muted);
  margin-bottom: 10px;
}
.copy-field {
  padding: 13px 14px;
  background: var(--color-primary-subtle);
  border: 1px solid var(--line);
  border-radius: var(--radius-control);
  width: 100%;
  font-size: 13px;
  color: var(--color-primary-ink);
}
.copy-address { display:flex;align-items:center;justify-content:space-between;gap:12px;text-align:left; }
.copy-address:hover { background:var(--color-primary-soft); }
.copy-address > span { overflow-wrap:anywhere;min-width:0; }
.copy-address svg { flex-shrink:0;width:19px;height:19px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linejoin:round; }
.toast {
  position: fixed;
  bottom: var(--dock-clearance);
  left: 50%;
  transform: translate(-50%, 20px);
  padding: 14px 24px;
  background: #183e56;
  color: white;
  border: 1px solid #4f7b95;
  border-radius: var(--radius-control);
  font-size: 12px;
  opacity: 0;
  pointer-events: none;
  transition: 0.2s;
  z-index: 50;
  max-width: calc(100vw - 35px);
  width: max-content;
}
.toast.visible {
  opacity: 1;
  transform: translate(-50%, 0);
}
.noscript {
  margin: 20px auto;
  max-width: 800px;
  padding: 20px;
}
.loading {
  padding: 80px;
  text-align: center;
  color: var(--color-text-muted);
  font-size: 13px;
}
.loading:before {
  content: '';
  display: block;
  margin: 0 auto 15px;
  width: 20px;
  height: 20px;
  border: 2px solid var(--color-primary-border);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.page-enter {
  animation: appear 0.3s ease;
}
@keyframes appear {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 760px) {
:root {
    --header-height: 56px;
    --header-offset: calc(10px + env(safe-area-inset-top, 0px));
    --dock-clearance: calc(85px + env(safe-area-inset-bottom, 0px));
  }
.btn-small {
    font-size: 12px;
    padding: 10px 11px;
  }
.preview-bar {
    font-size: 12px;
    gap: 7px;
    padding: 8px 10px;
    flex-wrap: wrap;
  }
.preview-bar a {
    font-size: 12px;
  }
main {
    padding: 19px 20px 45px;
  }
.eyebrow {
    font-size: 12px;
    letter-spacing: 1.7px;
  }
.section {
    margin-top: 48px;
  }
.section-heading {
    gap: 15px;
  }
.section-heading h2 {
    font-size: 20px;
  }
.section-heading p {
    font-size: 12px;
  }
.text-link {
    font-size: 12px;
  }
.page-head {
    margin: 19px 0 25px;
  }
.page-head h1 {
    font-size: 29px;
    margin: 11px 0;
  }
.page-head p {
    font-size: 12px;
  }
.page-head.split {
    align-items: start;
  }
.page-head.split .round-label {
    font-size: 12px;
    padding: 6px 9px;
    margin-top: 31px;
  }
#modal-content {
    padding: 33px 27px;
  }
.dialog-title {
    font-size: 24px;
  }
.toast {
    font-size: 12px;
  }
.loading {
    padding: 65px 20px;
  }
}
@media (prefers-reduced-motion: reduce) {
*, *:before, *:after {
    scroll-behavior: auto !important;
    animation: none !important;
    transition: none !important;
  }
}
/* Animate navigation indicators, never a snapshot of the whole viewport. */
:root { view-transition-name:none; }
@media (prefers-reduced-motion: no-preference) {
  @view-transition { navigation: auto; }
  .dock-items { view-transition-name:dock-labels; }
  .dock-item[aria-current] > .dock-indicator { view-transition-name:dock-active; }
  ::view-transition-group(dock-active) {
    z-index:1;
    animation-duration:360ms;
    animation-timing-function:cubic-bezier(.22,1,.36,1);
  }
  /* One moving selection surface: no old/new opacity crossfade. */
  ::view-transition-old(dock-active) { display:none; }
  ::view-transition-new(dock-active) { height:100%;animation:none;mix-blend-mode:normal; }
  /* Keep labels above the moving background, at their final size and position. */
  ::view-transition-group(dock-labels) { animation:none;z-index:2; }
  ::view-transition-old(dock-labels) { display:none; }
  ::view-transition-new(dock-labels) { animation:none;mix-blend-mode:normal; }
}
/* Banners span the viewport; text stays within a shared reading width. */
main:has(> .full-width-page) { max-width:none;padding:0 0 72px }
.reading-wrap { max-width:1184px;margin:0 auto;padding-left:32px;padding-right:32px }
/* Keep the illustration beside the whole title/description group. */
.banner-inner { display:grid;grid-template-columns:minmax(0,610px) auto;align-items:start;justify-content:start;gap:8px 20px;padding-top:24px;padding-bottom:16px; }
.banner-inner h1 { grid-column:1;font-size:32px;letter-spacing:-1px;margin:0;line-height:1.35; }
.banner-inner p { grid-column:1;max-width:610px;margin:0;font-size:15px;line-height:1.8;color:var(--muted); }
.banner-inner > img { grid-column:2;grid-row:1 / span 2;align-self:center;width:64px;height:64px;object-fit:contain;image-rendering:pixelated; }
.article-actions { display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin-top:28px }.plain-links { margin-top:24px;border-top:1px solid var(--line) }.plain-links a { padding:22px 0;border-bottom:1px solid var(--line);display:flex;justify-content:space-between;gap:20px;font-weight:650 }.plain-links span { font-size:13px;color:var(--muted);font-weight:400 }.plain-links a:hover { color:var(--accent) }
.demo-notice { padding:16px 0;border-bottom:1px solid var(--line);font-size:13px;color:var(--muted);line-height:1.8 }.demo-notice strong { color:var(--accent);margin-right:8px }.page-section { padding-top:40px;padding-bottom:40px }
select,textarea { font:inherit;color:inherit }textarea:focus-visible,select:focus-visible { outline:3px solid var(--color-focus);outline-offset:3px }.field { display:flex;flex-direction:column;gap:9px;margin:20px 0;font-size:14px }.field input,.field select,.field textarea { width:100%;min-width:0;padding:13px;border:1px solid var(--line);background:#fff;border-radius:var(--radius-control) }.field textarea { min-height:200px;resize:vertical }.status-copy { color:var(--accent);font-size:14px;line-height:1.8 }
@media(max-width:760px){main:has(> .full-width-page){padding-bottom:45px}.reading-wrap{padding-left:20px;padding-right:20px}.banner-inner{grid-template-columns:minmax(0,1fr) auto;gap:8px 14px;padding-top:20px;padding-bottom:12px}.banner-inner > img{width:48px;height:48px}.banner-inner h1{font-size:26px}.banner-inner p{font-size:14px}.plain-links a{flex-direction:column;gap:9px}}

/* Reusable server-rendered loading_indicator(); page CSS owns its placement. */
.loading-indicator { display:flex;flex-direction:column;align-items:center;justify-content:center;gap:14px;font-size:14px;line-height:1.5;text-align:center; }
.loading-indicator[hidden], .loading-indicator__percent[hidden] { display:none; }
.loading-indicator__spinner { position:relative;width:64px;height:64px;flex:none; }
.loading-indicator__bar { position:absolute;top:0;left:29px;width:6px;height:14px;background:currentColor;transform-origin:3px 32px;transform:rotate(calc(var(--bar)*45deg));opacity:.2;animation:loading-indicator-pulse 1s linear infinite;animation-delay:calc(var(--bar)*.125s - 1s); }
.loading-indicator__percent { position:absolute;inset:0;display:grid;place-items:center;font-size:12px;font-weight:600;font-variant-numeric:tabular-nums; }
@keyframes loading-indicator-pulse { 0% { opacity:1; } 100% { opacity:.2; } }
@media(prefers-reduced-motion:reduce) { .loading-indicator__bar { animation:none; } }

.site-breadcrumb { padding-top:18px;padding-bottom:18px;font-size:13px;line-height:1.6; }
.site-breadcrumb ol { display:flex;flex-wrap:wrap;gap:6px 10px;list-style:none;padding:0;margin:0; }
.site-breadcrumb li { display:flex;align-items:baseline;gap:10px;min-width:0; }
.site-breadcrumb a { color:var(--muted); }
.site-breadcrumb a:hover { color:var(--accent);text-decoration:underline;text-underline-offset:3px; }
.site-breadcrumb [aria-current] { color:var(--accent);font-weight:600;overflow-wrap:anywhere; }
.breadcrumb-separator { color:var(--muted); }
main:not(:has(> .full-width-page)) > .site-breadcrumb { padding:0 0 24px; }
@media(max-width:760px) { .site-breadcrumb { display:none; } }
