:root {
  --bg: #010000;
  --surface: #00000056;
  --surface-raised: #181818;
  --border: #33343f;
  --text: #edeef2;
  --text-muted: #8c8fa0;
  --accent: #ffffff;
  --radius: 10px;
  --font-display: "DM Mono", monospace;
  --font-body: "DM Mono", monospace;
}

* {
  box-sizing: border-box;
}

[hidden] {
  display: none !important;
}

html, body {
  min-height: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.6;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 48px 20px;
}

.bg-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
  filter: brightness(0.45) saturate(0.9);
}

.panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 440px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 40px 36px 36px;
}

.panel__header {
  margin-bottom: 28px;
}

h1 {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 26px;
  line-height: 1.3;
  margin: 0 0 8px;
}

.lede {
  margin: 0;
  color: var(--text-muted);
  font-size: 14.5px;
}

.links {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.link-item {
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-size: 14.5px;
  text-decoration: none;
  padding: 10px 12px;
  margin: 0 -12px;
  border-radius: 8px;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.link-item__arrow {
  color: var(--text-muted);
  transition: color 0.15s ease;
}

.link-item:hover {
  background: var(--surface-raised);
}

.link-item:hover .link-item__arrow {
  color: var(--accent);
}

.link-item--primary {
  color: var(--accent);
  font-weight: 600;
}

.divider {
  height: 1px;
  background: var(--border);
  margin: 16px 0;
}

@media (max-width: 480px) {
  .panel {
    padding: 28px 22px 26px;
  }
  h1 {
    font-size: 22px;
  }
}

/* button要素をリンクと同じ見た目にリセット */
button.link-item {
  all: unset;
  position: relative;
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 14.5px;
  padding: 10px 12px;
  margin: 0 -12px;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

button.link-item:hover {
  background: var(--surface-raised);
}

.copy-toast {
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  font-size: 11.5px;
  color: var(--accent);
  background: var(--surface-raised);
  border: 1px solid var(--border);
  padding: 3px 8px;
  border-radius: 6px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.copy-toast.is-visible {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}