:root {
  --bg: #1F1F1F;
  --sub-bg: #2A2A2A;
  --surface: #303030;
  --main: #F3F1EC;
  --muted: #B9B3A8;
  --accent: #C8A96B;
  --gold-dark: #A88645;
  --cta: #2E9E67;
  --cta-hover: #257F53;
  --secondary: #46433D;
  --text: #F3F1EC;
  --font-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  --font-din: "Barlow Condensed", "DIN Next", "DIN 2014", "Arial Narrow", "Helvetica Neue", Arial, sans-serif;
  --shadow: 0 22px 48px rgba(0, 0, 0, 0.36);
  --soft-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #1F1F1F url("../img/bg-concrete.jpg") center / cover fixed no-repeat;
  color: var(--text);
  font-family: var(--font-body);
  font-feature-settings: "palt" 1;
  letter-spacing: 0;
}

button {
  min-height: 44px;
  border: 0;
  font: inherit;
  cursor: pointer;
}

.phone {
  position: relative;
  width: min(100%, 430px);
  min-height: 100vh;
  margin: 0 auto;
  overflow: hidden;
  background:
    linear-gradient(rgba(31, 31, 31, 0.9), rgba(31, 31, 31, 0.94)),
    url("../img/bg-concrete.jpg") center / cover no-repeat;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.62);
}

main {
  padding: 0 16px 104px;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px 11px;
  background: rgba(31, 31, 31, 0.9);
  border-bottom: 1px solid rgba(200, 169, 107, 0.22);
  backdrop-filter: blur(18px);
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-din);
  color: var(--main);
  text-decoration: none;
}

.logo span {
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(145deg, var(--accent), var(--gold-dark));
  color: #1F1F1F;
  font-size: 15px;
  font-weight: 950;
}

.logo strong {
  display: grid;
  gap: 2px;
  font-size: 20px;
  font-weight: 950;
  line-height: 0.95;
}

.logo small {
  color: var(--muted);
  font-size: 8px;
  font-weight: 800;
  line-height: 1.1;
}

.top-actions {
  display: flex;
  gap: 8px;
}

.round-btn {
  display: inline-grid;
  width: 44px;
  min-width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--secondary);
  border-radius: 999px;
  background: var(--surface);
  color: var(--accent);
  transition: transform 170ms ease, background 170ms ease;
}

.round-btn:active,
.ghost-btn:active,
.mood-chip:active {
  transform: scale(0.96);
}

svg {
  width: 19px;
  height: 19px;
  stroke-width: 2.25;
}

.hero {
  padding: 20px 0 11px;
}

.kicker {
  margin: 0 0 7px;
  color: var(--accent);
  font-size: 10.5px;
  font-weight: 950;
  letter-spacing: 0;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 7px;
  color: var(--main);
  font-size: 33px;
  font-weight: 950;
  line-height: 1.12;
}

.lead {
  margin-bottom: 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 760;
}

.quick-chips,
.match-rail {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 4px;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
  scrollbar-width: none;
  scroll-snap-type: x mandatory;
  touch-action: pan-x;
}

.quick-chips::-webkit-scrollbar,
.match-rail::-webkit-scrollbar,
.profile-gallery::-webkit-scrollbar {
  display: none;
}

.quick-chip,
.ghost-btn,
.mood-chip {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 40px;
  padding: 0 13px;
  border: 1px solid var(--secondary);
  border-radius: 999px;
  background: var(--surface);
  color: var(--main);
  font-size: 12px;
  font-weight: 900;
  transition: transform 170ms ease, background 170ms ease, border-color 170ms ease;
}

.quick-chip.active,
.mood-chip.active {
  border-color: var(--accent);
  background: var(--accent);
  color: #1F1F1F;
}

.section-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 12px;
  margin: 7px 0 12px;
}

.section-title.compact {
  margin-top: 28px;
}

.section-title h2 {
  margin: 0;
  color: var(--main);
  font-size: 21px;
  font-weight: 950;
  line-height: 1.22;
}

.rail-controls {
  display: inline-flex;
  flex: 0 0 auto;
  gap: 7px;
}

.rail-btn {
  display: inline-grid;
  width: 38px;
  min-width: 38px;
  height: 38px;
  min-height: 38px;
  place-items: center;
  border: 1px solid rgba(200, 169, 107, 0.36);
  border-radius: 50%;
  background: var(--surface);
  color: var(--accent);
  transition: background 170ms ease, border-color 170ms ease, transform 170ms ease;
}

.rail-btn:hover {
  border-color: var(--accent);
  background: var(--sub-bg);
}

.rail-btn:active {
  transform: scale(0.94);
}

.ghost-btn {
  min-height: 40px;
  padding: 0 11px;
  font-size: 11px;
}

.featured-card {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background: var(--sub-bg);
  box-shadow: var(--shadow);
}

.featured-photo {
  position: relative;
  aspect-ratio: 3 / 4;
}

.featured-photo img,
.match-photo img,
.profile-hero img,
.gallery-item img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.featured-photo::after,
.match-photo::after,
.profile-hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 55%;
  background: linear-gradient(to top, rgba(31, 31, 31, 0.9), rgba(31, 31, 31, 0));
  content: "";
}

.available-tag {
  position: absolute;
  top: 13px;
  left: 13px;
  z-index: 2;
  display: grid;
  gap: 1px;
  padding: 9px 12px;
  border-radius: 16px;
  background: rgba(31, 31, 31, 0.88);
  color: var(--accent);
  font-size: 10px;
  font-weight: 950;
}

.available-tag strong {
  font-size: 13px;
}

.favorite-btn {
  position: absolute;
  top: 13px;
  right: 13px;
  z-index: 3;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 999px;
  background: rgba(31, 31, 31, 0.88);
  color: var(--accent);
  box-shadow: var(--soft-shadow);
}

.favorite-btn.active {
  background: var(--accent);
}

.favorite-btn.pop {
  animation: heart-pop 360ms ease;
}

@keyframes heart-pop {
  50% {
    transform: scale(1.22);
  }
}

.featured-copy {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
  padding: 20px;
  color: var(--text);
}

.featured-copy h3 {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 7px;
  font-size: 32px;
  font-weight: 950;
}

.featured-copy h3 span {
  color: var(--muted);
  font-size: 17px;
}

.meta {
  display: flex;
  gap: 10px;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.tag-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
}

.tag {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  padding: 0 9px;
  border-radius: 999px;
  background: rgba(200, 169, 107, 0.16);
  color: inherit;
  font-size: 11px;
  font-weight: 900;
}

.featured-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
}

.primary,
.secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border-radius: 17px;
  font-weight: 950;
  text-decoration: none;
}

.primary {
  background: var(--cta);
  color: var(--text);
  box-shadow: 0 12px 26px rgba(46, 158, 103, 0.28);
  transition: background 170ms ease, transform 170ms ease, box-shadow 170ms ease;
}

.primary:hover {
  background: var(--cta-hover);
  box-shadow: 0 12px 28px rgba(37, 127, 83, 0.36);
}

.secondary {
  background: rgba(200, 169, 107, 0.14);
  color: var(--main);
  backdrop-filter: blur(12px);
}

.match-rail {
  padding: 1px 1px 8px;
}

.match-card {
  position: relative;
  flex: 0 0 174px;
  overflow: hidden;
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--soft-shadow);
  scroll-snap-align: start;
  scroll-snap-stop: always;
  text-align: left;
}

.match-photo {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
}

.match-time {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  padding: 7px 9px;
  border-radius: 999px;
  background: var(--accent);
  color: var(--main);
  font-size: 11px;
  font-weight: 950;
}

.match-copy {
  padding: 12px;
}

.match-copy strong {
  color: var(--main);
  font-size: 17px;
  font-weight: 950;
}

.match-copy span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.match-copy p {
  min-height: 36px;
  margin: 8px 0 10px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
}

.compact-primary {
  width: 100%;
  min-height: 42px;
  border-radius: 14px;
  font-size: 12px;
}

.booking-entry {
  margin: 4px 0 26px;
}

.booking-cautions {
  display: grid;
  gap: 6px;
  padding: 11px 12px;
  border-radius: 14px;
  background: var(--sub-bg);
  color: var(--muted);
}

.booking-cautions p {
  margin: 0;
  font-size: 11.5px;
  font-weight: 850;
  line-height: 1.55;
}

.booking-form,
.booking-notice {
  border: 1px solid var(--secondary);
  border-radius: 22px;
  background: rgba(48, 48, 48, 0.96);
  box-shadow: var(--soft-shadow);
}

.booking-form {
  display: grid;
  gap: 13px;
  padding: 14px;
}

.booking-notice {
  margin: 0 0 10px;
  padding: 12px 14px;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.6;
}

.booking-notice.success {
  border-color: rgba(46, 158, 103, 0.85);
  color: var(--main);
}

.booking-notice.error {
  border-color: rgba(194, 65, 12, 0.34);
  color: #F0A37B;
}

.form-grid,
.form-field,
.form-options {
  display: grid;
  gap: 8px;
}

.form-field > span,
.form-label-text,
.form-options legend {
  color: var(--accent);
  font-size: 12px;
  font-weight: 950;
}

.form-label {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}

.required-badge {
  display: inline-flex;
  align-items: center;
  min-height: 19px;
  padding: 2px 8px;
  border: 1px solid rgba(200, 169, 107, 0.52);
  border-radius: 999px;
  background: rgba(200, 169, 107, 0.13);
  color: var(--text);
  font-size: 10px;
  font-weight: 950;
  line-height: 1;
}

.booking-form input[type="datetime-local"],
.booking-form input[type="email"],
.booking-form input[type="tel"],
.booking-form select,
.booking-form textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid var(--secondary);
  border-radius: 14px;
  background: var(--sub-bg);
  color: var(--text);
  font: inherit;
  font-size: 14px;
  font-weight: 800;
}

.booking-form input::placeholder,
.booking-form textarea::placeholder {
  color: rgba(185, 179, 168, 0.7);
}

.booking-form textarea {
  min-height: 94px;
  resize: vertical;
}

.form-options,
.additional-options {
  margin: 0;
  padding: 0;
  border: 0;
}

.form-options legend {
  margin-bottom: 8px;
  padding: 0;
}

.additional-options {
  display: grid;
  gap: 8px;
}

.additional-options summary {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 12px;
  border: 1px solid var(--secondary);
  border-radius: 14px;
  background: var(--sub-bg);
  color: var(--accent);
  cursor: pointer;
  font-size: 13px;
  font-weight: 950;
  line-height: 1.45;
}

.additional-options summary::-webkit-details-marker {
  display: none;
}

.additional-options-body {
  display: grid;
  gap: 8px;
}

.check-option {
  display: flex;
  align-items: center;
  gap: 9px;
  min-height: 42px;
  padding: 9px 11px;
  border: 1px solid var(--secondary);
  border-radius: 14px;
  background: var(--sub-bg);
  color: var(--text);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.45;
}

.check-option input {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--cta);
}

.radio-options {
  grid-template-columns: 1fr 1fr;
}

.radio-options legend {
  grid-column: 1 / -1;
}

.booking-submit {
  width: 100%;
}

.mood-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.timeline {
  display: grid;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--secondary);
  border-radius: 24px;
  background: var(--surface);
  box-shadow: var(--soft-shadow);
}

.timeline-row {
  display: grid;
  grid-template-columns: 58px repeat(3, 1fr);
  align-items: center;
  gap: 7px;
  min-height: 44px;
}

.timeline-row strong {
  color: var(--main);
  font-size: 14px;
  font-weight: 950;
}

.timeline-row span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  min-height: 34px;
  border-radius: 999px;
  background: var(--sub-bg);
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
}

.timeline-row .ok {
  background: var(--cta);
  color: var(--text);
}

.rating-card {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 28px;
  padding: 14px;
  border: 1px solid rgba(200, 169, 107, 0.28);
  border-radius: 24px;
  background: var(--surface);
  color: var(--main);
}

.rating-card > span {
  display: grid;
  flex: 0 0 64px;
  height: 58px;
  place-items: center;
  border-radius: 18px;
  background: var(--accent);
  color: #1F1F1F;
  font-size: 22px;
  font-weight: 950;
}

.rating-card strong {
  display: block;
  margin-bottom: 4px;
  font-size: 16px;
  font-weight: 950;
}

.rating-card p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.55;
}

.reviews {
  display: grid;
  gap: 9px;
  margin-top: 10px;
}

.review-more {
  display: grid;
  gap: 9px;
}

.review-more[hidden] {
  display: none;
}

.reviews article {
  padding: 14px;
  border: 1px solid var(--secondary);
  border-radius: 20px;
  background: var(--surface);
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.65;
}

.reviews span {
  display: inline;
  margin-left: 0;
  color: var(--accent);
  font-size: 11px;
  font-weight: 850;
}

.review-toggle {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--accent);
  border-radius: 999px;
  background: transparent;
  color: var(--accent);
  font-size: 12px;
  font-weight: 950;
}

.course-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 9px;
}

.course {
  position: relative;
  display: grid;
  align-content: center;
  min-height: 116px;
  padding: 10px;
  border: 1px solid var(--secondary);
  border-radius: 22px;
  background: var(--surface);
  color: var(--main);
  text-align: center;
}

.course.active {
  border-color: var(--accent);
  background: var(--accent);
  color: #1F1F1F;
}

.course em {
  position: absolute;
  top: 8px;
  left: 50%;
  padding: 3px 7px;
  border-radius: 999px;
  background: var(--cta);
  color: var(--text);
  font-size: 8px;
  font-style: normal;
  font-weight: 950;
  transform: translateX(-50%);
}

.course span {
  font-size: 12px;
  font-weight: 950;
}

.course strong {
  margin-top: 6px;
  font-size: 18px;
  font-weight: 950;
}

.system-list {
  display: grid;
  gap: 8px;
  margin: 12px 0 0;
  padding: 0;
  list-style: none;
}

.system-list li {
  padding: 12px 14px;
  border: 1px solid var(--secondary);
  border-radius: 18px;
  background: rgba(48, 48, 48, 0.94);
  color: var(--text);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.55;
}

.system-detail-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 46px;
  margin-top: 10px;
  border: 1px solid rgba(200, 169, 107, 0.42);
  border-radius: 999px;
  background: rgba(200, 169, 107, 0.1);
  color: var(--accent);
  font-size: 12px;
  font-weight: 950;
  text-decoration: none;
}

.guide-page {
  padding-top: 16px;
}

.guide-card-list {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.guide-card {
  padding: 15px;
  border: 1px solid var(--secondary);
  border-radius: 20px;
  background: rgba(48, 48, 48, 0.94);
  box-shadow: var(--soft-shadow);
}

.guide-card h2 {
  margin-bottom: 10px;
  color: var(--accent);
  font-size: 18px;
  font-weight: 950;
}

.guide-card ul {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.guide-card li {
  position: relative;
  padding-left: 16px;
  color: var(--text);
  font-size: 13px;
  font-weight: 760;
  line-height: 1.65;
}

.guide-card li::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  content: "";
}

.guide-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 9px;
  margin-top: 16px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 14px;
  margin: 20px 0 2px;
}

.footer-links a {
  color: var(--muted);
  font-size: 11px;
  font-weight: 850;
  text-decoration: none;
}

.footer-links a:hover {
  color: var(--accent);
}

.bottom-nav {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 35;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: end;
  width: min(100%, 430px);
  min-height: 72px;
  margin: 0 auto;
  padding: 10px 12px max(10px, env(safe-area-inset-bottom));
  border-top: 1px solid rgba(200, 169, 107, 0.2);
  background: rgba(31, 31, 31, 0.94);
  backdrop-filter: blur(18px);
  box-shadow: 0 -18px 40px rgba(0, 0, 0, 0.28);
}

.nav-link,
.now-btn {
  display: grid;
  place-items: center;
  min-height: 44px;
  background: transparent;
  color: var(--muted);
  font-size: 10px;
  font-weight: 950;
  text-decoration: none;
}

.nav-link svg {
  margin-bottom: 4px;
}

.nav-link.active {
  color: var(--accent);
}

.now-btn {
  justify-self: center;
  width: 64px;
  height: 64px;
  margin-bottom: 12px;
  border-radius: 50%;
  background: var(--cta);
  color: var(--text);
  box-shadow: 0 12px 26px rgba(46, 158, 103, 0.35);
}

.therapist-detail-page {
  padding-top: 16px;
}

.detail-back {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  margin-bottom: 10px;
  color: var(--main);
  font-size: 12px;
  font-weight: 950;
  text-decoration: none;
}

.therapist-photo {
  overflow: hidden;
  aspect-ratio: 3 / 4;
  border-radius: 24px;
  background: var(--secondary);
  box-shadow: var(--shadow);
}

.therapist-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.therapist-head {
  margin-top: 18px;
}

.therapist-head h1 {
  margin-bottom: 9px;
}

.profile-facts {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 9px;
  margin: 15px 0 0;
}

.profile-facts div,
.profile-block {
  border: 1px solid var(--secondary);
  border-radius: 20px;
  background: rgba(48, 48, 48, 0.94);
  box-shadow: var(--soft-shadow);
}

.profile-facts div {
  padding: 12px;
}

.profile-facts dt {
  color: var(--muted);
  font-size: 11px;
  font-weight: 900;
}

.profile-facts dd {
  margin: 4px 0 0;
  color: var(--main);
  font-size: 17px;
  font-weight: 950;
}

.profile-block {
  margin-top: 12px;
  padding: 14px;
}

.profile-block h2 {
  margin-bottom: 8px;
  color: var(--main);
  font-size: 16px;
  font-weight: 950;
}

.profile-block p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.75;
}

.manager-comment {
  border-color: rgba(200, 169, 107, 0.42);
  background: var(--sub-bg);
  color: var(--main);
}

.manager-comment h2,
.manager-comment p {
  color: var(--main);
}

.sns-link {
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 0 13px;
  border-radius: 999px;
  border: 1px solid rgba(200, 169, 107, 0.42);
  background: var(--sub-bg);
  color: var(--accent);
  font-size: 13px;
  font-weight: 950;
  text-decoration: none;
}

.profile-review-list {
  display: grid;
  gap: 8px;
}

.profile-review-list article {
  padding: 12px;
  border-radius: 16px;
  background: var(--sub-bg);
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.65;
}

.overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: rgba(0, 0, 0, 0.52);
  opacity: 0;
  transition: opacity 210ms ease;
}

.overlay.open {
  opacity: 1;
}

.sheet {
  position: fixed;
  right: 50%;
  bottom: 0;
  z-index: 45;
  width: min(100%, 430px);
  max-height: 86vh;
  overflow-y: auto;
  padding: 9px 16px max(18px, env(safe-area-inset-bottom));
  border-radius: 28px 28px 0 0;
  background: var(--bg);
  box-shadow: var(--shadow);
  transform: translate(50%, 110%);
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
}

.sheet.open {
  transform: translate(50%, 0);
}

.handle {
  width: 42px;
  height: 5px;
  margin: 0 auto 12px;
  border-radius: 999px;
  background: var(--secondary);
}

.sheet-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.sheet-head h2 {
  margin: 0;
  color: var(--main);
  font-size: 22px;
  font-weight: 950;
}

.booking-box,
.booking-success,
.list-empty,
.list-card {
  padding: 14px;
  border: 1px solid var(--secondary);
  border-radius: 22px;
  background: var(--surface);
}

.booking-box {
  display: grid;
  gap: 12px;
}

.booking-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 850;
}

.booking-line strong {
  color: var(--main);
}

.choice-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.choice {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid var(--secondary);
  border-radius: 999px;
  background: var(--surface);
  color: var(--main);
  font-size: 12px;
  font-weight: 900;
}

.choice.active {
  border-color: var(--accent);
  background: var(--accent);
  color: #1F1F1F;
}

.sheet .primary {
  width: 100%;
  margin-top: 14px;
}

.booking-success {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 26px 18px;
  text-align: center;
}

.check {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: var(--cta);
  position: relative;
}

.check::after {
  position: absolute;
  top: 22px;
  left: 17px;
  width: 25px;
  height: 13px;
  border-bottom: 4px solid var(--main);
  border-left: 4px solid var(--main);
  content: "";
  transform: rotate(-45deg) scale(0);
  animation: check-in 420ms 110ms cubic-bezier(0.2, 1.4, 0.3, 1) forwards;
}

@keyframes check-in {
  to {
    transform: rotate(-45deg) scale(1);
  }
}

.list-wrap {
  display: grid;
  gap: 10px;
}

.list-empty {
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.7;
}

.list-card {
  display: grid;
  grid-template-columns: 70px 1fr;
  gap: 11px;
  align-items: center;
}

.list-card img {
  width: 70px;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 15px;
}

.list-card strong {
  display: block;
  color: var(--main);
  font-size: 16px;
  font-weight: 950;
}

.list-card span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.profile-modal {
  position: fixed;
  inset: 0;
  z-index: 50;
  display: grid;
  place-items: end center;
  background: rgba(0, 0, 0, 0.56);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

.profile-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.profile {
  position: relative;
  width: min(100%, 430px);
  max-height: 100vh;
  overflow-y: auto;
  padding-bottom: 94px;
  border-radius: 30px 30px 0 0;
  background: var(--bg);
  transform: translateY(18px);
  transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
}

.profile-modal.open .profile {
  transform: translateY(0);
}

.profile-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 4;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border-radius: 50%;
  background: rgba(31, 31, 31, 0.9);
  color: var(--accent);
}

.profile-hero {
  position: relative;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 0 0 28px 28px;
}

.profile-status {
  position: absolute;
  bottom: 16px;
  left: 16px;
  z-index: 2;
  padding: 8px 11px;
  border-radius: 999px;
  background: rgba(31, 31, 31, 0.88);
  color: var(--accent);
  font-size: 11px;
  font-weight: 950;
}

.profile-body {
  padding: 18px 16px 0;
}

.profile-name-row {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 16px;
}

.profile-name-row h2 {
  margin: 0;
  color: var(--main);
  font-size: 31px;
  font-weight: 950;
}

.profile-name-row h2 span {
  margin-left: 7px;
  color: var(--muted);
  font-size: 16px;
}

.profile-rating {
  color: var(--main);
  font-size: 13px;
  font-weight: 950;
  text-align: right;
}

.intro {
  margin: 13px 0 17px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 760;
  line-height: 1.8;
}

.profile-gallery {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  margin-right: -16px;
  padding-right: 16px;
  scrollbar-width: none;
}

.gallery-item {
  flex: 0 0 112px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 18px;
  background: var(--secondary);
}

.style-list,
.profile-reviews {
  display: grid;
  gap: 8px;
}

.detail {
  margin-top: 18px;
}

.detail h3 {
  margin-bottom: 10px;
  color: var(--main);
  font-size: 15px;
  font-weight: 950;
}

.style-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 32px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
}

.dots {
  display: flex;
  gap: 4px;
}

.dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--secondary);
}

.dot.on {
  background: var(--accent);
}

.profile-reviews article {
  padding: 13px;
  border: 1px solid var(--secondary);
  border-radius: 18px;
  background: var(--surface);
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.6;
}

.sticky-profile-cta {
  position: sticky;
  bottom: 0;
  z-index: 2;
  padding: 13px 16px max(13px, env(safe-area-inset-bottom));
  background: linear-gradient(to top, var(--bg) 72%, rgba(31, 31, 31, 0));
}

.sticky-profile-cta .primary {
  width: 100%;
}

.kicker,
h1,
h2,
h3,
.quick-chip,
.ghost-btn,
.mood-chip,
.rail-btn,
.available-tag,
.featured-copy h3,
.meta,
.tag,
.primary,
.secondary,
.match-copy strong,
.match-copy span,
.compact-primary,
.form-field span,
.form-options legend,
.booking-form input[type="datetime-local"],
.booking-form input[type="email"],
.booking-form input[type="tel"],
.booking-form select,
.check-option,
.additional-options summary,
.required-badge,
.timeline-row strong,
.timeline-row span,
.rating-card > span,
.review-toggle,
.course,
.system-list li,
.system-detail-link,
.guide-card h2,
.guide-actions .primary,
.guide-actions .secondary,
.footer-links a,
.nav-link,
.now-btn,
.detail-back,
.profile-facts dt,
.profile-facts dd,
.profile-block h2,
.sns-link,
.profile-status,
.profile-name-row h2,
.profile-rating,
.style-row {
  font-family: var(--font-din);
}

@media (min-width: 431px) {
  body {
    padding: 20px 0;
  }

  .phone {
    min-height: calc(100vh - 40px);
    border-radius: 30px;
  }

  .topbar {
    border-radius: 30px 30px 0 0;
  }
}

@media (max-width: 374px) {
  main {
    padding-right: 13px;
    padding-left: 13px;
  }

  h1 {
    font-size: 30px;
  }

  .featured-copy {
    padding: 16px;
  }

  .featured-actions {
    grid-template-columns: 1fr;
  }
}
