/* =====================================================================
   다먹고살자고하는일 v2 : Cargo 데스크톱 템플릿과 같은 모양
   - 바탕화면: 짙은 갈회색 메뉴바 + 꽉 찬 배경 + 자유 배치 아이콘(흰 굵은 캡션, 그림자)
   - 아이콘 줌: 누른 그림이 가운데로 크게 떠오름(배경막 없음)
   - 회색 페이지: #e7e7e7 바탕, 가운데 정렬 작은 글씨
   글자·여백 값은 편집기 설정(site.json)이 CSS 변수로 덮어쓴다.
   ===================================================================== */
:root {
  --menubar: #3a3230;
  --mb-h: 28px;
  --sys: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Helvetica Neue", "Segoe UI", Arial, sans-serif;
  --page-width: 100%;
  --page-pad: 2rem;
  --page-inset: 0rem;
  --page-align: center;
  --page-bg: #e7e7e7;
  --page-minh: auto;
  --heading-font: var(--sys); --heading-size: 13px; --heading-weight: 700; --heading-color: #222;
  --bodycopy-font: var(--sys); --bodycopy-size: 12px; --bodycopy-weight: 400; --bodycopy-color: #222;
  --caption-font: var(--sys); --caption-size: 10px; --caption-weight: 400; --caption-color: #333;
  --line: #cdcdcd;
  --soft: #6b6b6b;
  --ed-top: 0px;
  --ed-right: 0px;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; }
html, body { height: 100%; }
body { margin: 0; overflow: hidden; background: #2b2523; color: #222; font-family: var(--sys); font-size: 12px; line-height: 1.5; -webkit-font-smoothing: antialiased; word-break: keep-all; overflow-wrap: anywhere; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button, input, select, textarea { font: inherit; color: inherit; }
button { cursor: pointer; }
:focus-visible { outline: 2px solid #0a6cff; outline-offset: 2px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }
.ic { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.t-heading { font-family: var(--heading-font); font-size: var(--heading-size); font-weight: var(--heading-weight); color: var(--heading-color); }
.t-bodycopy { font-family: var(--bodycopy-font); font-size: var(--bodycopy-size); font-weight: var(--bodycopy-weight); color: var(--bodycopy-color); }
.t-caption { font-family: var(--caption-font); font-size: var(--caption-size); font-weight: var(--caption-weight); color: var(--caption-color); }

/* ---------------- 사이트 틀 ---------------- */
.site { position: fixed; top: var(--ed-top); right: var(--ed-right); bottom: 0; left: 0; overflow: hidden; background: #2b2523; }
.menubar {
  position: absolute; inset: 0 0 auto 0; z-index: 50; height: var(--mb-h);
  display: flex; align-items: center; justify-content: space-between; padding: 0 10px 0 9px;
  background: var(--menubar); color: #fff; font-family: "Apple SD Gothic Neo", var(--sys); font-weight: 800; font-size: 13.5px; letter-spacing: -.01em;
}
.mb-brand { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; overflow: hidden; }
.mb-brand img { width: 13px; height: 13px; }
.mb-brand span { overflow: hidden; text-overflow: ellipsis; }
.mb-right { display: flex; align-items: center; gap: 12px; }
.mb-btn { display: grid; place-items: center; width: 18px; height: 18px; color: #fff; }
.mb-btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.8; }
.mb-clock { font-variant-numeric: tabular-nums; min-width: 58px; text-align: right; }
.stage { position: absolute; inset: var(--mb-h) 0 0 0; overflow: hidden; }
.stage.is-page { overflow: auto; background: var(--page-bg); -webkit-overflow-scrolling: touch; }

/* ---------------- 페이지 = 배경 + 내용(블록) ---------------- */
.stage.is-page { background: #e7e7e7; }
.cpage { position: relative; min-height: 100%; display: flex; flex-direction: column; }
.pg-content {
  position: relative; z-index: 3; box-sizing: border-box; width: var(--pg-w, 100%); margin-left: var(--pg-ml, auto); margin-right: var(--pg-mr, auto);
  min-height: var(--pg-minh, auto); flex: 1 0 auto; display: flex; flex-direction: column; justify-content: var(--pg-just, flex-start);
  padding: var(--pg-pt, 16px) var(--pg-pr, 16px) var(--pg-pb, 16px) var(--pg-pl, 16px); text-align: var(--pg-align, center);
  background: var(--pg-cbg, transparent); border: var(--pg-border, none); box-shadow: var(--pg-shadow, none); opacity: var(--pg-op, 1); mix-blend-mode: var(--pg-blend, normal);
}
.pinned { position: relative; z-index: 4; }
/* 배경 */
.backdrop { position: absolute; inset: 0; z-index: 0; overflow: hidden; pointer-events: none; }
.has-backdrop .backdrop { position: fixed; top: calc(var(--ed-top) + var(--mb-h)); right: var(--ed-right); bottom: 0; left: 0; }
.has-backdrop.bd-clip .backdrop { position: absolute; }
.backdrop.split { right: 50% !important; }
.bd-img, .bd-video, .bd-still { position: absolute; inset: var(--bd-margin, 0); }
.bd-img { background: center / cover no-repeat; }
.bd-img.kb { inset: calc(var(--bd-margin, 0px) - 3%); animation: kenburns 70s ease-in-out infinite alternate; will-change: transform; }
.bd-img.paused { animation-play-state: paused; }
@keyframes kenburns { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.13) translate(-2.4%, -1.4%); } }
.bd-video video { width: 100%; height: 100%; }
.bd-video.yt { overflow: hidden; }
.yt-poster { position: absolute; inset: 0; background: center / cover no-repeat; transform: scale(1.34); } /* 썸네일 위아래 검은 띠를 잘라 낸다 */
/* Cargo 와 같은 방법: iframe 을 영상 높이보다 위아래 200px 씩 더 크게 만든다. 유튜브는 영상을 가운데에 두고
   남는 위아래 띠에 제목·로고를 그리므로, 그 띠가 잘려 나가 화면에는 영상만 보인다 */
.bd-video.yt iframe { position: absolute; left: 50%; top: 50%; width: max(100%, 177.78vh); height: calc(max(100%, 56.25vw) + 400px); transform: translate(-50%, -50%); border: 0; pointer-events: none; opacity: 0; transition: opacity .4s; }
.bd-video.yt.playing iframe { opacity: 1; }
.bd-video.yt.fit iframe { width: 100%; height: calc(100% + 400px); }
.bd-still { display: none; background: center / cover no-repeat; }
@media (max-width: 767px) { .bd-still { display: block; } .bd-still + * { display: none; } }
.bd-overlay { position: absolute; inset: 0; }
.bd-play {
  position: fixed; left: calc(50% - var(--ed-right) / 2); top: calc(50% + var(--ed-top) / 2 + var(--mb-h) / 2); z-index: 5; width: 46px; height: 46px; margin: -23px 0 0 -23px; border-radius: 50%; border: none;
  background: rgba(60, 60, 60, .62); color: #fff; display: grid; place-items: center; padding: 0; opacity: .9; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px);
}
.bd-play svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 2.6; stroke-linecap: round; stroke-linejoin: round; }
.bd-play .i-play { fill: currentColor; stroke-width: 1; }
.bd-play .i-play, .bd-play.paused .i-pause { display: none; }
.bd-play.paused .i-play { display: block; }

/* 블록 공통 */
.blk { position: relative; }
.blk-text { outline: none; }
.blk-text p { margin: 0; }
.blk-text img.inline-ic, .inline-ic { display: inline-block; width: 1.05em; height: 1.05em; vertical-align: -0.18em; }
.blk-text ul, .blk-text ol { text-align: left; display: inline-block; margin: .3em 0; }
.blk-hr hr { width: 100%; }
.blk-video { margin: 1em 0; }
.vid-box { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.vid-box.sq { aspect-ratio: 1; }
.vid-box iframe, .vid-box video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.vid-box .s-caption { position: absolute; inset: 0; display: grid; place-items: center; color: #aaa; }
.blk-button { margin: .8em 0; }
.cargo-btn { display: inline-block; padding: .35em 1em; border: 1px solid currentColor; border-radius: 2em; text-decoration: none !important; }
.cargo-btn:hover { background: rgba(0, 0, 0, .06); }
.blk-columns { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 2em; text-align: left; margin: 1em 0; }
.blk-columns .col { outline: none; min-height: 1.5em; }
.blk-index { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: 1.2em; margin: 1em 0; }
.ix-item { display: grid; gap: 4px; text-decoration: none !important; }
.ix-th { aspect-ratio: 4 / 3; background: #d4d4d4; display: block; overflow: hidden; }
.ix-th img { width: 100%; height: 100%; object-fit: contain; }
.blk-audio { display: inline-flex; align-items: center; gap: 8px; justify-content: center; margin: .6em auto; }
.au-play { width: 28px; height: 28px; border-radius: 50%; border: 1px solid #555; background: none; font-size: 11px; }
.blk-clock { margin: .4em 0; font-variant-numeric: tabular-nums; }
.blk-flying { position: fixed; z-index: 30; pointer-events: none; }
.blk-flying img { width: 100%; }
.blk-app { text-align: left; max-width: 780px; width: 100%; margin: 0 auto; }
.app-body.full { max-width: none; }
/* 갤러리 */
.g-freeform { position: relative; width: 100%; min-height: 40px; }
.g-grid { display: grid; grid-template-columns: repeat(var(--cols), minmax(0, 1fr)); gap: var(--gut); margin: 1em 0; }
.g-columns { column-count: var(--cols); column-gap: var(--gut); margin: 1em 0; }
.g-columns .g-item { break-inside: avoid; margin-bottom: var(--gut); display: block; }
.g-justify { display: flex; flex-wrap: wrap; gap: var(--gut); margin: 1em 0; }
.g-justify .g-item { flex: 1 1 auto; height: 200px; }
.g-justify .g-cell img { height: 200px; width: 100%; object-fit: cover; }
.g-item { display: block; position: relative; text-decoration: none !important; }
.g-cell { display: block; }
.g-cell img { width: 100%; height: auto; }
.g-cap { display: block; margin-top: 4px; }
.g-slideshow { position: relative; margin: 0 -.2em; }
.ss-track { position: relative; }
.ss-slide { margin: 0; display: none; }
.ss-slide.on { display: block; }
.ss-slide img { width: 100%; height: auto; }
.ss-slide figcaption { margin-top: 6px; }
.ss-arrow { position: absolute; top: 50%; z-index: 2; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; border: none; background: rgba(150, 150, 150, .55); color: #fff; font-size: 18px; line-height: 1; padding: 0 0 3px; display: grid; place-items: center; }
.ss-arrow.prev { left: 14px; } .ss-arrow.next { right: 14px; }

/* 바탕화면 freeform 아이콘 */
.d-icon { position: absolute; left: var(--x); top: 0; width: var(--w); display: block; user-select: none; -webkit-user-drag: none; }
.d-img { display: block; width: 100%; }
.d-img img { width: 100%; height: auto; filter: drop-shadow(0 1px 2px rgba(0, 0, 0, .25)); }
.d-cap {
  position: absolute; left: 50%; top: 100%; transform: translateX(-50%); margin-top: 3px; white-space: nowrap;
  color: #fff; font-family: var(--sys); font-weight: 700; font-size: clamp(10px, .96vw, 15px); line-height: 1.25; text-shadow: 1px 1px 3px #000;
}
.d-icon:active .d-img { filter: brightness(.75); }
/* 로그인 */
.auth { align-items: center; padding-top: 70px !important; }
.auth-form { display: grid; gap: 10px; width: min(280px, 100%); margin: 0 auto; text-align: left; }
.auth-form label { display: grid; gap: 3px; }
.auth-form input { height: 30px; border: 1px solid #b9b9b9; border-radius: 4px; background: #f7f7f7; padding: 0 9px; font-size: 13px; outline: none; }
.auth-form input:focus { border-color: #555; background: #fff; }
.auth-btn { height: 30px; border: none; border-radius: 15px; background: #222; color: #fff !important; cursor: pointer; }
.auth-err { color: #c0392b !important; margin: 0; }
.link-btn { border: none; background: none; padding: 0; text-decoration: underline; cursor: pointer; font: inherit; color: inherit; }
.mb-user { color: #fff; font-size: 12px; font-weight: 700; text-decoration: none; }
/* 텍스트 편집기 창 (About Me.txt) */
.te-fit { display: block; position: relative; width: 100%; overflow: hidden; }
.te { position: absolute; left: 0; top: 0; transform-origin: 0 0; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 0 0 1px rgba(0, 0, 0, .18), 0 24px 50px rgba(0, 0, 0, .25); display: flex; flex-direction: column; font-family: "Helvetica Neue", "Apple SD Gothic Neo", var(--sys); color: #222; }
.d-img .te { box-shadow: 0 0 0 2px rgba(0, 0, 0, .25); border-radius: 4px; }
.te-bar { height: 40px; flex: none; display: flex; align-items: center; justify-content: center; position: relative; background: linear-gradient(#ececec, #dcdcdc); }
.te-lights { position: absolute; left: 16px; top: 13px; display: flex; gap: 9px; }
.te-lights i { width: 15px; height: 15px; border-radius: 50%; background: #ff5f57; box-shadow: inset 0 0 0 .5px rgba(0, 0, 0, .2); }
.te-lights i:nth-child(2) { background: #febc2e; }
.te-lights i:nth-child(3) { background: #28c840; }
.te-title { display: inline-flex; align-items: center; gap: 8px; font-size: 19px; color: #444; }
.te-title svg { width: 15px; height: 19px; }
.te-tools { height: 42px; flex: none; display: flex; align-items: center; gap: 8px; padding: 0 12px; background: linear-gradient(#e7e7e7, #d9d9d9); border-bottom: 1px solid #bdbdbd; font-size: 14px; color: #333; white-space: nowrap; overflow: hidden; }
.te-btn { display: inline-flex; align-items: center; justify-content: space-between; gap: 8px; height: 24px; padding: 0 8px; background: #fff; border: 1px solid #c4c4c4; border-radius: 5px; }
.te-btn small { font-size: 10px; color: #666; }
.te-btn.w1 { min-width: 44px; } .te-btn.w3 { min-width: 110px; } .te-btn.w4 { min-width: 145px; }
.te-sw { width: 30px; height: 22px; border-radius: 4px; background: #000; border: 3px solid #fff; box-shadow: 0 0 0 1px #c4c4c4; }
.te-sw2 { width: 30px; height: 22px; border-radius: 4px; background: #fff; border: 1px solid #c4c4c4; text-align: center; line-height: 20px; font-style: italic; color: #d33; }
.te-seg { display: inline-flex; border: 1px solid #c4c4c4; border-radius: 5px; overflow: hidden; background: #fff; }
.te-seg > * { width: 28px; height: 22px; display: grid; place-items: center; font-size: 15px; border-right: 1px solid #ddd; text-decoration: none; }
.te-seg.al s { position: relative; }
.te-seg.al s::before { content: ""; width: 14px; height: 9px; background: repeating-linear-gradient(#555 0 1.5px, transparent 1.5px 3.5px); }
.te-seg.al s.on { background: #6b6b6b; }
.te-seg.al s.on::before { background: repeating-linear-gradient(#fff 0 1.5px, transparent 1.5px 3.5px); }
.te-body { flex: 1; padding: 42px 26px 20px; font-size: 22px; line-height: 1.5; font-weight: 600; overflow: auto; outline: none; }
.te-body p { margin: 0 0 1.25em; }

/* ---------------- 줌 ---------------- */
.zoom-layer { position: absolute; inset: var(--mb-h) 0 0 0; z-index: 40; display: flex; align-items: center; justify-content: center; gap: 2.5vw; padding: 1.5vh 3vw; cursor: zoom-out; }
.zm { flex: none; will-change: transform; }
.zm-img { height: 86%; display: flex; align-items: center; }
.zm-img img { height: 100%; width: auto; max-width: 70vw; object-fit: contain; filter: drop-shadow(0 10px 24px rgba(0, 0, 0, .3)); }
.zoom-layer.has-cap::before { content: ""; flex: none; width: 22vw; }
.zm-cap { width: 22vw; max-width: 22vw; color: #fff; font-family: var(--sys); font-weight: 700; font-size: clamp(12px, 1.1vw, 16px); line-height: 1.55; text-shadow: 1px 1px 3px #000; cursor: auto; outline: none; }
.zm-te { width: min(86vh * .945, 92vw); }
.zm-te .te { box-shadow: 0 0 0 1px rgba(0, 0, 0, .18), 0 30px 60px rgba(0, 0, 0, .35); }
.zm-te .te-body { cursor: auto; }
.zm-crt { position: relative; height: 88%; aspect-ratio: 833 / 870; }
.zm-crt img { width: 100%; height: 100%; filter: drop-shadow(0 12px 26px rgba(0, 0, 0, .35)); }
.crt-screen { position: absolute; left: 10.6%; top: 11.4%; width: 78.6%; height: 56%; overflow: auto; cursor: auto; scrollbar-width: none; border-radius: 4% / 5%; background: radial-gradient(ellipse at 38% 28%, #5a8bec 0%, #2350c8 45%, #0f35a6 100%); box-shadow: inset 0 0 18px rgba(0, 0, 40, .45); }
.crt-screen::-webkit-scrollbar { display: none; }
.crt-in { padding: 4% 5%; color: #fff; font-family: "Lucida Console", "SF Mono", Menlo, Consolas, monospace; font-size: clamp(8px, 1.25vh, 13px); line-height: 1.5; text-shadow: 0 0 2px rgba(255, 255, 255, .35); }
.crt-in a { color: #fff; text-decoration: underline; text-decoration-color: rgba(255, 255, 255, .45); }
.crt-in a:hover { background: #fff; color: #0a2aa8; text-decoration: none; }
.crt-h { margin: 0 0 .8em; text-align: center; background: #c0c0c0; color: #0a2aa8; display: table; margin-left: auto; margin-right: auto; padding: 0 .6em; font-weight: 700; text-shadow: none; }
.crt-h.small { margin-top: 1em; }
.crt-p { margin: 0 0 .6em; }
.crt-p.dim { margin-top: 1em; text-align: center; opacity: .85; }
.crt-list { list-style: none; margin: 0; padding: 0; }
.crt-list li { display: flex; justify-content: space-between; gap: 1em; white-space: nowrap; }
.crt-list li a { overflow: hidden; text-overflow: ellipsis; }

/* ---------------- 회색 페이지 ---------------- */
.gp { width: var(--page-width); min-height: var(--page-minh); margin: 0 auto; padding: var(--page-pad) calc(var(--page-pad) * .4 + var(--page-inset)); text-align: var(--page-align); }
.gp-head { margin: 1.1rem 0 1.6rem; }
.gp-heading { margin: 0 0 1.6rem; outline: none; }
.gp-desc { margin: 0 0 1.6rem; outline: none; }
.gp-sub { margin: 0; outline: none; }
.gp-text { max-width: 760px; margin: 0 auto 2rem; outline: none; }
.gp-body { max-width: 780px; margin: 0 auto; text-align: left; font-size: var(--bodycopy-size); color: var(--bodycopy-color); font-family: var(--bodycopy-font); }
.gp-body.full { max-width: none; }
.gp-foot { display: flex; justify-content: center; gap: 10px; margin: 3.2rem 0 1.4rem; font-size: 11.5px; color: #555; }
.gp-foot a { display: inline-flex; align-items: center; gap: 4px; }
.gp-foot svg { width: 12px; height: 12px; fill: none; stroke: currentColor; stroke-width: 1.7; }

/* 게시판 공통: 작은 검정 글씨, 얇은 회색 선, 장식 최소 */
.page, .post, .board, .write { padding: 0; }
.page-title { margin: 0 0 4px; font-size: 13px; font-weight: 700; outline: none; text-align: center; }
.page-sub { margin: 0 0 14px; color: var(--soft); font-size: 11.5px; text-align: center; }
.sec-title { margin: 24px 0 8px; font-size: 12px; font-weight: 700; }
.sec-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.sec-actions, .actions { display: flex; flex-wrap: wrap; gap: 6px; }
.actions { margin-top: 16px; }
.empty { color: var(--soft); padding: 16px 0; list-style: none; text-align: center; }
.hint { margin: 4px 0 0; font-size: 11px; color: var(--soft); }
.hint.ok { color: #1f7a35; }
.err { margin: 4px 0 0; font-size: 11px; color: #c0392b; font-weight: 600; }
.ul { text-decoration: underline; text-underline-offset: 2px; }
.badge { display: inline-flex; padding: 0 6px; border-radius: 999px; background: #222; color: #fff; font-size: 10px; }
.pill-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 4px; white-space: nowrap;
  height: 24px; padding: 0 10px; border-radius: 12px; border: 1px solid #b9b9b9; background: #f4f4f4; color: #222; font-size: 11.5px; font-weight: 500;
}
.pill-btn .ic { width: 12px; height: 12px; stroke-width: 2; }
.pill-btn:hover { background: #fff; }
.pill-btn.sm { height: 22px; padding: 0 9px; font-size: 11px; }
.pill-btn.olive { background: #222; border-color: #222; color: #fff; }
.pill-btn.olive:hover { background: #000; }
.pill-btn.ghost { background: transparent; }
.pill-btn:disabled { opacity: .45; cursor: default; }
.icon-btn { display: inline-grid; place-items: center; width: 24px; height: 24px; padding: 0; border: none; background: none; color: #555; border-radius: 50%; }
.icon-btn:hover { background: rgba(0, 0, 0, .06); color: #000; }
.icon-btn .ic { width: 14px; height: 14px; }
.icon-btn.round { border: 1px solid #b9b9b9; }
.text-btn { border: none; background: none; padding: 0; color: var(--soft); font-size: 11px; display: inline-flex; align-items: center; gap: 2px; text-decoration: underline; }
.text-btn .ic { width: 10px; height: 10px; }
.sel-wrap { position: relative; display: inline-flex; }
.sel { appearance: none; -webkit-appearance: none; height: 22px; padding: 0 18px 0 6px; border: none; background: transparent; font-size: 11.5px; font-weight: 600; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='8' height='5'%3E%3Cpath d='M1 1l3 3 3-3' fill='none' stroke='%23333' stroke-width='1.2'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 4px center; }
.sel.big { height: 26px; border: 1px solid #b9b9b9; border-radius: 13px; padding: 0 22px 0 10px; font-size: 12px; background-color: #f4f4f4; }
.sel:disabled { opacity: .7; }
.chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; padding: 10px 0; border-bottom: 1px solid var(--line); }
.chip { display: inline-flex; align-items: center; height: 20px; padding: 0 9px; border-radius: 10px; border: 1px solid #b9b9b9; background: transparent; font-size: 10.5px; font-weight: 600; }
.chip[aria-pressed="true"] { background: #222; border-color: #222; color: #fff; }
.chip.radio { position: relative; padding: 0; border: none; height: auto; }
.chip.radio input { position: absolute; opacity: 0; pointer-events: none; }
.chip.radio span { display: inline-flex; align-items: center; height: 22px; padding: 0 10px; border-radius: 11px; border: 1px solid #b9b9b9; font-size: 11px; }
.chip.radio input:checked + span { background: #222; border-color: #222; color: #fff; }
.chip.radio input:focus-visible + span { outline: 2px solid #0a6cff; outline-offset: 2px; }
.write .chips, .fgroup .chips { border-bottom: none; padding: 0; justify-content: flex-start; }

.board-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.board-tools { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; min-width: 0; }
.board-info { margin: 0; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 11px; color: var(--soft); text-align: center; }
.board-bottom { display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; padding: 12px 0 0; }
.mini-search { display: inline-flex; align-items: center; gap: 4px; height: 22px; padding: 0 8px; border: 1px solid #b9b9b9; border-radius: 11px; color: #555; }
.mini-search .ic { width: 11px; height: 11px; }
.mini-search input { width: 100px; border: none; background: none; outline: none; font-size: 11px; }
.pager { display: flex; align-items: center; gap: 6px; }
.pg { width: 22px; height: 22px; border-radius: 50%; border: none; background: rgba(0, 0, 0, .18); color: #fff; display: grid; place-items: center; padding: 0; }
.pg .ic { width: 12px; height: 12px; stroke-width: 2.4; }
.pg:disabled { opacity: .35; cursor: default; }
.pg-num { font-size: 11px; color: #444; }
.rows { list-style: none; margin: 0; padding: 0; }
.archive { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px 18px; }
.archive > li.empty { grid-column: 1 / -1; }
.arc { display: block; color: inherit; text-decoration: none; }
.arc-thumb { display: block; aspect-ratio: 1; overflow: hidden; background: #d8d8d8; }
.arc-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.arc:hover .arc-thumb img { transform: scale(1.04); }
.arc-empty { width: 100%; height: 100%; display: grid; place-items: center; color: #9a9a9a; }
.arc-empty svg { width: 28px; height: 28px; fill: none; stroke: currentColor; stroke-width: 1.4; }
.arc-title { display: block; margin-top: 8px; font-size: 14px; line-height: 1.35; }
.arc:hover .arc-title { text-decoration: underline; }
@media (max-width: 760px) { .archive { grid-template-columns: repeat(2, 1fr); gap: 18px 10px; } }

/* Document 글 (블로그형) */
.doc-body { font-size: 13px; line-height: 1.85; word-break: keep-all; overflow-wrap: anywhere; }
.doc-post .doc-body { max-width: 680px; margin: 18px auto 0; padding-top: 16px; border-top: 1px solid var(--line); }
.doc-body > :first-child { margin-top: 0; }
.doc-body p { margin: 0 0 12px; }
.doc-body h2 { margin: 26px 0 10px; font-size: 18px; line-height: 1.4; }
.doc-body h3 { margin: 20px 0 8px; font-size: 15px; line-height: 1.45; }
.doc-body blockquote { margin: 14px 0; padding: 2px 0 2px 14px; border-left: 3px solid #222; color: var(--soft); }
.doc-body ul, .doc-body ol { margin: 0 0 12px; padding-left: 22px; }
.doc-body hr { margin: 24px 0; border: none; border-top: 1px solid #bbb; }
.doc-body a { text-decoration: underline; text-underline-offset: 2px; }
.doc-body figure { margin: 16px 0; }
.doc-body img { display: block; max-width: 100%; height: auto; margin: 0 auto; }
.doc-post .doc-body img { cursor: zoom-in; }
.doc-title-in { width: 100%; border: none; border-bottom: 1px solid #bbb; background: transparent; padding: 8px 0; font: inherit; font-size: 20px; font-weight: 700; outline: none; }
.doc-title-in:focus { border-bottom-color: #222; }
.doc-editor { border: 1px solid #ccc; background: #fff; }
.doc-tools { position: sticky; top: var(--mb-h, 0); z-index: 2; display: flex; flex-wrap: wrap; align-items: center; gap: 2px; padding: 4px; border-bottom: 1px solid #ddd; background: #fafafa; }
.doc-tools button { display: inline-flex; align-items: center; gap: 4px; height: 26px; padding: 0 8px; border: none; border-radius: 4px; background: none; font-size: 11px; color: #222; cursor: pointer; }
.doc-tools button:hover { background: #e9e9e9; }
.doc-tools button svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.doc-tools .sep { width: 1px; height: 16px; margin: 0 4px; background: #ddd; }
.doc-ed { min-height: 380px; padding: 16px 18px; outline: none; }
.doc-ed.is-empty::before { content: attr(data-ph); position: absolute; color: #aaa; pointer-events: none; }
.doc-ed.over { background: #f4f4f4; }
.doc-ed figure.uploading { min-height: 120px; background: #eee; }
.doc-ed figure.uploading img { opacity: 0; }
.doc-body figure[data-lat] { position: relative; margin: 18px 0; border: 1px solid var(--line); background: #fff; }
.doc-body figure[data-lat] figcaption { padding: 8px 10px; font-size: 12px; color: var(--soft); }
.doc-body figure[data-lat] figcaption a { margin-left: 6px; color: #222; }
.doc-map { height: 260px; background: #e6e6e6; }
.doc-pin { display: block; width: 18px; height: 18px; border-radius: 50%; background: #111; border: 3px solid #fff; box-shadow: 0 1px 4px rgba(0,0,0,.35); }
.doc-ed figure[data-lat] { padding: 12px 34px 0 12px; user-select: none; }
.doc-ed figure[data-lat]::before { content: "지도"; display: inline-block; padding: 1px 6px; border-radius: 3px; background: #111; color: #fff; font-size: 10px; }
.doc-ed figure[data-lat] figcaption { padding: 6px 0 10px; color: #222; }
.doc-map-x { position: absolute; top: 6px; right: 6px; width: 22px; height: 22px; border: none; border-radius: 50%; background: #eee; font-size: 14px; line-height: 1; cursor: pointer; }
.doc-mapfind { padding: 8px; border-bottom: 1px solid #ddd; background: #fafafa; }
.doc-mapfind .pq-results { margin-top: 6px; }
.rows > li { border-bottom: 1px solid var(--line); }
.row { display: flex; align-items: center; gap: 10px; min-height: 48px; padding: 6px 2px; color: #222; }
.row.static { cursor: default; }
a.row:hover .row-title { text-decoration: underline; text-underline-offset: 2px; }
.row-thumb { flex: none; width: 40px; height: 40px; overflow: hidden; background: #d8d8d8; }
.row-thumb img { width: 100%; height: 100%; object-fit: cover; }
.row-thumb-empty { width: 100%; height: 100%; display: grid; place-items: center; color: #9a9a9a; }
.row-thumb-empty svg { width: 16px; height: 16px; fill: none; stroke: currentColor; stroke-width: 1.6; }
.row-main { flex: 1; min-width: 0; display: grid; }
.row-title { font-size: 12px; line-height: 1.4; display: flex; align-items: baseline; gap: 5px; min-width: 0; }
.row-title .dh { white-space: nowrap; text-overflow: ellipsis; }
.row-sub { font-size: 10.5px; color: var(--soft); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.row-sub .kind { font-weight: 700; color: #222; }
.cmt-n { display: inline-flex; align-items: center; gap: 1px; flex: none; color: #c0392b; font-size: 10px; font-weight: 700; }
.cmt-n .ic { width: 11px; height: 11px; }
.row-cols { display: flex; align-items: center; flex: none; color: var(--soft); font-size: 11px; }
.row-cols .c0 { width: 86px; } .row-cols .c1 { width: 50px; } .row-cols .c2 { width: 42px; text-align: right; }
.row .star { margin-right: 2px; }
.like-btn { display: inline-flex; align-items: center; gap: 3px; border: 1px solid #b9b9b9; background: transparent; color: #c0392b; border-radius: 10px; height: 20px; padding: 0 7px; font-size: 10.5px; font-weight: 700; }
.like-btn .ic { width: 11px; height: 11px; }
.like-btn[aria-pressed="true"] { background: #222; color: #fff; border-color: #222; cursor: default; }
.rows.compact .row { min-height: 42px; }
@media (max-width: 560px) {
  .row { align-items: flex-start; }
  .row-cols { flex-direction: column; align-items: flex-end; font-size: 10px; }
  .row-cols .col { width: auto !important; text-align: right; }
  .row-title .dh { white-space: normal; }
}
.dh { position: relative; display: inline-block; overflow: hidden; vertical-align: bottom; max-width: 100%; }
.dh-row { display: block; transition: transform .4s cubic-bezier(.2, .8, .2, 1); }
.dh-acc { position: absolute; inset: 0; color: #777; transform: translateY(110%); }
.dh.dh-on .dh-base { visibility: hidden; } .dh.dh-on .dh-acc { transform: none; }

/* 상세 */
.post-nav { display: flex; justify-content: center; gap: 6px; margin-bottom: 14px; }
.post-label { margin: 0; font-size: 10px; font-weight: 700; letter-spacing: .06em; color: var(--soft); text-transform: uppercase; text-align: center; }
.post-title { margin: 2px 0 4px; font-size: 14px; font-weight: 700; text-align: center; outline: none; }
.post-meta { margin: 0; display: flex; justify-content: center; align-items: center; gap: 4px; flex-wrap: wrap; color: var(--soft); font-size: 11px; }
.post-menu { margin: 6px 0 0; font-size: 12px; text-align: center; }
.post-photos { display: grid; gap: 6px; margin: 14px 0; }
.post-photos.n2 { grid-template-columns: 1fr 1fr; }
.post-photos button { padding: 0; border: none; background: #d8d8d8; overflow: hidden; aspect-ratio: 3 / 2; cursor: zoom-in; }
.post-photos.n2 button { aspect-ratio: 1; }
.post-photos img { width: 100%; height: 100%; object-fit: cover; }
.post-photos.thumbs { display: flex; flex-wrap: wrap; margin: 6px 0 0; }
.post-photos.thumbs button { width: 64px; height: 64px; aspect-ratio: auto; }
.fold { margin: 12px 0 8px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.fold summary { display: flex; align-items: center; justify-content: center; gap: 5px; height: 30px; list-style: none; cursor: pointer; font-weight: 600; font-size: 11.5px; }
.fold summary::-webkit-details-marker { display: none; }
.fold summary .ic { width: 12px; height: 12px; }
.fold[open] .ic-down { transform: rotate(180deg); }
.fold dl { display: grid; grid-template-columns: 70px 1fr; gap: 3px 10px; margin: 0; padding: 4px 0 10px; font-size: 11.5px; }
.fold dt { color: var(--soft); }
.fold dd { margin: 0; }
.post-map { position: relative; overflow: hidden; border: 1px solid var(--line); }
.mini-map { height: 230px; position: relative; }
.post-map .on-map { position: absolute; left: 8px; top: 8px; z-index: 500; }
.round-btn.sm.on-map-r { position: absolute; right: 8px; top: 8px; z-index: 500; width: 26px; height: 26px; }
.author { display: flex; align-items: center; gap: 8px; padding: 12px 0 8px; border-bottom: 1px solid var(--line); font-size: 11.5px; }
.author-sub { color: var(--soft); font-size: 10.5px; padding-left: 8px; border-left: 1px solid var(--line); }
.cmt-link { margin-left: auto; display: inline-flex; align-items: center; gap: 3px; color: var(--soft); font-size: 10.5px; }
.cmt-link .ic { width: 11px; height: 11px; }
.avatar { width: 24px; height: 24px; border-radius: 50%; background: #cfcfcf; color: #333; display: inline-grid; place-items: center; font-weight: 700; font-size: 10.5px; flex: none; }
.post-body { padding: 12px 0 4px; font-size: 12px; line-height: 1.8; }
.post-body p { margin: 0 0 10px; }
.post-foot { margin: 8px 0; color: var(--soft); font-size: 11px; display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 6px; }
.report-form { display: grid; gap: 6px; margin: 4px auto 10px; max-width: 420px; justify-items: center; }
.votes { display: flex; justify-content: center; gap: 10px; margin: 16px 0 12px; }
.vote { width: 52px; height: 52px; border-radius: 50%; border: 1px solid #b9b9b9; background: transparent; display: grid; place-items: center; align-content: center; padding: 0; font-size: 9.5px; }
.vote .ic { width: 14px; height: 14px; }
.vote b { font-size: 11px; line-height: 1.1; }
.vote[aria-pressed="true"] { background: #222; color: #fff; border-color: #222; }
.cmt-list { list-style: none; margin: 0 0 10px; padding: 0; border-top: 1px solid var(--line); }
.cmt-list > li { padding: 8px 0; border-bottom: 1px solid var(--line); }
.cmt-head { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; font-size: 10.5px; color: var(--soft); }
.cmt-head b { color: #222; font-size: 11.5px; }
.cmt-head time { margin-left: auto; }
.cmt-head .stars { font-size: 10px; }
.cmt-list p, .cmt-body p { margin: 3px 0 0; font-size: 12px; line-height: 1.7; }
.cmt-body { padding-left: 32px; }
.cmt-body ul { margin: 4px 0; padding-left: 18px; }
.cmt-body blockquote, .ed-preview blockquote { margin: 4px 0; padding-left: 10px; border-left: 2px solid #bbb; color: var(--soft); }
.cmt-form { display: grid; grid-template-columns: 100px 1fr auto; gap: 6px; }
@media (max-width: 520px) { .cmt-form { grid-template-columns: 1fr auto; } .cmt-form #cmtNick { grid-column: 1 / -1; } }
.stars { position: relative; display: inline-block; color: #c4c4c4; letter-spacing: 1px; line-height: 1; white-space: nowrap; font-family: Arial, sans-serif; }
.stars .fill { position: absolute; inset: 0 auto 0 0; overflow: hidden; color: #222; }
.stars.big { font-size: 26px; }
.num-list { list-style: none; margin: 0; padding: 0; }
.num-list li { display: flex; gap: 8px; padding: 6px 0; border-bottom: 1px solid var(--line); }
.hot { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.hot li { border-bottom: 1px solid var(--line); min-width: 0; }
.hot a { display: flex; align-items: center; gap: 8px; height: 30px; font-size: 12px; }
.hot .rank { width: 18px; flex: none; text-align: right; font-weight: 700; }
.hot-t { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hot-c { display: inline-flex; align-items: center; gap: 3px; color: var(--soft); font-size: 10.5px; flex: none; }
.hot-c .ic { width: 11px; height: 11px; }
.box-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 0 24px; text-align: center; }
.box { padding: 14px 0 18px; border-bottom: 1px solid var(--line); }
.box-head { display: flex; justify-content: center; align-items: baseline; gap: 6px; }
.box-head .sec-title { margin: 0 0 6px; font-size: 13px; }
.box.now .sec-title { text-decoration: underline; text-underline-offset: 3px; }
.box-meta { font-size: 10.5px; color: var(--soft); }
.tag-list { list-style: none; margin: 6px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px 10px; font-size: 12px; }
.box-tip { margin: 8px 0 0; font-size: 11px; color: var(--soft); }

/* 작성 */
.write-form { display: grid; gap: 12px; text-align: left; }
.board-select { display: flex; align-items: center; justify-content: flex-start; gap: 10px; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.write-title { font-size: 11px; color: var(--soft); }
.fgroup.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 560px) { .fgroup.two { grid-template-columns: 1fr; } }
.lbl { display: block; margin-bottom: 4px; font-weight: 600; font-size: 11px; }
.lbl small { font-weight: 400; color: var(--soft); }
.field { width: 100%; height: 28px; padding: 0 10px; border: 1px solid #b9b9b9; border-radius: 4px; background: #f7f7f7; font-size: 12px; outline: none; }
textarea.field { height: auto; min-height: 70px; padding: 6px 10px; resize: vertical; }
.field:focus, .ed-area:focus { border-color: #555; background: #fff; }
.search-field { position: relative; display: flex; align-items: center; gap: 6px; }
.search-field > .ic { position: absolute; left: 9px; color: #777; width: 12px; height: 12px; }
.search-field .field { padding-left: 26px; flex: 1; min-width: 0; border-radius: 14px; }
.fixed-place { height: 28px; display: flex; align-items: center; padding: 0 10px; border: 1px solid var(--line); font-weight: 600; }
.dropzone { position: relative; display: grid; justify-items: center; gap: 2px; padding: 14px; border: 1.5px dashed #a9a9a9; background: rgba(255, 255, 255, .35); text-align: center; cursor: pointer; font-size: 11px; color: var(--soft); }
.dropzone input { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.dropzone.over { background: #fff; border-color: #222; }
.dz-ic .ic { width: 20px; height: 20px; }
.dz-t { font-weight: 700; color: #222; }
.dropzone .pill-btn { pointer-events: none; margin: 3px 0; }
.previews { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.previews figure { position: relative; margin: 0; width: 64px; height: 64px; overflow: hidden; }
.previews img { width: 100%; height: 100%; object-fit: cover; }
.previews button { position: absolute; top: 3px; right: 3px; width: 18px; height: 18px; border-radius: 50%; border: none; background: rgba(0, 0, 0, .6); color: #fff; display: grid; place-items: center; padding: 0; }
.previews button .ic { width: 10px; height: 10px; stroke-width: 2.6; }
.rate { display: inline-flex; align-items: center; gap: 10px; }
.rate output { font-weight: 700; font-size: 15px; }
.editor { border: 1px solid #b9b9b9; background: #f7f7f7; }
.ed-bar { display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #ccc; padding-right: 4px; }
.ed-tabs { display: flex; }
.ed-tabs button { height: 26px; padding: 0 12px; border: none; background: none; font-size: 11px; color: var(--soft); }
.ed-tabs button[aria-selected="true"] { color: #000; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.ed-tools { display: flex; gap: 1px; }
.ed-tools button { width: 24px; height: 22px; border: none; background: none; display: grid; place-items: center; padding: 0; font-size: 12px; }
.ed-tools .ic { width: 12px; height: 12px; }
.ed-area { display: block; width: 100%; min-height: 140px; border: none; padding: 8px 10px; background: #f7f7f7; resize: vertical; outline: none; font-size: 12px; line-height: 1.7; }
.ed-preview { min-height: 140px; padding: 8px 10px; font-size: 12px; line-height: 1.7; }
.ed-count { margin: 0; padding: 2px 10px; border-top: 1px solid #ddd; font-size: 10px; color: var(--soft); text-align: right; }
.write-actions { display: flex; justify-content: flex-end; gap: 6px; }
.pq-results { list-style: none; margin: 6px 0 0; padding: 3px; background: #fff; border: 1px solid #b9b9b9; max-height: 220px; overflow: auto; }
.pq-results button { width: 100%; text-align: left; display: grid; padding: 5px 8px; border: none; background: none; }
.pq-results button:hover { background: #222; color: #fff; }
.pq-results small { color: var(--soft); font-size: 10.5px; }
.pick-map { height: 220px; overflow: hidden; margin-top: 8px; border: 1px solid #b9b9b9; position: relative; }

/* 지도 */
.spot-map-page { position: relative; height: 72vh; min-height: 380px; border: 1px solid var(--line); }
.big-map { position: absolute; inset: 0; background: #ddd; }
.map-chips { position: absolute; z-index: 500; left: 10px; top: 10px; right: 50px; border: none; padding: 0; justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
.map-chips .chip { flex: none; background: #fff; }
.map-chips .chip[aria-pressed="true"] { background: #222; }
.map-tools { position: absolute; z-index: 500; right: 10px; top: 10px; display: grid; gap: 6px; }
.round-btn { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #222; border: 1px solid #b9b9b9; padding: 0; }
.round-btn .ic { width: 14px; height: 14px; }
.map-pop { position: absolute; z-index: 600; top: 10px; right: 48px; width: min(280px, calc(100% - 66px)); background: #fff; border: 1px solid #b9b9b9; padding: 10px 12px 12px; }
.pop-x { position: absolute; top: 4px; right: 4px; width: 22px; height: 22px; border: none; background: none; display: grid; place-items: center; padding: 0; }
.pop-x .ic { width: 12px; height: 12px; }
.pop-body { display: flex; gap: 8px; margin-top: 3px; }
.pop-thumb { width: 44px; height: 44px; flex: none; overflow: hidden; }
.pop-thumb img { width: 100%; height: 100%; object-fit: cover; }
.pop-name { margin: 0; font-size: 13px; font-weight: 700; padding-right: 18px; }
.pop-area { margin: 0; font-size: 10.5px; color: var(--soft); }
.pop-menu { margin: 3px 0 0; font-size: 11.5px; }
.pop-actions { display: flex; gap: 6px; margin-top: 10px; flex-wrap: wrap; }
.map-pop .post-label { text-align: left; }
.get-there { position: relative; }
.gt-menu { position: absolute; left: 0; top: calc(100% + 4px); z-index: 2; display: grid; min-width: 120px; background: #fff; border: 1px solid #b9b9b9; }
.gt-menu a { padding: 5px 10px; font-size: 11.5px; }
.gt-menu a:hover { background: #222; color: #fff; }
@media (max-width: 560px) { .map-pop { top: auto; bottom: 10px; left: 10px; right: 48px; width: auto; } .map-pop .gt-menu { top: auto; bottom: calc(100% + 4px); } }
.pin-wrap { background: none; border: none; }
.pin { width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--spot-olive); box-shadow: 0 1px 3px rgba(40, 50, 20, .35); transition: transform .15s; }
.pin svg { width: 17px; height: 17px; }
.pin.pin-on { background: var(--spot-red); transform: scale(1.12); } /* .sel 은 드롭다운 이름과 겹쳐 쓰지 않는다 */
.pin-label { position: absolute; top: 36px; left: 50%; transform: translateX(-50%); white-space: nowrap; max-width: 130px; overflow: hidden; text-overflow: ellipsis; font-size: 11px; font-weight: 700; color: var(--spot-ink); text-shadow: 0 0 3px #fff, 0 0 3px #fff, 0 0 3px #fff; pointer-events: none; }
.zoomed-out .pin { width: 14px; height: 14px; margin: 10px; box-shadow: none; opacity: .85; }
.zoomed-out .pin svg, .zoomed-out .pin-label { display: none; }
.tiles-soft { filter: saturate(.5) sepia(.12) brightness(1.04); }
.leaflet-container { font-family: var(--sys); isolation: isolate; z-index: 0; }
.leaflet-control-zoom a { color: #222 !important; }
.map-fallback { position: absolute; inset: 0; display: grid; place-items: center; color: var(--soft); }

/* 음악: 사진 페이지 같은 슬라이드쇼 */
.music-page { text-align: center; }
.slides { position: relative; width: min(100%, 520px); aspect-ratio: 1; margin: 0 auto; }
.slide { position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease; pointer-events: none; }
.slide.on { opacity: 1; pointer-events: auto; }
.slide img { width: 100%; height: 100%; object-fit: cover; }
.sl-arrow { position: absolute; top: 50%; z-index: 2; width: 26px; height: 26px; margin-top: -13px; border-radius: 50%; border: none; background: rgba(150, 150, 150, .55); color: #fff; display: grid; place-items: center; padding: 0; }
.sl-arrow .ic { width: 13px; height: 13px; stroke-width: 2.4; }
.sl-arrow.prev { left: 10px; } .sl-arrow.next { right: 10px; }
.album-cap { margin: 10px 0 2px; }
.music-actions { display: flex; justify-content: center; gap: 6px; margin: 10px 0 12px; }
.album-post .album-cover { width: min(100%, 320px); margin: 0 auto 12px; }
.rows.tracks { text-align: left; border-top: 1px solid var(--line); }
.track { width: 100%; border: none; background: none; text-align: left; min-height: 40px; }
.track .t-no { width: 18px; text-align: right; color: var(--soft); flex: none; }
.track .t-play { width: 24px !important; display: grid; place-items: center; }
.track.now .row-title { font-weight: 700; text-decoration: underline; text-underline-offset: 2px; }

/* 미니 플레이어 */
.player {
  position: fixed; z-index: 60; left: 50%; bottom: 12px; transform: translateX(-50%); width: min(460px, calc(100% - 20px));
  display: grid; grid-template-columns: 34px minmax(0, 1fr) auto auto auto; grid-template-rows: auto auto; column-gap: 8px; align-items: center;
  padding: 6px 10px 5px 6px; background: rgba(40, 36, 35, .92); color: #fff; border-radius: 10px; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
}
.pl-cover { grid-row: 1 / 3; width: 34px; height: 34px; padding: 0; border: none; border-radius: 3px; overflow: hidden; background: #555; }
.pl-cover img { width: 100%; height: 100%; object-fit: cover; }
.pl-meta { min-width: 0; display: grid; line-height: 1.25; }
.pl-title { font-weight: 700; font-size: 11.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-artist { font-size: 10px; color: #bbb; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.pl-btn { width: 24px; height: 24px; border: none; background: none; color: #ddd; display: grid; place-items: center; padding: 0; border-radius: 50%; }
.pl-btn svg { width: 13px; height: 13px; fill: currentColor; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.pl-btn.main { background: #fff; color: #000; }
.pl-btn.main .i-pause, .pl-btn.main.playing .i-play { display: none; }
.pl-btn.main.playing .i-pause { display: block; }
.pl-track { grid-column: 2 / 5; display: block; height: 2px; background: rgba(255, 255, 255, .25); margin-top: 3px; overflow: hidden; }
.pl-bar { display: block; height: 100%; width: 0; background: #fff; }
.pl-time { grid-column: 5; font-size: 9.5px; color: #bbb; font-variant-numeric: tabular-nums; }
body.has-player .gp-foot { margin-bottom: 70px; }

.toast { position: fixed; z-index: 3000; left: 50%; bottom: 22px; transform: translate(-50%, 12px); opacity: 0; pointer-events: none; max-width: calc(100% - 32px); padding: 8px 14px; border-radius: 8px; background: rgba(30, 30, 30, .9); color: #fff; font-size: 12px; font-weight: 600; text-align: center; transition: opacity .2s, transform .2s; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
body.has-player .toast { bottom: 76px; }
.lightbox { position: fixed; inset: 0; z-index: 2500; background: rgba(0, 0, 0, .8); display: grid; place-items: center; padding: 20px; cursor: zoom-out; }
.lightbox img { max-height: 90vh; max-width: 100%; }

/* ---------------- 모바일 (cargo mobile-columns 4) ---------------- */
@media (max-width: 767px) {
  .menubar { font-size: 12.5px; }
  .g-freeform { display: grid; grid-template-columns: repeat(var(--mcols, 4), 1fr); align-content: start; gap: var(--mgut, 2rem) 0; height: auto !important; padding: 8px 0; }
  .d-icon { position: relative; left: auto !important; top: auto !important; width: auto !important; justify-self: center; display: grid; justify-items: center; padding-bottom: 20px; }
  .blk-columns, .blk-index { grid-template-columns: 1fr 1fr; }
  .d-img { width: 54px; }
  .d-cap { font-size: 12px; }
  .zoom-layer { flex-direction: column; gap: 14px; padding: 14px; }
  .zm-img { height: auto; width: 78vw; }
  .zm-img img { width: 100%; height: auto; max-width: none; }
  .zm-cap { width: auto; max-width: 86vw; text-align: center; font-size: 13px; }
  .zoom-layer.has-cap::before { display: none; }
  .zm-te { width: 94vw; }
  .zm-crt { height: auto; width: 94vw; }
  .crt-in { font-size: 8.5px; }
  .gp { padding: 1.2rem 12px; }
  .player { grid-template-columns: 34px minmax(0, 1fr) auto auto; }
  #plPrev { display: none; }
  .pl-track { grid-column: 2 / 4; }
  .pl-time { grid-column: 4; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
  .wallpaper { animation: none; }
}
/* 구글 지도도 Cargo 톤(흑백)으로. 핀은 원래 흑백이라 그대로 보인다 */
.gmap .gm-style > div:first-child { filter: saturate(.5) sepia(.12) brightness(1.04); }

/* ---------- SPOT 지도 첫 화면: DCTRIBE spot-map 처럼 메뉴바 아래를 꽉 채움 ---------- */
:root { --spot-olive: #6f8a3c; --spot-olive-d: #566d2c; --spot-red: #c4552d; --spot-ink: #46592a; --spot-cream: #fdfdec; --spot-line: #dcdcc0; }
html.spot-fullmap, html.spot-fullmap body { overflow: hidden; }
html.spot-fullmap .spot-map-page { position: fixed; inset: var(--mb-h) 0 0 0; z-index: 45; height: auto; min-height: 0; border: none; }
.spot-map-page .map-chips { left: 16px; top: 16px; right: 70px; gap: 6px; }
/* 지도 위 단추·카드는 흑백 (핀만 색) */
.spot-map-page .map-chips .chip { background: #fff; color: #111; border: 1px solid #111; border-radius: 999px; font-weight: 700; box-shadow: 0 1px 3px rgba(0, 0, 0, .12); }
.spot-map-page .map-chips .chip[aria-pressed="true"] { background: #111; color: #fff; border-color: #111; }
.spot-map-page .map-tools { right: 16px; top: 16px; gap: 10px; }
.spot-map-page .round-btn { width: 36px; height: 36px; background: #fff; color: #111; border: 1px solid #111; box-shadow: 0 1px 3px rgba(0, 0, 0, .15); }
.spot-map-page .round-btn:hover { background: #111; color: #fff; }
.spot-map-page .round-btn .ic { width: 16px; height: 16px; }
.spot-map-page .map-pop { top: 12px; right: 66px; width: min(320px, calc(100% - 90px)); background: #fff; border: 1px solid #111; border-radius: 14px; padding: 18px 20px 20px; box-shadow: 0 4px 18px rgba(0, 0, 0, .18); }
.spot-map-page .map-pop .post-label { margin: 0 0 4px; font-size: 10px; font-weight: 800; letter-spacing: .04em; color: #111; }
.spot-map-page .pop-x { top: 14px; right: 14px; color: #111; }
.spot-map-page .pop-name { font-size: 18px; font-weight: 800; color: #111; }
.spot-map-page .pop-area { margin-top: 3px; font-size: 12px; color: #666; }
.spot-map-page .pop-menu { margin-top: 10px; font-size: 13px; color: #333; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.spot-map-page .pop-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 16px; }
.spot-map-page .pop-actions .pill-btn, .spot-map-page .get-there > .pill-btn { width: 100%; justify-content: center; height: 36px; border-radius: 999px; font-weight: 700; font-size: 12.5px; }
.spot-map-page .get-there > .pill-btn { background: #fff; color: #111; border: 1px solid #111; }
.spot-map-page .pop-actions > a.pill-btn { background: #111; color: #fff; border: 1px solid #111; }
.spot-map-page .gt-menu { background: #fff; border: 1px solid #111; border-radius: 10px; overflow: hidden; }
.spot-map-page .gt-menu a:hover { background: #111; color: #fff; }
@media (max-width: 560px) {
  .spot-map-page .map-chips { left: 10px; top: 10px; right: 56px; }
  .spot-map-page .map-tools { right: 10px; top: 10px; }
  .spot-map-page .map-pop { top: auto; bottom: 14px; left: 10px; right: 10px; width: auto; }
}

/* ---------- Season: 1~12월 제철 재료 ---------- */
.month-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 22px; }
.month { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 14px 10px 18px; border-radius: 14px; }
.month.now { background: #fff; outline: 1px solid #111; }
.month-art { width: 100%; max-width: 220px; aspect-ratio: 560 / 500; object-fit: contain; height: auto; }
.month-head { display: flex; align-items: baseline; gap: 6px; margin-top: 8px; }
.month-head b { font-size: 17px; font-weight: 800; color: #111; }
.month-head span { font-size: 10px; font-weight: 700; letter-spacing: .08em; color: var(--soft); }
.month-head em { font-style: normal; font-size: 10px; font-weight: 700; color: #fff; background: #111; border-radius: 999px; padding: 1px 7px; }
.month-items { list-style: none; margin: 8px 0 0; padding: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 4px; }
.month-items li { font-size: 12px; padding: 2px 9px; border: 1px solid #111; border-radius: 999px; background: #fff; }
.month-tip { margin: 8px 0 0; font-size: 11.5px; color: var(--soft); }
@media (max-width: 760px) { .month-grid { grid-template-columns: repeat(2, 1fr); gap: 18px 10px; } }
@media (max-width: 420px) { .month-items li { font-size: 11px; padding: 2px 7px; } }
