:root {
  color-scheme: light;
  --forest: #102c46;
  --forest-soft: #006eb8;
  --cream: #f4f7fb;
  --paper: #ffffff;
  --ink: #102c46;
  --muted: #5d6f7e;
  --line: #dce3e8;
  --gold: #91cffa;
  --danger: #ac3939;
  --radius: 18px;
  font-family: 'Segoe UI', 'Arial', sans-serif;
  color: var(--ink);
  background: var(--cream);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(280px, 0.8fr);
  gap: 24px;
  align-items: start;
}
.contact-form-card,
.contact-info,
.contact-request {
  padding: 28px;
}
.contact-info {
  position: sticky;
  top: 24px;
}
.contact-info > p:not(.help) {
  color: var(--muted);
  line-height: 1.7;
}
.contact-info .actions {
  align-items: stretch;
  flex-direction: column;
  margin: 24px 0;
}
.contact-history {
  margin-top: 48px;
}
.contact-request-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
}
.contact-request-heading h3 {
  font-size: 1.2rem;
  margin-bottom: 2px;
}
.contact-sender,
.contact-category {
  color: var(--muted);
  font-size: 0.82rem;
}
.contact-category {
  font-weight: 700;
  color: var(--forest-soft);
}
.contact-response {
  background: #e8f0f6;
  border-radius: 12px;
  margin-top: 22px;
  padding: 18px 20px;
}
.contact-response strong {
  display: block;
  margin-bottom: 8px;
}
.contact-response p:last-of-type {
  margin-bottom: 0;
}
.contact-original {
  background: #edf2f6;
  border-radius: 12px;
  margin-bottom: 22px;
  padding: 18px;
}
.contact-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

@media (max-width: 780px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }
  .contact-info {
    position: static;
  }
  .contact-request-heading {
    flex-direction: column;
    gap: 8px;
  }
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
}
button,
input,
textarea,
select {
  font: inherit;
}
button,
a,
input,
textarea,
select {
  -webkit-tap-highlight-color: transparent;
}
button {
  cursor: pointer;
}
button:disabled {
  cursor: wait;
  opacity: 0.56;
}
a {
  color: inherit;
}
button,
.button {
  min-height: 44px;
  border: 1px solid var(--forest);
  border-radius: 10px;
  padding: 11px 18px;
  color: white;
  background: var(--forest);
  font-weight: 700;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition:
    background 0.15s,
    transform 0.15s;
}
button:hover:not(:disabled),
.button:hover {
  background: var(--forest-soft);
}
button.secondary,
.button.secondary {
  background: transparent;
  color: var(--forest);
  border-color: #b7c8d5;
}
button.secondary:hover:not(:disabled),
.button.secondary:hover {
  background: #e8f0f6;
}
button.danger {
  background: var(--danger);
  border-color: var(--danger);
}
button.quiet,
.button.quiet {
  background: transparent;
  color: var(--forest);
  border-color: transparent;
}
button.small,
.button.small {
  min-height: 38px;
  padding: 8px 12px;
  font-size: 0.85rem;
}
:focus-visible {
  outline: 3px solid var(--blue, #006eb8);
  outline-offset: 4px;
}
.skip-link {
  position: absolute;
  top: -60px;
  left: 15px;
  z-index: 30;
  background: white;
  padding: 12px;
}
.skip-link:focus {
  top: 10px;
}
.site-header {
  border-bottom: 1px solid var(--line);
  background: rgba(255, 254, 249, 0.97);
}
.header-inner {
  max-width: 1232px;
  margin: auto;
  min-height: 93px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 32px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 13px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand img {
  object-fit: contain;
}
.brand span {
  font-size: 1.13rem;
  letter-spacing: 0.12em;
  font-weight: 800;
}
.brand small {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.055em;
  display: block;
  margin-top: 4px;
  color: var(--muted);
}
nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.nav-link {
  padding: 11px 12px;
  font-size: 0.88rem;
  text-decoration: none;
  border-radius: 8px;
  white-space: nowrap;
}
.nav-link:hover,
.nav-link[aria-current='page'] {
  background: #e8f0f6;
}
.nav-profile {
  border: 1px solid var(--line);
}
.nav-balance {
  color: var(--forest);
  margin-left: 8px;
  font-weight: 800;
}
main {
  max-width: 1232px;
  padding: 40px 32px 80px;
  margin: auto;
  min-height: calc(100vh - 250px);
}
main:focus {
  outline: none;
}
.notifications {
  max-width: 1168px;
  margin: auto;
}
.toast {
  margin: 16px 0 0;
  border-radius: 12px;
  padding: 15px 20px;
  background: #e6f0f3;
  color: #174656;
  border: 1px solid #b8d2db;
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: space-between;
}
.toast.error {
  background: #fcebe5;
  color: #923b2f;
  border-color: #efc8bc;
}
.toast button {
  min-height: 30px;
  padding: 2px 8px;
  color: inherit;
  border: none;
  background: transparent;
}
.hero {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  background: var(--forest);
  color: var(--paper);
  overflow: hidden;
  min-height: 335px;
  border-radius: 24px;
  position: relative;
  margin-bottom: 42px;
}
.hero-copy {
  padding: 45px 48px;
  position: relative;
  z-index: 1;
}
.eyebrow {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  display: block;
  margin: 0 0 18px;
  color: var(--forest-soft);
}
.hero .eyebrow {
  color: #91cffa;
}
h1,
h2,
h3,
p {
  margin-top: 0;
}
h1 {
  font-family: 'Segoe UI', 'Arial', sans-serif;
  font-weight: 500;
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  line-height: 1.07;
  letter-spacing: -0.025em;
  margin-bottom: 20px;
}
h2 {
  font-family: 'Segoe UI', 'Arial', sans-serif;
  font-weight: 500;
  font-size: 2rem;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
}
h3 {
  font-size: 1.13rem;
  line-height: 1.4;
  margin-bottom: 8px;
}
.hero p {
  max-width: 420px;
  color: #d3e1ed;
  line-height: 1.7;
  font-size: 0.96rem;
  margin-bottom: 25px;
}
.hero .button {
  background: #91cffa;
  color: var(--forest);
  border-color: #91cffa;
}
.hero .button:hover {
  background: #b8e0ff;
}
.hero-art {
  display: grid;
  place-items: center;
  position: relative;
  background: #006eb8;
}
.hero-art::before,
.hero-art::after {
  content: '';
  position: absolute;
  width: 300px;
  height: 300px;
  border: 1px solid #9abaca;
  border-radius: 50%;
  opacity: 0.55;
}
.hero-art::after {
  width: 370px;
  height: 370px;
}
.hero-art img {
  width: 235px;
  height: 235px;
  object-fit: contain;
  position: relative;
  z-index: 1;
  filter: drop-shadow(0 6px 15px #102c4633);
}
.page-heading {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 30px;
}
.page-heading h1 {
  font-size: clamp(2.1rem, 4vw, 3rem);
  margin-bottom: 10px;
}
.page-heading p,
.section-heading p {
  color: var(--muted);
  line-height: 1.65;
  margin-bottom: 0;
}
.section-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 25px;
}
.section-heading h2 {
  margin-bottom: 0;
}
.section-heading a {
  font-size: 0.88rem;
  text-underline-offset: 4px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.card-body {
  padding: 24px;
}
.card-image {
  width: 100%;
  height: 205px;
  display: block;
  object-fit: cover;
  background: #e8f0f6;
}
.card-art {
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: #e8f0f6;
  color: #006eb8;
  overflow: hidden;
}
.card-art::before {
  content: '';
  width: 145px;
  height: 145px;
  border: 1px solid #bad0df;
  border-radius: 50%;
  position: absolute;
}
.card-art span {
  font-family: 'Segoe UI', 'Arial', sans-serif;
  font-size: 4.5rem;
  position: relative;
}
.card-art.food {
  background: #e8f0f6;
  color: #006eb8;
}
.card-art.event {
  background: #e8f0f6;
}
.meta {
  color: var(--muted);
  font-size: 0.84rem;
  line-height: 1.7;
}
.card .description {
  color: var(--muted);
  line-height: 1.6;
  margin: 12px 0 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.card-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-top: 22px;
}
.price {
  font-size: 1.4rem;
  font-weight: 800;
}
.tag {
  display: inline-flex;
  border-radius: 5px;
  font-size: 0.66rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 6px 9px;
  background: #e8f0f6;
  color: #006eb8;
  margin-bottom: 14px;
}
.tag.draft {
  background: #f6eacb;
  color: #83631e;
}
.tag.archived {
  background: #e9eef3;
  color: #5d6f7e;
}
.actions {
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.panel {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 30px;
}
.panel h2 {
  font-size: 1.65rem;
}
.auth-layout {
  max-width: 900px;
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 0;
  margin: 25px auto;
  border-radius: 24px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--paper);
}
.auth-intro {
  background: var(--forest);
  color: white;
  padding: 44px 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.auth-intro img {
  width: 155px;
  height: 155px;
  object-fit: contain;
  margin-bottom: 32px;
}
.auth-intro h2 {
  font-size: 2.25rem;
}
.auth-intro p {
  color: #d3e1ed;
  line-height: 1.7;
}
.auth-content {
  padding: 40px;
}
.auth-content h1 {
  font-size: 2.25rem;
  margin-bottom: 12px;
}
.auth-content > p {
  color: var(--muted);
  line-height: 1.65;
  font-size: 0.9rem;
}
.auth-content form {
  margin-top: 25px;
}
form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-width: 0;
}
.field-label {
  font-size: 0.86rem;
  font-weight: 700;
}
input:not([type='checkbox']),
textarea,
select {
  width: 100%;
  min-height: 45px;
  padding: 10px 12px;
  border: 1px solid #bccbd6;
  border-radius: 8px;
  background: #ffffff;
  color: var(--ink);
}
input[type='file'] {
  font-size: 0.85rem;
  padding: 8px;
}
input[type='checkbox'] {
  width: 19px;
  height: 19px;
  accent-color: var(--forest);
  margin: 0;
}
textarea {
  resize: vertical;
  min-height: 110px;
}
.check-field {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
}
.help {
  color: var(--muted);
  font-size: 0.78rem;
  line-height: 1.6;
  margin: 0;
}
.form-error {
  color: #9c342a;
  background: #fff0e9;
  border: 1px solid #f0c9bc;
  border-radius: 8px;
  padding: 12px;
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.6;
}
.form-error:empty {
  display: none;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-note {
  font-size: 0.84rem;
  color: var(--muted);
  line-height: 1.7;
}
.auth-switch {
  margin: 22px 0 0;
  font-size: 0.87rem;
  text-align: center;
}
.auth-switch a {
  font-weight: 700;
  text-underline-offset: 3px;
}
.balance-card {
  background: var(--forest);
  color: var(--paper);
  border-radius: var(--radius);
  padding: 28px 32px;
  min-width: 240px;
}
.balance-card p {
  font-size: 0.83rem;
  margin-bottom: 9px;
  color: #d3e1ed;
}
.balance-card strong {
  display: block;
  font-size: 2.4rem;
  letter-spacing: -0.035em;
}
.balance-card small {
  display: block;
  margin-top: 15px;
  color: #d3e1ed;
  font-size: 0.75rem;
}
.profile-grid {
  display: grid;
  grid-template-columns: 1.7fr 1fr;
  gap: 24px;
  align-items: start;
}
.toolbar {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 24px;
}
.toolbar form {
  flex-direction: row;
  gap: 10px;
  flex: 1;
}
.toolbar .field {
  flex: 1;
}
.toolbar .field-label {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.filter-group {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}
.filter-group button {
  border-color: var(--line);
  background: var(--paper);
  color: var(--muted);
}
.filter-group button[aria-pressed='true'] {
  background: var(--forest);
  border-color: var(--forest);
  color: white;
}
.pagination {
  display: flex;
  gap: 15px;
  align-items: center;
  justify-content: center;
  margin: 28px 0 0;
  font-size: 0.85rem;
  color: var(--muted);
}
.empty {
  padding: 52px 28px;
  border: 1px dashed #b7c8d5;
  border-radius: var(--radius);
  text-align: center;
  background: #edf2f6;
}
.empty h3 {
  font-family: 'Segoe UI', 'Arial', sans-serif;
  font-size: 1.5rem;
  font-weight: 500;
}
.empty p {
  color: var(--muted);
  line-height: 1.6;
  max-width: 420px;
  margin: 10px auto 0;
}
.empty .button {
  margin-top: 20px;
}
.loading {
  color: var(--muted);
  padding: 45px 20px;
  text-align: center;
}
.notice {
  background: #f2e8ce;
  color: #6f582a;
  border: 1px solid #e5d5ac;
  padding: 16px 20px;
  border-radius: 12px;
  line-height: 1.6;
  margin-bottom: 24px;
}
.history {
  display: flex;
  flex-direction: column;
}
.transaction {
  display: grid;
  grid-template-columns: 42px 1fr auto;
  gap: 14px;
  padding: 20px 0;
  align-items: start;
  border-bottom: 1px solid var(--line);
}
.transaction:last-child {
  border-bottom: 0;
}
.transaction-icon {
  display: grid;
  place-items: center;
  height: 38px;
  border-radius: 50%;
  background: #e8f0f6;
  font-size: 1.2rem;
}
.transaction h3 {
  font-size: 0.94rem;
  margin: 0 0 4px;
}
.transaction p {
  font-size: 0.78rem;
  line-height: 1.65;
  color: var(--muted);
  margin: 0;
}
.transaction-value {
  text-align: right;
  font-size: 0.95rem;
  font-weight: 800;
  white-space: nowrap;
}
.transaction-value.positive {
  color: #43804d;
}
.transaction-value small {
  display: block;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 400;
  margin-top: 6px;
}
.mono {
  font-family: Consolas, monospace;
  overflow-wrap: anywhere;
}
.data-table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
}
.data-table {
  border-collapse: collapse;
  width: 100%;
  text-align: left;
  font-size: 0.88rem;
}
.data-table th {
  background: #e8f0f6;
  color: var(--muted);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.data-table th,
.data-table td {
  padding: 16px 20px;
  border-bottom: 1px solid var(--line);
}
.data-table tr:last-child td {
  border-bottom: none;
}
.data-table td .tag {
  margin: 0;
}
.detail {
  max-width: 850px;
  margin: auto;
}
.back-link {
  display: inline-block;
  color: var(--muted);
  font-size: 0.87rem;
  margin-bottom: 24px;
  text-underline-offset: 4px;
}
.detail-image {
  width: 100%;
  max-height: 430px;
  object-fit: cover;
  border-radius: var(--radius);
  margin: 0 0 30px;
}
.detail h1 {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  margin: 14px 0 24px;
}
.detail-meta {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 28px;
  color: var(--forest-soft);
  font-size: 0.9rem;
}
.prose {
  white-space: pre-wrap;
  line-height: 1.85;
  color: #5d6f7e;
  overflow-wrap: anywhere;
}
.admin-tabs {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  padding-bottom: 23px;
  margin-bottom: 30px;
  border-bottom: 1px solid var(--line);
}
.admin-tabs a {
  text-decoration: none;
  font-size: 0.85rem;
  border-radius: 8px;
  padding: 10px 14px;
  color: var(--muted);
}
.admin-tabs a[aria-current='page'] {
  background: var(--forest);
  color: white;
}
.admin-tabs a:hover {
  background: #e8f0f6;
  color: var(--forest);
}
dialog {
  border: 1px solid var(--line);
  border-radius: 20px;
  color: var(--ink);
  background: var(--paper);
  max-width: min(650px, calc(100vw - 28px));
  width: 100%;
  max-height: calc(100dvh - 40px);
  padding: 30px;
  box-shadow: 0 24px 90px #102c4644;
}
dialog::backdrop {
  background: #102c46aa;
  backdrop-filter: blur(3px);
}
.dialog-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 20px;
}
.dialog-heading h2 {
  font-size: 1.9rem;
  margin: 4px 0 0;
}
.dialog-heading button {
  border: 0;
  background: #e8f0f6;
  color: var(--forest);
  padding: 6px 12px;
  min-height: 36px;
}
.dialog-content > .help {
  margin-bottom: 20px;
}
.purchase-summary {
  background: #e8f0f6;
  padding: 20px;
  border-radius: 12px;
  margin-bottom: 10px;
}
.purchase-summary p {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  margin-bottom: 14px;
}
.purchase-summary p:last-child {
  margin-bottom: 0;
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--ink);
  padding-top: 14px;
  border-top: 1px solid #c6d5e0;
}
.success-symbol {
  display: grid;
  place-items: center;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #e8f0f6;
  color: #006eb8;
  font-size: 2rem;
  width: 70px;
  height: 70px;
}
.success-view {
  text-align: center;
  padding: 10px 12px;
}
.success-view p {
  color: var(--muted);
  line-height: 1.7;
}
.success-view .actions {
  justify-content: center;
  margin-top: 25px;
}
.divider {
  border: 0;
  border-top: 1px solid var(--line);
  margin: 8px 0;
}
details {
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 15px;
}
details + details {
  margin-top: 12px;
}
summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 4px 0;
}
details[open] summary {
  margin-bottom: 18px;
}
.user-summary {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: space-between;
  padding: 20px;
  background: #e8f0f6;
  border-radius: 12px;
  margin-bottom: 22px;
}
.user-summary .tag {
  margin: 0;
}
.user-summary strong {
  font-size: 1.8rem;
}
.site-footer {
  border-top: 1px solid var(--line);
  max-width: 1168px;
  margin: auto;
  padding: 28px 0 34px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  color: var(--muted);
  font-size: 0.78rem;
}
.site-footer span {
  color: var(--forest);
  font-weight: 800;
  letter-spacing: 0.15em;
}
.site-footer p {
  margin: 0;
}
.site-footer a {
  text-underline-offset: 4px;
}
@media (max-width: 1000px) {
  .grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .header-inner {
    gap: 12px;
    padding-inline: 24px;
  }
  .brand small {
    display: none;
  }
  .brand span {
    font-size: 0.94rem;
  }
  .nav-link {
    padding: 9px;
  }
  .hero-copy {
    padding: 38px;
  }
  .profile-grid {
    grid-template-columns: 1.3fr 1fr;
  }
  .site-footer {
    margin-inline: 32px;
  }
}
@media (max-width: 720px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
    padding: 15px 20px;
  }
  .brand img {
    width: 40px;
    height: 40px;
  }
  .brand small {
    display: block;
  }
  nav {
    width: 100%;
    justify-content: flex-start;
    gap: 2px;
  }
  .nav-link {
    font-size: 0.8rem;
    padding: 9px 10px;
  }
  .nav-balance {
    margin-left: 5px;
  }
  main {
    padding: 26px 20px 50px;
  }
  .hero {
    grid-template-columns: 1fr;
  }
  .hero-copy {
    padding: 34px 28px;
  }
  .hero-art {
    display: none;
  }
  .hero p {
    font-size: 0.9rem;
  }
  .grid {
    gap: 16px;
  }
  .card-body {
    padding: 19px;
  }
  .card-art {
    min-height: 145px;
  }
  .page-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }
  .page-heading .balance-card {
    width: 100%;
  }
  .balance-card {
    padding: 23px 27px;
  }
  .profile-grid {
    grid-template-columns: 1fr;
  }
  .auth-layout {
    grid-template-columns: 1fr;
    margin: 0 auto;
  }
  .auth-intro {
    display: none;
  }
  .auth-content {
    padding: 32px 25px;
  }
  .section-heading h2 {
    font-size: 1.6rem;
  }
  .section-heading a {
    font-size: 0.8rem;
  }
  .panel {
    padding: 24px;
  }
  .site-footer {
    margin-inline: 20px;
    flex-wrap: wrap;
    gap: 14px;
  }
  .site-footer p {
    order: 3;
    width: 100%;
  }
  .toast {
    margin-inline: 20px;
  }
  dialog {
    padding: 24px;
  }
  .toolbar {
    align-items: stretch;
  }
  .toolbar form {
    min-width: 100%;
  }
}
@media (max-width: 470px) {
  .grid {
    grid-template-columns: 1fr;
  }
  .card-art {
    min-height: 160px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .transaction {
    grid-template-columns: 30px 1fr auto;
    gap: 10px;
  }
  .transaction-icon {
    height: 30px;
    font-size: 1rem;
  }
  .transaction-value {
    font-size: 0.87rem;
  }
  .transaction-value small {
    max-width: 90px;
    white-space: normal;
  }
  .panel {
    padding: 20px;
  }
  .admin-tabs {
    gap: 2px;
  }
  .admin-tabs a {
    font-size: 0.78rem;
    padding: 9px;
  }
  .hero h1 {
    font-size: 2.6rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  * {
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* HSD Kuchl: a blue and white student hub with alpine character. */
:root {
  --blue: #006eb8;
  --sky: #e8f0f6;
  --radius: 20px;
  font-synthesis: none;
}
body {
  background: var(--cream);
  line-height: 1.5;
}
button,
.button {
  border-color: var(--blue);
  background: var(--blue);
  border-radius: 9px;
  font-size: 0.9rem;
  min-height: 46px;
}
button:hover:not(:disabled),
.button:hover {
  background: #085994;
}
button.quiet:hover:not(:disabled),
.button.quiet:hover {
  background: var(--sky);
}
.icon {
  flex: 0 0 auto;
  display: inline-block;
  width: 21px;
  height: 21px;
  vertical-align: middle;
}
.site-header {
  background: #fff;
  border-top: 4px solid var(--blue);
}
.header-inner,
main {
  max-width: 1320px;
}
.header-inner {
  min-height: 92px;
}
.brand {
  gap: 14px;
}
.brand img {
  width: 84px;
  height: 60px;
}
.brand span {
  font-size: 1.06rem;
  letter-spacing: 0.09em;
}
.brand small {
  font-size: 0.67rem;
  letter-spacing: 0.02em;
}
.nav-link {
  font-weight: 650;
}
.nav-link[aria-current='page'] {
  color: var(--blue);
  background: var(--sky);
}
.nav-profile {
  background: #f7f9fb;
  max-width: 340px;
  white-space: normal;
  overflow-wrap: anywhere;
}
.nav-balance {
  color: var(--blue);
  white-space: nowrap;
}
main {
  padding-top: 32px;
  padding-bottom: 60px;
}
h1,
h2,
h3 {
  font-weight: 780;
}
h1 {
  letter-spacing: -0.055em;
  line-height: 1.07;
}
h2 {
  letter-spacing: -0.04em;
  line-height: 1.15;
}
h3 {
  letter-spacing: -0.025em;
}
.eyebrow {
  color: var(--blue);
  letter-spacing: 0.14em;
  font-size: 0.67rem;
  margin-bottom: 10px;
}
.hero {
  grid-template-columns: 1.14fr 1fr;
  background: var(--forest);
  min-height: 390px;
  border-radius: 24px;
  margin-bottom: 36px;
}
.hero-copy {
  padding: 42px 44px 30px;
}
.hero h1 {
  font-size: clamp(2.8rem, 4.8vw, 4.5rem);
  margin-bottom: 18px;
}
.hero h1 span {
  color: var(--gold);
}
.hero p {
  max-width: 440px;
  line-height: 1.65;
  font-size: 0.91rem;
  margin-bottom: 26px;
}
.hero-eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 24px;
}
.status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--gold);
}
.hero .actions {
  gap: 10px;
}
.hero .button {
  color: var(--forest);
}
.hero button.hero-secondary {
  border-color: #70879a;
  color: #fff;
  background: transparent;
  padding-inline: 14px;
}
.hero button.hero-secondary:hover {
  background: #26435e;
}
.hero-footnote {
  display: flex;
  gap: 6px;
  align-items: center;
  font-size: 0.72rem;
  color: #bacbd9;
  margin-top: 25px;
}
.hero-footnote .icon {
  width: 14px;
  height: 14px;
}
.hero-art {
  display: grid;
  overflow: hidden;
  background: var(--sky);
  min-width: 0;
  isolation: isolate;
}
.hero-art::before,
.hero-art::after {
  display: none;
}
.hero-art .alpine-scene {
  position: absolute;
  z-index: -2;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: none;
}
.hero-orbit {
  width: 330px;
  height: 330px;
  position: absolute;
  border-radius: 50%;
  border: 1px solid #102c4633;
  transform: rotate(-15deg) scaleY(0.86);
}
.brand-badge {
  width: 238px;
  height: 238px;
  display: grid;
  place-items: center;
  background: #ffffff;
  border-radius: 28px;
  border: 9px solid #ffffff;
  box-shadow:
    0 15px 0 -8px #102c4622,
    0 18px 40px #102c4633;
  transform: rotate(-8deg);
  position: relative;
}
.brand-badge::after {
  content: '';
  position: absolute;
  inset: 8px;
  border: 1px solid #d6e5ee;
  border-radius: 18px;
}
.brand-badge img {
  width: 215px;
  height: 152px;
  object-fit: contain;
  filter: none;
}
.hero-sticker {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  bottom: 47px;
  right: 27px;
  padding: 11px 15px;
  border-radius: 7px;
  background: var(--gold);
  color: var(--forest);
  transform: rotate(6deg);
  font-size: 0.75rem;
  font-weight: 750;
  box-shadow: 0 4px 12px #102c4620;
}
.hero-art-label {
  position: absolute;
  bottom: 16px;
  left: 21px;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.19em;
  color: #fff;
}
.home-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 28px;
  align-items: start;
}
.events-section {
  min-width: 0;
  scroll-margin-top: 25px;
}
.section-heading {
  gap: 18px;
  align-items: flex-end;
  margin-bottom: 20px;
}
.section-heading h2 {
  font-size: 1.85rem;
}
.section-heading a {
  color: var(--blue);
  font-weight: 650;
  font-size: 0.76rem;
  white-space: nowrap;
}
.section-heading .eyebrow {
  margin-bottom: 7px;
}
.event-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}
.card {
  box-shadow: 0 3px 8px #102c4603;
}
.card-body {
  padding: 24px;
}
.card h3 a {
  text-decoration: none;
}
.card h3 a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}
.card h3 {
  font-size: 1.3rem;
  line-height: 1.25;
  overflow-wrap: anywhere;
}
.card .description {
  font-size: 0.86rem;
}
.card .meta {
  margin-bottom: 7px;
  font-size: 0.78rem;
}
.icon-line {
  display: flex;
  align-items: flex-start;
  gap: 7px;
}
.icon-line .icon {
  width: 16px;
  height: 16px;
  margin-top: 3px;
}
.event-visual {
  position: relative;
  min-width: 0;
}
.event-visual .card-image {
  height: 210px;
}
.card-art {
  height: 205px;
  min-height: 0;
}
.card-art::before {
  display: none;
}
.card-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.card-art.event img {
  object-position: center 58%;
}
.card-art .art-caption {
  position: absolute;
  left: 18px;
  bottom: 14px;
  font:
    700 0.58rem 'Segoe UI',
    sans-serif;
  letter-spacing: 0.15em;
  color: white;
}
.event-date {
  position: absolute;
  left: 18px;
  top: 18px;
  min-width: 58px;
  text-align: center;
  background: #fff;
  border-radius: 9px;
  box-shadow: 0 3px 9px #102c461a;
  overflow: hidden;
  color: var(--forest);
}
.event-date span {
  display: block;
  background: var(--blue);
  color: white;
  font-size: 0.57rem;
  line-height: 1.8;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 4px 12px;
}
.event-date strong {
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.55;
}
.event-grid .event-card:only-child {
  display: grid;
  grid-template-columns: 0.85fr 1fr;
  grid-column: 1 / -1;
}
.event-grid .event-card:only-child .event-visual {
  min-height: 320px;
}
.event-grid .event-card:only-child .card-art,
.event-grid .event-card:only-child .card-image {
  height: 100%;
}
.event-grid .event-card:only-child .card-body {
  align-self: center;
  padding: 28px;
}
.tag {
  font-size: 0.59rem;
  border-radius: 5px;
  margin-bottom: 14px;
  padding: 5px 8px;
}
.archive-banner {
  display: flex;
  align-items: center;
  gap: 17px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 22px;
  margin-top: 22px;
  text-decoration: none;
  background: #e8f0f6;
}
.archive-banner:hover {
  background: #dde9f2;
}
.archive-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid #c5d1d9;
  border-radius: 12px;
  flex: 0 0 auto;
}
.archive-banner h3 {
  font-size: 1rem;
  margin: 0 0 5px;
}
.archive-banner p {
  color: var(--muted);
  margin: 0;
  font-size: 0.78rem;
}
.archive-banner > .icon {
  margin-left: auto;
  width: 18px;
}
.community-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.wallet-panel {
  color: #fff;
  background: var(--blue);
  border-radius: 20px;
  padding: 27px;
  position: relative;
  overflow: hidden;
}
.wallet-panel::after {
  content: '';
  position: absolute;
  width: 180px;
  height: 180px;
  border: 1px solid #ffffff20;
  border-radius: 50%;
  top: -40px;
  right: -75px;
  pointer-events: none;
}
.sidebar-label {
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 0.6rem;
  font-weight: 750;
  letter-spacing: 0.14em;
  margin-bottom: 22px;
}
.sidebar-label .icon {
  width: 21px;
}
.wallet-panel h2 {
  white-space: pre-line;
  font-size: 1.7rem;
  margin-bottom: 16px;
}
.wallet-panel p {
  color: #e1eef7;
  font-size: 0.83rem;
  line-height: 1.65;
  margin-bottom: 21px;
}
.wallet-panel .button {
  width: 100%;
  background: #fff;
  color: var(--blue);
  border-color: #fff;
  font-size: 0.8rem;
  padding-inline: 10px;
}
.wallet-panel .button:hover {
  background: #e5eff6;
}
.wallet-panel small {
  display: block;
  text-align: center;
  font-size: 0.7rem;
  margin-top: 17px;
}
.wallet-panel small a {
  text-underline-offset: 3px;
  font-weight: 650;
}
.wallet-balance {
  margin: 17px 0 22px;
  padding-top: 18px;
  border-top: 1px solid #ffffff4a;
}
.wallet-balance span {
  display: block;
  color: #e1eef7;
  font-size: 0.75rem;
}
.wallet-balance strong {
  display: block;
  font-size: 2.4rem;
  letter-spacing: -0.04em;
  margin-top: 5px;
}
.sidebar-link {
  display: block;
  text-align: center;
  font-size: 0.72rem;
  margin-top: 16px;
  text-underline-offset: 4px;
}
.how-panel {
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: white;
}
.how-panel h3 {
  margin-bottom: 21px;
  font-size: 1.2rem;
}
.steps {
  list-style: none;
  counter-reset: steps;
  margin: 0;
  padding: 0;
}
.steps li {
  position: relative;
  counter-increment: steps;
  padding: 0 0 21px 38px;
}
.steps li:last-child {
  padding-bottom: 0;
}
.steps li::before {
  content: counter(steps, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 1px;
  color: var(--blue);
  font-size: 0.71rem;
  font-weight: 800;
  background: var(--sky);
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 7px;
}
.steps strong {
  font-size: 0.8rem;
}
.steps p {
  font-size: 0.72rem;
  line-height: 1.6;
  color: var(--muted);
  margin: 5px 0 0;
}
.staff-shortcut {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 15px;
  text-decoration: none;
  font-size: 0.75rem;
  font-weight: 650;
  border-radius: 10px;
  border: 1px solid var(--line);
}
.staff-shortcut .icon {
  width: 17px;
}
.staff-shortcut > .icon:last-child {
  margin-left: auto;
}
.empty {
  padding: 42px 24px;
  background: #edf2f6;
  border: 1px solid #d4e0e8;
  min-height: 275px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.empty-symbol {
  display: grid;
  place-items: center;
  width: 55px;
  height: 55px;
  background: white;
  border-radius: 15px;
  color: var(--blue);
  margin-bottom: 19px;
  box-shadow: 0 3px 0 #dbe6ed;
  transform: rotate(-6deg);
}
.empty-symbol .icon {
  width: 26px;
  height: 26px;
}
.empty h3 {
  font-size: 1.4rem;
  font-weight: 750;
}
.empty p {
  font-size: 0.86rem;
  margin-top: 0;
}
.page-heading {
  padding: 9px 0 28px;
  margin-bottom: 28px;
  border-bottom: 1px solid var(--line);
}
.page-heading h1 {
  font-size: clamp(2.3rem, 4vw, 3.3rem);
}
.page-heading p {
  max-width: 650px;
  font-size: 0.92rem;
}
.balance-card {
  background: var(--forest);
  min-width: 265px;
  padding: 22px 27px;
}
.balance-card p {
  display: flex;
  align-items: center;
  gap: 8px;
}
.balance-card .icon {
  width: 17px;
  height: 17px;
}
.balance-card strong {
  font-size: 2.25rem;
}
.balance-card small {
  font-size: 0.68rem;
  margin-top: 10px;
}
.shop-guide {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid var(--line);
  background: #e8f0f6;
  border-radius: 14px;
  margin: 0 0 30px;
  padding: 19px 22px;
  gap: 20px;
}
.shop-guide > div {
  display: flex;
  align-items: center;
  gap: 13px;
}
.shop-guide .icon {
  color: var(--blue);
  width: 26px;
  height: 26px;
}
.shop-guide span {
  display: block;
  color: var(--muted);
  font-size: 0.72rem;
}
.shop-guide strong {
  display: block;
  color: var(--forest);
  font-size: 0.82rem;
  margin-bottom: 3px;
}
.product-card:only-child {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-column: 1 / -1;
}
.product-card:only-child .card-art,
.product-card:only-child .card-image {
  height: 100%;
  min-height: 280px;
}
.product-card:only-child .card-body {
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.product-card:only-child .tag {
  align-self: flex-start;
}
.product-card:only-child h3 {
  font-size: 1.9rem;
}
.product-card:only-child .card-bottom {
  max-width: 440px;
}
.auth-layout {
  max-width: 990px;
  border-color: #d1dce4;
  box-shadow: 0 16px 50px #102c4606;
  margin: 12px auto;
}
.auth-intro {
  background: var(--forest);
  padding: 38px 36px 235px;
  justify-content: flex-start;
  position: relative;
}
.auth-intro::after {
  content: '';
  position: absolute;
  inset: auto 0 0;
  height: 205px;
  background: url('/assets/kuchl-alpine.svg') center 62% / cover no-repeat;
}
.auth-intro img {
  width: 145px;
  height: 102px;
  margin-bottom: 28px;
  background: white;
  border-radius: 14px;
  padding: 8px;
}
.auth-intro h2 {
  font-size: 2.5rem;
  line-height: 1.05;
  white-space: pre-line;
  position: relative;
}
.auth-intro p {
  font-size: 0.86rem;
  line-height: 1.6;
  position: relative;
}
.auth-benefits {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 13px;
  font-size: 0.78rem;
  position: relative;
}
.auth-benefits span {
  display: flex;
  align-items: center;
  gap: 10px;
}
.auth-benefits .icon {
  width: 17px;
  height: 17px;
  color: var(--gold);
}
.auth-content {
  padding: 40px;
}
.auth-content h1 {
  font-size: 2.75rem;
}
.auth-switch {
  border-top: 1px solid var(--line);
  padding-top: 20px;
}
.auth-switch a {
  color: var(--blue);
}
.auth-content .form-note {
  background: var(--sky);
  padding: 14px;
  border-radius: 8px;
  font-size: 0.74rem;
  margin: 23px 0 0;
}
.panel h2 {
  font-size: 1.5rem;
  margin-bottom: 18px;
}
.profile-grid {
  margin-bottom: 24px;
}
.data-table th {
  padding-block: 14px;
  background: var(--forest);
  color: #e1eaf1;
}
.data-table tbody tr:hover {
  background: #f5f8fa;
}
.admin-tabs {
  justify-content: flex-start;
  gap: 8px;
  padding-bottom: 20px;
}
.admin-tabs a {
  background: #e8f0f6;
}
.admin-tabs a[aria-current='page'] {
  background: var(--blue);
}
.detail {
  max-width: 980px;
}
.detail-art {
  border-radius: 20px;
  overflow: hidden;
  margin-bottom: 30px;
  position: relative;
}
.detail-art .card-art {
  height: 320px;
}
.detail-art .event-date {
  left: 26px;
  top: 26px;
}
.detail .prose {
  background: white;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 16px;
  margin-bottom: 25px;
}
.detail-meta {
  padding: 18px 0;
  border-block: 1px solid var(--line);
}
.site-footer {
  max-width: 1256px;
  margin-inline: auto;
  font-size: 0.73rem;
  padding-block: 22px 26px;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.footer-brand img {
  object-fit: contain;
}
.site-footer span {
  letter-spacing: 0.1em;
  font-size: 0.7rem;
}
.footer-links {
  display: flex;
  align-items: center;
  gap: 22px;
}
@media (max-width: 1100px) {
  .hero-copy {
    padding: 36px 30px 27px;
  }
  .hero h1 {
    font-size: 3.4rem;
  }
  .hero .actions {
    align-items: flex-start;
  }
  .hero .button,
  .hero button.hero-secondary {
    font-size: 0.78rem;
    padding-inline: 12px;
  }
  .brand-badge {
    width: 210px;
    height: 210px;
  }
  .brand-badge img {
    width: 185px;
    height: 135px;
  }
  .hero-sticker {
    right: 18px;
    bottom: 45px;
    font-size: 0.66rem;
  }
  .home-layout {
    grid-template-columns: minmax(0, 1fr) 270px;
    gap: 22px;
  }
  .event-grid {
    grid-template-columns: 1fr;
  }
  .event-grid .event-card:only-child {
    display: block;
  }
  .event-grid .event-card:only-child .event-visual {
    min-height: 0;
  }
  .event-grid .event-card:only-child .card-art,
  .event-grid .event-card:only-child .card-image {
    height: 225px;
  }
  .section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }
  .wallet-panel {
    padding: 24px;
  }
  .site-footer {
    margin-inline: 32px;
  }
  .header-inner {
    padding-inline: 28px;
  }
  .brand {
    gap: 8px;
  }
  .brand img {
    width: 70px;
    height: 50px;
  }
  .brand span {
    font-size: 0.9rem;
  }
  nav {
    gap: 4px;
  }
  .nav-link {
    padding-inline: 9px;
    font-size: 0.8rem;
  }
}
@media (max-width: 800px) {
  .hero {
    grid-template-columns: 1.15fr 1fr;
  }
  .hero h1 {
    font-size: 2.9rem;
  }
  .hero-copy {
    padding: 30px 26px;
  }
  .hero p {
    font-size: 0.85rem;
  }
  .hero button.hero-secondary {
    min-height: 40px;
  }
  .hero-footnote {
    font-size: 0.66rem;
  }
  .home-layout {
    grid-template-columns: minmax(0, 1fr) 245px;
    gap: 20px;
  }
  .wallet-panel {
    padding: 21px;
  }
  .wallet-panel h2 {
    font-size: 1.5rem;
  }
  .how-panel {
    padding: 22px;
  }
  .section-heading h2 {
    font-size: 1.7rem;
  }
  .shop-guide {
    padding: 18px;
    gap: 14px;
  }
  .shop-guide > div {
    gap: 8px;
  }
  .shop-guide .icon {
    width: 20px;
  }
  .shop-guide strong {
    font-size: 0.72rem;
  }
  .shop-guide span {
    font-size: 0.66rem;
  }
  .product-card:only-child .card-body {
    padding: 26px;
  }
}
@media (max-width: 720px) {
  .header-inner {
    gap: 12px;
    padding: 13px 20px;
  }
  .brand img {
    width: 67px;
    height: 47px;
  }
  .brand span {
    font-size: 0.95rem;
  }
  nav {
    gap: 6px;
  }
  .nav-link {
    padding: 9px 10px;
    font-size: 0.76rem;
  }
  .nav-profile {
    max-width: 100%;
  }
  nav .button.small {
    font-size: 0.74rem;
    padding-inline: 11px;
  }
  main {
    padding: 22px 20px 40px;
  }
  .hero {
    grid-template-columns: 1.1fr 1fr;
    min-height: 360px;
  }
  .hero h1 {
    font-size: 2.65rem;
  }
  .hero-copy {
    padding: 28px 24px;
  }
  .hero-art {
    display: grid;
  }
  .hero-eyebrow {
    font-size: 0.57rem;
    letter-spacing: 0.11em;
  }
  .hero-footnote {
    display: none;
  }
  .brand-badge {
    width: 178px;
    height: 178px;
    border-width: 7px;
  }
  .brand-badge img {
    width: 159px;
    height: 112px;
  }
  .hero-sticker {
    font-size: 0.56rem;
    right: 13px;
    bottom: 48px;
    padding: 9px 10px;
  }
  .hero-sticker .icon {
    width: 16px;
    height: 16px;
  }
  .home-layout {
    grid-template-columns: 1fr;
    gap: 25px;
  }
  .section-heading {
    flex-direction: row;
    align-items: flex-end;
  }
  .community-sidebar {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    gap: 16px;
  }
  .community-sidebar .staff-shortcut {
    grid-column: 1 / -1;
  }
  .wallet-panel {
    height: 100%;
  }
  .wallet-panel h2 {
    font-size: 1.4rem;
  }
  .wallet-panel p {
    font-size: 0.77rem;
  }
  .event-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .event-grid .event-card:only-child {
    display: grid;
    grid-template-columns: 0.9fr 1fr;
  }
  .event-grid .event-card:only-child .card-art,
  .event-grid .event-card:only-child .card-image {
    height: 100%;
  }
  .event-grid .event-card:only-child .card-body {
    padding: 23px;
  }
  .event-grid .event-card:only-child .event-visual {
    min-height: 290px;
  }
  .page-heading {
    padding-bottom: 22px;
  }
  .page-heading h1 {
    font-size: 2.25rem;
  }
  .page-heading p {
    font-size: 0.85rem;
  }
  .auth-layout {
    grid-template-columns: 1fr;
  }
  .auth-intro {
    display: flex;
    min-height: 190px;
    padding: 23px 24px;
    background: var(--forest);
  }
  .auth-intro::after {
    display: none;
  }
  .auth-intro img {
    width: 105px;
    height: 74px;
    position: absolute;
    right: 22px;
    top: 25px;
    margin: 0;
  }
  .auth-intro h2 {
    font-size: 2rem;
    max-width: calc(100% - 115px);
  }
  .auth-intro p {
    max-width: calc(100% - 115px);
    font-size: 0.76rem;
    margin-bottom: 0;
  }
  .auth-benefits {
    display: none;
  }
  .auth-content {
    padding: 30px;
  }
  .auth-content h1 {
    font-size: 2.4rem;
  }
  .site-footer {
    margin-inline: 20px;
    gap: 16px;
  }
  .site-footer p {
    order: 3;
    width: 100%;
  }
  .footer-links {
    gap: 18px;
  }
  .detail-art .card-art {
    height: 230px;
  }
}
@media (max-width: 500px) {
  .hero {
    grid-template-columns: 1fr;
    border-radius: 20px;
  }
  .hero-copy {
    padding: 29px 25px 28px;
  }
  .hero h1 {
    font-size: 3.25rem;
  }
  .hero p {
    margin-bottom: 22px;
    font-size: 0.86rem;
  }
  .hero-eyebrow {
    font-size: 0.63rem;
    margin-bottom: 20px;
  }
  .hero .actions {
    gap: 10px;
  }
  .hero .button {
    min-height: 44px;
  }
  .hero button.hero-secondary {
    min-height: 44px;
  }
  .hero-art {
    height: 205px;
  }
  .hero-art .alpine-scene {
    object-position: center 62%;
  }
  .hero-orbit {
    width: 260px;
    height: 260px;
  }
  .brand-badge {
    width: 159px;
    height: 159px;
  }
  .brand-badge img {
    width: 142px;
    height: 102px;
  }
  .hero-sticker {
    right: 10px;
    bottom: 28px;
    font-size: 0.58rem;
    padding: 8px;
  }
  .hero-art-label {
    bottom: 9px;
    left: 15px;
    font-size: 0.48rem;
  }
  .section-heading h2 {
    font-size: 1.65rem;
  }
  .section-heading a {
    font-size: 0.68rem;
  }
  .section-heading .eyebrow {
    font-size: 0.6rem;
  }
  .event-grid {
    grid-template-columns: 1fr;
  }
  .event-grid .event-card:only-child {
    display: block;
  }
  .event-grid .event-card:only-child .event-visual {
    min-height: 0;
  }
  .event-grid .event-card:only-child .card-art,
  .event-grid .event-card:only-child .card-image {
    height: 205px;
  }
  .card h3 {
    font-size: 1.3rem;
  }
  .archive-banner {
    padding: 18px;
    gap: 12px;
  }
  .archive-icon {
    width: 40px;
    height: 40px;
  }
  .archive-banner p {
    font-size: 0.72rem;
  }
  .community-sidebar {
    grid-template-columns: 1fr;
  }
  .wallet-panel {
    padding: 26px;
  }
  .wallet-panel h2 {
    font-size: 1.85rem;
  }
  .wallet-panel p {
    font-size: 0.83rem;
  }
  .how-panel {
    padding: 26px;
  }
  .steps strong {
    font-size: 0.85rem;
  }
  .steps p {
    font-size: 0.78rem;
  }
  .shop-guide {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 20px;
  }
  .shop-guide strong {
    font-size: 0.8rem;
  }
  .shop-guide span {
    font-size: 0.73rem;
  }
  .shop-guide > div {
    gap: 15px;
  }
  .shop-guide .icon {
    width: 24px;
    height: 24px;
  }
  .product-card:only-child {
    display: block;
  }
  .product-card:only-child .card-art,
  .product-card:only-child .card-image {
    min-height: 0;
    height: 215px;
  }
  .product-card:only-child .card-body {
    padding: 24px;
  }
  .product-card:only-child h3 {
    font-size: 1.65rem;
  }
  .auth-intro h2 {
    font-size: 1.8rem;
  }
  .auth-intro p {
    max-width: 100%;
    margin-top: 12px;
  }
  .auth-content {
    padding: 28px 24px;
  }
  .footer-links {
    font-size: 0.67rem;
    gap: 14px;
  }
  .footer-brand img {
    width: 51px;
    height: 36px;
  }
  .footer-brand span {
    font-size: 0.64rem;
  }
  .footer-brand {
    gap: 6px;
  }
}

/* Public legal information and mandatory privacy acknowledgement */
.legal-document {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(24px, 5vw, 52px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--paper);
  box-shadow: 0 8px 35px #102c4608;
}
.legal-document.compact {
  max-width: 800px;
}
.legal-section + .legal-section {
  margin-top: 34px;
  padding-top: 30px;
  border-top: 1px solid var(--line);
}
.legal-section h2 {
  margin-bottom: 14px;
  font-size: clamp(1.35rem, 3vw, 1.75rem);
  line-height: 1.25;
}
.legal-section p,
.legal-section li,
.legal-summary p {
  color: var(--muted);
  line-height: 1.75;
  overflow-wrap: anywhere;
}
.legal-section p:last-child,
.legal-summary p:last-child {
  margin-bottom: 0;
}
.legal-section ul {
  margin: 0;
  padding-left: 1.3rem;
}
.legal-section li {
  padding-left: 0.25rem;
}
.legal-section li + li {
  margin-top: 11px;
}
.legal-section a,
.legal-summary a,
.privacy-gate-links a,
.check-field a {
  color: var(--blue);
  font-weight: 650;
  text-underline-offset: 3px;
}
.legal-summary {
  margin-bottom: 32px;
  padding: 20px 22px;
  border: 1px solid #bfd5e4;
  border-left: 5px solid var(--blue);
  border-radius: 12px;
  background: var(--sky);
}
.legal-summary > strong {
  display: block;
  margin-bottom: 8px;
}
.privacy-gate {
  max-width: 690px;
  margin: 0 auto;
}
.privacy-gate > h2 {
  margin-bottom: 22px;
}
.privacy-gate .legal-summary {
  margin-bottom: 0;
}
.privacy-gate .check-field,
.auth-content .check-field,
.contact-form-card .check-field,
dialog .check-field {
  align-items: flex-start;
  line-height: 1.55;
}
.privacy-gate .check-field input,
.auth-content .check-field input,
.contact-form-card .check-field input,
dialog .check-field input {
  flex: 0 0 auto;
  margin-top: 2px;
}
.privacy-gate-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px 20px;
  margin-top: 26px;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.privacy-gate-links .button,
.privacy-gate-links button {
  margin-left: auto;
}
.danger-notice {
  padding: 16px 18px;
  border: 1px solid #e2b7b7;
  border-left: 5px solid var(--danger);
  border-radius: 10px;
  background: #fff1f1;
  color: #792929;
}
.danger-notice strong {
  display: block;
  margin-bottom: 7px;
}
.danger-notice p {
  margin: 0;
  color: #792929;
  line-height: 1.65;
}
.footer-links {
  flex-wrap: wrap;
  justify-content: flex-end;
}

@media (max-width: 720px) {
  .legal-document {
    padding: 24px 20px;
    border-radius: 14px;
  }
  .legal-section + .legal-section {
    margin-top: 27px;
    padding-top: 25px;
  }
  .privacy-gate {
    padding: 24px 20px;
  }
  .privacy-gate-links .button,
  .privacy-gate-links button {
    width: 100%;
    margin-left: 0;
  }
  .site-footer {
    align-items: flex-start;
    flex-wrap: wrap;
  }
  .footer-links {
    justify-content: flex-start;
  }
}

@media print {
  .site-header,
  .site-footer,
  .notifications,
  .skip-link {
    display: none;
  }
  main {
    max-width: none;
    padding: 0;
  }
  .legal-document {
    max-width: none;
    padding: 0;
    border: 0;
    box-shadow: none;
  }
}
