:root {
  --bg: #f7f8fb;
  --panel: #ffffff;
  --panel-soft: #f3f5f8;
  --ink: #111827;
  --muted: #5b6472;
  --line: #e4e7ec;
  --line-strong: #cbd5e1;
  --accent: #2563eb;
  --accent-dark: #1d4ed8;
  --green: #15803d;
  --red: #b91c1c;
  --blue: #2563eb;
  --shadow: 0 24px 70px rgba(28, 25, 23, 0.09);
  --radius: 8px;
  --ease: cubic-bezier(.2, .8, .2, 1);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.88), rgba(247, 248, 251, 0.92)),
    repeating-linear-gradient(90deg, rgba(148, 163, 184, 0.16) 0 1px, transparent 1px 96px);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.6;
  letter-spacing: 0;
}

button,
input,
select {
  font: inherit;
}

button,
a,
label.upload-box {
  -webkit-tap-highlight-color: transparent;
}

button {
  cursor: pointer;
}

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

img {
  display: block;
  max-width: 100%;
}

:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.32);
  outline-offset: 3px;
}

.hidden {
  display: none !important;
}

.icon {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex: 0 0 auto;
}

.auth-screen {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 28px;
}

.auth-panel {
  width: min(430px, 100%);
  padding: 34px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  animation: riseIn 420ms var(--ease) both;
}

.brand-mark {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(135deg, var(--ink), #334155);
  border-radius: var(--radius);
  font-weight: 800;
  letter-spacing: 0;
}

.brand-mark.small {
  width: 34px;
  height: 34px;
  font-size: 14px;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--accent-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.auth-panel h1,
.page-head h1 {
  margin-bottom: 12px;
  font-size: 46px;
  line-height: 1.12;
  letter-spacing: 0;
}

.auth-panel h1 {
  font-size: 34px;
}

.auth-form,
.creator-panel,
.admin-form,
.modal form {
  display: grid;
  gap: 16px;
}

.field,
.auth-form label {
  display: grid;
  gap: 8px;
}

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

.field span,
.auth-form label span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

input,
select {
  width: 100%;
  min-height: 46px;
  padding: 10px 13px;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  transition: border-color 180ms var(--ease), box-shadow 180ms var(--ease), background 180ms var(--ease);
}

input:hover,
select:hover {
  border-color: #a8a29e;
}

input:focus,
select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
  outline: none;
}

.toggle-field {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 46px;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-weight: 900;
}

.toggle-field input {
  width: 18px;
  min-height: 18px;
  accent-color: var(--accent);
}

.primary-button,
.ghost-button,
.icon-button,
.text-button,
.tab-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  border: 0;
  border-radius: var(--radius);
  font-weight: 800;
  transition: transform 180ms var(--ease), background 180ms var(--ease), border-color 180ms var(--ease), color 180ms var(--ease), box-shadow 180ms var(--ease);
}

.primary-button {
  padding: 12px 18px;
  color: #fff;
  background: linear-gradient(135deg, #111827, #334155);
  box-shadow: 0 18px 34px rgba(28, 25, 23, 0.18);
}

.primary-button:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 42px rgba(28, 25, 23, 0.2);
}

.primary-button:disabled,
.ghost-button:disabled {
  cursor: not-allowed;
  opacity: .62;
  transform: none;
}

.ghost-button {
  padding: 10px 14px;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--line);
}

.ghost-button:hover {
  border-color: var(--line-strong);
  background: #fff;
}

.wide {
  width: 100%;
}

.form-note {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.app-shell {
  min-height: 100vh;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 18px clamp(18px, 4vw, 54px);
  background: rgba(250, 250, 249, 0.86);
  border-bottom: 1px solid rgba(231, 229, 228, 0.72);
  backdrop-filter: blur(16px);
}

.brand,
.top-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand {
  font-size: 17px;
  font-weight: 900;
  letter-spacing: 0;
}

.top-actions {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.mode-switch {
  display: inline-flex;
  gap: 3px;
  padding: 4px;
  background: #eef2f7;
  border: 1px solid #d8dee8;
  border-radius: 999px;
}

.mode-switch a {
  min-width: 58px;
  min-height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 13px;
  color: var(--muted);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
  transition: background 180ms var(--ease), color 180ms var(--ease), box-shadow 180ms var(--ease);
}

.mode-switch a:hover {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.62);
}

.mode-switch a.is-active {
  color: var(--ink);
  background: #fff;
  box-shadow: 0 8px 18px rgba(17, 24, 39, 0.12);
}

.user-pill {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
}

.credit-pill {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  padding: 7px 12px;
  color: #075985;
  background: #e0f2fe;
  border: 1px solid #bae6fd;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 900;
}

.content {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 42px 0 72px;
}

.user-content {
  width: min(860px, calc(100% - 36px));
}

.page-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
  animation: riseIn 420ms var(--ease) both;
}

.page-head p:not(.eyebrow) {
  max-width: 760px;
  margin-bottom: 0;
  color: var(--muted);
}

.simple-head {
  grid-template-columns: 1fr;
  margin-bottom: 18px;
}

.simple-head h1 {
  margin-bottom: 0;
}

.page-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 18px;
  padding: 4px;
  background: #eef2f7;
  border: 1px solid #d8dee8;
  border-radius: 999px;
  box-shadow: inset 0 1px 2px rgba(17, 24, 39, 0.06), 0 14px 38px rgba(28, 25, 23, 0.05);
}

.page-tab {
  flex: 1 1 0;
  min-width: 0;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 999px;
  font-weight: 900;
  white-space: nowrap;
  transition: background 180ms var(--ease), color 180ms var(--ease), box-shadow 180ms var(--ease), transform 180ms var(--ease);
}

.page-tab.is-active {
  color: var(--ink);
  background: #fff;
  box-shadow: 0 12px 28px rgba(17, 24, 39, 0.14);
  transform: translateY(-1px);
}

.page-tab span {
  min-width: 22px;
  min-height: 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 6px;
  color: var(--accent-dark);
  background: #dbeafe;
  border-radius: 999px;
  font-size: 12px;
}

.page-tab.is-active span {
  color: #fff;
  background: var(--accent);
}

.view-panel {
  display: none;
}

.view-panel.is-active {
  display: block;
  animation: fadeIn 220ms var(--ease) both;
}

.metric-strip {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.metric-strip span {
  min-width: 98px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.metric-strip strong {
  display: block;
  color: var(--ink);
  font-size: 24px;
  line-height: 1.1;
}

.creator-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.7fr) minmax(280px, .85fr);
  gap: 18px;
  align-items: start;
}

.creator-panel,
.result-panel,
.records-section,
.admin-form,
.table-panel,
.asset-card,
.modal {
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 18px 55px rgba(28, 25, 23, 0.06);
}

.creator-panel,
.result-panel,
.records-section,
.admin-form {
  padding: 22px;
}

.creator-panel.solo {
  width: 100%;
}

.section-title {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-bottom: 6px;
}

.section-title.compact {
  margin-bottom: 18px;
}

.section-title.single-line {
  align-items: center;
}

.section-title.single-line h2 {
  margin-bottom: 0;
}

.section-title h2 {
  margin-bottom: 4px;
  font-size: 22px;
  line-height: 1.2;
}

.section-title p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

.section-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: var(--accent-dark);
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius);
}

.upload-box {
  min-height: 210px;
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 24px;
  text-align: center;
  background:
    linear-gradient(#fff, #fff) padding-box,
    repeating-linear-gradient(135deg, #cbd5e1 0 8px, #f8fafc 8px 16px) border-box;
  border: 1px dashed transparent;
  border-radius: var(--radius);
  cursor: pointer;
  transition: transform 180ms var(--ease), box-shadow 180ms var(--ease), border-color 180ms var(--ease);
}

.upload-box:hover {
  transform: translateY(-1px);
  box-shadow: 0 14px 34px rgba(28, 25, 23, 0.08);
}

.upload-box.compact {
  min-height: 142px;
  margin: 18px 0;
}

.upload-box input {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.upload-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  color: var(--accent);
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius);
}

.upload-title {
  font-weight: 900;
}

.upload-note {
  color: var(--muted);
  font-size: 13px;
}

.image-preview {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-soft);
}

.image-preview img {
  width: 48px;
  height: 48px;
  object-fit: cover;
  border-radius: 6px;
}

.image-preview span {
  color: var(--muted);
  font-size: 13px;
  word-break: break-all;
}

.result-panel {
  position: sticky;
  top: 92px;
  display: grid;
  gap: 12px;
}

.result-panel h2 {
  margin-bottom: 0;
}

.result-panel p {
  margin: 0;
  color: var(--muted);
}

.result-url,
.url-line {
  overflow: hidden;
  color: var(--muted);
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.result-url {
  padding: 12px;
  background: var(--panel-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  word-break: break-all;
  white-space: normal;
}

.records-section {
  margin-top: 0;
}

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

.pagination {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.pagination span {
  min-width: 68px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-align: center;
}

.pagination .ghost-button {
  min-width: 112px;
}

.link-row {
  display: grid;
  grid-template-columns: 70px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  padding: 14px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: transform 180ms var(--ease), border-color 180ms var(--ease), box-shadow 180ms var(--ease);
}

.link-row:hover {
  transform: translateY(-1px);
  border-color: var(--line-strong);
  box-shadow: 0 16px 34px rgba(28, 25, 23, 0.08);
}

.thumb {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--panel-soft);
}

.record-main {
  min-width: 0;
}

.record-head {
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 0;
}

.record-head h3 {
  min-width: 0;
  margin-bottom: 4px;
  overflow: hidden;
  font-size: 17px;
  line-height: 1.3;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.record-meta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

.record-actions,
.table-actions {
  display: flex;
  gap: 8px;
  align-items: center;
  justify-content: flex-end;
}

.icon-button {
  width: 42px;
  height: 42px;
  color: var(--ink);
  background: var(--panel-soft);
  border: 1px solid var(--line);
}

.icon-button:hover {
  background: #fff;
  border-color: var(--line-strong);
}

.icon-button.danger,
.text-button.danger {
  color: var(--red);
}

.status-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 24px;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.status-badge.is-on {
  color: var(--green);
  background: #dcfce7;
}

.status-badge.is-off {
  color: var(--red);
  background: #fee2e2;
}

.empty-state {
  display: grid;
  place-items: center;
  gap: 8px;
  padding: 38px 18px;
  text-align: center;
  background: var(--panel-soft);
  border: 1px dashed var(--line-strong);
  border-radius: var(--radius);
}

.empty-icon {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  color: var(--accent);
  background: #eff6ff;
  border: 1px solid #bfdbfe;
  border-radius: var(--radius);
}

.empty-state h3 {
  margin: 0;
}

.empty-state p {
  margin: 0;
  color: var(--muted);
}

.modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(28, 25, 23, 0.42);
  backdrop-filter: blur(10px);
}

.modal {
  position: relative;
  width: min(480px, 100%);
  padding: 26px;
  animation: riseIn 220ms var(--ease) both;
}

.result-modal {
  display: grid;
  gap: 14px;
}

.result-modal h2 {
  padding-right: 42px;
}

.result-hint {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.modal h2 {
  margin-bottom: 8px;
}

.modal p {
  color: var(--muted);
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
}

.toast {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 80;
  max-width: min(360px, calc(100vw - 36px));
  padding: 12px 15px;
  color: #fff;
  background: #111827;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font-weight: 800;
  animation: riseIn 180ms var(--ease) both;
}

.toast[data-type="error"] {
  background: var(--red);
}

.button-spinner {
  width: 16px;
  height: 16px;
  border: 2px solid rgba(255, 255, 255, .42);
  border-top-color: #fff;
  border-radius: 999px;
  animation: spin 800ms linear infinite;
}

.admin-head {
  margin-bottom: 20px;
}

.admin-tabs {
  display: inline-flex;
  gap: 6px;
  padding: 5px;
  margin-bottom: 18px;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.tab-button {
  min-height: 40px;
  padding: 8px 14px;
  color: var(--muted);
  background: transparent;
}

.tab-button.is-active {
  color: #fff;
  background: var(--ink);
}

.admin-section {
  display: none;
}

.admin-section.is-active {
  display: block;
  animation: fadeIn 220ms var(--ease) both;
}

.admin-grid {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 18px;
  align-items: start;
}

.billing-grid {
  grid-template-columns: minmax(280px, 390px) minmax(0, 1fr);
}

.table-panel {
  overflow: auto;
}

.table-panel.full {
  width: 100%;
}

.data-table {
  width: 100%;
  min-width: 860px;
  border-collapse: collapse;
}

.data-table th,
.data-table td {
  padding: 14px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: middle;
}

.data-table th {
  color: var(--muted);
  background: var(--panel-soft);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.data-table tr:last-child td {
  border-bottom: 0;
}

.table-link-cell {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 280px;
}

.table-link-cell img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 6px;
  border: 1px solid var(--line);
}

.table-link-cell strong,
.table-link-cell span {
  display: block;
  max-width: 360px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.table-link-cell span {
  color: var(--muted);
  font-size: 12px;
}

.text-button {
  min-height: 34px;
  padding: 4px 8px;
  color: var(--blue);
  background: transparent;
  border: 0;
}

.text-button:hover {
  background: var(--panel-soft);
}

.credit-adjust {
  display: inline-grid;
  grid-template-columns: 78px auto auto;
  gap: 6px;
  align-items: center;
  min-width: 210px;
}

.credit-adjust input {
  min-height: 34px;
  padding: 4px 8px;
}

.transactions-table td {
  white-space: nowrap;
}

.transactions-table td:nth-child(5) {
  min-width: 160px;
  white-space: normal;
}

.amount-plus {
  color: var(--green);
}

.amount-minus {
  color: var(--red);
}

.asset-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 14px;
}

.asset-card {
  position: relative;
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
}

.asset-card img {
  width: 82px;
  height: 82px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.asset-card h3 {
  margin-bottom: 4px;
  overflow: hidden;
  font-size: 16px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.asset-card p,
.asset-card span {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
}

.asset-card .icon-button {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 36px;
  height: 36px;
}

.jump-page {
  display: grid;
  place-items: center;
  padding: 24px;
}

.jump-shell {
  width: min(460px, 100%);
}

.jump-panel {
  display: grid;
  justify-items: center;
  gap: 14px;
  padding: 32px;
  text-align: center;
  background: rgba(255, 255, 255, .92);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.jump-logo {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  color: #fff;
  background: var(--ink);
  border-radius: var(--radius);
  font-weight: 900;
}

.jump-qr {
  width: 180px;
  height: 180px;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.jump-panel h1 {
  margin-bottom: 0;
  font-size: 26px;
}

.jump-panel p {
  margin: 0;
  color: var(--muted);
}

.jump-button {
  width: 100%;
  margin-top: 8px;
}

@keyframes riseIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 900px) {
  .page-head,
  .creator-layout,
  .admin-grid {
    grid-template-columns: 1fr;
  }

  .metric-strip {
    justify-content: flex-start;
  }

  .result-panel {
    position: static;
  }
}

@media (max-width: 680px) {
  .topbar {
    position: static;
    align-items: flex-start;
    flex-direction: column;
  }

  .top-actions {
    width: 100%;
    justify-content: space-between;
  }

  .mode-switch {
    flex: 1 1 auto;
  }

  .mode-switch a {
    flex: 1 1 0;
  }

  .content {
    width: min(100% - 24px, 1180px);
    padding-top: 28px;
  }

  .auth-screen {
    padding: 16px;
  }

  .auth-panel,
  .creator-panel,
  .result-panel,
  .records-section,
  .admin-form {
    padding: 18px;
  }

  .link-row {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .thumb {
    width: 58px;
    height: 58px;
  }

  .record-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .admin-tabs {
    width: 100%;
    overflow-x: auto;
  }

  .tab-button {
    flex: 1 0 auto;
  }

  .page-tabs {
    border-radius: var(--radius);
  }

  .page-tab {
    border-radius: 6px;
    font-size: 14px;
  }

  .pagination {
    display: grid;
    grid-template-columns: 1fr;
  }

  .pagination .ghost-button {
    width: 100%;
  }

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

  .credit-adjust {
    grid-template-columns: 1fr;
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
