/* [project]/app/globals.css [app-client] (css) */
:root {
  --bg: #f3f4f7;
  --topbar: #fff;
  --panel: #fff;
  --panel-strong: #fff;
  --panel-soft: #f8fafc;
  --border: #d9dde6;
  --border-strong: #c7cfda;
  --text: #101827;
  --muted: #5f6b7a;
  --faint: #8c96a3;
  --blue: #2073df;
  --blue-hover: #2f82ef;
  --green: #5cc979;
  --qq: #397ee8;
  --danger: #e83f48;
  --warning: #d99a18;
  --shadow: 0 18px 48px #0f172a14;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #050505;
    --topbar: #151515;
    --panel: #141414;
    --panel-strong: #111;
    --panel-soft: #0c0c0c;
    --border: #2d2d2d;
    --border-strong: #3a3a3a;
    --text: #f5f7fb;
    --muted: #b8c0cc;
    --faint: #7b8490;
    --blue: #1f73dd;
    --blue-hover: #3689f4;
    --green: #63c979;
    --qq: #3d7fe4;
    --danger: #ec3f4a;
    --warning: #f0b13b;
    --shadow: 0 18px 48px #00000052;
  }
}

* {
  box-sizing: border-box;
}

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

body {
  color: var(--text);
  background: var(--bg);
  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, PingFang SC, Microsoft YaHei UI, Microsoft YaHei, sans-serif;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

button:disabled, a[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: .55;
}

.player-shell {
  background: var(--bg);
  min-height: 100vh;
}

.topbar {
  background: var(--topbar);
  border-bottom: 1px solid var(--border);
  z-index: 30;
  height: 58px;
  position: sticky;
  top: 0;
}

.topbar-inner {
  align-items: center;
  gap: 24px;
  width: min(100%, 100vw);
  height: 100%;
  padding: 0 18px;
  display: flex;
}

.brand-link {
  align-items: center;
  min-width: 170px;
  display: inline-flex;
}

.desktop-nav {
  flex: 1;
  gap: 6px;
  display: flex;
}

.desktop-nav a {
  color: var(--muted);
  border-radius: 8px;
  padding: 8px 11px;
  font-size: 14px;
}

.desktop-nav a:hover {
  color: var(--text);
  background: var(--panel-soft);
}

.user-entry {
  align-items: center;
  gap: 10px;
  margin-left: auto;
  display: flex;
}

.user-dot {
  border: 2px solid var(--text);
  opacity: .85;
  border-radius: 999px;
  width: 18px;
  height: 18px;
  position: relative;
}

.user-dot:after {
  content: "";
  border: 2px solid var(--text);
  border-top: 0;
  border-radius: 0 0 18px 18px;
  width: 18px;
  height: 9px;
  position: absolute;
  top: 12px;
  left: 50%;
  transform: translateX(-50%);
}

.page-shell {
  width: min(100% - 32px, 1780px);
  margin: 0 auto;
  padding: 16px 0 48px;
}

.page-frame {
  background: var(--panel);
  border-radius: 8px;
  min-height: calc(100vh - 92px);
  padding: 56px 18px;
}

.narrow, .portal-width {
  width: min(800px, 100%);
  margin: 0 auto;
}

.page-stack {
  flex-direction: column;
  gap: 18px;
  display: flex;
}

.breadcrumb {
  color: var(--muted);
  margin: 0 0 18px;
  font-size: 14px;
}

.breadcrumb a {
  color: var(--text);
}

.ui-button {
  min-height: 40px;
  color: var(--text);
  background: none;
  border: 1px solid #0000;
  border-radius: 7px;
  justify-content: center;
  align-items: center;
  gap: 8px;
  padding: 0 18px;
  font-weight: 700;
  transition: all .16s;
  display: inline-flex;
}

.ui-button:hover {
  transform: translateY(-1px);
}

.ui-button-primary {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
  box-shadow: 0 7px 18px #1f73dd40;
}

.ui-button-primary:hover {
  background: var(--blue-hover);
}

.ui-button-secondary {
  border-color: var(--border-strong);
  background: none;
}

.ui-button-secondary:hover {
  border-color: var(--blue);
  color: var(--blue);
}

.ui-button-wechat {
  color: #fff;
  background: var(--green);
  border-color: var(--green);
}

.ui-button-qq {
  color: #fff;
  background: var(--qq);
  border-color: var(--qq);
}

.ui-button-ghost {
  min-height: 34px;
  color: var(--muted);
  border-color: var(--border);
  background: var(--panel-soft);
}

.ui-button-danger {
  color: #fff;
  background: var(--danger);
  border-color: var(--danger);
}

.button-row {
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  display: flex;
}

.full-button {
  width: 100%;
}

.ui-card {
  background: var(--panel-strong);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  border-radius: 13px;
  padding: 24px;
}

.ui-notice {
  border: 1px solid var(--border);
  background: var(--panel-soft);
  color: var(--muted);
  border-radius: 10px;
  padding: 14px 16px;
}

.ui-notice strong {
  color: var(--text);
  margin-bottom: 4px;
  display: block;
}

.ui-notice p {
  margin: 0;
  line-height: 1.6;
}

.ui-notice-success {
  border-color: #5cc9798c;
}

.ui-notice-warning {
  border-color: #d99a1899;
}

.ui-notice-error {
  border-color: #e83f488c;
}

.loading-block {
  min-height: 180px;
  color: var(--muted);
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 12px;
  place-items: center;
  display: grid;
}

.loading-dot {
  background: var(--blue);
  width: 12px;
  height: 12px;
  box-shadow: 20px 0 var(--green), 40px 0 var(--warning);
  border-radius: 99px;
  animation: 1s infinite alternate pulse;
}

@keyframes pulse {
  to {
    opacity: .35;
    transform: translateY(-4px);
  }
}

.field-group {
  gap: 8px;
  display: grid;
}

.field-label {
  color: var(--text);
  font-weight: 700;
}

.field-control {
  width: 100%;
  min-height: 42px;
  color: var(--text);
  background: var(--panel-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  outline: none;
  padding: 10px 12px;
}

.field-control:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px #1f73dd29;
}

.field-textarea {
  resize: vertical;
  min-height: 140px;
}

.form-grid {
  gap: 16px;
  display: grid;
}

.login-page {
  background: var(--bg);
  min-height: 100vh;
}

.login-panel {
  background: var(--panel);
  border-radius: 8px;
  place-items: center;
  min-height: calc(100vh - 90px);
  margin: 16px;
  padding: 32px 18px;
  display: grid;
}

.login-box {
  text-align: center;
  width: min(360px, 100%);
}

.login-title {
  letter-spacing: .02em;
  margin: 0 0 14px;
  font-size: 32px;
  font-weight: 900;
}

.login-subtitle {
  color: var(--muted);
  margin: 0 0 30px;
  font-size: 14px;
}

.login-actions {
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  display: flex;
}

.hero-card {
  background: linear-gradient(110deg, #0c2240f5, #0a1524fa);
  border-color: #3c69a099;
  grid-template-columns: 1.1fr .9fr;
  align-items: center;
  height: 262px;
  padding: 40px 46px;
  display: grid;
  position: relative;
  overflow: hidden;
}

.hero-eyebrow {
  color: #cbdcf5;
  letter-spacing: .06em;
  margin: 0 0 12px;
  font-family: Consolas, Menlo, monospace;
  font-size: 12px;
}

.hero-title {
  color: #fff;
  letter-spacing: -.04em;
  margin: 0 0 16px;
  font-size: 58px;
  font-weight: 950;
  line-height: 1;
}

.hero-copy {
  color: #c6d0df;
  max-width: 430px;
  margin: 0;
  font-weight: 700;
  line-height: 1.75;
}

.github-dot {
  color: #fff;
  border: 1px solid #ffffff47;
  border-radius: 50%;
  place-items: center;
  width: 34px;
  height: 34px;
  font-weight: 900;
  display: grid;
  position: absolute;
  top: 22px;
  right: 22px;
}

.module-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  display: grid;
}

.module-card {
  min-height: 106px;
  color: var(--text);
  align-items: center;
  gap: 20px;
  display: flex;
}

.module-card h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.module-card p {
  color: var(--muted);
  margin: 0;
  font-weight: 700;
}

.module-icon {
  border-radius: 50%;
  flex: none;
  place-items: center;
  width: 56px;
  height: 56px;
  font-size: 23px;
  font-weight: 900;
  display: grid;
}

.module-icon-blue {
  color: #72a8ff;
  background: #2c62b438;
}

.module-icon-purple {
  color: #c77cff;
  background: #752dac3d;
}

.module-icon-green {
  color: #8dff73;
  background: #3e9b363b;
}

.module-icon-gold {
  color: #ffd45f;
  background: #9a70263d;
}

.module-icon-red {
  color: #ff7474;
  background: #ad36383d;
}

.module-icon-cyan {
  color: #73b5ff;
  background: #235fb738;
}

.module-icon-orange {
  color: #ff8c47;
  background: #b9562a40;
}

.module-icon-indigo {
  color: #8e9bff;
  background: #3c48b43b;
}

.ticket-intro {
  grid-template-columns: 180px 1fr;
  align-items: center;
  gap: 24px;
  margin: 18px auto 34px;
  display: grid;
}

.ticket-title {
  text-align: center;
  margin: 0 0 30px;
  font-size: 32px;
  font-weight: 900;
}

.ticket-intro p {
  color: var(--text);
  font-weight: 700;
  line-height: 1.65;
}

.ticket-intro a {
  color: var(--blue);
}

.ticket-list {
  gap: 12px;
  margin-top: 20px;
  display: grid;
}

.ticket-item {
  color: var(--text);
  background: var(--panel-strong);
  border: 1px solid var(--border);
  border-radius: 8px;
  min-height: 84px;
  padding: 17px 18px;
  display: block;
  position: relative;
}

.ticket-item:hover {
  border-color: var(--blue);
}

.ticket-meta {
  color: var(--muted);
  margin-bottom: 10px;
  font-size: 14px;
}

.ticket-item-title {
  padding-right: 90px;
  font-size: 16px;
  font-weight: 800;
}

.status-badge {
  color: #fff;
  text-align: center;
  border-radius: 4px 4px 0;
  min-width: 58px;
  padding: 4px 8px;
  font-size: 13px;
  font-weight: 900;
  position: absolute;
  top: 8px;
  right: -8px;
}

.status-badge:after {
  content: "";
  border-top: 7px solid #00000038;
  border-bottom: 0 solid #0000;
  border-left: 0 solid #0000;
  border-right: 8px solid #0000;
  position: absolute;
  bottom: -7px;
  right: 0;
}

.status-pending {
  background: var(--warning);
}

.status-processing, .status-waiting_player, .status-resolved {
  background: #59c932;
}

.status-closed {
  background: #6b7280;
}

.status-revoked {
  background: var(--danger);
}

.detail-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  display: grid;
}

.detail-cell {
  background: var(--panel-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 12px;
}

.detail-cell strong {
  margin-bottom: 6px;
  display: block;
}

.content-block {
  white-space: pre-wrap;
  color: var(--muted);
  line-height: 1.75;
}

.reply-list {
  gap: 12px;
  display: grid;
}

.reply-item {
  border-left: 3px solid var(--blue);
  background: var(--panel-soft);
  border-radius: 8px;
  padding: 13px 14px;
}

.code-box {
  min-width: 170px;
  color: var(--blue);
  letter-spacing: 7px;
  background: #1f73dd1f;
  border: 1px solid #1f73dd80;
  border-radius: 9px;
  justify-content: center;
  align-items: center;
  padding: 13px 18px;
  font-size: 30px;
  font-weight: 950;
  display: inline-flex;
}

.command-box {
  width: 100%;
  color: var(--text);
  background: var(--panel-soft);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 13px;
  font-family: Consolas, Menlo, monospace;
  display: block;
  overflow-x: auto;
}

.step-list {
  counter-reset: step;
  gap: 12px;
  margin: 18px 0;
  display: grid;
}

.step-item {
  counter-increment: step;
  color: var(--muted);
  gap: 12px;
  display: flex;
}

.step-item:before {
  content: counter(step);
  color: #fff;
  background: var(--blue);
  border-radius: 50%;
  flex: none;
  place-items: center;
  width: 28px;
  height: 28px;
  font-weight: 900;
  display: grid;
}

.resource-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  display: grid;
}

.bottom-nav {
  display: none;
}

@media (max-width: 768px) {
  .topbar {
    height: 54px;
  }

  .topbar-inner {
    padding: 0 12px;
  }

  .brand-logo-text {
    color: #ffd21a;
    letter-spacing: -.08em;
    text-shadow: 2px 0 #9a6500, -2px 0 #9a6500, 0 2px #9a6500, 0 -2px #9a6500, 3px 3px #00000059;
    font-size: 26px;
    font-weight: 950;
    line-height: 1;
    display: inline-block;
    transform: skew(-8deg);
  }

  .desktop-nav, .user-entry .ui-button {
    display: none;
  }

  .page-shell {
    width: min(100% - 20px, 1780px);
    padding: 10px 0 78px;
  }

  .page-frame {
    min-height: calc(100vh - 76px);
    padding: 28px 12px;
  }

  .portal-width, .narrow {
    width: 100%;
  }

  .login-panel {
    min-height: calc(100vh - 74px);
    margin: 10px;
  }

  .login-title {
    font-size: 28px;
  }

  .login-actions .ui-button {
    width: 100%;
  }

  .hero-card {
    grid-template-columns: 1fr;
    height: auto;
    min-height: 250px;
    padding: 28px 22px;
  }

  .hero-title {
    font-size: 42px;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-word-art {
    background: radial-gradient(circle at 25% 20%, #ffd21a47, #0000 30%), radial-gradient(circle at 78% 65%, #5bc97938, #0000 34%), #ffffff0a;
    border: 1px solid #ffffff1f;
    border-radius: 24px;
    place-items: center;
    width: 330px;
    max-width: 45%;
    min-height: 170px;
    display: grid;
    position: absolute;
    bottom: 18px;
    right: 18px;
    transform: rotate(-2deg);
  }

  .hero-word-main {
    color: #ffd21a;
    letter-spacing: -.1em;
    text-shadow: 3px 0 #8f4c09, -3px 0 #8f4c09, 0 3px #8f4c09, 0 -3px #8f4c09, 7px 8px #00000057;
    font-size: 58px;
    font-weight: 950;
  }

  .hero-word-sub {
    color: #ffffffb8;
    letter-spacing: .18em;
    font-family: Consolas, Menlo, monospace;
    font-size: 12px;
    position: absolute;
    bottom: 24px;
    right: 26px;
  }

  .github-dot {
    display: none;
  }

  .module-grid, .resource-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .module-card {
    min-height: 92px;
    padding: 18px;
  }

  .module-card h3 {
    font-size: 18px;
  }

  .ticket-intro {
    text-align: left;
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .ticket-title {
    margin-bottom: 16px;
    font-size: 28px;
  }

  .ticket-word-mascot {
    color: #ffd21a;
    letter-spacing: -.08em;
    text-shadow: 3px 0 #8f4c09, -3px 0 #8f4c09, 0 3px #8f4c09, 0 -3px #8f4c09;
    border: 1px solid var(--border);
    background: radial-gradient(circle at 50% 80%, #c5efffcc, #c5efff33 42%, #0000 45%), #ffd21a14;
    border-radius: 28px 28px 40px 40px;
    justify-self: center;
    place-items: center;
    width: 175px;
    height: 112px;
    font-size: 42px;
    font-weight: 950;
    display: grid;
  }

  .button-row .ui-button, .full-button-mobile {
    width: 100%;
  }

  .detail-grid {
    grid-template-columns: 1fr;
  }

  .bottom-nav {
    z-index: 40;
    padding: 7px 8px max(7px, env(safe-area-inset-bottom));
    background: var(--topbar);
    border-top: 1px solid var(--border);
    grid-template-columns: repeat(4, 1fr);
    gap: 4px;
    display: grid;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
  }

  .bottom-nav a {
    min-height: 42px;
    color: var(--muted);
    border-radius: 8px;
    place-items: center;
    font-size: 12px;
    font-weight: 800;
    display: grid;
  }

  .bottom-nav a:hover {
    color: var(--text);
    background: var(--panel-soft);
  }
}

.brand-logo-text {
  color: #ffd21a;
  letter-spacing: -.08em;
  text-shadow: 2px 0 #9a6500, -2px 0 #9a6500, 0 2px #9a6500, 0 -2px #9a6500, 3px 3px #00000059;
  font-size: 26px;
  font-weight: 950;
  line-height: 1;
  display: inline-block;
  transform: skew(-8deg);
}

.login-divider {
  color: var(--faint);
  align-items: center;
  gap: 12px;
  margin: 24px 0 18px;
  font-size: 13px;
  display: flex;
}

.login-divider:before, .login-divider:after {
  content: "";
  background: var(--border);
  flex: 1;
  height: 1px;
}

.password-login-form {
  text-align: left;
  gap: 14px;
  display: grid;
}

.password-login-form .ui-button {
  width: 100%;
}

.hero-word-art {
  background: radial-gradient(circle at 25% 20%, #ffd21a47, #0000 30%), radial-gradient(circle at 78% 65%, #5bc97938, #0000 34%), #ffffff0a;
  border: 1px solid #ffffff1f;
  border-radius: 24px;
  place-items: center;
  width: 330px;
  max-width: 45%;
  min-height: 170px;
  display: grid;
  position: absolute;
  bottom: 18px;
  right: 18px;
  transform: rotate(-2deg);
}

.hero-word-main {
  color: #ffd21a;
  letter-spacing: -.1em;
  text-shadow: 3px 0 #8f4c09, -3px 0 #8f4c09, 0 3px #8f4c09, 0 -3px #8f4c09, 7px 8px #00000057;
  font-size: 58px;
  font-weight: 950;
}

.hero-word-sub {
  color: #ffffffb8;
  letter-spacing: .18em;
  font-family: Consolas, Menlo, monospace;
  font-size: 12px;
  position: absolute;
  bottom: 24px;
  right: 26px;
}

.ticket-word-mascot {
  color: #ffd21a;
  letter-spacing: -.08em;
  text-shadow: 3px 0 #8f4c09, -3px 0 #8f4c09, 0 3px #8f4c09, 0 -3px #8f4c09;
  border: 1px solid var(--border);
  background: radial-gradient(circle at 50% 80%, #c5efffcc, #c5efff33 42%, #0000 45%), #ffd21a14;
  border-radius: 28px 28px 40px 40px;
  justify-self: center;
  place-items: center;
  width: 175px;
  height: 112px;
  font-size: 42px;
  font-weight: 950;
  display: grid;
}

.ticket-word-logo {
  color: #ffd21a;
  letter-spacing: -.08em;
  text-shadow: 4px 0 #8f4c09, -4px 0 #8f4c09, 0 4px #8f4c09, 0 -4px #8f4c09, 8px 9px #00000040;
  font-size: clamp(40px, 8vw, 76px);
  font-weight: 950;
  display: inline-block;
}

@media (max-width: 768px) {
  .brand-logo-text {
    font-size: 23px;
  }

  .hero-word-art {
    width: 100%;
    max-width: 100%;
    min-height: 140px;
    margin: 12px auto -18px;
    position: relative;
    bottom: auto;
    right: auto;
  }

  .hero-word-main {
    font-size: 42px;
  }

  .ticket-word-mascot {
    width: 142px;
    height: 92px;
    font-size: 34px;
  }
}

.section-title {
  color: var(--text-strong);
  margin: 0;
  font-size: 20px;
}

.compact-list {
  gap: 10px;
  margin-top: 14px;
}

.ticket-mini-item {
  color: inherit;
  border-top: 1px solid var(--border);
  gap: 4px;
  padding: 12px 0;
  text-decoration: none;
  display: grid;
}

.ticket-mini-item:first-child {
  border-top: 0;
}

.ticket-mini-item strong {
  color: var(--text-strong);
}

.ticket-mini-item span {
  color: var(--text-muted);
  font-size: 14px;
}

.markdown-content {
  color: var(--text-main);
  white-space: pre-wrap;
  line-height: 1.85;
}

.markdown-content p {
  margin: 0 0 12px;
}

/*# sourceMappingURL=app_globals_0jn8.0u.css.map*/