/*
  2026 brand refresh: editorial pet-personality magazine, not a generic card UI.
  This file intentionally overrides older page-level styles after they load.
*/

:root {
  --bg: #efe0cf;
  --bg-strong: #e6d2be;
  --paper: #fff8eb;
  --paper-soft: #f7ead7;
  --paper-muted: rgba(255, 248, 235, 0.78);
  --line: rgba(39, 22, 14, 0.18);
  --line-strong: rgba(39, 22, 14, 0.72);
  --ink: #24140e;
  --ink-soft: #755946;
  --ink-faint: #9b806b;
  --brand: #ff7430;
  --brand-deep: #ec5f1f;
  --brand-soft: #ffe2cc;
  --mint: #d9ebd7;
  --shadow-lg: 16px 18px 0 rgba(36, 20, 14, 0.08);
  --shadow-md: 7px 8px 0 rgba(36, 20, 14, 0.08);
  --radius-xl: 18px;
  --radius-lg: 8px;
  --radius-md: 8px;
  --radius-sm: 6px;
  --max-width: 1540px;
}

html {
  background: #e7d8c7;
}

body {
  min-height: 100vh;
  background:
    linear-gradient(90deg, rgba(36, 20, 14, 0.045) 1px, transparent 1px),
    linear-gradient(180deg, rgba(36, 20, 14, 0.035) 1px, transparent 1px),
    linear-gradient(135deg, #f8ead7 0%, #ffe0c3 36%, #e0eddb 72%, #ecd8c7 100%);
  background-size: 92px 92px, 92px 92px, auto;
  color: var(--ink);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 58%, rgba(255, 116, 48, 0.11) 58% 66%, transparent 66%),
    linear-gradient(90deg, transparent 0 72%, rgba(36, 20, 14, 0.07) 72% 72.2%, transparent 72.2%);
}

.theme-page {
  width: min(var(--max-width), calc(100vw - 22px));
  margin: 11px auto 28px;
}

.theme-window {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(36, 20, 14, 0.26);
  border-radius: 22px;
  background:
    linear-gradient(90deg, rgba(36, 20, 14, 0.04) 1px, transparent 1px),
    linear-gradient(180deg, rgba(36, 20, 14, 0.032) 1px, transparent 1px),
    rgba(255, 248, 235, 0.86);
  background-size: 118px 118px, 118px 118px, auto;
  box-shadow: 0 22px 60px rgba(82, 45, 23, 0.12);
  backdrop-filter: blur(18px);
}

.theme-window::after {
  content: "SEEYOUMIO / PET PERSONALITY FILE";
  position: absolute;
  right: 52px;
  bottom: 42px;
  z-index: 0;
  color: rgba(36, 20, 14, 0.08);
  font-family: "JetBrains Mono", monospace;
  font-size: 84px;
  font-weight: 900;
  line-height: 0.88;
  text-align: right;
  pointer-events: none;
}

.topbar {
  position: relative;
  z-index: 3;
  min-height: 82px;
  padding: 18px 38px;
  border-bottom: 1px solid rgba(36, 20, 14, 0.18);
  background: rgba(255, 249, 238, 0.78);
}

.brand-mark {
  font-size: 46px;
  letter-spacing: 0;
}

.board-nav {
  gap: 7px;
}

.nav-link,
.top-link {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 0 10px;
  color: rgba(36, 20, 14, 0.72);
  font-size: 13px;
  font-weight: 900;
}

.nav-link:hover,
.nav-link.active {
  border-color: rgba(36, 20, 14, 0.16);
  background: rgba(255, 255, 255, 0.52);
  color: var(--ink);
}

.theme-card,
.theme-panel {
  position: relative;
  z-index: 1;
  border: 1px solid rgba(36, 20, 14, 0.18);
  border-radius: 8px;
  background: rgba(255, 249, 238, 0.68);
  box-shadow: var(--shadow-md);
  backdrop-filter: blur(12px);
}

.theme-card .theme-card {
  border-color: rgba(36, 20, 14, 0.13);
  background: rgba(255, 252, 246, 0.62);
  box-shadow: none;
}

.btn {
  min-height: 48px;
  border-radius: 8px;
  border-color: rgba(36, 20, 14, 0.18);
  background: rgba(255, 252, 246, 0.88);
  color: var(--ink);
  font-weight: 950;
  box-shadow: none;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 6px 7px 0 rgba(36, 20, 14, 0.12);
}

.btn-primary,
.btn.main {
  border: 1px solid #19100c;
  background: #ff7430;
  color: #fffaf1;
  box-shadow: 6px 7px 0 #19100c;
}

.btn-primary:hover,
.btn.main:hover {
  box-shadow: 8px 9px 0 #19100c;
}

.btn-secondary,
.btn.ghost,
.btn-soft {
  background: rgba(255, 255, 255, 0.78);
}

.chip,
.soft-chip,
.status-chip,
.type-pill,
.feature-pill,
.concept-tag,
.micro-chip {
  min-height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(36, 20, 14, 0.25);
  background: rgba(255, 252, 246, 0.68);
  color: var(--ink);
  font-size: 12px;
  font-weight: 950;
}

.soft-chip {
  background: #ffe0c7;
  color: #8e3b15;
}

.eyebrow,
.section-kicker,
.micro-kicker,
.stat-kicker,
.mono-label,
.brand-copy {
  color: #a54d20;
  font-family: "JetBrains Mono", monospace;
  letter-spacing: 0;
  font-weight: 900;
}

.title-display,
.section-title,
.hero-title,
.board-hero-copy .hero-title,
.pass-hero-copy h1,
.redeem-card h2,
.pass-faq-card h2,
.share-label,
.question-title {
  color: var(--ink);
  font-family: "Noto Serif SC", serif;
  letter-spacing: 0;
}

.title-display {
  font-size: 58px !important;
  line-height: 0.96;
}

.lead,
.muted,
.sub-copy,
.section-copy,
.share-line,
.share-verdict {
  color: var(--ink-soft);
  font-weight: 650;
}

.board-page,
.pet-shell,
.result-shell,
.wall-shell,
.pass-shell {
  position: relative;
  z-index: 1;
}

/* Homepage */
.board-page {
  padding: 0;
  gap: 0;
}

.board-hero {
  min-height: 640px;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.76fr);
  gap: 0;
  border-bottom: 1px solid rgba(36, 20, 14, 0.16);
}

.board-hero-copy,
.board-hero-visual {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.board-hero-copy {
  align-content: center;
  padding: 72px;
}

.board-hero-copy .hero-title {
  max-width: 880px;
  font-size: 124px;
  line-height: 0.86;
}

.board-hero-copy .hero-title .accent {
  display: inline-block;
  margin-left: 0.08em;
  color: #ff7430;
  font-family: "JetBrains Mono", monospace;
  font-size: 0.64em;
  text-shadow: 3px 3px 0 #19100c;
}

.board-hero-copy .lead {
  max-width: 680px;
  font-size: 24px;
}

.hero-actions-row {
  margin-top: 4px;
}

.board-hero-visual {
  padding: 54px;
  border-left: 1px solid rgba(36, 20, 14, 0.16);
  background:
    linear-gradient(90deg, rgba(36, 20, 14, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(36, 20, 14, 0.04) 1px, transparent 1px),
    linear-gradient(150deg, #fff6e5 0%, #ffd5a4 55%, #d6ead2 100%);
  background-size: 34px 34px, 34px 34px, auto;
}

.hero-badge {
  top: 34px;
  right: 34px;
  border: 1px solid #19100c;
  border-radius: 999px;
  background: #19100c;
  box-shadow: 6px 7px 0 #ff7430;
}

.hero-visual-frame {
  width: min(560px, 96%);
  border: 2px solid #19100c;
  border-radius: 0;
  background: #fff8eb;
  box-shadow: 16px 18px 0 #19100c;
}

.hero-visual-frame::before {
  inset: 18px;
  border: 1px dashed rgba(36, 20, 14, 0.28);
  border-radius: 0;
}

.hero-floating-card {
  left: auto;
  right: 22px;
  bottom: 22px;
  border: 2px solid #19100c;
  border-radius: 0;
  background: #fffaf0;
  box-shadow: 8px 9px 0 #ff7430;
}

.board-feature-row,
.matrix-section,
.metric-ribbon,
.section-grid {
  margin: 0;
  padding: 40px;
}

.board-feature-row {
  border-bottom: 1px solid rgba(36, 20, 14, 0.14);
}

.board-feature-card {
  min-height: 186px;
  align-content: start;
  border-radius: 0;
  background: rgba(255, 252, 246, 0.58);
}

.feature-icon {
  border: 1px solid #19100c;
  border-radius: 0;
  background: #ff7430;
  color: #fff;
  font-family: "JetBrains Mono", monospace;
  font-size: 16px;
  font-weight: 950;
  line-height: 1;
  box-shadow: 5px 6px 0 #19100c;
}

.matrix-section,
.metric-ribbon,
.wall-board-card,
.wall-seo-card,
.pass-section,
.redeem-card,
.pass-faq-card {
  border-radius: 0;
  box-shadow: none;
}

.matrix-grid {
  grid-template-columns: repeat(7, minmax(150px, 1fr));
  overflow-x: auto;
  padding-bottom: 4px;
}

.matrix-card {
  border-radius: 0;
  border-color: rgba(36, 20, 14, 0.22);
  background: rgba(255, 252, 246, 0.62);
}

.matrix-card.active {
  border-color: #19100c;
  background: #fff7e7;
  box-shadow: 8px 9px 0 rgba(25, 16, 12, 0.12);
}

.stat-card {
  border-radius: 0;
  border-color: rgba(36, 20, 14, 0.2);
  background: rgba(255, 252, 246, 0.62);
  box-shadow: none;
}

.stat-card strong {
  color: var(--ink);
  font-family: "JetBrains Mono", monospace;
  font-size: 54px;
}

/* Pet test */
.pet-stage {
  padding: 38px;
}

.choose-stage,
.analyzing-stage {
  grid-template-columns: minmax(0, 0.92fr) minmax(360px, 0.76fr);
}

.choose-copy-card,
.choose-support-card,
.quiz-card,
.analyzing-copy-panel,
.analyzing-visual-panel,
.panel-result,
.share-hero-card,
.detail-card,
.share-stat-card {
  border-radius: 0;
  background: rgba(255, 250, 240, 0.64);
}

.choose-title {
  max-width: 780px;
  font-size: 104px;
  line-height: 0.9;
}

.pet-card {
  border-radius: 0;
  border: 2px solid rgba(36, 20, 14, 0.22);
  background: #fff8eb;
  box-shadow: 8px 9px 0 rgba(36, 20, 14, 0.08);
}

.pet-card-visual,
.pet-select-art {
  border-radius: 0;
  border: 1px dashed rgba(36, 20, 14, 0.22);
  background:
    linear-gradient(90deg, rgba(36, 20, 14, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(36, 20, 14, 0.04) 1px, transparent 1px),
    #ffe3bd;
  background-size: 24px 24px, 24px 24px, auto;
}

.pet-card.active,
.pet-card[aria-pressed="true"] {
  border-color: #19100c;
  box-shadow: 10px 11px 0 #19100c;
}

.pet-card-copy strong,
.quick-preview-card strong,
.quick-report-title strong {
  font-family: "Noto Serif SC", serif;
  letter-spacing: 0;
}

.question-title {
  font-size: 62px;
  line-height: 1.06;
}

.option-btn,
.options button {
  border-radius: 0 !important;
}

/* Result */
.share-hero-card {
  grid-template-columns: minmax(0, 1fr) minmax(360px, 500px);
  border: 0;
  box-shadow: none;
}

.share-mbti {
  color: #ff7430;
  font-family: "JetBrains Mono", monospace;
  text-shadow: 3px 3px 0 #19100c;
}

.share-poster {
  border-radius: 0;
  box-shadow: 14px 16px 0 #19100c;
}

.magazine-poster {
  background:
    linear-gradient(90deg, rgba(36, 20, 14, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(36, 20, 14, 0.04) 1px, transparent 1px),
    linear-gradient(145deg, #fff8e8 0%, #ffe0bc 54%, #f2f0d2 100%);
  background-size: 34px 34px, 34px 34px, auto;
}

/* Wall */
.wall-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.56fr);
  gap: 0;
  border-bottom: 1px solid rgba(36, 20, 14, 0.14);
}

.wall-hero-copy,
.wall-hero-art {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.wall-hero-copy {
  padding: 72px;
}

.wall-hero-copy .section-title {
  max-width: 780px;
  font-size: 104px;
  line-height: 0.9;
}

.wall-hero-art {
  display: grid;
  place-items: center;
  border-left: 1px solid rgba(36, 20, 14, 0.14);
  background:
    linear-gradient(90deg, rgba(36, 20, 14, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(36, 20, 14, 0.04) 1px, transparent 1px),
    #ffe1bd;
  background-size: 30px 30px, 30px 30px, auto;
}

.wall-hero-art img {
  width: min(420px, 90%);
  filter: drop-shadow(14px 18px 0 rgba(36, 20, 14, 0.16));
}

.post-card,
.wall-post-card {
  border-radius: 0 !important;
}

/* Pricing */
.pass-shell {
  background:
    linear-gradient(90deg, rgba(36, 20, 14, 0.048) 1px, transparent 1px),
    linear-gradient(180deg, rgba(36, 20, 14, 0.036) 1px, transparent 1px),
    linear-gradient(120deg, rgba(255, 248, 235, 0.95), rgba(255, 225, 197, 0.88), rgba(217, 235, 215, 0.82));
  background-size: 118px 118px, 118px 118px, auto;
}

.pass-hero {
  min-height: 650px;
  border-bottom: 1px solid rgba(36, 20, 14, 0.14);
}

.pass-hero-copy h1 {
  max-width: 760px;
  font-size: 118px;
  line-height: 0.86;
}

.pass-ticket {
  border: 2px solid #19100c;
  border-radius: 0;
  background: #fff8eb;
  box-shadow: 15px 17px 0 #19100c;
}

.pass-ticket::before {
  border-radius: 0;
  border-color: rgba(36, 20, 14, 0.2);
}

.pass-tier {
  border-radius: 0;
  border-color: rgba(36, 20, 14, 0.2);
}

.pass-tier.is-featured {
  border-color: #19100c;
  box-shadow: 9px 10px 0 rgba(36, 20, 14, 0.14);
}

/* FAQ/contact/editorial pages */
.section-grid {
  gap: 0;
}

.section-grid > .theme-card {
  border-radius: 0;
  box-shadow: none;
}

.faq-item,
.contact-action-card {
  border-radius: 0;
}

.faq-visual-card,
.contact-visual-card {
  background:
    linear-gradient(90deg, rgba(36, 20, 14, 0.06) 1px, transparent 1px),
    linear-gradient(180deg, rgba(36, 20, 14, 0.04) 1px, transparent 1px),
    #ffe4c8;
  background-size: 30px 30px, 30px 30px, auto;
}

input,
select,
textarea {
  border-radius: 8px;
}

.site-footer {
  position: relative;
  z-index: 1;
  background: rgba(255, 249, 238, 0.82);
}

@media (max-width: 1100px) {
  .board-hero,
  .choose-stage,
  .analyzing-stage,
  .wall-hero,
  .pass-hero,
  .share-hero-card {
    grid-template-columns: 1fr;
  }

  .board-hero-visual,
  .wall-hero-art {
    border-left: 0;
    border-top: 1px solid rgba(36, 20, 14, 0.14);
  }

  .matrix-grid {
    grid-template-columns: repeat(4, minmax(160px, 1fr));
  }

  .board-hero-copy,
  .wall-hero-copy {
    padding: 46px;
  }

  .board-hero-copy .hero-title,
  .wall-hero-copy .section-title,
  .pass-hero-copy h1,
  .choose-title {
    font-size: 78px;
  }

  .question-title {
    font-size: 48px;
  }
}

@media (max-width: 720px) {
  body {
    background-size: 54px 54px, 54px 54px, auto;
  }

  .theme-page {
    width: min(var(--max-width), calc(100vw - 18px));
    margin: 9px auto 24px;
  }

  .theme-window {
    border-radius: 18px;
  }

  .theme-window::after {
    display: none;
  }

  .topbar {
    gap: 12px;
    padding: 14px;
  }

  .brand-mark {
    font-size: 34px;
  }

  .board-nav {
    justify-content: flex-start;
  }

  .nav-link {
    min-height: 30px;
    padding: 0 8px;
    font-size: 12px;
  }

  .board-hero {
    min-height: auto;
  }

  .board-hero-copy,
  .wall-hero-copy,
  .pass-hero,
  .pet-stage,
  .section-grid,
  .board-feature-row,
  .matrix-section,
  .metric-ribbon {
    padding: 20px 14px;
  }

  .board-hero-copy .hero-title,
  .wall-hero-copy .section-title,
  .pass-hero-copy h1,
  .choose-title {
    font-size: 56px;
    line-height: 0.9;
  }

  .title-display {
    font-size: 40px !important;
  }

  .board-hero-copy .lead,
  .pass-hero-copy .lead {
    font-size: 17px;
  }

  .hero-actions-row,
  .pass-actions,
  .share-action-row {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-visual-frame,
  .pass-ticket,
  .share-poster {
    box-shadow: 8px 9px 0 #19100c;
  }

  .matrix-grid {
    grid-template-columns: 1fr;
    overflow: visible;
  }

  .pet-picker {
    grid-template-columns: 1fr;
  }

  .pet-card-visual {
    min-height: 220px;
  }

  .share-hero-card,
  .result-view,
  .empty-view {
    padding: 14px;
  }

  .share-mbti {
    font-size: 76px;
  }
}
