.region-brief {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  margin-bottom: 26px;
}
.region-brief p {
  margin: 0 0 10px;
  font-size: 0.9375rem;
  line-height: 1.8;
  color: var(--text-secondary);
}
.region-brief p:last-child {
  margin-bottom: 0;
}
.region-brief b {
  color: var(--text);
  font-weight: 600;
}
.filter-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 26px;
}
.filter-tabs label {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--card-bg);
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.filter-tabs label:hover {
  border-color: var(--accent);
  color: var(--accent);
}
#f-all:checked ~ .filter-tabs label[for="f-all"],
#f-swedish:checked ~ .filter-tabs label[for="f-swedish"],
#f-aroma:checked ~ .filter-tabs label[for="f-aroma"],
#f-thai:checked ~ .filter-tabs label[for="f-thai"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
#f-all:focus-visible ~ .filter-tabs label[for="f-all"],
#f-swedish:focus-visible ~ .filter-tabs label[for="f-swedish"],
#f-aroma:focus-visible ~ .filter-tabs label[for="f-aroma"],
#f-thai:focus-visible ~ .filter-tabs label[for="f-thai"] {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
#f-swedish:checked ~ .shop-scope .shop-item:not(.t-swedish),
#f-aroma:checked ~ .shop-scope .shop-item:not(.t-aroma),
#f-thai:checked ~ .shop-scope .shop-item:not(.t-thai) {
  display: none;
}
#f-swedish:checked ~ .shop-scope .shop-group:not(:has(.t-swedish)),
#f-aroma:checked ~ .shop-scope .shop-group:not(:has(.t-aroma)),
#f-thai:checked ~ .shop-scope .shop-group:not(:has(.t-thai)) {
  display: none;
}
#f-swedish:checked ~ .shop-scope .more-link,
#f-aroma:checked ~ .shop-scope .more-link,
#f-thai:checked ~ .shop-scope .more-link {
  display: none;
}
.group-count b {
  display: none;
}
#f-all:checked ~ .shop-scope .group-count .c-all,
#f-swedish:checked ~ .shop-scope .group-count .c-swedish,
#f-aroma:checked ~ .shop-scope .group-count .c-aroma,
#f-thai:checked ~ .shop-scope .group-count .c-thai {
  display: inline;
}
.shop-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 34px;
}
.shop-group:last-child {
  margin-bottom: 0;
}
.shop-group h3 {
  display: flex;
  align-items: baseline;
  gap: 8px;
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 6px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
}
.group-count {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
}
.group-sort {
  margin-left: auto;
  font-size: 0.8125rem;
  font-weight: 400;
  color: var(--text-tertiary);
}
.shop-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.shop-item {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
}
.shop-item:last-child {
  border-bottom: none;
}
.shop-thumb {
  flex-shrink: 0;
  display: block;
  width: 128px;
  height: 96px;
  border-radius: var(--radius-md);
  background: var(--bg);
  border: 1px solid var(--border);
  overflow: hidden;
}
.shop-thumb img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.shop-body {
  flex: 1;
  min-width: 0;
}
.shop-title-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
}
.shop-name {
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 7px;
}
.shop-title-row .shop-name {
  margin-bottom: 0;
}
.shop-name a:hover {
  color: var(--accent);
}
.shop-badge {
  flex-shrink: 0;
  padding: 2px 9px;
  border-radius: var(--radius-pill);
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-tertiary);
  font-size: 0.75rem;
  font-weight: 600;
}
.shop-themes {
  margin: 0 0 7px;
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-secondary);
  word-break: keep-all;
}
.shop-themes a {
  color: var(--accent-hover);
  font-weight: 600;
}
.shop-themes a:hover {
  text-decoration: underline;
}
.shop-themes .sep {
  color: var(--text-tertiary);
  margin: 0 5px;
}
.shop-meta {
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--text-tertiary);
  word-break: keep-all;
}
.shop-meta .sep {
  color: var(--text-tertiary);
  margin: 0 5px;
}
.shop-meta .nw {
  white-space: nowrap;
}
.shop-meta + .shop-meta {
  margin-top: 1px;
}
.shop-price {
  color: var(--text);
  font-weight: 600;
}
.more-link {
  display: inline-flex;
  align-items: center;
  align-self: flex-end;
  gap: 7px;
  margin-top: 16px;
  padding: 9px 17px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--bg);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
  transition: border-color 0.15s ease, color 0.15s ease;
}
.more-link:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.more-link .svgi {
  width: 10px;
  height: 10px;
}
.sort-note {
  margin: 0 0 18px;
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}
@media (max-width: 600px) {
  .shop-item {
    gap: 12px;
    padding: 14px 0;
  }
  .shop-thumb {
    width: 104px;
    height: 78px;
  }
  .more-link {
    align-self: stretch;
    justify-content: center;
  }
  .shop-name {
    font-size: 0.9375rem;
  }
  .shop-themes {
    font-size: 0.8125rem;
  }
  .region-brief {
    padding: 16px 16px;
  }
  .region-brief p {
    font-size: 0.875rem;
  }
}
.drawer-group > summary > a[aria-current="page"],
.drawer-group > summary > .np[aria-current="page"] {
  color: var(--accent-hover);
  font-weight: 700;
}
.section-head {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 34px 0 16px;
}
.section-head:first-of-type {
  margin-top: 0;
}
.shop-region {
  color: var(--text-tertiary);
}
.shop-doc .shop-head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 8px;
}
.shop-doc .shop-head h1 {
  margin: 0;
}
.shop-summary {
  margin: 0 0 6px;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--text-secondary);
  word-break: keep-all;
}
.shop-summary a {
  color: var(--accent-hover);
  font-weight: 600;
}
.shop-summary a:hover {
  text-decoration: underline;
}
.shop-summary .sep {
  color: var(--text-tertiary);
  margin: 0 5px;
}
.shop-summary .div {
  color: var(--text-tertiary);
  margin: 0 10px;
}
.shop-gallery {
  margin: 22px 0 0;
}
.gal-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.shop-gallery img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  background: var(--bg);
}
.sg-main img {
  aspect-ratio: 16 / 9;
}
.gal-input ~ .sg-main img {
  display: none;
}
#ph1:checked ~ .sg-main .gm1,
#ph2:checked ~ .sg-main .gm2,
#ph3:checked ~ .sg-main .gm3,
#ph4:checked ~ .sg-main .gm4,
#ph5:checked ~ .sg-main .gm5,
#ph6:checked ~ .sg-main .gm6 {
  display: block;
}
.sg-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 8px;
}
.sg-thumbs label {
  display: block;
  cursor: pointer;
  border-radius: var(--radius-md);
  outline: 2px solid transparent;
  outline-offset: 1px;
  transition: outline-color 0.15s ease;
}
.sg-thumbs img {
  aspect-ratio: 4 / 3;
}
.sg-empty {
  aspect-ratio: 4 / 3;
  border: 1px dashed var(--border);
  border-radius: var(--radius-md);
  background: var(--bg);
}
#ph1:checked ~ .sg-thumbs label[for="ph1"],
#ph2:checked ~ .sg-thumbs label[for="ph2"],
#ph3:checked ~ .sg-thumbs label[for="ph3"],
#ph4:checked ~ .sg-thumbs label[for="ph4"],
#ph5:checked ~ .sg-thumbs label[for="ph5"],
#ph6:checked ~ .sg-thumbs label[for="ph6"] {
  outline-color: var(--accent);
}
#ph1:focus-visible ~ .sg-thumbs label[for="ph1"],
#ph2:focus-visible ~ .sg-thumbs label[for="ph2"],
#ph3:focus-visible ~ .sg-thumbs label[for="ph3"],
#ph4:focus-visible ~ .sg-thumbs label[for="ph4"],
#ph5:focus-visible ~ .sg-thumbs label[for="ph5"],
#ph6:focus-visible ~ .sg-thumbs label[for="ph6"] {
  outline-color: var(--accent);
  outline-offset: 3px;
}
.shop-doc .section-head:first-of-type {
  margin-top: 34px;
}
.course-block {
  margin-bottom: 24px;
}
.course-block:last-of-type {
  margin-bottom: 0;
}
.course-block h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 10px;
}
.table-wrap {
  overflow-x: auto;
}
.course-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}
.course-table th {
  text-align: left;
  padding: 9px 10px;
  border-bottom: 1px solid var(--border);
  background: var(--bg);
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--text-tertiary);
  white-space: nowrap;
}
.course-table td {
  padding: 11px 10px;
  border-bottom: 1px solid var(--border);
  line-height: 1.6;
  vertical-align: top;
}
.course-table .c-name {
  font-weight: 600;
  color: var(--text);
  white-space: nowrap;
}
.course-table .c-desc {
  color: var(--text-secondary);
  word-break: keep-all;
}
.course-table th:last-child {
  text-align: right;
}
.course-table .c-price {
  text-align: right;
  white-space: nowrap;
  font-weight: 600;
  color: var(--text);
}
.course-table .c-price .pr {
  display: block;
}
.course-table .c-price i {
  margin-right: 7px;
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--text-tertiary);
}
.review-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid var(--border);
}
.review-list li {
  padding: 13px 2px;
  border-bottom: 1px solid var(--border);
}
.review-title {
  margin: 0 0 4px;
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1.6;
  color: var(--text);
}
.review-meta {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}
.review-meta .sep {
  margin: 0 5px;
}
.nearby-head {
  font-size: 1rem;
  font-weight: 700;
  margin: 26px 0 2px;
}
@media (max-width: 600px) {
  .sg-thumbs {
    gap: 6px;
  }
  .course-table {
    font-size: 0.875rem;
  }
}
.shop-actions {
  display: none;
}
@media (max-width: 600px) {
  body:has(.shop-actions) {
    padding-bottom: 74px;
  }
  .shop-actions {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 30;
    display: flex;
    gap: 8px;
    padding: 10px 16px;
    padding-bottom: calc(10px + env(safe-area-inset-bottom));
    background: var(--card-bg);
    border-top: 1px solid var(--border);
  }
  .shop-actions a,
  .shop-actions label {
    flex: 1;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    height: 46px;
    border-radius: var(--radius-pill);
    font-size: 0.9375rem;
    font-weight: 700;
  }
  .shop-actions .svgi {
    width: 14px;
    height: 14px;
  }
  .sa-call,
  .sa-sms {
    background: var(--card-bg);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-weight: 600;
  }
  .sa-call .svgi,
  .sa-sms .svgi {
    color: var(--accent);
  }
  .sa-more {
    flex: 0 1 auto;
    padding: 0 14px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 600;
  }
  .sa-more .svgi {
    width: 11px;
    height: 11px;
  }
}
.analysis-note {
  list-style: none;
  margin: 14px 0 0;
  padding: 0;
  font-size: 0.8125rem;
  line-height: 1.7;
  color: var(--text-tertiary);
}
.analysis-note li {
  position: relative;
  padding-left: 12px;
}
.analysis-note li + li {
  margin-top: 3px;
}
.analysis-note li::before {
  content: "\2022";
  position: absolute;
  left: 0;
  top: 0;
}
.analysis-note a {
  color: var(--accent-hover);
  font-weight: 600;
}
.analysis-note a:hover {
  text-decoration: underline;
}
.section-head-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin: 34px 0 16px;
}
.sh-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
}
.section-source {
  font-size: 0.8125rem;
  color: var(--text-tertiary);
}
.shop-doc .more-link {
  display: flex;
  width: fit-content;
  margin-left: auto;
}
@media (max-width: 600px) {
  .shop-doc .more-link {
    width: auto;
  }
}
.sheet-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.sms-sheet {
  display: none;
}
.sheet-input:checked ~ .sms-sheet {
  display: block;
}
.sms-backdrop {
  position: fixed;
  inset: 0;
  z-index: 35;
  background: rgba(17, 24, 28, 0.45);
}
.sms-panel {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 36;
  padding: 20px 16px;
  padding-bottom: calc(20px + env(safe-area-inset-bottom));
  background: var(--card-bg);
  border-top-left-radius: 18px;
  border-top-right-radius: 18px;
}
.sms-title {
  margin: 0 0 4px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--text);
}
.sms-desc {
  margin: 0 0 16px;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: var(--text-tertiary);
}
.sms-list {
  list-style: none;
  margin: 0 0 14px;
  padding: 0;
}
.sms-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.sms-list li:last-child {
  border-bottom: none;
}
.sms-list p {
  flex: 1;
  min-width: 0;
  margin: 0;
  font-size: 0.9375rem;
  line-height: 1.5;
  color: var(--text);
  word-break: keep-all;
}
.sms-pick {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 36px;
  padding: 0 18px;
  border: 1px solid var(--accent);
  border-radius: var(--radius-pill);
  background: var(--card-bg);
  color: var(--accent);
  font-size: 0.875rem;
  font-weight: 700;
}
.sms-close {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  border-radius: var(--radius-pill);
  background: var(--bg);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.9375rem;
  font-weight: 700;
  cursor: pointer;
}
.sheet-input:focus-visible ~ .shop-actions .sa-sms {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}
.search-box {
  margin: 0 0 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border);
}
.search-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 30px;
}
.search-tabs a {
  display: inline-block;
  padding: 8px 16px;
  border: 1px solid var(--border);
  border-radius: var(--radius-pill);
  background: var(--card-bg);
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 600;
  transition: border-color 0.15s ease, color 0.15s ease;
}
.search-tabs a:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.search-tabs a[aria-current="page"] {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.result-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin: 36px 0 14px;
}
.result-head:first-of-type {
  margin-top: 0;
}
.result-head h2 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
}
.result-more {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-secondary);
}
.result-more:hover {
  color: var(--accent);
}
.doc-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.doc-list li {
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
}
.doc-list li:last-child {
  border-bottom: none;
}
.doc-cat {
  display: block;
  margin-bottom: 5px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-tertiary);
}
.doc-title {
  margin: 0 0 5px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
}
.doc-title a {
  color: var(--text);
}
.doc-title a:hover {
  color: var(--accent);
}
.doc-desc {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  margin: 0;
  min-height: 3.4em;
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--text-secondary);
  word-break: keep-all;
}
.shop-region.strong {
  color: var(--text-secondary);
  font-weight: 600;
}
.shop-region .rsep {
  margin: 0 4px;
  font-size: 0.6875rem;
  color: var(--text-tertiary);
  opacity: 0.55;
}
.shop-region a {
  padding: 0 1px;
  color: inherit;
}
.shop-region a:hover {
  color: var(--accent);
  text-decoration: underline;
}
.pager {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 32px;
}
.pager a,
.pager span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 38px;
  padding: 0 10px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--card-bg);
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 600;
}
.pager a:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.pager .current {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}
.search-empty {
  text-align: center;
  padding: 76px 0 96px;
}
.search-empty h2 {
  margin: 0 0 14px;
  font-size: 1.375rem;
  font-weight: 700;
  line-height: 1.4;
  word-break: keep-all;
}
.search-empty .lead {
  margin-left: auto;
  margin-right: auto;
  max-width: 480px;
  word-break: keep-all;
}
@media (max-width: 600px) {
  .search-box {
    margin-bottom: 20px;
    padding-bottom: 20px;
  }
  .search-empty {
    padding: 52px 0 64px;
  }
  .search-empty h2 {
    font-size: 1.25rem;
  }
  .doc-desc {
    font-size: 0.875rem;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    min-height: 5.1em;
  }
  .result-head h2 {
    font-size: 1.125rem;
  }
}
