@charset "UTF-8";
@import url("https://fonts.googleapis.com/css2?family=Space+Mono:ital,wght@0,400;0,700;1,400&family=Noto+Sans+JP:wght@300;400;700&display=swap");
:root {
  --bg-deep: #080d12;
  --bg-panel: #0d1520;
  --bg-card: #111e2e;
  --border: #1e3348;
  --border-bright: #2a5070;
  --primary-color: #00e5ff;
  --glow-primary: 0 0 12px rgba(0, 229, 255, 0.45);
  --accent-color: #ffc400;
  --glow-accent: 0 0 12px rgba(255, 196, 0, 0.4);
  --score-great: #39ff6a;
  --score-good: #00e5ff;
  --score-mid: #ffe033;
  --score-low: #ff8c00;
  --score-bad: #ff2d55;
  --text-primary: #d6eaf8;
  --text-secondary: #6b8fa8;
  --text-mono: #00e5ff;
  --radius: 6px;
  --font-mono: Space Mono, monospace;
  --font-ui: Noto Sans JP, sans-serif;
  --transition: 0.2s ease;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  background: #080d12;
  color: #d6eaf8;
  font-family: "Noto Sans JP", sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
  background-image: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0, 229, 255, 0.012) 2px, rgba(0, 229, 255, 0.012) 4px);
}

.app-wrapper {
  max-width: 960px;
  margin: 0 auto;
  padding: 2rem 1.5rem 4rem;
}

.app-header {
  display: flex;
  align-items: baseline;
  gap: 1rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid #1e3348;
  padding-bottom: 1rem;
}
.app-header-title, .app-title {
  font-family: "Space Mono", monospace;
  font-size: 1.35rem;
  color: #00e5ff;
  text-shadow: 0 0 12px rgba(0, 229, 255, 0.45);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.app-header-subtitle, .app-subtitle {
  font-size: 0.78rem;
  color: #6b8fa8;
  letter-spacing: 0.04em;
}

.membership-banner {
  background: #111e2e;
  border: 1px solid #1e3348;
  border-radius: 6px;
  padding: 0.5rem 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s ease;
  font-size: 0.82rem;
  color: #6b8fa8;
  line-height: 1.7;
}
.membership-banner:hover {
  border-color: #2a5070;
}
.membership-banner::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #00e5ff;
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.45);
}
.membership-banner--subscriber::before {
  background: #ffc400;
  box-shadow: 0 0 12px rgba(255, 196, 0, 0.4);
}
.membership-banner--student::before {
  background: #ffc400;
  box-shadow: 0 0 12px rgba(255, 196, 0, 0.4);
}
.membership-banner--admin::before {
  background: #ffc400;
  box-shadow: 0 0 12px rgba(255, 196, 0, 0.4);
}

.section-card {
  background: #111e2e;
  border: 1px solid #1e3348;
  border-radius: 6px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s ease;
}
.section-card:hover {
  border-color: #2a5070;
}
.section-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #00e5ff;
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.45);
}
.section-card.user-card::before {
  background: #ffc400;
  box-shadow: 0 0 12px rgba(255, 196, 0, 0.4);
}
.section-card.user-card .section-label .dot {
  background: #ffc400;
  box-shadow: 0 0 12px rgba(255, 196, 0, 0.4);
}

.info-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.info-list li {
  font-size: 0.82rem;
  color: #6b8fa8;
  line-height: 1.7;
  padding: 0.2rem 0 0.2rem 1.1rem;
  position: relative;
}
.info-list li::before {
  content: "・";
  position: absolute;
  left: 0;
  color: #2a5070;
}

.section-label {
  font-family: "Space Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6b8fa8;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.section-label .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00e5ff;
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.45);
  flex-shrink: 0;
}

.lesson-controls {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 0.75rem;
}

.lesson-dropdown {
  flex: 1;
  min-width: 200px;
  background: #0d1520;
  border: 1px solid #2a5070;
  border-radius: 6px;
  color: #d6eaf8;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.85rem;
  padding: 0.5rem 0.75rem;
  cursor: pointer;
  transition: border-color 0.2s;
}
.lesson-dropdown:focus {
  outline: none;
  border-color: #00e5ff;
}
.lesson-dropdown option {
  background: #0d1520;
}

.btn-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}
@media (max-width: 600px) {
  .btn-row {
    flex-direction: column;
  }
}

.btn {
  font-family: "Space Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border: 1px solid;
  border-radius: 6px;
  padding: 0.55rem 1.1rem;
  cursor: pointer;
  background: transparent;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}
@media (max-width: 600px) {
  .btn {
    justify-content: center;
  }
}
.btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}
.btn-primary {
  color: #00e5ff;
  border-color: #00e5ff;
}
.btn-primary:hover:not(:disabled) {
  background: rgba(0, 229, 255, 0.1);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.45);
}
.btn-accent {
  color: #ffc400;
  border-color: #ffc400;
}
.btn-accent:hover:not(:disabled) {
  background: rgba(255, 196, 0, 0.1);
  box-shadow: 0 0 12px rgba(255, 196, 0, 0.4);
}
.btn-ghost {
  color: #6b8fa8;
  border-color: #2a5070;
}
.btn-ghost:hover:not(:disabled) {
  background: rgba(42, 80, 112, 0.15);
  color: #00e5ff;
  border-color: #00e5ff;
}
.btn-success {
  color: #39ff6a;
  border-color: #39ff6a;
}
.btn-success:hover:not(:disabled) {
  background: rgba(57, 255, 106, 0.1);
}
.btn-ghost-link {
  font-family: "Space Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b8fa8;
  text-decoration: none;
  border: 1px solid #1e3348;
  border-radius: 6px;
  padding: 0.55rem 1.1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color 0.2s, border-color 0.2s;
}
.btn-ghost-link:hover {
  color: #00e5ff;
  border-color: #00e5ff;
}
.btn-action {
  font-family: "Space Mono", monospace;
  font-size: 0.68rem;
  padding: 0.2rem 0.5rem;
  background: transparent;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}
.btn-action-wrap {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
}
.btn-archive {
  border: 1px solid rgba(255, 224, 51, 0.35);
  color: #ffe033;
}
.btn-archive:hover {
  background: rgba(255, 224, 51, 0.1);
  border-color: #ffe033;
}
.btn-unarchive {
  border: 1px solid #1e3348;
  color: #6b8fa8;
}
.btn-unarchive:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: #2a5070;
  color: #d6eaf8;
}
.btn-del {
  border: 1px solid rgba(255, 45, 85, 0.4);
  color: #ff2d55;
}
.btn-del:hover {
  background: rgba(255, 45, 85, 0.12);
  border-color: #ff2d55;
}
.btn-login-submit {
  width: 100%;
  padding: 0.75rem;
  background: transparent;
  border: 1px solid #00e5ff;
  border-radius: 6px;
  color: #00e5ff;
  font-family: "Space Mono", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
}
.btn-login-submit:hover:not(:disabled) {
  background: rgba(0, 229, 255, 0.1);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.45);
}
.btn-login-submit:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}
.btn-logout {
  background: transparent;
  border: 1px solid #1e3348;
  border-radius: 6px;
  color: #6b8fa8;
  font-family: "Space Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.3rem 0.75rem;
  cursor: pointer;
  text-decoration: none;
  transition: color 0.2s, border-color 0.2s;
}
.btn-logout:hover {
  color: #ff2d55;
  border-color: #ff2d55;
}

.u-ml-auto {
  margin-left: auto;
}

.submit-row {
  display: flex;
  justify-content: flex-end;
  gap: 0.75rem;
  margin-top: 1.25rem;
}

.step-hint {
  font-size: 0.8rem;
  color: #6b8fa8;
  margin-bottom: 0.75rem;
  line-height: 1.6;
}

.step-locked {
  position: relative;
  pointer-events: none;
  opacity: 0.4;
}
.step-locked::after {
  content: "← まず STEP 0 で問題を選んでください";
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Space Mono", monospace;
  font-size: 0.75rem;
  color: #6b8fa8;
  letter-spacing: 0.04em;
  pointer-events: none;
}

.status-bar {
  font-family: "Space Mono", monospace;
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  color: #6b8fa8;
  margin-top: 0.6rem;
  min-height: 1em;
  transition: color 0.2s ease;
}
.status-bar.info {
  color: #00e5ff;
}
.status-bar.warn {
  color: #ffe033;
}
.status-bar.error {
  color: #ff2d55;
}
.status-bar.success {
  color: #39ff6a;
}

.page-nav {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.page-nav a {
  font-family: "Space Mono", monospace;
  font-size: 0.75rem;
  color: #6b8fa8;
  text-decoration: none;
  border: 1px solid #1e3348;
  border-radius: 4px;
  padding: 0.3rem 0.75rem;
  transition: color 0.2s, border-color 0.2s;
}
.page-nav a:hover {
  color: #00e5ff;
  border-color: #00e5ff;
}

.table-scroll {
  overflow-x: auto;
}

.table-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.85rem;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.table-header-title, .table-title {
  font-family: "Space Mono", monospace;
  font-size: 0.78rem;
  color: #00e5ff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.table-header-count, .table-count {
  font-family: "Space Mono", monospace;
  font-size: 0.72rem;
  color: #6b8fa8;
}

.lesson-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.82rem;
}
.lesson-table th {
  font-family: "Space Mono", monospace;
  font-size: 0.68rem;
  color: #6b8fa8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-align: left;
  padding: 0.4rem 0.6rem;
  border-bottom: 1px solid #1e3348;
}
.lesson-table td {
  padding: 0.55rem 0.6rem;
  border-bottom: 1px solid rgba(30, 51, 72, 0.6);
  vertical-align: top;
  color: #d6eaf8;
}
.lesson-table tr.is-archived td {
  opacity: 0.45;
}
.lesson-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.td-text {
  max-width: 320px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: #6b8fa8;
}

.td-date {
  font-family: "Space Mono", monospace;
  font-size: 0.68rem;
  color: #6b8fa8;
  white-space: nowrap;
}

.badge-archived {
  font-family: "Space Mono", monospace;
  font-size: 0.65rem;
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
  background: rgba(255, 255, 255, 0.06);
  color: #6b8fa8;
  border: 1px solid #1e3348;
}

.empty-table {
  text-align: center;
  padding: 2.5rem 1rem;
  color: #6b8fa8;
  font-size: 0.82rem;
}
.empty-table--error {
  color: #ff2d55;
}

.toast {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  background: #111e2e;
  border: 1px solid #2a5070;
  border-radius: 6px;
  padding: 0.75rem 1.25rem;
  font-size: 0.82rem;
  color: #d6eaf8;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.5);
  transition: opacity 0.4s, transform 0.4s;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  z-index: 999;
}
.toast.show {
  opacity: 1;
  transform: translateY(0);
}
.toast.ok {
  border-left: 3px solid #39ff6a;
}
.toast.err {
  border-left: 3px solid #ff2d55;
}

.spinner {
  display: inline-block;
  width: 12px;
  height: 12px;
  border: 2px solid rgba(255, 255, 255, 0.15);
  border-top-color: #00e5ff;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
  vertical-align: middle;
  margin-right: 4px;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.loading-dots::after {
  content: "...";
  animation: dots 1.5s steps(4, end) infinite;
}

@keyframes dots {
  0% {
    content: "";
  }
  25% {
    content: ".";
  }
  50% {
    content: "..";
  }
  75% {
    content: "...";
  }
}
.login-wrap {
  max-width: 420px;
  margin: 3rem auto 0;
}

.login-card {
  background: #111e2e;
  border: 1px solid #1e3348;
  border-radius: 6px;
  padding: 2rem 1.75rem;
  position: relative;
  overflow: hidden;
}
.login-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #00e5ff;
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.45);
}
.login-card .form-group {
  margin-bottom: 1.1rem;
}
.login-card .form-input {
  width: 100%;
}

.login-heading {
  font-family: "Space Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6b8fa8;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.login-heading .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00e5ff;
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.45);
  flex-shrink: 0;
}

.login-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0.75rem 0 1.25rem;
  font-size: 0.8rem;
  color: #6b8fa8;
}

.remember-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
  font-family: "Space Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}
.remember-label input[type=checkbox] {
  accent-color: #00e5ff;
  width: 14px;
  height: 14px;
  cursor: pointer;
}

.login-error {
  background: rgba(255, 45, 85, 0.08);
  border: 1px solid rgba(255, 45, 85, 0.35);
  border-radius: 6px;
  padding: 0.6rem 0.85rem;
  font-size: 0.82rem;
  color: #ff2d55;
  margin-bottom: 1rem;
  display: none;
}

.login-pricing-wrap {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: start;
  margin-bottom: 2rem;
}
@media (max-width: 680px) {
  .login-pricing-wrap {
    grid-template-columns: 1fr;
  }
}

.pricing-section {
  background: #111e2e;
  border: 1px solid #1e3348;
  border-radius: 6px;
  padding: 1.5rem 1.75rem;
  position: relative;
  overflow: hidden;
  margin-bottom: 1.5rem;
}
.pricing-section::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #ffc400;
  box-shadow: 0 0 12px rgba(255, 196, 0, 0.4);
}

.pricing-label {
  font-family: "Space Mono", monospace;
  font-size: 0.7rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #6b8fa8;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.pricing-label .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffc400;
  box-shadow: 0 0 12px rgba(255, 196, 0, 0.4);
  flex-shrink: 0;
}

.pricing-price-wrap {
  display: flex;
  align-items: baseline;
  gap: 0.3rem;
  margin-bottom: 1.25rem;
}

.pricing-currency {
  font-family: "Space Mono", monospace;
  font-size: 0.85rem;
  color: #ffc400;
  letter-spacing: 0.06em;
}

.pricing-amount {
  font-family: "Space Mono", monospace;
  font-size: 2.4rem;
  font-weight: 700;
  color: #d6eaf8;
  line-height: 1;
  letter-spacing: -0.02em;
}

.pricing-period {
  font-family: "Space Mono", monospace;
  font-size: 0.75rem;
  color: #6b8fa8;
  letter-spacing: 0.06em;
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}
.pricing-features li {
  font-size: 0.82rem;
  color: #6b8fa8;
  line-height: 1.7;
  padding: 0.25rem 0 0.25rem 1.1rem;
  position: relative;
  border-bottom: 1px solid rgba(30, 51, 72, 0.5);
}
.pricing-features li:last-child {
  border-bottom: none;
}
.pricing-features li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #ffc400;
  font-size: 0.7rem;
}

.btn-subscribe {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  font-family: "Space Mono", monospace;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.7rem 1.25rem;
  border: 1px solid #ffc400;
  border-radius: 6px;
  color: #ffc400;
  background: transparent;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}
.btn-subscribe:hover {
  background: rgba(255, 196, 0, 0.1);
  box-shadow: 0 0 12px rgba(255, 196, 0, 0.4);
}

.app-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 1.25rem;
  margin-top: 1rem;
}

.app-card {
  display: block;
  text-decoration: none;
  background: #111e2e;
  border: 1px solid #1e3348;
  border-radius: 6px;
  padding: 1.5rem 1.25rem;
  position: relative;
  overflow: hidden;
  transition: border-color 0.2s, transform 0.15s;
}
.app-card:hover {
  border-color: #2a5070;
  transform: translateY(-2px);
}
.app-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: #00e5ff;
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.45);
}
.app-card.accent::before {
  background: #ffc400;
  box-shadow: 0 0 12px rgba(255, 196, 0, 0.4);
}
.app-card.accent .app-card-tag {
  color: #ffc400;
}
.app-card-tag {
  font-family: "Space Mono", monospace;
  font-size: 0.6rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #00e5ff;
  margin-bottom: 0.6rem;
}
.app-card-name {
  font-family: "Space Mono", monospace;
  font-size: 1rem;
  color: #d6eaf8;
  margin-bottom: 0.5rem;
  letter-spacing: 0.04em;
}
.app-card-desc {
  font-size: 0.8rem;
  color: #6b8fa8;
  line-height: 1.6;
}

.user-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.75rem;
  font-family: "Space Mono", monospace;
  font-size: 0.68rem;
  color: #6b8fa8;
  letter-spacing: 0.06em;
}
.user-bar-name {
  color: #00e5ff;
}

.tab-toggle {
  display: inline-flex;
  border: 1px solid #2a5070;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
}
.tab-toggle__btn {
  font-family: "Space Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.45rem 1.25rem;
  background: transparent;
  border: none;
  color: #6b8fa8;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.tab-toggle__btn + .tab-toggle__btn {
  border-left: 1px solid #2a5070;
}
.tab-toggle__btn.is-active {
  background: rgba(0, 229, 255, 0.12);
  color: #00e5ff;
}
.tab-toggle__btn:hover:not(.is-active) {
  background: rgba(255, 255, 255, 0.03);
  color: #d6eaf8;
}

.controls-bar {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}
.controls-bar__actions {
  display: flex;
  gap: 0.5rem;
  margin-left: auto;
}

.inline-panel {
  background: #0d1520;
  border: 1px solid #2a5070;
  border-radius: 6px;
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
  display: none;
}
.inline-panel.is-open {
  display: block;
}
.inline-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid #1e3348;
}
.inline-panel__title {
  font-family: "Space Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #00e5ff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.inline-panel__title .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00e5ff;
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.45);
  flex-shrink: 0;
}

.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  font-family: "Space Mono", monospace;
  font-size: 0.64rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b8fa8;
  margin-bottom: 0.4rem;
}

.form-input,
.form-select {
  width: 100%;
  background: #111e2e;
  border: 1px solid #2a5070;
  border-radius: 6px;
  color: #d6eaf8;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.85rem;
  padding: 0.5rem 0.75rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-appearance: none;
  -moz-appearance: none;
       appearance: none;
}
.form-input:focus,
.form-select:focus {
  outline: none;
  border-color: #00e5ff;
  box-shadow: 0 0 0 2px rgba(0, 229, 255, 0.12);
}
.form-input[readonly],
.form-select[readonly] {
  opacity: 0.55;
  cursor: default;
}
.form-input option,
.form-select option {
  background: #0d1520;
}

.form-select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236b8fa8' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.65rem center;
  background-size: 10px;
  padding-right: 2rem;
  cursor: pointer;
}

.form-textarea {
  width: 100%;
  background: #111e2e;
  border: 1px solid #2a5070;
  border-radius: 6px;
  color: #d6eaf8;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 0.85rem;
  padding: 0.5rem 0.75rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  resize: vertical;
  min-height: 80px;
  line-height: 1.65;
  outline: none;
}
.form-textarea::-moz-placeholder {
  color: #6b8fa8;
  opacity: 0.55;
}
.form-textarea::placeholder {
  color: #6b8fa8;
  opacity: 0.55;
}
.form-textarea:focus {
  border-color: #00e5ff;
  box-shadow: 0 0 0 2px rgba(0, 229, 255, 0.12);
}

.form-hint {
  display: block;
  font-size: 0.72rem;
  color: #6b8fa8;
  margin-top: 0.3rem;
  font-style: italic;
}

.form-required {
  color: #ff2d55;
  margin-left: 0.2em;
  font-style: normal;
}

.form-row {
  display: grid;
  gap: 1rem;
  margin-bottom: 1rem;
}
.form-row--2 {
  grid-template-columns: 1fr 1fr;
}
.form-row--3 {
  grid-template-columns: 1fr 1fr 1fr;
}
.form-row--4 {
  grid-template-columns: 1fr 1fr 1fr 1fr;
}
@media (max-width: 640px) {
  .form-row--3, .form-row--4 {
    grid-template-columns: 1fr 1fr;
  }
}

.toggle-label {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  font-size: 0.82rem;
  color: #6b8fa8;
  -webkit-user-select: none;
     -moz-user-select: none;
          user-select: none;
}
.toggle-label input[type=checkbox] {
  accent-color: #00e5ff;
  width: 14px;
  height: 14px;
  cursor: pointer;
}

.aim-bar {
  font-family: "Space Mono", monospace;
  font-size: 0.68rem;
  color: #6b8fa8;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.aim-bar__item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}
.aim-bar__label {
  color: #6b8fa8;
}
.aim-bar__value {
  color: #00e5ff;
  font-weight: 700;
}

.top-bar {
  position: fixed;
  top: 0.65rem;
  right: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 1000;
}
.top-bar__link {
  font-family: "Space Mono", monospace;
  font-size: 0.6rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.28rem 0.65rem;
  border-radius: 6px;
  border: 1px solid #1e3348;
  background: rgba(8, 13, 18, 0.85);
  backdrop-filter: blur(6px);
  color: #6b8fa8;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
  white-space: nowrap;
}
.top-bar__link:hover {
  color: #00e5ff;
  border-color: #00e5ff;
  background: rgba(0, 229, 255, 0.07);
}
.top-bar__link--warn {
  color: #ffe033;
  border-color: rgba(255, 224, 51, 0.35);
}
.top-bar__link--warn:hover {
  background: rgba(255, 224, 51, 0.08);
  border-color: #ffe033;
  color: #ffe033;
}

.btn-kuins {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Space Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.55rem 1.1rem;
  border: 1px solid rgba(120, 80, 255, 0.6);
  border-radius: 6px;
  color: #a78bfa;
  background: transparent;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn-kuins i {
  font-size: 0.82rem;
}
.btn-kuins:hover {
  background: rgba(120, 80, 255, 0.1);
  border-color: #a78bfa;
  box-shadow: 0 0 12px rgba(120, 80, 255, 0.35);
}

.kuins-btn-row {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 0.75rem;
}

.btn-my-account {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: "Space Mono", monospace;
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 0.55rem 1.1rem;
  border: 1px solid rgba(0, 229, 255, 0.45);
  border-radius: 6px;
  color: #00e5ff;
  background: transparent;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  white-space: nowrap;
}
.btn-my-account i {
  font-size: 0.82rem;
}
.btn-my-account:hover {
  background: rgba(0, 229, 255, 0.1);
  border-color: #00e5ff;
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.45);
}

.app-card.is-coming-soon {
  opacity: 0.55;
  pointer-events: none;
  cursor: default;
}
.app-card.is-coming-soon::after {
  content: "COMING SOON";
  position: absolute;
  top: 0.6rem;
  right: 0.6rem;
  font-family: "Space Mono", monospace;
  font-size: 0.52rem;
  letter-spacing: 0.14em;
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
  background: rgba(255, 224, 51, 0.12);
  border: 1px solid rgba(255, 224, 51, 0.4);
  color: #ffe033;
}/*# sourceMappingURL=local.css.map */