/* Maple Village: a warm illustrated town, with its own layout and controls. */
:root {
  --v-paper: #fffaf0;
  --v-white: #ffffff;
  --v-ink: #352d25;
  --v-muted: #655b50;
  --v-line: #e6d7bf;
  --v-orange: #b94c13;
  --v-orange-light: #fff0d9;
  --v-green: #35643a;
  --primary-color: #b94c13;
  --secondary-color: #87421b;
  --text-primary: #352d25;
  --text-secondary: #655b50;
  --dark-bg: #fffaf0;
  --dark-secondary: #ffffff;
  --dark-tertiary: #fff4e2;
  --border-color: #e6d7bf;
  --orb-line: #e6d7bf;
  --orb-ink: #352d25;
  --orb-muted: #655b50;
}
html { scroll-behavior: smooth; }
body.orbit-site.maple-village {
  display: block !important;
  margin: 0;
  min-height: 100vh;
  background: #fffaf0 !important;
  background-image: radial-gradient(#e9d5ae 0.7px, transparent 0.7px) !important;
  background-size: 15px 15px !important;
  color: #352d25 !important;
  font-family: 'Noto Sans KR', Arial, sans-serif !important;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.7;
  overflow-x: hidden;
}
body.maple-village::before, body.maple-village::after { content: none !important; }
body.maple-village * { box-sizing: border-box; }
body.maple-village img { max-width: 100%; }
body.maple-village a { text-decoration: none; }
body.maple-village button, body.maple-village input, body.maple-village select, body.maple-village textarea { font: inherit; }
body.maple-village button, body.maple-village a { touch-action: manipulation; }
body.maple-village :is(a, button, input, select, textarea):focus-visible { outline: 3px solid #b94c13; outline-offset: 4px; }
body.maple-village [hidden] { display: none !important; }
body.maple-village button:disabled { opacity: .55; cursor: not-allowed; }
body.orbit-site.maple-village .container { width: 100%; max-width: 1280px !important; padding: 0 32px !important; margin: 0 auto; }
body.orbit-site.maple-village .main-content, body.orbit-site.maple-village .market-page { padding: 32px 0 72px !important; min-height: 48vh; }
body.orbit-site.maple-village .main-content > .container { background: none !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
body.maple-village :is(.mw-utility, .mw-header-call, .mw-header-meta, .inv-gamebar) { display: none !important; }

/* Centered masthead, followed by its own full-width navigation shelf. */
.village-site-note { background: #fff2dc; border-bottom: 1px solid #ead7b6; color: #65523c; font-size: 13px; }
.village-site-note .container { display: flex; justify-content: space-between; align-items: center; gap: 14px; min-height: 34px; }
.village-site-note a { color: #65523c; }
body.orbit-site.maple-village .header { position: relative !important; inset: auto !important; width: 100% !important; max-width: none !important; margin: 0 !important; background: #fffef8 !important; border: 0 !important; border-bottom: 3px solid #d66c26 !important; border-radius: 0 !important; box-shadow: none !important; overflow: visible !important; z-index: 20; }
body.maple-village .header::before, body.maple-village .header::after { content: none !important; }
body.orbit-site.maple-village .header-content { display: grid !important; grid-template-columns: 1fr auto 1fr; align-items: center !important; justify-content: normal !important; gap: 0 18px; padding: 27px 0 0 !important; min-height: 0 !important; }
body.orbit-site.maple-village .logo { display: flex; align-items: center; justify-content: center; gap: 10px !important; padding: 0 0 24px; width: auto; cursor: pointer; }
body.orbit-site.maple-village .logo img { display: block; width: 53px !important; height: 53px !important; border-radius: 0 !important; border: 0 !important; background: none !important; box-shadow: none !important; transform: rotate(-8deg) !important; }
body.orbit-site.maple-village .logo h1 { margin: 0 !important; color: #69412b !important; font-family: Jua, 'Noto Sans KR', sans-serif !important; font-size: 37px !important; font-weight: 400 !important; letter-spacing: -.05em !important; line-height: 1.12 !important; text-shadow: none !important; white-space: nowrap; }
body.maple-village .logo h1 small { display: block; margin: 0 0 7px; color: #80532c; font-family: Arial, sans-serif; font-size: 13px; font-weight: 800; letter-spacing: .16em; text-align: center; }
body.maple-village .logo h1 span { color: #b94c13; font-size: inherit; }
body.maple-village .logo h1::before, body.maple-village .logo h1::after { content: none !important; }
body.orbit-site.maple-village .logo h1 { background: none !important; -webkit-background-clip: border-box !important; background-clip: border-box !important; -webkit-text-fill-color: #69412b !important; }
body.orbit-site.maple-village .logo h1 > span { -webkit-text-fill-color: #b94c13 !important; }
body.orbit-site.maple-village .logo h1 > small { -webkit-text-fill-color: #80532c !important; }
.village-masthead-note { display: grid; justify-content: start; padding-bottom: 21px; color: #7b653f; font-size: 13px; }
.village-masthead-note b { color: #4d6540; font-family: Jua, sans-serif; font-size: 20px; font-weight: 400; }
.village-masthead-contact { display: flex; justify-self: end; gap: 10px; align-items: center; padding-bottom: 21px; color: #65523c; font-size: 13px; }
.village-masthead-contact > i { width: 38px; height: 38px; display: grid; place-items: center; background: #fff0d7; border: 1px solid #ead4b1; border-radius: 50%; color: #9b471e; font-size: 18px; }
.village-masthead-contact b { display: block; color: #594533; font-size: 13px; }
body.orbit-site.maple-village .main-nav { grid-column: 1 / -1; width: 100%; min-width: 0; border-top: 1px dashed #e7d7bb; }
body.orbit-site.maple-village .main-nav ul { display: flex !important; align-items: stretch; justify-content: center; flex-wrap: nowrap !important; gap: 0 !important; padding: 0; margin: 0; overflow: auto; list-style: none; scrollbar-width: thin; }
body.orbit-site.maple-village .main-nav li { display: flex; margin: 0; flex-shrink: 0; }
body.orbit-site.maple-village .main-nav a { display: inline-flex; align-items: center; justify-content: center; min-height: 54px; margin: 0 !important; padding: 14px 16px !important; background: transparent !important; border: 0 !important; border-bottom: 4px solid transparent !important; border-radius: 0 !important; box-shadow: none !important; color: #594533 !important; font-size: 14px !important; font-weight: 700; white-space: nowrap; transition: background .18s, color .18s; }
body.orbit-site.maple-village .main-nav a:hover { background: #fff4e0 !important; color: #a03e0a !important; transform: none !important; }
body.orbit-site.maple-village .main-nav a.active { background: #fff2db !important; color: #9c3a0b !important; border-bottom-color: #b94c13 !important; }
body.orbit-site.maple-village .main-nav :is(#nav-auth, #nav-register) a { color: #7b5432 !important; font-size: 13px !important; padding-left: 12px !important; padding-right: 12px !important; }

/* One scenic canvas with a letter, rather than two equal hero panels. */
body.orbit-site.maple-village .village-home { padding: 28px 0 64px !important; }
.village-hero { position: relative; min-height: 432px; padding: 36px 42px; border: 3px solid #fff; border-radius: 28px 28px 70px 28px; background: #cde8f2; box-shadow: 0 6px 0 #e2cfab, 0 13px 30px #9d78421a; overflow: hidden; isolation: isolate; }
.village-hero-scenery { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 48%; z-index: -2; }
.village-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #fff7e562, transparent 58%); pointer-events: none; z-index: -1; }
.village-hero-letter { position: relative; width: 400px; max-width: 100%; padding: 25px 30px 28px; background: #fffdf5; border: 1px solid #e8d9ba; border-radius: 24px 24px 24px 4px; box-shadow: 0 7px 0 #745b3b18; transform: rotate(-1.2deg); }
.village-hero-letter::after { content: ''; position: absolute; width: 61px; height: 23px; top: -11px; right: 36px; background: #f9d18cad; transform: rotate(7deg); }
.village-label { display: inline-flex; align-items: center; gap: 7px; color: #775236; font-size: 13px; font-weight: 700; }
.village-label > i { color: #a14d1e; }
.village-hero-letter h2 { margin: 17px 0 15px; font-family: Jua, 'Noto Sans KR', sans-serif; font-size: clamp(32px, 3.6vw, 46px); font-weight: 400; line-height: 1.25; letter-spacing: -.04em; color: #4c3927; }
.village-hero-letter h2 em { color: #b94c13; font-style: normal; }
.village-hero-letter p { color: #65523c; margin: 0 0 23px; font-size: 15px; line-height: 1.8; }
.village-button { display: inline-flex; justify-content: center; align-items: center; gap: 16px; padding: 12px 18px; min-height: 46px; border-radius: 12px; border: 1px solid #9f410f; font-size: 14px; font-weight: 700; transition: transform .18s, box-shadow .18s; }
.village-button-primary { background: #b94c13; color: #fff !important; box-shadow: 0 4px 0 #8a360b; }
.village-button:hover { transform: translateY(-2px); box-shadow: 0 6px 0 #8a360b; }
.village-hero-stamp { position: absolute; right: 31px; bottom: 41px; display: flex; align-items: center; gap: 12px; padding: 13px 19px; color: #664526; background: #fff9df; border: 3px solid #fff; outline: 1px dashed #d0a762; border-radius: 12px; transform: rotate(5deg); font-size: 13px; box-shadow: 0 5px 16px #5b3b242b; }
.village-hero-stamp > i { font-size: 26px; color: #a84822; }
.village-hero-stamp b { color: #5d4425; letter-spacing: .06em; }
.village-art-credit { position: absolute; bottom: 10px; right: 75px; color: #fff; background: #433520bb; border-radius: 7px; font-size: 13px; padding: 2px 9px; }
body.orbit-site.maple-village .portal-live { display: flex; align-items: center; gap: 20px; margin: 22px 0 29px !important; padding: 13px 19px !important; min-height: 51px; color: #594533 !important; background: #fff5df !important; border: 1px solid #e8d4ad !important; border-radius: 12px !important; box-shadow: none !important; font-size: 14px; white-space: nowrap; overflow: hidden; }
.village-live-bar strong { flex-shrink: 0; color: #94410d; font-size: 14px; }
.village-live-bar strong i { margin-right: 7px; }
.village-live-bar a { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; color: #594533; font-size: 14px; }
.village-town-grid { display: grid; grid-template-columns: 252px minmax(0, 1fr); gap: 30px; align-items: start; }
.village-sidebar, .village-town-content { min-width: 0; }
.village-sidebar { display: grid; gap: 21px; }
.village-welcome-card { padding: 25px 18px 21px; background: #fff; border: 2px solid #e9d9bd; border-radius: 24px; text-align: center; box-shadow: 0 4px 0 #ebdfca; }
.village-welcome-avatar { display: grid; width: 68px; height: 68px; place-items: center; margin: 0 auto 11px; border: 1px dashed #dbba89; background: #fff2dc; border-radius: 50%; }
.village-welcome-avatar img { width: 46px; height: 46px; }
.village-welcome-card > span:not(.village-welcome-avatar) { font: 700 13px Arial, sans-serif; color: #8b633c; letter-spacing: .08em; }
.village-welcome-card h3 { font-family: Jua, sans-serif; font-weight: 400; font-size: 22px; color: #5a412c; margin: 10px 0 9px; }
.village-welcome-card p { margin: 0 0 19px; font-size: 13px; line-height: 1.9; color: #655b50; }
.village-welcome-card .village-button { display: flex; width: 100%; min-height: 44px; }
.village-join-link { display: block; margin-top: 17px; color: #6b533b; font-size: 13px; }
.village-map-menu { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.village-map-menu > a { min-width: 0; display: flex; align-items: center; flex-direction: column; padding: 16px 6px 14px; color: #4c3c2a; background: #fffef9; border: 1px solid #e5d4b7; border-radius: 17px; box-shadow: 0 3px 0 #eadbc1; transition: transform .2s; }
.village-map-menu > a:hover { transform: translateY(-3px); border-color: #cb9050; }
.village-menu-icon { width: 45px; height: 45px; display: grid; place-items: center; border-radius: 16px; font-size: 21px; margin-bottom: 10px; }
.village-menu-icon.peach { background: #ffead3; color: #a25012; }
.village-menu-icon.green { background: #e9f1da; color: #456f37; }
.village-menu-icon.blue { background: #e0f1f5; color: #356370; }
.village-menu-icon.pink { background: #f9e8ec; color: #97395c; }
.village-map-menu b { color: #4c3c2a; font-size: 14px; }
.village-map-menu small { color: #6e604e; font-size: 13px; margin-top: 4px; }
.village-contact-note { padding: 22px 19px 18px; border: 1px solid #e1c994; border-radius: 4px 4px 23px 4px; background: #fff1cc; box-shadow: 0 5px 0 #eddfbf; position: relative; }
.village-contact-note::before { content: ''; display: block; width: 72px; height: 16px; position: absolute; left: 50%; top: -9px; margin-left: -36px; background: #d9b57577; transform: rotate(-3deg); }
.village-contact-note .village-label { font-size: 13px; color: #76522d; }
.village-contact-note h3 { margin: 13px 0 4px; color: #5c4025; font-size: 18px; }
.village-contact-note > a:not(.village-contact-action) { color: #74380d; font-family: Arial, sans-serif; font-size: 22px; font-weight: 800; letter-spacing: -.03em; white-space: nowrap; }
.village-contact-note p { margin: 9px 0 16px; color: #66523b; font-size: 13px; }
.village-contact-action { display: flex; align-items: center; justify-content: space-between; color: #67421c; border-top: 1px dashed #cdb484; padding-top: 12px; font-size: 13px; font-weight: 700; }
.village-postcard { display: block; padding: 9px 9px 12px; border: 1px solid #e4d6bd; border-radius: 5px; background: #fff; color: #4d402e; box-shadow: 0 5px 14px #70512e12; transform: rotate(-1.8deg); transition: transform .2s; }
.village-postcard-winter { transform: rotate(1.8deg); }
.village-postcard:hover { transform: rotate(0); }
.village-postcard img { width: 100%; height: 152px; display: block; object-fit: cover; }
.village-postcard > span { display: flex; justify-content: space-between; align-items: center; gap: 6px; margin-top: 12px; font-family: Jua, sans-serif; font-size: 16px; }
.village-postcard small { display: block; margin-top: 5px; color: #74634e; font-size: 13px; }
.village-section-heading { display: flex; justify-content: space-between; align-items: end; gap: 15px; margin-bottom: 17px; }
.village-section-heading .village-label { color: #8a5e32; font-size: 13px; }
.village-section-heading h2 { margin: 2px 0 0; color: #54402c; font-family: Jua, sans-serif; font-size: 30px; font-weight: 400; letter-spacing: -.025em; line-height: 1.4; }
.village-section-heading h2 span { margin-left: 10px; color: #8a6b45; font: 700 13px Arial, sans-serif; letter-spacing: .06em; vertical-align: middle; }
.village-text-link { display: flex; align-items: center; gap: 9px; padding: 5px 0; color: #76502f !important; font-size: 13px; font-weight: 700; white-space: nowrap; }
body.orbit-site.maple-village .portal-panel { min-width: 0; background: #fff !important; border: 1px solid #e5d5b9 !important; border-radius: 17px !important; box-shadow: 0 4px 0 #eee3cf !important; overflow: hidden; }
body.orbit-site.maple-village .portal-board-grid { display: flex !important; flex-direction: column; gap: 17px !important; margin: 0 !important; }
body.orbit-site.maple-village .village-feed { display: grid; grid-template-columns: 151px minmax(0, 1fr); min-height: 0 !important; }
.village-feed-cover { min-width: 0; position: relative; background: #fff1da; }
.village-feed-cover > img { display: block; width: 100%; height: 100%; min-height: 270px; object-fit: cover; object-position: 50% center; }
.village-feed-cover > span { position: absolute; display: grid; place-items: center; left: 14px; top: 14px; width: 37px; height: 37px; color: #614324; background: #fffdf2; border: 2px solid #fff; border-radius: 50%; box-shadow: 0 2px 7px #3b2e2933; font-size: 15px; }
.village-feed-body { min-width: 0; }
body.orbit-site.maple-village .portal-panel-title { display: flex; justify-content: space-between; align-items: center; gap: 12px; margin: 0 !important; min-height: 56px !important; padding: 14px 19px !important; color: #4c3927 !important; background: #fffaf0 !important; border: 0 !important; border-bottom: 1px dashed #e6d3b3 !important; font-size: 16px !important; font-weight: 700; }
body.orbit-site.maple-village .portal-panel-title > a { display: inline-flex; gap: 7px; align-items: center; padding: 3px 0 !important; border: 0 !important; border-radius: 0 !important; background: none !important; color: #79502c !important; font-size: 13px !important; white-space: nowrap; }
body.orbit-site.maple-village .portal-panel-title > span { color: #4c3927 !important; }
body.orbit-site.maple-village .board-preview { background: transparent !important; }
body.orbit-site.maple-village .board-preview .preview-item { display: block; background: #fff !important; border: 0 !important; border-bottom: 1px solid #f1e8d9 !important; padding: 10px 19px !important; cursor: pointer; transition: background .18s; }
body.orbit-site.maple-village .board-preview .preview-item:hover { background: #fffaed !important; transform: none !important; }
body.orbit-site.maple-village .preview-title, body.orbit-site.maple-village .preview-title a { color: #352d25 !important; font-size: 14px !important; font-weight: 500; line-height: 1.65; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
body.orbit-site.maple-village .preview-meta { color: #655b50 !important; font-size: 13px !important; line-height: 1.6; display: flex; gap: 12px; margin-top: 3px; }
.village-feed .inven-bullet { display: inline-grid; place-items: center; width: 18px; height: 18px; margin-right: 9px; border-radius: 5px; background: #fff0da; color: #8a4516; font: 700 13px Arial, sans-serif; vertical-align: 1px; }
.feed-state { padding: 8px 19px; color: #786447; font-size: 13px; background: #fffcf6; line-height: 1.7; }
body.maple-village :is(.loading, .no-data, .feed-error) { padding: 28px 20px; color: #655b50 !important; text-align: center; font-size: 14px; }
.village-shop, .village-trade-section { margin-top: 35px; }
.village-shop-sign { display: flex; align-items: center; gap: 14px; background: #fff0d7; padding: 18px 21px; border-top: 7px solid #b86a36; border-bottom: 1px solid #e6d0ae; color: #684425; }
.village-shop-sign > i { font-size: 27px; color: #8d5429; }
.village-shop-sign > span { color: #654022; font-family: Jua, sans-serif; font-size: 21px; line-height: 1.4; }
.village-shop-sign small { display: block; margin-top: 5px; color: #715536; font-family: 'Noto Sans KR', sans-serif; font-size: 13px; }
.village-shop-sign > a { margin-left: auto; color: #78512a; font-size: 13px; font-weight: 700; white-space: nowrap; }
.village-shop-panel .board-preview { display: grid; grid-template-columns: 1fr 1fr; }
body.maple-village .village-shop-panel .board-preview .preview-item { padding: 17px 20px !important; min-width: 0; }
.village-shop-panel .preview-item:nth-child(odd) { border-right: 1px solid #f1e8d9 !important; }
.village-shop-panel .preview-title { white-space: normal !important; }
.village-bottom-banner { position: relative; display: flex; align-items: center; min-height: 200px; padding: 30px 38px; overflow: hidden; isolation: isolate; border: 3px solid #fff; border-radius: 25px; margin-top: 40px; background: #ddc4ac; box-shadow: 0 4px 0 #e4d5bc; }
.village-bottom-banner > img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 43%; z-index: -2; }
.village-bottom-banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, #2e221fe8, #2e221f55 64%, transparent); z-index: -1; }
.village-bottom-banner > div > span { color: #fff4d9; font-size: 13px; }
.village-bottom-banner h2 { color: #fff; font-family: Jua, sans-serif; font-size: 30px; font-weight: 400; margin: 9px 0 18px; line-height: 1.4; }
.village-bottom-banner b { color: #fff5df; font-size: 13px; }
.village-bottom-banner b i { margin-left: 10px; }
.village-bottom-banner > small { position: absolute; bottom: 10px; right: 19px; color: #fff; background: #362515bb; padding: 1px 6px; border-radius: 4px; font-size: 13px; }

/* Warm, compact help desk footer. */
body.orbit-site.maple-village .footer { position: relative; padding: 31px 0 0 !important; margin-top: 0 !important; background: #f6ecd9 !important; color: #5b4834 !important; border: 0 !important; border-top: 4px solid #dec49b !important; box-shadow: none !important; text-align: left; }
.village-footer-main { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: center; padding-bottom: 26px !important; }
.village-footer-brand { display: flex; align-items: center; gap: 10px; }
.village-footer-brand img { width: 42px; height: 42px; }
.village-footer-brand b { display: block; color: #67442a; font-family: Jua, sans-serif; font-size: 25px; font-weight: 400; }
.village-footer-brand span { display: block; color: #65523f; font-size: 13px; }
.village-footer-links { display: flex; justify-content: end; flex-wrap: wrap; gap: 10px 20px; }
.village-footer-links > a { color: #65503a !important; font-size: 13px; border-bottom: 1px solid #d6c19e; }
.village-footer-contact { display: flex; grid-column: 1 / -1; align-items: center; gap: 15px; color: #5a4028; border: 1px dashed #cfb38b; border-radius: 14px; background: #fff9ed; padding: 17px 22px; }
.village-footer-contact > i { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: #ffedcb; color: #91451e; font-size: 18px; }
.village-footer-contact > div { display: flex; flex: 1; align-items: center; gap: 18px; flex-wrap: wrap; }
.village-footer-contact span { color: #654a31; font-size: 14px; }
.village-footer-contact strong { color: #63370e; font: 700 23px Arial, sans-serif; }
.village-footer-contact > b { color: #674b30; font-size: 13px; white-space: nowrap; }
.village-footer-contact > b i { margin-left: 9px; }
.village-footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 18px; padding-top: 21px !important; padding-bottom: 24px !important; color: #6e5b45; font-size: 13px; line-height: 1.8; border-top: 1px solid #dfceb2; }
body.maple-village .mw-disclaimer { background: #f6ecd9 !important; color: #6e5b45 !important; font-size: 13px; text-align: center; padding: 0 25px 20px !important; }
body.orbit-site.maple-village .contact-floating-btn { position: fixed !important; right: 18px !important; bottom: 77px !important; width: auto !important; height: 44px !important; min-width: 120px; display: flex !important; justify-content: center; align-items: center; gap: 8px; padding: 10px 15px !important; color: #fff !important; background: #975022 !important; border: 2px solid #fff !important; border-radius: 13px !important; box-shadow: 0 4px 0 #6b381b, 0 6px 16px #54331526 !important; z-index: 100; animation: none !important; transform: none !important; font-size: 13px !important; }
body.maple-village .contact-floating-btn i { font-size: 17px !important; }
body.maple-village .contact-floating-btn::before, body.maple-village .contact-floating-btn::after { content: none !important; }
body.orbit-site.maple-village .contact-floating-btn.kakao-floating-btn { bottom: 23px !important; background: #ffdf5a !important; color: #4e3b13 !important; box-shadow: 0 4px 0 #c5a135, 0 6px 16px #54331526 !important; }

/* Board, editor and sale list share a paper-and-wood vocabulary. */
.village-page-intro { margin-bottom: 24px; }
.village-breadcrumb { display: flex; align-items: center; gap: 10px; font-size: 13px; color: #735e45; margin-bottom: 17px; }
.village-breadcrumb a { color: #735e45; }
.village-page-title { display: flex; align-items: center; gap: 17px; min-height: 146px; padding: 19px 27px; background: #fff1d8; border: 1px solid #e3cda7; border-radius: 20px; overflow: hidden; }
.village-page-symbol { display: grid; place-items: center; flex: 0 0 58px; width: 58px; height: 58px; color: #9f4b19; background: #fffcf4; border: 2px solid #fff; border-radius: 19px; font-size: 28px; }
.village-page-title h2 { font-family: Jua, sans-serif; font-size: 31px; font-weight: 400; color: #64452c; line-height: 1.4; margin: 0 0 8px; }
.village-page-title p { margin: 0; font-size: 13px; color: #6c533a; }
.village-page-title > img { flex: 0 0 210px; width: 210px; height: 116px; object-fit: cover; margin-left: auto; border: 5px solid #fff; border-radius: 10px; transform: rotate(4deg); }
body.orbit-site.maple-village :is(.board-list, .post-detail, .write-container, .login-container, .register-container, .settings-container, .members-container, .export-container, .import-container, .member-card, .board-section, .info-box, .sample-data-info, .upload-info) { background: #fff !important; color: #352d25 !important; border: 1px solid #e6d7bf !important; border-radius: 17px !important; box-shadow: 0 4px 0 #eee3cf !important; }
body.orbit-site.maple-village :is(.board-header, .section-header, .search-bar) { background: transparent !important; border: 0 !important; box-shadow: none !important; color: #493c2b !important; }
body.orbit-site.maple-village .board-header { padding: 0 0 22px !important; gap: 15px; }
body.orbit-site.maple-village .board-header h2 { font-size: 23px !important; color: #59452e !important; }
body.orbit-site.maple-village .search-bar { display: flex; gap: 9px; padding: 0 0 20px !important; }
body.orbit-site.maple-village :is(input, select, textarea) { color: #352d25 !important; background: #fff !important; border: 1px solid #cebea3 !important; border-radius: 9px !important; padding: 11px 13px !important; box-shadow: none !important; font-size: 15px !important; }
body.orbit-site.maple-village input[type=checkbox], body.orbit-site.maple-village input[type=radio] { min-height: 0; accent-color: #b94c13; }
body.orbit-site.maple-village input::placeholder, body.orbit-site.maple-village textarea::placeholder { color: #796d5c !important; opacity: 1; }
body.orbit-site.maple-village :is(label, .form-label, .form-group label) { color: #4e402f !important; }
body.orbit-site.maple-village :is(.btn, .btn-sm, .btn-primary, .btn-secondary, .btn-search, .btn-write, .btn-save, .btn-login, .btn-submit, .submit-btn, .btn-edit, .btn-delete, .crm-quick-btn, .member-quick-btn, .market-filter, .market-sell-btn, .page-btn, .btn-filter, .btn-export, .btn-reset) { min-height: 40px; display: inline-flex; justify-content: center; align-items: center; gap: 7px; padding: 10px 16px !important; border: 1px solid #d8bd96 !important; border-radius: 9px !important; background: #fff4e3 !important; color: #69431f !important; font-size: 14px !important; font-weight: 700; box-shadow: 0 3px 0 #e7d4b6 !important; text-shadow: none !important; cursor: pointer; transform: none !important; }
body.orbit-site.maple-village :is(.btn-primary, .btn-login, .btn-submit, .submit-btn, .btn-write, .btn-save, .crm-quick-btn.primary, .market-filter.active, .page-btn.active) { background: #b94c13 !important; color: #fff !important; border-color: #9e410f !important; box-shadow: 0 3px 0 #81350e !important; }
body.orbit-site.maple-village :is(.btn-danger, .btn-delete) { background: #fceae5 !important; color: #862e1e !important; border-color: #d9b2a7 !important; }
body.orbit-site.maple-village :is(.btn-success, .btn-approve) { background: #eaf2db !important; color: #35502c !important; border-color: #baca9a !important; }
body.orbit-site.maple-village :is(.btn, .btn-primary, .btn-secondary, .btn-search, .btn-write, .btn-save, .btn-login, .submit-btn, .crm-quick-btn, .market-filter):hover { filter: brightness(.97); transform: translateY(-1px) !important; }
body.orbit-site.maple-village :is(.write-container, .post-detail) { max-width: none !important; padding: 28px !important; }
body.maple-village .post-title-detail { font-size: 28px; color: #483824; line-height: 1.5; }
body.maple-village .post-header { border-color: #e8dac2 !important; background: none !important; }
body.maple-village .post-content { color: #352d25 !important; font-size: 16px; line-height: 1.9; }
body.maple-village .post-meta { color: #655b50 !important; font-size: 13px; }
body.maple-village :is(.trade-info, .clan-meta-box, .board-special-box, .clan-meta-card) { background: #fff8e9 !important; border-color: #e5d3b1 !important; color: #654a2d !important; }
body.maple-village .comment-section { background: #fffcf6 !important; border-color: #e5d3b1 !important; border-radius: 12px; padding: 22px; }
body.maple-village .comment-title { font-size: 18px; color: #644529; }
body.maple-village .gallery-main-image { object-fit: contain !important; }
body.orbit-site.maple-village :is(.post-table, .admin-table, .market-table, .members-table) { width: 100%; border-collapse: collapse; background: #fff; }
body.orbit-site.maple-village :is(.post-table, .admin-table, .market-table, .members-table) th { background: #f6ead5 !important; color: #493a27 !important; border-bottom: 2px solid #d6bb91 !important; font-size: 14px !important; font-weight: 800 !important; padding: 15px 14px !important; }
body.orbit-site.maple-village :is(.post-table, .admin-table, .market-table, .members-table) td { color: #352d25 !important; background: #fff !important; border-bottom: 1px solid #eaddc8 !important; padding: 18px 14px !important; font-size: 15px !important; font-weight: 500; line-height: 1.65 !important; opacity: 1; }
body.orbit-site.maple-village :is(.post-table, .market-table, .members-table) a { color: #4e3e29 !important; }
body.maple-village :is(.board-list, .admin-table-container, .members-table-wrap, .member-preview-table, .market-table-wrap) { overflow-x: auto; border-color: #e5d2b1 !important; background: #fff !important; border-radius: 14px !important; box-shadow: none !important; }
body.maple-village .market-head { display: flex; flex-direction: column; align-items: stretch; gap: 20px; padding: 0 0 23px !important; margin: 0 !important; background: none !important; border: 0 !important; box-shadow: none !important; }
body.maple-village .market-head h2 { font-family: Jua, sans-serif; font-size: 28px !important; font-weight: 400; color: #62462c !important; margin: 0 0 8px; }
body.maple-village .market-head h2 > i { display: none; }
body.maple-village .market-head p { color: #655b50; font-size: 14px; }
.market-filters { display: flex; gap: 9px; flex-wrap: wrap; }
.market-table { min-width: 860px; }
.market-item strong { display: block; color: #463521; font-size: 15px; }
.market-item small { color: #6d5b45; font-size: 13px; }
body.maple-village .market-price { color: #8c3a10 !important; font-size: 17px !important; font-weight: 800 !important; white-space: nowrap; }
.market-note { color: #6c5339 !important; background: #fff0d9 !important; padding: 14px 18px; margin-top: 15px; border: 1px dashed #d6bd91; border-radius: 9px; font-size: 13px; line-height: 1.8; }
.grade { padding: 6px 10px; border-radius: 7px; font-size: 13px; font-weight: 700; }
.grade.money { color: #725115; background: #fff0c8; }
.grade.legend { color: #335b32; background: #eaf2df; }
.grade.heroic { color: #3a576b; background: #e4eff5; }
.village-market-welcome { display: flex; align-items: center; gap: 30px; position: relative; padding: 23px 30px; margin-bottom: 30px; background: #fff0d3; border: 2px solid #e4c493; border-radius: 25px; overflow: hidden; }
.village-market-welcome > img { width: 250px; height: 157px; flex: 0 0 250px; object-fit: cover; border: 5px solid #fff; border-radius: 13px; transform: rotate(-3deg); }
.village-market-welcome > div > span { color: #86572d; font-size: 13px; font-weight: 700; }
.village-market-welcome h2 { font-family: Jua, sans-serif; color: #664326; font-size: 31px; line-height: 1.45; font-weight: 400; margin: 8px 0; }
.village-market-welcome p { font-size: 14px; color: #725336; margin: 0; }
.village-market-welcome > small { position: absolute; right: 16px; bottom: 10px; color: #795c39; font-size: 13px; }

/* A centered welcome card above the form, not a split authentication screen. */
body.orbit-site.maple-village .main-content > .village-auth-layout { max-width: 580px !important; padding: 0 !important; background: #fff !important; border: 2px solid #e5d1af !important; border-radius: 26px !important; box-shadow: 0 6px 0 #e4d4b6 !important; overflow: hidden; }
.village-auth-welcome { background: #fff0d2; text-align: center; border-bottom: 1px solid #e5d1af; }
.village-auth-welcome > img { display: block; width: 100%; height: 185px; object-fit: cover; object-position: center 42%; }
.village-auth-welcome > div { padding: 20px 24px 22px; }
.village-auth-welcome > div > span { color: #865327; font-size: 13px; }
.village-auth-welcome h2 { margin: 5px 0 7px; font-family: Jua, sans-serif; font-size: 28px; font-weight: 400; color: #634225; }
.village-auth-welcome p { margin: 0; color: #6b5034; font-size: 13px; }
body.orbit-site.maple-village .village-auth-layout :is(.login-container, .register-container) { width: 100%; max-width: none !important; margin: 0 !important; padding: 28px 35px 34px !important; border: 0 !important; border-radius: 0 !important; box-shadow: none !important; }
body.maple-village :is(.login-header, .register-header) { text-align: left !important; padding: 0 !important; margin: 0 0 23px; background: none !important; border: 0 !important; }
body.maple-village :is(.login-header, .register-header) :is(h1, h2) { color: #654629 !important; font-family: Jua, sans-serif; font-size: 27px !important; font-weight: 400; }
body.maple-village :is(.login-header, .register-header) :is(h1, h2) > i { display: none; }
body.maple-village :is(.login-header, .register-header) p { color: #6a5640 !important; font-size: 13px; }
body.maple-village :is(.register-link, .login-link, .back-link, .divider) { color: #6a5640 !important; font-size: 13px; }
body.maple-village :is(.register-link, .login-link, .back-link) a { color: #9a4618 !important; }
body.orbit-site.maple-village.g5-admin-login > .login-container { max-width: 460px !important; width: calc(100% - 36px) !important; padding: 33px !important; margin: 9vh auto 5vh !important; border-top: 7px solid #c16d31 !important; }
.village-admin-auth-brand { display: flex; align-items: center; gap: 13px; color: #6c4427; font-family: Jua, sans-serif; font-size: 25px; margin-bottom: 27px; }
.village-admin-auth-brand img { width: 47px; }
.village-admin-auth-brand small { display: block; margin-top: 3px; color: #765c3f; font-family: 'Noto Sans KR', sans-serif; font-size: 13px; }

/* Admin: a light operations notebook with horizontal tabs. */
body.orbit-site.maple-village :is(.admin-crm-hero, .members-crm-hero) { background: #fff6e6 !important; border: 1px solid #ddc49d !important; border-left: 7px solid #bf6b2e !important; border-radius: 10px 23px 23px 10px !important; box-shadow: 0 4px 0 #eadcc4 !important; padding: 27px 30px !important; overflow: hidden; color: #5b432d !important; }
body.maple-village .admin-crm-hero::after, body.maple-village .members-crm-hero::after { content: none !important; }
.admin-hero-main, .members-hero-main { display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(280px, 1fr); gap: 25px; align-items: start; }
body.orbit-site.maple-village :is(.admin-title, .members-title) { font-family: Jua, sans-serif; font-size: 34px !important; font-weight: 400 !important; line-height: 1.4; color: #4c3a24 !important; letter-spacing: -.025em; margin: 9px 0 !important; }
body.maple-village .admin-title i, body.maple-village .members-title i { display: none; }
body.maple-village :is(.admin-badge, .members-badge) { color: #8a5227 !important; background: transparent !important; border: 0 !important; padding: 0 !important; font-size: 13px !important; font-weight: 700; letter-spacing: 0 !important; }
body.maple-village :is(.admin-subtitle, .members-subtitle) { font-size: 14px !important; color: #6b543c !important; line-height: 1.8; margin: 0 0 16px; }
.admin-meta-row, .members-meta-row { display: flex; gap: 8px; flex-wrap: wrap; }
body.maple-village :is(.admin-meta-chip, .members-meta-chip) { color: #705437 !important; background: #fffcf4 !important; border: 1px solid #e9d5b3 !important; border-radius: 6px !important; padding: 6px 9px !important; font-size: 13px !important; box-shadow: none !important; }
.admin-hero-actions, .members-hero-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-self: center; }
body.maple-village .admin-hero-actions > button, body.maple-village .members-hero-actions > button { min-width: 0; font-size: 13px !important; min-height: 43px; }
.crm-overview-grid, .members-overview-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0; margin-top: 24px !important; background: #fffdf7; border: 1px solid #e5d2b2; border-radius: 13px; overflow: hidden; }
body.maple-village :is(.crm-overview-card, .members-overview-card) { display: grid; grid-template-columns: 1fr auto; gap: 7px 10px; padding: 20px !important; border: 0 !important; border-right: 1px dashed #e0c9a3 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; }
body.maple-village :is(.crm-overview-card, .members-overview-card):last-child { border-right: 0 !important; }
body.maple-village .overview-value { color: #513b24 !important; font: 800 28px Arial, sans-serif !important; grid-row: 1; grid-column: 2; }
body.maple-village .overview-label { color: #6d5337 !important; font-size: 13px !important; align-self: center; }
body.maple-village .overview-sub { color: #715d44 !important; font-size: 13px; grid-column: 1 / -1; }
.village-admin-stats { margin: 20px 0; border: 1px dashed #d6be96; background: #fffdf7; border-radius: 11px; padding: 0 19px; }
.village-admin-stats summary { display: flex; align-items: center; gap: 9px; cursor: pointer; padding: 15px 0; color: #5d4830; font-size: 14px; font-weight: 700; list-style: none; }
.village-admin-stats summary > i:last-child { margin-left: auto; }
.village-admin-stats summary::-webkit-details-marker { display: none; }
.village-admin-stats[open] summary { border-bottom: 1px dashed #dcc5a0; }
.village-admin-stats .admin-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; padding: 16px 0; margin: 0 !important; }
body.maple-village .village-admin-stats .stat-card { display: grid; grid-template-columns: 25px minmax(0, 1fr) auto; align-items: center; gap: 7px; padding: 15px !important; border: 1px solid #ebdcc4 !important; border-radius: 10px !important; background: #fff9ed !important; text-align: left !important; box-shadow: none !important; }
body.maple-village .stat-card > i { font-size: 17px !important; color: #956035 !important; margin: 0 !important; }
body.maple-village .stat-card h3 { font-size: 13px !important; color: #6c5235 !important; margin: 0 !important; }
body.maple-village .stat-card .stat-number { color: #624329 !important; font: 700 21px Arial, sans-serif !important; margin: 0 !important; }
.stat-card .stat-foot { grid-column: 2 / -1; font-size: 13px; color: #705b42; }
.village-admin-workspace { min-width: 0; margin-top: 24px; }
.village-admin-toolbar { background: #fff5e2; border: 1px solid #d9be95; border-radius: 16px 16px 0 0; padding: 17px 22px 0; }
.village-admin-toolbar-title { display: flex; align-items: center; gap: 13px; padding-bottom: 15px; }
.village-admin-toolbar-title > span:last-child { color: #715c40; font-size: 13px; }
body.orbit-site.maple-village .village-admin-toolbar .admin-tabs { display: flex !important; gap: 7px; overflow-x: auto; padding: 0 !important; margin: 0 !important; border: 0 !important; border-radius: 0 !important; background: transparent !important; box-shadow: none !important; flex-wrap: nowrap; }
body.orbit-site.maple-village .village-admin-toolbar .tab-btn { flex: 0 0 auto; min-width: 140px; display: flex; justify-content: center; gap: 8px; align-items: center; color: #614528 !important; background: #eedbb9 !important; border: 1px solid #dcc09a !important; border-bottom: 0 !important; border-radius: 11px 11px 0 0 !important; padding: 14px 20px !important; font-size: 14px !important; font-weight: 700; box-shadow: none !important; text-shadow: none; }
body.orbit-site.maple-village .village-admin-toolbar .tab-btn.active { color: #8b350c !important; background: #fff !important; border-top: 4px solid #b94c13 !important; padding-top: 11px !important; }
.village-admin-canvas { min-width: 0; }
body.orbit-site.maple-village .tab-content { display: none; min-width: 0; background: #fff !important; color: #352d25 !important; border: 1px solid #d9be95 !important; border-top: 0 !important; border-radius: 0 0 16px 16px !important; padding: 26px !important; margin: 0 !important; box-shadow: 0 4px 0 #e9dcc4 !important; }
body.orbit-site.maple-village .tab-content.active { display: block; }
.village-admin-links { display: flex; gap: 14px 24px; align-items: center; flex-wrap: wrap; padding: 20px 6px; }
.village-admin-links > span { color: #765334; font-size: 13px; font-weight: 700; margin-right: auto; }
.village-admin-links a { color: #715439; font-size: 13px; }
.village-admin-links a > i { margin-left: 6px; }
body.maple-village :is(.crm-section-header, .tab-header-actions, .request-toolbar, .members-section-header) { display: flex; justify-content: space-between; align-items: start; gap: 19px; padding: 0 !important; border: 0 !important; background: none !important; }
body.maple-village .request-toolbar { flex-direction: column; }
body.maple-village .crm-section-kicker { color: #8b5629 !important; font-size: 13px !important; letter-spacing: .06em; }
body.maple-village :is(.crm-section-header h3, .tab-header-actions h3, .members-section-header h2) { color: #543c25 !important; font-size: 22px !important; margin: 9px 0 !important; }
body.maple-village :is(.crm-section-description, .section-description, .request-table-caption, .table-caption) { font-size: 13px !important; color: #65523c !important; line-height: 1.8; }
body.maple-village :is(.filter-bar, .crm-filter-bar, .members-toolbar) { display: flex; gap: 9px; flex-wrap: wrap; padding: 17px 0 !important; background: none !important; border: 0 !important; }
.filter-bar input { flex: 1; min-width: 130px; }
.header-action-btns { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
body.maple-village .header-action-btns > button { min-height: 38px; padding: 9px 12px !important; font-size: 13px !important; margin: 0 !important; }
body.maple-village .request-insight-bar { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 11px; margin: 20px 0; }
body.maple-village .request-insight-card { background: #fffaf0 !important; border: 1px solid #e5d3b5 !important; border-top: 3px solid #c48b4e !important; border-radius: 10px !important; padding: 15px !important; box-shadow: none !important; }
body.maple-village :is(.insight-label, .insight-sub) { color: #6d563a !important; font-size: 13px !important; }
body.maple-village .insight-value { color: #49341f !important; font-size: 22px !important; font-weight: 800; }
body.maple-village .request-card-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 17px; margin: 20px 0; }
body.maple-village .request-card { min-width: 0; color: #352d25 !important; border: 1px solid #d9c3a1 !important; border-left: 4px solid #bb7d3d !important; border-radius: 11px !important; background: #fffdf7 !important; box-shadow: 0 3px 0 #eee1ca !important; }
body.maple-village .request-card:hover { transform: none !important; }
body.maple-village :is(.request-card-title, .request-meta-value, .estimated-item strong) { color: #352d25 !important; font-size: 15px !important; font-weight: 700 !important; line-height: 1.7; overflow-wrap: anywhere; white-space: normal; }
body.maple-village :is(.request-card-subtitle, .request-meta-label, .request-amount-label) { color: #6b563d !important; font-size: 13px !important; }
body.maple-village :is(.request-meta-item, .member-meta-item) { background: #fff8e9 !important; border-color: #e4d3b8 !important; border-radius: 8px !important; }
body.maple-village .request-amount-line { border-radius: 9px !important; border-color: #d8c9af !important; }
body.maple-village .request-amount-line.sell .request-amount-value { color: #812c14 !important; }
body.maple-village .request-amount-line.buy .request-amount-value { color: #154c65 !important; }
body.maple-village .request-actions { border-color: #e4d3b8 !important; }
body.orbit-site.maple-village :is(.filter-btn, .action-btn, .back-btn, .btn-file-select, .export-btn) { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 39px; padding: 9px 14px !important; border: 1px solid #d8bd96 !important; border-radius: 8px !important; background: #fff4e3 !important; color: #69431f !important; box-shadow: 0 3px 0 #e7d4b6 !important; font-size: 14px !important; font-weight: 700; }
body.orbit-site.maple-village .filter-btn.active { background: #b94c13 !important; border-color: #9e410f !important; color: #fff !important; box-shadow: 0 3px 0 #81350e !important; }
body.maple-village .request-table-block .admin-table { min-width: 1400px; }
body.maple-village .request-table-block td { font-variant-numeric: tabular-nums; }
body.maple-village .request-table-block td:nth-child(1) { white-space: nowrap; }
body.maple-village .request-table-block td:nth-child(8) { min-width: 240px; text-align: left; }
body.orbit-site.maple-village .request-table-block .admin-table tbody td:nth-child(5), body.orbit-site.maple-village .request-table-block .admin-table tbody td:nth-child(5) * { color: #812c14 !important; background: #ffeddd !important; font-weight: 800 !important; white-space: nowrap; }
body.orbit-site.maple-village .request-table-block .admin-table tbody td:nth-child(6), body.orbit-site.maple-village .request-table-block .admin-table tbody td:nth-child(6) * { color: #154c65 !important; background: #e2f3fa !important; font-weight: 800 !important; white-space: nowrap; }
body.maple-village .request-amount-line.sell { color: #812c14 !important; background: #ffeddd !important; }
body.maple-village .request-amount-line.buy { color: #154c65 !important; background: #e2f3fa !important; }
body.maple-village .request-amount-value { font-size: 20px !important; font-weight: 800; }
body.orbit-site.maple-village .status-badge { min-width: 80px; min-height: 34px; padding: 7px 12px !important; border-radius: 7px !important; border: 1px solid transparent; font-size: 13px !important; line-height: 1.5 !important; font-weight: 800 !important; white-space: nowrap !important; overflow: visible !important; }
body.orbit-site.maple-village :is(.status-completed, .status-approved) { color: #244518 !important; background: #e0efd5 !important; border-color: #b6cea4; }
body.orbit-site.maple-village .status-processing { color: #144860 !important; background: #e0eff5 !important; }
body.orbit-site.maple-village .status-pending { color: #63410c !important; background: #fff0c9 !important; }
body.orbit-site.maple-village :is(.status-cancelled, .status-rejected) { color: #713037 !important; background: #f7e3e5 !important; }
body.maple-village .inven-date-admin { margin-top: 28px; padding-bottom: 23px; }
.inven-date-admin-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; padding: 21px; }
.inven-date-admin-list label { display: grid; grid-template-columns: 1fr; gap: 8px; padding: 14px; background: #fff8e9; border: 1px dashed #dbc29a; border-radius: 9px; }
.inven-date-admin-list label > span { font-size: 13px; }
.inven-date-admin-list input { width: 100%; }
#save-inven-dates { margin: 0 21px; }
body.maple-village .market-selection-control { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
body.maple-village .market-selection-control select { min-width: 205px; width: auto; }
body.maple-village :is(.settings-container, .members-container) { padding: 26px !important; }
body.maple-village :is(.settings-card, .member-stat-card, .member-preview-card, .member-detail-card, .data-card, .status-box) { background: #fffdf7 !important; color: #493824 !important; border: 1px solid #dfc9a6 !important; border-radius: 13px !important; box-shadow: none !important; }
body.maple-village :is(.settings-title, .settings-header h2, .settings-card h3, .members-header h2, .member-title, .data-card h3) { color: #614226 !important; }
body.orbit-site.maple-village .modal { position: fixed; inset: 0; background: #32251877 !important; backdrop-filter: blur(3px); z-index: 1100 !important; padding: 24px; overflow-y: auto; }
body.maple-village .modal.show { display: flex; }
body.orbit-site.maple-village .modal-content { background: #fffdf8 !important; color: #352d25 !important; border: 2px solid #d5b68c !important; border-top: 6px solid #c67437 !important; border-radius: 17px !important; box-shadow: 0 25px 65px #38230e33 !important; max-height: calc(100vh - 48px); overflow: auto; padding: 27px !important; }
body.maple-village :is(.modal-header, .modal-footer) { background: none !important; border-color: #e3cfae !important; padding: 17px 0 !important; }
body.maple-village :is(.modal-title, .modal-header h2, .modal-header h3) { color: #5d4125 !important; font-size: 23px; }
body.maple-village .modal-close { color: #765332 !important; font-size: 28px; cursor: pointer; }
.modal-body { padding: 17px 0 !important; }
.modal-footer, .modal-actions { display: flex; justify-content: flex-end; gap: 10px; }
.id-number-input { display: flex; align-items: center; gap: 8px; }
.id-number-input input { min-width: 0; }

/* Motion is light and optional; responsive layouts keep the same controls. */
@media (prefers-reduced-motion: no-preference) {
  .village-hero-letter { animation: village-letter-in .65s ease both; }
  .village-hero-stamp { animation: village-stamp-in .85s ease both; }
  @keyframes village-letter-in { from { opacity: 0; transform: translateY(12px) rotate(-2deg); } to { opacity: 1; transform: translateY(0) rotate(-1.2deg); } }
  @keyframes village-stamp-in { from { opacity: 0; transform: scale(.9) rotate(9deg); } to { opacity: 1; transform: scale(1) rotate(5deg); } }
}
@media (max-width: 1100px) {
  body.orbit-site.maple-village .container { padding-left: 24px !important; padding-right: 24px !important; }
  body.orbit-site.maple-village .main-nav ul { justify-content: flex-start; }
  body.orbit-site.maple-village .main-nav a { padding-left: 13px !important; padding-right: 13px !important; font-size: 13px !important; }
  .village-masthead-contact { font-size: 13px; }
  .village-masthead-contact > i { display: none; }
  .village-masthead-contact b { font-size: 13px; }
  .village-town-grid { grid-template-columns: 226px minmax(0, 1fr); gap: 23px; }
  .village-feed-cover > img { min-height: 278px; }
  body.orbit-site.maple-village .village-feed { grid-template-columns: 116px minmax(0, 1fr); }
  .village-section-heading h2 { font-size: 27px; }
  .village-section-heading h2 span { display: none; }
  body.orbit-site.maple-village .portal-panel-title { font-size: 14px !important; }
  .admin-hero-main, .members-hero-main { grid-template-columns: minmax(0, 1fr) 300px; }
  .village-market-welcome h2 { font-size: 28px; }
}
@media (max-width: 860px) {
  .village-masthead-note { visibility: hidden; }
  .village-hero { padding: 29px; min-height: 415px; }
  .village-hero-letter { width: 350px; padding: 24px 26px; }
  .village-hero-letter h2 { font-size: 37px; }
  .village-hero-stamp { right: 22px; bottom: 28px; padding: 9px 12px; font-size: 13px; }
  .village-hero-stamp > i { font-size: 20px; }
  .village-town-grid { grid-template-columns: minmax(0, 1fr); }
  .village-sidebar { grid-template-columns: 1fr 1fr; gap: 19px; }
  .village-welcome-card { grid-row: span 2; }
  .village-contact-note { padding: 17px 19px; }
  .village-contact-note h3 { margin-top: 7px; font-size: 16px; }
  .village-contact-note p { display: none; }
  .village-contact-action { margin-top: 11px; }
  .village-postcard { display: none; }
  .village-map-menu > a { padding: 10px 5px; }
  .village-menu-icon { width: 36px; height: 36px; font-size: 18px; margin-bottom: 7px; }
  .village-town-content { margin-top: 8px; }
  body.orbit-site.maple-village .village-feed { grid-template-columns: 145px minmax(0, 1fr); }
  .village-feed-cover > img { min-height: 268px; }
  .village-section-heading h2 span { display: inline; }
  .village-page-title > img { width: 150px; flex-basis: 150px; height: 110px; }
  .village-page-symbol { display: none; }
  .admin-hero-main, .members-hero-main { grid-template-columns: 1fr; gap: 18px; }
  .admin-hero-actions, .members-hero-actions { grid-template-columns: repeat(4, minmax(0, 1fr)); }
  body.orbit-site.maple-village .admin-hero-actions > button, body.orbit-site.maple-village .members-hero-actions > button { font-size: 13px !important; padding-left: 8px !important; padding-right: 8px !important; }
  body.maple-village .request-insight-bar { grid-template-columns: 1fr 1fr; }
  .village-admin-stats .admin-stats { grid-template-columns: 1fr 1fr; }
  .village-market-welcome { gap: 22px; padding: 21px; }
  .village-market-welcome > img { width: 185px; flex-basis: 185px; height: 145px; }
  .village-market-welcome h2 { font-size: 26px; }
  .village-footer-main { gap: 19px; }
  .village-footer-links { gap: 10px 14px; }
}
@media (max-width: 620px) {
  body.orbit-site.maple-village .container { padding-left: 18px !important; padding-right: 18px !important; }
  body.orbit-site.maple-village .main-content, body.orbit-site.maple-village .market-page { padding-top: 23px !important; padding-bottom: 45px !important; }
  .village-site-note .container { justify-content: center; min-height: 30px; font-size: 13px; }
  .village-site-note .container > span { display: none; }
  body.orbit-site.maple-village .header-content { display: flex !important; flex-direction: column; gap: 0; padding-top: 21px !important; }
  .village-masthead-note, .village-masthead-contact { display: none; }
  body.orbit-site.maple-village .logo { padding-bottom: 20px; }
  body.orbit-site.maple-village .logo img { width: 44px !important; height: 44px !important; }
  body.orbit-site.maple-village .logo h1 { font-size: 32px !important; }
  body.orbit-site.maple-village .main-nav { width: calc(100% + 36px); margin-left: -18px; margin-right: -18px; }
  body.orbit-site.maple-village .main-nav ul { padding-left: 12px; padding-right: 12px; }
  body.orbit-site.maple-village .main-nav a { min-height: 48px; padding: 11px 13px !important; font-size: 13px !important; }
  body.orbit-site.maple-village .village-home { padding-top: 18px !important; padding-bottom: 43px !important; }
  .village-hero { min-height: 530px; padding: 20px 16px; display: flex; align-items: flex-start; border-radius: 23px 23px 50px 23px; }
  .village-hero-scenery { object-position: 57% bottom; }
  .village-hero::after { background: linear-gradient(#fff7e526, transparent); }
  .village-hero-letter { width: 100%; padding: 21px 22px 24px; background: #fffdf5; }
  .village-hero-letter h2 { font-size: 35px; margin-top: 12px; margin-bottom: 12px; }
  .village-hero-letter p { font-size: 14px; margin-bottom: 20px; }
  .village-hero-stamp { right: 24px; bottom: 34px; background: #fff9e8; }
  .village-art-credit { right: 37px; font-size: 13px; bottom: 8px; }
  body.orbit-site.maple-village .portal-live { gap: 10px; margin-top: 20px !important; margin-bottom: 22px !important; padding: 11px 13px !important; }
  .village-live-bar strong, .village-live-bar a { font-size: 13px; }
  .village-sidebar { display: grid; grid-template-columns: 1fr; gap: 17px; }
  .village-welcome-card { padding: 18px 19px; display: grid; grid-template-columns: auto 1fr; column-gap: 14px; text-align: left; align-items: center; }
  .village-welcome-avatar { width: 56px; height: 56px; margin: 0; grid-row: 1 / 4; }
  .village-welcome-avatar img { width: 38px; }
  .village-welcome-card > span:not(.village-welcome-avatar) { font-size: 13px; }
  .village-welcome-card h3 { font-size: 21px; margin: 4px 0; }
  .village-welcome-card p { font-size: 13px; line-height: 1.6; margin: 0; }
  .village-welcome-card p br { display: none; }
  .village-welcome-card .village-button { grid-column: 1 / -1; margin-top: 16px; }
  .village-welcome-card .village-join-link { grid-column: 1 / -1; text-align: center; margin-top: 16px; }
  .village-map-menu { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 7px; }
  .village-map-menu > a { padding: 12px 3px; border-radius: 13px; }
  .village-map-menu b { font-size: 13px; }
  .village-map-menu small { display: none; }
  .village-contact-note { display: grid; grid-template-columns: 1fr auto; column-gap: 10px; padding: 15px 18px; border-radius: 12px; }
  .village-contact-note::before { content: none; }
  .village-contact-note .village-label { font-size: 13px; }
  .village-contact-note h3 { grid-column: 1; font-size: 15px; margin: 3px 0 0; }
  .village-contact-note > a:not(.village-contact-action) { grid-row: 1 / 3; grid-column: 2; align-self: center; font-size: 19px; }
  .village-contact-note .village-contact-action { display: none; }
  .village-town-grid { gap: 25px; }
  .village-town-content { margin: 0; }
  .village-section-heading { gap: 9px; margin-bottom: 14px; }
  .village-section-heading h2 { font-size: 27px; }
  .village-section-heading h2 span { display: none; }
  .village-text-link { font-size: 13px; gap: 6px; }
  body.orbit-site.maple-village .portal-board-grid { gap: 17px !important; }
  body.orbit-site.maple-village .village-feed { display: block; }
  .village-feed-cover { height: 98px; }
  .village-feed-cover > img { min-height: 0; height: 98px; object-position: center 34%; }
  .village-feed-cover > span { width: 33px; height: 33px; font-size: 14px; top: 12px; left: 13px; }
  body.orbit-site.maple-village .portal-panel-title { min-height: 54px !important; padding: 13px 16px !important; font-size: 14px !important; }
  body.orbit-site.maple-village .board-preview .preview-item { padding: 12px 16px !important; }
  body.orbit-site.maple-village .preview-title { font-size: 14px !important; }
  body.orbit-site.maple-village .preview-meta { font-size: 13px !important; }
  .feed-state { font-size: 13px; padding-left: 16px; padding-right: 16px; }
  .village-shop, .village-trade-section { margin-top: 29px; }
  .village-shop-sign { padding: 15px 16px; gap: 11px; }
  .village-shop-sign > i { font-size: 23px; }
  .village-shop-sign > span { font-size: 20px; }
  .village-shop-sign small { font-size: 13px; }
  .village-shop-panel .board-preview { grid-template-columns: 1fr; }
  .village-shop-panel .preview-item:nth-child(odd) { border-right: 0 !important; }
  .village-bottom-banner { min-height: 209px; margin-top: 29px; padding: 25px; border-radius: 20px; }
  .village-bottom-banner h2 { font-size: 27px; }
  .village-bottom-banner > div > span { font-size: 13px; }
  .village-bottom-banner > small { font-size: 13px; }
  .village-footer-main { display: flex; flex-direction: column; align-items: stretch; gap: 23px; }
  .village-footer-brand { justify-content: center; }
  .village-footer-links { justify-content: center; gap: 10px 17px; }
  .village-footer-links > a { font-size: 13px; }
  .village-footer-contact { padding: 15px; gap: 11px; }
  .village-footer-contact > div { display: block; }
  .village-footer-contact span { font-size: 13px; }
  .village-footer-contact strong { display: block; margin-top: 4px; font-size: 21px; }
  .village-footer-contact > i { width: 35px; height: 35px; font-size: 15px; }
  .village-footer-contact > b { font-size: 13px; }
  .village-footer-bottom { flex-direction: column; font-size: 13px; }
  body.maple-village .mw-disclaimer { font-size: 13px; padding-bottom: 80px !important; }
  body.orbit-site.maple-village .contact-floating-btn { min-width: 111px; height: 40px !important; right: 12px !important; bottom: 67px !important; font-size: 13px !important; padding: 9px 12px !important; }
  body.orbit-site.maple-village .contact-floating-btn.kakao-floating-btn { bottom: 17px !important; }
  .village-page-title { padding: 18px; min-height: 119px; border-radius: 17px; }
  .village-page-title h2 { font-size: 28px; }
  .village-page-title p { font-size: 13px; }
  .village-page-title > img { display: none; }
  body.orbit-site.maple-village .search-bar { flex-wrap: wrap; }
  .search-bar input { flex: 1; min-width: 110px; }
  .board-header { flex-wrap: wrap; }
  body.orbit-site.maple-village :is(.write-container, .post-detail) { padding: 21px !important; }
  body.orbit-site.maple-village .main-content > .village-auth-layout { width: calc(100% - 36px) !important; padding: 0 !important; }
  .village-auth-welcome > img { height: 155px; }
  .village-auth-welcome > div { padding: 19px; }
  .village-auth-welcome h2 { font-size: 26px; }
  body.orbit-site.maple-village .village-auth-layout :is(.login-container, .register-container) { padding: 25px !important; }
  .village-market-welcome { display: block; padding: 20px 23px 26px; border-radius: 20px; }
  .village-market-welcome > img { width: 100%; height: 129px; display: block; transform: rotate(-1deg); margin: 0 0 19px; }
  .village-market-welcome h2 { font-size: 28px; }
  body.maple-village .market-head h2 { font-size: 26px !important; }
  .market-filters { gap: 8px; }
  body.orbit-site.maple-village .market-filter { font-size: 13px !important; padding: 9px 13px !important; }
  body.orbit-site.maple-village :is(.admin-crm-hero, .members-crm-hero) { padding: 22px !important; }
  body.orbit-site.maple-village :is(.admin-title, .members-title) { font-size: 30px !important; }
  .admin-hero-actions, .members-hero-actions { grid-template-columns: 1fr 1fr; }
  .crm-overview-grid, .members-overview-grid { grid-template-columns: 1fr; margin-top: 20px !important; }
  body.maple-village :is(.crm-overview-card, .members-overview-card) { border-right: 0 !important; border-bottom: 1px dashed #e0c9a3 !important; padding: 15px !important; }
  body.maple-village :is(.crm-overview-card, .members-overview-card):last-child { border-bottom: 0 !important; }
  .village-admin-stats .admin-stats { grid-template-columns: 1fr; }
  .village-admin-toolbar { padding: 15px 13px 0; }
  .village-admin-toolbar-title { gap: 9px; }
  .village-admin-toolbar-title > span:last-child { font-size: 13px; }
  body.orbit-site.maple-village .village-admin-toolbar .tab-btn { min-width: 125px; font-size: 13px !important; padding-left: 14px !important; padding-right: 14px !important; }
  body.orbit-site.maple-village .tab-content { padding: 19px !important; }
  body.maple-village .request-card-grid { grid-template-columns: 1fr; }
  body.maple-village .request-insight-card { padding: 12px !important; }
  body.maple-village .insight-value { font-size: 18px !important; }
  body.maple-village .insight-sub { font-size: 13px !important; }
  .village-admin-links { gap: 11px 18px; }
  .village-admin-links > span { width: 100%; }
  .inven-date-admin-list { grid-template-columns: 1fr; padding: 16px; gap: 10px; }
  #save-inven-dates { margin-left: 16px; margin-right: 16px; }
  body.orbit-site.maple-village .modal { padding: 14px; }
  body.orbit-site.maple-village .modal-content { padding: 21px !important; max-height: calc(100vh - 28px); }
  .form-grid-3 { grid-template-columns: 1fr !important; }
  body.maple-village :is(.settings-container, .members-container) { padding: 21px !important; }
  .settings-header { flex-direction: column; align-items: flex-start; gap: 13px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body.maple-village *, body.maple-village *::before, body.maple-village *::after { animation: none !important; transition: none !important; }
}
