/* 모바일 전용 - 기본 토큰과 리셋
   색은 PC(style.css)와 같은 값을 쓴다. 크기와 간격만 손가락에 맞게 키웠다. */

:root {
  --bg-app: #0a0d14;
  --bg-card: #141a24;
  --bg-card-2: #1b2330;
  --bg-sheet: #121821;
  --bg-input: #1a222f;

  --border: rgba(255, 255, 255, 0.07);
  --border-strong: rgba(255, 255, 255, 0.14);

  --gold: #e5c158;
  --gold-dim: rgba(229, 193, 88, 0.14);
  --text-main: #f0f3f8;
  --text-muted: #8b99a8;
  --text-dark: #566270;

  --primary: #3b82f6;
  --primary-dim: rgba(59, 130, 246, 0.16);
  --success: #10b981;
  --success-dim: rgba(16, 185, 129, 0.16);
  --danger: #ef4444;
  --warning: #f59e0b;
  --info: #06b6d4;

  --r-lg: 18px;
  --r-md: 12px;
  --r-sm: 8px;

  /* 손가락이 닿는 최소 크기 */
  --touch: 44px;

  --header-h: 56px;
  --tabbar-h: 62px;
  --safe-b: env(safe-area-inset-bottom, 0px);

  --font: 'Outfit', 'Noto Sans KR', -apple-system, BlinkMacSystemFont, sans-serif;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-tap-highlight-color: transparent;
}

html, body {
  height: 100%;
  overflow-x: hidden;
}

body {
  font-family: var(--font);
  background: var(--bg-app);
  color: var(--text-main);
  /* 본문 15px. PC 는 13px 이라 폰에서 읽기 힘들었다. */
  font-size: 15px;
  line-height: 1.55;
  background-image:
    radial-gradient(at 0% 0%, rgba(59, 130, 246, 0.07) 0px, transparent 55%),
    radial-gradient(at 100% 100%, rgba(229, 193, 88, 0.05) 0px, transparent 55%);
  background-attachment: fixed;
  -webkit-font-smoothing: antialiased;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  border: none;
  background: none;
}

button { cursor: pointer; }

ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }

/* 스크롤바는 폰에서 안 보이게 */
::-webkit-scrollbar { width: 0; height: 0; }

/* 공통 글자 유형 */
.t-num {
  font-family: 'Outfit', sans-serif;
  font-variant-numeric: tabular-nums;
  font-weight: 700;
}
.t-label {
  font-size: 12.5px;
  color: var(--text-muted);
  font-weight: 500;
}
.t-gold { color: var(--gold); }
.t-success { color: var(--success); }
.t-muted { color: var(--text-muted); }
.t-dark { color: var(--text-dark); }
