:root {
  --bg:           #FFF4E6;
  --bg-soft:      #FFE8CF;
  --bg-deep:      #FFD9A8;
  --card:         #FFFFFF;

  --orange:       #FF6B1A;
  --orange-d:     #E5530A;
  --orange-l:     #FF8F4D;
  --orange-pale:  #FFE4D0;

  --yellow:       #FFC93C;
  --pink:         #FF8FA3;
  --teal:         #4ECDC4;

  --ink:          #3A1F0A;
  --ink-2:        #6B4226;
  --ink-3:        #9C7553;

  --line:         #F4D5B0;
  --line-soft:    #FAE6CD;

  --danger:       #E84545;
  --shadow:       0 2px 0 rgba(58, 31, 10, 0.08);
  --shadow-md:    0 4px 0 rgba(58, 31, 10, 0.10), 0 8px 24px -8px rgba(58, 31, 10, 0.18);
  --shadow-press: 0 1px 0 rgba(58, 31, 10, 0.10);

  --font-jp:    'M PLUS Rounded 1c', 'Hiragino Sans', 'Yu Gothic', sans-serif;
  --font-mono:  'JetBrains Mono', 'SF Mono', 'Consolas', monospace;

  --gap-xs:  4px;
  --gap-sm:  8px;
  --gap-md:  14px;
  --gap-lg:  22px;
  --gap-xl:  36px;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 20px;

  --tap-min: 42px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body {
  font-family: var(--font-jp);
  font-weight: 500;
  line-height: 1.7;
  color: var(--ink);
  background: var(--bg);
  background-image:
    radial-gradient(circle at 25% 30%, rgba(255, 201, 60, 0.15) 0, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(255, 143, 77, 0.12) 0, transparent 40%),
    radial-gradient(circle at 50% 90%, rgba(255, 201, 60, 0.08) 0, transparent 30%);
  background-attachment: fixed;
  min-height: 100vh;
  letter-spacing: 0.01em;
}

button { font: inherit; color: inherit; background: none; border: none; cursor: pointer; letter-spacing: inherit; }
input { font: inherit; color: inherit; }

a {
  color: var(--orange-d);
  text-decoration: none;
  font-weight: 700;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s, color 0.15s;
}
a:hover { color: var(--orange); border-bottom-color: var(--orange); }

img, canvas { display: block; }
.hidden { display: none !important; }

.label {
  font-family: var(--font-jp);
  font-weight: 800;
  font-size: 0.78rem;
  color: var(--orange-d);
  letter-spacing: 0.06em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.label::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--orange);
  border-radius: 50%;
}
