:root {
  --nav-h: 76px;
  --bg: #f3ebdd;
  --bg-soft: #ece2d1;
  --card: #fdf8ef;
  --ink: #3a3226;
  --ink-soft: #6f6455;
  --strong: #2a231a;
  --line: #ddd0ba;
  --accent: #4b83c4;
  --clay: #b4653f;
  --olive: #6d7a4b;
  --ocean: #3d6d8c;
  --plum: #7c5570;
  --nav-bg: rgba(246, 239, 227, .9);
  --shadow: 0 12px 30px rgba(93, 74, 48, .1);
  --radius: 12px;
}

[data-theme="dark"] {
  --bg: #171512;
  --bg-soft: #1f1c18;
  --card: #221e19;
  --ink: #e9dfcf;
  --ink-soft: #a2957f;
  --strong: #f4ecdf;
  --line: #383026;
  --accent: #7fb4e6;
  --clay: #c07a51;
  --olive: #8b9763;
  --ocean: #6fa3c4;
  --plum: #a67b9c;
  --nav-bg: rgba(23, 21, 18, .88);
  --shadow: 0 12px 30px rgba(0, 0, 0, .38);
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Source Han Sans SC", system-ui, -apple-system, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  transition: background .25s ease, color .25s ease;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
}

svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ym-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 60;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 max(clamp(16px, 4vw, 40px), calc((100% - 1180px) / 2));
  background: var(--nav-bg);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}

.ym-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--strong);
  user-select: none;
  -webkit-user-select: none;
}

.ym-logo {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  box-shadow: 0 2px 8px rgba(70, 55, 35, .18);
}

.ym-brand-name {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: .6px;
}

.ym-menu {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 2px;
}

.ym-menu-link {
  padding: 8px 13px;
  border: 0;
  border-radius: 9px;
  background: transparent;
  font-family: inherit;
  font-size: 15px;
  line-height: 1.5;
  color: var(--ink-soft);
  text-decoration: none;
  cursor: pointer;
  transition: background .2s ease, color .2s ease;
}

.ym-menu-link:hover {
  background: var(--bg-soft);
  color: var(--ink);
}

.ym-menu-link.is-on {
  background: var(--bg-soft);
  color: var(--strong);
  font-weight: 600;
}

.ym-nav-contact {
  position: relative;
}

.ym-nav-contact-btn .ym-caret {
  margin-left: 4px;
  color: var(--clay);
  font-size: 12px;
}

.ym-nav-contact-panel {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  z-index: 70;
  display: grid;
  gap: 2px;
  min-width: 238px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}

.ym-nav-contact-panel.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.ym-nav-contact-panel a,
.ym-nav-contact-row {
  display: grid;
  grid-template-columns: 26px minmax(0, 1fr);
  align-items: center;
  gap: 2px 10px;
  padding: 8px 10px;
  border-radius: 9px;
  color: var(--ink);
  text-decoration: none;
}

.ym-nav-contact-panel a:hover {
  background: var(--bg-soft);
}

.ym-nav-contact-panel img {
  grid-row: 1 / 3;
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.ym-nav-contact-name {
  color: var(--strong);
  font-size: 13.5px;
  font-weight: 600;
}

.ym-nav-contact-value {
  color: var(--ink-soft);
  font-size: 12.5px;
  overflow-wrap: anywhere;
}

.ym-nav-contact-none {
  padding: 10px 12px;
  color: var(--ink-soft);
  font-size: 13px;
}

.ym-theme {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: 10px;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink);
  font-size: 14px;
  font-family: inherit;
  cursor: pointer;
}

.ym-theme svg {
  width: 16px;
  height: 16px;
}

.ym-theme .ym-icon-moon {
  display: block;
}

.ym-theme .ym-icon-sun {
  display: none;
}

[data-theme="dark"] .ym-theme .ym-icon-moon {
  display: none;
}

[data-theme="dark"] .ym-theme .ym-icon-sun {
  display: block;
}

.ym-burger {
  display: none;
  margin-left: auto;
  width: 40px;
  height: 40px;
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  color: var(--ink);
  cursor: pointer;
}

.ym-nav-contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.ym-nav-contact-btn.is-open {
  background: var(--bg-soft);
  color: var(--strong);
}

.ym-snap {
  height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

.ym-snap::-webkit-scrollbar {
  width: 0;
}

.ym-sec {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: calc(var(--nav-h) + 30px) 0 46px;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.ym-sec-inner {
  width: min(1160px, 100% - 48px);
  margin: 0 auto;
}

.ym-sec-tall {
  align-items: flex-start;
}

.ym-hero {
  overflow: hidden;
  color: #fff;
  text-align: center;
}

.ym-hero-photo {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: .74;
}

.ym-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(26, 20, 14, .44), rgba(26, 20, 14, .6));
}

.ym-hero-inner {
  position: relative;
  z-index: 2;
  width: min(900px, 100% - 48px);
  margin: 0 auto;
  user-select: none;
  -webkit-user-select: none;
}

.ym-hero-title {
  margin: 0 0 18px;
  font-size: clamp(38px, 7vw, 76px);
  font-weight: 800;
  letter-spacing: 6px;
  text-shadow: 0 6px 26px rgba(0, 0, 0, .38);
}

.ym-hero-accent {
  color: #8fc6f0;
}

.ym-hero-sub {
  margin: 0 auto;
  font-size: clamp(16px, 2.2vw, 22px);
  letter-spacing: 2px;
  color: #ffffff;
  text-shadow: 0 4px 18px rgba(0, 0, 0, .45);
}

.ym-hero-note {
  margin: 16px auto 0;
  max-width: 620px;
  font-size: 14.5px;
  color: rgba(255, 255, 255, .82);
}

.ym-hero-hint {
  position: absolute;
  left: 50%;
  bottom: 26px;
  z-index: 2;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: rgba(255, 255, 255, .8);
  font-size: 12px;
  letter-spacing: 2px;
  animation: ym-float 2.4s ease-in-out infinite;
}

.ym-hero-hint svg {
  width: 20px;
  height: 20px;
}

.ym-hero-hint em {
  font-style: normal;
}

@keyframes ym-float {
  0%, 100% { transform: translate(-50%, 0); }
  50% { transform: translate(-50%, 8px); }
}

.ym-about {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: clamp(24px, 4vw, 54px);
  align-items: center;
}

.ym-about-side {
  display: flex;
  justify-content: center;
}

.ym-about-photo {
  width: min(280px, 62vw);
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  background: var(--card);
  box-shadow: var(--shadow);
}

.ym-tag {
  display: inline-block;
  margin: 0 0 12px;
  padding: 4px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink-soft);
  font-size: 13px;
  letter-spacing: 3px;
}

.ym-about-name {
  margin: 0 0 20px;
  font-size: clamp(26px, 3.4vw, 38px);
  font-weight: 800;
  color: var(--strong);
  letter-spacing: 2px;
}

.ym-facts {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 10px 22px;
  margin: 0 0 20px;
}

.ym-fact {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 9px 14px;
  border-left: 3px solid var(--line);
  background: linear-gradient(90deg, var(--bg-soft), transparent);
}

.ym-fact dt {
  flex: 0 0 auto;
  color: var(--ink-soft);
  font-size: 13px;
  letter-spacing: 1px;
}

.ym-fact dd {
  margin: 0;
  color: var(--strong);
  font-size: 15px;
  font-weight: 600;
}

.ym-about-text {
  margin: 0;
  max-width: 640px;
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.9;
}

.ym-board {
  display: grid;
  grid-template-columns: minmax(240px, .8fr) 1.2fr;
  gap: clamp(24px, 4vw, 56px);
  align-items: center;
}

.ym-board-title {
  margin: 0 0 10px;
  font-size: clamp(26px, 3.4vw, 40px);
  font-weight: 800;
  color: var(--strong);
  letter-spacing: 3px;
}

.ym-board-sub {
  margin: 0 0 26px;
  color: var(--ink-soft);
  font-size: 16px;
  letter-spacing: 1px;
}

.ym-board-count {
  margin: 16px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  letter-spacing: .5px;
}

.ym-art-name em {
  display: block;
  font-style: normal;
}

.ym-art-name small {
  display: block;
  margin-top: 2px;
  color: rgba(255, 255, 255, .78);
  font-size: 11.5px;
}

.ym-btn {
  display: inline-block;
  padding: 13px 30px;
  border: 0;
  border-radius: 0;
  color: #fff;
  font-size: 15px;
  font-weight: 600;
  font-family: inherit;
  letter-spacing: 1px;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform .18s ease, filter .18s ease;
}

.ym-btn:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

.ym-btn-clay { background: var(--clay); }
.ym-btn-olive { background: var(--olive); }
.ym-btn-ocean { background: var(--ocean); }
.ym-btn-plum { background: var(--plum); }

.ym-board-arts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.ym-art {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 10px;
  background: var(--bg-soft);
  box-shadow: var(--shadow);
}

.ym-art img {
  display: block;
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  transition: transform .4s ease;
}

.ym-art:hover img {
  transform: scale(1.04);
}

.ym-art-name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 24px 10px 9px;
  background: linear-gradient(180deg, transparent, rgba(20, 15, 10, .68));
  color: #fff;
  font-size: 13px;
  text-align: right;
}

.ym-board-arts .ym-empty-line {
  grid-column: 1 / -1;
}

.ym-news-block {
  width: min(1160px, 100% - 48px);
  margin: 0 auto;
}

.ym-news-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  margin-bottom: 22px;
}

.ym-news-title {
  margin: 0;
  font-size: clamp(24px, 3.2vw, 36px);
  font-weight: 800;
  color: var(--strong);
  letter-spacing: 2px;
}

.ym-news-list {
  display: grid;
  gap: 14px;
}

.ym-post {
  display: flex;
  gap: 20px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

.ym-post-main {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.ym-post-title {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 700;
  color: var(--strong);
  letter-spacing: .5px;
}

.ym-post-text {
  margin: 0 0 12px;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.8;
}

.ym-post-body {
  margin: 0 0 12px;
  padding: 12px 14px;
  border-left: 3px solid var(--line);
  border-radius: 0 8px 8px 0;
  background: var(--bg-soft);
  color: var(--ink);
  font-size: 14.5px;
  line-height: 1.9;
}

.ym-post-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: auto;
  color: var(--ink-soft);
  font-size: 13px;
}

.ym-post-toggle {
  padding: 3px 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: transparent;
  color: var(--ink-soft);
  font-size: 12.5px;
  font-family: inherit;
  cursor: pointer;
}

.ym-post-toggle:hover {
  color: var(--ink);
  border-color: var(--ink-soft);
}

.ym-post-media {
  flex: 0 0 208px;
  display: grid;
  place-items: center;
  min-height: 122px;
  overflow: hidden;
  border-radius: 10px;
  background: var(--bg-soft);
}

.ym-post-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ym-post-blank {
  color: var(--ink-soft);
  font-size: 13px;
  letter-spacing: 1px;
}

.ym-plans {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: clamp(24px, 3.4vw, 46px);
  align-items: start;
}

.ym-block-title {
  margin: 0 0 18px;
  font-size: clamp(22px, 2.6vw, 30px);
  font-weight: 800;
  color: var(--strong);
  letter-spacing: 3px;
}

.ym-plan-col {
  min-width: 0;
}

.ym-trip {
  padding: 16px 20px 18px;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--card);
  box-shadow: var(--shadow);
}

.ym-trip-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.ym-trip-date {
  color: var(--ink-soft);
  font-size: 13px;
  letter-spacing: 1px;
}

.ym-trip-state {
  padding: 3px 12px;
  border-radius: 0;
  color: #fff;
  font-size: 12.5px;
  letter-spacing: 1px;
}

.ym-trip-state.is-done { background: #7c8577; }
.ym-trip-state.is-now { background: var(--clay); }
.ym-trip-state.is-soon { background: var(--ocean); }

.ym-trip-name {
  margin: 0 0 8px;
  font-size: 19px;
  font-weight: 800;
  color: var(--strong);
}

.ym-trip-place {
  display: flex;
  align-items: center;
  gap: 6px;
  margin: 0 0 8px;
  color: var(--ink-soft);
  font-size: 14px;
}

.ym-trip-place svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
}

.ym-trip-sum {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.8;
}

.ym-contacts {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ym-contact {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  min-height: 76px;
  border: 1px solid var(--line);
  border-radius: 0;
  background: var(--card);
  box-shadow: var(--shadow);
}

.ym-contact-icon {
  width: 36px;
  height: 36px;
  object-fit: contain;
  flex: 0 0 36px;
}

.ym-contact-info {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.ym-contact-info em {
  color: var(--ink-soft);
  font-size: 12.5px;
  font-style: normal;
  letter-spacing: 1px;
}

.ym-contact-info strong {
  color: var(--strong);
  font-size: 15px;
  font-weight: 600;
  overflow-wrap: anywhere;
}

.ym-contact-info strong.is-blank {
  color: var(--ink-soft);
  font-weight: 400;
  font-size: 13.5px;
}

.ym-dots {
  position: fixed;
  right: 20px;
  top: 50%;
  z-index: 40;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ym-dot {
  width: 9px;
  height: 9px;
  padding: 0;
  border: 1px solid var(--ink-soft);
  border-radius: 50%;
  background: transparent;
  opacity: .5;
  cursor: pointer;
  transition: all .2s ease;
}

.ym-dot.is-on {
  opacity: 1;
  background: var(--accent);
  border-color: var(--accent);
  transform: scale(1.25);
}

.ym-wrap {
  width: min(1120px, 100% - 40px);
  margin: 0 auto;
  padding: calc(var(--nav-h) + 52px) 0 64px;
}

.ym-lead {
  margin-bottom: 30px;
}

.ym-lead-title {
  margin: 0 0 12px;
  font-size: clamp(26px, 4vw, 42px);
  font-weight: 800;
  color: var(--strong);
  letter-spacing: 2px;
}

.ym-lead-sub {
  margin: 0;
  max-width: 760px;
  color: var(--ink-soft);
  font-size: 14.5px;
  line-height: 1.9;
}

.ym-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.ym-chip {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 7px 15px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--card);
  color: var(--ink-soft);
  font-size: 13.5px;
  font-family: inherit;
  cursor: pointer;
  transition: all .2s ease;
}

.ym-chip span {
  color: var(--ink-soft);
  font-size: 12px;
  opacity: .75;
}

.ym-chip:hover {
  color: var(--ink);
}

.ym-chip.is-on {
  border-color: var(--accent);
  background: var(--accent);
  color: #fff;
}

.ym-chip.is-on span {
  color: rgba(255, 255, 255, .8);
}

.ym-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}

.ym-kicker::before {
  content: "";
  width: 26px;
  height: 2px;
  background: currentColor;
}

.ym-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

.ym-stats li {
  display: flex;
  align-items: baseline;
  gap: 8px;
  padding: 10px 18px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--card);
  box-shadow: var(--shadow);
}

.ym-stats strong {
  color: var(--strong);
  font-size: 19px;
  font-weight: 800;
}

.ym-stats span {
  color: var(--ink-soft);
  font-size: 13px;
}

.ym-wall {
  columns: 260px;
  column-gap: 16px;
  margin-top: 26px;
}

.ym-shot {
  position: relative;
  margin: 0 0 16px;
  break-inside: avoid;
}

.ym-shot-frame {
  position: relative;
  overflow: hidden;
  border-radius: 12px;
  background: var(--bg-soft);
  cursor: zoom-in;
  box-shadow: var(--shadow);
}

.ym-shot img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform .5s cubic-bezier(.16, 1, .3, 1);
}

.ym-shot:hover img {
  transform: scale(1.04);
}

.ym-shot-open {
  position: absolute;
  right: 10px;
  bottom: 10px;
  padding: 5px 11px;
  border-radius: 999px;
  background: rgba(20, 16, 11, .68);
  color: #fff;
  font-size: 12px;
  opacity: 0;
  transform: translateY(6px);
  transition: opacity .22s ease, transform .22s ease;
}

.ym-shot:hover .ym-shot-open {
  opacity: 1;
  transform: translateY(0);
}

.ym-shot-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px 4px 0;
}

.ym-shot-info strong {
  color: var(--strong);
  font-size: 14.5px;
  font-weight: 700;
}

.ym-shot-meta {
  color: var(--ink-soft);
  font-size: 12.5px;
}

.ym-wall-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.ym-viewer {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 3vw, 34px);
  background: rgba(12, 10, 8, .93);
  overflow: hidden;
}

.ym-viewer[hidden] {
  display: none;
}

.ym-viewer-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  max-width: min(86vw, 1200px);
  max-height: 88vh;
}

.ym-viewer-img {
  max-width: min(86vw, 1200px);
  max-height: 74vh;
  border-radius: 10px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: none;
  cursor: grab;
  will-change: transform;
}

.ym-viewer-img.is-drag {
  cursor: grabbing;
}

.ym-viewer-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-align: center;
}

.ym-viewer-info strong {
  color: #fff;
  font-size: 16px;
  font-weight: 700;
}

.ym-viewer-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 14px;
  color: rgba(255, 255, 255, .68);
  font-size: 12.5px;
}

.ym-viewer-meta em {
  font-style: normal;
}

.ym-viewer-step {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  padding: 15px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .13);
  color: #fff;
  cursor: pointer;
  transition: background .2s ease, transform .2s ease;
}

.ym-viewer-step:hover {
  background: rgba(255, 255, 255, .28);
  transform: scale(1.06);
}

.ym-viewer.is-single .ym-viewer-step {
  display: none;
}

.ym-viewer-x {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 46px;
  height: 46px;
  padding: 12px;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .15);
  color: #fff;
  cursor: pointer;
  transition: background .2s ease;
}

.ym-viewer-x:hover {
  background: rgba(255, 255, 255, .28);
}

.ym-viewer-bar {
  position: absolute;
  left: 50%;
  bottom: 4vh;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px;
  border-radius: 16px;
  background: rgba(255, 255, 255, .13);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.ym-viewer-bar button {
  width: 44px;
  height: 44px;
  padding: 12px;
  border: 0;
  border-radius: 11px;
  background: transparent;
  color: #fff;
  cursor: pointer;
  transition: background .2s ease;
}

.ym-viewer-bar button:hover {
  background: rgba(255, 255, 255, .18);
}

.ym-viewer-count {
  padding: 0 12px;
  color: rgba(255, 255, 255, .82);
  font-size: 13px;
  letter-spacing: 1px;
}

.ym-search {
  position: relative;
  z-index: 20;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  padding: 10px 12px 10px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

.ym-search-input {
  flex: 1 1 240px;
  display: flex;
  align-items: center;
  gap: 9px;
  min-width: 0;
}

.ym-search-input svg {
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  color: var(--ink-soft);
}

.ym-search input[type="text"] {
  width: 100%;
  padding: 6px 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  font-size: 15px;
  font-family: inherit;
  outline: none;
}

.ym-search input::placeholder {
  color: var(--ink-soft);
  opacity: .8;
}

.ym-search-date {
  position: relative;
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 0 1 190px;
  padding-left: 12px;
  border-left: 1px solid var(--line);
}

.ym-search-date input {
  cursor: pointer;
}

.ym-search-clear {
  width: 26px;
  height: 26px;
  padding: 7px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
}

.ym-search-clear:hover {
  background: var(--bg-soft);
  color: var(--ink);
}

.ym-search-go {
  padding: 10px 26px;
  border: 0;
  border-radius: 9px;
  background: var(--ocean);
  color: #fff;
  font-size: 15px;
  font-family: inherit;
  cursor: pointer;
}

.ym-search-go:hover {
  filter: brightness(1.08);
}

.ym-search-reset {
  color: var(--ink-soft);
  font-size: 13.5px;
  text-decoration: none;
}

.ym-search-reset:hover {
  color: var(--ink);
}

.ym-cal {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  z-index: 50;
  width: 292px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
  box-shadow: var(--shadow);
}

.ym-cal[hidden] {
  display: none;
}

.ym-cal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.ym-cal-title {
  color: var(--strong);
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 1px;
}

.ym-cal-nav {
  display: flex;
  gap: 4px;
}

.ym-cal-nav button {
  width: 28px;
  height: 28px;
  padding: 7px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--ink-soft);
  cursor: pointer;
}

.ym-cal-nav button:hover {
  color: var(--ink);
  background: var(--bg-soft);
}

.ym-cal-week,
.ym-cal-days {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
}

.ym-cal-week span {
  padding: 4px 0;
  color: var(--ink-soft);
  font-size: 12px;
  text-align: center;
}

.ym-cal-days button {
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: var(--ink);
  font-size: 13.5px;
  font-family: inherit;
  cursor: pointer;
}

.ym-cal-days button:hover {
  background: var(--bg-soft);
}

.ym-cal-days button.is-out {
  color: var(--ink-soft);
  opacity: .45;
}

.ym-cal-days button.is-today {
  box-shadow: inset 0 0 0 1px var(--line);
}

.ym-cal-days button.is-on {
  background: var(--accent);
  color: #fff;
  font-weight: 600;
}

.ym-cal-foot {
  display: flex;
  justify-content: space-between;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid var(--line);
}

.ym-cal-foot button {
  padding: 5px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: transparent;
  color: var(--ink-soft);
  font-size: 13px;
  font-family: inherit;
  cursor: pointer;
}

.ym-cal-foot button:hover {
  color: var(--ink);
}

.ym-news-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 18px;
  margin: 22px 0 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
  font-size: 13.5px;
}

.ym-news-page-hint {
  color: var(--ink-soft);
  font-size: 12.5px;
  opacity: .85;
}

.ym-pager {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 34px 0 6px;
  padding-top: 26px;
  border-top: 1px solid var(--line);
}

.ym-pager-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  padding: 11px;
  border: 1px solid var(--line);
  border-radius: 11px;
  background: var(--card);
  color: var(--ink-soft);
  text-decoration: none;
  transition: border-color .18s ease, color .18s ease, transform .18s ease;
}

.ym-pager-arrow:hover {
  border-color: var(--clay);
  color: var(--clay);
  transform: translateY(-1px);
}

.ym-pager-arrow.is-off {
  opacity: .32;
  pointer-events: none;
}

.ym-pager-nums {
  display: flex;
  align-items: center;
  gap: 6px;
}

.ym-pager-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 10px;
  border: 1px solid transparent;
  border-radius: 9px;
  color: var(--ink-soft);
  font-size: 14.5px;
  text-decoration: none;
  transition: color .18s ease, background .18s ease, border-color .18s ease;
}

.ym-pager-num:hover {
  background: var(--bg-soft);
  color: var(--strong);
}

.ym-pager-num.is-on {
  border-color: var(--clay);
  border-radius: 9px;
  background: var(--card);
  color: var(--strong);
  font-weight: 700;
}

.ym-pager-gap {
  padding: 0 2px;
  color: var(--ink-soft);
  opacity: .6;
}

.ym-empty-line {
  margin: 26px 0;
  padding: 34px 20px;
  border: 1px dashed var(--line);
  border-radius: var(--radius);
  color: var(--ink-soft);
  font-size: 14.5px;
  text-align: center;
}

.ym-empty-page {
  text-align: center;
}

.ym-empty-page h1 {
  margin: 40px 0 12px;
  font-size: 30px;
  color: var(--strong);
}

.ym-empty-page p {
  margin: 0 0 26px;
  color: var(--ink-soft);
}

.ym-legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 4px 16px;
  margin: 0;
  padding: 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.8;
  text-align: center;
}

.ym-legal-icp {
  color: var(--ink-soft);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color .18s ease, border-color .18s ease;
}

.ym-legal-icp:hover {
  color: var(--clay);
  border-bottom-color: var(--clay);
}

.ym-legal-wrap {
  position: absolute;
  left: 50%;
  bottom: 16px;
  width: min(1120px, 100% - 40px);
  transform: translateX(-50%);
}

.ym-foot {
  border-top: 1px solid var(--line);
  background: var(--bg-soft);
}

.ym-foot-inner {
  width: min(1120px, 100% - 40px);
  margin: 0 auto;
  padding: 22px 0 30px;
  text-align: center;
}

.ym-toasts {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 200;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: min(580px, calc(100% - 24px));
  pointer-events: none;
}

.ym-toast {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 100%;
  padding: 12px 22px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 600;
  box-shadow: 0 14px 32px rgba(60, 45, 28, .18);
  pointer-events: auto;
  animation: ym-drop .4s cubic-bezier(.22, .9, .3, 1.15);
}

.ym-toast.is-out {
  animation: ym-lift .3s ease forwards;
}

.ym-toast-icon {
  display: grid;
  place-items: center;
  flex: 0 0 20px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  color: #fff;
}

.ym-toast-icon svg {
  width: 12px;
  height: 12px;
  stroke-width: 2.6;
}

.ym-toast-ok {
  background: #e1f4e3;
  color: #1d6a30;
}

.ym-toast-ok .ym-toast-icon {
  background: #1d6a30;
}

.ym-toast-err {
  background: #fce4e2;
  color: #a52a22;
}

.ym-toast-err .ym-toast-icon {
  background: #a52a22;
}

@keyframes ym-drop {
  from { opacity: 0; transform: translateY(-26px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes ym-lift {
  from { opacity: 1; transform: translateY(0); }
  to { opacity: 0; transform: translateY(-20px); }
}

@keyframes ym-rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

html.ym-anim .ym-sec-inner,
html.ym-anim .ym-hero-inner {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .7s cubic-bezier(.16, 1, .3, 1), transform .7s cubic-bezier(.16, 1, .3, 1);
}

.ym-sec.is-in .ym-sec-inner,
.ym-sec.is-in .ym-hero-inner {
  opacity: 1;
  transform: translateY(0);
}

html.ym-anim .ym-sec .ym-fact,
html.ym-anim .ym-sec .ym-art,
html.ym-anim .ym-sec .ym-post,
html.ym-anim .ym-sec .ym-trip,
html.ym-anim .ym-sec .ym-contact {
  opacity: 1;
}

html.ym-anim .ym-sec.is-in .ym-fact,
html.ym-anim .ym-sec.is-in .ym-art,
html.ym-anim .ym-sec.is-in .ym-post,
html.ym-anim .ym-sec.is-in .ym-trip,
html.ym-anim .ym-sec.is-in .ym-contact {
  animation: ym-rise .66s cubic-bezier(.16, 1, .3, 1) both;
  animation-delay: calc(var(--i, 0) * 70ms + 90ms);
}

html.ym-anim .ym-wrap > * {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity .6s cubic-bezier(.16, 1, .3, 1), transform .6s cubic-bezier(.16, 1, .3, 1);
}

html.ym-anim .ym-wrap > .is-in {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 860px) {
  .ym-nav-contact {
    position: static;
  }

  .ym-nav-contact-btn {
    justify-content: space-between;
    width: 100%;
  }

  .ym-nav-contact-panel {
    position: static;
    display: none;
    min-width: 0;
    padding: 0 0 6px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .ym-nav-contact-panel.is-open {
    display: grid;
  }
}

@media (max-width: 1000px) {
  .ym-about {
    grid-template-columns: 240px 1fr;
  }

  .ym-board {
    grid-template-columns: 1fr;
  }

  .ym-board-arts {
    grid-template-columns: repeat(3, 1fr);
  }

  .ym-plans {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 860px) {
  .ym-burger {
    display: block;
    order: 3;
    margin-left: 8px;
  }

  .ym-theme {
    order: 2;
    margin-left: auto;
  }

  .ym-menu {
    position: fixed;
    top: var(--nav-h);
    left: 0;
    right: 0;
    z-index: 55;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 12px 16px 16px;
    background: var(--card);
    border-bottom: 1px solid var(--line);
    box-shadow: var(--shadow);
  }

  .ym-menu.is-open {
    display: flex;
  }

  .ym-menu-link {
    padding: 11px 14px;
    font-size: 15.5px;
  }

  .ym-snap {
    height: auto;
    overflow: visible;
    scroll-snap-type: none;
  }

  .ym-sec {
    min-height: 0;
    padding: calc(var(--nav-h) + 46px) 0 44px;
  }

  .ym-hero {
    min-height: 74vh;
  }

  .ym-dots {
    display: none;
  }

  .ym-about {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .ym-about-side {
    justify-content: flex-start;
  }

  .ym-about-photo {
    width: 148px;
  }

  .ym-about-name {
    margin-bottom: 16px;
  }

  .ym-facts {
    grid-template-columns: 1fr;
  }

  .ym-hero-title {
    letter-spacing: 3px;
  }

  .ym-post {
    flex-direction: column-reverse;
  }

  .ym-post-media {
    flex: 0 0 auto;
    width: 100%;
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .ym-post-blank {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
  }

  .ym-contacts {
    grid-template-columns: 1fr;
  }

  .ym-search {
    padding: 12px;
  }

  .ym-search-date {
    flex: 1 1 100%;
    padding: 8px 0 0;
    border-left: 0;
    border-top: 1px solid var(--line);
  }

  .ym-search-go {
    flex: 1 1 100%;
  }

  .ym-cal {
    left: 0;
    right: 0;
    width: auto;
  }

  .ym-wall {
    columns: 2 140px;
  }

  .ym-viewer-bar {
    bottom: 3vh;
  }

  .ym-viewer-x {
    top: 12px;
    right: 12px;
  }
}

@media (max-width: 520px) {
  .ym-board-arts {
    grid-template-columns: 1fr 1fr;
  }

  .ym-theme-text {
    display: none;
  }

  .ym-theme {
    padding: 8px 11px;
  }

  .ym-stats li {
    flex: 1 1 auto;
    padding: 8px 14px;
  }

  .ym-viewer-step {
    width: 44px;
    height: 44px;
    padding: 12px;
  }

  .ym-viewer-stage {
    max-width: 92vw;
  }

  .ym-viewer-img {
    max-width: 92vw;
    max-height: 66vh;
  }

  .ym-wall {
    columns: 1;
  }

  .ym-lead-title {
    font-size: 26px;
  }

  .ym-toast {
    padding: 11px 16px;
    font-size: 13.5px;
  }
}

@media (max-width: 820px) {
  .ym-hero {
    padding-block: calc(var(--nav-h) + 2.25rem) 3rem;
  }

  .ym-hero-title {
    font-size: clamp(2.35rem, 11vw, 3.1rem);
    letter-spacing: 2px;
  }

  .ym-hero-sub {
    font-size: 15px;
    letter-spacing: .5px;
  }

  .ym-hero-note {
    margin-top: 12px;
    font-size: 13.5px;
    line-height: 1.7;
  }

  .ym-sec {
    padding: calc(var(--nav-h) + 38px) 0 42px;
  }

  .ym-sec-inner,
  .ym-hero-inner {
    width: min(1120px, 100% - 36px);
  }

  .ym-about-photo {
    width: 128px;
  }

  .ym-about-name {
    font-size: 24px;
    letter-spacing: 1px;
  }

  .ym-fact {
    padding: 8px 12px;
  }

  .ym-board-title,
  .ym-news-title,
  .ym-block-title {
    font-size: 22px;
    letter-spacing: 1.5px;
  }

  .ym-board-sub {
    margin-bottom: 20px;
    font-size: 15px;
  }

  .ym-btn {
    width: 100%;
  }

  .ym-post {
    padding: 14px 16px;
    gap: 14px;
  }

  .ym-post-title {
    font-size: 17px;
  }

  .ym-post-media {
    aspect-ratio: 16 / 9;
    border-radius: 10px;
  }

  .ym-trip {
    padding: 14px 16px 16px;
  }

  .ym-trip-top {
    flex-wrap: wrap;
    gap: 8px;
  }

  .ym-trip-name {
    font-size: 17px;
  }

  .ym-contact {
    min-height: 68px;
    padding: 12px 14px;
  }

  .ym-contacts {
    grid-template-columns: 1fr;
  }

  .ym-legal {
    gap: 2px 10px;
    font-size: 12px;
  }

  .ym-legal-wrap {
    bottom: 12px;
    width: calc(100% - 36px);
  }

  .ym-foot-inner {
    padding: 18px 0 calc(22px + env(safe-area-inset-bottom));
  }

  .ym-stats {
    gap: 8px;
  }

  .ym-stats li {
    flex: 1 1 calc(50% - 8px);
    justify-content: center;
    padding: 9px 12px;
  }

  .ym-stats strong {
    font-size: 17px;
  }

  .ym-wall {
    columns: 2 8rem;
    column-gap: 12px;
  }

  .ym-shot {
    margin-bottom: 12px;
  }

  .ym-shot-frame {
    border-radius: 10px;
  }

  .ym-shot-info {
    padding: 8px 2px 0;
  }

  .ym-shot-info strong {
    font-size: 13.5px;
  }

  .ym-shot-meta {
    font-size: 11.5px;
  }

  .ym-shot-open {
    display: none;
  }

  .ym-viewer {
    display: block;
    padding: 62px 0 104px;
  }

  .ym-viewer-stage {
    max-width: 100%;
    max-height: none;
    gap: 12px;
  }

  .ym-viewer-img {
    max-width: 92vw;
    max-height: 58vh;
    border-radius: 8px;
  }

  .ym-viewer-info strong {
    font-size: 14.5px;
  }

  .ym-viewer-step {
    position: absolute;
    top: 50%;
    width: 44px;
    height: 44px;
    padding: 12px;
    transform: translateY(-50%);
  }

  .ym-viewer-step.is-prev {
    left: 8px;
  }

  .ym-viewer-step.is-next {
    right: 8px;
  }

  .ym-viewer-step:hover {
    transform: translateY(-50%);
  }

  .ym-viewer-bar {
    bottom: 3vh;
    padding: 6px;
  }

  .ym-viewer-bar button {
    width: 42px;
    height: 42px;
    padding: 11px;
  }

  .ym-viewer-count {
    padding: 0 8px;
    font-size: 12px;
  }

  .ym-pager {
    gap: 8px;
    margin-top: 26px;
    padding-top: 20px;
  }

  .ym-pager-arrow,
  .ym-pager-num {
    min-width: 38px;
    width: 38px;
    height: 38px;
    padding: 0 6px;
    font-size: 14px;
  }

  .ym-pager-arrow {
    padding: 10px;
  }

  .ym-pager-nums {
    gap: 4px;
  }

  .ym-cal {
    top: calc(100% + 8px);
  }
}