/* 밝고 깔끔한 화면. 흰 바탕, 넓은 여백, 포인트 색은 파랑 한 가지. */
:root {
  color-scheme: light;
  --bg: #ffffff;
  --surface: #ffffff;
  --soft: #f4f6fa;
  --tint: #eef3ff;
  --text: #141821;
  --muted: #667085;
  --faint: #98a2b3;
  --line: #e6e9f0;
  --accent: #2f6bff;
  --accent-press: #1f55e0;
  --danger: #d92d4f;
  --radius: 20px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; background: var(--bg); }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard", "Noto Sans KR", "Malgun Gothic", sans-serif;
  line-height: 1.6;
  word-break: keep-all;
  overflow-wrap: anywhere;
  -webkit-font-smoothing: antialiased;
}
button, input { font: inherit; color: inherit; }
button { cursor: pointer; }
h1, h2, h3, p { margin: 0; }
svg { display: block; }

.app {
  max-width: 520px;
  margin: 0 auto;
  min-height: 100dvh;
  padding: 20px 20px calc(32px + env(safe-area-inset-bottom));
  display: flex;
  flex-direction: column;
}

/* 버튼 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 56px; padding: 0 22px;
  border: 0; border-radius: 16px;
  background: var(--soft); color: var(--text);
  font-weight: 700; font-size: 16px;
  transition: transform .1s ease, background .15s ease;
}
.btn:active { transform: scale(.98); }
.btn:focus-visible, .choice:focus-visible, .seg-btn:focus-visible { outline: 3px solid rgba(47, 107, 255, .35); outline-offset: 2px; }
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:active { background: var(--accent-press); }
.btn-excel { background: var(--text); color: #fff; }
.btn-block { width: 100%; }
.btn-ghost { background: transparent; color: var(--muted); min-height: 44px; padding: 0 4px; font-weight: 600; }

/* 그림 */
.scene { position: relative; overflow: hidden; border-radius: 24px; background: var(--tint); }
.art { width: 100%; height: 100%; }
.art img, .art svg { display: block; width: 100%; height: 100%; object-fit: cover; }

/* 시작 화면 */
.intro { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 26px; padding: 4px 0 8px; }
.intro-scene { aspect-ratio: 4 / 3; animation: rise .5s ease both; }
.eyebrow { font-size: 12px; font-weight: 700; letter-spacing: .14em; color: var(--accent); }
.intro h1 { font-size: clamp(34px, 9.4vw, 44px); line-height: 1.22; letter-spacing: -.035em; margin-top: 8px; font-weight: 800; }
.intro h1 em { font-style: normal; color: var(--accent); }
.lead { color: var(--muted); font-size: 16px; }
.facts { display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 16px 0; }
.fact { text-align: center; }
.fact + .fact { border-left: 1px solid var(--line); }
.fact b { display: block; font-size: 24px; font-weight: 800; letter-spacing: -.02em; }
.fact span { font-size: 13px; color: var(--muted); }
.intro-actions { display: grid; gap: 10px; }
.note { font-size: 12.5px; color: var(--faint); }
@keyframes rise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }

/* 카드 */
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px 20px; }
.card h2 { font-size: 19px; letter-spacing: -.02em; margin-bottom: 16px; font-weight: 800; }
.h-ico { display: none; }
.card h3 { font-size: 13px; color: var(--accent); font-weight: 700; margin-bottom: 4px; }
.card .sub { font-size: 13px; color: var(--muted); margin: -10px 0 16px; }
.badge { display: inline-block; vertical-align: middle; margin-left: 6px; font-size: 11px; font-weight: 800; letter-spacing: 0; padding: 2px 7px; border-radius: 99px; background: #ffe08a; color: #5a4300; }

/* 신체 정보 */
.profile { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 20px; padding: 12px 0; }
.profile-head { display: flex; align-items: center; gap: 16px; }
.profile-head h1 { font-size: clamp(26px, 7vw, 32px); line-height: 1.25; letter-spacing: -.03em; font-weight: 800; }
.profile-head .lead { margin-top: 6px; font-size: 14.5px; }
.profile-mascot { flex: none; width: 88px; height: 88px; border-radius: 50%; overflow: hidden; background: var(--tint); }
.form-card { display: grid; gap: 18px; border: 0; padding: 0; }
.field { display: grid; gap: 8px; min-width: 0; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.field-label { font-size: 14px; font-weight: 700; }
.input-wrap { position: relative; display: block; }
.input-wrap input {
  width: 100%; min-height: 56px; padding: 0 46px 0 16px;
  border: 1.5px solid var(--line); border-radius: 14px; background: var(--surface);
  font-size: 18px; font-weight: 700; font-variant-numeric: tabular-nums;
  transition: border-color .15s ease, box-shadow .15s ease;
}
.input-wrap input::placeholder { color: var(--faint); font-weight: 400; }
.input-wrap input:focus { outline: none; border-color: var(--accent); box-shadow: 0 0 0 4px rgba(47, 107, 255, .14); }
.input-wrap em { position: absolute; right: 16px; top: 50%; transform: translateY(-50%); font-style: normal; font-weight: 600; color: var(--muted); font-size: 14px; pointer-events: none; }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.seg-btn { min-height: 56px; border: 1.5px solid var(--line); border-radius: 14px; background: var(--surface); font-weight: 700; font-size: 17px; transition: border-color .15s ease, background .15s ease, color .15s ease; }
.seg-btn[aria-checked="true"] { border-color: var(--accent); background: var(--tint); color: var(--accent); }
.field-error { font-size: 13px; font-weight: 600; color: var(--danger); }
.field-error:empty { display: none; }
.has-error input, .has-error .seg-btn { border-color: var(--danger); }

/* 설문 */
.quiz-top { display: flex; align-items: center; gap: 8px; }
.quiz-top .count { margin-left: auto; font-variant-numeric: tabular-nums; font-size: 14px; color: var(--faint); }
.quiz-top .count b { color: var(--text); font-size: 16px; font-weight: 800; }
.progress { position: relative; height: 6px; background: var(--soft); border-radius: 99px; margin-top: 12px; overflow: hidden; }
.progress i { display: block; height: 100%; background: var(--accent); border-radius: 99px; transition: width .35s ease; }
.progress .runner { display: none; }
.quiz-body { flex: 1; display: flex; flex-direction: column; justify-content: center; gap: 32px; padding: 32px 0 24px; }
.q-card { animation: rise .35s ease both; }
.section-tag { display: inline-block; font-size: 13px; font-weight: 700; color: var(--accent); background: var(--tint); padding: 4px 10px; border-radius: 8px; }
.question { font-size: clamp(26px, 7vw, 32px); line-height: 1.32; letter-spacing: -.03em; margin-top: 16px; font-weight: 800; text-wrap: balance; }

.choices { display: grid; gap: 10px; }
.choice {
  display: flex; align-items: center; gap: 12px;
  min-height: 58px; padding: 0 16px; text-align: left;
  background: var(--surface); border: 1.5px solid var(--line); border-radius: 16px;
  font-size: 16px; font-weight: 600;
  transition: transform .1s ease, background .15s ease, border-color .15s ease;
}
.choice:active { transform: scale(.985); }
.choice .face { flex: none; width: 28px; height: 28px; }
.choice .face svg { width: 100%; height: 100%; }
.choice-label { flex: 1; }
.choice kbd { font: inherit; font-size: 12px; color: var(--faint); border: 1px solid var(--line); border-radius: 6px; padding: 0 6px; }
@media (hover: none) { .choice kbd { display: none; } }
@media (hover: hover) { .choice:hover { border-color: #c5d3f5; background: #fafbff; } }
.choice[aria-checked="true"] { border-color: var(--accent); background: var(--tint); color: var(--accent); font-weight: 700; box-shadow: 0 0 0 1px var(--accent) inset; }
/* 고른 답: 오른쪽 체크 표시 */
.choice[aria-checked="true"]::after {
  content: ""; flex: none; width: 22px; height: 22px; border-radius: 50%;
  background: var(--accent) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 14px no-repeat;
}
.choice[aria-checked="true"] kbd { display: none; }
.choice.picked { animation: picked .45s ease; }
.choice.picked::after { animation: tick .3s ease; }
@keyframes picked { 0% { transform: scale(1); } 30% { transform: scale(.97); } 60% { transform: scale(1.015); } 100% { transform: scale(1); } }
@keyframes tick { from { transform: scale(0); } to { transform: scale(1); } }
.choices.locked { pointer-events: none; }
.choices.locked .choice:not(.picked) { opacity: .55; transition: opacity .2s; }
/* 재미용 안내 상자 */
.notice { font-size: 13px; line-height: 1.55; color: var(--muted); background: var(--tint); border-radius: 12px; padding: 10px 14px; margin: 0 0 4px; }
.result > .notice { margin: 12px 0 0; }
.consent p { white-space: pre-line; }
.quiz-foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; min-height: 58px; }

/* 결과 */
.result { display: grid; gap: 16px; padding-bottom: 8px; }
.hero { position: relative; overflow: hidden; }
.hero-scene { aspect-ratio: 4 / 3; border-radius: 24px; overflow: hidden; background: var(--tint); animation: rise .5s ease both; }
.hero-body { padding: 24px 2px 8px; }
.hero .who { font-size: 13px; font-weight: 700; color: var(--accent); }
.hero h1 { font-size: clamp(36px, 10vw, 46px); line-height: 1.15; letter-spacing: -.04em; margin: 6px 0 14px; font-weight: 800; text-wrap: balance; }
.hero .codes { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.hero .code { font-weight: 700; font-size: 13px; padding: 5px 11px; border-radius: 8px; background: var(--soft); color: var(--text); font-variant-numeric: tabular-nums; }
.hero .code:first-child { background: var(--text); color: #fff; letter-spacing: .04em; }
.hero p { font-size: 16.5px; color: #3b4354; }
.confetti { display: none; }

.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.stat { text-align: center; min-width: 0; padding: 2px 4px; }
.stat + .stat { border-left: 1px solid var(--line); }
.stat span { display: block; font-size: 12px; color: var(--muted); }
.stat b { font-size: 15px; font-weight: 800; font-variant-numeric: tabular-nums; white-space: nowrap; }
.stat em { font-style: normal; font-size: 11px; font-weight: 600; color: var(--muted); margin-left: 1px; }

.chips { display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 0 0 20px; list-style: none; }
.chips li { padding: 8px 14px; border-radius: 99px; background: var(--tint); color: var(--accent); font-weight: 700; font-size: 15px; }
.chips li:first-child { background: var(--accent); color: #fff; }
.kv { display: grid; gap: 16px; }
.kv p { color: #3b4354; }

.axis { padding: 18px 0; border-top: 1px solid var(--line); }
.axis:first-of-type { border-top: 0; padding-top: 0; }
.axis:last-child { padding-bottom: 0; }
.axis-head { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.axis-head b { display: inline-flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 700; }
.axis-head > span { font-size: 13px; color: var(--muted); text-align: right; }
.letter { display: inline-grid; place-items: center; min-width: 30px; height: 30px; padding: 0 7px; border-radius: 9px; background: var(--text); color: #fff; font-size: 13px; font-weight: 800; }
.bar-row { display: grid; grid-template-columns: 7.2em 1fr 2.8em; align-items: center; gap: 10px; font-size: 14px; margin-top: 8px; color: var(--muted); }
.bar-row.win { color: var(--text); font-weight: 700; }
.bar { height: 8px; border-radius: 99px; background: var(--soft); overflow: hidden; }
.bar i { display: block; height: 100%; border-radius: 99px; background: #c9d0dc; }
.bar-row.win .bar i { background: var(--accent); }
.bar-row .num { text-align: right; font-variant-numeric: tabular-nums; }
.axis-text { font-size: 14px; color: var(--muted); margin-top: 12px; }

.exp { display: grid; gap: 18px; }
.exp-item { display: grid; gap: 6px; }
.exp-head { display: flex; align-items: center; gap: 8px; }
.exp-head b { font-size: 15px; font-weight: 700; }
.lv { font-size: 12px; font-weight: 700; padding: 2px 9px; border-radius: 99px; background: var(--soft); color: var(--muted); }
.lv-2 { background: var(--tint); color: var(--accent); }
.lv-3 { background: var(--accent); color: #fff; }
.exp-item p { font-size: 14px; color: var(--muted); }



.actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.actions .wide { grid-column: 1 / -1; }
.foot { font-size: 12px; color: var(--faint); text-align: center; padding: 8px 8px 0; }

.toast {
  position: fixed; left: 50%; bottom: calc(24px + env(safe-area-inset-bottom)); z-index: 10;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: var(--text); color: #fff; padding: 11px 18px; border-radius: 99px;
  font-size: 14px; font-weight: 600; transition: opacity .2s ease, transform .2s ease; max-width: calc(100vw - 32px); text-align: center;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
}

/* 공유 페이지 안에서는 결과 링크 공유가 동작하지 않아 숨긴다 */
.hosted [data-act="share"]{display:none}

/* 언어 선택 */
.lang { display: flex; align-items: center; justify-content: flex-end; gap: 8px; font-size: 13px; color: var(--muted); }
.result .lang { justify-content: center; padding-top: 4px; }
.lang-label { font-weight: 600; }
.lang select {
  appearance: none; -webkit-appearance: none;
  min-height: 40px; padding: 0 34px 0 14px;
  border: 1.5px solid var(--line); border-radius: 99px; background-color: var(--surface);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23667085' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 13px center; background-size: 11px;
  font: inherit; font-size: 14px; font-weight: 700; color: var(--text); cursor: pointer;
}
.lang select:focus-visible { outline: 3px solid rgba(47, 107, 255, .35); outline-offset: 2px; }

/* 언어별 글꼴과 줄바꿈. keep-all 은 한국어 전용이라 다른 언어에서는 끈다. */
html:not([lang="ko"]) body { word-break: normal; }
html[lang="en"] body { font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
html[lang="ja"] body { font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", "Noto Sans JP", "Noto Sans CJK JP", Meiryo, sans-serif; }
html[lang="zh-Hant"] body { font-family: -apple-system, BlinkMacSystemFont, "PingFang TC", "Noto Sans TC", "Noto Sans CJK TC", "Microsoft JhengHei", sans-serif; }
html[lang="zh-Hans"] body { font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Noto Sans SC", "Noto Sans CJK SC", "Microsoft YaHei", sans-serif; }
html[lang="en"] .intro h1 { letter-spacing: -.03em; }
html[lang="en"] .bar-row { grid-template-columns: 9.5em 1fr 2.8em; font-size: 13.5px; }
html[lang="en"] .stat span { font-size: 11px; }

/* 연구 데이터 동의 */
.consent h2 { font-size: 16px; margin-bottom: 8px; }
.consent p { font-size: 13.5px; color: var(--muted); }
.check { display: flex; align-items: center; gap: 10px; margin-top: 14px; font-weight: 700; font-size: 15px; cursor: pointer; }
.check input { width: 22px; height: 22px; margin: 0; accent-color: var(--accent); flex: none; }
.consent.has-error { border-color: var(--danger); }
.consent .field-error { display: block; margin-top: 8px; }
.consent .field-error:empty { display: none; }

/* 결과 전송 상태 */
.send-status { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 44px; padding: 8px 14px; border-radius: 14px; font-size: 14px; font-weight: 600; background: var(--soft); color: var(--muted); }
.send-status:empty { display: none; }
.send-status.is-sent { background: var(--tint); color: var(--accent); }
.send-status.is-failed { background: #fdecef; color: var(--danger); }
.send-status .btn { min-height: 36px; color: inherit; text-decoration: underline; }

/* 결과 링크 공유가 숨겨진 곳에서는 이미지 저장 버튼을 한 줄로 */
.hosted [data-act="image"] { grid-column: 1 / -1; }

/* 결과 일치도 */
.fit-scale { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 12px; }
.fit-btn {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 10px 2px; min-height: 72px;
  background: var(--surface); border: 1.5px solid var(--line); border-radius: 12px;
  font-size: 11.5px; line-height: 1.3; color: var(--muted); text-align: center; word-break: keep-all;
  transition: background .15s ease, border-color .15s ease;
}
.fit-btn b { font-size: 18px; color: var(--text); }
.fit-btn[aria-checked="true"] { border-color: var(--accent); background: var(--tint); color: var(--accent); font-weight: 700; box-shadow: 0 0 0 1px var(--accent) inset; }
.fit-btn[aria-checked="true"] b { color: var(--accent); }
@media (hover: hover) { .fit-btn:hover { border-color: #c5d3f5; } }
.fit-thanks { margin-top: 10px; font-size: 13px; color: var(--accent); font-weight: 600; }
.fit-thanks[hidden] { display: none; }

/* 첫 화면: 이런 고민, 있으신가요? */
.worries h3 { font-size: 14px; font-weight: 800; margin: 0 0 10px; }
.worries ul { display: grid; gap: 8px; padding: 0; margin: 0; list-style: none; }
.worries li { display: flex; gap: 10px; align-items: flex-start; font-size: 14.5px; line-height: 1.45; background: var(--soft); border-radius: 12px; padding: 10px 12px; }
.worries i { flex: none; width: 20px; height: 20px; border-radius: 50%; background: var(--accent); display: grid; place-items: center; margin-top: 1px; }
.worries i svg { width: 12px; height: 12px; }

/* 첫 화면: '운동 MBTI' 큰 제목 + 부제 */
.intro h1 { font-size: clamp(46px, 13vw, 60px); line-height: 1.08; }
.intro-sub { margin-top: 10px; font-size: clamp(20px, 5.6vw, 24px); font-weight: 800; color: var(--accent); letter-spacing: -.02em; }

/* 결과: 영역별 비중 게이지 */
.gauge { display: flex; height: 34px; border-radius: 10px; overflow: hidden; background: var(--soft); gap: 2px; }
.gauge .seg { display: flex; align-items: center; justify-content: center; gap: 5px; min-width: 64px; background: #e3e9f6; color: var(--muted); font-size: 12.5px; font-weight: 600; white-space: nowrap; }
.gauge .seg b { font-size: 13px; font-weight: 800; }
.gauge .seg.win { background: var(--accent); color: #fff; }
.legend { list-style: none; padding: 0; margin: 10px 0 0; display: grid; gap: 4px; }
.legend li { display: flex; align-items: baseline; gap: 8px; font-size: 12.5px; color: var(--faint); }
.legend li b { min-width: 22px; font-weight: 800; color: var(--faint); }
.legend li span { margin-left: auto; font-variant-numeric: tabular-nums; }
.legend li.win, .legend li.win b { color: var(--text); font-weight: 700; }

/* 운동 MBTI 유형 모두 보기 */
.types h1 { font-size: 28px; font-weight: 800; letter-spacing: -.03em; margin-top: 4px; }
.types > .lead { margin: 6px 0 18px; }
.type-group { margin-top: 22px; }
.type-group h2 { display: flex; align-items: center; gap: 10px; font-size: 15px; font-weight: 800; margin: 0 0 12px; }
.type-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.type-card { position: relative; display: flex; flex-direction: column; align-items: stretch; gap: 2px; padding: 8px 8px 12px; border: 1.5px solid var(--line); border-radius: 16px; background: var(--surface); text-align: left; cursor: pointer; }
.type-card .art { aspect-ratio: 4 / 3; height: auto; border-radius: 10px; overflow: hidden; margin-bottom: 6px; }
.type-card b { font-size: 14.5px; font-weight: 800; padding: 0 4px; }
.type-card > span:last-child { font-size: 11.5px; color: var(--faint); padding: 0 4px; }
.type-card.mine { border-color: var(--accent); box-shadow: 0 0 0 1px var(--accent) inset; }
.mine-badge { position: absolute; top: 12px; left: 12px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 800; padding: 3px 8px; border-radius: 999px; }
@media (hover: hover) { .type-card:hover { border-color: #c5d3f5; } }

/* 업데이트 소식 이메일 */
.email-card .field { margin-top: 12px; }
.email-card input[type="email"] { width: 100%; }
.check.small { align-items: flex-start; font-size: 12.5px; font-weight: 500; color: var(--muted); line-height: 1.5; }
.check.small input { width: 18px; height: 18px; margin-top: 1px; }
.email-card .btn { margin-top: 12px; }
.email-done { margin-top: 8px; font-weight: 700; color: var(--accent); }

/* 국적 선택 */
.select-wrap select { width: 100%; appearance: none; -webkit-appearance: none; font: inherit; font-size: 18px; font-weight: 700; color: var(--text);
  background: var(--surface) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2398a2b3' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E") right 14px center / 18px no-repeat;
  border: 1.5px solid var(--line); border-radius: 14px; padding: 0 42px 0 16px; min-height: 56px; }
.select-wrap select:invalid, .select-wrap select option[value=""] { color: var(--faint); }
.nat-other { margin-top: 8px; }
.nat-other[hidden] { display: none; }
.field.has-error .select-wrap select { border-color: var(--danger); }

/* 추천 운동 벤토 그리드 */
.bento { list-style: none; padding: 0; margin: 0 0 20px; display: grid; grid-template-columns: repeat(6, 1fr); grid-template-rows: 84px 84px 58px; gap: 8px; }
.bento .b { position: relative; display: flex; align-items: center; gap: 10px; padding: 10px 12px; border-radius: 16px; min-width: 0; }
.bento .rk { position: absolute; top: 8px; right: 10px; font-size: 11px; font-weight: 800; opacity: .55; }
.bento .ico { flex: none; display: grid; place-items: center; border-radius: 12px; background: #fff; }
.bento .ico svg { display: block; }
.bento .nm { min-width: 0; }
.bento .nm b { display: block; font-weight: 800; letter-spacing: -.02em; line-height: 1.25; word-break: keep-all; overflow-wrap: anywhere; }
.bento .nm small { display: block; font-size: 12px; font-weight: 700; opacity: .85; margin-bottom: 2px; }
.bento .b1 { grid-column: 1 / 5; grid-row: 1 / 3; flex-direction: column; align-items: flex-start; justify-content: space-between; padding: 16px; background: var(--accent); color: #fff; }
.bento .b1 .ico { width: 64px; height: 64px; border-radius: 18px; }
.bento .b1 .ico svg { width: 50px; height: 50px; }
.bento .b1 .nm b { font-size: 24px; }
.bento .b2, .bento .b3 { grid-column: 5 / 7; flex-direction: column; align-items: flex-start; justify-content: center; gap: 4px; background: var(--tint); color: var(--accent); padding: 8px 10px; }
.bento .b2 { grid-row: 1; } .bento .b3 { grid-row: 2; }
.bento .b2 .ico, .bento .b3 .ico { width: 34px; height: 34px; border-radius: 10px; }
.bento .b2 .ico svg, .bento .b3 .ico svg { width: 26px; height: 26px; }
.bento .b2 .nm b, .bento .b3 .nm b { font-size: 13.5px; }
.bento .b4, .bento .b5 { grid-row: 3; background: transparent; border: 1.5px solid var(--line); color: var(--muted); }
.bento .b4 { grid-column: 1 / 4; } .bento .b5 { grid-column: 4 / 7; }
.bento .b4 .ico, .bento .b5 .ico { width: 30px; height: 30px; background: var(--soft); border-radius: 9px; }
.bento .b4 .ico svg, .bento .b5 .ico svg { width: 22px; height: 22px; }
.bento .b4 .nm b, .bento .b5 .nm b { font-size: 14px; font-weight: 700; }
.bento .b4 .rk, .bento .b5 .rk { top: 6px; right: 8px; }
.bento .b .nm { padding-right: 12px; }
