/* 2026-11-11 정리: PC 규격·공식 배지·로딩 자리·커뮤니티다운 카드. site.css 다음에 불러온다. */
main { min-height: calc(100vh - 260px); }

/* 머리: 메뉴 줄이고 언어는 지구본, 내 작업실은 아이콘 */
.site-nav { gap: 6px; }
.lang-menu { position: relative; }
.lang-menu summary { display: flex; gap: 4px; align-items: center; padding: 8px 10px; border-radius: 12px; color: var(--muted); font-size: 12px; font-weight: 800; cursor: pointer; list-style: none; }
.lang-menu summary::-webkit-details-marker { display: none; }
.lang-menu summary svg, .icon-link svg { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.lang-menu[open] summary, .lang-menu summary:hover { background: var(--surface); }
.lang-menu .lang-switch { position: absolute; z-index: 60; top: calc(100% + 6px); right: 0; display: grid; min-width: 130px; padding: 6px; border: 1px solid var(--line-strong); border-radius: 14px; background: var(--white); box-shadow: 0 12px 30px rgb(25 31 40 / 12%); }
.lang-menu .lang-switch a { padding: 9px 10px; font-size: 13px; }
.icon-link { display: inline-flex; gap: 6px; align-items: center; padding: 8px 10px; border-radius: 12px; color: var(--ink); font-size: 13px; font-weight: 800; text-decoration: none; }
.icon-link:hover, .icon-link[aria-current] { background: var(--surface); }
@media (min-width: 761px) { .icon-label { display: none; } }

/* 공식 Google Play 배지 */
.play-badge { display: inline-block; line-height: 0; }
.play-badge img { width: auto; height: 58px; }
.play-badge--hero img { height: 66px; margin: -7px -9px; }
.play-badge--footer img { height: 48px; }
.side-card .play-badge img { height: 48px; margin: -4px -6px; }
.cta-mini .play-badge img { height: 50px; }

/* 홈: 2단 첫 화면 */
.hero2 { display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; padding-block: 48px 28px; }
.hero2 h1 { margin: 0 0 14px; font-size: clamp(34px, 5vw, 60px); line-height: 1.12; letter-spacing: -.03em; }
.hero2 h1 span { box-shadow: inset 0 -.32em 0 var(--lemon); }
.hero2-copy p { margin: 0 0 22px; color: var(--muted); font-size: 18px; line-height: 1.6; }
.hero2-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero2-art { position: relative; height: 440px; overflow: hidden; border-radius: 36px; background: radial-gradient(circle at 70% 30%, var(--lemon-soft), transparent 60%), var(--surface); }
.hero2-shot { position: absolute; width: 46%; border: 5px solid #fff; border-radius: 22px; box-shadow: 0 22px 40px rgb(25 31 40 / 14%); }
.hero2-shot--a { top: 44px; left: 9%; transform: rotate(-5deg); }
.hero2-shot--b { top: 70px; right: 7%; transform: rotate(4deg); }
.hero2-mascot { position: absolute; right: 4%; bottom: -10px; width: 34%; }
@media (max-width: 860px) { .hero2 { grid-template-columns: 1fr; gap: 22px; padding-top: 28px; } .hero2-art { height: 300px; } .hero2-copy p { font-size: 16px; } }

/* 홈 피드·빠른 카드 */
.feed { padding-block: 18px; }
.feed-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 12px; }
.feed-head h2 { margin: 0; font-size: 20px; }
.art-row { display: grid; grid-auto-columns: minmax(140px, 1fr); grid-auto-flow: column; gap: 12px; overflow-x: auto; padding-bottom: 6px; }
.art-tile { display: grid; gap: 6px; color: inherit; font-size: 12px; font-weight: 700; text-decoration: none; }
.art-tile img { width: 100%; aspect-ratio: 1; object-fit: contain; border: 1px solid var(--line-strong); border-radius: 18px; background: repeating-conic-gradient(#f3f3f3 0 25%, #fff 0 50%) 0 0 / 14px 14px; }
.quick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; padding-block: 26px 56px; }
.quick-card { display: grid; grid-template-columns: 76px 1fr; grid-template-rows: auto auto; column-gap: 14px; align-items: center; padding: 14px; border: 1px solid var(--line-strong); border-radius: 20px; color: inherit; text-decoration: none; background: var(--white); }
.quick-card img { grid-row: span 2; width: 76px; height: 76px; object-fit: cover; object-position: top; border-radius: 14px; background: var(--surface); }
.quick-card img.contain { object-fit: contain; }
.quick-card strong { align-self: end; font-size: 16px; }
.quick-card span { align-self: start; color: var(--muted); font-size: 13px; }
.quick-card:hover { box-shadow: 0 10px 24px rgb(25 31 40 / 8%); }
@media (max-width: 860px) { .quick { grid-template-columns: 1fr; } }

/* 로딩 자리(스켈레톤) — '불러오는 중…' 글자 대신 */
.sk { border-radius: 14px; background: linear-gradient(90deg, #f1efeb 25%, #faf9f7 50%, #f1efeb 75%); background-size: 200% 100%; animation: sk 1.2s ease-in-out infinite; }
@keyframes sk { to { background-position: -200% 0; } }
.sk-card { height: 92px; margin-bottom: 10px; }
.sk-art, .sk-mini { aspect-ratio: 1; }
.sk-title { width: 60%; height: 30px; margin-bottom: 14px; }
.sk-line { height: 14px; margin-bottom: 10px; }
.sk-line.short { width: 40%; }
.sk-stage { height: 320px; margin-bottom: 14px; }

/* 작가 동그라미·작성자 줄 */
.avatar { display: inline-grid; flex: none; width: var(--s); height: var(--s); place-items: center; border-radius: 50%; color: var(--ink); font-size: calc(var(--s) * .45); font-weight: 900; }
.author-line { display: inline-flex; gap: 10px; align-items: center; margin: 4px 0 6px; color: inherit; text-decoration: none; }
.author-line span { display: grid; }
.author-line small { color: var(--faint); font-size: 12px; }
.meta { display: inline-flex; gap: 4px; align-items: center; margin-left: 6px; color: var(--faint); }
.meta svg, .like-btn svg { width: 14px; height: 14px; fill: none; stroke: currentColor; stroke-width: 2; }

/* 커뮤니티: PC 2단(목록 + 오른쪽 둘러보기) */
.cm { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 28px; padding-block: 28px 60px; }
.gl { padding-block: 28px 60px; }
.cm-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.cm-head h1 { margin: 0; font-size: clamp(26px, 3.4vw, 34px); }
.cm-side { position: sticky; top: 96px; display: grid; align-content: start; align-self: start; gap: 14px; }
.side-card { padding: 16px; border: 1px solid var(--line-strong); border-radius: 20px; background: var(--white); }
.side-card h2 { margin: 0 0 10px; font-size: 15px; }
.side-card .feed-head h2 { margin: 0; }
.side-link { display: block; padding: 8px 0; border-bottom: 1px solid var(--line); color: inherit; font-size: 14px; font-weight: 700; text-decoration: none; }
.side-link:last-child { border-bottom: 0; }
.side-card--app { display: grid; justify-items: center; gap: 6px; border-color: transparent; background: var(--lemon-soft); text-align: center; }
.side-card--app p { margin: 0; color: var(--muted); font-size: 13px; }
.side-card--app strong { display: block; color: var(--ink); font-size: 15px; }
.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.mini-grid img { width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 10px; background: var(--surface); }
.mini-empty { grid-column: 1 / -1; padding: 16px; border: 1px dashed var(--line-strong); border-radius: 12px; color: var(--muted); font-size: 13px; text-align: center; text-decoration: none; }
@media (max-width: 960px) { .cm { grid-template-columns: 1fr; } .cm-side { position: static; } }
.post-cards { display: grid; gap: 10px; }
.post-card { display: flex; gap: 12px; align-items: flex-start; padding: 14px; border: 1px solid var(--line-strong); border-radius: 18px; color: inherit; text-decoration: none; background: var(--white); transition: box-shadow .15s ease, transform .15s ease; }
.post-card:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgb(25 31 40 / 7%); }
.post-card__body { display: grid; flex: 1; gap: 4px; min-width: 0; }
.post-card__body .badge { justify-self: start; }
.post-card__body strong { overflow: hidden; font-size: 16px; text-overflow: ellipsis; white-space: nowrap; }
.post-card__preview { overflow: hidden; color: var(--muted); font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.post-card small { display: flex; align-items: center; color: var(--faint); font-size: 12px; }
.post-card__thumb { flex: none; width: 76px; height: 76px; object-fit: cover; border-radius: 12px; background: var(--surface); }
.more-btn { display: block; margin: 16px auto 0; }
.empty-card { display: grid; justify-items: center; gap: 6px; padding: 32px 16px; border: 1px dashed var(--line-strong); border-radius: 22px; color: inherit; background: #fffdf6; text-align: center; text-decoration: none; }
.empty-card strong { font-size: 16px; }
.empty-card span { color: var(--muted); font-size: 13px; }
.art-row .empty-card, .art-grid .empty-card { grid-column: 1 / -1; }

/* 갤러리 카드 */
.art-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.art-grid--small { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
.art-card { display: grid; gap: 8px; padding: 8px; border: 1px solid var(--line-strong); border-radius: 20px; color: inherit; text-decoration: none; background: var(--white); transition: box-shadow .15s ease; }
.art-card:hover { box-shadow: 0 12px 26px rgb(25 31 40 / 9%); }
.art-card img { width: 100%; aspect-ratio: 1; object-fit: contain; border-radius: 14px; background: repeating-conic-gradient(#f3f3f3 0 25%, #fff 0 50%) 0 0 / 14px 14px; }
.art-card__foot { display: flex; gap: 6px; align-items: center; padding: 0 4px 2px; font-size: 13px; font-weight: 700; }
.art-card__foot > span:nth-child(2) { flex: 1; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* 글·작품 상세 */
.like-btn { display: inline-flex; gap: 6px; align-items: center; padding: 8px 14px; border: 1px solid var(--line-strong); border-radius: 999px; background: var(--white); font: inherit; font-size: 14px; font-weight: 800; cursor: pointer; }
.like-btn.is-on { border-color: #ff6b8a; color: #e0315a; }
.like-btn.is-on svg { fill: currentColor; }
.comment-list li { display: flex; gap: 10px; align-items: flex-start; }
.comment-list li > div { flex: 1; min-width: 0; }
.profile-head { display: flex; gap: 16px; align-items: center; }
.profile-head h1 { margin: 0 0 4px; }
.narrow .panel h1 { font-size: 24px; }

/* 로그인 버튼(각 회사 안내 색 + 로고) */
.login-btn { display: flex; gap: 10px; align-items: center; justify-content: center; }
.login-btn svg { width: 22px; height: 22px; }
.login-btn.kakao span { color: rgb(0 0 0 / 85%); }
/* 다듬기 */
.site-nav > a:not(.button) { padding: 8px 10px; border-radius: 10px; }
.site-nav > a:not(.button):hover { background: var(--surface); }
.hero2-mascot { width: 26%; right: 5%; bottom: -6px; }
@media (max-width: 860px) { .hero2-art { height: 230px; } .hero2-shot { width: 40%; } .hero2-shot--a { top: 24px; } .hero2-shot--b { top: 40px; } .hero2-mascot { width: 28%; } }
.badges { display: flex; flex-wrap: wrap; gap: 4px; }
.tool-more .play-badge img { height: 58px; margin: -6px -8px; }
@media (max-width: 860px) { .hero2-art { display: none; } .hero2 { padding-bottom: 8px; } }
.inline-input { flex: 1; min-width: 140px; padding: 9px 12px; border: 1px solid var(--line-strong); border-radius: 12px; font: inherit; }
