:root {
  --content-max: 1040px;
  --radius: 14px;
  --text: #111;
  --text-body: #222;
  --muted: #666;
  --bg: #f5f5f5;
  --card: #fff;
  --placeholder: #fafafa;
  --line: rgba(0,0,0,.08);
  --primary: #dc4c70;
  --sub: #ffffff;
  --header-safe-color: #dc4c70;

  --drawer-bg: color-mix(in srgb, var(--sub) 35%, var(--card));
  --drawer-border: color-mix(in srgb, var(--primary) 12%, var(--line));
  --drawer-title: color-mix(in srgb, var(--primary) 72%, var(--text));
  --on-primary: #fff;
  --primary-weak: color-mix(in srgb, var(--primary) 10%, #fff);
  --primary-line: color-mix(in srgb, var(--primary) 25%, transparent);

  --cta-surface: color-mix(in srgb, var(--primary) 4%, #fff);

  --accent-bg: color-mix(in srgb, var(--primary) 15%, #fff);
  --accent-bg-subtle: color-mix(in srgb, var(--primary) 8%, #fff);
  --accent-placeholder: color-mix(in srgb, var(--primary) 12%, #f0f0f0);
  --accent-shadow: color-mix(in srgb, var(--primary) 10%, transparent);
  --accent-btn-shadow: color-mix(in srgb, var(--primary) 6%, transparent);
  --accent-btn-shadow-hover: color-mix(in srgb, var(--primary) 12%, transparent);

  --bar-bg: #f4f0bf;
  --bar-text: #6b5a00;
  --bar-line: rgba(200,180,80,.18);

  --red: #e0002a;
  --blue: #00a7d6;
  --orange: #f29b76;

  --cta-lower-bg: #FFFFFF;
  --cta-lower-card: #FFFFFF;
  --cta-lower-action: #FFFFFF;
  --cta-lower-line: rgba(31, 41, 36, 0.12);
  --cta-lower-text: #4F5B55;
  --cta-lower-muted: #747D78;

  --footer-bg: #000;
  --footer-text: #fff;
  --footer-muted: rgba(255, 255, 255, 0.6);
  --footer-muted-soft: rgba(255, 255, 255, 0.7);
  --footer-line-inner: rgba(255, 255, 255, 0.25);
  --footer-border: var(--line);

  --detail-page-bg: #f5f5f5;

  --hero-text-color: #fff;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

html {
  background-color: var(--header-safe-color, var(--primary));
}

html:has(body[data-page="post"]) {
  background-color: var(--detail-page-bg);
}
body[data-page="post"] {
  background: var(--detail-page-bg);
  min-height: 100vh;
}
body[data-page="post"] .ctaSection {
  background: var(--detail-page-bg);
}

html:has(body[data-page="post"][data-post-type="listing"]) {
  background-color: var(--card);
}
body[data-page="post"][data-post-type="listing"] {
  background: var(--card);
}
body[data-page="post"][data-post-type="listing"] .ctaSection {
  background: var(--card);
}

.wrap {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 8px;
}
.section { margin: 14px 0; }
.panel {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.panel.pad { padding: 14px; }

@media (min-width: 900px) {
  .wrap { padding: 0 16px; }
  .section { margin: 20px 0; }
  .panel.pad { padding: 16px; }
}

header[data-module="topbar"] {
  padding-top: env(safe-area-inset-top, 0px);
  background: var(--primary);
  background-clip: border-box;
  color: var(--on-primary);
}
.topbar {
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}
#siteName,
.siteName {
  font-weight: 650;
  font-size: 25px;
  letter-spacing: .5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
#siteName {
  margin-left: -4px;
}
.backBtn {
  display: inline-flex;
  align-items: center;
  justify-content: flex-start;
  width: 40px;
  height: 40px;
  border: none;
  background: transparent;
  font-size: 22px;
  user-select: none;
  transition: opacity .15s;
  margin-left: -8px;
}
.backBtn svg { display: block; }
.backBtn:hover { opacity: .7; }
.menuBtn {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: none;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
  cursor: pointer;
  user-select: none;
  margin-right: -4px;
  transition: background .15s, opacity .15s;
}
.menuBtn:hover {
  background: rgba(255, 255, 255, 0.08);
}
.menuBtn:active {
  opacity: 0.85;
}
.menuBtn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.45);
  outline-offset: 2px;
}
.menuIcon {
  display: flex;
  flex-direction: column;
  gap: 3.0px;
  width: 26px;
}
.menuIcon span {
  display: block;
  height: 6px;
  background: #fff;
  border-radius: 3px;
}

@media (min-width: 900px) {
  #siteName,
  .backBtn { margin-left: -8px; }
  .menuBtn { margin-right: -8px; }
}

header[data-module="topbar"] .topbarMarquee {
  flex: 1;
  min-width: 0;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 8%, #000 92%, transparent);
}
header[data-module="topbar"] .topbarMarquee span {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;
  animation: marquee 12.5s linear infinite;
  font-size: 18px;
  font-weight: 600;
  color: rgba(255,255,255,.88);
  letter-spacing: .2px;
}
header[data-module="topbar"] #siteName,
header[data-module="topbar"] .siteName {
  flex-shrink: 1;
}
@media (min-width: 900px) {
  header[data-module="topbar"] #siteName,
  header[data-module="topbar"] .siteName {
    flex-shrink: 0;
    max-width: 40%;
  }
}
header[data-module="topbar"] .menuBtn { flex-shrink: 0; }
header[data-module="topbar"] .backBtn { flex-shrink: 0; }

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}
@media (max-width: 899px) {
  header[data-module="topbar"] .topbarMarquee span {
    animation: marquee 5.83s linear infinite;
  }
}
@media (prefers-reduced-motion: reduce) {
  header[data-module="topbar"] .topbarMarquee span {
    animation: none;
    padding-left: 0;
  }
}

body[data-page="post"] .topbarTitle {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  color: rgba(255,255,255,.88);
}

.overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 999;
}
.overlay.open { display: block; }
.drawer {
  position: absolute;
  top: 0;
  right: 0;
  width: 360px;
  max-width: 92vw;
  height: 100%;
  background: var(--drawer-bg);
  border-left: 1px solid var(--drawer-border);
  padding: 14px;
}
.drawerHead {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--drawer-border);
}
.drawerTitle {
  font-weight: 800;
  font-size: 16px;
  color: var(--drawer-title);
}
.drawerClose {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  user-select: none;
}
.drawerNav a {
  display: block;
  padding: 12px 10px;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
}

@media (min-width: 900px) {
  .drawer { width: 380px; padding: 18px; }
  .drawerNav a { padding: 14px 12px; font-size: 15px; }
}

.hero {
  position: relative;
  border-radius: 0;
  overflow: hidden;
  background: #111;
  margin-left: -8px;
  margin-right: -8px;
  min-height: clamp(420px, 62vh, 720px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.heroBg {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.8s ease;
}
.heroBg.is-active { opacity: 1; }
.heroBg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 20%;
  filter: brightness(.88) contrast(1.05);
}
.heroOverlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(0,0,0,.55),
    rgba(0,0,0,.15) 45%,
    rgba(0,0,0,.55)
  );
  z-index: 1;
}
.heroContent {
  position: relative;
  z-index: 2;
  padding: 26px 18px 40px;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 10px;
  color: #fff;
}
.heroDots {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
  z-index: 3;
}
.heroDot {
  width: 22px;
  height: 4px;
  border: none;
  border-radius: 2px;

  background: rgba(0,0,0,.18);
  padding: 0;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
.heroDot::after {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--primary);
  transform-origin: left;
  transform: scaleX(0);
}
.heroDot.is-active::after {
  transform: scaleX(1);
  transition: transform var(--dot-dur, 5000ms) linear;
}
.heroTitle {
  font-size: 32px;
  font-weight: 800;
  line-height: 1.1;
  text-align: center;
  color: var(--hero-text-color);
}
.heroDesc {
  max-width: 68ch;
  font-size: 18px;
  line-height: 1.6;
  opacity: .95;
  white-space: pre-line;
  text-align: center;
  align-self: center;
  color: var(--hero-text-color);
}

@media (min-width: 900px) {
  .hero {
    min-height: clamp(520px, 78vh, 920px);
    margin-left: -8px;
    margin-right: -8px;
  }
  .heroBg img { object-position: 50% 30%; }
  .heroContent {
    padding: 36px 25px;
    gap: 12px;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
  }
  .heroTitle { font-size: 36px; line-height: 1.15; }
  .heroDesc { font-size: 18px; line-height: 1.7; max-width: none; width: 100%; }
}

body[data-page="home"] .hero::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 88px;
  background: linear-gradient(to bottom, transparent, var(--cta-surface));
  pointer-events: none;
  z-index: 1;
}

body[data-page="home"] .ctaSection { margin-top: 0; margin-bottom: 0; }

body[data-page="home"] .featuredNotices {
  margin-top: 0;
  border-top-color: transparent;
}
body[data-page="home"] .featuredNotices::before {
  content: "";
  display: block;
  height: 26px;
  background: linear-gradient(
    to bottom,
    var(--cta-surface) 0,
    var(--cta-surface) 12px,
    var(--card) 26px
  );
  pointer-events: none;
}

body[data-page="home"] .featuredNotices:has(+ section[data-module="cards"]) {
  margin-bottom: 0;
  border-color: transparent;
  background: var(--card);
}
body[data-page="home"] .featuredNotices:has(+ section[data-module="cards"])::after {
  content: "";
  display: block;
  height: 14px;
  background: linear-gradient(
    to bottom,
    var(--card) 0,
    var(--card) 4px,
    color-mix(in srgb, var(--accent-bg) 15%, var(--card)) 14px
  );
  pointer-events: none;
}

@media (min-width: 900px) {
  body[data-page="home"] .hero::after { height: 108px; }
}

.featuredNotices {
  background: var(--card);
  border: 1px solid var(--line);
  overflow: hidden;
  margin-left: -8px;
  margin-right: -8px;
}
.noticeList a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px 14px;
  border-top: 1px solid var(--line);
}
.noticeList a:first-child { border-top: none; }
.noticeList .badge {
  width: 22px;
  height: 22px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary);
  color: var(--on-primary);
  font-size: 12px;
  font-weight: 800;
  flex: 0 0 auto;
}
.noticeTitle {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 14px;
  font-weight: 600;
}
.arrow { color: rgba(0,0,0,.35); }

@media (min-width: 900px) {
  .featuredNotices { margin-left: -8px; margin-right: -8px; }
  .noticeList a { padding: 14px 16px; }
  .noticeTitle { font-size: 15px; }
}

body[data-page="home"] { background: var(--bg); }
body[data-page="home"] section[data-module="cards"] {
  background: var(--accent-bg);
  margin-left: -8px;
  margin-right: -8px;
  padding-left: 8px;
  padding-right: 8px;
}

body[data-page="home"] .featuredNotices + section[data-module="cards"] {
  --listing-bridge-from: color-mix(in srgb, var(--accent-bg) 15%, var(--card));
  margin-top: 0;
  background-color: var(--accent-bg);
  background-image: linear-gradient(
    to bottom,
    var(--listing-bridge-from) 0,
    color-mix(in srgb, var(--accent-bg) 55%, var(--listing-bridge-from)) 13px,
    var(--accent-bg) 26px,
    var(--accent-bg) 100%
  );
  padding-top: 26px;
}
body[data-page="home"] .ctaSection + section[data-module="cards"] {
  --listing-bridge-from: var(--cta-surface);
  margin-top: 0;
  background-color: var(--accent-bg);
  background-image: linear-gradient(
    to bottom,
    var(--cta-surface) 0,
    color-mix(in srgb, var(--accent-bg) 45%, var(--cta-surface)) 13px,
    var(--accent-bg) 26px,
    var(--accent-bg) 100%
  );
  padding-top: 26px;
}

body[data-page="home"] section[data-module="cards"]:has(+ footer[data-module="footer"]) {
  margin-bottom: 0;
  padding-bottom: 22px;
}
body[data-page="home"] section[data-module="cards"] + footer[data-module="footer"] {
  margin-top: 0;
}
@media (min-width: 900px) {
  body[data-page="home"] section[data-module="cards"]:has(+ footer[data-module="footer"]) {
    padding-bottom: 28px;
  }
}
.infoblock-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 0;
}
.infoblock {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 6px;
  box-shadow: 0 10px 22px rgba(0,0,0,.06);
  overflow: hidden;
}

body[data-page="home"] section[data-module="cards"] .ib-topbar {

  display: block;
  width: fit-content;
  max-width: 100%;
  box-sizing: border-box;
  background: var(--bar-bg);
  color: var(--bar-text);
  font-size: 16px;
  font-weight: 800;

  padding: 6px 16px;
  text-align: left;
  white-space: pre-wrap;
  line-height: 1.6;
  overflow-wrap: anywhere;
  word-break: break-word;
  letter-spacing: .3px;
  border: 1px solid rgba(0,0,0,.05);
  border-radius: 8px;
  margin: 0 auto 10px;

  max-height: calc(14.4em + 14px);
  overflow: hidden;
}

@media (min-width: 900px) {
  body[data-page="home"] section[data-module="cards"] .ib-topbar {
    max-height: calc(11.2em + 14px);
  }
}

.cardbox .inner {
  background: var(--accent-bg);
  border: 1px solid rgba(0,0,0,.05);
  border-radius: 12px;
  overflow: hidden;
}
.cardbox .row { display: flex; gap: 10px; }

.cardbox .left {
  flex: 0 0 56%;
  max-width: 56%;
  position: relative;
}
.cardbox .left a {
  display: block;
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: 0 4px 14px var(--accent-shadow);
}
.cardbox .left img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cardbox .badges {
  position: absolute;
  bottom: 8px;
  left: 8px;
  display: flex;
  gap: 5px;
  flex-wrap: wrap;
}
.cardbox .badges .badge {
  width: auto;
  height: auto;
  display: inline-block;
  padding: 3px 9px;
  font-size: 11px;
  font-weight: 700;
  border-radius: 8px;
  color: #fff;
  line-height: 1.35;
  box-shadow: 0 2px 6px rgba(0,0,0,.18);
}
.cardbox .badges .badge.area   { background: var(--red); }
.cardbox .badges .badge.age    { background: var(--orange); }
.cardbox .badges .badge.height { background: var(--blue); }

.cardbox .right {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 8px 8px 8px 0;
}
.cardbox .right .title {
  font-size: 17px;
  font-weight: 800;
  color: var(--primary);
  margin: 0 0 6px;
  text-align: center;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-decoration: none;
}
.cardbox .right .title:hover {
  color: color-mix(in srgb, var(--primary) 75%, #000);
}

.cardbox .right .desc {
  font-size: 14px;
  line-height: 1.5;
  color: #000;
  margin: 0 0 10px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.cardbox .prices {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.cardbox .pricebtn {
  display: block;
  text-align: center;
  padding: 9px 10px;
  font-size: 13px;
  font-weight: 800;
  color: var(--primary);
  background: rgba(255,255,255,.86);
  border: 1px solid color-mix(in srgb, var(--primary) 12%, transparent);
  border-radius: 14px;
  text-decoration: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 2px 8px var(--accent-btn-shadow);
  transition: background .15s, box-shadow .15s;
}
.cardbox .pricebtn:hover {
  background: rgba(255,255,255,1);
  box-shadow: 0 4px 14px var(--accent-btn-shadow-hover);
}

@media (min-width: 900px) {
  body[data-page="home"] section[data-module="cards"] {

    margin-left: -8px;
    margin-right: -8px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .infoblock-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
    padding: 6px;
    align-items: end;
  }
  .cardbox .right .desc { -webkit-line-clamp: 4; }
}

@media (max-width: 420px) {
  .cardbox .right .title { font-size: 16px; }
  .cardbox .right .desc { -webkit-line-clamp: 3; }
  .cardbox .pricebtn { font-size: 12px; padding: 7px 8px; }
  .cardbox .badges .badge { font-size: 10px; padding: 2px 7px; }
}

.ctaSection {
  position: relative;
  z-index: auto;
  margin-left: -8px;
  margin-right: -8px;
}
.ctaSection--post { margin-top: 16px; }

.ctaPanel {
  background: var(--cta-surface);
  border-radius: 0;
  border: none;
  box-shadow: none;
  overflow: hidden;
}

.ctaTelRow {
  display: flex;
  flex-direction: column;
  align-items: center;

  padding: 12px 16px 4px;
  background: transparent;
}
.ctaTel {
  display: block;
  margin: 0;

  padding: 4px 10px;
  background: none;
  border: none;
  font: inherit;
  color: var(--primary);
  text-align: center;
  text-decoration: none;
  cursor: pointer;
}
.ctaTelMain {
  display: block;
  font-size: 31px;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: 1px;
  color: var(--primary);
}

.ctaPhonePanel {
  display: none;
  width: min(320px, calc(100vw - 32px));
  margin: 10px auto 4px;
  padding: 12px;
  background: var(--card);
  border: 1px solid var(--cta-lower-line);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(0,0,0,.08);
}
.ctaPhonePanel.is-open {
  display: block;
  animation: ctaPhonePanelIn 150ms ease-out;
}
@keyframes ctaPhonePanelIn {
  from { opacity: 0; transform: translateY(5px); }
  to   { opacity: 1; transform: translateY(0); }
}
@media (prefers-reduced-motion: reduce) {
  .ctaPhonePanel.is-open { animation: none; }
}

.ctaTelBtns { display: flex; gap: 10px; }
.ctaMiniBtn {
  flex: 1;
  min-height: 44px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 8px;
  border: none;
  border-radius: 12px;
  background: transparent;
  text-decoration: none;
  font-size: 22px; 
  transition: background .15s;
}
.ctaMiniBtn svg { display: block; }
.ctaMiniBtn:hover,
.ctaMiniBtn:active { background: color-mix(in srgb, var(--primary) 6%, transparent); }
.ctaMiniLabel {
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  color: var(--text);
}

.ctaMeta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;

  padding: 8px 16px;
  background: transparent;
  font-size: 16px;
  line-height: 1.6;
  color: var(--cta-lower-text);
  flex-wrap: wrap;
}

.ctaPanel > .ctaMeta:first-child { padding-top: 12px; padding-bottom: 10px; }

.ctaPill {
  background: transparent;
  color: var(--cta-lower-text);
  padding: 0;
  border-radius: 0;
  border: none;
  font-size: 15px;
  font-weight: 400;
  line-height: 24px;
}
.ctaDot  { color: var(--line); }
.ctaAddr {
  color: var(--cta-lower-text);
  font-size: 15px;
  font-weight: 400;
  line-height: 24px;
}

.ctaActions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  background: transparent;

  padding-top: 0;
  padding-bottom: 8px;
}
.ctaAction {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;

  padding: 10px 8px;
  background: transparent;
  border: none;
  position: relative;
  cursor: pointer;
  text-decoration: none;
  color: var(--text);
  font-family: inherit;
  transition: background .15s;
}

.ctaAction:not(:last-child)::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 22px;
  background: color-mix(in srgb, var(--cta-lower-line) 55%, transparent);
  pointer-events: none;
}
.ctaAction:hover      { background: rgba(0,0,0,.02); }
.ctaAction.is-active  {
  color: color-mix(in srgb, var(--primary) 76%, #1F2924 24%);
  background: #FFFFFF;
}
.ctaIcon {

  font-size: 24px;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.ctaIcon svg { width: 1em; height: 1em; }

.ctaAction[data-target="wechat"] .ctaIcon svg {
  width: 1em;
  height: 1em;
  transform: scale(1.12);
  transform-origin: center center;
}
.ctaText { font-size: 12px; font-weight: 600; }

.ctaMore { background: transparent; display: none; }
.ctaMore.is-open { display: block; }
.ctaMorePane { display: none; padding: 14px 16px; }
.ctaMorePane.is-show { display: block; }
.ctaRow {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 12px 14px;
}
.ctaRowLabel { font-size: 13px; color: var(--muted); flex-shrink: 0; }
.ctaRowValue {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ctaCopy {
  flex-shrink: 0;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  background: var(--primary);
  color: var(--on-primary);
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: opacity .15s;
}
.ctaCopy:hover { opacity: .9; }

@media (min-width: 900px) {
  .ctaSection { margin-left: -16px; margin-right: -16px; }
  .ctaPanel   { margin-left: 8px; margin-right: 8px; }

  .ctaTelRow  { padding: 16px 24px 8px; }
  .ctaTelMain { font-size: 36px; }
  .ctaPhonePanel { width: min(340px, calc(100vw - 32px)); }
  .ctaMiniBtn { font-size: 24px; }

  .ctaAction  { padding: 10px 12px; }
  .ctaAction:not(:last-child)::after { height: 22px; }
  .ctaIcon    { font-size: 29px; } 
  .ctaText    { font-size: 13px; }

  .ctaAction:not([data-target]) .ctaIcon {
    overflow: visible;
    line-height: 0;
  }
  .ctaAction:not([data-target]) .ctaIcon svg {
    display: block;
    overflow: visible;
    transform: translateY(1px);
  }
  .ctaMorePane { padding: 16px 24px; }
}
@media (max-width: 480px) {

  .ctaAction { padding: 6px 0; gap: 3px; }
  .ctaIcon   { font-size: 31px; } 
  .ctaText   { font-size: 10px; }
}

body[data-page="post"][data-post-type="listing"]
.ctaSection--post .ctaActions {

  padding-bottom: 18px;
}
@media (min-width: 481px) {
  body[data-page="post"][data-post-type="listing"]
  .ctaSection--post .ctaActions {

    padding-bottom: 14px;
  }
}

footer { margin: 22px -8px 0; }
.footerBox {
  text-align: center;
  padding: 18px 14px;
  background: var(--footer-bg);
  color: var(--footer-text);
  border: 1px solid var(--footer-border);
  overflow: hidden;
}
.footerBox [data-site="name"] {
  font-size: 26px;
  letter-spacing: .8px;
  line-height: 1.1;
}
.footerSite {
  font-size: 26px;
  font-weight: 500;
  line-height: 1.2;
}
.footerDomain {
  margin-top: 6px;
  font-size: 14px;
  letter-spacing: .5px;
  color: var(--footer-text);
}
.footerQrWrap{ margin: 12px 0; text-align:center; }
.footerQr{ display:block; margin:0 auto; width:120px; height:120px; max-width:60%; object-fit:contain; }
.footerContacts{ margin: 10px 0 4px; text-align:center; }
.footerContactItem{ font-size: 13px; line-height: 1.9; color: rgba(255, 255, 255, 0.48); letter-spacing:.3px; }
.footerDivider {
  margin: 22px auto 18px;
  width: 60%;
  height: 1px;
  background: var(--footer-line-inner);
}
.footerPartners {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.footerPartnerLogo { height: 44px; width: auto; display: block; }
.supportPack {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.48);
}
.supportName { color: var(--footer-text); }
.footerCopyright {
  margin-top: 14px;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.48);
}

@media (min-width: 900px) {
  footer { margin: 28px -16px 0; }
  .footerBox { padding: 24px 20px; margin-left: 8px; margin-right: 8px; }
  .footerSite { font-size: 26px; }
}

.post-title {
  font-size: 24px;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 12px;
  color: var(--text);
}
@media (min-width: 900px) {
  .post-title { font-size: 30px; max-width: 80%; }
}
@media (max-width: 899px) {
  .post-title { font-size: 22px; }
}

body[data-post-type="notice"] .notice-title-block {
  margin-top: 18px;
  padding: 16px 18px 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(0,0,0,.04);
}
body[data-post-type="notice"] .notice-title-block .post-title {
  font-size: 20px;
  font-weight: 800;
  line-height: 1.4;
  color: var(--text);
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
body[data-post-type="notice"] .notice-title-block .noticePrefix {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  background: var(--primary);
  color: var(--on-primary);
  margin-right: 8px;
  vertical-align: middle;
  position: relative;
  top: -1px;
}
body[data-post-type="notice"] .notice-meta {
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}
body[data-post-type="notice"] .notice-body {
  padding: 14px 18px 16px;
  margin-top: 12px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 6px 18px rgba(0,0,0,.04);
}

.listing-hero {
  padding: 16px;
  border-radius: 0;
  margin-left: -8px;
  margin-right: -8px;
  background:
    radial-gradient(1200px 300px at 20% -20%, var(--sub), transparent 60%),
    linear-gradient(to bottom, var(--card), var(--card));
}
.listing-hero .heroRow {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.listing-hero .avatar {
  width: 76px;
  aspect-ratio: 1 / 1;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--placeholder);
  flex: 0 0 auto;
  box-shadow: 0 10px 24px rgba(0,0,0,.08);
}
.listing-hero .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.listing-hero .heroMain {
  flex: 1;
  min-width: 0;
}
.listing-hero .heroTitle {
  margin: 2px 0 6px;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 900;
  color: var(--primary);
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  text-align: left;
}
.listing-hero .heroMeta {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  align-items: center;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 8px;
}

body[data-page="post"][data-post-type="listing"] main.wrap { padding-top: 0; }
body[data-page="post"][data-post-type="listing"] .listing-hero {
  background:
    radial-gradient(
      800px 200px at 20% -20%,
      color-mix(in srgb, var(--primary) 10%, var(--card)),
      transparent 60%
    ),
    var(--card);

  border-color: transparent;
  box-shadow: none;
}
body[data-page="post"][data-post-type="listing"] .listing-hero .heroRow {
  display: flex;
  align-items: flex-start;
}
body[data-page="post"][data-post-type="listing"] .listing-hero .heroMain {
  flex: 1 1 auto;
  min-width: 0;
}
body[data-page="post"][data-post-type="listing"] .listing-hero .heroTitle {
  font-size: 18px;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: 0.2px;
  max-width: 100%;
}

body[data-page="post"][data-post-type="listing"]
.listing-hero .heroMetaProfile {
  display: inline-flex;
  align-items: stretch;
  gap: 0;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  height: 26px;
  background: transparent;
  border: 1px solid rgb(235, 213, 182);
  border-radius: 3px;
  box-shadow: none;
  overflow: hidden;
}
body[data-page="post"][data-post-type="listing"]
.listing-hero .heroMetaProfileMain,
body[data-page="post"][data-post-type="listing"]
.listing-hero .heroMetaProfileHeight {
  display: inline-flex;
  align-items: center;
  box-sizing: border-box;
  height: auto;
  font-size: 14px;
  font-weight: 400;
  line-height: normal;
  padding: 2px 5px;
  border: none;
  border-radius: 0;
  box-shadow: none;
  white-space: nowrap;
  color: rgb(210, 127, 72);
}
body[data-page="post"][data-post-type="listing"]
.listing-hero .heroMetaProfileMain {
  background: rgb(248, 241, 235);
}
body[data-page="post"][data-post-type="listing"]
.listing-hero .heroMetaProfileHeight {
  background: rgb(255, 255, 255);
}

@media (max-width: 420px) {
  .listing-hero .avatar { width: 64px; border-radius: 14px; }
  .listing-hero .heroTitle { font-size: 16px; }
}
@media (min-width: 768px) {
  body[data-page="post"][data-post-type="listing"] .listing-hero .heroTitle { font-size: 20px; }
}
@media (min-width: 900px) {
  .listing-hero { margin-left: -8px; margin-right: -8px; }
}

.listingServices {
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 0;
  padding: 16px;
  margin: 14px -8px;
}
.pkgList {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.pkgItem {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}
.pkgItem:last-child  { border-bottom: none; padding-bottom: 0; }
.pkgItem:first-child { padding-top: 0; }
.listingServices .pkgPrice {
  font-size: 18px;
  font-weight: 500;
  color: var(--primary);
  margin-bottom: 4px;
}
.listingServices .pkgDescText {
  color: var(--text);
  font-weight: 400;
  font-size: 16px;
  line-height: 1.6;
}

body[data-page="post"][data-post-type="listing"] .listingServices {
  border-color: transparent;
  padding-top: 0;
  padding-right: 16px;
  padding-bottom: 20px;
  padding-left: 16px;
}
body[data-page="post"][data-post-type="listing"] .listingServices .pkgItem {
  padding-top: 0;
  padding-right: 0;
  padding-bottom: 0;
  padding-left: 0;
  border-bottom: none;
}
body[data-page="post"][data-post-type="listing"] .listingServices .pkgItem + .pkgItem {
  margin-top: 5px;
  padding-top: 10px;
  border-top: 1px solid color-mix(in srgb, var(--line) 55%, var(--card));
}
body[data-page="post"][data-post-type="listing"] .listingServices .pkgPrice {
  font-size: 18px;
  font-weight: 400;
  line-height: normal;
  margin-bottom: 0;
  color: var(--primary);
}
body[data-page="post"][data-post-type="listing"] .listingServices .pkgDescText {
  position: relative;
  font-size: 16px;
  font-weight: 400;
  line-height: 20px;
  color: var(--text);
  padding-top: 5px;
  padding-right: 0;
  padding-bottom: 5px;

  padding-left: 20px;
  letter-spacing: normal;
}
body[data-page="post"][data-post-type="listing"] .listingServices .pkgDescText::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px; 
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--primary) 22%, var(--card));
}

body[data-page="post"][data-post-type="listing"] .listing-profile-detail {
  padding: 16px;

  padding-bottom: 48px;
  border-radius: 0;
  margin-left: -8px;
  margin-right: -8px;
  background: var(--detail-page-bg);
  background-image: none;
  border-color: transparent; 
}

body[data-page="post"][data-post-type="listing"]
.listingServices:has(+ .listing-profile-detail) {
  margin-bottom: 0; 
}
body[data-page="post"][data-post-type="listing"]
.listing-profile-detail + .ctaSection--post {
  margin-top: 0; 

  margin-bottom: 0;
}

.listing-profile-detail .profileHead {
  position: relative;

  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.listing-profile-detail .pillTitle {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 0 18px;
  height: 30px;
  line-height: 30px;
  border-radius: 999px;
  background: var(--primary);
  color: var(--on-primary);
  font-weight: 400;
  font-size: 14px;
  letter-spacing: .2px;
  box-shadow: none;
  white-space: nowrap;
}
.listing-profile-detail .profileText {
  margin: 0;
  font-size: 16px;
  color: var(--text-body);
  line-height: 1.8;
}
.listing-profile-detail .profileText p {
  margin: 0 0 .6em;
  white-space: pre-line;
}
.listing-profile-detail .profileText p:last-child { margin-bottom: 0; }

.galleryBlock { margin: 16px 0; }
.galleryGrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
.galleryItem {
  margin: 0;
  padding: 0;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--line);
  aspect-ratio: 3 / 4;
  cursor: pointer;
  position: relative; 
}
.galleryItem img,
.galleryItem video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.galleryItem[data-kind="video"]::after {
  content: "\25B6"; 
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: #fff;
  background: rgba(0, 0, 0, .28);
  pointer-events: none;
}

@media (min-width: 520px) {
  .galleryGrid { gap: 12px; }
}

.gallery-lb { position: fixed; inset: 0; display: none; z-index: 9999; }
.gallery-lb.is-open { display: block; }
.gallery-lb__backdrop { position: absolute; inset: 0; background: rgba(0,0,0,.92); }
.gallery-lb__swiper { position: absolute; inset: 0; }
.gallery-lb .swiper-slide { display: flex; align-items: center; justify-content: center; }
.gallery-lb .swiper-slide img,
.gallery-lb .swiper-slide video { max-width: 100vw; max-height: 100vh; object-fit: contain; user-select: none; -webkit-user-select: none; }
.gallery-lb .swiper-pagination { color: rgba(255,255,255,.9); font-size: 14px; text-align: center; bottom: 24px !important; }
body.lb-lock { overflow: hidden; touch-action: none; }

.gallery-lb__close {
  position: fixed;
  top: max(12px, env(safe-area-inset-top));
  right: max(12px, env(safe-area-inset-right));
  z-index: 2147483640;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  border-radius: 50%;
  background: rgba(0, 0, 0, .55);
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  pointer-events: auto;
  -webkit-tap-highlight-color: transparent;
}
.gallery-lb__close[hidden] {
  display: none !important;
}

.gallery-lb .swiper-slide .gallery-lb__video-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: max(56px, env(safe-area-inset-top)) 16px max(64px, env(safe-area-inset-bottom));
  box-sizing: border-box;
  pointer-events: auto;
}

.gallery-lb .swiper-slide .gallery-lb__video-wrap video {
  display: block;
  width: auto;
  height: auto;
  max-width: min(92vw, 960px);
  max-height: calc(100dvh - 120px);
  object-fit: contain;
  background: #000;
  pointer-events: auto;
}

@media (max-aspect-ratio: 1/1) {
  .gallery-lb .swiper-slide .gallery-lb__video-wrap video {
    max-height: min(calc(100dvh - 120px), 82vh);
  }
}
