/* ==============================
   FOOTWEAVE - 첫 화면
   ============================== */
:root {
  --bg: #f6f8fb;
  --surface: #ffffff;
  --text: #15181f;
  --text-2: #5b6270;
  --text-3: #9aa1ad;
  --line: #e9ecf2;
  --green: #12b76a;
  --green-dark: #0a8f52;
  --green-soft: #e7f8ef;
  --red: #f0384a;
  --navy: #11152a;
  --purple: #6b46ff;
  --radius: 16px;
  --shadow: 0 4px 16px rgba(20, 30, 60, .06);
  --tabbar-h: 68px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
[hidden] { display: none !important; } /* hidden 속성이 항상 우선 */
html, body { background: #e9edf3; }
body {
  font-family: "Noto Sans KR", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
}
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
svg.jersey { width: 100%; height: auto; display: block; }

.app {
  position: relative;
  max-width: 480px;
  min-height: 100vh;
  margin: 0 auto;
  background: var(--bg);
  padding-bottom: calc(var(--tabbar-h) + env(safe-area-inset-bottom) + 16px);
  overflow-x: hidden;
}

/* ---------- 헤더 ---------- */
.header {
  position: sticky; top: 0; z-index: 20;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(10px);
  padding: calc(env(safe-area-inset-top) + 10px) 16px 12px;
  border-bottom: 1px solid var(--line);
}
.header-top { display: flex; align-items: center; gap: 8px; }
.logo { display: flex; align-items: center; gap: 6px; }
.logo-mark {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--navy); color: #fff;
  display: grid; place-items: center;
  font-weight: 900; font-size: 20px; font-style: italic;
}
.logo-text { font-weight: 900; font-size: 12px; line-height: 1.1; letter-spacing: -.2px; }
.logo-slogan {
  font-family: "Caveat", cursive; font-size: 11px; line-height: 1;
  color: var(--text-2); transform: rotate(-6deg); margin-left: 2px;
}
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 4px; }
.icon-btn { position: relative; width: 38px; height: 38px; display: grid; place-items: center; border-radius: 50%; }
.icon-btn:active { background: var(--line); }
.icon-btn.small { width: 32px; height: 32px; }
.icon-btn.small svg { width: 18px; height: 18px; }
.icon-btn.marked svg { fill: var(--text); }
.badge {
  position: absolute; top: 4px; right: 4px;
  min-width: 16px; height: 16px; padding: 0 4px;
  background: var(--red); color: #fff; border-radius: 8px;
  font-size: 10px; font-weight: 700; display: grid; place-items: center;
}
.badge.hide { display: none; }
.avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, #ffe2b8, #ffc98a);
  border: 2px solid #fff; box-shadow: 0 0 0 1px var(--line);
  font-size: 18px;
}
.search {
  margin-top: 10px; display: flex; align-items: center; gap: 8px;
  height: 42px; padding: 0 14px; border-radius: 21px;
  background: #f1f3f7; border: 1px solid var(--line);
}
.search svg { width: 18px; height: 18px; color: var(--text-2); }
.search input { flex: 1; border: 0; background: none; outline: none; font: inherit; font-size: 14px; }
.search:focus-within { border-color: var(--green); background: #fff; }

.content { padding: 14px 16px 0; display: flex; flex-direction: column; gap: 14px; }

/* ---------- 히어로 ---------- */
.hero { position: relative; border-radius: 20px; overflow: hidden; aspect-ratio: 667 / 245; box-shadow: var(--shadow); }
.hero-img { display: block; width: 100%; height: 100%; object-fit: cover; }
/* 원본 배너 속 '지금 바로 시작하기' 버튼 위치에 투명 터치 영역 */
.hero-cta-area { position: absolute; left: 70%; top: 74%; width: 27%; height: 20%; border-radius: 20px; }
.hero-cta-area:active { background: rgba(255,255,255,.25); }
.hero-slides { position: relative; height: 100%; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s; pointer-events: none; }
.hero-slide.active { opacity: 1; pointer-events: auto; }
.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 75% 20%, rgba(255,255,255,.9) 0 6%, transparent 20%),
    radial-gradient(ellipse at 60% 110%, #3fbf6b 0 30%, transparent 55%),
    linear-gradient(180deg, #bfe3ff 0%, #e6f4ff 55%, #b9e6c5 100%);
}
.hero-bg.alt {
  background:
    radial-gradient(circle at 80% 15%, rgba(255,255,255,.9) 0 6%, transparent 20%),
    radial-gradient(ellipse at 60% 110%, #ff9e9e 0 30%, transparent 55%),
    linear-gradient(180deg, #ffe0d6 0%, #fff4ee 55%, #ffd2d2 100%);
}
.hero-jersey { position: absolute; left: -14px; bottom: -18px; width: 52%; max-width: 210px; transform: rotate(-6deg); filter: drop-shadow(0 10px 16px rgba(0,0,0,.25)); }
.hero-text { position: absolute; right: 14px; top: 16px; width: 58%; text-align: left; }
.hero-sub { font-size: 12px; font-weight: 700; transform: rotate(-4deg); line-height: 1.35; }
.hero-title { font-size: 30px; font-weight: 900; line-height: 1.05; margin-top: 6px; letter-spacing: -1px; transform: rotate(-4deg); }
.hero-title em { font-style: normal; color: var(--green); -webkit-text-stroke: 1px #0b3d24; text-shadow: 2px 2px 0 #0b3d24; }
.hero-desc { font-size: 11px; font-weight: 700; margin-top: 8px; line-height: 1.4; transform: rotate(-3deg); }
.hero-cta {
  margin-top: 10px; padding: 8px 14px; border-radius: 20px;
  background: linear-gradient(90deg, var(--green), #16c985); color: #fff;
  font-size: 12px; font-weight: 700; box-shadow: 0 4px 10px rgba(18,183,106,.4);
  transform: rotate(-3deg);
}
.hero-cta:active { transform: rotate(-3deg) scale(.96); }
.hero-dots { position: absolute; bottom: 10px; right: 16px; display: flex; gap: 5px; }
.hero-dots button { width: 6px; height: 6px; border-radius: 3px; background: rgba(0,0,0,.2); transition: width .3s; }
.hero-dots button.on { width: 18px; background: var(--green); }

/* ---------- MY KIT ID ---------- */
.kit-card {
  background: linear-gradient(135deg, #effbf3 0%, #ffffff 70%);
  border: 1px solid #d6f2e1; border-radius: var(--radius); padding: 16px; box-shadow: var(--shadow);
}
.kit-head { display: flex; align-items: flex-start; gap: 10px; }
.kit-head .icon-btn { margin-left: auto; }
.kit-crown { font-size: 22px; }
.kit-label { font-size: 11px; font-weight: 700; color: var(--text-2); }
.kit-user { font-weight: 900; font-size: 16px; display: flex; align-items: center; gap: 6px; }
.lv { background: var(--green); color: #fff; font-size: 10px; padding: 1px 6px; border-radius: 8px; }
.kit-role { font-size: 12px; color: var(--text-2); }
.kit-stats { display: grid; grid-template-columns: repeat(3, 1fr); margin: 14px 0 12px; }
.kit-stats li { display: flex; flex-direction: column; align-items: center; }
.kit-stats li + li { border-left: 1px solid var(--line); }
.kit-stats strong { font-size: 20px; font-weight: 900; }
.kit-stats span { font-size: 11px; color: var(--text-2); }
.xp-text { font-size: 12px; color: var(--text-2); margin-bottom: 6px; }
.xp-text b { color: var(--green-dark); }
.xp-bar { height: 8px; border-radius: 4px; background: #e3e8ee; overflow: hidden; }
.xp-fill { display: block; height: 100%; border-radius: 4px; background: linear-gradient(90deg, var(--green), #4fe0a0); transition: width .6s ease; }

/* ---------- 퀵 메뉴 ---------- */
.quick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.quick-item {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px;
  min-height: 86px; padding: 8px 4px; border-radius: 14px;
  background: var(--surface); border: 1px solid var(--line);
  font-size: 11.5px; font-weight: 700; text-align: center; line-height: 1.25;
  transition: transform .15s;
}
.quick-item:active { transform: scale(.95); }
.quick-item small { font-size: 9.5px; font-weight: 500; color: var(--text-3); }
.qi { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; font-size: 20px; background: #f2f4f8; }
.quick-item[data-c="red"]    { background: #fff4f4; } .quick-item[data-c="red"] .qi { background: #ffe1e1; }
.quick-item[data-c="yellow"] { background: #fffaee; } .quick-item[data-c="yellow"] .qi { background: #ffefc4; }
.quick-item[data-c="blue"]   { background: #f2f7ff; } .quick-item[data-c="blue"] .qi { background: #dfeaff; }
.quick-item[data-c="purple"] { background: #f8f3ff; } .quick-item[data-c="purple"] .qi { background: #ecdfff; }
.quick-item[data-c="sky"]    { background: #f1f8ff; } .quick-item[data-c="sky"] .qi { background: #dcefff; }
.quick-item[data-c="lilac"]  { background: #f6f2ff; } .quick-item[data-c="lilac"] .qi { background: #e6dcff; }
.quick-item.hub { background: var(--navy); color: #fff; border-color: var(--navy); }
.quick-item.hub .qi { background: transparent; }
.quick-item.hub b { font-size: 10px; }
.quick-item.hub small { color: #c9cde0; }

/* ---------- 섹션 공통 ---------- */
.section-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.section-head h2 { font-size: 17px; font-weight: 900; }
.more { font-size: 11.5px; color: var(--text-3); }
.h-scroll {
  display: flex; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory;
  margin: 0 -16px; padding: 2px 16px 6px; scrollbar-width: none;
}
.h-scroll::-webkit-scrollbar { display: none; }
.h-scroll > * { scroll-snap-align: start; flex-shrink: 0; }

/* ---------- 카테고리 ---------- */
.cat { width: 84px; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 12px; font-weight: 700; text-align: center; }
.cat small { font-size: 9.5px; color: var(--text-3); font-weight: 400; line-height: 1.2; }
.cat-ico { width: 54px; height: 54px; border-radius: 50%; background: var(--c); display: grid; place-items: center; font-size: 24px; transition: transform .15s; }
.cat:active .cat-ico { transform: scale(.9); }

/* ---------- 카드 공통 ---------- */
.trio { display: flex; flex-direction: column; gap: 12px; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 14px; box-shadow: var(--shadow); position: relative; overflow: hidden; }
.card-head { display: flex; align-items: center; justify-content: space-between; }
.card-head h3 { font-size: 16px; font-weight: 900; display: flex; align-items: center; gap: 6px; }
.card-sub { font-size: 11.5px; color: var(--text-2); margin: 4px 0 10px; }
.mini { font-size: 10px; color: var(--text-3); }

/* 오늘의 유니폼 */
.today { background: linear-gradient(135deg, #fff7e6, #ffffff 60%); }
.legend { font-family: "Caveat", cursive; font-size: 18px; color: #6b5a3a; transform: rotate(-8deg); }
.today-body { display: flex; gap: 12px; margin-top: 10px; }
.today-img {
  position: relative; width: 48%; aspect-ratio: 1 / 1.1; border-radius: 12px;
  background: radial-gradient(circle at 50% 40%, #3a3f55, #111421);
  display: grid; place-items: center; padding: 10px; overflow: hidden;
}
.today-img svg { width: 100%; height: auto; transition: transform .35s; }
.today-img.swap svg { transform: scale(.85); opacity: .3; }
.tag { position: absolute; top: 8px; left: 8px; font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 4px; color: #fff; z-index: 1; }
.tag.new { background: var(--red); }
.today-info { flex: 1; display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.today-name { font-weight: 700; font-size: 14px; line-height: 1.35; white-space: pre-line; }
.chip { align-self: flex-start; font-size: 11px; color: #8a6d3b; background: #fff; border: 1px solid #ecd9b5; padding: 2px 10px; border-radius: 10px; }
.today-links { font-size: 11.5px; color: var(--text-2); display: grid; gap: 4px; }
.btn-dark { align-self: flex-start; background: var(--navy); color: #fff; font-size: 12px; font-weight: 700; padding: 8px 16px; border-radius: 18px; }
.today-foot { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 10px; font-size: 12px; color: var(--text-2); }
.arrow { width: 28px; height: 28px; border-radius: 50%; background: #fff; border: 1px solid var(--line); font-size: 18px; line-height: 1; }

/* 미션 */
.mission-list { display: grid; gap: 8px; }
.mission-item {
  display: flex; align-items: center; gap: 10px; padding: 11px 12px;
  border: 1px solid var(--line); border-radius: 12px; font-size: 13px; transition: background .2s;
}
.mission-item .m-ico { font-size: 18px; }
.mission-item .m-xp { margin-left: auto; color: var(--green-dark); font-weight: 700; font-size: 12.5px; }
.mission-item.done { background: var(--green-soft); border-color: #bfeccf; }
.mission-item.done .m-name { text-decoration: line-through; color: var(--text-3); }
.mission-item.done .m-xp::after { content: " ✓"; }
.mission-foot { display: flex; align-items: center; gap: 12px; margin-top: 12px; }
.mission-xp { flex: 1; font-size: 12px; color: var(--text-2); }
.mission-xp p { margin-bottom: 6px; }
.mission-xp b { color: var(--green-dark); }
.lv-badge { background: linear-gradient(135deg, #3b3fb8, #6b46ff); color: #fff; font-weight: 700; font-size: 12px; padding: 7px 12px; border-radius: 10px; }

/* 유튜브 */
.yt { background: #ff0000; color: #fff; font-size: 10px; width: 24px; height: 17px; border-radius: 4px; display: grid; place-items: center; }
.video { position: relative; margin-top: 10px; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 9; background: linear-gradient(135deg, #1b2440, #3b4a7a); cursor: pointer; }
.video-thumb { position: absolute; inset: -10% 10%; transform: rotate(-12deg); opacity: .9; }
.video-thumb svg { width: 100%; height: auto; }
.play { position: absolute; inset: 0; margin: auto; width: 48px; height: 48px; border-radius: 50%; background: rgba(0,0,0,.65); color: #fff; display: grid; place-items: center; font-size: 18px; border: 2px solid #fff; }
.duration { position: absolute; right: 8px; bottom: 8px; background: rgba(0,0,0,.75); color: #fff; font-size: 10px; padding: 2px 6px; border-radius: 4px; }
.video-title { font-size: 13px; font-weight: 700; margin-top: 10px; line-height: 1.4; }
.video-meta { font-size: 11px; color: var(--text-3); margin: 4px 0 10px; }
.btn-line { font-size: 12px; padding: 6px 12px; border: 1px solid var(--line); border-radius: 16px; }

/* ---------- 상품 ---------- */
.product { width: 148px; background: var(--surface); border: 1px solid var(--line); border-radius: 14px; overflow: hidden; box-shadow: var(--shadow); }
.product-img { position: relative; aspect-ratio: 1 / .9; background: radial-gradient(circle at 50% 40%, #3a3f55, #111421); display: grid; place-items: center; padding: 10px 18px; }
.product-img svg { width: 100%; height: auto; }
.product-img .tag { top: 6px; left: 6px; }
.tag.hot { background: #ff4d4f; } .tag.pick { background: #15a34a; } .tag.newp { background: #2563eb; }
.tag.premium { background: #475569; } .tag.sale { background: #f97316; }
.product-body { padding: 8px 10px 10px; }
.p-name { font-size: 11.5px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.p-player { font-size: 10.5px; color: var(--text-3); }
.p-row { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.p-price { font-weight: 900; font-size: 14px; }
.like { font-size: 16px; line-height: 1; color: var(--text-3); transition: transform .2s; }
.like.on { color: var(--red); transform: scale(1.2); }

/* ---------- 게시판 ---------- */
.ig { width: 24px; height: 24px; border-radius: 7px; background: linear-gradient(135deg, #7c3aed, #ec4899); color: #fff; display: grid; place-items: center; font-size: 13px; }
.board .h-scroll { margin: 0 -14px; padding: 0 14px 2px; }
.post { width: 120px; }
.post-img { aspect-ratio: 1 / .85; border-radius: 10px; overflow: hidden; display: grid; place-items: center; padding: 8px 20px; }
.post-img svg { width: 100%; height: auto; }
.post-user { font-size: 11px; font-weight: 700; margin-top: 6px; }
.post-text { font-size: 10.5px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* ---------- 나눔 ---------- */
.share { background: linear-gradient(135deg, #fff2f3, #ffffff 70%); }
.share .card-head h3 { color: var(--red); }
.share-body { display: flex; gap: 12px; align-items: center; }
.share-img { width: 96px; flex-shrink: 0; border-radius: 10px; background: #fff; padding: 8px; border: 1px solid var(--line); }
.share-img svg { width: 100%; height: auto; }
.share-title { font-size: 13px; font-weight: 700; }
.share-free { font-size: 18px; font-weight: 900; color: var(--red); }
.share-desc { font-size: 11.5px; color: var(--text-2); margin: 2px 0 8px; }
.btn-red { background: var(--red); color: #fff; font-size: 12px; font-weight: 700; padding: 7px 14px; border-radius: 16px; }
.btn-red.applied { background: #c7ccd6; }

/* ---------- 혜택 ---------- */
.benefit { background: linear-gradient(135deg, #f1ecff, #fdf3ff); border-color: #e6dcff; }
.benefit h3 { font-size: 17px; font-weight: 900; color: #3b2a8a; }
.benefit-body { display: flex; align-items: center; gap: 10px; margin: 10px 0; font-size: 13px; }
.coupon { font-size: 32px; transform: rotate(-12deg); }
.btn-pill { background: #fff; font-size: 12px; font-weight: 700; padding: 7px 14px; border-radius: 16px; color: #3b2a8a; box-shadow: var(--shadow); }
.get-reward { position: absolute; right: 16px; bottom: 14px; font-family: "Caveat", cursive; font-size: 18px; line-height: 1; color: #3b2a8a; transform: rotate(-10deg); }

/* ---------- 허브 배너 ---------- */
.hub-banner {
  background: linear-gradient(120deg, #0d1124, #1d2446); color: #fff;
  border-radius: 18px; padding: 16px; display: flex; flex-direction: column; gap: 12px;
}
.hub-left { display: flex; gap: 10px; align-items: flex-start; }
.hub-crown { font-size: 26px; }
.hub-name { font-weight: 900; font-size: 15px; letter-spacing: .5px; }
.hub-name small { font-size: 11px; font-weight: 500; color: #c9cde0; margin-left: 4px; }
.hub-desc { font-size: 11.5px; color: #c9cde0; margin-top: 4px; line-height: 1.5; }
.hub-menu { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.hub-menu > * { display: flex; flex-direction: column; align-items: center; gap: 4px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12); border-radius: 10px; padding: 8px 2px; font-size: 18px; }
.hub-menu small { font-size: 9.5px; color: #e4e7f3; }
.btn-ghost { align-self: flex-end; border: 1px solid rgba(255,255,255,.5); color: #fff; font-size: 12px; padding: 7px 16px; border-radius: 18px; }

/* ---------- 탭바 ---------- */
.tabbar {
  position: fixed; bottom: 0; left: 50%; transform: translateX(-50%); z-index: 30;
  width: 100%; max-width: 480px;
  height: calc(var(--tabbar-h) + env(safe-area-inset-bottom));
  padding-bottom: env(safe-area-inset-bottom);
  background: rgba(255,255,255,.97); border-top: 1px solid var(--line);
  display: grid; grid-template-columns: repeat(5, 1fr); align-items: center;
}
.tab { display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 11px; color: var(--text-3); }
.tab.active { color: var(--green); font-weight: 700; }
.tab.active svg { fill: var(--green); stroke: var(--green); }
.tab-add {
  justify-self: center; width: 62px; height: 62px; margin-top: -26px;
  border-radius: 50%; background: linear-gradient(135deg, #16c985, var(--green-dark));
  color: #fff; box-shadow: 0 6px 16px rgba(18,183,106,.45); border: 4px solid #fff;
  display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1;
}
.tab-add span { font-size: 28px; font-weight: 300; }
.tab-add small { font-size: 9px; font-weight: 700; }
.tab-add:active { transform: scale(.94); }

/* ---------- 토스트 ---------- */
.toast {
  position: fixed; left: 50%; bottom: calc(var(--tabbar-h) + 24px); z-index: 40;
  transform: translate(-50%, 20px); opacity: 0; pointer-events: none;
  background: rgba(17,21,42,.92); color: #fff; font-size: 13px;
  padding: 10px 18px; border-radius: 20px; transition: .3s; white-space: nowrap;
}
.toast.show { opacity: 1; transform: translate(-50%, 0); }

/* ---------- 태블릿 이상 ---------- */
@media (min-width: 768px) {
  .app, .tabbar { max-width: 1024px; }
  .content { display: grid; grid-template-columns: 2fr 1fr; gap: 16px; }
  .quick, .section, .trio, .hub-banner { grid-column: 1 / -1; }
  .quick { grid-template-columns: repeat(8, 1fr); }
  .trio { display: grid; grid-template-columns: 1.15fr 1fr 1fr; }
  .trio.bottom { grid-template-columns: 1.6fr 1fr .9fr; }
  .hub-banner { flex-direction: row; align-items: center; }
  .hub-menu { flex: 1; max-width: 360px; margin-left: auto; }
  .hero-title { font-size: 40px; }
}

/* ---------- 작은 휴대폰 (갤럭시 등 360px 대) ---------- */
@media (max-width: 374px) {
  .hero-jersey { width: 44%; left: -20px; }
  .hero-text { width: 60%; right: 10px; }
  .hero-title { font-size: 26px; }
  .quick { gap: 6px; }
  .quick-item { font-size: 10.5px; }
  .quick-item.hub b { font-size: 8.5px; }
  .logo-slogan { display: none; }
}

/* ---------- 원본 이미지 (image 폴더) ---------- */
.logo-img { height: 34px; width: auto; display: block; mix-blend-mode: multiply; }
.avatar { overflow: hidden; padding: 0; }
.avatar img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* 사진이 칸을 꽉 채우도록 */
.photo { display: block; width: 100%; height: 100%; object-fit: cover; }
.product-img .photo, .today-img .photo, .post-img .photo, .video .photo { position: absolute; inset: 0; }
.product-img { aspect-ratio: 148 / 109; }
.today-img { aspect-ratio: 182 / 197; }
.post-img { position: relative; aspect-ratio: 123 / 78; }
.share-img { padding: 0; overflow: hidden; aspect-ratio: 86 / 101; }
.today-img.swap .photo { transform: scale(.9); opacity: .3; transition: .3s; }

/* 그림 안에 이미 표시가 있는 동안에는 코드 표시를 숨김 (첫화면.js의 IMAGES_HAVE_LABELS) */
.baked-labels .product-img .tag,
.baked-labels .today-img.has-photo .tag,
.baked-labels .video .play,
.baked-labels .video .duration { display: none; }

/* 혜택 카드 */
.coupon { width: 46px; height: auto; transform: rotate(-8deg); }
.benefit .get-reward { right: 76px; bottom: 40px; }
.mascot { position: absolute; right: 6px; bottom: 6px; width: 70px; height: auto; mix-blend-mode: multiply; }

/* FOOTWEAVE 공식 스토어 배너 */
.hub-banner { position: relative; }
.hub-jersey { position: absolute; left: 16px; bottom: 12px; width: 56px; height: 44px; object-fit: cover; border-radius: 8px; }
@media (min-width: 768px) {
  .hub-jersey { position: static; width: 76px; height: 62px; border-radius: 10px; }
}

/* =====================================================
   서버 연동 화면 (게시판 · 상점 · 경매 · 마이페이지 등)
   ===================================================== */
a.btn-dark, a.btn-line, a.btn-pill, a.btn-ghost { display: inline-block; text-align: center; }
a.avatar { display: block; }
.hub-menu > * { color: #fff; }
.kit-stats li a { display: flex; flex-direction: column; align-items: center; }
.mission-list li { list-style: none; }
.share-count { font-size: 10.5px; color: var(--text-3); margin-top: 6px; }
.btn-red { display: inline-block; }
.foot-links { text-align: center; font-size: 11px; color: var(--text-3); padding: 8px 0 4px; line-height: 1.7; }
.foot-links a { color: var(--text-2); text-decoration: underline; }
.foot-links p { margin-top: 4px; }

/* 공통 버튼 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  min-height: 44px; padding: 0 16px; border-radius: 12px; font-size: 14px; font-weight: 700;
  border: 1px solid transparent; transition: transform .1s, opacity .2s; text-align: center; white-space: nowrap; flex-shrink: 0;
}
.btn:active { transform: scale(.97); }
.btn:disabled { opacity: .5; pointer-events: none; }
.btn.primary { background: var(--green); color: #fff; }
.btn.dark { background: var(--navy); color: #fff; }
.btn.line { background: #fff; border-color: var(--line); color: var(--text); }
.btn.danger { background: var(--red); color: #fff; }
.btn.small { min-height: 34px; padding: 0 12px; font-size: 12.5px; border-radius: 10px; }
.btn.block { display: flex; width: 100%; }
.btn.liked { color: var(--red); border-color: #ffc9cf; }
.btn-row { display: flex; gap: 8px; margin-top: 10px; }
.btn-row > * { flex: 1; }
.text-btn { font-size: 12px; color: var(--text-3); padding: 4px 6px; min-height: 32px; }

/* 화면 머리 */
.view { gap: 12px; }
.page-head { display: grid; grid-template-columns: 44px 1fr auto; align-items: center; gap: 6px; min-height: 44px; }
.page-head h1 { font-size: 17px; font-weight: 900; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.page-head .back { width: 44px; height: 44px; font-size: 30px; line-height: 1; border-radius: 12px; }
.page-head-right { display: flex; gap: 6px; justify-content: flex-end; min-width: 44px; }
.page-desc { font-size: 12.5px; color: var(--text-2); line-height: 1.6; }
.sub-title { font-size: 15px; font-weight: 900; margin-bottom: 10px; }
.sub-title small { font-weight: 500; color: var(--text-3); font-size: 11.5px; margin-left: 4px; }
.muted { color: var(--text-3); }
.small { font-size: 12px; }
.block { display: block; }
.grow { flex: 1; min-width: 0; }
.center { text-align: center; }
.plus { color: var(--green-dark); }
.minus { color: var(--red); }

/* 칩 / 도구 막대 */
.chips { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; margin: 0 -16px; padding: 0 16px; }
.chips::-webkit-scrollbar { display: none; }
.chip-btn { flex-shrink: 0; min-height: 36px; display: inline-flex; align-items: center; padding: 0 14px; border-radius: 18px; background: #fff; border: 1px solid var(--line); font-size: 13px; }
.chip-btn.on { background: var(--navy); border-color: var(--navy); color: #fff; font-weight: 700; }
.toolbar { display: flex; gap: 8px; align-items: center; justify-content: space-between; }
.toolbar select, .field select { height: 40px; border: 1px solid var(--line); border-radius: 10px; padding: 0 10px; background: #fff; font: inherit; font-size: 14px; }
.mini-search { flex: 1; }
.mini-search input { width: 100%; height: 40px; border: 1px solid var(--line); border-radius: 10px; padding: 0 12px; font: inherit; font-size: 16px; background: #fff; }
.mini-chip { display: inline-block; font-size: 10.5px; padding: 2px 7px; border-radius: 8px; background: #f1f3f7; color: var(--text-2); margin-right: 4px; }
.chips-inline { margin: 8px 0; }
.cat-chip { display: inline-block; font-size: 10.5px; padding: 1px 7px; border-radius: 6px; background: var(--green-soft); color: var(--green-dark); font-weight: 700; }

/* 목록 / 격자 */
.list { display: flex; flex-direction: column; gap: 8px; }
.grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.grid .product { width: auto; }
.row-card { display: flex; align-items: center; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.row-card.unread { border-color: #bfeccf; background: #f6fffa; }
.ol-img { width: 64px; height: 64px; flex-shrink: 0; border-radius: 10px; overflow: hidden; background: radial-gradient(circle at 50% 40%, #3a3f55, #111421); display: grid; place-items: center; padding: 4px; position: relative; }
.ol-img .photo { position: absolute; inset: 0; }
.order-line { display: flex; gap: 12px; align-items: center; padding: 6px 0; }
.empty { text-align: center; padding: 28px 12px; color: var(--text-3); font-size: 13px; display: flex; flex-direction: column; align-items: center; gap: 10px; width: 100%; }
.loading { display: flex; justify-content: center; gap: 6px; padding: 30px 0; }
.loading span { width: 8px; height: 8px; border-radius: 50%; background: var(--green); animation: blink 1s infinite alternate; }
.loading span:nth-child(2) { animation-delay: .2s; } .loading span:nth-child(3) { animation-delay: .4s; }
@keyframes blink { from { opacity: .2; } to { opacity: 1; } }

/* 회원 표시 (등급 아이콘 + 배지) */
.user-tag { display: inline-flex; align-items: center; gap: 3px; font-size: 12.5px; font-weight: 700; color: var(--text); vertical-align: middle; }
.user-tag .nick { max-width: 120px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.grade-ico { display: inline-block; vertical-align: middle; flex-shrink: 0; }
.badge-ico { width: 15px; height: 15px; display: inline-block; vertical-align: middle; margin-left: 1px; }
.kit-user .badge-ico { width: 16px; height: 16px; }
.badge-list { display: flex; flex-wrap: wrap; gap: 4px; margin: 6px 0; }
.badge-chip { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; padding: 2px 8px 2px 2px; border-radius: 12px; background: color-mix(in srgb, var(--bc) 12%, #fff); color: var(--bc); }
.badge-chip img { width: 18px; height: 18px; }
.grade-table { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; text-align: center; }
.grade-table li { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 8px 2px; border-radius: 12px; font-size: 12px; }
.grade-table li span { font-size: 10px; color: var(--text-3); }
.grade-table li.on { background: var(--green-soft); outline: 2px solid var(--green); }
.hint { font-size: 11.5px; color: var(--text-3); line-height: 1.6; margin-top: 8px; }

/* 알림 상자 */
.notice { font-size: 12.5px; padding: 10px 12px; border-radius: 10px; background: #f1f5ff; color: #24407a; line-height: 1.5; margin: 8px 0; }
.notice.ok { background: var(--green-soft); color: var(--green-dark); }
.notice.warn { background: #fff1f2; color: #b4232f; }

/* 상태 표시 */
.status { flex-shrink: 0; font-size: 11px; font-weight: 700; padding: 4px 8px; border-radius: 8px; background: #f1f3f7; color: var(--text-2); }
.s-PAID, .s-COMPLETED, .s-DELIVERED { background: var(--green-soft); color: var(--green-dark); }
.s-SHIPPED, .s-SHIPPING { background: #e8f0ff; color: #2156c7; }
.s-AWAITING_PAYMENT, .s-PENDING_PAYMENT { background: #fff6e0; color: #a26200; }
.s-DISPUTED, .s-CANCELLED, .s-REFUNDED { background: #fff1f2; color: #b4232f; }
.big-status { font-size: 18px; font-weight: 900; padding: 8px 0; background: none !important; }
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; margin: 14px 0; counter-reset: step; }
.steps li { list-style: none; text-align: center; font-size: 11px; color: var(--text-3); padding-top: 26px; position: relative; }
.steps li::before { counter-increment: step; content: counter(step); position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 22px; height: 22px; border-radius: 50%; background: #e3e8ee; color: #fff; font-weight: 700; display: grid; place-items: center; font-size: 11px; }
.steps li.on { color: var(--green-dark); font-weight: 700; }
.steps li.on::before { background: var(--green); }

/* 폼 */
.form { display: flex; flex-direction: column; gap: 12px; }
.form-logo { height: 40px; margin: 6px auto 4px; mix-blend-mode: multiply; }
.form-desc { font-size: 13px; color: var(--text-2); }
.form-foot { text-align: center; font-size: 13px; color: var(--text-2); }
.form-foot a { color: var(--green-dark); font-weight: 700; }
.field { display: flex; flex-direction: column; gap: 6px; font-size: 13px; font-weight: 700; }
.field small { font-weight: 400; color: var(--text-3); }
.field input, .field textarea, .form textarea, .form > input, .point-row input, .comment-form input, .bid-input input {
  width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 11px 12px; font: inherit; font-size: 16px; font-weight: 400; background: #fff; color: var(--text);
}
.field input:focus, .field textarea:focus, .form textarea:focus, .bid-input input:focus { outline: none; border-color: var(--green); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.check { display: flex; gap: 8px; align-items: flex-start; font-size: 12.5px; line-height: 1.5; }
.check input { width: 22px; height: 22px; flex-shrink: 0; accent-color: var(--green); }
.check a { color: var(--green-dark); text-decoration: underline; }
.radio { display: flex; gap: 8px; align-items: center; min-height: 40px; font-size: 14px; }
.radio input { width: 20px; height: 20px; accent-color: var(--red); }
.rules { background: #f8fafc; border-radius: 12px; padding: 12px; font-size: 12px; color: var(--text-2); line-height: 1.6; }
.rules ul { padding-left: 16px; list-style: disc; margin-top: 4px; }
.upload-row { display: flex; gap: 8px; flex-wrap: wrap; }
.thumbs { display: flex; gap: 8px; flex-wrap: wrap; }
.thumb { position: relative; width: 72px; height: 72px; border-radius: 10px; overflow: hidden; border: 1px solid var(--line); }
.thumb img { width: 100%; height: 100%; object-fit: cover; }
.thumb button { position: absolute; top: 2px; right: 2px; width: 24px; height: 24px; border-radius: 50%; background: rgba(0,0,0,.6); color: #fff; font-size: 14px; }
.upload-btn { width: 72px; height: 72px; border-radius: 10px; border: 1.5px dashed #c5ccd8; display: grid; place-items: center; font-size: 12px; color: var(--text-2); cursor: pointer; }
.size-row { display: flex; gap: 6px; flex-wrap: wrap; }
.size-opt input { position: absolute; opacity: 0; pointer-events: none; }
.size-opt span { display: grid; place-items: center; min-width: 48px; height: 44px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; font-weight: 700; cursor: pointer; }
.size-opt input:checked + span { border-color: var(--navy); background: var(--navy); color: #fff; }
.point-row { display: flex; gap: 8px; }
.sum { display: grid; grid-template-columns: auto 1fr; gap: 8px 12px; font-size: 13px; margin: 12px 0; }
.sum dt { color: var(--text-2); }
.sum dd { text-align: right; }
.sum .total { font-size: 16px; font-weight: 900; color: var(--text); padding-top: 6px; border-top: 1px solid var(--line); }

/* 상세 화면 */
.detail-img { border-radius: var(--radius); overflow: hidden; aspect-ratio: 1 / .9; background: radial-gradient(circle at 50% 40%, #3a3f55, #111421); display: grid; place-items: center; position: relative; padding: 20px 60px; }
.detail-img .photo { position: absolute; inset: 0; }
.product-img.dark { background: radial-gradient(circle at 50% 40%, #3a3f55, #111421); }
.d-title { font-size: 18px; font-weight: 900; line-height: 1.35; margin: 4px 0; }
.d-sub { font-size: 12px; color: var(--text-2); }
.d-price { font-size: 22px; font-weight: 900; }
.d-ship { font-size: 12px; color: var(--text-3); margin: 4px 0 12px; }
.tag-inline { display: inline-block; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 4px; color: #fff; }
.tag-inline.hot { background: #ff4d4f; } .tag-inline.pick { background: #15a34a; } .tag-inline.newp { background: #2563eb; }
.tag-inline.premium { background: #475569; } .tag-inline.sale { background: #f97316; }
.soldout { position: absolute; inset: 0; background: rgba(0,0,0,.55); color: #fff; font-weight: 900; display: grid; place-items: center; z-index: 2; }
.pd-content { font-size: 14px; line-height: 1.75; white-space: pre-wrap; word-break: break-word; }
.post-detail .pd-title { font-size: 19px; font-weight: 900; line-height: 1.4; }
.pd-meta { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; font-size: 11.5px; color: var(--text-3); margin: 8px 0 12px; }
.pd-img { width: 100%; border-radius: 12px; margin-bottom: 12px; }
.pd-actions { margin-top: 14px; }
.comments { display: flex; flex-direction: column; }
.comment { padding: 10px 0; border-bottom: 1px solid var(--line); }
.c-head { display: flex; align-items: center; gap: 6px; }
.c-time { font-size: 11px; color: var(--text-3); margin-right: auto; }
.c-body { font-size: 13.5px; margin-top: 4px; white-space: pre-wrap; word-break: break-word; }
.comment-form { display: flex; gap: 8px; margin-top: 12px; }
.post-row { display: flex; gap: 10px; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px; }
.post-row-main { flex: 1; min-width: 0; }
.post-row-title { font-size: 14px; font-weight: 700; margin: 4px 0 2px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.post-row-ex { font-size: 12px; color: var(--text-2); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.post-row-meta { font-size: 11px; color: var(--text-3); margin-top: 6px; }
.post-row-img { width: 72px; height: 72px; border-radius: 10px; object-fit: cover; flex-shrink: 0; }
.doc .pd-content { font-size: 13px; }

/* 경매 */
.tag-live { position: absolute; top: 6px; left: 6px; z-index: 1; font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 4px; background: #7c3aed; color: #fff; }
.tag-live.ended { background: #64748b; }
.auction-card .p-player .countdown { color: var(--red); font-weight: 700; }
.gallery { gap: 8px; }
.g-item { width: 82%; aspect-ratio: 1 / .9; border-radius: var(--radius); overflow: hidden; position: relative; background: radial-gradient(circle at 50% 40%, #3a3f55, #111421); display: grid; place-items: center; padding: 20px 50px; }
.g-item .photo { position: absolute; inset: 0; }
.gallery .g-item:only-child { width: 100%; }
.bid-status { display: grid; grid-template-columns: 1.4fr 1fr 1.2fr; gap: 8px; padding: 12px; border-radius: 12px; background: #f8fafc; margin: 10px 0; }
.bs-num { font-size: 15px; font-weight: 900; }
.bs-num.countdown { color: var(--red); }
.bid-form { display: flex; flex-direction: column; gap: 8px; }
.bid-input { display: flex; gap: 6px; }
.bid-input input { flex: 1; font-weight: 700; }
.bid-list li { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; align-items: center; padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 13px; list-style: none; }
.bid-list li.mine { color: var(--green-dark); }
.seller-row { display: flex; flex-direction: column; gap: 4px; }

/* 마이페이지 */
.my-card { display: flex; gap: 14px; align-items: center; }
.my-avatar { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; border: 3px solid #fff; box-shadow: 0 0 0 1px var(--line); flex-shrink: 0; }
.my-nick { font-size: 18px; font-weight: 900; display: flex; align-items: center; gap: 4px; flex-wrap: wrap; }
.my-nick .badge-ico { width: 20px; height: 20px; }
.my-grade { display: flex; align-items: center; gap: 4px; font-size: 13px; margin: 4px 0 6px; }
.stat-row { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; padding: 12px 4px; }
.stat-row a { display: flex; flex-direction: column; gap: 2px; }
.stat-row a + a { border-left: 1px solid var(--line); }
.stat-row b { font-size: 17px; }
.stat-row span { font-size: 11.5px; color: var(--text-2); }
.menu { display: flex; flex-direction: column; padding: 4px 14px; }
.menu > a, .menu > button { display: flex; align-items: center; justify-content: space-between; min-height: 50px; font-size: 14px; border-bottom: 1px solid var(--line); text-align: left; width: 100%; }
.menu > :last-child { border-bottom: 0; }
.menu small { color: var(--text-3); font-size: 11.5px; }
.admin-link { color: var(--purple); font-weight: 700; }
.avatar-edit { display: flex; align-items: center; gap: 12px; }
.avatar-edit img { width: 64px; height: 64px; border-radius: 50%; object-fit: cover; }

/* 영상 / 퀴즈 / 나눔 */
.player { border-radius: var(--radius); overflow: hidden; aspect-ratio: 16 / 9; background: #000; }
.player iframe { width: 100%; height: 100%; border: 0; display: block; }
.player .video { margin: 0; border-radius: 0; height: 100%; }
.video-row { background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 10px; }
.video-row .video { margin: 0; }
.quiz-q { font-size: 16px; font-weight: 900; line-height: 1.5; margin-bottom: 12px; }
.quiz-opts { display: flex; flex-direction: column; gap: 8px; }
.quiz-opt { min-height: 48px; text-align: left; padding: 10px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fff; font-size: 14px; }
.quiz-opt.correct { border-color: var(--green); background: var(--green-soft); font-weight: 700; }
.quiz-opt.wrong { border-color: var(--red); background: #fff1f2; }
.share-row { display: flex; gap: 12px; align-items: flex-start; }
.share-row .share-img { width: 96px; }

/* 아래에서 올라오는 창 */
.sheet-backdrop { position: fixed; inset: 0; z-index: 50; background: rgba(10,14,30,0); transition: background .2s; display: flex; align-items: flex-end; justify-content: center; }
.sheet-backdrop.open { background: rgba(10,14,30,.45); }
.sheet { width: 100%; max-width: 480px; background: #fff; border-radius: 20px 20px 0 0; padding: 10px 16px calc(16px + env(safe-area-inset-bottom)); transform: translateY(100%); transition: transform .22s ease; max-height: 85vh; overflow-y: auto; }
.sheet-backdrop.open .sheet { transform: translateY(0); }
.sheet-handle { width: 40px; height: 4px; border-radius: 2px; background: #d6dbe3; margin: 0 auto 12px; }
.sheet-title { font-size: 16px; font-weight: 900; margin-bottom: 10px; }
.sheet-msg { font-size: 15px; line-height: 1.6; white-space: pre-line; padding: 8px 0; }

/* 터치 영역 넓히기 (44px 이상) */
.arrow { width: 44px; height: 44px; }
.like { min-width: 36px; min-height: 36px; }

@media (min-width: 768px) {
  .view { display: flex; flex-direction: column; max-width: 720px; margin: 0 auto; }
  .grid { grid-template-columns: repeat(3, 1fr); }
  .sheet { border-radius: 20px; margin-bottom: 40px; }
}

/* ---------- 간편로그인 · 휴대폰 인증 · 주소 ---------- */
.social-list { display: flex; flex-direction: column; gap: 8px; }
.social-btn { position: relative; display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 12px; font-size: 14.5px; font-weight: 700; border: 1px solid transparent; }
.social-btn svg { position: absolute; left: 16px; width: 20px; height: 20px; stroke: none; }
.social-btn:active { transform: scale(.98); }
.social-btn.kakao { background: #FEE500; color: rgba(0,0,0,.85); }
.social-btn.naver { background: #03C75A; color: #fff; }
.social-btn.google { background: #fff; color: #1f1f1f; border-color: #dadce0; }
.social-btn.apple { background: #000; color: #fff; }
.divider { display: flex; align-items: center; gap: 10px; font-size: 12px; color: var(--text-3); margin: 6px 0; }
.divider::before, .divider::after { content: ""; flex: 1; height: 1px; background: var(--line); }
.inline { display: flex; gap: 6px; align-items: center; }
.inline input { flex: 1; min-width: 0; }
.pv-timer { font-size: 13px; font-weight: 700; color: var(--red); min-width: 36px; text-align: center; }
.pv-msg { font-size: 12px; font-weight: 500; color: var(--text-2); min-height: 0; }
.pv-msg:empty { display: none; }
.pv-msg.ok { color: var(--green-dark); font-weight: 700; }
.pv-msg.warn { color: var(--red); }
.pv-msg.dev { background: #fff6e0; color: #a26200; padding: 6px 8px; border-radius: 8px; }
.addr > input { margin-top: 0; }
.addr-search { height: 420px; border: 1px solid var(--line); border-radius: 10px; overflow: hidden; }
.social-links .row-card { padding: 10px 12px; }
.social-ico { width: 32px; height: 32px; border-radius: 50%; display: grid; place-items: center; flex-shrink: 0; border: 1px solid transparent; }
.social-ico svg { width: 16px; height: 16px; stroke: none; }
.social-ico.kakao { background: #FEE500; } .social-ico.naver { background: #03C75A; }
.social-ico.google { background: #fff; border-color: #dadce0; } .social-ico.apple { background: #000; }

/* 회원가입 화면 아래쪽 간편 가입 (동그란 아이콘 한 줄) */
.social-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; justify-items: center; }
.social-round { display: flex; flex-direction: column; align-items: center; gap: 6px; min-width: 64px; padding: 4px 0; }
.social-round .social-ico { width: 52px; height: 52px; box-shadow: 0 2px 8px rgba(20,30,60,.08); transition: transform .15s; }
.social-round .social-ico svg { width: 22px; height: 22px; }
.social-round:active .social-ico { transform: scale(.92); }
.social-name { font-size: 12px; color: var(--text-2); font-weight: 500; }
.social-note { text-align: center; font-size: 11.5px; color: var(--text-3); }

/* ---------- 마킹 · 패치 ---------- */
.detail-img.light { background: linear-gradient(135deg, #eef2ff, #f8fafc); }
.tag-inline.cat-MARKING { background: #a26200; margin-right: 4px; }
.tag-inline.cat-PATCH { background: #7c3aed; margin-right: 4px; }
.mark-text { font-size: 12.5px; color: #a26200; }

/* =====================================================
   부착 · 탈부착 대행 안내 (앱 안의 화면)
   ===================================================== */
.svc { display: flex; flex-direction: column; gap: 14px; }
.svc-attach { --svc-1: #11152a; --svc-2: #1d2446; --svc-3: #26306a; --svc-glow: rgba(18,183,106,.35); --svc-eyebrow: #7ee2b0; --svc-accent: #0a8f52; --svc-soft: #e7f8ef; --svc-line: #cfe9db; }
.svc-detach { --svc-1: #2a1f5c; --svc-2: #4b2fb0; --svc-3: #6b46ff; --svc-glow: rgba(255,213,74,.25); --svc-eyebrow: #cbbcff; --svc-accent: #6b46ff; --svc-soft: #efeafe; --svc-line: #ddd3ff; }

.svc-hero {
  position: relative; overflow: hidden; border-radius: 22px; padding: 22px 18px 18px; color: #fff;
  background: radial-gradient(circle at 88% 12%, var(--svc-glow), transparent 45%), linear-gradient(135deg, var(--svc-1) 0%, var(--svc-2) 58%, var(--svc-3) 100%);
  box-shadow: 0 12px 30px rgba(17,21,42,.22);
}
.svc-attach .svc-hero { display: grid; grid-template-columns: 1fr 112px; gap: 6px; align-items: center; }
.svc-attach .svc-chips { grid-column: 1 / -1; }
.svc-eyebrow { font-size: 10.5px; font-weight: 700; letter-spacing: .8px; color: var(--svc-eyebrow); }
.svc-hero h2 { font-size: 25px; font-weight: 900; margin: 4px 0 6px; letter-spacing: -.5px; }
.svc-lead { font-size: 13px; line-height: 1.6; color: rgba(255,255,255,.82); }
.svc-lead b { color: #fff; }
.svc-chips { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 12px; }
.svc-chips li { list-style: none; font-size: 11px; font-weight: 700; padding: 4px 9px; border-radius: 12px; background: rgba(255,255,255,.13); border: 1px solid rgba(255,255,255,.2); }
.svc-art { position: relative; }
.svc-art svg { width: 112px; height: 112px; display: block; transform: rotate(6deg); filter: drop-shadow(0 8px 14px rgba(0,0,0,.35)); }
.svc-spark { position: absolute; top: 4px; right: 8px; color: #ffd54a; animation: svcTwinkle 1.8s infinite ease-in-out; }
@keyframes svcTwinkle { 0%, 100% { opacity: .3; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.2); } }

.svc-ba { display: grid; grid-template-columns: 1fr 36px 1fr; align-items: center; gap: 6px; margin-top: 16px; }
.svc-ba figure { position: relative; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 16px; padding: 10px 8px 8px; text-align: center; }
.svc-ba figure svg { width: 100%; max-width: 110px; height: auto; display: block; margin: 0 auto; }
.svc-ba figcaption { font-size: 11.5px; font-weight: 700; margin-top: 4px; color: rgba(255,255,255,.85); }
.svc-ba figure.after { background: rgba(255,255,255,.16); border-color: rgba(255,213,74,.6); }
.svc-ba figure.after figcaption { color: #ffd54a; }
.svc-ba-arrow { width: 36px; height: 36px; border-radius: 50%; background: #fff; color: var(--svc-accent); display: grid; place-items: center; font-weight: 900; font-size: 18px; box-shadow: 0 4px 10px rgba(0,0,0,.2); }

.svc-h { font-size: 17px; font-weight: 900; margin-bottom: 8px; }
.svc-sub { font-size: 12.5px; color: var(--text-2); line-height: 1.6; margin-bottom: 14px; }
.svc-sub b { color: var(--svc-accent); }

.svc-cases { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.svc-case { display: flex; flex-direction: column; gap: 3px; padding: 12px; border-radius: 14px; background: var(--svc-soft); }
.svc-case span { font-size: 20px; }
.svc-case b { font-size: 13px; }
.svc-case small { font-size: 11.5px; color: var(--text-2); line-height: 1.4; }

/* 상담 버튼 (카카오톡 · 인스타그램 브랜드 색) */
.svc-contacts { display: flex; flex-direction: column; gap: 10px; }
.contact-btn { display: grid; grid-template-columns: 48px 1fr 20px; align-items: center; gap: 12px; min-height: 72px; padding: 12px 14px; border-radius: 16px; transition: transform .15s; }
.contact-btn:active { transform: scale(.98); }
.contact-btn .ico { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; }
.contact-btn .ico svg { width: 28px; height: 28px; }
.contact-btn b { display: block; font-size: 15.5px; font-weight: 900; }
.contact-btn small { display: block; font-size: 12px; margin-top: 2px; opacity: .85; }
.contact-btn .go { font-size: 22px; font-weight: 300; }
.contact-btn.kakao { background: #FEE500; color: #191919; }
.contact-btn.kakao .ico { background: rgba(0,0,0,.08); }
.contact-btn.insta { background: linear-gradient(115deg, #feda75 0%, #fa7e1e 25%, #d62976 55%, #962fbf 80%, #4f5bd5 100%); color: #fff; }
.contact-btn.insta .ico { background: rgba(255,255,255,.2); }
.contact-btn.off { background: #f1f3f7; color: var(--text-3); pointer-events: none; }
.contact-btn.off .ico { background: #e5e8ee; filter: grayscale(1); opacity: .6; }
.svc-hours { margin-top: 12px; font-size: 12px; color: var(--text-2); text-align: center; }

/* 진행 순서 */
.svc-steps { display: flex; flex-direction: column; }
.svc-steps li { list-style: none; display: grid; grid-template-columns: 44px 1fr; gap: 12px; padding-bottom: 16px; position: relative; }
.svc-steps li:last-child { padding-bottom: 0; }
.svc-steps li:not(:last-child)::before { content: ""; position: absolute; left: 21px; top: 44px; bottom: 0; width: 2px; background: repeating-linear-gradient(to bottom, var(--svc-line) 0 4px, transparent 4px 8px); }
.svc-step-ico { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; font-size: 20px; background: var(--svc-soft); position: relative; z-index: 1; }
.svc-steps.numbered .svc-step-ico { font-size: 16px; font-weight: 900; color: #fff; background: linear-gradient(135deg, var(--svc-2), var(--svc-3)); box-shadow: 0 3px 8px rgba(107,70,255,.35); }
.svc-steps.numbered li:not(:last-child)::before { background: linear-gradient(var(--svc-3), var(--svc-line)); }
.svc-steps b { font-size: 14px; }
.svc-steps p { font-size: 12.5px; color: var(--text-2); line-height: 1.55; margin-top: 2px; }

.svc-note { font-size: 13.5px; line-height: 1.8; white-space: pre-line; background: #f8fafc; border-radius: 12px; padding: 12px 14px; }

.svc-faq details { border-bottom: 1px solid var(--line); }
.svc-faq details:last-child { border-bottom: 0; }
.svc-faq summary { list-style: none; cursor: pointer; min-height: 48px; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; font-weight: 700; }
.svc-faq summary::-webkit-details-marker { display: none; }
.svc-faq summary::after { content: "+"; font-size: 20px; font-weight: 400; color: var(--svc-accent); transition: transform .2s; }
.svc-faq details[open] summary::after { transform: rotate(45deg); }
.svc-faq details p { font-size: 13px; color: var(--text-2); line-height: 1.65; padding: 0 2px 14px; }

.svc-cta { display: grid; grid-template-columns: 44px 1fr 16px; gap: 12px; align-items: center; background: linear-gradient(135deg, var(--svc-soft), #fff); }
.svc-cta-ico { width: 44px; height: 44px; border-radius: 12px; background: #fff; display: grid; place-items: center; font-size: 22px; box-shadow: var(--shadow); }
.svc-cta b { display: block; font-size: 14px; }
.svc-cta small { display: block; font-size: 12px; color: var(--text-2); margin-top: 2px; }
.svc-cta-arrow { font-size: 22px; color: var(--text-3); }

.svc-caution ul { display: flex; flex-direction: column; gap: 8px; }
.svc-caution li { list-style: none; font-size: 12.5px; color: var(--text-2); line-height: 1.6; padding-left: 14px; position: relative; }
.svc-caution li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--red); }
.svc a:not(.card):not(.contact-btn) { color: var(--svc-accent); text-decoration: underline; }
.svc-foot { text-align: center; font-size: 11px; color: var(--text-3); }

@media (max-width: 360px) {
  .svc-attach .svc-hero { grid-template-columns: 1fr 88px; }
  .svc-art svg { width: 88px; height: 88px; }
}

/* 퀵 메뉴 7개: FOOTWEAVE 공식 스토어 칸을 두 칸 너비로 → 4개 + 4칸으로 줄이 맞음 */
.quick-item.hub { grid-column: span 2; display: grid; grid-template-columns: auto auto; justify-content: center; align-content: center; column-gap: 10px; row-gap: 2px; text-align: left; }
.quick-item.hub .qi { grid-row: span 2; align-self: center; }
.quick-item.hub b { align-self: end; }
.quick-item.hub small { align-self: start; }
.quick-item.hub .qi { font-size: 26px; }
.quick-item.hub b { font-size: 13px; display: block; }
.quick-item.hub small { font-size: 11px; display: block; }
@media (max-width: 374px) { .quick-item.hub b { font-size: 12px; } }

/* ---------- FOOTWEAVE 로고 ---------- */
.brand { display: inline-flex; align-items: center; gap: 7px; text-decoration: none; }
.brand-mark { width: 30px; height: 30px; border-radius: 8px; display: block; flex-shrink: 0; }
.brand-word { font-family: "Noto Sans KR", -apple-system, sans-serif; font-weight: 900; font-size: 17px; letter-spacing: .6px; color: #11152a; line-height: 1; }
.brand-word b { color: #12b76a; font-weight: 900; }
.brand-lg { justify-content: center; }
.brand-lg .brand-mark { width: 40px; height: 40px; border-radius: 11px; }
.brand-lg .brand-word { font-size: 24px; }
.form-logo.brand { display: flex; height: auto; mix-blend-mode: normal; margin: 8px auto 6px; }

/* ---------- 제작 (마킹·패치·스폰서) : 주황 공방 테마 ---------- */
.svc-custom { --svc-1: #3a1d0b; --svc-2: #9a3412; --svc-3: #f97316; --svc-glow: rgba(255,213,74,.3); --svc-eyebrow: #fed7aa; --svc-accent: #ea580c; --svc-soft: #fff1e6; --svc-line: #fed7aa; }
.svc-custom .svc-steps.numbered .svc-step-ico { box-shadow: 0 3px 8px rgba(234,88,12,.35); }
.svc-make { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-top: 16px; }
.svc-make figure { background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.22); border-radius: 16px; padding: 10px 6px 8px; text-align: center; }
.svc-make figure:nth-child(2) { transform: translateY(-6px); }
.svc-make svg { width: 100%; max-width: 72px; height: auto; display: block; margin: 0 auto; filter: drop-shadow(0 4px 8px rgba(0,0,0,.25)); }
.svc-make figcaption { font-size: 11.5px; font-weight: 700; margin-top: 6px; color: #ffedd5; }
.svc-makes { display: flex; flex-direction: column; gap: 8px; }
.svc-make-card { display: grid; grid-template-columns: 44px 1fr; gap: 12px; align-items: start; padding: 12px; border-radius: 14px; background: var(--svc-soft); }
.svc-make-ico { width: 44px; height: 44px; border-radius: 12px; background: #fff; display: grid; place-items: center; font-size: 22px; box-shadow: var(--shadow); }
.svc-make-card b { font-size: 14px; }
.svc-make-card p { font-size: 12.5px; color: var(--text-2); line-height: 1.5; margin-top: 2px; }
.svc-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-top: 6px !important; }
.svc-tags span { font-size: 10.5px; font-weight: 700; padding: 2px 7px; border-radius: 8px; background: #fff; color: var(--svc-accent); border: 1px solid var(--svc-line); }

/* ---------- 퀵 메뉴: 강조 3개(큰 카드) + 서비스 4개(작은 아이콘) ---------- */
.quick { grid-template-columns: repeat(12, 1fr); }
.quick-item { grid-column: span 3; }
.quick-item.quick-main {
  grid-column: span 4; position: relative; min-height: 112px; padding: 12px 6px 10px; gap: 3px;
  border: 0; color: #fff; overflow: hidden; box-shadow: 0 6px 16px rgba(20,30,60,.16);
}
.quick-main::after { content: ""; position: absolute; right: -18px; top: -18px; width: 64px; height: 64px; border-radius: 50%; background: rgba(255,255,255,.12); }
.quick-main .qi { width: 44px; height: 44px; border-radius: 14px; font-size: 24px; background: rgba(255,255,255,.18); margin-bottom: 2px; }
.quick-main b { font-size: 14px; font-weight: 900; letter-spacing: -.2px; }
.quick-main small { font-size: 10px; font-weight: 500; color: rgba(255,255,255,.82); }
.quick-main.shop { background: linear-gradient(145deg, #12b76a 0%, #0a8f52 100%); }
.quick-main.auction { background: linear-gradient(145deg, #8b5cf6 0%, #6b46ff 55%, #f97316 140%); }
.quick-main.seller { background: linear-gradient(145deg, #1d2446 0%, #11152a 100%); }
.quick-main.seller .qi { background: rgba(245,196,0,.18); }
.qm-badge { position: absolute; top: 8px; left: 8px; z-index: 1; font-size: 9px; font-weight: 900; letter-spacing: .5px; padding: 2px 6px; border-radius: 6px; background: #ff3d57; color: #fff; animation: qmPulse 1.8s infinite; }
@keyframes qmPulse { 0%, 100% { box-shadow: 0 0 0 0 rgba(255,61,87,.5); } 50% { box-shadow: 0 0 0 5px rgba(255,61,87,0); } }
.quick-main:active { transform: scale(.96); }
@media (max-width: 374px) {
  .quick-main b { font-size: 13px; }
  .quick-main small { font-size: 9.5px; }
}
@media (min-width: 768px) {
  .quick { grid-template-columns: repeat(12, 1fr); }
  .quick-item { grid-column: span 2; }
  .quick-item.quick-main { grid-column: span 4; min-height: 96px; display: grid; grid-template-columns: auto 1fr; align-content: center; column-gap: 12px; row-gap: 2px; padding: 14px 18px; text-align: left; }
  .quick-main .qi { grid-row: span 2; margin: 0; align-self: center; }
  .quick-main b { align-self: end; font-size: 16px; }
  .quick-main small { align-self: start; font-size: 12px; }
  .quick-item:not(.quick-main) { grid-column: span 3; }
}

/* ---------- 입점 업체 ---------- */
.seller-hero { position: relative; overflow: hidden; border-radius: 20px; padding: 18px 16px; color: #fff; display: flex; flex-direction: column; gap: 12px;
  background: radial-gradient(circle at 90% 10%, rgba(245,196,0,.28), transparent 45%), linear-gradient(135deg, #11152a 0%, #1d2446 60%, #0f766e 140%); box-shadow: 0 10px 26px rgba(17,21,42,.22); }
.seller-hero.big { flex-direction: row; align-items: center; }
.seller-hero h2 { font-size: 20px; font-weight: 900; line-height: 1.3; margin: 4px 0 6px; }
.seller-hero p { font-size: 12.5px; line-height: 1.6; color: rgba(255,255,255,.82); }
.seller-hero p b { color: #ffd54a; }
.seller-hero-eyebrow { font-size: 11px !important; font-weight: 700; color: #ffd54a !important; letter-spacing: .4px; }
.seller-hero-btn { align-self: flex-start; background: #ffd54a; color: #11152a; }
.seller-hero-badge { width: 84px; height: 84px; flex-shrink: 0; filter: drop-shadow(0 6px 12px rgba(0,0,0,.3)); }
.seller-strip { gap: 8px; }
.seller-pill { display: flex; align-items: center; gap: 8px; padding: 8px 12px 8px 8px; border-radius: 24px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow); }
.seller-pill img { width: 34px; height: 34px; border-radius: 50%; object-fit: cover; }
.seller-pill b { display: block; font-size: 12.5px; white-space: nowrap; }
.seller-pill small { display: block; font-size: 10.5px; color: var(--text-3); white-space: nowrap; }
.chip-btn.seller-chip { border-color: #f5c400; }
.chip-btn.seller-chip.on { background: #11152a; color: #ffd54a; border-color: #11152a; }
.chip-btn.on-line { border-color: var(--navy); color: var(--navy); font-weight: 700; }
.p-store { font-size: 10.5px; font-weight: 700; color: #0f766e; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.store-tag { font-size: 10px; font-weight: 700; color: #0f766e; background: #e6f6f4; padding: 1px 6px; border-radius: 6px; margin-left: 3px; white-space: nowrap; }
.seller-status { margin-bottom: 4px; }
.perks, .criteria { display: flex; flex-direction: column; gap: 12px; }
.perks li, .criteria li { list-style: none; display: grid; grid-template-columns: 40px 1fr; gap: 10px; align-items: start; }
.perks li > span { width: 40px; height: 40px; border-radius: 12px; background: #f1f5f4; display: grid; place-items: center; font-size: 20px; }
.perks li > span img { width: 28px; height: 28px; }
.perks b, .criteria b { font-size: 13.5px; }
.perks p, .criteria p { font-size: 12px; color: var(--text-2); line-height: 1.55; margin-top: 2px; }
.criteria a { color: var(--green-dark); font-weight: 700; }
.crit-group { font-size: 12px; font-weight: 900; color: var(--text-3); margin: 14px 0 8px; }
.crit-group:first-of-type { margin-top: 4px; }
.crit-mark { width: 28px; height: 28px; margin: 2px auto 0; border-radius: 50%; display: grid; place-items: center; font-size: 14px; font-weight: 900; background: #f1f3f7; color: var(--text-3); }
.crit-mark.ok { background: var(--green-soft); color: var(--green-dark); }
.crit-mark.no { background: #fff1f2; color: var(--red); }
.svc-caution-list { display: flex; flex-direction: column; gap: 8px; }
.svc-caution-list li { list-style: none; font-size: 12.5px; color: var(--text-2); line-height: 1.6; padding-left: 14px; position: relative; }
.svc-caution-list li::before { content: ""; position: absolute; left: 2px; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--red); }
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.seg input { position: absolute; opacity: 0; pointer-events: none; }
.seg span { display: grid; place-items: center; min-height: 44px; border: 1px solid var(--line); border-radius: 10px; font-weight: 700; font-size: 13.5px; cursor: pointer; }
.seg input:checked + span { background: var(--navy); color: #fff; border-color: var(--navy); }

/* ---------- 퀵 메뉴 톤 맞춤: 강조 카드도 아래 아이콘과 같은 파스텔 계열 ---------- */
.quick-item.quick-main {
  color: var(--text); border: 1px solid var(--qm-line); background: var(--qm-bg);
  box-shadow: 0 2px 8px rgba(20,30,60,.05); min-height: 100px; padding-top: 14px;
}
.quick-main::after { content: ""; position: absolute; left: 14px; right: 14px; top: 0; width: auto; height: 3px; border-radius: 0 0 3px 3px; background: var(--qm-accent); }
.quick-main .qi { width: 42px; height: 42px; border-radius: 13px; background: #fff; box-shadow: 0 2px 6px var(--qm-shadow); }
.quick-main b { color: var(--qm-text); font-size: 13.5px; }
.quick-main small { color: var(--text-3); font-size: 10px; }
.quick-main.shop    { --qm-bg: #effaf4; --qm-line: #cdeedb; --qm-accent: #12b76a; --qm-text: #0a7a46; --qm-shadow: rgba(18,183,106,.2); background: var(--qm-bg); }
.quick-main.auction { --qm-bg: #f5f1ff; --qm-line: #e0d6ff; --qm-accent: #7c5cff; --qm-text: #5b3fd6; --qm-shadow: rgba(124,92,255,.2); background: var(--qm-bg); }
.quick-main.seller  { --qm-bg: #fff9e8; --qm-line: #f6e3a8; --qm-accent: #e0a800; --qm-text: #8a6500; --qm-shadow: rgba(224,168,0,.22); background: var(--qm-bg); }
.quick-main.seller .qi { background: #fff; }
.qm-badge { top: 8px; left: auto; right: 8px; font-size: 8.5px; padding: 1px 5px; background: #ff5a6e; animation: none; }
/* 아래 서비스 아이콘도 모서리·그림자를 같게 */
.quick-item:not(.quick-main) { box-shadow: 0 2px 8px rgba(20,30,60,.04); }
@media (min-width: 768px) {
  .quick-item.quick-main { min-height: 92px; }
}

/* ---------- 위 강조 3개(색 있는 바탕) ↔ 아래 서비스 4개(흰 바탕) 구분 ---------- */
.quick-item:not(.quick-main) { background: #fff !important; border-color: #e6e9ef; }
.quick-item:not(.quick-main) .qi { width: 40px; height: 40px; }
.quick-main.shop    { --qm-bg: #dff6ea; --qm-line: #b5e8cc; }
.quick-main.auction { --qm-bg: #ebe4ff; --qm-line: #d3c6ff; }
.quick-main.seller  { --qm-bg: #fff1c7; --qm-line: #f2da8c; }

/* =====================================================
   퀵 메뉴 최종 디자인 (선명한 색 + 선 아이콘)
   ===================================================== */
.quick { gap: 8px; }
.quick-item { border-radius: 16px; transition: transform .15s ease, box-shadow .2s ease; }
.quick-item:active { transform: scale(.96); }
.quick-item .qi svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }

/* 위 강조 카드 3개: 선명한 단색 + 흰 글자, 왼쪽 정렬 */
.quick-item.quick-main {
  min-height: 104px; padding: 12px 12px 11px; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-end;
  gap: 1px; text-align: left; color: #fff; border: 0; overflow: hidden; isolation: isolate;
  background: var(--qm-bg); box-shadow: 0 10px 20px -12px var(--qm-shadow), 0 1px 2px rgba(0,0,0,.06);
}
.quick-main::after { display: none; }
.quick-main .qi { position: absolute; top: 12px; left: 12px; width: 34px; height: 34px; margin: 0; border-radius: 11px; background: rgba(255,255,255,.2); box-shadow: none; color: #fff; display: grid; place-items: center; }
.quick-main .qi svg { width: 20px; height: 20px; stroke-width: 2; }
.quick-main b { color: #fff; font-size: 14px; font-weight: 800; letter-spacing: -.3px; }
.quick-main small { color: rgba(255,255,255,.78); font-size: 10.5px; font-weight: 500; letter-spacing: -.2px; }
.qm-wm { position: absolute; right: -14px; bottom: -14px; width: 74px; height: 74px; z-index: -1; fill: none; stroke: rgba(255,255,255,.14); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; transform: rotate(-12deg); }
.quick-main.shop    { --qm-bg: linear-gradient(150deg, #19c37d 0%, #0ea463 100%); --qm-shadow: rgba(14,164,99,.75); }
.quick-main.auction { --qm-bg: linear-gradient(150deg, #8566ff 0%, #5b3df5 100%); --qm-shadow: rgba(91,61,245,.75); }
.quick-main.seller  { --qm-bg: linear-gradient(150deg, #232b4d 0%, #10142a 100%); --qm-shadow: rgba(16,20,42,.8); }
.quick-main.seller .qi { color: #ffc93c; background: rgba(255,201,60,.16); }
.quick-main.seller small { color: #ffd76a; }
.quick-main.seller .qm-wm { stroke: rgba(255,201,60,.16); }
.qm-badge { top: 12px; right: 10px; left: auto; padding: 2px 6px; border-radius: 6px; font-size: 9px; font-weight: 900; letter-spacing: .4px; background: #fff; color: #ff3d57; box-shadow: 0 2px 6px rgba(0,0,0,.12); animation: none; }

/* 아래 서비스 4개: 흰 카드 + 선명한 색 선 아이콘 */
.quick-item.svc-tile { min-height: 84px; gap: 7px; font-size: 12px; font-weight: 700; color: var(--text); background: #fff !important; border: 1px solid #edf0f4; box-shadow: 0 1px 2px rgba(20,30,60,.04); }
.svc-tile .qi { width: 40px; height: 40px; border-radius: 13px; display: grid; place-items: center; background: var(--t-bg) !important; color: var(--t-fg); }
.svc-tile[data-c="amber"]  { --t-bg: #fff3d6; --t-fg: #e08a00; }
.svc-tile[data-c="blue"]   { --t-bg: #e6eeff; --t-fg: #2f6bff; }
.svc-tile[data-c="violet"] { --t-bg: #efeaff; --t-fg: #6b46ff; }
.svc-tile[data-c="coral"]  { --t-bg: #ffebe3; --t-fg: #f0581f; }

@media (max-width: 374px) {
  .quick-main b { font-size: 13px; }
  .quick-main small { font-size: 9.5px; }
  .quick-item.svc-tile { font-size: 11px; }
}
@media (min-width: 768px) {
  .quick-item.quick-main { min-height: 96px; display: flex; padding: 16px 18px; justify-content: center; padding-left: 70px; }
  .quick-main .qi { top: 50%; left: 18px; transform: translateY(-50%); width: 40px; height: 40px; }
  .quick-main b { font-size: 16px; }
  .quick-main small { font-size: 12px; }
  .qm-wm { width: 96px; height: 96px; }
}
/* 다듬기: 글자 정렬 고정 + 서비스 아이콘 높이 맞춤 */
.quick-main b, .quick-main small { align-self: flex-start !important; text-align: left; grid-row: auto; }
.quick-item.svc-tile { justify-content: flex-start; padding: 12px 4px 10px; word-break: keep-all; line-height: 1.25; text-align: center; }
@media (max-width: 400px) { .quick-item.svc-tile { font-size: 11.5px; letter-spacing: -.3px; } }
@media (min-width: 768px) {
  .quick-item.quick-main { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
  .quick-item.svc-tile { justify-content: center; flex-direction: row; gap: 10px; min-height: 64px; }
}

/* ---------- 서비스 아이콘 4개: 그라데이션 카드 + 선명한 그라데이션 아이콘 ---------- */
.quick-item.svc-tile {
  min-height: 96px; padding: 14px 4px 12px; gap: 9px;
  font-size: 13.5px; font-weight: 800; letter-spacing: -.3px; color: #1a1f2e;
  background: linear-gradient(165deg, #ffffff 0%, #ffffff 35%, var(--t-tint) 100%) !important;
  border: 1px solid var(--t-line); box-shadow: 0 6px 14px -10px var(--t-glow);
}
.svc-tile .qi {
  width: 44px; height: 44px; border-radius: 14px; color: #fff;
  background: var(--t-grad) !important;
  box-shadow: 0 6px 12px -4px var(--t-glow), inset 0 1px 0 rgba(255,255,255,.35);
}
.svc-tile .qi svg { width: 22px; height: 22px; stroke-width: 2.1; }
.svc-tile[data-c="amber"]  { --t-grad: linear-gradient(145deg, #ffc23d 0%, #f08a00 100%); --t-tint: #fff1d2; --t-line: #fbe6b8; --t-glow: rgba(240,138,0,.55); }
.svc-tile[data-c="blue"]   { --t-grad: linear-gradient(145deg, #5b8cff 0%, #2456f0 100%); --t-tint: #e3ebff; --t-line: #d6e1ff; --t-glow: rgba(36,86,240,.5); }
.svc-tile[data-c="violet"] { --t-grad: linear-gradient(145deg, #a184ff 0%, #6a43f5 100%); --t-tint: #ece6ff; --t-line: #e0d7ff; --t-glow: rgba(106,67,245,.5); }
.svc-tile[data-c="coral"]  { --t-grad: linear-gradient(145deg, #ff8a5c 0%, #ef4f1f 100%); --t-tint: #ffe6dc; --t-line: #ffd8c9; --t-glow: rgba(239,79,31,.5); }
@media (max-width: 400px) { .quick-item.svc-tile { font-size: 13px; letter-spacing: -.4px; } }
@media (max-width: 374px) { .quick-item.svc-tile { font-size: 12.5px; } .svc-tile .qi { width: 40px; height: 40px; } }
@media (min-width: 768px) {
  .quick-item.svc-tile { min-height: 72px; font-size: 15px; background: linear-gradient(120deg, #ffffff 0%, #ffffff 40%, var(--t-tint) 100%) !important; }
}
/* 위 강조 카드가 아래 서비스 카드보다 항상 조금 더 높게 */
.quick-item.quick-main { min-height: 116px; }
.quick-main b { font-size: 15px; }
.quick-main small { font-size: 11px; }
@media (max-width: 374px) { .quick-main b { font-size: 14px; } .quick-main small { font-size: 10px; } }
@media (min-width: 768px) { .quick-item.quick-main { min-height: 100px; } .quick-main b { font-size: 17px; } .quick-main small { font-size: 12.5px; } }

/* ---------- 퀵 메뉴 글자 다듬기: 덜 굵게, 부드러운 색 ---------- */
.quick-item.svc-tile { font-weight: 600; color: #2b3242; letter-spacing: -.15px; font-size: 13px; }
.quick-main b { font-weight: 700; letter-spacing: -.2px; }
.quick-main small { font-weight: 400; letter-spacing: -.1px; color: rgba(255,255,255,.85); }
.quick-main.seller small { color: #ffd76a; }
@media (max-width: 400px) { .quick-item.svc-tile { font-size: 12.5px; letter-spacing: -.25px; } }
@media (max-width: 374px) { .quick-item.svc-tile { font-size: 12px; } }
@media (min-width: 768px) { .quick-item.svc-tile { font-size: 14.5px; } }

/* ---------- 이벤트 게시판 ---------- */
.ev-hero { position: relative; overflow: hidden; border-radius: 20px; padding: 20px 18px; color: #fff; display: grid; grid-template-columns: 1fr 76px; gap: 10px; align-items: center;
  background: radial-gradient(circle at 85% 15%, rgba(255,213,74,.35), transparent 45%), linear-gradient(140deg, #5b3df5 0%, #8566ff 55%, #ff7a59 130%); box-shadow: 0 12px 24px -14px rgba(91,61,245,.8); }
.ev-hero-eyebrow { font-size: 10.5px; font-weight: 700; letter-spacing: 1px; color: #ffe08a; }
.ev-hero h2 { font-size: 20px; font-weight: 700; line-height: 1.35; margin: 4px 0 6px; }
.ev-hero p:last-child { font-size: 12.5px; line-height: 1.6; color: rgba(255,255,255,.85); }
.ev-hero .ev-art { width: 76px; height: 76px; border-radius: 22px; background: rgba(255,255,255,.18); }
.ev-hero .ev-art svg { width: 40px; height: 40px; stroke: #fff; }
.ev-art { display: grid; place-items: center; width: 100%; height: 100%; background: linear-gradient(140deg, #efeaff, #ffe9e0); }
.ev-art svg { width: 44px; height: 44px; fill: none; stroke: #7c5cff; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.ev-list { display: flex; flex-direction: column; gap: 12px; }
.ev-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); transition: transform .15s; }
.ev-card:active { transform: scale(.98); }
.ev-card.ended { opacity: .62; }
.ev-thumb { position: relative; aspect-ratio: 2.4 / 1; background: #f1f3f7; }
.ev-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ev-pill { display: inline-flex; align-items: center; font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 10px; }
.ev-thumb .ev-pill { position: absolute; left: 10px; top: 10px; }
.ev-pill.on { background: #12b76a; color: #fff; }
.ev-pill.soon { background: #6b46ff; color: #fff; }
.ev-pill.end { background: #64748b; color: #fff; }
.ev-pin { position: absolute; right: 10px; top: 10px; font-size: 11px; font-weight: 600; padding: 3px 8px; border-radius: 10px; background: rgba(17,21,42,.75); color: #fff; }
.ev-body { padding: 12px 14px 14px; }
.ev-title { font-size: 15px; font-weight: 700; line-height: 1.4; color: #1a1f2e; }
.ev-sum { font-size: 12.5px; color: var(--text-2); line-height: 1.5; margin-top: 3px; }
.ev-meta { display: flex; justify-content: space-between; align-items: center; margin-top: 8px; font-size: 11.5px; color: var(--text-3); }
.ev-meta b { color: #f0384a; font-weight: 700; }
.ev-detail { display: flex; flex-direction: column; gap: 8px; }
.ev-detail-thumb { margin: -14px -14px 6px; aspect-ratio: 2 / 1; overflow: hidden; }
.ev-detail-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.ev-detail-top { display: flex; align-items: center; gap: 8px; }
.ev-dday { font-size: 12px; color: #f0384a; }
.ev-detail-title { font-size: 19px; font-weight: 700; line-height: 1.4; }
.ev-info { display: grid; grid-template-columns: 40px 1fr; gap: 4px 10px; font-size: 12.5px; padding: 10px 12px; background: #f8fafc; border-radius: 12px; }
.ev-info dt { color: var(--text-3); }
.ev-content { margin-top: 6px; }

/* =====================================================
   KIT STORY (블로그)
   ===================================================== */
.kit-hero { border-radius: 20px; padding: 22px 18px; color: #fff; position: relative; overflow: hidden;
  background: radial-gradient(circle at 90% 0%, rgba(18,183,106,.45), transparent 50%), linear-gradient(150deg, #10142a 0%, #1d2446 60%, #263064 100%); box-shadow: 0 12px 24px -14px rgba(16,20,42,.9); }
.kit-hero-eyebrow { font-size: 10.5px; font-weight: 600; letter-spacing: 1.4px; color: #7ee2b0; }
.kit-hero h2 { font-size: 26px; font-weight: 700; letter-spacing: 1px; margin: 4px 0 6px; }
.kit-hero p:last-child { font-size: 12.5px; line-height: 1.65; color: rgba(255,255,255,.82); }
.kit-list { display: flex; flex-direction: column; gap: 12px; }
.ks-card { display: grid; grid-template-columns: 112px 1fr; gap: 12px; background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.ks-card:active { transform: scale(.98); }
.ks-card.big { grid-template-columns: 1fr; }
.kit-cover { position: relative; background: radial-gradient(circle at 50% 40%, #3a3f55, #111421); min-height: 100px; display: grid; place-items: center; overflow: hidden; }
.kit-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kit-cover .jersey { width: 70%; max-width: 120px; }
.ks-card.big .kit-cover { aspect-ratio: 16 / 9; }
.kit-cat { display: inline-block; font-size: 10.5px; font-weight: 600; padding: 3px 8px; border-radius: 8px; color: #fff; background: #11152a; }
.kit-cover .kit-cat { position: absolute; left: 8px; top: 8px; z-index: 1; }
.kit-cat.cat-DESIGN { background: #2f6bff; } .kit-cat.cat-MARKING { background: #e08a00; }
.kit-cat.cat-AUTHENTIC { background: #e5484d; } .kit-cat.cat-HISTORY { background: #0f766e; }
.ks-card-body { padding: 12px 12px 12px 0; display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.ks-card.big .ks-card-body { padding: 4px 14px 14px; }
.kit-title { font-size: 14.5px; font-weight: 700; line-height: 1.4; color: #1a1f2e; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.ks-card.big .kit-title { font-size: 17px; }
.kit-sum { font-size: 12px; color: var(--text-2); line-height: 1.5; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.kit-meta { display: flex; flex-wrap: wrap; gap: 4px 8px; font-size: 11px; color: var(--text-3); margin-top: auto; }
.kit-meta span + span::before { content: "·"; margin-right: 8px; }
.kit-tag { color: #0a8f52; font-weight: 600; }
.kit-meta .kit-tag::before { content: none !important; }

/* 글 화면 */
.kit-article { background: #fff; border: 1px solid var(--line); border-radius: 20px; overflow: hidden; box-shadow: var(--shadow); }
.kit-article-cover { aspect-ratio: 4 / 3; position: relative; background: radial-gradient(circle at 50% 40%, #3a3f55, #111421); display: grid; place-items: center; }
.kit-article-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.kit-article-cover .jersey { width: 46%; }
.kit-article-head { padding: 18px 18px 6px; }
.kit-article-head h2 { font-size: 21px; font-weight: 700; line-height: 1.4; margin: 10px 0 8px; letter-spacing: -.3px; }
.kit-lead { font-size: 14px; line-height: 1.7; color: var(--text-2); margin-bottom: 10px; }
.kit-article-head .kit-meta { padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.kit-body { padding: 6px 18px 18px; font-size: 15px; line-height: 1.85; color: #2b3242; word-break: keep-all; }
.kit-body p { margin: 14px 0; }
.kit-body h3 { font-size: 17px; font-weight: 700; color: #1a1f2e; margin: 26px 0 6px; padding-left: 10px; border-left: 3px solid #12b76a; line-height: 1.4; }
.kit-body ul { margin: 12px 0; padding-left: 18px; list-style: disc; }
.kit-body li { list-style: disc; margin: 4px 0; }
.kit-body b { color: #1a1f2e; }
.kit-fig { margin: 18px -18px; }
.kit-fig img { width: 100%; display: block; }
.kit-fig figcaption, .kit-compare figcaption { font-size: 12px; color: var(--text-3); text-align: center; padding: 8px 18px 0; line-height: 1.5; }
.kit-compare { margin: 18px 0; }
.kit-compare > div { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.kc-item { position: relative; border-radius: 14px; overflow: hidden; aspect-ratio: 1; border: 2px solid; }
.kc-item img { width: 100%; height: 100%; object-fit: cover; display: block; }
.kc-item span { position: absolute; left: 8px; top: 8px; font-size: 12px; font-weight: 700; padding: 3px 9px; border-radius: 9px; color: #fff; }
.kc-item.ok { border-color: #12b76a; } .kc-item.ok span { background: #12b76a; }
.kc-item.ng { border-color: #e5484d; } .kc-item.ng span { background: #e5484d; }
.kit-tip { display: flex; gap: 10px; margin: 16px 0; padding: 12px 14px; border-radius: 12px; background: #effaf4; font-size: 13.5px; line-height: 1.65; }
.kit-tip b { flex-shrink: 0; font-size: 11px; font-weight: 700; color: #fff; background: #12b76a; border-radius: 6px; padding: 2px 7px; height: fit-content; margin-top: 2px; }
.kit-tags { padding: 0 18px 18px; }
.kit-shop { background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 16px; box-shadow: var(--shadow); }
.kit-shop-title { font-size: 16px; font-weight: 700; margin-bottom: 4px; }
.kit-shop-sub { font-size: 12.5px; font-weight: 600; color: var(--text-2); margin: 12px 0 8px; }
.kit-shop .h-scroll { margin: 0 -16px; padding: 2px 16px 6px; }
.kit-cta { display: flex; flex-direction: column; gap: 8px; }

/* =====================================================
   함께 나눔 (오늘의 나눔) - 따뜻한 코랄·핑크 톤
   ===================================================== */
.sh-hero { border-radius: 20px; padding: 20px 18px; color: #fff; position: relative; overflow: hidden;
  background: radial-gradient(circle at 92% 8%, rgba(255,226,140,.45), transparent 42%), linear-gradient(140deg, #ff6b81 0%, #ff8a65 60%, #ffb36b 120%); box-shadow: 0 12px 24px -14px rgba(255,107,129,.85); }
.sh-hero::after { content: "💝"; position: absolute; right: 14px; bottom: 6px; font-size: 54px; opacity: .25; transform: rotate(-12deg); }
.sh-hero-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .6px; color: #fff4d6; }
.sh-hero h2 { font-size: 20px; font-weight: 700; line-height: 1.35; margin: 4px 0 6px; }
.sh-hero p:last-child { font-size: 12.5px; line-height: 1.6; color: rgba(255,255,255,.9); max-width: 86%; }
.sh-hero b { color: #fff; }
.sh-cats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; }
.sh-cat-btn { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 2px 8px; border-radius: 14px; background: #fff; border: 1px solid var(--line); font-size: 12px; font-weight: 600; color: #2b3242; }
.sh-cat-btn span { width: 36px; height: 36px; border-radius: 12px; display: grid; place-items: center; font-size: 19px; background: #fff3f1; }
.sh-cat-btn.on { border-color: #ff6b81; background: #fff6f7; color: #e5485d; }
.sh-cat-btn.on span { background: linear-gradient(140deg, #ff6b81, #ff8a65); }
.sh-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.sh-card { background: #fff; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; }
.sh-card:active { transform: scale(.98); }
.sh-card.off { opacity: .6; }
.sh-thumb { position: relative; aspect-ratio: 1 / .82; background: linear-gradient(140deg, #fff3f1, #fff8ec); display: grid; place-items: center; }
.sh-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.sh-thumb-ico { font-size: 40px; }
.sh-state { display: inline-block; font-size: 10.5px; font-weight: 600; padding: 3px 8px; border-radius: 9px; }
.sh-thumb .sh-state { position: absolute; left: 8px; top: 8px; }
.sh-state.open { background: #ff6b81; color: #fff; }
.sh-state.reserved { background: #6b46ff; color: #fff; }
.sh-state.done { background: #64748b; color: #fff; }
.sh-body { padding: 10px 11px 11px; display: flex; flex-direction: column; gap: 2px; flex: 1; }
.sh-cat { font-size: 11px; font-weight: 600; color: #e5485d; }
.sh-title { font-size: 13.5px; font-weight: 600; color: #1a1f2e; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.sh-meta { font-size: 11px; color: var(--text-3); }
.sh-foot { display: flex; justify-content: space-between; align-items: center; gap: 4px; margin-top: auto; padding-top: 6px; font-size: 11px; color: var(--text-3); }
.sh-foot .user-tag { font-size: 11px; font-weight: 500; }
.sh-foot .user-tag .nick { max-width: 64px; }
.sh-count { white-space: nowrap; }
.sh-noimg { aspect-ratio: 16 / 9; border-radius: var(--radius); background: linear-gradient(140deg, #fff3f1, #fff8ec); display: grid; place-items: center; font-size: 64px; }
.sh-detail-top { display: flex; align-items: center; gap: 8px; margin-bottom: 4px; }
.sh-owner { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 6px 0 10px; }
.sh-info { display: grid; grid-template-columns: 70px 1fr; gap: 6px 10px; font-size: 13px; padding: 10px 12px; border-radius: 12px; background: #fff8f6; margin-bottom: 12px; }
.sh-info dt { color: var(--text-3); }
.sh-apps { display: flex; flex-direction: column; gap: 8px; margin-bottom: 10px; }
.sh-apps li { list-style: none; display: flex; gap: 10px; align-items: center; padding: 10px 12px; border-radius: 12px; border: 1px solid var(--line); }
.sh-pick { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; }
.sh-pick input { position: absolute; opacity: 0; pointer-events: none; }
.sh-pick span { display: flex; flex-direction: column; align-items: center; gap: 4px; padding: 10px 2px; border: 1px solid var(--line); border-radius: 12px; font-size: 20px; cursor: pointer; }
.sh-pick b { font-size: 12.5px; font-weight: 600; }
.sh-pick input:checked + span { border-color: #ff6b81; background: #fff6f7; color: #e5485d; }
.seg.three { grid-template-columns: repeat(3, 1fr); }
.share-body { display: flex; gap: 12px; align-items: center; color: inherit; }
.share-body .share-img { display: grid; place-items: center; aspect-ratio: 86 / 101; }
.share-body .sh-thumb-ico { font-size: 36px; }
.share-new { margin-top: 10px; }
.btn-red { display: inline-block; margin-top: 6px; }
/* 함께 나눔 다듬기 */
.sh-foot .badge-ico, .sh-foot .store-tag { display: none; }
.sh-foot .user-tag .nick { max-width: 76px; }
.btn.sh-cta, .sh-form-submit { background: linear-gradient(135deg, #ff6b81, #ff8a65); color: #fff; border: 0; box-shadow: 0 6px 14px -8px rgba(255,107,129,.8); }
#shForm .btn.primary { background: linear-gradient(135deg, #ff6b81, #ff8a65); }

/* =====================================================
   도네이션 (입점 업체 기부 나눔) - 네이비 + 골드
   ===================================================== */
.btn.dn-btn { background: linear-gradient(135deg, #1d2446, #11152a); color: #ffd76a; border: 0; box-shadow: 0 6px 14px -8px rgba(17,21,42,.8); }
.btn.dn-btn:disabled { opacity: .45; }
.dn-hero { border-radius: 20px; padding: 20px 18px 16px; color: #fff; position: relative; overflow: hidden;
  background: radial-gradient(circle at 92% 6%, rgba(255,201,60,.35), transparent 42%), linear-gradient(150deg, #10142a 0%, #1d2446 65%, #3a2f12 140%); box-shadow: 0 12px 24px -14px rgba(16,20,42,.9); }
.dn-hero-eyebrow { font-size: 11px; font-weight: 600; letter-spacing: .8px; color: #ffd76a; }
.dn-hero h2 { font-size: 20px; font-weight: 700; line-height: 1.35; margin: 4px 0 6px; }
.dn-hero > p:not(.dn-hero-eyebrow) { font-size: 12.5px; line-height: 1.6; color: rgba(255,255,255,.82); }
.dn-hero b { color: #ffd76a; }
.dn-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin-top: 14px; }
.dn-steps li { list-style: none; display: flex; flex-direction: column; align-items: center; gap: 4px; font-size: 11px; color: rgba(255,255,255,.85); }
.dn-steps b { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; font-size: 12px; background: rgba(255,215,106,.18); color: #ffd76a; border: 1px solid rgba(255,215,106,.4); }
.dn-list { display: flex; flex-direction: column; gap: 12px; }
.dn-card { display: grid; grid-template-columns: 116px 1fr; background: #fff; border: 1px solid #ece6d4; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); }
.dn-card:active { transform: scale(.98); }
.dn-card.off { opacity: .6; }
.dn-thumb { position: relative; min-height: 116px; background: linear-gradient(140deg, #fff8e6, #f6f1e3); display: grid; place-items: center; font-size: 36px; }
.dn-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.dn-state { display: inline-block; font-size: 10.5px; font-weight: 600; padding: 3px 8px; border-radius: 9px; }
.dn-thumb .dn-state { position: absolute; left: 6px; top: 6px; }
.dn-state.open { background: #11152a; color: #ffd76a; }
.dn-state.reserved { background: #6b46ff; color: #fff; }
.dn-state.done { background: #64748b; color: #fff; }
.dn-dday { position: absolute; right: 6px; bottom: 6px; font-size: 10.5px; font-weight: 700; padding: 2px 7px; border-radius: 8px; background: #fff; color: #e5484d; }
.dn-dday.inline { position: static; font-weight: 600; background: #fff1f2; }
.dn-body { padding: 11px 12px; display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.dn-store { font-size: 11.5px; font-weight: 600; color: #a77b00; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dn-title { font-size: 14px; font-weight: 600; color: #1a1f2e; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.dn-target { font-size: 11.5px; color: var(--text-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dn-foot { display: flex; gap: 10px; margin-top: auto; font-size: 11px; color: var(--text-3); }
.dn-invite { background: linear-gradient(135deg, #fffaec, #fff); border-color: #f2e2b0; }
.dn-invite p { font-size: 12.5px; line-height: 1.65; color: var(--text-2); margin-bottom: 8px; }
.dn-invite b { color: #1a1f2e; }
.dn-seller { display: flex; align-items: center; gap: 10px; padding: 10px 12px; margin: 8px 0 12px; border-radius: 14px; background: linear-gradient(135deg, #fffaec, #fff6dc); border: 1px solid #f2e2b0; }
.dn-seller img { width: 40px; height: 40px; border-radius: 50%; object-fit: cover; }
.dn-seller b { display: block; font-size: 14px; color: #1a1f2e; }
.dn-seller small { display: block; font-size: 11.5px; color: #a77b00; }
.dn-info { background: #fffaf0; }
.dn-apps { display: flex; flex-direction: column; gap: 10px; margin-bottom: 8px; }
.dn-apps li { list-style: none; padding: 12px; border-radius: 14px; border: 1px solid var(--line); display: flex; flex-direction: column; gap: 6px; }
.dn-apps li.picked { border-color: #ffd76a; background: #fffbef; }
.dn-story { font-size: 13px; line-height: 1.65; white-space: pre-wrap; color: #2b3242; }
.dn-contact { font-size: 12px; font-weight: 600; color: #0a8f52; }
.dn-apps .btn { align-self: flex-end; }

/* ===== 언어 전환 버튼 (알림 종 앞) ===== */
.icon-btn.lang-btn {
  width: auto; height: 28px; padding: 0 9px 0 7px; margin-right: 2px;
  display: inline-flex; align-items: center; gap: 4px;
  border: 0; border-radius: 14px;
  background: linear-gradient(135deg, #ff6b5e 0%, #f0384a 55%, #d61f45 100%);
  box-shadow: 0 3px 8px -3px rgba(214, 31, 69, .55);
  color: #fff; cursor: pointer; font: inherit;
}
.icon-btn.lang-btn svg { width: 15px; height: 15px; fill: none; stroke: currentColor; stroke-width: 1.7; }
.icon-btn.lang-btn .lang-code { font-size: 11px; font-weight: 600; letter-spacing: .3px; line-height: 1; }
.icon-btn.lang-btn:active { filter: brightness(.94); transform: scale(.97); }
