:root {
  color-scheme: dark;
  --site-bg: #0a0a0a;
  --site-panel: rgba(255, 255, 255, .045);
  --site-line: rgba(255, 255, 255, .1);
  --site-text: #f8fafc;
  --site-muted: rgba(255, 255, 255, .62);
  --site-accent: #00d4ff;
}

html { min-height: 100%; background: var(--site-bg); }
body {
  min-height: 100vh;
  color: var(--site-text);
  background: radial-gradient(ellipse at 12% 0%, rgba(0, 212, 255, .11), transparent 34rem),
              radial-gradient(ellipse at 95% 35%, rgba(0, 102, 255, .09), transparent 32rem),
              var(--site-bg);
  font-family: Inter, "Noto Sans JP", system-ui, sans-serif;
  cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='8' fill='%2300d4ff' fill-opacity='.82' stroke='white' stroke-opacity='.75' stroke-width='1'/%3E%3C/svg%3E") 10 10, auto;
}
a { color: var(--site-accent); }
a:hover { color: #8beaff; }
a, button, select, summary, [role="button"] { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='8' fill='%2300d4ff' fill-opacity='.82' stroke='white' stroke-opacity='.75' stroke-width='1'/%3E%3C/svg%3E") 10 10, pointer; }
input, textarea { cursor: text; }
::selection { color: #031016; background: rgba(0, 212, 255, .72); }
html { scrollbar-color: rgba(0,212,255,.45) #0a0a0a; scrollbar-width: thin; }

body > header, body > nav {
  color: var(--site-text);
  background: rgba(0, 0, 0, .82);
  border-bottom: 1px solid var(--site-line);
  backdrop-filter: blur(18px);
}
body > header { position: sticky; top: 0; z-index: 20; }
body > header .brand, .top .brand, .nav .brand {
  color: white;
  font-weight: 700;
  letter-spacing: .025em;
  text-decoration: none;
}
.top, .nav { color: var(--site-text); }

main, main.wrap, main.hero {
  color: var(--site-text);
}
main.wrap, body > main:not(.wrap) {
  width: min(100% - 2.5rem, 80rem);
  margin-left: auto;
  margin-right: auto;
}
main.wrap { padding-top: 2rem; padding-bottom: 4rem; }
body > main:not(.wrap) { padding-top: 3rem; padding-bottom: 4rem; }
.hero {
  position: relative;
  overflow: hidden;
  margin: 1.5rem 0 2rem;
  padding: clamp(1.5rem, 4vw, 3rem);
  border: 1px solid rgba(0, 212, 255, .16);
  border-radius: 1.5rem;
  background: linear-gradient(135deg, rgba(0, 212, 255, .09), rgba(255,255,255,.035) 55%, rgba(0,102,255,.08));
  box-shadow: 0 18px 60px rgba(0, 0, 0, .24);
}
.eyebrow { color: #67e8f9; letter-spacing: .16em; }
h1, h2, h3 { color: white; letter-spacing: -.025em; }
p, .muted, .intro, .note, .hint, .updated { color: var(--site-muted); }

.card, .panel, .search-panel, article.card, section.panel {
  color: var(--site-text);
  background: var(--site-panel);
  border: 1px solid var(--site-line);
  border-radius: 1.25rem;
  box-shadow: 0 14px 40px rgba(0, 0, 0, .16);
  backdrop-filter: blur(14px);
}
.card:hover, .panel:hover, .search-panel:hover {
  border-color: rgba(0, 212, 255, .28);
}
input, select, textarea {
  color: white;
  background-color: #11131a;
  border-color: rgba(255, 255, 255, .16);
  color-scheme: dark;
}
select option, select optgroup { color: #f8fafc; background-color: #11131a; }
input::placeholder, textarea::placeholder { color: rgba(255,255,255,.4); }
input:focus, select:focus, textarea:focus { outline: 2px solid rgba(0,212,255,.7); outline-offset: 2px; border-color: var(--site-accent); }
button:focus-visible, a:focus-visible, [role="button"]:focus-visible { outline: 2px solid var(--site-accent); outline-offset: 3px; }
button, .button, a.button {
  border-radius: .75rem;
  transition: background-color .2s ease, border-color .2s ease, transform .2s ease;
}
button:not(:disabled):hover, .button:hover { transform: translateY(-1px); }
button:not(:disabled):hover { border-color: rgba(0,212,255,.48); }
footer, .foot { color: rgba(255,255,255,.5); border-color: var(--site-line); }

@media (max-width: 640px) {
  main.wrap, body > main:not(.wrap) { width: min(100% - 1.25rem, 80rem); }
  main.wrap { padding-top: 1rem; }
  body > main:not(.wrap) { padding-top: 2rem; }
  .hero { border-radius: 1.1rem; }
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  width: 100%;
  border-bottom: 1px solid rgba(255,255,255,.1);
  background: rgba(0,0,0,.84);
  backdrop-filter: blur(20px);
}
.site-header-inner {
  width: min(100% - 2rem, 80rem);
  min-height: 76px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  padding: .75rem 0;
}
.site-brand, .site-footer-brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  color: white;
  text-decoration: none;
  flex: 0 0 auto;
}
.site-brand-icon { width: 40px; height: 40px; object-fit: cover; border-radius: 14px; box-shadow: 0 0 24px rgba(0,212,255,.22); }
.site-brand strong { display: block; font-size: 1.15rem; line-height: 1.1; letter-spacing: -.04em; }
.site-brand small { display: block; margin-top: .22rem; color: #22d3ee; font: 600 .62rem/1.1 ui-monospace, monospace; }
.site-header-links { display: flex; align-items: center; justify-content: center; gap: clamp(.75rem, 2vw, 1.75rem); flex-wrap: wrap; font-size: .875rem; }
.site-header-links a { color: rgba(255,255,255,.78); text-decoration: none; }
.site-header-links a:hover { color: #fff; }
.site-header-links .site-header-cta { padding: .65rem 1rem; color: #050505; border-radius: 1rem; background: white; font-weight: 700; }
.site-header-links .site-header-cta:hover { color: #050505; background: var(--site-accent); }
.site-page-control { display: flex; align-items: center; justify-content: flex-end; gap: .5rem; }
.site-page-control:empty { display: none; }
.site-page-control #userActions, .site-page-control #headerUser { display: flex; align-items: center; gap: .5rem; }
.site-page-control button, .site-page-control a { color: white; }
.site-page-control select { min-width: 7.5rem; padding: .55rem .75rem; border: 1px solid var(--site-line); border-radius: .75rem; }
.site-page-control select option { background: #11131a; color: #f8fafc; }
.site-footer { margin-top: 4rem; padding: 3.5rem 0; background: #050505; border-top: 1px solid var(--site-line); }
.site-footer-inner { width: min(100% - 2rem, 80rem); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 2rem; flex-wrap: wrap; }
.site-footer-brand { font-weight: 700; font-size: 1.1rem; }
.site-footer-brand img { width: 34px; height: 34px; object-fit: cover; border-radius: 12px; }
.site-footer-links { display: flex; align-items: center; justify-content: flex-end; gap: .75rem 1.25rem; flex-wrap: wrap; }
.site-footer-links a { color: rgba(255,255,255,.48); font-size: .8rem; text-decoration: none; }
.site-footer-links a:hover { color: white; }
.site-footer-inner > small { width: 100%; color: rgba(255,255,255,.3); font-size: .7rem; text-align: right; }
main.wrap { padding-top: 2.5rem; }
.hero, main.hero {
  border: 1px solid rgba(0,212,255,.17);
  border-radius: 1.5rem;
  background: linear-gradient(125deg, rgba(0,212,255,.09), rgba(18,18,24,.92) 48%, rgba(0,102,255,.08));
  box-shadow: 0 24px 70px rgba(0,0,0,.27);
}
.hero h1, main.hero h1 { text-wrap: balance; }
.hero :is(a, button), main.hero :is(a, button) { cursor: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='10' r='8' fill='%2300d4ff' fill-opacity='.82' stroke='white' stroke-opacity='.75' stroke-width='1'/%3E%3C/svg%3E") 10 10, pointer; }
main.hero { width: min(100% - 2.5rem, 80rem); margin: 2.5rem auto 4rem; padding: clamp(1.5rem, 5vw, 4rem); }
main.hero .features article { border: 1px solid var(--site-line); border-radius: 1.25rem; background: rgba(0,0,0,.28); }
body.site-status-page > main > .relative { padding-top: 1rem; }
body.site-status-page > main > .relative > header:first-child { padding: clamp(1.5rem, 4vw, 2.5rem); border: 1px solid rgba(0,212,255,.17); border-radius: 1.5rem; background: linear-gradient(125deg, rgba(0,212,255,.09), rgba(18,18,24,.86) 55%, rgba(0,102,255,.08)); }
body.site-status-page > main > .relative > section { border-color: rgba(255,255,255,.1); }
@media (max-width: 760px) {
  .site-header-inner { justify-content: center; gap: .75rem; }
  .site-header-links { order: 3; width: 100%; padding: .25rem 0 .4rem; }
  .site-page-control { margin-left: auto; }
  .site-footer-inner { justify-content: center; text-align: center; }
  .site-footer-links { justify-content: center; }
  .site-footer-inner > small { text-align: center; }
  main.hero { width: min(100% - 1.25rem, 80rem); margin-top: 1rem; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}
