:root {
  color-scheme: light;
  --ink: #1c2320;
  --muted: #68736e;
  --paper: #f5fbf7;
  --surface: #ffffff;
  --soft: #f0f8f3;
  --line: rgba(45, 56, 51, 0.12);
  --green: #0f5b46;
  --deep-green: #073d31;
  --gold: #c7983d;
  --red: #9a2f2b;
  --shadow: 0 18px 42px rgba(12, 44, 34, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--paper);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans",
    "Yu Gothic", "Meiryo", sans-serif;
  background:
    radial-gradient(circle at 16% 0%, rgba(15, 91, 70, 0.15), transparent 28rem),
    linear-gradient(180deg, #ffffff 0%, #eef8f1 100%);
}

a {
  color: inherit;
}

.page-shell {
  width: min(100%, 560px);
  margin: 0 auto;
  padding: max(18px, env(safe-area-inset-top)) 18px max(28px, env(safe-area-inset-bottom));
}

.hero {
  padding: 28px 0 22px;
}

.shop-name {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0;
}

.shop-name img {
  display: block;
  width: min(100%, 360px);
  height: auto;
}

.compact-hero .shop-name img {
  width: min(100%, 300px);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0;
  color: var(--deep-green);
  font-size: 32px;
  line-height: 1.18;
  letter-spacing: 0;
}

h2 {
  margin: 0;
  color: var(--deep-green);
  font-size: 20px;
  line-height: 1.3;
  letter-spacing: 0;
}

h3 {
  margin: 0;
  color: var(--deep-green);
  font-size: 16px;
  line-height: 1.35;
}

.title-row {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.title-row::after {
  content: "";
  grid-column: 1 / -1;
  width: min(190px, 48vw);
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--gold), var(--green), transparent);
}

.trophy-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 54px;
  height: 58px;
  filter: drop-shadow(0 12px 14px rgba(7, 61, 49, 0.16));
}

.trophy-icon::before,
.trophy-icon::after {
  content: "";
  position: absolute;
  top: 14px;
  width: 16px;
  height: 18px;
  border: 4px solid #d2a038;
  border-radius: 999px;
  z-index: 0;
}

.trophy-icon::before {
  left: 1px;
  border-right: 0;
}

.trophy-icon::after {
  right: 1px;
  border-left: 0;
}

.trophy-cup {
  position: absolute;
  top: 8px;
  width: 34px;
  height: 31px;
  border-radius: 5px 5px 15px 15px;
  background:
    radial-gradient(circle at 28% 22%, rgba(255, 255, 255, 0.75) 0 12%, transparent 13%),
    linear-gradient(145deg, #ffe49a 0%, #d3a13a 52%, #9a6f1b 100%);
  z-index: 1;
}

.trophy-cup::after {
  content: "1";
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #ffffff;
  font-size: 17px;
  font-weight: 900;
  text-shadow: 0 1px 2px rgba(91, 62, 9, 0.38);
}

.trophy-stem {
  position: absolute;
  top: 37px;
  width: 12px;
  height: 10px;
  border-radius: 2px;
  background: linear-gradient(180deg, #c8942d, #806022);
}

.trophy-base {
  position: absolute;
  bottom: 5px;
  width: 34px;
  height: 11px;
  border-radius: 999px 999px 5px 5px;
  background: linear-gradient(145deg, #0f5b46, #073d31);
}

.updated-at {
  margin: 8px 0 0;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.5;
}

.ranking-month-switch {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  margin-top: 10px;
}

.ranking-month-switch label {
  color: var(--deep-green);
  font-size: 13px;
  font-weight: 900;
}

.ranking-month-switch select {
  width: 100%;
  min-height: 40px;
  border: 1px solid rgba(15, 91, 70, 0.2);
  border-radius: 8px;
  padding: 8px 34px 8px 12px;
  color: var(--deep-green);
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  background: #ffffff;
}

.ranking-conditions {
  max-width: 500px;
  margin: 8px 0 0;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.6;
}

.quick-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  margin-top: 16px;
}

.quick-actions a {
  display: grid;
  place-items: center;
  min-height: 42px;
  border: 1px solid rgba(15, 91, 70, 0.18);
  border-radius: 8px;
  color: var(--deep-green);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.74);
  transition:
    transform 0.15s ease,
    border-color 0.15s ease,
    background 0.15s ease,
    box-shadow 0.15s ease;
}

.quick-actions a:active {
  transform: translateY(1px) scale(0.98);
  border-color: rgba(15, 91, 70, 0.42);
  background: #ffffff;
  box-shadow: inset 0 2px 5px rgba(7, 61, 49, 0.08);
}

.quick-actions a:focus-visible {
  outline: 3px solid rgba(199, 152, 61, 0.42);
  outline-offset: 2px;
}

.language-switch {
  display: flex;
  justify-content: flex-end;
  gap: 6px;
  margin-bottom: 10px;
}

.language-switch a,
.language-switch span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid rgba(15, 91, 70, 0.18);
  border-radius: 999px;
  color: var(--deep-green);
  font-size: 13px;
  font-weight: 900;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.82);
}

.language-switch span {
  color: #ffffff;
  background: var(--deep-green);
}

.wechat-intro,
.ranking-section,
.content-section,
.contact-panel {
  margin-top: 18px;
}

.wechat-intro,
.ranking-section,
.content-section,
.contact-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow);
}

.wechat-intro {
  padding: 18px;
  background:
    linear-gradient(135deg, rgba(15, 91, 70, 0.1), rgba(255, 255, 255, 0.94)),
    var(--surface);
}

.wechat-intro p:last-child,
.content-section p,
.contact-panel p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.75;
}

.eyebrow {
  margin: 0 0 8px;
  color: var(--red);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.ranking-section {
  padding: 18px;
}

.content-section {
  padding: 18px;
}

.lead {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.7;
}

.area-note {
  position: relative;
  margin: 14px 0 16px;
  padding: 14px 15px 14px 46px;
  border: 1px solid rgba(15, 91, 70, 0.2);
  border-radius: 8px;
  color: #0b3f32;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.7;
  background:
    linear-gradient(135deg, rgba(15, 91, 70, 0.1), rgba(255, 255, 255, 0.95) 56%),
    #ffffff;
  box-shadow: 0 12px 24px rgba(7, 61, 49, 0.1);
}

.area-note::before {
  content: "AREA";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 7px;
  font-weight: 950;
  letter-spacing: 0;
  background: linear-gradient(135deg, var(--green), var(--deep-green));
  box-shadow: 0 6px 12px rgba(7, 61, 49, 0.18);
}

.hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}

.hero-tags span,
.mini-label {
  border: 1px solid rgba(15, 91, 70, 0.18);
  border-radius: 999px;
  padding: 5px 10px;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
  background: rgba(255, 255, 255, 0.76);
}

.hero-actions,
.action-row,
.phone-grid,
.sticky-contact {
  display: grid;
  gap: 10px;
  margin-top: 16px;
}

.hero-actions,
.action-row,
.phone-grid,
.sticky-contact {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.primary-action,
.secondary-action {
  display: grid;
  place-items: center;
  min-height: 46px;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 15px;
  font-weight: 900;
  line-height: 1.35;
  text-align: center;
  text-decoration: none;
}

button.primary-action,
button.secondary-action {
  appearance: none;
  font: inherit;
  cursor: pointer;
}

.primary-action {
  border: 1px solid var(--green);
  color: #ffffff;
  background: linear-gradient(145deg, #187157, var(--green));
  box-shadow: 0 12px 20px rgba(15, 91, 70, 0.16);
}

.secondary-action {
  border: 1px solid rgba(15, 91, 70, 0.2);
  color: var(--deep-green);
  background: #ffffff;
}

.block-action {
  width: 100%;
  margin-top: 14px;
}

.price-grid {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.price-title-row,
.access-title-row,
.contact-title-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.price-mark,
.access-mark,
.contact-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.86);
  border-radius: 14px;
  color: #ffffff;
  font-size: 24px;
  font-weight: 900;
  box-shadow: 0 10px 18px rgba(15, 91, 70, 0.14);
}

.price-mark {
  background:
    linear-gradient(135deg, var(--gold), #d7a742);
}

.access-mark {
  background:
    linear-gradient(135deg, var(--green), #2f9474);
}

.contact-mark {
  background:
    linear-gradient(135deg, #1c8b6d, #20a47e);
}

.price-card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.price-card.featured {
  background: linear-gradient(135deg, #fffaf0, #ffffff);
  border-color: rgba(199, 152, 61, 0.32);
}

.campaign-section {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 0%, rgba(199, 152, 61, 0.22), transparent 140px),
    linear-gradient(135deg, rgba(154, 47, 43, 0.07), rgba(255, 255, 255, 0.95)),
    var(--surface);
}

.campaign-section::after {
  content: "";
  position: absolute;
  right: -34px;
  top: -34px;
  width: 108px;
  height: 108px;
  border: 1px solid rgba(199, 152, 61, 0.28);
  border-radius: 50%;
  pointer-events: none;
}

.campaign-title-row {
  position: relative;
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  z-index: 1;
}

.campaign-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.86);
  border-radius: 14px;
  color: #ffffff;
  font-size: 24px;
  font-weight: 900;
  background:
    linear-gradient(135deg, var(--red), #c45d45);
  box-shadow: 0 10px 18px rgba(154, 47, 43, 0.18);
}

.campaign-grid {
  position: relative;
  display: grid;
  gap: 12px;
  margin-top: 14px;
  z-index: 1;
}

.campaign-card {
  position: relative;
  padding: 14px;
  border: 1px solid rgba(15, 91, 70, 0.12);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(7, 61, 49, 0.08);
}

.campaign-card.featured {
  border-color: rgba(199, 152, 61, 0.36);
  background:
    linear-gradient(135deg, rgba(255, 250, 240, 0.98), #ffffff);
}

.campaign-card h3 {
  margin-top: 8px;
  color: var(--deep-green);
  font-size: 18px;
}

.campaign-card h3 strong {
  color: var(--red);
  font-size: 1.2em;
}

.campaign-card p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.75;
}

.campaign-badge {
  display: inline-flex;
  align-items: center;
  min-height: 26px;
  border-radius: 999px;
  padding: 4px 10px;
  color: var(--deep-green);
  font-size: 12px;
  font-weight: 900;
  background: #fff0c9;
  box-shadow: inset 0 0 0 1px rgba(199, 152, 61, 0.28);
}

.compact {
  margin-bottom: 12px;
}

.price-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 2px 10px;
  align-items: end;
  padding: 10px 0;
}

.price-row span {
  color: var(--deep-green);
  font-weight: 900;
}

.price-row strong,
.set-price strong {
  color: var(--red);
  font-size: 30px;
  line-height: 1;
}

.price-row small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 12px;
}

.set-price {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 18px 0 4px;
}

.set-price span {
  color: var(--muted);
  font-weight: 800;
}

.drink-note {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid rgba(15, 91, 70, 0.14);
  border-left: 4px solid var(--green);
  border-radius: 8px;
  background: rgba(15, 91, 70, 0.06);
}

.drink-note h3 {
  margin: 0;
  color: var(--deep-green);
  font-size: 15px;
  font-weight: 900;
}

.drink-note p {
  margin: 7px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.drink-menu-image {
  margin: 10px 0 0;
  padding: 6px;
  border: 1px solid rgba(15, 91, 70, 0.12);
  border-radius: 8px;
  background: #ffffff;
}

.drink-menu-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.small-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.interior-section {
  background:
    linear-gradient(135deg, rgba(15, 91, 70, 0.06), rgba(255, 255, 255, 0.96)),
    var(--surface);
}

.interior-title-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.interior-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.86);
  border-radius: 14px;
  color: #ffffff;
  font-size: 24px;
  font-weight: 900;
  background:
    linear-gradient(135deg, var(--green), #1b7b61);
  box-shadow: 0 10px 18px rgba(15, 91, 70, 0.16);
}

.interior-gallery {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.interior-photo {
  margin: 0;
  overflow: hidden;
  border: 1px solid rgba(15, 91, 70, 0.14);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(7, 61, 49, 0.08);
}

.interior-photo img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.interior-photo-large img {
  aspect-ratio: 5 / 4;
}

.interior-copy {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.interior-copy p,
.interior-info-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.8;
}

.interior-info-grid {
  display: grid;
  gap: 12px;
  margin-top: 14px;
}

.interior-info-card {
  padding: 14px;
  border: 1px solid rgba(15, 91, 70, 0.14);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 22px rgba(7, 61, 49, 0.07);
}

.interior-info-card h3 {
  margin: 0 0 10px;
  color: var(--deep-green);
  font-size: 17px;
}

.interior-info-card dl {
  display: grid;
  gap: 8px;
  margin: 0 0 10px;
}

.interior-info-card dl div {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
}

.interior-info-card dt {
  color: var(--green);
  font-size: 13px;
  font-weight: 900;
}

.interior-info-card dd {
  margin: 0;
  color: var(--deep-green);
  font-size: 17px;
  font-weight: 900;
}

.interior-info-card .small-note {
  margin-top: 8px;
}

.rule-link-section {
  background: linear-gradient(135deg, rgba(199, 152, 61, 0.11), rgba(255, 255, 255, 0.94));
}

.rule-title-row {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
}

.rule-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.86);
  border-radius: 14px;
  color: #ffffff;
  font-size: 24px;
  font-weight: 900;
  background:
    linear-gradient(135deg, #17365f, var(--deep-green));
  box-shadow: 0 10px 18px rgba(23, 54, 95, 0.16);
}

.ranking-head {
  margin-bottom: 16px;
}

.ranking-copy {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.ranking-categories {
  display: grid;
  gap: 18px;
}

.ranking-category {
  min-width: 0;
}

.category-title {
  margin: 0 0 10px;
  color: var(--red);
  font-size: 16px;
  line-height: 1.35;
  letter-spacing: 0;
}

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

.month-label {
  flex: 0 0 auto;
  border: 1px solid rgba(199, 152, 61, 0.45);
  border-radius: 999px;
  padding: 5px 12px;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
  background: #fff8df;
}

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

.ranking-card {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  min-height: 76px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.ranking-card.rank-1 {
  border-color: rgba(199, 152, 61, 0.5);
  background: linear-gradient(90deg, #fff8df 0%, #ffffff 78%);
}

.rank-badge {
  position: relative;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 900;
  isolation: isolate;
}

.number-badge {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  color: #ffffff;
  background: linear-gradient(145deg, #1b7a5c 0%, #0f5b46 64%, #06382d 100%);
  border: 2px solid rgba(255, 255, 255, 0.92);
  box-shadow:
    0 0 0 1px rgba(15, 91, 70, 0.16),
    0 8px 16px rgba(10, 31, 24, 0.16);
}

.number-badge::after {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 10px;
}

.number-badge::before {
  content: "位";
  position: absolute;
  right: 6px;
  bottom: 5px;
  color: rgba(255, 255, 255, 0.78);
  font-size: 9px;
  font-weight: 800;
  line-height: 1;
}

.rank-number {
  display: inline-block;
  transform: translate(-3px, -1px);
  font-size: 22px;
  font-weight: 900;
  z-index: 1;
}

.medal-badge {
  align-self: stretch;
  width: 52px;
  height: 58px;
}

.medal-ribbon {
  position: absolute;
  top: 0;
  width: 32px;
  height: 28px;
  clip-path: polygon(0 0, 100% 0, 72% 100%, 50% 76%, 28% 100%);
  background: linear-gradient(90deg, #284b8f 0 36%, #f5f7fb 36% 64%, #cf2e37 64% 100%);
  box-shadow: 0 4px 9px rgba(0, 0, 0, 0.14);
}

.medal-face {
  position: absolute;
  bottom: 0;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  color: #ffffff;
  box-shadow:
    inset 0 2px 7px rgba(255, 255, 255, 0.45),
    inset 0 -5px 9px rgba(54, 40, 16, 0.18),
    0 8px 14px rgba(10, 31, 24, 0.18);
}

.rank-1 .medal-face {
  background: linear-gradient(145deg, #ffe7a3 0%, #c9972e 54%, #8f6819 100%);
}

.rank-2 .medal-face {
  background: linear-gradient(145deg, #f1f4f4 0%, #9aa4a0 56%, #66706c 100%);
}

.rank-3 .medal-face {
  background: linear-gradient(145deg, #f1b77d 0%, #a86636 55%, #714221 100%);
}

.player-name {
  min-width: 0;
  font-size: 18px;
  font-weight: 800;
  line-height: 1.35;
}

.player-content {
  min-width: 0;
}

.player-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 10px;
  margin-top: 6px;
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  line-height: 1.35;
}

.stat-item {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  white-space: nowrap;
}

.stat-highlight {
  border: 1px solid rgba(154, 47, 43, 0.18);
  border-radius: 999px;
  padding: 2px 7px;
  color: var(--red);
  font-weight: 900;
  background: rgba(154, 47, 43, 0.08);
}

.score {
  color: var(--deep-green);
  font-size: 21px;
  font-weight: 900;
  line-height: 1.05;
  white-space: nowrap;
  text-align: right;
}

.score-unit {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
}

.notice,
.loading-text,
.error-text {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.loading-text,
.error-text {
  margin: 0;
  padding: 18px 4px;
  text-align: center;
}

.guide-grid {
  display: grid;
  gap: 10px;
  margin-top: 14px;
}

.guide-grid article {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  gap: 4px 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
}

.guide-grid article p {
  grid-column: 2;
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.guide-mark {
  grid-row: 1 / 3;
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  color: #ffffff;
  font-weight: 900;
  background: var(--green);
}

.contact-note {
  display: grid;
  gap: 4px;
  margin-top: 14px;
  padding: 12px;
  border-left: 4px solid var(--gold);
  border-radius: 8px;
  background: #fffaf0;
}

.contact-note strong {
  color: var(--deep-green);
  font-size: 14px;
}

.contact-note span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.access-section address {
  margin: 0;
  color: var(--deep-green);
  font-style: normal;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.55;
}

.address-name {
  color: var(--red);
  font-weight: 900;
}

.address-copy-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
}

.address-copy-row address {
  flex: 1 1 auto;
  min-width: 0;
}

.address-copy-row .copy-address-button {
  flex: 0 0 auto;
  min-height: 40px;
  padding: 8px 12px;
  font-size: 13px;
  white-space: nowrap;
}

.map-frame {
  margin: 14px 0 0;
  padding: 8px;
  margin-top: 14px;
  border: 1px solid rgba(15, 91, 70, 0.16);
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
  background: #ffffff;
  overflow: hidden;
}

.map-frame img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0 auto;
  border-radius: 6px;
}

.access-map-frame {
  padding: 0;
}

.access-map-frame img {
  width: calc(100% + 8px);
  max-width: none;
  margin: -4px;
  border-radius: 0;
}

.map-frame figcaption {
  margin-top: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  line-height: 1.5;
}

.qr-card {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid rgba(15, 91, 70, 0.16);
  border-radius: 8px;
  text-align: center;
  background: var(--soft);
}

.qr-card img {
  display: block;
  width: min(78%, 260px);
  min-height: 180px;
  margin: 14px auto 0;
  border: 10px solid #ffffff;
  border-radius: 8px;
  object-fit: contain;
  background: #ffffff;
  box-shadow: 0 10px 20px rgba(7, 61, 49, 0.12);
}

.reserve-form {
  display: grid;
  gap: 12px;
  margin-top: 16px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.reserve-form label {
  display: grid;
  gap: 6px;
  color: var(--deep-green);
  font-size: 13px;
  font-weight: 900;
}

.reserve-form input,
.reserve-form select,
.reserve-form textarea {
  width: 100%;
  border: 1px solid rgba(15, 91, 70, 0.22);
  border-radius: 8px;
  padding: 11px 12px;
  color: var(--ink);
  font: inherit;
  background: #ffffff;
}

.form-button {
  width: 100%;
  border: 0;
  cursor: pointer;
}

.copy-status {
  margin: 0;
  color: var(--green);
  font-size: 13px;
  font-weight: 800;
}

.address-copy-status {
  margin-top: 10px;
  min-height: 1.4em;
}

.phone-grid span {
  color: var(--muted);
  font-size: 12px;
}

.mascot-easter-egg {
  display: grid;
  justify-items: center;
  gap: 8px;
  margin-top: 18px;
}

.mascot-button {
  width: 86px;
  height: 86px;
  border: 0;
  padding: 0;
  cursor: pointer;
  background: transparent;
  transform: rotate(-6deg);
  transition:
    transform 0.18s ease,
    filter 0.18s ease;
}

.mascot-button:active {
  transform: rotate(-2deg) scale(0.96);
}

.mascot-button:focus-visible {
  border-radius: 18px;
  outline: 3px solid rgba(199, 152, 61, 0.42);
  outline-offset: 4px;
}

.mascot-button img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 10px 14px rgba(15, 91, 70, 0.18));
}

.mascot-message {
  max-width: 270px;
  margin: 0;
  padding: 9px 12px;
  border: 1px solid rgba(15, 91, 70, 0.14);
  border-radius: 999px;
  color: var(--deep-green);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.55;
  text-align: center;
  background: #ffffff;
  box-shadow: 0 10px 20px rgba(7, 61, 49, 0.08);
}

.mascot-easter-egg.is-found .mascot-button {
  animation: mascot-bounce 0.7s ease both;
  filter: saturate(1.08);
}

@keyframes mascot-bounce {
  0% {
    transform: rotate(-6deg) scale(1);
  }
  35% {
    transform: rotate(7deg) scale(1.14);
  }
  70% {
    transform: rotate(-4deg) scale(0.98);
  }
  100% {
    transform: rotate(0deg) scale(1.04);
  }
}

.rules-page .quick-actions {
  position: sticky;
  top: 0;
  z-index: 5;
  padding: 8px 0;
  background: rgba(245, 251, 247, 0.94);
  backdrop-filter: blur(10px);
}

.compact-hero {
  padding-bottom: 12px;
}

.rules-section {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.rules-section.sanma {
  border-top: 5px solid var(--red);
}

.rules-section.yonma {
  border-top: 5px solid var(--green);
}

.rules-section.manners {
  border-top: 5px solid var(--gold);
}

details {
  margin-top: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

summary {
  padding: 13px 14px;
  color: var(--deep-green);
  font-weight: 900;
  cursor: pointer;
}

details ul {
  margin: 0;
  padding: 0 16px 14px 34px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.sub-note {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.65;
}

.example {
  margin: 0 14px 14px;
  padding: 10px 12px;
  border: 1px solid rgba(199, 152, 61, 0.28);
  border-radius: 8px;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.7;
  background: #fffaf0;
}

.settlement-block {
  margin-top: 12px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.settlement-block h3 {
  margin: 0 0 10px;
  padding: 11px 12px;
  border-radius: 8px;
  color: #ffffff;
  font-size: 17px;
  font-weight: 900;
  line-height: 1.4;
  background: linear-gradient(135deg, var(--deep-green), var(--green));
}

.settlement-lead {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
}

.settlement-note {
  display: grid;
  gap: 4px;
  margin-top: 10px;
  padding: 10px 12px;
  border: 1px solid rgba(15, 91, 70, 0.12);
  border-radius: 8px;
  color: var(--deep-green);
  font-size: 13px;
  font-weight: 800;
  line-height: 1.6;
  background: rgba(15, 91, 70, 0.08);
}

.settlement-note p {
  margin: 0;
}

.settlement-grid {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.settlement-grid article {
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.settlement-grid h4 {
  margin: 0 0 5px;
  color: var(--deep-green);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.45;
}

.settlement-grid p {
  margin: 0;
  color: var(--text);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
}

.score-chart-section {
  overflow: hidden;
}

.score-chart-grid {
  display: grid;
  gap: 14px;
  margin-top: 14px;
}

.score-chart-card {
  margin-top: 14px;
  padding: 12px;
  border: 1px solid rgba(15, 91, 70, 0.18);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff, #f8fff8);
}

.score-chart-card h3 {
  margin: 0 0 12px;
  padding: 9px 12px;
  border-radius: 8px;
  color: #ffffff;
  font-size: 18px;
  font-weight: 900;
  text-align: center;
  background: linear-gradient(135deg, var(--deep-green), var(--green));
}

.score-chart-pair {
  display: grid;
  gap: 12px;
}

.score-table-block h4 {
  width: fit-content;
  min-width: 76px;
  margin: 0 auto 8px;
  padding: 6px 16px;
  border-radius: 999px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
  text-align: center;
  background: var(--green);
}

.table-scroll {
  overflow-x: visible;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.score-chart-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.score-chart-table th,
.score-chart-table td {
  padding: 8px 4px;
  border: 1px solid var(--line);
  color: var(--text);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
}

.score-chart-table th:first-child,
.score-chart-table td:first-child {
  width: 20%;
}

.score-chart-table thead th {
  color: #ffffff;
  background: var(--deep-green);
}

.score-chart-table tbody th {
  color: var(--deep-green);
  background: rgba(15, 91, 70, 0.08);
}

.score-chart-table tbody tr:nth-child(even) td {
  background: #f8fff8;
}

.score-chart-table .is-limit {
  color: var(--red);
  background: #fffaf0;
}

.limit-chart-table {
  min-width: 0;
}

.limit-chart-table td {
  white-space: normal;
}

.limit-chart-table td span {
  display: block;
  line-height: 1.35;
}

.limit-chart-table td span + span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 11px;
}

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

.chart-note-list li {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  padding: 9px 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
  background: #ffffff;
}

.chart-note-list span {
  display: inline-grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  color: var(--deep-green);
  font-size: 12px;
  font-weight: 900;
  background: #fff0c9;
}

.rule-note {
  border-left: 4px solid var(--gold);
  background: #fffaf0;
}

.manner-list {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}

.manner-list p {
  margin: 0;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  background: #ffffff;
}

@media (max-width: 380px) {
  .page-shell {
    padding-left: 14px;
    padding-right: 14px;
  }

  h1 {
    font-size: 28px;
  }

  .title-row {
    grid-template-columns: 50px minmax(0, 1fr);
    gap: 10px;
  }

  .trophy-icon {
    width: 48px;
    height: 54px;
  }

  .quick-actions {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-actions,
  .action-row,
  .phone-grid,
  .sticky-contact {
    grid-template-columns: 1fr;
  }

  .ranking-card {
    grid-template-columns: 48px minmax(0, 1fr);
  }

  .score {
    grid-column: 2;
    font-size: 20px;
  }

  .player-stats {
    grid-column: 2;
  }
}

@media (min-width: 760px) {
  .page-shell {
    padding-top: 42px;
  }

  .interior-gallery {
    grid-template-columns: 1.25fr 1fr;
  }

  .interior-photo-large {
    grid-row: span 2;
  }

  .interior-photo-large img {
    aspect-ratio: 4 / 5;
  }

  .interior-info-grid {
    grid-template-columns: 1fr 1fr;
  }

  .score-chart-grid {
    grid-template-columns: 1fr 1fr;
  }

  .score-chart-pair {
    grid-template-columns: 1fr 1fr;
  }
}
