/* ==============================
   Product Ethics Check - Styles
   ============================== */

:root {
  /* Color Theme */
  --color-bg: #f5f3f0;
  --color-surface: #ffffff;
  --color-text: #2d2d2d;
  --color-text-secondary: #6b6b6b;
  --color-text-muted: #9a9a9a;
  --color-primary: #1e3a5f;
  --color-primary-hover: #152d4a;
  --color-primary-light: rgba(30, 58, 95, 0.08);
  --color-accent: #2a9d8f;
  --color-accent-light: rgba(42, 157, 143, 0.1);
  --color-accent-hover: #228577;
  --color-warning: #c4553a;
  --color-warning-light: rgba(196, 85, 58, 0.08);
  --color-warning-hover: #a8472f;
  --color-border: #ddd8d0;
  --color-border-light: #eae6e0;
  --color-shadow: rgba(30, 58, 95, 0.06);

  /* Typography */
  --font-family: "Noto Sans JP", sans-serif;
  --font-size-base: 16px;
  --font-size-sm: 14px;
  --font-size-xs: 12px;
  --font-size-lg: 18px;
  --font-size-xl: 24px;
  --font-size-2xl: 32px;

  /* Spacing */
  --space-xs: 4px;
  --space-sm: 8px;
  --space-md: 16px;
  --space-lg: 24px;
  --space-xl: 40px;
  --space-2xl: 64px;

  /* Shape */
  --radius: 8px;
  --radius-lg: 12px;
  --shadow-sm: 0 1px 3px var(--color-shadow);
  --shadow-md: 0 4px 12px var(--color-shadow);
  --shadow-lg: 0 12px 24px var(--color-shadow);
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width: 640px;
}

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: var(--font-size-base);
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-family);
  color: var(--color-text);
  background: linear-gradient(180deg, #ffffff 0%, var(--color-bg) 100%);
  line-height: 1.7;
  min-height: 100dvh;
}

/* Layout */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--space-lg);
}

.screen {
  display: none;
  min-height: 100dvh;
  padding: var(--space-2xl) 0;
  animation: fadeIn 0.4s ease-out;
}

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

.screen.active {
  display: flex;
  flex-direction: column;
}

.screen.active:has(.check-layout) {
  height: 100dvh;
  overflow: hidden;
}

/* ==============================
   Buttons
   ============================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  font-weight: 500;
  border: none;
  border-radius: var(--radius);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  line-height: 1.5;
}

.btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.btn-primary {
  background-color: var(--color-primary);
  color: #ffffff;
  padding: var(--space-md) var(--space-xl);
  width: 100%;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover:not(:disabled) {
  background-color: var(--color-primary-hover);
  box-shadow: var(--shadow-md);
  transform: translateY(-1px);
}

.btn-primary:active:not(:disabled) {
  transform: translateY(0);
}

.btn-yes {
  background-color: var(--color-accent);
  color: #ffffff;
  padding: var(--space-md) var(--space-xl);
  flex: 1;
  font-size: var(--font-size-lg);
  box-shadow: var(--shadow-sm);
}

.btn-yes:hover:not(:disabled) {
  background-color: var(--color-accent-hover);
  box-shadow: var(--shadow-md);
}

.btn-no {
  background-color: var(--color-warning);
  color: #ffffff;
  padding: var(--space-md) var(--space-xl);
  flex: 1;
  font-size: var(--font-size-lg);
  box-shadow: var(--shadow-sm);
}

.btn-no:hover:not(:disabled) {
  background-color: var(--color-warning-hover);
  box-shadow: var(--shadow-md);
}

.btn-outline {
  background-color: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-border);
  padding: var(--space-sm) var(--space-md);
  font-size: var(--font-size-sm);
}

.btn-outline:hover:not(:disabled) {
  background-color: var(--color-primary);
  border-color: var(--color-primary);
  color: #ffffff;
}

.btn-text {
  background-color: transparent;
  color: var(--color-text-secondary);
  padding: var(--space-sm) var(--space-md);
  font-size: var(--font-size-sm);
}

.btn-text:hover:not(:disabled) {
  color: var(--color-text);
}

/* ==============================
   Landing Screen
   ============================== */

#landing {
  align-items: center;
}

#landing .container {
  text-align: center;
}

.landing-title {
  font-size: var(--font-size-2xl);
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.1em;
  margin-bottom: var(--space-md);
  text-transform: uppercase;
}

.landing-subtitle {
  font-size: var(--font-size-lg);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-xl);
  font-weight: 500;
}

.landing-description {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-2xl);
  line-height: 1.8;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}

.landing-preview {
  text-align: center;
  margin-bottom: var(--space-lg);
}

.landing-preview-img {
  max-width: 240px;
  height: auto;
  margin-bottom: var(--space-sm);
  filter: drop-shadow(0 2px 8px rgba(30, 58, 95, 0.1));
}

.landing-preview-caption {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

.landing-scenes {
  margin-bottom: var(--space-lg);
}

.landing-scenes-text {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  text-align: center;
  line-height: 1.8;
  font-weight: 500;
}

.landing-features {
  display: flex;
  justify-content: center;
  gap: var(--space-lg);
  margin-bottom: var(--space-xl);
}

.landing-feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--space-xs);
}

.landing-feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: var(--font-size-lg);
  font-weight: 700;
}

.feature-icon-accent {
  background-color: var(--color-accent-light);
  color: var(--color-accent);
}

.feature-icon-primary {
  background-color: var(--color-primary-light);
  color: var(--color-primary);
}

.feature-icon-warning {
  background-color: var(--color-warning-light);
  color: var(--color-warning);
}

.landing-feature-text {
  font-size: var(--font-size-xs);
  color: var(--color-text-secondary);
  font-weight: 500;
}

.landing-target {
  text-align: left;
  margin-bottom: var(--space-lg);
  background-color: var(--color-surface);
  padding: var(--space-md);
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
}

.landing-target-label {
  display: block;
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-sm);
}

.landing-themes {
  margin-bottom: var(--space-lg);
}

.landing-themes-label {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-md);
}

.theme-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
}

.theme-card {
  display: flex;
  flex-direction: column;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius);
  padding: var(--space-md) var(--space-lg);
  font-family: var(--font-family);
  font-size: var(--font-size-sm);
  color: var(--color-text);
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
  min-height: 72px;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
}

.theme-card:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
  background-color: #ffffff;
}

.theme-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--color-primary);
  opacity: 0;
  transition: opacity 0.2s ease;
  pointer-events: none;
}

.theme-card:active {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.theme-card-arrow {
  color: var(--color-text-muted);
  font-size: var(--font-size-lg);
  flex-shrink: 0;
  margin-left: var(--space-sm);
}

.theme-card.in-progress {
  border-left: 4px solid var(--color-primary);
}

.theme-card.in-progress .theme-card-score {
  color: var(--color-primary);
}

.theme-card.in-progress .theme-card-bar-fill {
  background-color: var(--color-primary);
}

.theme-card.done {
  border-left: 4px solid var(--color-accent);
}

.theme-card.done:hover {
  border-left: 4px solid var(--color-accent);
}

.theme-card-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-xs);
}

.theme-card-name {
  font-weight: 500;
}

.theme-card-score {
  font-size: var(--font-size-xs);
  color: var(--color-accent);
  font-weight: 500;
}

.theme-card-bar {
  width: 100%;
  height: 6px;
  background-color: var(--color-border);
  border-radius: 3px;
  overflow: hidden;
  margin-top: var(--space-sm);
}

.theme-card-bar-fill {
  height: 100%;
  background-color: var(--color-accent);
  border-radius: 3px;
  transition: width 0.3s ease;
}

.landing-result-area {
  margin-bottom: var(--space-lg);
}

.landing-footer {
  margin-top: var(--space-xl);
}

.landing-principles-link {
  margin-bottom: var(--space-md);
}

.landing-book-link {
  margin-bottom: var(--space-md);
}

.landing-book-link a {
  font-size: var(--font-size-sm);
  color: var(--color-primary);
  text-decoration: underline;
}

.landing-book-link a:hover {
  color: var(--color-primary-hover);
}

.landing-principles-link a {
  font-size: var(--font-size-sm);
  color: var(--color-primary);
  text-decoration: underline;
}

.landing-principles-link a:hover {
  color: var(--color-primary-hover);
}

.landing-author {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-sm);
}

.landing-privacy {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

/* ==============================
   Navigation
   ============================== */

.screen-top-nav {
  margin-bottom: var(--space-md);
}

.btn-back-to-top {
  padding: var(--space-xs) 0;
  font-size: var(--font-size-sm);
}

.btn-back-to-top::before {
  content: "\2190 ";
}

/* ==============================
   Input
   ============================== */

.input-group {
  display: flex;
  align-items: center;
  gap: var(--space-md);
  width: 100%;
}

.input-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  flex-shrink: 0;
  transition: var(--transition);
}

.input-group:focus-within .input-icon {
  color: var(--color-primary);
  transform: scale(1.1);
}

.prep-input {
  flex: 1;
  padding: var(--space-md);
  font-family: var(--font-family);
  font-size: var(--font-size-base);
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius);
  outline: none;
  background-color: var(--color-surface);
  transition: var(--transition);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.02);
}

.prep-input:hover {
  border-color: var(--color-text-muted);
  background-color: #ffffff;
}

.prep-input:focus {
  border-color: var(--color-primary);
  box-shadow: 0 0 0 4px var(--color-primary-light), inset 0 2px 4px rgba(0, 0, 0, 0.02);
  transform: translateY(-1px);
}

/* ==============================
   Shared Check Layout
   ============================== */

.check-layout {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
}

/* ==============================
   Theme Intro Screen
   ============================== */

.theme-intro-image {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: var(--space-lg);
}

.theme-intro-image img {
  width: 100%;
  max-width: 320px;
  height: auto;
}

.theme-intro-description {
  font-size: var(--font-size-base);
  color: var(--color-text-secondary);
  line-height: 1.8;
  text-align: left;
}

.theme-intro-target {
  font-size: var(--font-size-sm);
  color: var(--color-primary);
  background-color: var(--color-primary-light);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius);
  margin-top: var(--space-md);
  text-align: left;
}

/* ==============================
   Theme Complete Screen
   ============================== */

#theme-complete {
  align-items: center;
  justify-content: center;
}

.theme-complete-content {
  text-align: center;
}

.theme-complete-label {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-accent);
  margin-bottom: var(--space-md);
}

.theme-complete-score {
  font-size: var(--font-size-base);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-xl);
}

.theme-complete-next-label {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-sm);
}

.theme-complete-next-area {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--space-sm);
  margin-bottom: var(--space-xl);
}

.theme-next-btn {
  font-size: var(--font-size-sm);
}

.theme-complete-actions {
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
  align-items: center;
}

/* ==============================
   Check Screen
   ============================== */

.check-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: var(--space-md);
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  padding-bottom: var(--space-md);
  border-bottom: 1px solid var(--color-border-light);
  flex-shrink: 0;
}

.check-theme {
  font-weight: 500;
  color: var(--color-primary);
}

.check-progress-bar {
  width: 100%;
  height: 4px;
  background-color: var(--color-border);
  border-radius: 2px;
  overflow: hidden;
  margin-bottom: var(--space-lg);
  flex-shrink: 0;
}

.check-progress-bar-fill {
  height: 100%;
  background-color: var(--color-accent);
  border-radius: 2px;
  transition: width 0.2s ease;
}

.check-body {
  flex: 1;
  min-height: 0;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  background-color: var(--color-surface);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  margin-bottom: var(--space-lg);
}

.check-question-number {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
}

.check-question-text {
  font-size: var(--font-size-xl);
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: var(--space-md);
  color: var(--color-primary);
}

.check-hint {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

.check-detail {
  margin-bottom: var(--space-md);
}

.check-detail summary {
  font-size: var(--font-size-sm);
  color: var(--color-accent);
  cursor: pointer;
  user-select: none;
  padding: var(--space-xs) 0;
  list-style: none;
  font-weight: 500;
}

.check-detail summary::-webkit-details-marker {
  display: none;
}

.check-detail summary::before {
  content: "+ ";
  font-weight: 700;
}

.check-detail[open] summary::before {
  content: "- ";
}

.check-detail-text {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  line-height: 1.8;
  padding: var(--space-md);
  margin-top: var(--space-sm);
  background-color: var(--color-bg);
  border-radius: var(--radius);
}

.check-tag-area {
  position: relative;
  display: inline-block;
}

.check-tag {
  font-size: var(--font-size-xs);
  font-family: var(--font-family);
  color: var(--color-primary);
  background-color: var(--color-primary-light);
  display: inline-block;
  padding: var(--space-xs) var(--space-sm);
  border-radius: var(--space-xs);
  font-weight: 500;
  border: none;
  cursor: pointer;
  transition: background-color 0.15s ease;
}

.check-tag:hover {
  background-color: rgba(30, 58, 95, 0.15);
}

.check-tag-info {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background-color: var(--color-primary);
  color: #ffffff;
  font-size: 9px;
  font-weight: 700;
  font-style: normal;
  margin-left: 4px;
  vertical-align: top;
  position: relative;
  top: -2px;
}

.check-tag-tooltip {
  display: none;
  position: absolute;
  bottom: calc(100% + var(--space-sm));
  left: 0;
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: var(--space-md);
  box-shadow: var(--shadow-lg);
  min-width: 280px;
  z-index: 10;
}

.check-tag-tooltip.visible {
  display: block;
}

.check-tag-tooltip-close {
  position: absolute;
  top: var(--space-sm);
  right: var(--space-sm);
  background: none;
  border: none;
  font-size: var(--font-size-lg);
  color: var(--color-text-muted);
  cursor: pointer;
  line-height: 1;
  padding: 0 4px;
}

.check-tag-tooltip-close:hover {
  color: var(--color-text);
}

.check-tag-tooltip-text {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  line-height: 1.6;
  margin-bottom: var(--space-sm);
}

.check-tag-tooltip-link {
  font-size: var(--font-size-xs);
  color: var(--color-primary);
  text-decoration: underline;
}

.check-actions {
  display: flex;
  gap: var(--space-md);
  margin-bottom: var(--space-md);
  flex-shrink: 0;
}

.check-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-shrink: 0;
}

.check-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.check-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--color-border);
  transition: background-color 0.15s ease;
}

.check-dot.answered-yes {
  background-color: var(--color-accent);
}

.check-dot.answered-no {
  background-color: var(--color-warning);
}

.check-dot.current {
  outline: 2px solid var(--color-primary);
  outline-offset: 2px;
}

/* ==============================
   Result Screen
   ============================== */

.result-title {
  font-size: var(--font-size-xl);
  font-weight: 700;
  text-align: center;
  color: var(--color-primary);
  margin-bottom: var(--space-xl);
}

.result-chart-container {
  display: flex;
  justify-content: center;
  margin-bottom: var(--space-lg);
  background-color: var(--color-surface);
  padding: var(--space-lg);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}

.result-chart-wrapper {
  width: 100%;
  max-width: 400px;
  aspect-ratio: 1 / 1;
}

#radar-chart {
  width: 100%;
  height: 100%;
}

.result-notice {
  text-align: center;
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-xl);
  padding: var(--space-md) var(--space-lg);
  background-color: var(--color-primary-light);
  border-radius: var(--radius);
  line-height: 1.8;
  border-left: 3px solid var(--color-primary);
}

/* Result Details */
.result-details {
  margin-bottom: var(--space-xl);
}

.result-chapter {
  margin-bottom: var(--space-lg);
  background-color: var(--color-surface);
  border-radius: var(--radius);
  padding: var(--space-lg);
  box-shadow: var(--shadow-sm);
}

.result-chapter-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--color-border-light);
  margin-bottom: var(--space-md);
}

.result-chapter-title {
  font-size: var(--font-size-base);
  font-weight: 700;
  color: var(--color-primary);
}

.result-chapter-score {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  font-weight: 500;
}

.result-chapter-score.low {
  color: var(--color-warning);
}

.result-chapter-score.mid {
  color: #b8860b;
}

.result-chapter-score.high {
  color: var(--color-accent);
}

.result-item {
  padding: var(--space-md);
  background-color: var(--color-warning-light);
  border-radius: var(--radius);
  margin-bottom: var(--space-sm);
  border-left: 3px solid var(--color-warning);
}

.result-item-question {
  font-size: var(--font-size-sm);
  margin-bottom: var(--space-sm);
  font-weight: 500;
}

.result-item-why {
  font-size: var(--font-size-xs);
  color: var(--color-text-secondary);
  line-height: 1.7;
}

.result-chapter-bookref {
  font-size: var(--font-size-xs);
  color: var(--color-primary);
  line-height: 1.7;
  padding: var(--space-md);
  background-color: var(--color-primary-light);
  border-radius: var(--radius);
  margin-top: var(--space-sm);
}

.result-all-yes {
  font-size: var(--font-size-sm);
  color: var(--color-accent);
  padding: var(--space-sm) 0;
  font-weight: 500;
}

.result-interpretation {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
  margin-top: var(--space-xs);
  margin-bottom: var(--space-md);
  line-height: 1.6;
}

/* Book Section */
.result-book {
  text-align: center;
  padding: var(--space-xl);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  margin-bottom: var(--space-xl);
  box-shadow: var(--shadow-sm);
}

.result-book-title {
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-md);
}

.result-book-desc {
  font-size: var(--font-size-sm);
  color: var(--color-text-secondary);
  margin-bottom: var(--space-lg);
  line-height: 1.8;
}

.result-book .btn-primary {
  width: auto;
  display: inline-flex;
}

/* Share Section */
.result-share {
  text-align: center;
  margin-bottom: var(--space-xl);
}

.result-share-title {
  font-size: var(--font-size-base);
  font-weight: 700;
  margin-bottom: var(--space-md);
}

.result-share-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
  justify-content: center;
  margin-bottom: var(--space-md);
}

.result-share-hint {
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

/* Result actions */
.result-actions {
  text-align: center;
  margin-bottom: var(--space-lg);
  display: flex;
  flex-direction: column;
  gap: var(--space-sm);
}

/* Text result summary (< 3 themes) */
.text-result-summary {
  text-align: center;
  padding: var(--space-xl);
  width: 100%;
}

.text-result-count {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: var(--space-sm);
}

.text-result-hint {
  font-size: var(--font-size-sm);
  color: var(--color-text-muted);
}

/* Uncompleted themes list */
.result-uncompleted {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-sm);
}

.result-uncompleted-item {
  font-size: var(--font-size-sm);
  color: var(--color-primary);
  background-color: var(--color-surface);
  border: 1px solid var(--color-border);
  padding: var(--space-sm) var(--space-md);
  border-radius: var(--radius);
  cursor: pointer;
  font-family: var(--font-family);
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.result-uncompleted-item:hover {
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

/* Footer */
.site-footer {
  text-align: center;
  padding: var(--space-lg) 0;
  font-size: var(--font-size-xs);
  color: var(--color-text-muted);
}

/* ==============================
   Responsive
   ============================== */

@media (max-width: 480px) {
  :root {
    --font-size-2xl: 24px;
    --font-size-xl: 20px;
  }

  .landing-features {
    gap: var(--space-md);
  }

  .landing-feature-text {
    font-size: 11px;
  }

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

  .theme-complete-next-area {
    grid-template-columns: 1fr;
  }

  .check-question-text {
    font-size: var(--font-size-lg);
  }

  .check-actions {
    flex-direction: column;
  }

  .result-share-actions {
    flex-direction: column;
    align-items: center;
  }

  .result-share-actions .btn-outline {
    width: 100%;
  }

  .mobile-br {
    display: block;
  }
}

.pc-hide {
  display: none;
}
@media (max-width: 480px) {
  .pc-hide {
    display: block;
  }
}
