@charset "UTF-8";
/* Final responsive and accessibility safety layer for all ValleyTown theme routes. */
html { min-width: 320px; overflow-x: hidden; }
body { min-width: 320px; overflow-x: hidden; }
.vt-season5-shell { min-width: 0; }
.vt-season5-shell img,
.vt-season5-shell video,
.vt-season5-shell iframe,
.vt-season5-shell canvas,
.vt-season5-shell svg { max-width: 100%; }
.vt-season5-shell video,
.vt-season5-shell iframe { height: auto; }
.vt-season5-shell :is(.vt-page,.vt-section,.vt-card,.vt-card-grid,.vt-grid,.vt-steps,.vt-spec-list,.vt-callout,.vt-entry-actions,.renew-login,.renew-profile-main,.renew-profile-layout,.renew-profile-card,.renew-profile-links,.renew-profile-admin) { min-width: 0; }
.vt-season5-shell :is(p,li,dd,small,.account-name,.footer-links a,.vt-guide-article p) { overflow-wrap: anywhere; }
.vt-season5-shell :is(input,select,textarea,button,a) { max-width: 100%; }
.vt-season5-shell .tbl_wrap,
.vt-season5-shell .vt-table-wrap,
.vt-season5-shell .clover-captcha { max-width: 100%; -webkit-overflow-scrolling: touch; }
.vt-season5-shell :is(a,button,input,select,textarea):focus-visible { outline: 3px solid #5e9cc0; outline-offset: 3px; }

/* The shared header is used on both desktop and mobile GnuBoard routes. */
.vt-site-header .original-brand { min-width: 0; flex: 0 1 auto; display: inline-flex; align-items: center; }
.vt-site-header .original-brand img { width: 210px; max-width: 100%; height: 70px; object-fit: contain; object-position: left center; }
.vt-site-header .header-nav { min-width: 0; }
.vt-site-header .header-nav a { min-width: 0; white-space: nowrap; }
.vt-season5-shell .back-top { width: 44px; height: 44px; }

/* Keep the full header usable by switching to a drawer on tablet and compact desktop widths. */
@media (min-width: 761px) and (max-width: 1100px) {
  body .site-header.vt-site-header { height: 72px; min-height: 72px; }
  .vt-site-header .header-inner { width: calc(100% - 44px); justify-content: space-between; }
  .vt-site-header .original-brand { flex: 1 1 auto; }
  .vt-site-header .original-brand img { width: 170px; height: 56px; }
  .vt-site-header .header-actions { flex: 0 0 auto; gap: 6px; }
  .vt-site-header .mobile-toggle { display: grid; place-items: center; width: 44px; height: 44px; padding: 0; }
  .vt-site-header .header-nav { position: absolute; top: 72px; right: 0; left: 0; display: none; align-items: stretch; height: auto; max-height: calc(100vh - 72px); padding: 14px 25px; overflow-y: auto; overscroll-behavior: contain; border-bottom: 1px solid #e6e9de; background: #fffdf8; box-shadow: 0 12px 25px #3d59420c; }
  .vt-site-header .header-nav.is-open { display: flex; flex-direction: column; gap: 0; }
  .vt-site-header .header-nav a { height: auto; padding: 15px 5px; font-size: 13px; }
  .vt-site-header .header-nav a.is-active::after { display: none; }
  .vt-site-header .header-logout, .vt-site-header .account-name { display: none; }
  .vt-site-header .header-login { min-height: 44px; border: 0; padding-left: 0; }
}

@media (max-width: 760px) {
  .vt-site-header .original-brand { flex: 1 1 auto; }
  .vt-site-header .original-brand img { width: 154px; height: 52px; }
  .vt-site-header .header-actions { flex: 0 0 auto; gap: 5px; }
  .vt-site-header .mobile-toggle { width: 44px; height: 44px; padding: 0; }
  .vt-site-header .header-nav { max-height: calc(100vh - 72px); overflow-y: auto; overscroll-behavior: contain; }
  .vt-site-header .header-login { min-height: 44px; }
  .vt-season5-shell .vt-page__hero-actions .vt-button,
  .vt-season5-shell .vt-action-row .vt-button { flex: 1 1 180px; }
  .vt-season5-shell .renew-profile-layout,
  .vt-season5-shell .renew-profile-admin__head { grid-template-columns: 1fr; }
}

@media (max-width: 440px) {
  .vt-site-header .header-inner { width: calc(100% - 24px); }
  .vt-site-header .original-brand img { width: 132px; height: 48px; }
  .vt-site-header .header-login { min-width: 36px; justify-content: center; }
  .vt-site-header .header-login span:last-child { display: none !important; }
  .vt-season5-shell .vt-page__hero-actions .vt-button,
  .vt-season5-shell .vt-action-row .vt-button { flex-basis: 100%; }
  .vt-season5-shell .vt-card__icon { flex-shrink: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .vt-season5-shell *,
  .vt-season5-shell *::before,
  .vt-season5-shell *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; }
}

/* Compact navigation: keep primary destinations visible and group secondary links. */
.vt-site-header .nav-more { position: relative; display: flex; align-items: center; height: 100%; }
.vt-site-header .nav-more > summary { display: flex; align-items: center; gap: 7px; height: 100%; padding: 0; color: #526477; font-size: 13px; font-weight: 600; cursor: pointer; list-style: none; white-space: nowrap; }
.vt-site-header .nav-more > summary::-webkit-details-marker { display: none; }
.vt-site-header .nav-more > summary span { color: #a98d62; font-size: 15px; }
.vt-site-header .nav-more > summary:hover,
.vt-site-header .nav-more > summary.is-active { color: #cf87a1; }
.vt-site-header .nav-more-panel { position: absolute; top: calc(100% - 1px); right: -12px; z-index: 90; display: none; min-width: 205px; padding: 8px; border: 1px solid #e5e7df; border-radius: 0 0 13px 13px; background: #fffefa; box-shadow: 0 15px 28px rgba(40, 58, 47, .13); }
.vt-site-header .nav-more[open] .nav-more-panel { display: grid; gap: 2px; }
.vt-site-header .nav-more-panel a { min-height: 40px; height: auto; padding: 10px 12px; border-radius: 8px; color: #526477; font-size: 12px; white-space: nowrap; }
.vt-site-header .nav-more-panel a:hover,
.vt-site-header .nav-more-panel a.is-active { background: #f7f2e9; color: #a56c82; }
.vt-site-header .nav-more-panel a.is-active::after { display: none; }
@media (max-width: 1100px) {
  .vt-site-header .nav-more { display: block; height: auto; border-top: 1px solid #e9ece5; }
  .vt-site-header .nav-more > summary { min-height: 48px; height: auto; justify-content: space-between; padding: 13px 5px; font-size: 13px; }
  .vt-site-header .nav-more-panel { position: static; min-width: 0; padding: 0 0 8px 13px; border: 0; border-left: 2px solid #e5d7c1; border-radius: 0; background: transparent; box-shadow: none; }
  .vt-site-header .nav-more-panel a { min-height: 39px; padding: 10px 12px; font-size: 12px; }
}

/* Refined mega-menu: clear hierarchy, generous targets, and safe small-screen layout. */
.vt-site-header .nav-more { z-index: 91; }
.vt-site-header .nav-more > summary { gap: 9px; min-height: 42px; padding: 0 13px; border: 1px solid #e6e9e2; border-radius: 999px; background: linear-gradient(135deg,#fffefa,#f7f8f3); color: #53665e; transition: border-color .18s,background .18s,box-shadow .18s,color .18s; }
.vt-site-header .nav-more > summary:hover,
.vt-site-header .nav-more > summary.is-active,
.vt-site-header .nav-more[open] > summary { border-color: #e7cbd5; background: linear-gradient(135deg,#fff9fb,#f5f4ec); color: #9d627a; box-shadow: 0 4px 14px rgba(119,83,97,.08); }
.vt-site-header .nav-more-symbol { display: grid; grid-template-columns: repeat(2,4px); gap: 2px; }
.vt-site-header .nav-more-symbol i { width: 4px; height: 4px; border-radius: 50%; background: currentColor; opacity: .78; }
.vt-site-header .nav-more-chevron { width: 14px; height: 14px; transition: transform .18s; }
.vt-site-header .nav-more[open] .nav-more-chevron { transform: rotate(180deg); }
.vt-site-header .nav-more-panel { right: -8px; width: 370px; min-width: 0; padding: 19px; border: 1px solid #e8e7df; border-radius: 17px; background: radial-gradient(ellipse at 100% 0%,rgba(230,239,227,.62),transparent 42%),#fffefa; box-shadow: 0 20px 46px rgba(40,58,47,.17),0 3px 9px rgba(40,58,47,.05); }
.vt-site-header .nav-more-panel__head { display: grid; gap: 5px; padding: 2px 4px 15px; border-bottom: 1px solid #eeeee7; }
.vt-site-header .nav-more-panel__head > span { color: #a18469; font-size: 9px; font-weight: 700; letter-spacing: 1.45px; }
.vt-site-header .nav-more-panel__head strong { color: #374f4b; font-family: 'Gowun Batang','Noto Serif KR',serif; font-size: 19px; font-weight: 700; }
.vt-site-header .nav-more-panel__head small { color: #87918a; font-size: 10px; }
.vt-site-header .nav-more-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 5px; padding-top: 12px; }
.vt-site-header .nav-more-panel .nav-more-grid a { min-width: 0; min-height: 43px; justify-content: space-between; gap: 8px; padding: 10px 11px; border: 1px solid transparent; border-radius: 10px; background: rgba(249,249,244,.76); color: #52645d; font-size: 11px; transition: border-color .16s,background .16s,transform .16s; }
.vt-site-header .nav-more-panel .nav-more-grid a:hover,
.vt-site-header .nav-more-panel .nav-more-grid a.is-active { border-color: #e8e5d9; background: #fff; color: #a56c82; transform: translateY(-1px); }
.vt-site-header .nav-more-panel .nav-more-arrow { flex: 0 0 auto; color: #b2a188; font-size: 12px; }
@media (max-width: 1100px) {
  .vt-site-header .nav-more { z-index: auto; }
  .vt-site-header .nav-more > summary { width: 100%; min-height: 48px; justify-content: flex-start; gap: 10px; padding: 11px 12px; border: 1px solid #e9e8df; border-radius: 10px; background: #fffefa; box-shadow: none; }
  .vt-site-header .nav-more[open] > summary { border-color: #e7cbd5; background: #fff9fb; box-shadow: none; }
  .vt-site-header .nav-more-chevron { margin-left: auto; }
  .vt-site-header .nav-more-panel { width: 100%; margin: 8px 0 4px; padding: 15px; border: 1px solid #e8e7df; border-radius: 13px; background: #fffefa; box-shadow: 0 8px 22px rgba(40,58,47,.08); }
  .vt-site-header .nav-more-panel__head { padding-bottom: 11px; }
  .vt-site-header .nav-more-panel__head strong { font-size: 17px; }
  .vt-site-header .nav-more-grid { gap: 6px; padding-top: 10px; }
}
@media (max-width: 400px) {
  .vt-site-header .nav-more-panel .nav-more-grid { grid-template-columns: 1fr; }
}

/* Distinct icon tiles for the secondary navigation links. */
.vt-site-header .nav-more-panel .nav-more-grid a { display: flex; align-items: center; min-height: 52px; }
.vt-site-header .nav-more-item__icon { display: grid; place-items: center; flex: 0 0 36px; width: 36px; height: 36px; border: 1px solid rgba(58,77,68,.055); border-radius: 11px; box-shadow: inset 0 1px 0 rgba(255,255,255,.72); transition: transform .18s,box-shadow .18s; }
.vt-site-header .nav-more-item__icon svg { display: block; width: 19px; height: 19px; }
.vt-site-header .nav-more-item__label { min-width: 0; flex: 1; font-weight: 600; }
.vt-site-header .nav-more-item__icon--status { background: linear-gradient(145deg,#e7f2eb,#dcebe3); color: #4e8068; }
.vt-site-header .nav-more-item__icon--guide { background: linear-gradient(145deg,#f7eaf0,#f1e4ea); color: #aa7187; }
.vt-site-header .nav-more-item__icon--help { background: linear-gradient(145deg,#f7f0df,#eee7d6); color: #987d4f; }
.vt-site-header .nav-more-item__icon--chat { background: linear-gradient(145deg,#e7f1f4,#dcebef); color: #5f8796; }
.vt-site-header .nav-more-item__icon--creator { background: linear-gradient(145deg,#eeeaf7,#e6e2f1); color: #796f9c; }
.vt-site-header .nav-more-item__icon--town { background: linear-gradient(145deg,#eaf1e2,#dfe9d6); color: #6b855b; }
.vt-site-header .nav-more-item__icon--community { background: linear-gradient(145deg,#f8e9e1,#f2dfd7); color: #aa755f; }
.vt-site-header .nav-more-panel .nav-more-grid a:hover .nav-more-item__icon,
.vt-site-header .nav-more-panel .nav-more-grid a.is-active .nav-more-item__icon { transform: translateY(-1px) scale(1.04); box-shadow: 0 4px 11px rgba(63,81,68,.11),inset 0 1px 0 rgba(255,255,255,.8); }
.vt-site-header .nav-more-panel .nav-more-grid a.is-active { border-color: #e9d6dd; background: #fff9fb; }
@media (max-width: 1100px) {
  .vt-site-header .nav-more-panel .nav-more-grid a { min-height: 50px; }
}
@media (max-width: 400px) {
  .vt-site-header .nav-more-panel .nav-more-grid a { min-height: 48px; }
}
