/* ============================================
   AYAME Digital Cheki Collection — styles
   ============================================ */

:root {
  --bg: #0A0A0B;
  --bg-2: #111113;
  --card: #FFFFFF;
  --shadow: rgba(0, 0, 0, 0.5);
  --gold: #C9A96E;
  --gold-soft: rgba(201, 169, 110, 0.18);
  --gold-line: rgba(201, 169, 110, 0.35);
  --text: #FFFFFF;
  --text-sub: #888888;
  --text-mute: #555558;
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  --serif: "Cormorant Garamond", "Playfair Display", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Menlo, Consolas, monospace;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-feature-settings: "ss01", "ss02";
  overscroll-behavior-y: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: 0;
  background: transparent;
  color: inherit;
}

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

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

.app {
  min-height: 100vh;
  position: relative;
}

/* ============================================
   View transitions
   ============================================ */
.view {
  display: none;
  animation: viewFade 0.5s ease both;
}
.view.is-active { display: block; }

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

/* ============================================
   Entry view
   ============================================ */
#view-entry {
  min-height: 100vh;
  min-height: 100dvh;
  flex-direction: column;
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
}
#view-entry.is-active { display: flex; }

.entry-grain {
  position: absolute;
  inset: 0;
  opacity: 0.06;
  pointer-events: none;
  background-image: radial-gradient(circle at 20% 10%, rgba(201, 169, 110, 0.5) 0%, transparent 40%),
                    radial-gradient(circle at 80% 80%, rgba(201, 169, 110, 0.25) 0%, transparent 50%);
}

.entry-mark {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  color: var(--text-sub);
  text-transform: uppercase;
}
.entry-mark::before {
  content: "";
  width: 18px;
  height: 1px;
  background: var(--gold);
}

.entry-hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 48px 0;
  position: relative;
  z-index: 1;
}

.entry-eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.4em;
  color: var(--gold);
  text-transform: uppercase;
  margin-bottom: 28px;
}

.entry-title {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(48px, 14vw, 72px);
  line-height: 0.95;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  font-style: italic;
}
.entry-title .light { font-style: normal; font-weight: 300; display: block; letter-spacing: 0.04em; font-size: 0.55em; color: var(--text); margin-top: 4px; }

.entry-sub {
  font-size: 14px;
  font-weight: 300;
  line-height: 1.7;
  color: var(--text-sub);
  max-width: 36ch;
  margin: 24px 0 48px;
}

.entry-form { position: relative; z-index: 1; }

.entry-label {
  display: block;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.32em;
  color: var(--text-sub);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.entry-input-wrap {
  position: relative;
  border-bottom: 1px solid var(--border-strong);
  transition: border-color 0.3s;
}
.entry-input-wrap:focus-within { border-color: var(--gold); }

.entry-input {
  width: 100%;
  background: transparent;
  border: 0;
  outline: 0;
  color: var(--text);
  font-family: var(--mono);
  font-size: 15px;
  padding: 14px 0;
  letter-spacing: 0.02em;
}
.entry-input::placeholder { color: var(--text-mute); }

.entry-error {
  font-family: var(--mono);
  font-size: 11px;
  color: #d97a7a;
  letter-spacing: 0.05em;
  margin-top: 10px;
  min-height: 1em;
  opacity: 0;
  transition: opacity 0.2s;
}
.entry-error.is-shown { opacity: 1; }

.entry-actions {
  display: flex;
  gap: 12px;
  margin-top: 36px;
}

.btn-primary {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 18px 24px;
  background: var(--gold);
  color: #0a0a0b;
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  border-radius: 0;
  transition: background 0.25s, transform 0.25s;
  position: relative;
  overflow: hidden;
}
.btn-primary:hover { background: #d8b97c; }
.btn-primary:active { transform: translateY(1px); }
.btn-primary[disabled] { opacity: 0.6; cursor: not-allowed; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 18px 22px;
  border: 1px solid var(--border-strong);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--text-sub);
  transition: border-color 0.2s, color 0.2s;
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold); }

.spinner {
  width: 14px;
  height: 14px;
  border: 1.5px solid currentColor;
  border-right-color: transparent;
  border-radius: 50%;
  animation: spin 0.7s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.sm-hide { display: none; }
@media (min-width: 480px) {
  .sm-hide { display: inline; }
}

.entry-footer {
  margin-top: auto;
  padding-top: 32px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--text-mute);
  text-transform: uppercase;
  position: relative;
  z-index: 1;
}
.entry-help-link {
  color: var(--text-mute);
  transition: color 0.2s;
}
.entry-help-link:hover { color: var(--gold); }

.entry-wallet-hint {
  margin: 18px 0 0;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--text-mute);
  text-align: center;
}
.entry-wallet-link {
  color: var(--gold);
  text-decoration: none;
}
.entry-wallet-link:hover { text-decoration: underline; }

.col-header-icons {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ============================================
   Collection — header
   ============================================ */
.col-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: rgba(10, 10, 11, 0.85);
  backdrop-filter: saturate(140%) blur(14px);
  -webkit-backdrop-filter: saturate(140%) blur(14px);
  border-bottom: 1px solid var(--border);
}

.col-header-inner {
  padding: 14px 20px 0;
}

.col-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.col-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--text-sub);
  text-transform: uppercase;
  padding: 6px 0;
}
.col-back:hover { color: var(--gold); }

.col-settings-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--text-sub);
  transition: color 0.2s, border-color 0.2s;
}
.col-settings-btn:hover { color: var(--gold); border-color: var(--gold-line); }

.col-switch {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 6px 4px 6px 10px;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--text-sub);
  transition: color 0.25s;
}
.col-switch:hover { color: var(--text); }
.col-switch.is-on { color: var(--gold); }
.col-switch-label { line-height: 1; }

.col-switch-track {
  display: inline-block;
  width: 30px;
  height: 16px;
  border-radius: 999px;
  background: #2a2a2e;
  position: relative;
  flex-shrink: 0;
  transition: background 0.25s;
}
.col-switch-thumb {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #f0e8d8;
  transition: transform 0.25s, background 0.25s;
}
.col-switch.is-on .col-switch-track { background: var(--gold); }
.col-switch.is-on .col-switch-thumb { transform: translateX(14px); background: #fff; }

.col-brand {
  text-align: center;
  padding: 8px 0 16px;
  border-bottom: 1px solid var(--border);
}
.col-brand-title {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 22px;
  margin: 0;
  letter-spacing: 0.01em;
}
.col-brand-meta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-top: 6px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--text-sub);
  text-transform: uppercase;
}
.col-brand-meta .dot {
  width: 3px; height: 3px; border-radius: 50%;
  background: var(--gold);
}
.col-count {
  color: var(--gold);
  font-weight: 500;
}
.col-count strong {
  font-family: var(--serif);
  font-style: italic;
  font-size: 16px;
  letter-spacing: 0;
  margin-right: 4px;
  font-weight: 400;
}

.col-tabs-wrap {
  padding: 12px 16px 14px;
}

.col-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.col-tab {
  padding: 7px 13px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-sub);
  border: 1px solid var(--border);
  border-radius: 999px;
  white-space: nowrap;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.col-tab:hover { color: var(--text); border-color: var(--border-strong); }
.col-tab.is-active {
  color: var(--gold);
  border-color: var(--gold-line);
  background: var(--gold-soft);
}
.col-tab .count {
  opacity: 0.55;
  font-size: 9px;
}

.col-utility {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  align-items: center;
}

.col-toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-sub);
  border: 1px solid var(--border);
  border-radius: 999px;
  transition: color 0.25s, border-color 0.25s, background 0.25s;
}
.col-toggle:hover { color: var(--text); border-color: var(--border-strong); }
.col-toggle.is-on {
  color: var(--gold);
  border-color: var(--gold-line);
  background: var(--gold-soft);
}

.col-toggle .pip {
  width: 22px;
  height: 12px;
  border-radius: 999px;
  background: #2a2a2e;
  position: relative;
  flex-shrink: 0;
  transition: background 0.25s;
}
.col-toggle .pip::after {
  content: "";
  position: absolute;
  top: 1.5px; left: 1.5px;
  width: 9px; height: 9px;
  border-radius: 50%;
  background: #f0e8d8;
  transition: transform 0.25s, background 0.25s;
}
.col-toggle.is-on .pip { background: var(--gold); }
.col-toggle.is-on .pip::after { transform: translateX(10px); background: #fff; }

/* ============================================
   Grid
   ============================================ */
.col-body {
  padding: 24px 16px 80px;
}

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

.cheki {
  position: relative;
  aspect-ratio: 1 / 1.22;
  background: var(--card);
  padding: 8px 8px 24px;
  box-shadow: 0 12px 30px -10px var(--shadow), 0 2px 4px rgba(0,0,0,0.4);
  transform: rotate(var(--tilt, 0deg)) translateY(0);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.4s;
  opacity: 0;
  animation: chekiIn 0.55s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
  animation-delay: var(--delay, 0s);
  will-change: transform, opacity;
}
.cheki:hover {
  transform: rotate(var(--tilt, 0deg)) translateY(-3px);
  box-shadow: 0 18px 40px -10px var(--shadow), 0 4px 6px rgba(0,0,0,0.4);
}
.cheki:active { transform: rotate(var(--tilt, 0deg)) translateY(-1px) scale(0.99); }

@keyframes chekiIn {
  from { opacity: 0; transform: rotate(var(--tilt, 0deg)) translateY(8px); }
  to   { opacity: 1; transform: rotate(var(--tilt, 0deg)) translateY(0); }
}

.cheki-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #1a1a1c;
  object-fit: cover;
  display: block;
  position: relative;
  overflow: hidden;
}

.cheki.is-unowned .cheki-photo {
  filter: grayscale(1) brightness(0.6) contrast(1.1);
  opacity: 0.85;
}
.cheki.is-unowned {
  opacity: 0.7;
  cursor: default;
}
.cheki.is-unowned:hover {
  opacity: 0.85;
  transform: rotate(var(--tilt, 0deg)) translateY(0);
  box-shadow: 0 12px 30px -10px var(--shadow), 0 2px 4px rgba(0,0,0,0.4);
}
.cheki.is-unowned:active {
  transform: rotate(var(--tilt, 0deg)) translateY(0) scale(1);
}

.cheki-id {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 4px;
  text-align: center;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  color: var(--gold);
  text-transform: uppercase;
}

.cheki-fav {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  filter: drop-shadow(0 2px 3px rgba(0,0,0,0.3));
  pointer-events: none;
}

.cheki-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  font-family: var(--mono);
  font-size: 8px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #1a1a1c;
  background: rgba(255, 255, 255, 0.85);
  padding: 3px 6px;
  border-radius: 1px;
}

/* skeleton card */
.cheki.is-skel {
  animation: none;
  opacity: 1;
  background: #18181a;
  box-shadow: none;
}
.cheki.is-skel .cheki-photo {
  background: linear-gradient(90deg, #18181a 0%, #222226 50%, #18181a 100%);
  background-size: 200% 100%;
  animation: skel 1.4s ease-in-out infinite;
}
@keyframes skel {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* empty state */
.empty-state {
  text-align: center;
  padding: 80px 20px;
  color: var(--text-sub);
}
.empty-state-title {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  color: var(--text);
  margin: 0 0 8px;
}
.empty-state-sub {
  font-size: 13px;
  font-weight: 300;
  line-height: 1.7;
  max-width: 32ch;
  margin: 0 auto;
}
.empty-state .btn-ghost { margin-top: 24px; }

/* ============================================
   Modal
   ============================================ */
.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  background: rgba(5, 5, 6, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.modal.is-open { display: flex; opacity: 1; }

.modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 40px;
  height: 40px;
  border: 1px solid var(--border-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-sub);
  z-index: 5;
  transition: color 0.2s, border-color 0.2s;
}
.modal-close:hover { color: var(--gold); border-color: var(--gold-line); }

.modal-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-sub);
  background: rgba(20, 20, 22, 0.7);
  border: 1px solid var(--border);
  z-index: 5;
  transition: color 0.2s, border-color 0.2s, background 0.2s;
}
.modal-nav.prev { left: 12px; }
.modal-nav.next { right: 12px; }
.modal-nav:hover { color: var(--gold); border-color: var(--gold-line); }
.modal-nav[disabled] { opacity: 0.25; cursor: not-allowed; }

.modal-stage {
  width: 100%;
  max-width: 440px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  transform: scale(0.95);
  opacity: 0;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.3s;
}
.modal.is-open .modal-stage { transform: scale(1); opacity: 1; }

.modal-cheki {
  width: 100%;
  background: var(--card);
  padding: 14px 14px 44px;
  box-shadow: 0 30px 60px -20px var(--shadow), 0 8px 16px rgba(0,0,0,0.5);
  position: relative;
  user-select: none;
  -webkit-user-drag: none;
}

.modal-photo {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #1a1a1c;
  object-fit: cover;
  display: block;
}
.modal-cheki.is-unowned .modal-photo {
  filter: grayscale(1) brightness(0.6);
}

.modal-caption {
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #1a1a1c;
}
.modal-caption .id { color: var(--gold); font-weight: 500; }

.modal-meta {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  color: var(--text);
  padding: 0 8px;
}
.modal-collection {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.32em;
  color: var(--gold);
  text-transform: uppercase;
}
.modal-tokenid {
  font-family: var(--serif);
  font-style: italic;
  font-size: 32px;
  letter-spacing: 0.01em;
  margin: 2px 0;
}
.modal-date {
  font-family: var(--mono);
  font-size: 11px;
  color: var(--text-sub);
  letter-spacing: 0.16em;
}

.modal-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 6px;
}
.modal-action {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text-sub);
  transition: color 0.25s, border-color 0.25s, background 0.25s, transform 0.25s;
}
.modal-action:hover {
  color: var(--gold);
  border-color: var(--gold-line);
}
.modal-action.is-fav {
  color: var(--gold);
  border-color: var(--gold-line);
  background: var(--gold-soft);
}
.modal-action.fav-pulse {
  animation: favPulse 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes favPulse {
  0% { transform: scale(1); }
  35% { transform: scale(1.25); }
  100% { transform: scale(1); }
}

.modal-counter {
  font-family: var(--mono);
  font-size: 10px;
  color: var(--text-mute);
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

/* ============================================
   Settings sheet
   ============================================ */
.sheet {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(5, 5, 6, 0.7);
  backdrop-filter: blur(6px);
  display: none;
  align-items: flex-end;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
}
.sheet.is-open { display: flex; opacity: 1; }

.sheet-panel {
  width: 100%;
  max-width: 520px;
  background: #15151a;
  border-top: 1px solid var(--gold-line);
  padding: 28px 24px 36px;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.sheet.is-open .sheet-panel { transform: translateY(0); }

.sheet-title {
  font-family: var(--serif);
  font-style: italic;
  font-size: 22px;
  margin: 0 0 20px;
}

.sheet-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
}
.sheet-row:first-of-type { border-top: 0; }
.sheet-row-text { flex: 1; }
.sheet-row-title {
  font-size: 14px;
  font-weight: 400;
  color: var(--text);
  margin: 0 0 4px;
}
.sheet-row-sub {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--text-sub);
  line-height: 1.6;
  margin: 0;
}

.toggle {
  position: relative;
  width: 44px;
  height: 24px;
  background: #2a2a2e;
  border-radius: 999px;
  flex-shrink: 0;
  transition: background 0.25s;
}
.toggle::after {
  content: "";
  position: absolute;
  top: 3px; left: 3px;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: #f0e8d8;
  transition: transform 0.25s, background 0.25s;
}
.toggle.is-on { background: var(--gold); }
.toggle.is-on::after { transform: translateX(20px); background: #fff; }

.sheet-close {
  width: 100%;
  margin-top: 24px;
  padding: 14px;
  border: 1px solid var(--border-strong);
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.32em;
  color: var(--text-sub);
  text-transform: uppercase;
}

/* ============================================
   Toast
   ============================================ */
.toast {
  position: fixed;
  left: 50%;
  bottom: 32px;
  transform: translate(-50%, 30px);
  background: var(--gold);
  color: #0a0a0b;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 12px 18px;
  z-index: 200;
  opacity: 0;
  transition: transform 0.3s, opacity 0.3s;
  pointer-events: none;
}
.toast.is-shown {
  transform: translate(-50%, 0);
  opacity: 1;
}

/* ============================================
   Demo notice (only when API unavailable)
   ============================================ */
.demo-notice {
  position: fixed;
  top: 0; left: 0; right: 0;
  background: rgba(201, 169, 110, 0.1);
  border-bottom: 1px solid var(--gold-line);
  color: var(--gold);
  font-family: var(--mono);
  font-size: 9px;
  letter-spacing: 0.24em;
  text-align: center;
  text-transform: uppercase;
  padding: 8px;
  z-index: 200;
  pointer-events: none;
}

/* ============================================
   Responsive (PC fallback)
   ============================================ */
@media (min-width: 720px) {
  .col-header-inner { padding: 18px 32px 0; }
  .col-tabs { padding: 14px 32px; }
  .col-body { padding: 32px; max-width: 1080px; margin: 0 auto; }
  .cheki-grid { grid-template-columns: repeat(3, 1fr); gap: 28px 24px; }
  #view-entry { padding: 56px 56px; max-width: 720px; margin: 0 auto; }
}

@media (min-width: 1080px) {
  .cheki-grid { grid-template-columns: repeat(4, 1fr); gap: 36px 28px; }
}
