.region-screen {
  background:
    linear-gradient(rgba(251, 250, 247, 0.955), rgba(251, 250, 247, 0.955)),
    url("./assets/ink-home/scenes/paper-texture.webp") center / 72cqw 72cqw repeat;
  color: var(--ink-deep);
}

.region-page {
  min-height: 100%;
  padding-bottom: max(4.4cqw, env(safe-area-inset-bottom, 0px));
  background: rgba(251, 250, 247, 0.84);
}

.region-hero {
  position: relative;
  height: 50cqw;
  overflow: hidden;
  background: #f5f2eb;
}

.region-hero-track {
  position: absolute;
  inset: 0;
  display: flex;
  width: 100%;
  cursor: grab;
  touch-action: pan-y pinch-zoom;
  user-select: none;
  transition: transform 460ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.region-hero-slide {
  position: relative;
  flex: 0 0 100%;
  min-width: 0;
}

.region-hero-track.is-dragging,
.region-hero-track.is-static {
  transition: none;
}

.region-hero-track.is-dragging {
  cursor: grabbing;
}

.region-hero-slide[aria-hidden="true"] {
  pointer-events: none;
}

.region-hero-art {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transform: none;
  pointer-events: none;
  user-select: none;
}

.region-hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(251, 250, 247, 0.32) 0%, rgba(251, 250, 247, 0.14) 42%, rgba(251, 250, 247, 0) 68%);
  pointer-events: none;
}

.region-hero-copy {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  padding: 5.2cqw 4.6cqw 0;
}

.region-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 5.6cqw;
  margin-bottom: 2cqw;
  padding: 0 2.2cqw;
  border-radius: 99cqw;
  background: rgba(20, 62, 59, 0.88);
  color: #fffdf8;
  font-size: 2.75cqw;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.08em;
  box-shadow: 0 1cqw 2.6cqw rgba(21, 51, 49, 0.12);
}

.region-hero h2 {
  margin: 0 0 1.6cqw;
  color: var(--ink);
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-size: 6.9cqw;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.03em;
}

.region-hero-intro {
  margin: 0;
  color: #243e3e;
  font-size: 3.95cqw;
  line-height: 1.45;
  white-space: nowrap;
}

.region-hero-pagination {
  position: absolute;
  z-index: 3;
  bottom: 0;
  left: 50%;
  display: flex;
  align-items: center;
  transform: translateX(-50%);
}

.region-hero-pagination button {
  position: relative;
  display: grid;
  place-items: center;
  width: max(11.75cqw, 44px);
  height: max(11.75cqw, 44px);
  padding: 0;
  border: 0;
  background: transparent;
}

.region-hero-pagination button::before {
  position: absolute;
  bottom: 2.7cqw;
  left: 50%;
  width: 5.4cqw;
  height: 1.05cqw;
  border-radius: 99cqw;
  background: rgba(255, 255, 255, 0.56);
  box-shadow: 0 0.35cqw 1.2cqw rgba(13, 47, 49, 0.3);
  content: "";
  opacity: 0.9;
  transform: translateX(calc(-50% + var(--region-indicator-offset, 0px))) scaleX(0.74);
  transition: transform 240ms ease, background-color 240ms ease, opacity 240ms ease;
}

.region-hero-pagination button:first-child {
  --region-indicator-offset: 6cqw;
}

.region-hero-pagination button:last-child {
  --region-indicator-offset: -6cqw;
}

.region-hero-pagination button.is-active::before {
  background: #fff;
  opacity: 1;
  transform: translateX(calc(-50% + var(--region-indicator-offset, 0px))) scaleX(1.08);
}

.region-hero-pagination button:focus-visible {
  outline: 0.55cqw solid rgba(32, 75, 71, 0.28);
  outline-offset: -1.4cqw;
}

.region-selector {
  display: inline-flex;
  align-items: center;
  gap: 1.2cqw;
  min-width: 47cqw;
  height: 11.75cqw;
  margin-top: 3.9cqw;
  padding: 0 2.8cqw;
  border: 0.26cqw solid rgba(13, 47, 49, 0.56);
  border-radius: 1.7cqw;
  background: rgba(251, 250, 247, 0.56);
  color: var(--ink-deep);
  line-height: 1;
  white-space: nowrap;
  backdrop-filter: blur(0.8cqw);
}

.region-selector svg {
  flex: 0 0 auto;
  width: 3.4cqw;
  height: 3.4cqw;
  margin-left: auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.6;
  transform: rotate(90deg);
}

.region-selector-scope {
  color: #3d5b58;
  font-size: 3.3cqw;
  font-weight: 600;
}

.region-selector-scope::after {
  margin-left: 1.2cqw;
  color: #8b918c;
  content: "·";
  font-weight: 400;
}

.region-selector-place {
  overflow: hidden;
  color: #243e3e;
  font-size: 3.45cqw;
  text-overflow: ellipsis;
}

.region-section-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  height: 10cqw;
  margin: 0;
  padding-bottom: 2.1cqw;
}

.region-section-title h2 {
  position: relative;
  margin: 0;
  color: var(--ink);
  font-size: 4.8cqw;
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: 0.03em;
}

.region-section-title h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1.85cqw;
  width: 3.4cqw;
  height: 0.45cqw;
  border-radius: 999px;
  background: #ae791d;
}

.region-section-title button {
  display: inline-flex;
  align-items: center;
  gap: 0.5cqw;
  padding: 0 0 0.1cqw;
  border: 0;
  background: transparent;
  color: #223b3b;
  font-size: 3.65cqw;
  white-space: nowrap;
}

.region-section-title button svg,
.region-card-chevron {
  width: 3.5cqw;
  height: 3.5cqw;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.region-official {
  height: 41.4cqw;
  padding: 0 4.35cqw;
}

.region-official .region-section-title {
  height: 11.75cqw;
  align-items: center;
  padding-bottom: 0;
}

.region-official .region-section-title h2 {
  transform: none;
}

.region-official .region-section-title h2::after {
  display: none;
}

.region-official .region-selector {
  min-width: 0;
  height: 11.75cqw;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
  color: #536763;
}

.region-official .region-selector-scope,
.region-official .region-selector-place {
  font-size: 3.15cqw;
  font-weight: 500;
}

.region-official .region-selector svg {
  width: 3cqw;
  height: 3cqw;
  margin-left: 0.2cqw;
}

.region-center-card {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 28.3cqw;
  overflow: hidden;
  padding: 2.6cqw 3.4cqw 2.4cqw;
  border: 0.26cqw solid rgba(180, 146, 93, 0.55);
  border-radius: 2.2cqw;
  background: rgba(255, 255, 253, 0.58);
}

.region-center-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("./assets/ink-home/region/region-center-wash-v2.webp") right center / cover no-repeat;
  opacity: 0.44;
  pointer-events: none;
}

.region-center-head,
.region-center-foot {
  position: relative;
  z-index: 1;
}

.region-center-head {
  display: block;
}

.region-center-heading {
  display: flex;
  align-items: center;
  gap: 2.2cqw;
}

.region-official-tag {
  display: grid;
  place-items: center;
  min-width: 8.4cqw;
  height: 5.2cqw;
  padding: 0 1.1cqw;
  border-radius: 1.25cqw;
  background: #b83228;
  color: #fffaf2;
  font-size: 3.2cqw;
  line-height: 1;
}

.region-center-head strong {
  color: var(--ink);
  font-size: 4.55cqw;
  font-weight: 600;
  line-height: 1.15;
  white-space: nowrap;
}

.region-center-head p {
  margin: 1.8cqw 0 0;
  color: #435150;
  font-size: 3.25cqw;
  line-height: 1.35;
  white-space: nowrap;
}

.region-center-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 1.6cqw;
  border-top: 0.26cqw solid rgba(32, 75, 71, 0.11);
  color: #465251;
  font-size: 3.2cqw;
}

.region-center-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0.5cqw;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink-deep);
  font-size: 3.35cqw;
  font-weight: 600;
}

.region-center-link::after {
  content: "";
  position: absolute;
  inset: -2.4cqw -1.6cqw;
}

.region-quick-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  height: 25.6cqw;
  margin: 3.2cqw 4.35cqw 0;
  overflow: hidden;
  border: 0.26cqw solid rgba(176, 122, 36, 0.28);
  border-radius: 2.8cqw;
  background: linear-gradient(180deg, rgba(255, 253, 248, 0.96), rgba(249, 246, 238, 0.9));
  box-shadow: 0 1.2cqw 3.8cqw rgba(49, 55, 45, 0.04);
}

.region-quick-grid button {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.7cqw;
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--ink-deep);
  font-size: 3.45cqw;
  font-weight: 500;
  line-height: 1;
  transition: background-color 160ms ease-out;
}

.region-quick-grid button:active {
  background: rgba(176, 122, 36, 0.08);
}

.region-quick-grid button:focus-visible {
  outline: 0.53cqw solid rgba(44, 105, 101, 0.7);
  outline-offset: -0.8cqw;
}

.region-quick-grid button + button::before {
  content: "";
  position: absolute;
  top: 3.2cqw;
  bottom: 3.2cqw;
  left: 0;
  width: 0.26cqw;
  background: rgba(180, 146, 93, 0.26);
}

.region-quick-grid img {
  display: block;
  width: 13.6cqw;
  height: 13.6cqw;
  object-fit: contain;
}

.region-quick-grid span {
  white-space: nowrap;
}

.region-activities {
  height: 55.2cqw;
  padding: 0 4.35cqw;
}

.region-activities .region-section-title {
  align-items: center;
  height: 11.75cqw;
  padding-bottom: 0;
}

.region-activities .region-section-title h2::after {
  display: none;
}

.region-activities .region-section-title button {
  min-height: 11.75cqw;
  gap: 0.2cqw;
  padding: 0;
  color: #526561;
  font-size: 3.25cqw;
}

.region-activities .region-section-title button svg {
  width: 3cqw;
  height: 3cqw;
}

.region-event-list {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 2.1cqw;
  margin-top: 0.8cqw;
}

.region-event-card {
  display: flex;
  min-width: 0;
  flex-direction: row;
  width: 100%;
  height: 20cqw;
  overflow: hidden;
  padding: 0;
  border: 0.26cqw solid rgba(32, 75, 71, 0.13);
  border-radius: 1.35cqw;
  background: #fff;
  box-shadow: 0 0.8cqw 2.6cqw rgba(20, 53, 52, 0.06);
  text-align: left;
}

.region-event-media {
  display: block;
  width: 35%;
  height: 100%;
  flex: 0 0 35%;
  overflow: hidden;
}

.region-event-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 48%;
}

.region-event-copy {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  justify-content: center;
  padding: 1.5cqw 2.4cqw;
}

.region-event-copy strong {
  overflow: hidden;
  color: #1e2928;
  font-size: 3.7cqw;
  font-weight: 600;
  line-height: 1.25;
  text-align: left;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.region-event-meta {
  display: grid;
  gap: 0.35cqw;
  min-width: 0;
  margin-top: 1.2cqw;
}

.region-event-meta > span {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 1cqw;
  color: #64716f;
  font-size: 3.1cqw;
  line-height: 1.15;
  white-space: nowrap;
}

.region-event-meta img {
  display: block;
  width: 3.2cqw;
  height: 3.2cqw;
  flex: 0 0 auto;
}

.region-event-meta time,
.region-event-meta b {
  min-width: 0;
  overflow: hidden;
  font-weight: 400;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.region-center-detail-screen {
  background:
    linear-gradient(rgba(251, 250, 247, 0.965), rgba(251, 250, 247, 0.965)),
    url("./assets/ink-home/scenes/paper-texture.webp") center / 72cqw 72cqw repeat;
  color: var(--ink-deep);
}

.region-center-detail-page {
  position: relative;
  min-height: 100%;
  background: rgba(251, 250, 247, 0.72);
}

.region-center-detail-topbar.app-detail-header {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  border-bottom: 0;
  background: transparent;
  backdrop-filter: none;
}

.region-center-detail-topbar .app-detail-title {
  opacity: 0;
  pointer-events: none;
}

.region-center-detail-hero {
  position: relative;
  height: calc(36.5cqw + var(--app-detail-header-height));
  overflow: hidden;
  border-bottom: 0.26cqw solid rgba(180, 146, 93, 0.2);
  background: #f6f2e9;
}

.region-center-detail-hero-art {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: right bottom;
  filter: contrast(0.94) brightness(1.02);
  pointer-events: none;
  user-select: none;
}

.region-center-detail-hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  width: 68%;
  height: 100%;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: calc(var(--app-detail-header-height) + 2.1cqw) 0 0 5.1cqw;
}

html.view-h5 .region-center-detail-hero {
  height: calc(36.5cqw + var(--app-detail-control-size) + env(safe-area-inset-top, 0px));
}

html.view-h5 .region-center-detail-hero-copy {
  padding-top: calc(var(--app-detail-control-size) + env(safe-area-inset-top, 0px) + 2.1cqw);
}

.region-center-detail-badge {
  display: inline-grid;
  min-height: 5cqw;
  padding: 0 1.7cqw;
  place-items: center;
  border-radius: 1.4cqw;
  background: #b73127;
  color: #fffaf2;
  font-size: 2.8cqw;
  font-weight: 600;
  line-height: 1;
  letter-spacing: 0.03em;
}

.region-center-detail-hero h2 {
  margin: 2.2cqw 0 1cqw;
  color: var(--ink);
  font-family: "Songti SC", "STSong", "Noto Serif CJK SC", serif;
  font-size: 6.1cqw;
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: 0.025em;
  white-space: nowrap;
}

.region-center-detail-hero p {
  margin: 0;
  color: #2b403f;
  font-size: 3.35cqw;
  line-height: 1.4;
  white-space: nowrap;
}

.region-center-detail-location {
  display: flex;
  align-items: center;
  gap: 1.2cqw;
  margin-top: 2.2cqw;
  color: #5b6967;
  font-size: 2.95cqw;
  line-height: 1;
  white-space: nowrap;
}

.region-center-detail-location > img {
  width: 3.5cqw;
  height: 3.5cqw;
  opacity: 0.72;
}

.region-center-detail-location b,
.region-center-detail-location em,
.region-center-detail-location i {
  font-style: normal;
  font-weight: 400;
}

.region-center-detail-location span {
  display: inline-flex;
  gap: 0.7cqw;
}

.region-center-detail-content {
  padding: 0 5.1cqw 2.4cqw;
}

.region-center-detail-section {
  margin-top: 1.6cqw;
}

.region-center-detail-section > h2,
.region-center-detail-heading h2 {
  position: relative;
  margin: 0 0 1.1cqw;
  padding-left: 3cqw;
  color: var(--ink);
  font-size: 4.25cqw;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.04em;
}

.region-center-detail-section > h2::before,
.region-center-detail-heading h2::before {
  position: absolute;
  top: 0.9cqw;
  bottom: 0.9cqw;
  left: 0;
  width: 0.8cqw;
  border-radius: 99cqw;
  background: #b83228;
  content: "";
}

.region-center-detail-intro {
  padding-bottom: 2.8cqw;
  border-bottom: 0.26cqw solid rgba(180, 146, 93, 0.28);
}

.region-center-detail-intro p {
  margin: 0;
  color: #344441;
  font-size: 3.4cqw;
  line-height: 1.5;
}

.region-center-detail-intro small {
  display: block;
  margin-top: 1.1cqw;
  color: #a57832;
  font-size: 2.9cqw;
  line-height: 1.5;
}

.region-center-detail-intro + .region-center-detail-section {
  margin-top: 4cqw;
}

.region-center-info-card {
  overflow: hidden;
  border: 0.26cqw solid rgba(32, 75, 71, 0.14);
  border-radius: 2.8cqw;
  background: rgba(255, 255, 253, 0.82);
  box-shadow: 0 1.2cqw 3.6cqw rgba(18, 48, 46, 0.035);
}

.region-center-info-row {
  position: relative;
  display: grid;
  grid-template-columns: 6cqw 20cqw minmax(0, 1fr) auto;
  width: 100%;
  min-height: 9cqw;
  align-items: center;
  padding: 0 3.4cqw;
  border: 0;
  background: transparent;
  color: var(--ink-deep);
  text-align: left;
}

button.region-center-info-row {
  min-height: 44px;
}

.region-center-info-row + .region-center-info-row::before {
  position: absolute;
  top: 0;
  right: 3.4cqw;
  left: 3.4cqw;
  height: 0.26cqw;
  background: rgba(180, 146, 93, 0.22);
  content: "";
}

.region-center-info-row > img:first-child {
  width: 4.8cqw;
  height: 4.8cqw;
  object-fit: contain;
  filter: none;
}

.region-center-info-row > span {
  color: #314542;
  font-size: 3.45cqw;
}

.region-center-info-row > strong {
  overflow: hidden;
  color: #3e4d4b;
  font-size: 3.4cqw;
  font-weight: 400;
  text-align: right;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.region-center-info-row button,
button.region-center-info-row {
  cursor: pointer;
}

.region-center-info-chevron {
  width: 3.4cqw !important;
  height: 3.4cqw !important;
  margin-left: 1.2cqw;
  filter: none !important;
  opacity: 0.62;
  transform: rotate(180deg);
}

.region-center-service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.4cqw;
}

.region-center-service-grid button {
  display: flex;
  min-width: 0;
  min-height: 20.7cqw;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1cqw 0.8cqw 1.1cqw;
  border: 0.26cqw solid rgba(32, 75, 71, 0.12);
  border-radius: 2.5cqw;
  background: rgba(255, 255, 253, 0.76);
  color: var(--ink-deep);
  box-shadow: 0 1.1cqw 3.2cqw rgba(18, 48, 46, 0.035);
}

.region-center-service-grid img {
  display: block;
  width: 10.3cqw;
  height: 10.3cqw;
  object-fit: contain;
}

.region-center-service-grid strong {
  margin-top: 0.3cqw;
  font-size: 3.3cqw;
  font-weight: 600;
  line-height: 1.2;
  white-space: nowrap;
}

.region-center-service-grid small {
  display: block;
  min-height: 0;
  margin-top: 0.45cqw;
  overflow: hidden;
  color: #67726f;
  font-size: 2.5cqw;
  line-height: 1.2;
  text-align: center;
  white-space: nowrap;
}

.region-center-detail-services {
  margin-top: 4.8cqw;
}

.region-center-detail-events {
  margin-top: 0.8cqw;
}

.region-center-detail-heading {
  position: relative;
  display: flex;
  min-height: 8.2cqw;
  align-items: center;
  justify-content: space-between;
}

.region-center-detail-heading h2 {
  margin-bottom: 0;
}

.region-center-detail-heading button {
  position: absolute;
  top: 50%;
  right: 0;
  display: inline-flex;
  min-height: 11.75cqw;
  align-items: center;
  gap: 0.4cqw;
  padding: 0;
  border: 0;
  background: transparent;
  color: #60706d;
  font-size: 3.15cqw;
  transform: translateY(-50%);
}

.region-center-detail-heading button img {
  width: 3.2cqw;
  height: 3.2cqw;
  opacity: 0.68;
  transform: rotate(180deg);
}

.region-center-detail-event-list {
  display: grid;
  gap: 1.5cqw;
  margin-top: 1.5cqw;
}

.region-center-detail-event-list button {
  display: grid;
  grid-template-columns: 34.5% minmax(0, 1fr);
  min-height: 14.3cqw;
  overflow: hidden;
  padding: 0;
  border: 0.26cqw solid rgba(32, 75, 71, 0.13);
  border-radius: 2cqw;
  background: #fff;
  box-shadow: 0 0.8cqw 2.8cqw rgba(20, 53, 52, 0.05);
  text-align: left;
}

.region-center-detail-event-list button > img {
  width: 100%;
  height: 100%;
  min-height: 14.3cqw;
  object-fit: cover;
}

.region-center-detail-event-list button > span {
  display: flex;
  min-width: 0;
  flex-direction: column;
  justify-content: center;
  padding: 1.8cqw 3cqw;
}

.region-center-detail-event-list strong {
  overflow: hidden;
  color: var(--ink-deep);
  font-size: 3.6cqw;
  font-weight: 600;
  line-height: 1.25;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.region-center-detail-event-list small {
  margin-top: 1.1cqw;
  color: #986c29;
  font-size: 2.95cqw;
  line-height: 1.2;
}

.region-center-detail-actions {
  position: sticky;
  z-index: 12;
  bottom: 0;
  display: grid;
  grid-template-columns: 1fr 1.18fr;
  gap: 2.4cqw;
  min-height: calc(16.2cqw + env(safe-area-inset-bottom, 0px));
  align-items: start;
  padding: 2.2cqw 5.1cqw calc(2.2cqw + env(safe-area-inset-bottom, 0px));
  border-top: 0.26cqw solid rgba(32, 75, 71, 0.1);
  background: rgba(251, 250, 247, 0.96);
  backdrop-filter: blur(3cqw);
}

.region-center-detail-actions button {
  min-height: 11.75cqw;
  border: 0.26cqw solid rgba(166, 116, 41, 0.68);
  border-radius: 2.4cqw;
  background: rgba(255, 255, 253, 0.88);
  color: var(--ink-deep);
  font-size: 3.75cqw;
  font-weight: 600;
}

.region-center-detail-actions .primary {
  border-color: var(--ink);
  background: var(--ink);
  color: #fffdf8;
}

.region-center-detail-section button:focus-visible,
.region-center-detail-actions button:focus-visible {
  outline: 0.55cqw solid rgba(44, 105, 101, 0.48);
  outline-offset: 0.3cqw;
}

.region-center-detail-section button:active,
.region-center-detail-actions button:active {
  transform: scale(0.985);
}

.region-center-detail-heading button:active {
  transform: translateY(-50%) scale(0.985);
}

.region-center-dialog-form select,
.region-center-dialog-form input,
.region-center-dialog-form textarea {
  width: 100%;
  min-height: 11.75cqw;
  margin-top: 1.2cqw;
  padding: 2.4cqw 3cqw;
  border: 0.26cqw solid rgba(32, 75, 71, 0.24);
  border-radius: 2cqw;
  background: #fff;
  color: var(--ink-deep);
  font: inherit;
  font-size: 3.5cqw;
}

.region-center-dialog-form textarea {
  min-height: 21cqw;
  resize: vertical;
}

.region-center-dialog-form [aria-invalid="true"] {
  border-color: #b83228;
}

.region-center-dialog-form .profile-dialog-error {
  display: block;
  min-height: 3.8cqw;
  margin-top: 0.8cqw;
  color: #b83228;
  font-size: 3cqw;
}

.region-center-dialog-note {
  margin: 0;
  color: #6d7774;
  font-size: 3cqw;
  line-height: 1.5;
}

.phone[data-page="region"] .bottom-nav {
  display: none;
}

.phone[data-page="region"] .statusbar {
  background: transparent;
  box-shadow: none;
}

.phone[data-page="region"] .toast {
  bottom: 5cqw;
}

.region-scope-dialog[hidden] {
  display: none !important;
}

.region-scope-dialog {
  position: absolute;
  inset: 0;
  z-index: 60;
  display: flex;
  align-items: flex-end;
  font-family: "PingFang SC", -apple-system, BlinkMacSystemFont, "Helvetica Neue", sans-serif;
}

.region-scope-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  padding: 0;
  border: 0;
  background: rgba(8, 19, 18, 0.46);
}

.region-scope-sheet {
  position: relative;
  z-index: 1;
  width: 100%;
  overflow: hidden;
  border: 0.26cqw solid rgba(173, 143, 95, 0.42);
  border-bottom: 0;
  border-radius: 4.3cqw 4.3cqw 0 0;
  background:
    linear-gradient(rgba(251, 250, 247, 0.97), rgba(251, 250, 247, 0.97)),
    url("./assets/ink-home/scenes/paper-texture.webp") center / 72cqw 72cqw repeat;
  box-shadow: 0 -3cqw 8cqw rgba(8, 19, 18, 0.12);
  color: var(--ink-deep);
}

.region-scope-sheet:focus {
  outline: none;
}

.region-scope-header {
  display: grid;
  grid-template-columns: 16cqw minmax(0, 1fr) 16cqw;
  min-height: 14.5cqw;
  align-items: center;
  border-bottom: 0.26cqw solid rgba(173, 143, 95, 0.25);
}

.region-scope-header h2 {
  margin: 0;
  font-size: 4.4cqw;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
}

.region-scope-header button {
  min-height: 11.75cqw;
  padding: 0;
  border: 0;
  background: transparent;
  color: #596563;
  font-size: 3.65cqw;
}

.region-scope-header .region-scope-confirm {
  color: var(--ink);
  font-weight: 600;
}

.region-scope-body {
  padding: 4.3cqw 4.3cqw calc(6.3cqw + env(safe-area-inset-bottom, 0px));
}

.region-scope-heading {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 2.6cqw;
}

.region-scope-heading strong {
  font-size: 4.05cqw;
  font-weight: 600;
}

.region-scope-heading span {
  color: #687471;
  font-size: 3.15cqw;
}

.region-scope-options {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2.1cqw;
}

.region-scope-options button {
  min-height: 11.75cqw;
  border: 0.26cqw solid rgba(32, 75, 71, 0.25);
  border-radius: 2cqw;
  background: rgba(255, 255, 253, 0.72);
  color: #43514f;
  font-size: 3.75cqw;
  transition: border-color 180ms ease, background-color 180ms ease, color 180ms ease, transform 180ms ease;
}

.region-scope-options button[aria-checked="true"] {
  border-color: var(--ink-deep);
  background: var(--ink-deep);
  color: #fffaf2;
  font-weight: 600;
}

.region-scope-options button:active {
  transform: scale(0.97);
}

.region-place-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2.6cqw;
  margin-top: 4cqw;
}

.region-place-fields label {
  display: grid;
  gap: 1.4cqw;
  color: #5d6966;
  font-size: 3.15cqw;
}

.region-place-fields select {
  width: 100%;
  min-height: 11.75cqw;
  padding: 0 7cqw 0 3.2cqw;
  border: 0.26cqw solid rgba(32, 75, 71, 0.32);
  border-radius: 2cqw;
  background-color: rgba(255, 255, 253, 0.82);
  color: var(--ink-deep);
  font: inherit;
  font-size: 3.65cqw;
}

.region-scope-summary {
  min-height: 4.5cqw;
  margin: 3.2cqw 0 0;
  color: var(--ink);
  font-size: 3.4cqw;
  font-weight: 600;
}

.region-scope-note {
  margin: 1.3cqw 0 0;
  color: #707a78;
  font-size: 3cqw;
  line-height: 1.55;
}

.phone.has-region-scope-dialog .region-screen {
  overflow: hidden;
}

.region-selector:focus-visible,
.region-scope-header button:focus-visible,
.region-scope-options button:focus-visible,
.region-place-fields select:focus-visible {
  outline: 0.55cqw solid rgba(32, 75, 71, 0.28);
  outline-offset: 0.25cqw;
}

@media (prefers-reduced-motion: reduce) {
  .region-screen *,
  .region-center-detail-screen *,
  .region-scope-dialog * {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
