/* 짭스 — 휴대폰 먼저. 근로자 = 파랑, 기업 = 초록, 중개소 = 보라. 누르는 것은 크게(48px 이상) */
:root {
  --bg: #F4F6FA; --card: #fff; --ink: #111827; --ink2: #374151; --sub: #6B7280; --line: #E5E7EB; --soft: #EEF2FF;
  --blue: #1D5CFF; --blue2: #E8EEFF; --green: #0FA968; --green2: #E3F7EE; --purple: #7048E8; --purple2: #F0EBFF;
  --red: #E5484D; --red2: #FDECEC; --amber: #B7791F; --amber2: #FFF6E0; --r: 18px; --r2: 12px;
  --sh: 0 1px 2px rgba(16,24,40,.04), 0 4px 16px rgba(16,24,40,.06);
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", "Noto Sans KR", "Apple SD Gothic Neo", "Malgun Gothic", "Noto Sans Devanagari", "Noto Sans Myanmar", "Noto Sans Khmer", "Noto Sans Sinhala", "Noto Sans Bengali", "Segoe UI", Tahoma, "Noto Sans Lao", "Noto Sans Thai", sans-serif;
}
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16.5px/1.55 var(--font); word-break: keep-all; overflow-wrap: anywhere; }
body.noscroll { overflow: hidden; }
a { color: var(--blue); text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4 { margin: 0; line-height: 1.3; }
h2 { font-size: 1.45rem; } h3 { font-size: 1.12rem; } h4 { font-size: .95rem; margin: 16px 0 8px; color: var(--ink2); }
.hide { display: none !important; }
.center { text-align: center; justify-content: center; }
.hint { color: var(--sub); font-size: .9rem; margin: 6px 0; }
.pre { white-space: pre-wrap; margin: 4px 0; }
.boot { min-height: 70vh; display: grid; place-items: center; }
.spin { width: 34px; height: 34px; border: 3px solid var(--line); border-top-color: var(--blue); border-radius: 50%; animation: sp .8s linear infinite; margin: 30px auto; }
@keyframes sp { to { transform: rotate(360deg); } }
.shake { animation: shk .45s; } @keyframes shk { 20%,60% { transform: translateX(-6px); } 40%,80% { transform: translateX(6px); } }

/* 머리줄 */
.top { position: sticky; top: 0; z-index: 30; display: flex; align-items: center; gap: 8px; padding: 10px 14px; padding-top: max(10px, env(safe-area-inset-top)); background: rgba(244,246,250,.92); backdrop-filter: saturate(1.4) blur(10px); min-height: 60px; }
.top-t { flex: 1; font-size: 1.05rem; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home-link { display: flex; }
.iconbtn { width: 44px; height: 44px; border: 0; background: transparent; border-radius: 12px; font-size: 1.4rem; display: grid; place-items: center; flex: none; }
.iconbtn:active { background: var(--line); }
.langbtn { border: 0; background: var(--card); box-shadow: var(--sh); border-radius: 999px; padding: 8px 14px; font-size: .9rem; font-weight: 600; max-width: 46vw; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; flex: none; min-height: 40px; }
.logo { display: inline-flex; align-items: center; gap: 8px; }
.logo-ico { height: 30px; width: auto; aspect-ratio: 600 / 305; flex: none; display: block; }
.lw { display: flex; flex-direction: column; line-height: 1.05; }
.lw b { font-size: 1.15rem; letter-spacing: -.02em; } .lw small { font-size: .62rem; color: var(--sub); font-weight: 700; letter-spacing: .18em; }
.logo.big .logo-ico { height: 64px; } .logo.big .lw b { font-size: 2rem; } .logo.big .lw small { font-size: .8rem; }

/* 본문 */
.wrap { max-width: 560px; margin: 0 auto; padding: 8px 16px 40px; }
.wrap.wide { max-width: 1100px; }
.wrap.has-tabs { padding-bottom: calc(96px + env(safe-area-inset-bottom)); }
.card { background: var(--card); border-radius: var(--r); box-shadow: var(--sh); padding: 18px; margin: 12px 0; display: block; color: inherit; }
.card h3 { margin-bottom: 10px; }
.card.warn { background: var(--amber2); box-shadow: none; border: 1px solid #F3DFAE; }
.card.small { font-size: .92rem; padding: 14px; }
.card.hello { background: linear-gradient(135deg, var(--blue2), #fff); }
.card.hello.green { background: linear-gradient(135deg, var(--green2), #fff); } .card.hello.purple { background: linear-gradient(135deg, var(--purple2), #fff); }
.card.hello p { margin: 4px 0 0; color: var(--ink2); }
.sec-t { margin: 22px 4px 4px; font-size: 1rem; color: var(--ink2); }
.empty { text-align: center; padding: 48px 16px; color: var(--sub); }
.em-ico { font-size: 3rem; margin-bottom: 8px; }
.empty .btn { margin-top: 14px; }
ul.bul { padding-left: 20px; margin: 6px 0; } ul.bul li { margin: 6px 0; }
.card ul { padding-left: 20px; margin: 6px 0; } .card li { margin: 4px 0; }

/* 단추 */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; border: 0; border-radius: 14px; background: var(--blue); color: #fff; font-weight: 700; padding: 12px 18px; min-height: 50px; font-size: 1rem; text-align: center; transition: transform .08s, filter .15s; }
.btn:active { transform: scale(.98); } .btn:disabled { opacity: .45; pointer-events: none; }
.btn.big { width: 100%; min-height: 58px; font-size: 1.08rem; margin-top: 14px; }
.btn.sm { min-height: 40px; padding: 8px 14px; font-size: .9rem; border-radius: 11px; }
.btn.green { background: var(--green); } .btn.purple { background: var(--purple); } .btn.blue { background: var(--blue); } .btn.danger { background: var(--red); }
.btn.ghost { background: var(--card); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--line); }
.btn.ghost.danger { color: var(--red); background: var(--card); }
.btn.line { background: transparent; color: var(--blue); box-shadow: inset 0 0 0 1.5px currentColor; }
.link { background: none; border: 0; color: var(--blue); padding: 10px 0; display: inline-block; font-weight: 600; }
.link.danger { color: var(--red); } .link.center { display: block; text-align: center; width: 100%; }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 10px; }
.row2 .btn { width: 100%; }

/* 입력 */
.lab { display: block; font-weight: 700; font-size: .95rem; margin: 18px 0 8px; color: var(--ink2); }
.lab em { color: var(--red); font-style: normal; } .opt { color: var(--sub); font-weight: 500; font-size: .8rem; }
.inp { width: 100%; border: 1.5px solid var(--line); background: #fff; border-radius: 14px; padding: 13px 14px; font: inherit; font-size: 1.02rem; color: var(--ink); min-height: 52px; outline: none; transition: border-color .15s, box-shadow .15s; }
.inp:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(29,92,255,.12); }
.inp.big { font-size: 1.25rem; min-height: 60px; letter-spacing: .02em; } .inp.sm { min-height: 40px; padding: 6px 10px; font-size: .9rem; width: auto; }
.inp.center { text-align: center; letter-spacing: .3em; }
textarea.inp { resize: vertical; min-height: 90px; line-height: 1.5; }
select.inp { appearance: none; background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236B7280' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat right 14px center; padding-right: 36px; }
.inp:disabled { background: var(--bg); color: var(--sub); }
.pickbtn { display: flex; align-items: center; justify-content: space-between; gap: 8px; text-align: left; }
.pickbtn .ph { color: #9CA3AF; } .caret { color: var(--sub); }
.check { display: flex; align-items: center; gap: 10px; min-height: 48px; font-weight: 600; }
.check input, .agree input { width: 22px; height: 22px; accent-color: var(--blue); flex: none; }
.agree { display: flex; gap: 10px; align-items: flex-start; margin: 20px 0 4px; font-size: .92rem; color: var(--ink2); }

/* 전화번호 */
.seg { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; background: var(--bg); padding: 4px; border-radius: 14px; margin-bottom: 10px; }
.seg.three { grid-template-columns: repeat(3, 1fr); }
.seg button { border: 0; background: transparent; border-radius: 11px; padding: 10px 6px; font-weight: 600; color: var(--sub); min-height: 44px; font-size: .92rem; }
.seg button.on { background: #fff; color: var(--ink); box-shadow: var(--sh); }
.ph-row { display: flex; gap: 8px; } .ph-row .cc { width: 42%; flex: none; }

/* PIN */
.pin { position: relative; display: flex; gap: 8px; justify-content: center; padding: 6px 0; cursor: text; }
.pin i { width: 46px; height: 56px; border-radius: 14px; border: 1.5px solid var(--line); background: #fff; display: grid; place-items: center; transition: .15s; }
.pin i.on::after { content: ''; width: 14px; height: 14px; border-radius: 50%; background: var(--ink); }
.pin i.cur { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(29,92,255,.12); }
.pin input { position: absolute; inset: 0; opacity: 0; width: 100%; height: 100%; font-size: 16px; }
.left { text-align: center; color: var(--red); min-height: 1.4em; }

/* 고르기 단추 */
.choice { display: grid; gap: 8px; grid-template-columns: repeat(auto-fit, minmax(120px, 1fr)); }
.choice.two { grid-template-columns: 1fr 1fr; } .choice.three { grid-template-columns: repeat(3, 1fr); } .choice.four { grid-template-columns: 1fr 1fr; }
.choice.six, .choice.seven { grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); } .choice.col { grid-template-columns: 1fr; }
.ch { border: 1.5px solid var(--line); background: #fff; border-radius: 14px; padding: 12px 8px; min-height: 54px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; text-align: center; }
.ch .ico { font-size: 1.6rem; line-height: 1; } .ch b { font-size: .95rem; } .ch small { color: var(--sub); font-size: .78rem; }
.ch.on { border-color: var(--blue); background: var(--blue2); color: var(--blue); box-shadow: inset 0 0 0 1px var(--blue); }
.green .ch.on, .sheet .green .ch.on { border-color: var(--green); background: var(--green2); color: var(--green); box-shadow: inset 0 0 0 1px var(--green); }
.purple .ch.on { border-color: var(--purple); background: var(--purple2); color: var(--purple); box-shadow: inset 0 0 0 1px var(--purple); }

/* 꼬리표 */
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 14px; font-size: .92rem; min-height: 42px; display: inline-flex; align-items: center; gap: 4px; color: var(--ink2); }
.chip.on { background: var(--blue2); border-color: var(--blue); color: var(--blue); font-weight: 700; }
.chips.static .chip { min-height: 34px; padding: 5px 12px; }
.green .chip.on { background: var(--green2); border-color: var(--green); color: var(--green); }
.purple .chip.on { background: var(--purple2); border-color: var(--purple); color: var(--purple); }

/* 나라 */
.cgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; max-height: 330px; overflow: auto; padding: 2px; }
.cbtn { display: flex; align-items: center; gap: 10px; border: 1.5px solid var(--line); background: #fff; border-radius: 14px; padding: 10px 12px; min-height: 54px; text-align: left; font-size: .95rem; }
.cbtn.on { border-color: var(--blue); background: var(--blue2); color: var(--blue); font-weight: 700; }
.cbtn.wide { grid-column: 1 / -1; justify-content: center; }
.cgrid + .inp { margin-top: 8px; }
.flag { font-size: 1.5em; line-height: 1; font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; }
.flag.txt { font-size: .7rem; font-weight: 800; background: var(--ink); color: #fff; border-radius: 4px; padding: 2px 4px; letter-spacing: .02em; }
.birth { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 8px; }

/* 직종 고르기 판 */
.catgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 10px; }
.cat { position: relative; border: 1.5px solid var(--line); background: #fff; border-radius: 16px; padding: 14px 10px; display: flex; flex-direction: column; align-items: center; gap: 6px; min-height: 96px; }
.cat .ico { font-size: 2rem; } .cat b { font-size: .92rem; text-align: center; }
.cat .cnt { position: absolute; top: 6px; right: 8px; background: var(--blue); color: #fff; border-radius: 999px; font-style: normal; font-size: .75rem; min-width: 22px; height: 22px; display: grid; place-items: center; font-weight: 700; }
.back { border: 0; background: none; font-size: 1.05rem; padding: 6px 0 14px; display: flex; gap: 8px; align-items: center; }
.jobs-foot { position: sticky; bottom: 0; background: #fff; border-top: 1px solid var(--line); margin: 16px -18px -18px; padding: 12px 18px calc(14px + env(safe-area-inset-bottom)); }
.jf-sel .chips { margin: 6px 0 4px; } .jf-sel .chip { min-height: 34px; padding: 4px 10px; font-size: .85rem; }
.jobsel .chips { margin-bottom: 10px; } .jobsel .btn { width: 100%; }

/* 비자 목록 */
.vl { margin-top: 10px; }
.li { width: 100%; display: flex; align-items: center; gap: 12px; border: 0; border-bottom: 1px solid var(--line); background: none; padding: 14px 4px; text-align: left; min-height: 54px; }
.li b { width: 64px; flex: none; color: var(--blue); } .li span { flex: 1; } .li .ok { color: var(--blue); font-style: normal; font-weight: 800; }
.li-h { font-size: .8rem; color: var(--sub); font-weight: 700; padding: 14px 4px 4px; }

/* 사진 */
.photo-f { display: flex; gap: 16px; align-items: center; }
.ph-img { width: 96px; height: 96px; border-radius: 24px; background: var(--bg); display: grid; place-items: center; font-size: 2rem; overflow: hidden; flex: none; }
.ph-img img { width: 100%; height: 100%; object-fit: cover; }
.payrow .won, .won { display: flex; align-items: center; gap: 8px; margin-top: 8px; } .won span { font-weight: 700; color: var(--sub); }

/* 아래에서 올라오는 판 */
.sheet-bg { position: fixed; inset: 0; z-index: 100; background: rgba(17,24,39,.45); display: flex; align-items: flex-end; justify-content: center; opacity: 0; transition: opacity .2s; }
.sheet-bg.on { opacity: 1; }
.sheet { background: #fff; width: 100%; max-width: 560px; max-height: 92vh; border-radius: 24px 24px 0 0; display: flex; flex-direction: column; transform: translateY(30px); transition: transform .22s; }
.sheet.wide { max-width: 760px; }
.sheet-bg.on .sheet { transform: none; }
.sh-head { display: flex; align-items: center; gap: 10px; padding: 18px 18px 6px; }
.sh-head h3 { flex: 1; font-size: 1.15rem; }
.x { border: 0; background: var(--bg); width: 40px; height: 40px; border-radius: 50%; font-size: 1rem; flex: none; }
.sh-body { padding: 10px 18px calc(18px + env(safe-area-inset-bottom)); overflow: auto; }
.row2.sticky { position: sticky; bottom: calc(-18px - env(safe-area-inset-bottom)); background: #fff; padding: 12px 0 4px; }
.ask-msg { font-size: 1.05rem; margin: 6px 0 8px; white-space: pre-wrap; }
@media (min-width: 700px) { .sheet-bg { align-items: center; } .sheet { border-radius: 24px; } }

/* 알림 띠 */
.toast { position: fixed; left: 50%; bottom: calc(100px + env(safe-area-inset-bottom)); transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 13px 20px; border-radius: 14px; z-index: 200; opacity: 0; transition: .25s; max-width: calc(100vw - 32px); font-weight: 600; text-align: center; box-shadow: 0 10px 30px rgba(0,0,0,.2); }
body:has(.composer) .toast { bottom: calc(230px + env(safe-area-inset-bottom)); }
.toast.on { opacity: 1; transform: translate(-50%, 0); } .toast.bad { background: var(--red); }
.notice { position: sticky; top: 0; z-index: 40; display: flex; gap: 10px; align-items: center; padding: 10px 14px; background: var(--ink); color: #fff; font-size: .9rem; }
.notice span { flex: 1; } .notice button { background: none; border: 0; color: #fff; font-size: 1rem; }
.instbar { position: fixed; left: 12px; right: 12px; bottom: calc(84px + env(safe-area-inset-bottom)); z-index: 45; background: #fff; border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,.15); display: flex; align-items: center; gap: 8px; padding: 10px 10px 10px 14px; font-size: .9rem; font-weight: 600; max-width: 536px; margin: 0 auto; }
.instbar span { flex: 1; } .instbar .x { width: 34px; height: 34px; }
body:not(:has(.tabs)) .instbar { bottom: calc(14px + env(safe-area-inset-bottom)); }

/* 아래 메뉴 */
.tabs { position: fixed; bottom: 0; left: 0; right: 0; z-index: 30; background: rgba(255,255,255,.97); backdrop-filter: blur(10px); border-top: 1px solid var(--line); display: grid; grid-template-columns: repeat(4, 1fr); padding: 6px 4px calc(6px + env(safe-area-inset-bottom)); }
.tabs a { display: flex; flex-direction: column; align-items: center; gap: 2px; color: var(--sub); font-size: .74rem; font-weight: 600; padding: 4px 2px; min-height: 56px; justify-content: center; text-align: center; line-height: 1.15; }
.tabs .ti { position: relative; font-size: 1.45rem; line-height: 1; filter: grayscale(1); opacity: .65; }
.tabs a.on { color: var(--blue); } .tabs a.on .ti { filter: none; opacity: 1; }
.tabs.green a.on { color: var(--green); } .tabs.purple a.on { color: var(--purple); }
.badge { position: absolute; top: -6px; right: -12px; background: var(--red); color: #fff; font-style: normal; font-size: .7rem; font-weight: 800; min-width: 20px; height: 20px; border-radius: 999px; display: grid; place-items: center; padding: 0 5px; filter: none; }
@media (min-width: 700px) { .tabs { left: 50%; transform: translateX(-50%); width: 560px; bottom: 14px; border-radius: 22px; border: 1px solid var(--line); box-shadow: 0 10px 30px rgba(0,0,0,.08); } }

/* 첫 화면 */
.land .hero { text-align: center; padding: 26px 6px 8px; }
.land .hero h2 { margin: 18px 0 8px; font-size: 1.6rem; letter-spacing: -.02em; }
.lead { color: var(--sub); margin: 0; }
.roles { display: grid; gap: 12px; margin: 22px 0; }
.role { display: flex; align-items: center; gap: 14px; border-radius: 22px; padding: 20px 18px; background: var(--blue); color: #fff; box-shadow: 0 10px 24px rgba(29,92,255,.25); min-height: 100px; }
.role.white { background: #fff; color: var(--ink); box-shadow: var(--sh); }
.r-ico { width: 60px; height: 60px; border-radius: 18px; background: rgba(255,255,255,.18); display: grid; place-items: center; font-size: 1.9rem; flex: none; }
.role.green .r-ico { background: var(--green2); } .role.purple .r-ico { background: var(--purple2); }
.r-t { flex: 1; display: flex; flex-direction: column; } .r-t b { font-size: 1.3rem; } .r-t small { opacity: .85; font-size: .92rem; }
.role.white small { color: var(--sub); opacity: 1; }
.r-go { font-size: 2rem; opacity: .7; }
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.stats div { background: #fff; border-radius: 16px; padding: 14px 6px; text-align: center; box-shadow: var(--sh); }
.stats b { display: block; font-size: 1.4rem; color: var(--blue); } .stats small { color: var(--sub); font-size: .8rem; }
.prev { display: grid; gap: 8px; margin-top: 8px; }
.pv { display: flex; gap: 12px; align-items: center; background: #fff; border-radius: 16px; padding: 12px 14px; box-shadow: var(--sh); }
.pv > div { flex: 1; min-width: 0; } .pv small { color: var(--sub); } .pv-j { font-size: .88rem; color: var(--ink2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.steps li { display: flex; gap: 12px; align-items: flex-start; }
.steps li > span { width: 32px; height: 32px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 800; flex: none; }
.steps b { display: block; } .steps small { color: var(--sub); }
.co-cta p { color: var(--ink2); }
.foot { text-align: center; color: var(--sub); font-size: .85rem; padding: 26px 0 10px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 6px 16px; justify-content: center; margin-bottom: 10px; } .foot a { color: var(--ink2); }
.codebtn { background: none; color: #fff; border: 0; border-radius: 0; font-family: inherit; text-transform: uppercase; cursor: pointer; font-size: .62rem; padding: 3px 7px; margin-left: 6px; letter-spacing: .08em; vertical-align: middle; }
.biz:empty { display: none; }

/* 언어 고르기 */
.langs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.lang { display: flex; align-items: center; gap: 12px; border: 1.5px solid var(--line); background: #fff; border-radius: 16px; padding: 12px 14px; min-height: 62px; font-size: 1.05rem; text-align: left; }
.lang.on { border-color: var(--blue); background: var(--blue2); }
@media (min-width: 640px) { .langs { grid-template-columns: repeat(3, 1fr); } }

/* 로그인·가입 */
.auth-h { text-align: center; padding: 20px 0 6px; }
.a-ico { width: 76px; height: 76px; border-radius: 24px; background: #fff; box-shadow: var(--sh); display: grid; place-items: center; font-size: 2.4rem; margin: 0 auto 14px; }
.auth-h p { color: var(--sub); margin: 6px 0 0; }
.auth-other { display: grid; gap: 2px; text-align: center; margin-top: 10px; }
.auth.green .btn:not(.ghost):not(.line) { background: var(--green); } .auth.purple .btn:not(.ghost):not(.line) { background: var(--purple); }
.auth.green .inp:focus { border-color: var(--green); } .auth.purple .inp:focus { border-color: var(--purple); }
.back-in { margin-left: -8px; }
.prog { display: flex; gap: 6px; margin: 6px 0 10px; } .prog i { flex: 1; height: 6px; border-radius: 3px; background: var(--line); }
.prog i.on { background: var(--blue); } .auth.green .prog i.on { background: var(--green); } .auth.purple .prog i.on { background: var(--purple); }
.stepn { color: var(--blue); font-weight: 800; margin: 0; font-size: .9rem; } .auth.green .stepn { color: var(--green); } .auth.purple .stepn { color: var(--purple); }
.su-h { margin-top: 4px; font-size: 1.55rem; } .su-p { color: var(--sub); margin: 6px 0 0; }

/* 근로자 카드 */
.grid { display: grid; gap: 12px; margin-top: 10px; }
@media (min-width: 760px) { .wrap.wide .grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1060px) { .wrap.wide .grid { grid-template-columns: repeat(3, 1fr); } }
.wcard { position: relative; background: #fff; border-radius: var(--r); box-shadow: var(--sh); }
.wc-main { display: flex; gap: 14px; padding: 16px; color: inherit; }
.wc-txt { flex: 1; min-width: 0; padding-right: 30px; }
.wc-name b { font-size: 1.08rem; } .sub { color: var(--sub); font-size: .88rem; }
.wc-line { font-size: .9rem; margin: 3px 0; display: flex; flex-wrap: wrap; align-items: center; gap: 4px; } .wc-line .flag { font-size: 1.1em; }
.visa { color: var(--ink); }
.vtag { font-size: .72rem; font-weight: 700; border-radius: 6px; padding: 2px 7px; display: inline-block; }
.vtag.free { background: var(--green2); color: #08784A; } .vtag.permit { background: var(--amber2); color: var(--amber); } .vtag.no { background: var(--red2); color: #B42318; }
.wc-jobs { display: flex; flex-wrap: wrap; gap: 5px; margin: 7px 0; } .wc-jobs span { background: var(--bg); border-radius: 8px; padding: 3px 8px; font-size: .82rem; font-weight: 600; color: var(--ink2); }
.wc-meta { display: flex; flex-wrap: wrap; gap: 4px 12px; font-size: .82rem; color: var(--sub); } .wc-meta .now { color: var(--green); font-weight: 700; }
.wc-foot { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; font-size: .78rem; align-items: center; }
.agtag { background: var(--purple2); color: var(--purple); border-radius: 6px; padding: 2px 7px; font-weight: 700; } .selftag { background: var(--blue2); color: var(--blue); border-radius: 6px; padding: 2px 7px; font-weight: 700; }
.act { color: var(--sub); } .act.today { color: var(--green); font-weight: 700; } .abroad { color: var(--amber); font-weight: 700; }
.fav { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border: 0; background: none; font-size: 1.5rem; color: #C0C6D0; }
.fav.on { color: var(--red); }
.btn.ghost.fav { position: static; width: 64px; font-size: 1.6rem; flex: none; }
.gone { position: absolute; inset: 0; background: rgba(255,255,255,.7); display: grid; place-items: center; font-weight: 800; color: var(--sub); border-radius: var(--r); }
.wc-ag { display: flex; align-items: center; gap: 10px; padding: 0 16px 14px; }
.av { position: relative; width: 64px; height: 64px; border-radius: 20px; background: linear-gradient(135deg, #DDE6FF, #EEF2FF); display: grid; place-items: center; flex: none; font-size: 1.5rem; font-weight: 800; color: var(--blue); }
.av img { width: 100%; height: 100%; object-fit: cover; border-radius: inherit; }
.av-flag { position: absolute; right: -6px; bottom: -6px; font-style: normal; background: #fff; border-radius: 50%; width: 28px; height: 28px; display: grid; place-items: center; box-shadow: 0 1px 4px rgba(0,0,0,.15); }
.av-flag .flag { font-size: 1rem; } .av-flag .flag.txt { font-size: .55rem; padding: 1px 2px; }
.av.lg { width: 88px; height: 88px; border-radius: 26px; font-size: 2rem; }
.kdots { display: inline-flex; gap: 3px; vertical-align: middle; } .kdots i { width: 8px; height: 8px; border-radius: 50%; background: var(--line); } .kdots i.on { background: var(--blue); }

/* 찾기 조건 */
.filters { display: flex; gap: 8px; overflow-x: auto; padding: 4px 2px 8px; scrollbar-width: none; margin: 0 -16px; padding-left: 16px; padding-right: 16px; }
.filters::-webkit-scrollbar { display: none; }
.fchip { flex: none; border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 8px 14px; min-height: 42px; font-size: .9rem; font-weight: 600; white-space: nowrap; max-width: 220px; overflow: hidden; text-overflow: ellipsis; }
.fchip.on { border-color: var(--green); background: var(--green2); color: #08784A; } .fchip.clear { color: var(--red); }
.listhead { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
.freeline { background: var(--green2); color: #08784A; border-radius: 12px; padding: 10px 14px; font-weight: 700; font-size: .9rem; margin: 6px 0 10px; display: flex; align-items: center; justify-content: space-between; gap: 8px; flex-wrap: wrap; }
.freeline .fl-r { display: flex; gap: 6px; margin-left: auto; } /* 찜·메시지 = 무료 이용 줄 오른쪽(11-26 소유자) */
.freeline .fl-r a { background: #fff; border: 1px solid #08784A; color: #08784A; padding: 5px 12px; font-weight: 700; white-space: nowrap; display: inline-flex; align-items: center; gap: 4px; }
.freeline .fl-r .badge { position: static; }
.payline { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.vchips { display: flex; flex-wrap: wrap; gap: 6px; } .vchip { font-size: .82rem; border-radius: 8px; padding: 4px 9px; font-weight: 600; }
.vchip.free { background: var(--green2); color: #08784A; } .vchip.permit { background: var(--amber2); color: var(--amber); } .vchip.no { background: var(--red2); color: #B42318; }
.vh { margin-top: 14px; } .vh.free { color: #08784A; } .vh.permit { color: var(--amber); } .vh.no { color: #B42318; }

/* 프로필 */
.prof-h { display: flex; gap: 16px; align-items: center; margin-bottom: 12px; }
.prof-h h2 { font-size: 1.35rem; }
.prof-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 6px; }
.prof-tags .vtag { font-size: .85rem; padding: 4px 10px; }
.tag { font-size: .85rem; background: var(--bg); border-radius: 6px; padding: 4px 10px; font-weight: 600; } .tag.now { background: var(--green2); color: #08784A; }
.pr { display: flex; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); align-items: center; flex-wrap: wrap; }
.pr span { color: var(--sub); } .pr b { text-align: right; }
.agbox { margin-top: 14px; background: var(--purple2); border-radius: 14px; padding: 12px 14px; color: var(--ink2); }
.agbox small { display: block; color: var(--sub); margin-top: 4px; font-size: 13px; } .ok { color: var(--green); font-weight: 700; }
.savebar { position: sticky; bottom: calc(78px + env(safe-area-inset-bottom)); z-index: 20; display: flex; gap: 10px; padding: 10px 0; background: linear-gradient(transparent, var(--bg) 30%); }
.savebar .btn.big { margin-top: 0; flex: 1; }
@media (min-width: 700px) { .savebar { bottom: 96px; } }

/* 근로자 홈 */
.status { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.status.on { background: var(--green2); } .status.off { background: #F3F4F6; }
.st-t { display: flex; gap: 12px; align-items: center; } .st-t small { display: block; color: var(--sub); }
.dot { width: 12px; height: 12px; border-radius: 50%; background: var(--sub); flex: none; } .status.on .dot { background: var(--green); box-shadow: 0 0 0 5px rgba(15,169,104,.2); }
.switch { width: 62px; height: 36px; border-radius: 999px; border: 0; background: #CBD5E1; position: relative; flex: none; transition: .2s; }
.switch i { position: absolute; top: 4px; left: 4px; width: 28px; height: 28px; border-radius: 50%; background: #fff; transition: .2s; box-shadow: 0 1px 3px rgba(0,0,0,.2); }
.switch.on { background: var(--green); } .switch.on i { left: 30px; }
.mini3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 12px 0; }
.mini { background: #fff; border-radius: 16px; box-shadow: var(--sh); padding: 14px 6px; text-align: center; color: inherit; }
.mini b { display: block; font-size: 1.35rem; } .mini small { color: var(--sub); font-size: .78rem; }
.bar { height: 10px; border-radius: 5px; background: var(--line); overflow: hidden; } .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--blue), #6E9BFF); }
.more p { margin: 10px 0; } .more .chip { min-height: 36px; padding: 5px 12px; font-size: .85rem; color: var(--blue); }
.bell { background: var(--blue2); } .bell p { margin: 4px 0 10px; color: var(--ink2); font-size: .92rem; } .bell.off { background: #F3F4F6; }
.fsec h3 { font-size: 1.05rem; }

/* 메시지 */
.threads { display: grid; gap: 2px; background: #fff; border-radius: var(--r); box-shadow: var(--sh); overflow: hidden; margin-top: 10px; }
.th { display: flex; gap: 12px; align-items: center; padding: 14px 16px; color: inherit; border-bottom: 1px solid var(--line); }
.th:last-child { border-bottom: 0; } .th.new { background: #F7F9FF; }
.th .av { width: 52px; height: 52px; border-radius: 16px; font-size: 1.3rem; }
.th-t { flex: 1; min-width: 0; } .th-t b { display: block; } .th-t small { color: var(--sub); font-size: .8rem; }
.th-t p { margin: 2px 0 0; color: var(--sub); font-size: .9rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.th.new .th-t p { color: var(--ink); font-weight: 600; }
.th-r { display: flex; flex-direction: column; align-items: flex-end; gap: 4px; } .th-r small { color: var(--sub); font-size: .75rem; }
.th-r .badge { position: static; }
.wrap.chat { padding-bottom: 240px; }
.chat-h { background: #fff; border-radius: 16px; padding: 12px 14px; box-shadow: var(--sh); display: flex; justify-content: space-between; align-items: center; gap: 10px; }
.chat-h b { display: block; } .chat-h small { color: var(--sub); }
.chat-safe { font-size: .8rem; color: var(--amber); background: var(--amber2); border-radius: 10px; padding: 8px 12px; margin: 10px 0; }
.msgs { display: flex; flex-direction: column; gap: 8px; padding: 8px 0; }
.bub { max-width: 82%; padding: 10px 14px; border-radius: 18px; background: #fff; box-shadow: var(--sh); align-self: flex-start; border-bottom-left-radius: 6px; }
.bub.me { align-self: flex-end; background: var(--blue); color: #fff; border-bottom-left-radius: 18px; border-bottom-right-radius: 6px; }
.bub p { margin: 0; } .bub time { display: block; font-size: .7rem; opacity: .6; margin-top: 4px; text-align: right; }
.bub .tr { font-size: .8rem; display: inline-block; margin-top: 6px; font-weight: 700; }
.bub.me .btn { background: #fff; color: var(--blue); } .bub .btn { margin-top: 8px; }
.bub.k-offer { background: #fff; color: var(--ink); padding: 0; overflow: hidden; } .bub.me.k-offer { border: 2px solid var(--blue); }
.bub.k-offer time { padding: 0 14px 8px; color: var(--sub); }
.offer .of-h { background: var(--green2); color: #08784A; font-weight: 800; padding: 10px 14px; }
.offer .of-r { display: flex; justify-content: space-between; gap: 14px; padding: 8px 14px; border-bottom: 1px solid var(--line); font-size: .92rem; } .of-r span { color: var(--sub); }
.of-note { padding: 10px 14px; white-space: pre-wrap; font-size: .92rem; }
.composer { position: fixed; left: 0; right: 0; bottom: calc(68px + env(safe-area-inset-bottom)); z-index: 25; background: rgba(244,246,250,.97); backdrop-filter: blur(8px); border-top: 1px solid var(--line); padding: 8px 10px; max-width: 560px; margin: 0 auto; }
@media (min-width: 700px) { .composer { bottom: 96px; border-radius: 18px; border: 1px solid var(--line); } }
.qchips { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 8px; scrollbar-width: none; } .qchips::-webkit-scrollbar { display: none; }
.qc { flex: none; border: 1.5px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 12px; font-size: .86rem; white-space: nowrap; min-height: 38px; }
.cbar { display: flex; gap: 8px; align-items: flex-end; }
.cbar textarea { flex: 1; border: 1.5px solid var(--line); border-radius: 18px; padding: 11px 14px; font: inherit; resize: none; min-height: 46px; max-height: 140px; outline: none; background: #fff; }
.cbar .plus { background: #fff; box-shadow: var(--sh); border-radius: 50%; }
.tmpls { display: grid; gap: 8px; } .tmpl { text-align: left; border: 1.5px solid var(--line); background: #fff; border-radius: 14px; padding: 14px; font-size: 1rem; min-height: 52px; }
.tmpl:active { border-color: var(--green); background: var(--green2); }
.menu { display: grid; gap: 0; padding: 4px 0; }
.card.menu { padding: 4px 16px; }
.menu > button, .menu > a { display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 0; border-bottom: 1px solid var(--line); background: none; padding: 16px 2px; text-align: left; font-size: 1rem; color: var(--ink); min-height: 56px; width: 100%; }
.menu .mcnt { margin: 0 auto 0 -4px; color: var(--sub); font-weight: 700; font-size: .92em; } .menu .mcnt.hot { color: var(--red); }
.menu > :last-child { border-bottom: 0; } .menu b { color: var(--sub); font-weight: 600; font-size: .9rem; } .menu .danger { color: var(--red); }

/* 기업 이용권 */
.plan.ok { background: var(--green2); } .plan.bad { background: var(--red2); }
.plan-mini { display: flex; justify-content: space-between; align-items: center; gap: 8px; }
.plan-mini.ok { background: var(--green2); } .plan-mini.bad { background: var(--red2); }
.bank { background: var(--bg); border-radius: 14px; padding: 12px 14px; margin-top: 14px; } .bank div { display: flex; justify-content: space-between; gap: 10px; padding: 4px 0; } .bank span { color: var(--sub); }
.ps { font-size: .8rem; border-radius: 6px; padding: 2px 8px; } .ps.requested { background: var(--amber2); color: var(--amber); } .ps.paid { background: var(--green2); color: #08784A; } .ps.cancel { background: var(--bg); color: var(--sub); }
.price { display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap; } .price b { font-size: 1.7rem; color: var(--green); } .price span { color: var(--sub); }
.freebox { background: var(--green2); color: #08784A; font-weight: 700; border-radius: 12px; padding: 12px 14px; margin: 12px 0; }
.hero-co { background: linear-gradient(135deg, var(--green2), #fff); } .hero-ag { background: linear-gradient(135deg, var(--purple2), #fff); }
.hero-co h2, .hero-ag h2 { font-size: 1.35rem; margin-bottom: 8px; }

/* 중개소 서류 */
.docs { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); gap: 10px; margin-top: 10px; }
.doc { position: relative; aspect-ratio: 3/4; border-radius: 14px; overflow: hidden; background: var(--bg); display: grid; place-items: center; }
.doc img { width: 100%; height: 100%; object-fit: cover; } .doc .x { position: absolute; top: 6px; right: 6px; width: 32px; height: 32px; }
.doc.add { border: 2px dashed var(--line); font-size: 2rem; color: var(--sub); cursor: pointer; display: flex; flex-direction: column; gap: 4px; } .doc.add small { font-size: .8rem; }
.vst { font-size: .78rem; border-radius: 6px; padding: 3px 8px; vertical-align: middle; } .vst.pending { background: var(--amber2); color: var(--amber); } .vst.ok { background: var(--green2); color: #08784A; } .vst.rejected { background: var(--red2); color: #B42318; }
.bad { color: var(--red); }

/* 도움말 */
.tel { display: flex; align-items: center; gap: 14px; padding: 12px 0; border-bottom: 1px solid var(--line); color: inherit; }
.tel:last-child { border-bottom: 0; } .tel > b { font-size: 1.15rem; color: var(--red); width: 104px; flex: none; }
.tel span { flex: 1; font-weight: 600; } .tel small { display: block; font-weight: 400; color: var(--sub); font-size: .82rem; } .tel i { font-style: normal; font-size: 1.3rem; }
.big-num { font-size: 1.3rem; font-weight: 800; color: var(--blue); margin: 4px 0; }
.faq { border-bottom: 1px solid var(--line); padding: 12px 0; } .faq summary { font-weight: 700; cursor: pointer; } .faq p { color: var(--ink2); margin: 8px 0 0; }
.guide { padding-left: 22px; } .guide li { margin: 10px 0; font-size: 1.02rem; } .ios-arrow { text-align: center; font-size: 2.4rem; color: var(--blue); animation: bob 1s infinite alternate; } @keyframes bob { to { transform: translateY(8px); } }
.warnline { background: var(--amber2); border-radius: 10px; padding: 10px 12px; }
.legal { font-size: .93rem; color: var(--ink2); } .legal h2 { font-size: 1.2rem; margin: 6px 0 12px; } .legal h3 { font-size: 1rem; margin: 18px 0 6px; } .legal hr { border: 0; border-top: 1px solid var(--line); margin: 24px 0; }

[dir=rtl] .wc-txt { padding-right: 0; padding-left: 30px; } [dir=rtl] .fav { right: auto; left: 8px; } [dir=rtl] .pickbtn, [dir=rtl] .li, [dir=rtl] .lang, [dir=rtl] .cbtn { text-align: right; }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; animation: none !important; } }
.wc-ag .inp.sm { min-width: 130px; }
[dir=rtl] [data-back], [dir=rtl] .back-in, [dir=rtl] .r-go { transform: scaleX(-1); }

/* ═══════════════════════════════════════════════════════════════════════
   옛날 게시판 모양(2026-11-26 소유자: 「이쁘게 꾸미지 말고 디시인사이드처럼, 80년대 스타일」)
   — 흰 바탕 · 남색 메뉴 띠 · 가는 회색 줄 · 둥근 모서리·그림자 없음 · 글 목록 위주. 위의 둥근 카드 모양을 모두 덮어씀.
   ═══════════════════════════════════════════════════════════════════════ */
:root {
  --bg: #fff; --card: #fff; --ink: #222; --ink2: #333; --sub: #777; --line: #dcdcdc; --soft: #f4f4f4;
  --blue: #f0408a; --blue2: #f8e9f0; --navy: #d0246c; --red: #d31900; --cnt: #d31900;
  --r: 0px; --r2: 0px; --sh: none;
  --font: "Malgun Gothic", "맑은 고딕", "Apple SD Gothic Neo", Dotum, "돋움", Gulim, "Noto Sans KR", "Noto Sans", "Noto Sans Devanagari", "Noto Sans Myanmar", "Noto Sans Khmer", "Noto Sans Sinhala", "Noto Sans Bengali", "Segoe UI", Tahoma, "Noto Sans Lao", "Noto Sans Thai", "Hiragino Sans", "Yu Gothic", "Noto Sans JP", "Microsoft JhengHei", "Noto Sans TC", "Noto Sans Arabic", Tahoma, sans-serif;
}
body { background: #fff; font: 14px/1.5 var(--font); color: var(--ink); }
a { color: var(--ink2); }
h2 { font-size: 1.25rem; } h3 { font-size: 1rem; } h4 { font-size: .93rem; }
.wrap { max-width: 1080px; padding: 6px 12px 40px; }
.wrap.has-tabs { padding-bottom: 40px; }

/* 머리줄 + 남색 메뉴 띠 */
.top { position: static; display: block; background: #fff; backdrop-filter: none; padding: 0; min-height: 0; border-bottom: 0; }
.top-in { max-width: 1080px; margin: 0 auto; display: flex; align-items: center; gap: 8px; padding: 14px 12px 12px; }
.top-sp { flex: 1; }
.top-t { flex: 1; text-align: left; font-size: 1rem; }
.logo-ico { height: 34px; } .lw small { color: var(--blue); letter-spacing: .14em; }
.iconbtn { width: 38px; height: 38px; border-radius: 0; font-size: 1.15rem; position: relative; }
.iconbtn .badge, .bell .badge { top: -2px; right: -4px; }
.bell { background: none; }
.langbtn { box-shadow: none; border: 1px solid #ccc; border-radius: 0; background: #fff; padding: 6px 10px; min-height: 34px; font-size: .82rem; font-weight: 700; max-width: 34vw; }
.tsearch { display: flex; border: 3px solid var(--blue); width: 430px; max-width: 46vw; background: #fff; }
.tsearch input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 8px 12px; font: inherit; font-size: 15px; background: #fff; }
.tsearch button { border: 0; background: var(--blue); color: #fff; width: 48px; font-size: 1.1rem; }
.tsearch.mob { display: none; width: auto; max-width: none; margin: 8px 0 4px; }
.msearch { display: none; }
.gnb { background: var(--blue); }
.gnb-in { max-width: 1080px; margin: 0 auto; display: flex; align-items: center; gap: 2px; padding: 0 6px; overflow-x: auto; scrollbar-width: none; }
.gnb-in::-webkit-scrollbar { display: none; }
.gnb a { color: #fff; font-weight: 700; font-size: 15px; padding: 13px 12px 12px; white-space: nowrap; border-bottom: 3px solid transparent; }
.gnb a.on { border-bottom-color: #ffd400; color: #ffd400; }
.gnb-r { margin-left: auto; display: flex; gap: 2px; }
.gnb-r a { font-weight: 400; font-size: 13px; opacity: .92; }
.tabs { display: none !important; }
@media (max-width: 760px) {
  .top { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid #ddd; }
  .top-in { padding: 8px 8px; gap: 4px; }
  .logo-ico { height: 26px; } .lw small { font-size: .52rem; }
  .tsearch { display: none; } .tsearch.mob { display: flex; } .msearch { display: grid; }
  .home-link.pc { display: none; }
  .gnb a { font-size: 14px; padding: 10px 10px 9px; }
  .gnb-r { display: none; }
  .langbtn span { display: inline-block; max-width: 70px; overflow: hidden; text-overflow: ellipsis; vertical-align: bottom; }
}

/* 기본 부품 — 각지고 납작하게 */
.card { border: 1px solid #ccc; border-radius: 0; box-shadow: none; padding: 12px 14px; margin: 10px 0; }
.card h3 { color: var(--navy); }
.card.warn, .warnbox { background: #fffbea; border: 1px solid #e3d59b; }
.card.info { background: #fcf2f6; border: 1px solid #ecc4d5; }
.card.small { font-size: .9rem; padding: 9px 12px; }
.card.hello { background: #fcf2f6; }
.btn { border-radius: 2px; min-height: 36px; padding: 6px 14px; font-size: 14px; font-weight: 700; background: var(--blue); }
.btn:active { transform: none; filter: brightness(.9); }
.btn.big { min-height: 44px; font-size: 15px; margin-top: 12px; }
.btn.sm { min-height: 30px; padding: 4px 10px; font-size: 13px; border-radius: 2px; }
.btn.ghost { background: #fff; color: #333; box-shadow: inset 0 0 0 1px #aaa; }
.btn.line { color: var(--blue); }
.btn.green { background: #2f7d4a; } .btn.purple { background: #5b4a9e; } .btn.danger { background: #c0392b; }
.link { color: var(--blue); font-weight: 400; text-decoration: underline; text-underline-offset: 2px; }
.link.inl { padding: 0; }
.inp { border: 1px solid #aaa; border-radius: 0; min-height: 38px; padding: 7px 10px; font-size: 14px; }
.inp:focus { border-color: var(--blue); box-shadow: none; outline: 1px solid var(--blue); }
.inp.big { font-size: 16px; min-height: 44px; }
.lab { font-size: .9rem; margin: 14px 0 6px; color: #333; }
.ch, .chip, .cbtn, .lang, .fchip, .cat, .tmpl, .qc { border: 1px solid #c4c4c4; border-radius: 0; min-height: 36px; }
.ch.on, .chip.on, .cbtn.on, .lang.on, .fchip.on { background: var(--blue2); border-color: var(--blue); color: var(--blue); box-shadow: none; }
.seg { background: #f1f1f1; border-radius: 0; padding: 2px; gap: 2px; border: 1px solid #ccc; }
.seg button { border-radius: 0; min-height: 34px; font-size: 13px; }
.seg button.on { background: var(--blue); color: #fff; box-shadow: none; }
.sheet { border-radius: 0 !important; }
.sh-head { border-bottom: 2px solid var(--blue); padding: 12px 14px 8px; } .sh-head h3 { font-size: 1rem; color: var(--navy); }
.x { border-radius: 0; background: #eee; width: 34px; height: 34px; }
.toast { border-radius: 2px; background: #333; box-shadow: none; bottom: 30px; font-weight: 400; }
.badge { border-radius: 2px; background: var(--red); font-size: .66rem; min-width: 16px; height: 16px; }
.badge.st { position: static; display: inline-grid; margin-left: 4px; }
.mini, .stats div, .pv, .wcard, .threads, .chat-h, .bub, .a-ico { border-radius: 0; box-shadow: none; border: 1px solid #ddd; }
.mini { padding: 10px 4px; } .mini b { font-size: 1.15rem; color: var(--navy); }
.bar { border-radius: 0; height: 8px; } .bar i { background: var(--blue); }
.menu > button, .menu > a { min-height: 44px; padding: 11px 2px; font-size: 14px; }
.card.menu, .box.menu { padding: 2px 12px; border: 1px solid #ccc; }
.savebar { bottom: 0; background: linear-gradient(transparent, #fff 30%); }
.notice { background: #333; }
.instbar { border-radius: 0; box-shadow: none; border: 2px solid var(--blue); bottom: 12px; }
.foot { border-top: 1px solid #ccc; margin-top: 24px; font-size: 12px; color: #888; }
.foot a { color: #555; }
.red { color: var(--red); } .none { color: #999; padding: 14px 4px; margin: 0; font-size: 13px; }
.pad { padding: 18px 0; } .small { font-size: 13px; }
.hide { display: none !important; }

/* 두 칸(PC): 왼쪽 글 목록 · 오른쪽 상자 */
.cols { display: grid; grid-template-columns: 1fr 300px; gap: 24px; align-items: start; }
@media (max-width: 900px) { .cols { grid-template-columns: 1fr; gap: 0; } }
.box { margin: 14px 0; }
.bh { display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; border-bottom: 2px solid var(--blue); padding: 2px 2px 6px; }
.bh h3 { font-size: 16px; color: var(--navy); font-weight: 800; letter-spacing: -.02em; }
.bh .cnt { color: var(--red); font-size: 13px; }
.bmore { font-size: 12px; color: #777; }
.cols-side .box { border: 1px solid #ccc; padding: 8px 12px 10px; }
.cols-side .bh { border-bottom: 1px solid #ccc; } .cols-side .bh h3 { font-size: 14px; }
@media (max-width: 900px) { .cols-side .loginbox { display: none; } }
/* 폰·태블릿 로그인 단추(로그인 상자가 숨겨지는 900px 이하만, 11-27 소유자) — 빼지 말 것 */
.mlogin { display: none; }
@media (max-width: 900px) { .mlogin { display: flex; align-items: center; flex: none; height: 34px; padding: 0 10px; background: #f0408a; color: #fff; font-size: 13px; font-weight: 700; border-radius: 0; white-space: nowrap; text-decoration: none; } }
.loginbox form { display: flex; gap: 6px; padding-top: 6px; } .lb-in { flex: 1; display: grid; gap: 4px; } .lb-in .inp { min-height: 32px; background: #f6f6f6; border-color: #ddd; }
.loginbox .btn { width: 76px; min-height: auto; }
.lb-l, .mb-l { display: flex; flex-wrap: wrap; gap: 4px 0; margin-top: 8px; padding-top: 8px; border-top: 1px dashed #ccc; font-size: 12px; }
.lb-l a, .mb-l a, .mb-l .link { color: #333; padding: 0 8px; border-left: 1px solid #ccc; text-decoration: none; font-size: 12px; }
.lb-l a:first-child, .mb-l a:first-child { border-left: 0; padding-left: 0; }
/* 로그인 상자 프로필 사진 = 내 정보와 같은 동그라미(11-26 소유자, 둥근 것은 프로필 사진만 예외) */
.mb-top { display: flex; align-items: center; gap: 12px; } .mb-r { flex: 1; min-width: 0; }
.mb-av { flex: none; display: block; line-height: 0; } .pav.mb { width: 56px; height: 56px; margin: 0; vertical-align: top; border-radius: 50% !important; border: 1px solid #ddd; }
.mb-h { font-size: 15px; padding: 6px 0; } .mb-n { display: flex; gap: 12px; font-size: 13px; } .mb-n b { color: var(--navy); } .mb-n b.red { color: var(--red); }
.rank { list-style: none; margin: 6px 0 0; padding: 0; }
.rank li { display: flex; align-items: center; justify-content: space-between; padding: 5px 0; font-size: 14px; }
.rank a { color: #222; } .rank i { display: inline-grid; place-items: center; width: 18px; height: 18px; background: var(--blue); color: #fff; font-style: normal; font-size: 11px; font-weight: 700; margin-right: 8px; }
.rank span { color: #999; font-size: 12px; }
.tels3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; padding-top: 8px; }
.tels3 a { border: 1px solid #ccc; text-align: center; padding: 6px 2px; font-size: 11px; color: #555; line-height: 1.3; }
.tels3 b { display: block; font-size: 17px; color: var(--red); }
.stat { font-size: 12px; color: #888; text-align: center; }
.notibox { border: 1px solid #ccc; background: #f7f7f7; padding: 6px 10px; margin-top: 10px; }
.notibox a { display: block; padding: 3px 0; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .notibox b { color: var(--red); }
.wbar { display: flex; align-items: center; justify-content: space-between; gap: 10px; border: 1px solid #ccc; background: #f7f7f7; padding: 10px 12px; font-size: 13px; }
.glinks { list-style: none; margin: 4px 0 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; }
.glinks li { border-bottom: 1px solid #eee; } .glinks a { display: block; padding: 8px 4px; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.glinks a:hover { text-decoration: underline; }
@media (max-width: 520px) { .glinks { grid-template-columns: 1fr; } }

/* 글 목록 한 줄 */
.plist { border-top: 1px solid #ccc; }
.box .plist { border-top: 0; }
.prow { display: flex; align-items: center; gap: 10px; padding: 9px 4px; border-bottom: 1px solid #e6e6e6; color: #222; }
.prow:hover { background: #fafafa; } .prow:hover .tt { text-decoration: underline; }
.prow:visited .tt { color: #770088; }
.prow.pin { background: #fdf7fa; }
.pr-t { flex: 1; min-width: 0; display: flex; align-items: baseline; white-space: nowrap; font-size: 15px; }
.pr-t > * { flex: none; }
.pr-t .tt { flex: 0 1 auto; min-width: 0; overflow: hidden; text-overflow: ellipsis; font-weight: 400; }
.hd { font-size: 13px; color: #777; margin-right: 5px; font-weight: 400; }
.hd.q { color: var(--blue); font-weight: 700; } .hd.ok { color: #2f7d4a; font-weight: 700; } .hd.tip { color: #c25e00; font-weight: 700; }
.hd.pin { background: var(--blue); color: #fff; padding: 1px 5px; font-weight: 700; font-size: 12px; }
.cn { color: var(--cnt); font-style: normal; font-size: 13px; margin-left: 4px; }
.ic { font-style: normal; font-size: 12px; margin-left: 4px; } .ic.best { color: #e8a800; } .ic.st { color: #c25e00; }
.pr-m { flex: none; display: flex; align-items: center; font-size: 12px; color: #888; }
.pr-m > span { padding: 0 7px; border-left: 1px solid #ddd; line-height: 1; } .pr-m > span:first-child { border-left: 0; }
.pr-m .w { max-width: 130px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.who { color: #333; font-size: 13px; } .who b { font-weight: 400; } .who .flag { font-size: 1.05em; } .who .flag.txt { font-size: .58rem; padding: 0 3px; }
.who.off b { font-weight: 700; color: var(--navy); } .who.gone { color: #aaa; }
.vok { font-style: normal; color: var(--blue); font-size: 11px; font-weight: 700; }
@media (max-width: 760px) {
  .prow { flex-direction: column; align-items: stretch; gap: 3px; padding: 9px 2px; }
  .pr-t { display: block; white-space: normal; font-size: 15px; }
  .pr-t .tt { display: inline; white-space: normal; overflow: visible; }
  .pr-m > span { padding: 0 6px; } .pr-m > span:first-child { padding-left: 0; }
}

/* 커뮤니티 목록 머리 */
.tscroll { display: flex; gap: 0; overflow-x: auto; border: 1px solid #ccc; border-bottom: 2px solid var(--blue); margin-top: 10px; scrollbar-width: none; background: #f7f7f7; }
.tscroll::-webkit-scrollbar { display: none; }
.tchip { flex: none; border: 0; border-right: 1px solid #ddd; background: none; padding: 8px 12px; font-size: 14px; white-space: nowrap; color: #333; }
.tchip.on { background: var(--blue); color: #fff; font-weight: 700; }
.tdesc { margin: 8px 2px; }
.sortseg { margin-top: 8px; }
.seg.four { grid-template-columns: repeat(4, 1fr); }
.frow { display: flex; gap: 6px; flex-wrap: wrap; margin: 8px 0; }
.fchip { min-height: 30px; padding: 4px 10px; font-size: 13px; background: #fff; }
.fchip.sel { appearance: none; padding-right: 10px; }
.fab { position: fixed; right: 16px; bottom: 18px; z-index: 25; border: 0; background: var(--blue); color: #fff; font-weight: 700; padding: 11px 16px; font-size: 14px; border-radius: 0; box-shadow: 2px 2px 0 #1d2659; }
@media (min-width: 1100px) { .fab { right: calc(50% - 530px); } }

/* 글 보기 */
.post.card { border: 0; border-top: 2px solid var(--blue); padding: 10px 2px; }
.pc-tags { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 6px; }
.tg { font-size: 12px; border: 1px solid #ccc; padding: 1px 6px; color: #555; background: #fff; }
.tg.q { color: var(--blue); border-color: var(--blue); } .tg.q.ok { color: #2f7d4a; border-color: #2f7d4a; } .tg.tip { color: #c25e00; border-color: #e0b07a; }
.tg.best { color: #a87900; border-color: #e8c96a; } .tg.warn { color: #c25e00; background: #fff6e5; } .tg.op { color: #fff; background: #888; border-color: #888; margin-left: 4px; }
.post-t { font-size: 20px; line-height: 1.4; margin: 2px 0 6px; }
.post-m { font-size: 13px; color: #777; padding-bottom: 8px; border-bottom: 1px solid #ddd; display: flex; flex-wrap: wrap; gap: 4px; align-items: center; }
.post-b { font-size: 15px; line-height: 1.75; padding: 18px 2px 14px; min-height: 80px; }
.post-b a, .cm-b a { color: #d82f78; text-decoration: underline; }
.xlink { color: #999; }
.pimgs { display: grid; gap: 6px; margin: 6px 0 12px; } .pimgs.n1 { grid-template-columns: minmax(0, 560px); } .pimgs.n2, .pimgs.n3, .pimgs.n4 { grid-template-columns: 1fr 1fr; max-width: 640px; }
.pimg { border: 1px solid #ddd; padding: 0; background: #f4f4f4; } .pimg img { width: 100%; max-height: 520px; object-fit: contain; display: block; }
.viewer img { width: 100%; max-height: 80vh; object-fit: contain; }
.trbar { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; border: 1px solid #ecc4d5; background: #fcf2f6; padding: 6px 10px; margin: 6px 0 10px; font-size: 13px; }
.trbar button { border: 1px solid var(--blue); background: #fff; color: var(--blue); font-weight: 700; padding: 5px 12px; font-size: 13px; }
.trnote { color: #555; }
.trd { background: #fffef0; }
.post-a { display: flex; justify-content: center; gap: 6px; flex-wrap: wrap; padding: 12px 0 4px; border-bottom: 1px solid #ddd; }
.pa { border: 1px solid #bbb; background: #fff; padding: 7px 12px; font-size: 13px; min-height: 36px; }
.pa b { font-weight: 700; } .pa span { color: var(--red); font-weight: 700; margin-left: 2px; }
.pa.on { border-color: var(--blue); color: var(--blue); background: var(--blue2); }
.pa:disabled { opacity: .5; }
.bestjump { display: block; border: 1px solid #9fd3b0; background: #f1faf4; }
.bestjump p { margin: 4px 0 0; color: #444; font-size: 13px; }
.cmts .sec-t { border-bottom: 2px solid var(--blue); padding-bottom: 6px; margin: 18px 0 0; color: var(--navy); font-size: 14px; }
.cmts .sec-t b { color: var(--red); }
.cmt { border-bottom: 1px solid #eee; padding: 9px 4px; }
.cmt.rep { padding-left: 26px; background: #fafafa; position: relative; }
.cmt.rep::before { content: 'ㄴ'; position: absolute; left: 9px; top: 9px; color: #aaa; }
.cmt.best { background: #f1faf4; } .bestlab { color: #2f7d4a; font-weight: 700; font-size: 12px; margin-bottom: 3px; }
.cmt.gone { color: #aaa; font-size: 13px; }
.cmt.flash { animation: fl 1.6s; } @keyframes fl { from { background: #fff3b0; } }
.cm-h { font-size: 13px; display: flex; align-items: center; flex-wrap: wrap; gap: 3px; }
.cm-b { margin: 4px 0; font-size: 14px; line-height: 1.6; }
.cm-a { display: flex; gap: 2px; flex-wrap: wrap; align-items: center; }
.ca { border: 0; background: none; font-size: 12px; color: #777; padding: 4px 6px; min-height: 30px; }
.ca.on { color: var(--blue); font-weight: 700; } .ca.solve { color: #2f7d4a; } .ca span { color: var(--red); }
.cform { border: 1px solid #ccc; background: #f7f7f7; } .cform textarea { background: #fff; min-height: 80px; }
.cf-b { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-top: 6px; }
#replyTo { font-size: 13px; color: var(--blue); margin-bottom: 4px; }
.glink { display: flex; align-items: center; gap: 10px; color: #222; }
.glink .gl-i { font-size: 1.4rem; } .glink small { display: block; color: #777; font-size: 12px; } .glink div { flex: 1; }
.r-go { font-size: 1.2rem; color: #999; opacity: 1; }
.sec-t { font-size: 14px; color: var(--navy); margin: 18px 2px 4px; }

/* 글쓰기 */
.kindc .ch { padding: 8px 4px; } .kindc .ch small { font-size: 11px; }
.tgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); gap: 4px; }
.tgrid .ch { flex-direction: row; gap: 4px; font-size: 13px; min-height: 36px; padding: 4px; } .tgrid .ch .ico { font-size: 1rem; } .tgrid .ch b { font-size: 13px; }
.choice.three { grid-template-columns: repeat(3, 1fr); }
.ch.left { align-items: flex-start; text-align: left; }
.wimgs { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 6px; }
.wi { position: relative; width: 84px; height: 84px; border: 1px solid #ccc; } .wi img { width: 100%; height: 100%; object-fit: cover; }
.wi button { position: absolute; top: 0; right: 0; border: 0; background: #333; color: #fff; width: 24px; height: 24px; font-size: 12px; }
.simbox { border: 1px solid #ecc4d5; background: #fcf2f6; padding: 8px 10px; margin-top: 6px; font-size: 13px; }
.simbox a { display: block; padding: 3px 0; color: #d82f78; } .simbox small { color: var(--red); }
.warnline { border-radius: 0; background: #fffbea; padding: 6px 8px; }
.fhint { font-size: 12px; color: #888; margin: 4px 2px 0; } .fhint.ok { color: #2f7d4a; } .fhint.bad { color: var(--red); }

/* 가입·로그인 */
.auth { max-width: 460px; }
.auth-h { padding: 14px 0 4px; } .a-ico { width: 56px; height: 56px; font-size: 1.8rem; border: 1px solid #ccc; }
.krphone { display: flex; gap: 6px; } .krphone .kr { display: grid; place-items: center; border: 1px solid #aaa; padding: 0 10px; background: #f4f4f4; font-weight: 700; font-size: 14px; }
.krphone .inp { flex: 1; }
.pwrow { display: flex; } .pwrow .inp { flex: 1; } .pwrow .iconbtn { border: 1px solid #aaa; border-left: 0; height: auto; }
.why { list-style: none; padding: 8px 10px; margin: 12px 0 0; background: #f7f7f7; border: 1px solid #ddd; font-size: 13px; color: #555; }
.why li { margin: 3px 0; }
.prog i { border-radius: 0; height: 4px; } .prog i.on { background: var(--blue); } .stepn { color: var(--blue); } .su-h { font-size: 1.3rem; }
.others .role { margin: 6px 0; }
.role { border-radius: 0; box-shadow: none; border: 1px solid #ccc; min-height: 0; padding: 12px 14px; }
.role.blue { background: var(--blue); }
.role.sm .r-ico { width: 36px; height: 36px; font-size: 1.2rem; border-radius: 0; } .role.sm .r-t b { font-size: 15px; }
.r-ico { border-radius: 0; }
.links { margin-top: 8px; } .links .link { text-align: center; }
.gate { text-align: center; } .gate .g-ico { font-size: 2.4rem; } .gate .bul { text-align: left; }
.rules { padding-left: 20px; font-size: 14px; } .rules li { margin: 6px 0; }

/* 나·사람 */
.uhead { display: flex; gap: 14px; align-items: center; border: 1px solid #ccc; padding: 12px 14px; }
.uh-f { font-size: 2.2rem; } .uh-f .flag.txt { font-size: .9rem; padding: 4px 6px; }
.uhead h2 { font-size: 1.15rem; }
.notes { border-top: 2px solid var(--blue); }
.note { display: flex; gap: 10px; padding: 10px 4px; border-bottom: 1px solid #eee; color: #222; }
.note.new { background: #fdf7fa; } .note .n-i { font-size: 1.1rem; } .note p { margin: 0; font-size: 14px; } .note small { color: #666; font-size: 12px; } .note time { display: block; font-size: 11px; color: #999; }
.linkcard { display: flex; align-items: center; gap: 8px; color: #222; } .linkcard .r-go { margin-left: auto; }
.sbar { display: flex; align-items: center; gap: 6px; border: 3px solid var(--blue); padding: 0 0 0 10px; background: #fff; margin: 10px 0; }
.sbar input { flex: 1; border: 0; outline: 0; font: inherit; font-size: 15px; padding: 9px 0; min-width: 0; }
.sbar .btn { border-radius: 0; min-height: 40px; } .sbar .ph { color: #999; padding: 9px 0; }
.grw { display: flex; align-items: center; gap: 10px; padding: 9px 4px; border-bottom: 1px solid #eee; color: #222; }
.grw .gr-i { font-size: 1.3rem; } .grw div { flex: 1; min-width: 0; } .grw small { display: block; color: #777; font-size: 12px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* 생활 안내 */
.ghero { border: 0; border-top: 2px solid var(--blue); padding: 10px 2px; } .ghero h2 { color: var(--navy); }
.ggrid { display: grid; grid-template-columns: 1fr 1fr; border-top: 1px solid #ccc; }
@media (max-width: 600px) { .ggrid { grid-template-columns: 1fr; } }
.gcard { display: flex; flex-direction: column; padding: 10px 6px; border-bottom: 1px solid #e6e6e6; color: #222; }
.gcard .gc-i { display: none; } .gcard b { font-size: 15px; } .gcard b::before { content: '· '; color: var(--blue); }
.gcard small { color: #777; font-size: 12px; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.gcard:hover b { text-decoration: underline; }
.ghead { border: 0; border-top: 2px solid var(--blue); border-bottom: 1px solid #ddd; padding: 10px 2px; }
.gh-i { font-size: 2rem; float: left; margin-right: 10px; } .ghead h2 { color: var(--navy); font-size: 1.3rem; } .ghead p { margin: 6px 0 0; }
.gsteps { list-style: none; padding: 0; margin: 0; }
.gsteps li { display: flex; gap: 10px; padding: 8px 0; border-bottom: 1px dashed #ddd; } .gsteps li:last-child { border-bottom: 0; }
.gsteps span { flex: none; width: 22px; height: 22px; background: var(--blue); color: #fff; display: grid; place-items: center; font-size: 12px; font-weight: 700; }
.gsteps p { margin: 0; }
.cklist { list-style: none; padding: 0; margin: 0; } .cklist label { display: flex; gap: 8px; padding: 5px 0; align-items: flex-start; }
.cklist input { width: 18px; height: 18px; flex: none; margin-top: 2px; accent-color: var(--blue); }
.cklist input:checked + span { color: #999; text-decoration: line-through; }
.saylist { display: grid; gap: 4px; }
.sayb { display: flex; flex-direction: column; align-items: flex-start; text-align: left; border: 1px solid #ccc; background: #fff; padding: 8px 34px 8px 10px; position: relative; }
.sayb b { font-size: 16px; } .sayb small { color: #666; font-size: 13px; } .sayb i { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); font-style: normal; color: var(--blue); }
.sheet.show .sh-body { padding: 20px; }
.showcard { text-align: center; padding: 20px 6px; }
.sc-ko { font-size: clamp(28px, 8vw, 54px); font-weight: 800; line-height: 1.3; margin: 0 0 16px; word-break: keep-all; }
.sc-tr { font-size: 16px; color: #555; }
.olink { display: block; padding: 7px 0; border-bottom: 1px solid #eee; color: #d82f78; } .olink small { color: #888; }
.telrow { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px; } .telb { border: 1px solid #ccc; padding: 8px 4px; text-align: center; color: #333; font-size: 12px; }
.telb b { display: block; font-size: 20px; color: var(--red); }
.tel > b { color: var(--red); font-size: 1.05rem; }
.first { border: 1px solid var(--blue); background: #fdf7fa; }
.f-h { display: flex; align-items: center; gap: 8px; margin-bottom: 6px; } .f-h b { flex: 1; color: var(--navy); } .f-n { color: var(--blue); font-weight: 700; }
.f-list { list-style: none; padding: 0; margin: 8px 0 0; } .f-list li { display: flex; align-items: center; gap: 8px; padding: 5px 0; }
.f-list li.ok a { color: #999; text-decoration: line-through; }
.f-ck { width: 22px; height: 22px; border: 1px solid #888; background: #fff; flex: none; font-weight: 800; color: var(--blue); padding: 0; }
.f-next { display: flex; align-items: center; gap: 10px; color: #222; padding: 8px 0 0; } .f-next small { display: block; color: var(--blue); font-size: 12px; } .f-next div { flex: 1; }
.askbox { background: #f7f7f7; }

[dir=rtl] .pr-m > span { border-left: 0; border-right: 1px solid #ddd; } [dir=rtl] .cmt.rep { padding-left: 4px; padding-right: 26px; } [dir=rtl] .cmt.rep::before { left: auto; right: 9px; }
.cf-b .btn { flex: none; white-space: nowrap; } .cf-b .hint { margin: 0; }

/* ── 디시 화면 짜임 그대로(2026-11-26 소유자: 「디시인사이드 UIUX 동일하게」) — 로고·이름·고유 명칭만 짭스 것 ── */
body { font-size: 13px; }
.util { background: #fff; }
.util-in { max-width: 1080px; margin: 0 auto; display: flex; justify-content: flex-end; align-items: center; gap: 0; padding: 6px 12px 0; font-size: 12px; }
.util-in a, .util-in button { color: #555; padding: 0 7px; border-left: 1px solid #ccc; line-height: 1; background: none; border-top: 0; border-right: 0; border-bottom: 0; font-size: 12px; }
.util-in a:first-child { border-left: 0; }
.util-in .ub { background: var(--blue); color: #fff; border: 0; padding: 4px 7px; margin-left: 6px; font-weight: 700; }
.top-in { padding-top: 6px; }
.gstat { color: #fff; font-size: 14px; }
@media (max-width: 760px) { .util { display: none; } }

/* 게시판 머리: 이름 + 남색 줄 */
.bhead { display: flex; align-items: flex-end; justify-content: space-between; gap: 10px; border-bottom: 2px solid var(--blue); padding: 18px 2px 8px; margin-top: 4px; }
.bhead h2 { font-size: 24px; color: var(--navy); font-weight: 800; letter-spacing: -.04em; line-height: 1.1; }
.bhead h2 a { color: inherit; }
.bh-r { display: flex; font-size: 12px; } .bh-r a, .bh-r .link { color: #333; padding: 0 8px; border-left: 1px solid #ccc; text-decoration: none; font-size: 12px; } .bh-r > :first-child { border-left: 0; }
.tdesc { color: #666; font-size: 12px; margin: 6px 2px 0; }
.tscroll { border: 0; border-bottom: 1px solid #ddd; background: #f3f3f3; margin: 0 -12px; padding: 0 12px; }
.tscroll .ts-l { flex: none; font-weight: 700; font-size: 13px; padding: 9px 10px 9px 0; color: #333; }
.tchip { border: 0; background: none; padding: 9px 9px; font-size: 13px; color: #555; position: relative; }
.tchip + .tchip::before { content: '×'; color: #bbb; position: absolute; left: -4px; font-size: 11px; }
.tchip.on { background: none; color: var(--navy); font-weight: 800; text-decoration: underline; }
.btabs { display: flex; gap: 2px; margin-top: 14px; align-items: flex-end; }
.btabs button { border: 1px solid #ccc; background: #fff; padding: 8px 18px; font-size: 14px; font-weight: 700; color: #555; }
.btabs button.on { background: var(--blue); border-color: var(--blue); color: #fff; }
.btabs .bt-w { margin-left: auto; background: #fff; color: var(--blue); border-color: var(--blue); padding: 6px 14px; font-size: 13px; }
.kindrow { display: flex; gap: 0; padding: 8px 2px; font-size: 12px; }
.kindrow button { border: 0; background: none; color: #666; padding: 0 8px; border-left: 1px solid #ccc; font-size: 13px; }
.kindrow button:first-child { border-left: 0; padding-left: 0; } .kindrow button.on { color: var(--navy); font-weight: 800; }
.frow { margin: 0 0 6px; }

/* 게시판 표 */
.btable { border-top: 2px solid var(--blue); }
.btable .thead, .btable .prow.tr { display: grid; grid-template-columns: 64px minmax(0, 1fr) 140px 70px 54px 48px; align-items: center; gap: 0; }
.btable .thead { border-bottom: 1px solid #ccc; padding: 9px 0; font-weight: 700; font-size: 13px; color: #333; text-align: center; }
.btable .prow.tr { padding: 7px 0; border-bottom: 1px solid #eee; }
.btable .prow.tr > span { text-align: center; font-size: 13px; color: #555; }
.btable .prow.tr > .pr-t { text-align: left; padding: 0 8px; font-size: 14px; color: #222; }
.btable .c-no { color: #888 !important; font-size: 12px !important; }
.btable .prow.pin { background: #fff; } .btable .prow.pin .c-no { color: var(--red) !important; font-weight: 700; } .btable .prow.pin .tt { font-weight: 700; }
.btable .c-w { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; padding: 0 4px; }
.btable .cn { color: #999; font-size: 12px; }
.box .cn { color: var(--red); }
@media (max-width: 760px) {
  .btable .thead { display: none; }
  .btable .prow.tr { display: flex; flex-wrap: wrap; align-items: center; padding: 9px 2px; gap: 3px 0; }
  .btable .c-no { display: none; }
  .btable .prow.tr > .pr-t { flex: 0 0 100%; padding: 0; font-size: 15px; }
  .btable .prow.tr > span:not(.pr-t) { font-size: 12px; color: #888; padding: 0 6px; border-left: 1px solid #ddd; line-height: 1; }
  .btable .prow.tr > .c-w { padding-left: 0; border-left: 0; max-width: 140px; }
  .btable .c-v::before, .btable .c-l::before { content: attr(data-l) ' '; }
  .bhead h2 { font-size: 20px; } .btabs button { padding: 7px 10px; font-size: 13px; }
}

/* 글 보기 */
.post { padding: 0; }
.post-t { font-size: 17px; font-weight: 700; padding: 14px 2px 6px; margin: 0; line-height: 1.4; }
.post-t .hd { font-size: 15px; margin-right: 4px; }
.post-m { justify-content: space-between; font-size: 12px; color: #666; padding: 0 2px 10px; border-bottom: 1px solid #ddd; }
.pm-l, .pm-r { display: flex; align-items: center; flex-wrap: wrap; gap: 0; }
.sep { color: #ccc; margin: 0 7px; }
.post-b { font-size: 14px; line-height: 1.8; padding: 26px 2px 20px; min-height: 120px; }
.recbox { display: flex; justify-content: center; padding: 18px 0 10px; }
.rec { width: 112px; height: 112px; border-radius: 50%; border: 1px solid #ecc4d5; background: #fcf2f6; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 4px; }
.rec span { font-size: 22px; font-weight: 800; color: var(--red); line-height: 1; } .rec b { font-size: 13px; color: var(--navy); }
.rec.on { background: var(--blue); border-color: var(--blue); } .rec.on b, .rec.on span { color: #fff; }
.rec:disabled { opacity: .6; }
.post-a { border-bottom: 2px solid var(--blue); padding: 8px 0 12px; }
.pa { border-color: #ccc; font-size: 12px; min-height: 30px; padding: 4px 10px; }

/* 댓글: 닉네임 | 내용 | 날짜 */
.cmts .sec-t { border-bottom: 2px solid var(--blue); font-size: 13px; color: #222; margin-top: 16px; }
.cmt { display: grid; grid-template-columns: 150px minmax(0, 1fr) 128px; grid-template-areas: "n c d"; gap: 0 10px; padding: 4px 4px; border-bottom: 1px solid #eee; align-items: start; } /* 댓글 세로 촘촘하게(11-26 소유자 두 번: 「더 줄여」) — 늘리지 말 것 */
.cm-n { grid-area: n; font-size: 13px; line-height: 18px; overflow: hidden; } .cm-c { grid-area: c; min-width: 0; } .cm-d { grid-area: d; text-align: right; font-size: 12px; line-height: 18px; color: #999; }
.cm-b { margin: 0; font-size: 13px; line-height: 1.35; }
.cm-a { line-height: 16px; } .cm-a .ca { min-height: 16px; height: 16px; line-height: 16px; padding: 0 5px; font-size: 11px; }
.reps { background: #f9f9f9; border: 1px solid #e3e3e3; margin: 0 0 4px 150px; }
.reps .cmt { background: none; padding-left: 4px; border-bottom: 1px solid #eee; grid-template-columns: 140px minmax(0, 1fr) 118px; }
.reps .cmt:last-child { border-bottom: 0; }
.cmt.rep::before { content: none; }
.reps .cm-c::before { content: 'ㄴ'; color: #aaa; margin-right: 4px; float: left; }
.cmt.best { background: #f1faf4; }
@media (max-width: 760px) {
  .cmt, .reps .cmt { grid-template-columns: minmax(0, 1fr) auto; grid-template-areas: "n d" "c c"; }
  .reps { margin-left: 14px; }
  .cm-b { font-size: 14px; line-height: 1.3; }
  .cm-n { line-height: 17px; }
}
.cform { margin-top: 0; border-top: 0; }
@media (min-width: 761px) { .fab { display: none; } }
@media (min-width: 761px) { .top .iconbtn.back { display: none; } .top .top-t { visibility: hidden; flex: 1; min-width: 0; height: 0; overflow: hidden; } /* 제목은 숨기되 빈칸으로 남겨 언어 단추를 오른쪽 끝에(11-26) */ .top-in { position: relative; padding-top: 44px; } .top .tsearch { position: absolute; left: 50%; transform: translateX(-50%); width: 430px; max-width: 42vw; } } /* 검색창 = 머리줄 가운데, 위에 검색창 높이만큼 흰 공간(11-26 소유자) */

/* 글꼴: 외국 글자는 짭스 서버의 Noto(fonts.css, 그 글자가 나올 때만 받음) → 기기 글꼴 순. 한국어·영어는 기기 기본 글꼴 */
:root { --font: "JJ Noto", "Malgun Gothic", "맑은 고딕", "Apple SD Gothic Neo", "Noto Sans KR", "Noto Sans CJK KR", Dotum, "돋움", "Segoe UI", Roboto, "Noto Sans", "Khmer UI", "Lao UI", "Myanmar Text", "Nirmala UI", "Leelawadee UI", "Noto Sans Myanmar", "Noto Sans Khmer", "Noto Sans Lao", "Noto Sans Sinhala", "Noto Sans Bengali", "Segoe UI", Tahoma, "Noto Sans Devanagari", "Noto Sans Thai", sans-serif; }
body, button, input, select, textarea { font-family: var(--font); }
[lang=my], [lang=km], [lang=lo], [lang=si], [lang=ne], [lang=bn], [lang=th] { line-height: 1.75; }
[lang=ur] { line-height: 2.1; }
/* 국기 그림 */
.flg { width: 20px; height: 15px; vertical-align: -2px; border: 1px solid #ddd; display: inline-block; object-fit: cover; }
.flag.globe { font-size: 1em; }
.who .flg { width: 18px; height: 13px; margin-right: 2px; }
.uh-f .flg { width: 48px; height: 36px; }
.cbtn .flg, .lang .flg { width: 26px; height: 20px; flex: none; }
.av-flag .flg { width: 18px; height: 13px; }
.rank .flg, .tels3 .flg { width: 16px; height: 12px; }
/* 말이 긴 언어(크메르·미얀마 등)에서도 한 줄 유지 */
@media (max-width: 760px) { .btable .prow.tr { flex-direction: row; justify-content: flex-start; } }
.btabs { overflow-x: auto; scrollbar-width: none; } .btabs::-webkit-scrollbar { display: none; }
.btabs button { white-space: nowrap; flex: none; }
.gnb a, .kindrow button, .tchip { white-space: nowrap; }
.wbar .btn { flex: none; white-space: nowrap; }

/* 일자리 = 외국인 카드 목록 */
.sbtn { border: 1px solid var(--blue) !important; background: #fff; color: var(--blue) !important; font-weight: 700; padding: 5px 10px !important; font-size: 12px !important; white-space: nowrap; }
.kindrow.cats { overflow-x: auto; scrollbar-width: none; flex-wrap: nowrap; } .kindrow.cats::-webkit-scrollbar { display: none; }
.jgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin: 6px 0 12px; }
@media (max-width: 1000px) { .jgrid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 760px) { .jgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; } }
.jcard { display: flex; flex-direction: column; gap: 6px; border: 1px solid #ccc; padding: 10px; color: #222; background: #fff; min-width: 0; }
.jcard:hover { border-color: var(--blue); }
.jc-h { display: flex; gap: 8px; align-items: center; min-width: 0; }
.jc-av { position: relative; width: 44px; height: 44px; flex: none; color: #fff; font-weight: 800; font-size: 20px; display: grid; place-items: center; }
.jc-av img { width: 100%; height: 100%; object-fit: cover; }
.jc-av i { position: absolute; right: -4px; bottom: -4px; line-height: 0; } .jc-av i .flg { width: 18px; height: 13px; border: 1px solid #fff; }
.jc-n { min-width: 0; display: flex; flex-direction: column; line-height: 1.3; }
.jc-n b { font-size: 15px; } .jc-n small { font-size: 12px; color: #666; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .jc-n small .flg { display: none; }
.jc-v { display: flex; gap: 4px; flex-wrap: wrap; } .jc-v .vtag { border-radius: 0; } .jc-ag { font-size: 11px; color: #5b4a9e; border: 1px solid #c9bff0; padding: 1px 5px; }
.jc-j { display: flex; flex-wrap: wrap; gap: 3px; } .jc-j span { background: #f1f1f1; font-size: 12px; padding: 2px 6px; color: #333; }
.jc-m { display: flex; flex-direction: column; gap: 1px; font-size: 12px; color: #555; } .jc-m span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.jc-f { display: flex; justify-content: space-between; gap: 4px; border-top: 1px dashed #ddd; padding-top: 6px; margin-top: auto; font-size: 12px; color: #777; }
.jc-f .now { color: #2f7d4a; font-weight: 700; } .jc-f .act.today { color: #2f7d4a; }
/* 상단 메뉴 띠 = 로고 「짭」 파랑보다 조금 어둡게(#f0408a, 로고는 #f0408a 그대로), 지금 메뉴·누를 때 = 로고 노랑(#FFC21A) — 2026-11-26 소유자 */
.gnb { background: #f0408a; }
.gnb a.on, .gnb a:hover, .gnb a:active { color: #FFC21A; border-bottom-color: #FFC21A; }
/* 검색창·로그인/로그아웃 단추도 로고 파랑(#f0408a) — 2026-11-26 소유자 */
.tsearch, .sbar { border-color: #f0408a; }
.tsearch button, .sbar .btn { background: #f0408a; }
/* 맨 위 줄 = 동그라미 사진 + 이름 → 누르면 마이페이지·로그아웃(11-26 소유자, 로그아웃 단추 되살리지 말 것) */
.util-in { padding-top: 4px; }
.um { position: relative; }
.util-in .um-btn { display: flex; align-items: center; gap: 6px; padding: 2px 4px; border: 0; background: none; cursor: pointer; color: #333; font-size: 12px; line-height: 1; }
.um-btn:hover b { text-decoration: underline; }
.um-btn em { font-style: normal; font-size: 10px; color: #888; }
.um-av { width: 24px; height: 24px; border-radius: 50%; overflow: hidden; display: inline-flex; align-items: center; justify-content: center; background: #f0408a; color: #fff; font-style: normal; font-weight: 700; font-size: 12px; flex: none; }
.um-av img { width: 100%; height: 100%; object-fit: cover; display: block; }
.um-list { position: absolute; right: 0; top: calc(100% + 4px); z-index: 60; min-width: 130px; background: #fff; border: 1px solid #f0408a; box-shadow: 0 4px 12px rgba(0,0,0,.12); display: flex; flex-direction: column; }
.um-list[hidden] { display: none; }
.util-in .um-list a, .util-in .um-list button { display: block; text-align: left; padding: 9px 12px; border: 0; border-top: 1px solid #eee; color: #333; font-size: 13px; line-height: 1.2; background: #fff; cursor: pointer; width: 100%; }
.util-in .um-list > :first-child { border-top: 0; }
.util-in .um-list a:hover, .util-in .um-list button:hover { background: #f0f4ff; color: #f0408a; }
.loginbox .btn { background: #f0408a; }
/* 일자리 카드 사진 칸 = 세로 사진(3:4), 넘치지 않게 */
.jc-av { width: 72px; height: 96px; overflow: visible; font-size: 28px; }
.jc-av img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.jc-av i { z-index: 1; }
.jc-h { align-items: flex-start; }
.jc-n { padding-top: 2px; } .jc-n b { font-size: 16px; }
@media (max-width: 760px) { .jc-av { width: 60px; height: 80px; } }
.jc-av i { left: 4px; bottom: 4px; right: auto; display: block; font-size: 0; line-height: 0; } .jc-av i .flg { width: 22px; height: 16px; box-shadow: 0 0 0 1px rgba(0,0,0,.25); }
.jc-av i .flg { display: block; vertical-align: top; }
.jc-av i img.flg { position: static; inset: auto; width: 22px; height: 16px; }
/* 오류 알림 글자가 배경과 같은 빨강이 되던 버그(.bad 글자색이 덮어씀) — 흰 글자로 */ .toast.bad { color: #fff; background: #d31900; } .toast { color: #fff; }

/* ═══ 짭스 = 모두 각진 디자인(2026-11-26 소유자: 「굴곡진 버튼 절대 없음, 모두 각지게」) — 둥근 모서리 전부 없앰(불러오는 중 표시만 예외) ═══ */
*, *::before, *::after { border-radius: 0 !important; }
.spin { border-radius: 50% !important; }
.um-av, .um-av img, .pav, .pv-pen { border-radius: 50% !important; } /* 프로필 사진은 모두 동그라미(11-26 소유자: 정사각형으로 했다가 「모두 동그라미 프로필로」 최종) — 머리줄·글쓴이 줄·로그인 상자·내 정보 큰 사진·연필 */
/* 얼굴(사진) = 세로 각진 칸, 국기는 사진 안쪽 왼쪽 아래 — 사진 설정이 국기에 걸리지 않게 */
.av { width: 64px; height: 84px; background: #f4e6ed; overflow: hidden; }
.av > img { width: 100%; height: 100%; object-fit: cover; }
.av-flag { right: auto; bottom: 3px; left: 3px; width: auto; height: auto; background: none; box-shadow: none; line-height: 0; font-size: 0; }
.av-flag img.flg { display: block; width: 20px; height: 15px; box-shadow: 0 0 0 1px rgba(0,0,0,.25); }
.av-flag .flag.globe { font-size: 14px; }
.av.lg { width: 96px; height: 128px; font-size: 2.2rem; }
.av.lg .av-flag img.flg { width: 26px; height: 19px; }
.th .av { width: 48px; height: 60px; }
.prof-h { align-items: flex-start; }
.prof-tags { margin-top: 10px; clear: both; }
.wc-main { align-items: flex-start; }
.ph-img { width: 96px; height: 128px; }
.switch i { border-radius: 0 !important; }

/* 자기소개 영상 칸(유튜브 = famytp 재생기, 틱톡·인스타 = 공식 재생 칸을 잘라 영상만) — 각진 검정 칸 */
.vbox { position: relative; width: 100%; max-width: 560px; background: #000; margin: 6px 0 12px; }
.vbox .vb-in { position: relative; width: 100%; aspect-ratio: 16 / 9; overflow: hidden; }
.vbox.tall { max-width: 300px; } .vbox.tall .vb-in { aspect-ratio: 9 / 16; }
.vbox.sm { max-width: 220px; } .vbox.sm:not(.tall) { max-width: 360px; }
.vb-in > iframe { position: absolute; left: 0; top: 0; width: 100%; height: 100%; border: 0; }
.vb-in > .famytp { position: absolute; inset: 0; }
/* 인스타그램: 위 프로필 줄·아래 좋아요/「더 보기」를 칸 밖으로 */
.vbox.ig .vb-in > iframe { top: -60px; height: calc(100% + 60px + 260px); }
.jc-vd { font-size: 11px; color: #fff; background: #111; padding: 1px 6px; }
.docup { display: flex; align-items: center; gap: 10px; }
.du-img { width: 120px; height: 84px; border: 1px dashed #aaa; display: grid; place-items: center; background: #f6f6f6; overflow: hidden; font-size: 28px; }
.du-img img { width: 100%; height: 100%; object-fit: cover; }
.coPend h2 { font-size: 1.15rem; margin-bottom: 6px; } .coPend .rr { background: #fff; border: 1px solid #e3d59b; padding: 8px 10px; }
/* 관리자 */
.todo { display: flex; flex-wrap: wrap; gap: 6px; } .td { border: 1px solid #e3d59b; background: #fff; padding: 6px 10px; color: #222; } .td b { color: #d31900; margin-right: 6px; font-size: 1.1rem; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; } @media (max-width: 760px) { .two-col { grid-template-columns: 1fr; } }
.kpi i.up { color: #2f7d4a; font-style: normal; font-size: .75rem; } .kpi i.dn { color: #d31900; font-style: normal; font-size: .75rem; }
.cobox { display: grid; grid-template-columns: 340px 1fr; gap: 14px; } @media (max-width: 760px) { .cobox { grid-template-columns: 1fr; } }
.co-docs { display: grid; gap: 6px; } .co-doc img { width: 100%; max-height: 460px; object-fit: contain; border: 1px solid #ccc; background: #f4f4f4; }
.wthumb { width: 30px; height: 40px; object-fit: cover; vertical-align: middle; margin-right: 6px; }
/* 틱톡: 1.4배 키워 위 로고·오른쪽 숫자·아래 워터마크를 칸 밖으로, 재생·소리는 짭스 단추 */
.vbox.tt .vb-in > iframe { left: -20%; top: -20%; width: 140%; height: 140%; }
.vb-cover { position: absolute; inset: 0; border: 0; background: transparent; cursor: pointer; display: grid; place-items: center; }
.vb-cover span { width: 64px; height: 64px; background: rgba(0,0,0,.55); color: #fff; font-size: 26px; display: grid; place-items: center; }
.vbox.tt[data-play="1"] .vb-cover span { opacity: 0; }
.vb-bar { display: flex; gap: 2px; background: #111; } .vb-bar button { flex: 1; border: 0; background: #111; color: #fff; padding: 8px; font-size: 15px; }
/* 인스타그램 공유 칸 = 위 프로필 줄(약 55px) + 4:5 영상 + 아래 좋아요 줄 → 칸을 4:5 로, 위 55px 잘라 영상만(iframe 은 길게 둬서 안쪽 스크롤 막대 안 생기게) */
.vbox.ig .vb-in { aspect-ratio: 4 / 5; }
.vbox.ig .vb-in > iframe { top: -55px; height: calc(100% + 55px + 420px); }
.vbox.ig { max-width: 360px; } .vbox.ig.sm { max-width: 240px; }

/* 일자리 카드: PC 한 줄 6장(2026-11-26 소유자) — 사진을 위에 크게(3:4), 글은 아래 */
.jgrid { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 8px; }
@media (max-width: 1060px) { .jgrid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 760px) { .jgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; } }
.jcard { padding: 0 0 8px; gap: 5px; }
.jc-h { flex-direction: column; align-items: stretch; gap: 6px; }
.jc-av { width: 100%; height: auto; aspect-ratio: 3 / 4; font-size: 44px; }
.jc-n { padding: 0 8px; } .jc-n b { font-size: 15px; } .jc-n small { font-size: 12px; }
.jc-v, .jc-j, .jc-m, .jc-f { margin: 0 8px; }
.jc-j span { font-size: 11px; padding: 1px 5px; }
.jc-m { font-size: 11px; }
.jc-f { font-size: 11px; }
@media (max-width: 760px) { .jc-av { width: 100%; height: auto; } }
/* 국기 = 사진 안이 아니라 나라 이름 오른쪽(2026-11-26 소유자) */
.jc-n small.jc-c .flg { display: inline-block; width: 18px; height: 13px; vertical-align: -2px; margin-left: 3px; }
/* 사진 최대 4장 — 올리기 칸·자기소개서 사진 줄 */
.phs-g { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; }
.ph-t { position: relative; aspect-ratio: 3 / 4; border: 1px solid #ccc; background: #f4f4f4; overflow: hidden; }
.ph-t img { width: 100%; height: 100%; object-fit: cover; }
.ph-t.add { display: flex; flex-direction: column; align-items: center; justify-content: center; border-style: dashed; font-size: 28px; color: #888; cursor: pointer; }
.ph-t.add small { font-size: 12px; }
.ph-x { position: absolute; top: 0; right: 0; border: 0; background: #222; color: #fff; width: 26px; height: 26px; font-size: 13px; }
.ph-main { position: absolute; left: 0; bottom: 0; background: #f0408a; color: #fff; font-style: normal; font-size: 11px; padding: 2px 6px; }
.ph-mk { position: absolute; left: 0; bottom: 0; border: 0; background: rgba(0,0,0,.6); color: #fff; font-size: 11px; padding: 3px 6px; }
.pgal { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin: 10px 0; }
.pg { border: 1px solid #ccc; padding: 0; background: #f4f4f4; aspect-ratio: 3 / 4; overflow: hidden; } .pg img { width: 100%; height: 100%; object-fit: cover; }
.phs-g, .pgal { max-width: 560px; }

/* 11-26 소유자: 휴대폰 머리줄 오른쪽 위 앱 설치 3D 단추(티커 방식). html.inst = bip.js(휴대폰 + 아직 설치 안 함), 동작 = js/install.js. PC·설치한 폰엔 안 보임 */
.inst-btn { display: none; }
html.inst .inst-btn { display: block; position: relative; flex: none; width: 42px; height: 44px; padding: 0; border: 0; background: none; touch-action: manipulation; -webkit-tap-highlight-color: transparent; }
.inst-btn img { position: absolute; left: 50%; top: 2px; width: 40px; height: 40px; margin-left: -20px; }
.inst-btn .inst-arrow { animation: jj-inst-bob 1.6s ease-in-out infinite; }
.inst-btn:active { transform: scale(.9); }
.inst-btn[aria-busy=true] { opacity: .6; } .inst-btn[aria-busy=true] .inst-arrow { animation: none; }
@keyframes jj-inst-bob { 0%,100% { transform: translateY(-3px); } 50% { transform: translateY(2px); } }
@media (prefers-reduced-motion: reduce) { .inst-btn .inst-arrow { animation: none; } }
@media (max-width: 359px) { html.inst .inst-btn { width: 36px; } .inst-btn img { width: 34px; height: 34px; margin-left: -17px; top: 5px; } }
.inst-app { display: flex; align-items: center; gap: 14px; padding: 4px 0 2px; }
.inst-app img { flex: none; width: 64px; height: 64px; border: 1px solid #ccc; }
.inst-app p, .inst-p { margin: 0; font-size: 1rem; line-height: 1.55; }
.inst-go[aria-busy=true] { opacity: .7; }
.instbar { display: none !important; }

/* 생활 안내 안 긴급 전화·안전 수칙 등으로 바로 갈 때 머리줄에 가리지 않게(11-26) */
#tels, #safe, #wage, #faq, #ask { scroll-margin-top: 120px; }
.legal-ko { margin-top: 16px; border-top: 1px solid #ccc; padding-top: 10px; } .legal-ko summary { cursor: pointer; font-weight: 700; color: var(--blue); padding: 8px 0; }
/* 회원 자세히(2026-11-26, XEX 회원 화면 짜임) — 각진 모양 */
.mhead { display:grid; grid-template-columns:84px 1fr; gap:14px; align-items:start; }
.mh-av { width:84px; height:84px; background:#f0408a; color:#fff; display:flex; align-items:center; justify-content:center; font-size:2rem; font-weight:800; overflow:hidden; }
.mh-av img { width:100%; height:100%; object-fit:cover; }
.mh-t h2 { margin:0 0 4px; font-size:1.25rem; } .mh-t p { margin:2px 0; }
.mh-acts { grid-column:1 / -1; border-top:1px solid var(--line); padding-top:10px; }
.malert { background:#fff4e5; border-left:4px solid #e8590c; padding:6px 10px; margin-top:6px; font-size:.9rem; }
.mtabs { display:flex; gap:0; overflow-x:auto; border-bottom:2px solid #f0408a; margin:16px 0 10px; scrollbar-width:none; }
.mtabs button { flex:none; border:1px solid #ccc; border-bottom:0; background:#f4f4f4; padding:8px 14px; font-weight:700; font-size:.9rem; margin-right:-1px; }
.mtabs button.on { background:#f0408a; color:#fff; border-color:#f0408a; }
.ok { color:#2f7d4a; }
@media (max-width:760px) { .mhead { grid-template-columns:64px 1fr; } .mh-av { width:64px; height:64px; font-size:1.5rem; } }
/* 11-26 번역 점검: 긴 공지 제목(한 줄 말줄임)·긴 언어(따갈로그·크메르·미얀마) 글이 칸을 밀어 폰 화면이 옆으로 넘치던 문제 — 칸이 글 길이만큼 커지지 않게 */
.cols { grid-template-columns: minmax(0, 1fr) 300px; } @media (max-width: 900px) { .cols { grid-template-columns: minmax(0, 1fr); } }
.colm, .cols-side, .notibox, .prev, .pv { min-width: 0; max-width: 100%; }
.prev { grid-template-columns: minmax(0, 1fr); }
.pv small { overflow-wrap: anywhere; }
/* ── 첫 화면 = 디시 메인 짜임(2026-11-26 소유자 「디시 메인과 동일한 구조」) — 사진 4칸 + 썸네일 목록 + 오른쪽 순위 상자, 둥근 모서리 없음 ── */
.bestbox { margin: 12px 0 14px; }
/* 인기글 위 = 새로 등록한 외국인 사진 6장(2026-11-26 소유자), 각진 칸 */
.nwbox { margin: 12px 0 4px; }
.nw-h { display: flex; align-items: center; justify-content: space-between; border-bottom: 2px solid #f0408a; padding: 4px 0 8px; }
.nw-h h3 { margin: 0; font-size: 18px; font-weight: 800; color: #f0408a; letter-spacing: -.03em; }
.nw-tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 10px; padding: 12px 0; border-bottom: 1px solid #ddd; }
.nw-tile { position: relative; display: block; aspect-ratio: 3 / 4; border: 1px solid #ccc; overflow: hidden; background: #f3f3f3; color: #fff; border-radius: 0; }
.nw-tile strong .flg { width: 18px; height: 13px; vertical-align: -1px; margin-right: 2px; }
.nw-tile > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.nw-tile strong { position: absolute; left: 0; right: 0; bottom: 0; padding: 5px 7px; background: rgba(0,0,0,.62); color: #fff; font-size: 13px; font-weight: 700; line-height: 1.35; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.nw-tile:hover strong { text-decoration: underline; }
@media (max-width: 760px) {
  .nw-h h3 { font-size: 16px; }
  .nw-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; padding: 10px 0; }
  .nw-tile strong { font-size: 12px; padding: 4px 5px; }
}
.bt-h { display: flex; align-items: center; gap: 14px; border-bottom: 2px solid #f0408a; padding: 4px 0 8px; flex-wrap: wrap; }
.bt-tab { background: none; border: 0; padding: 0; font: inherit; font-size: 18px; font-weight: 800; color: #f0408a; cursor: pointer; letter-spacing: -.03em; }
.bt-tab b { color: #ccc; font-size: 17px; } .bt-tab.on b { color: #e4141c; }
.bt-tab:not(.on) { color: #888; }
.bt-go { font-size: 14px; color: #333; font-weight: 700; } .bt-go b { color: #f0408a; font-size: 11px; }
.bt-rk { border: 1px solid #1b8a3a; color: #1b8a3a; background: #fff; font: inherit; font-size: 13px; font-weight: 700; padding: 2px 8px; cursor: pointer; }
.bt-pg { margin-left: auto; display: flex; align-items: center; gap: 0; font-size: 14px; color: #555; }
.bt-pg > span { margin-right: 10px; } .bt-pg b { color: #111; }
.bt-pg button { width: 24px; height: 24px; border: 1px solid #f0408a; background: #f0408a; color: #fff; font-size: 10px; cursor: pointer; padding: 0; }
.bt-pg button + button { border-left-color: #6d8ae0; }
.bt-tiles { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 15px; padding: 14px 0; border-bottom: 1px solid #ddd; }
.bt-tile { position: relative; display: block; aspect-ratio: 216 / 145; border: 1px solid #ccc; overflow: hidden; background: #f3f3f3; color: #fff; }
.bt-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.bt-txt { position: absolute; inset: 0; padding: 8px 9px; background: #fff; color: #555; font-size: 11px; line-height: 1.45; overflow: hidden; }
.bt-txt b { display: block; color: #f0408a; font-size: 12px; margin-bottom: 3px; }
.bt-tile strong { position: absolute; left: 0; right: 0; bottom: 0; padding: 7px 12px 6px; background: rgba(0,0,0,.62); color: #fff; font-size: 15px; font-weight: 700; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.bt-tile:hover strong { text-decoration: underline; }
.bt-pin { position: absolute; left: 2px; top: 0; font-style: normal; font-size: 18px; z-index: 1; }
.bt-row { display: grid; grid-template-columns: 93px minmax(0, 1fr) auto auto; align-items: center; gap: 0 16px; height: 48px; border-bottom: 1px solid #e5e5e5; color: #222; } /* 줄 높이 56→48(11-26 소유자: 위아래 15% 줄임) */
.bt-th { width: 93px; height: 42px; overflow: hidden; background: #fff; border: 1px solid #eee; position: relative; }
.bt-th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.bt-th i { position: absolute; inset: 0; padding: 3px 4px; font-style: normal; font-size: 6.5px; line-height: 1.35; color: #888; overflow: hidden; word-break: break-all; }
.bt-t { font-size: 17px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; letter-spacing: -.02em; }
.bt-t em { font-style: normal; color: #e4141c; font-weight: 400; font-size: 15px; }
.bt-row:hover .bt-t > span { text-decoration: underline; }
.bt-row:visited .bt-t > span { color: #770088; }
.bt-b, .bt-d { font-size: 14px; color: #666; white-space: nowrap; }
.bt-b { max-width: 130px; overflow: hidden; text-overflow: ellipsis; }
.bt-d { padding-left: 10px; border-left: 1px solid #ccc; line-height: 1; }
@media (max-width: 760px) {
  .bt-h { gap: 10px; } .bt-tab { font-size: 16px; } .bt-rk { display: none; }
  .bt-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; padding: 10px 0; }
  .bt-tile strong { font-size: 13px; padding: 5px 7px; }
  .bt-row { grid-template-columns: 72px minmax(0, 1fr); grid-template-rows: auto auto; height: auto; padding: 6px 0; gap: 2px 10px; }
  .bt-th { width: 72px; height: 39px; grid-row: 1 / 3; }
  .bt-t { font-size: 15px; white-space: normal; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .bt-b, .bt-d { font-size: 12px; } .bt-b { grid-column: 2; display: inline; } .bt-d { display: none; }
}
/* 로그인 상자 = 파란 테두리 */
.cols-side .loginbox { border: 1px solid #f0408a; padding: 18px 16px 12px; margin-top: 12px; }
.loginbox .lb-in .inp { min-height: 44px; background: #f3f3f3; border: 0; }
.loginbox .btn { width: 82px; font-size: 16px; }
/* 순위 상자(북적이는 게시판·HOT 뜨는 게시판) */
.cols-side .rkbox { padding: 0; border-color: #ccc; }
.rk-h { display: flex; align-items: center; justify-content: space-between; padding: 16px 16px 8px; }
.rk-h h3 { font-size: 17px; font-weight: 800; color: #111; letter-spacing: -.03em; } .rk-h h3 .red { color: #e4141c; }
.rk-t { display: flex; } .rk-t button { background: none; border: 0; border-left: 1px solid #ccc; padding: 0 7px; font: inherit; font-size: 13px; color: #555; cursor: pointer; line-height: 1; }
.rk-t button:first-child { border-left: 0; } .rk-t button.on { color: #f68b1f; text-decoration: underline; }
.rk-l { list-style: none; margin: 0; padding: 4px 16px 10px; }
.rk-l li { display: flex; align-items: center; gap: 10px; padding: 6px 0; font-size: 15px; }
.rk-l i { display: inline-grid; place-items: center; width: 19px; height: 19px; background: #f68b1f; color: #fff; font-style: normal; font-size: 12px; font-weight: 700; flex: none; }
.rk-l a { color: #222; flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.chg { font-size: 12px; color: #999; white-space: nowrap; } .chg b { font-size: 10px; }
.chg.up b { color: #e4141c; } .chg.dn b { color: #f0408a; }
.rk-f { background: #f3f3f3; border-top: 1px solid #e3e3e3; text-align: right; padding: 12px 16px; }
.rk-f .link { color: #555; font-size: 13px; text-decoration: underline; background: none; border: 0; cursor: pointer; }
.glinks { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } @media (max-width: 520px) { .glinks { grid-template-columns: minmax(0, 1fr); } .glinks a { white-space: normal; } }
.rk-h { gap: 6px; padding: 16px 12px 8px 16px; } .rk-h h3, .rk-t button { white-space: nowrap; } .rk-h h3 { font-size: 16px; } .rk-t button { padding: 0 5px; font-size: 12px; }
.bt-tile strong { max-height: calc(2.8em + 13px); } @media (max-width: 760px) { .bt-tile strong { max-height: calc(2.8em + 10px); } }
.bt-tile strong { display: block; max-height: none; -webkit-line-clamp: unset; } .bt-tile strong > span { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
/* 11-26 번역 점검: 몽골·러시아어 등 긴 탭 이름이 폰에서 넘침 → 좁으면 탭이 다음 줄로 */
.rk-h { flex-wrap: wrap; row-gap: 4px; } .rk-t { flex-wrap: wrap; min-width: 0; }

/* ── 생활 안내 새 짜임(11-27 소유자: 체크 삭제·분류별·누르면 자세히·외국인이 보기 쉽게 단순하게) ──
   글씨 = 제목 24 · 소제목 18 · 본문 16(줄 1.75) · 작은 글 14 네 단계, 누르는 줄은 56px 이상, 각진 모서리 */
.gd { max-width: 860px; margin: 0 auto; padding: 4px 0 24px; font-size: 16px; line-height: 1.75; color: #222; }
.gd section { margin: 0 0 28px; }
.gd-top { border-top: 3px solid var(--navy); padding: 16px 2px 14px; margin-bottom: 18px; border-bottom: 1px solid #ddd; }
.gd-top h2 { font-size: 24px; color: var(--navy); line-height: 1.35; letter-spacing: -.02em; }
.gd-top p { margin: 8px 0 0; font-size: 16px; color: #444; }
.gd-art .gd-ai { display: block; font-size: 40px; line-height: 1; margin-bottom: 8px; }
.gd-crumb { font-size: 14px; color: #777; margin: 6px 0 8px; } .gd-crumb a { color: #555; text-decoration: underline; text-underline-offset: 2px; } .gd-crumb b { color: #222; }
.gd-h { font-size: 18px; font-weight: 800; color: var(--navy); padding: 0 0 8px; margin: 0 0 4px; border-bottom: 2px solid var(--navy); line-height: 1.4; }
.gd-h.sm { font-size: 16px; margin-top: 28px; }
.gd-note { font-size: 14px; color: #666; margin: 8px 0; line-height: 1.6; }
.gd-disc { font-size: 13px; color: #888; margin: 18px 0; line-height: 1.6; }
/* 긴급 전화 = 2칸(폰 1칸), 112·119 는 빨간 테두리 */
.gd-tgrid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 24px; }
.gd-tel { display: flex; align-items: center; gap: 14px; min-height: 60px; padding: 10px 2px; border-bottom: 1px solid #e3e3e3; color: #222; }
.gd-tel b { flex: none; min-width: 104px; font-size: 20px; font-weight: 800; color: var(--red); letter-spacing: -.01em; }
.gd-tel span { flex: 1; min-width: 0; font-size: 16px; font-weight: 700; line-height: 1.4; }
.gd-tel small { display: block; font-size: 13px; font-weight: 400; color: #777; }
.gd-tel i { font-style: normal; font-size: 20px; flex: none; }
.gd-tel:hover span { text-decoration: underline; }
.gd-tel.hot b { font-size: 24px; }
/* 분류 목록 */
.gd-cats { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 0 24px; }
.gd-cat { display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 12px 2px; border-bottom: 1px solid #e3e3e3; color: #222; }
.gd-ci { font-size: 30px; width: 40px; text-align: center; flex: none; line-height: 1; }
.gd-ct { flex: 1; min-width: 0; } .gd-ct b { display: block; font-size: 17px; line-height: 1.4; } .gd-ct small { display: block; font-size: 14px; color: #777; line-height: 1.5; margin-top: 2px; }
.gd-cat em { font-style: normal; font-size: 13px; color: #fff; background: var(--navy); padding: 1px 8px; flex: none; }
.gd-cat > i, .gd-row > i { font-style: normal; font-size: 24px; color: #aaa; flex: none; }
.gd-cat:hover b, .gd-row:hover b { text-decoration: underline; }
.gd-cat.sos b { color: var(--red); } .gd-cat.sos em { background: var(--red); }
/* 분류 안 안내 목록 */
.gd-list { border-top: 1px solid #ccc; margin-bottom: 8px; }
.gd-row { display: flex; align-items: center; gap: 14px; min-height: 72px; padding: 14px 2px; border-bottom: 1px solid #e3e3e3; color: #222; }
.gd-ri { font-size: 26px; width: 36px; text-align: center; flex: none; line-height: 1; }
.gd-rt { flex: 1; min-width: 0; } .gd-rt b { display: block; font-size: 17px; line-height: 1.45; }
.gd-rt small { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; font-size: 14px; color: #666; line-height: 1.55; margin-top: 3px; }
.gd-sos3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; margin: 0 0 18px; }
.gd-sos3 a { border: 2px solid var(--red); text-align: center; padding: 10px 4px; color: #222; font-size: 14px; font-weight: 700; line-height: 1.35; }
.gd-sos3 b { display: block; font-size: 28px; color: var(--red); line-height: 1.2; }
.gd-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.gd-chips a { border: 1px solid #bbb; padding: 8px 12px; color: #333; font-size: 15px; background: #fff; }
.gd-chips a:hover { border-color: var(--navy); color: var(--navy); }
/* 자세히 */
.gd-steps { list-style: none; counter-reset: s; padding: 0; margin: 0; }
.gd-steps li { counter-increment: s; position: relative; padding: 12px 0 12px 42px; border-bottom: 1px dashed #ddd; font-size: 16px; }
.gd-steps li:last-child { border-bottom: 0; }
.gd-steps li::before { content: counter(s); position: absolute; left: 0; top: 13px; width: 28px; height: 28px; background: var(--navy); color: #fff; font-size: 15px; font-weight: 700; display: grid; place-items: center; line-height: 1; }
.gd-ul { margin: 8px 0 0; padding-left: 22px; } .gd-ul li { margin: 8px 0; font-size: 16px; }
.gd-sec.warn, .gd-box.warn { background: #fff6f5; border: 1px solid #f0c4bd; padding: 14px 16px 10px; }
.gd-sec.warn .gd-h, .gd-box.warn .gd-h { color: var(--red); border-bottom-color: var(--red); }
.gd-box { border: 1px solid #ddd; padding: 14px 16px 10px; }
.gd-big { font-size: 20px; font-weight: 800; color: var(--navy); margin: 10px 0 4px; }
.gd-tlist .gd-tel b { min-width: 116px; }
.gd-say { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 8px; }
.gd-say button { display: flex; flex-direction: column; align-items: flex-start; text-align: left; border: 1px solid #c8cbe0; background: #fdf7fa; padding: 12px 14px; min-height: 60px; cursor: pointer; }
.gd-say button b { font-size: 17px; color: #111; line-height: 1.45; } .gd-say button small { font-size: 14px; color: #666; line-height: 1.45; margin-top: 2px; }
.gd-say button:hover { border-color: var(--navy); }
.gd-link { display: block; padding: 12px 2px; border-bottom: 1px solid #eee; font-size: 16px; color: #d82f78; } .gd-link small { color: #999; font-size: 13px; }
.gd-sec.ask { background: #f6f6f6; padding: 14px 16px; } .gd-sec.ask .btn { min-height: 44px; font-size: 15px; margin: 4px 0 10px; }
.gd-qa { background: #fff; margin: 6px 0 4px; }
.gd-more { display: inline-block; font-size: 15px; color: #333; text-decoration: underline; padding: 6px 0; }
.gd-foot { display: flex; justify-content: space-between; align-items: center; border-top: 1px solid #ccc; padding: 12px 2px; font-size: 15px; }
.gd-foot a { color: #333; } .gd-foot .link { font-size: 15px; color: #333; }
#tels, #safe, #wage { scroll-margin-top: 120px; }
@media (max-width: 640px) {
  .gd { font-size: 16px; }
  .gd-top { padding: 12px 2px 12px; margin-bottom: 14px; } .gd-top h2 { font-size: 21px; }
  .gd-tgrid, .gd-cats, .gd-say { grid-template-columns: minmax(0, 1fr); }
  .gd-tel b { min-width: 92px; font-size: 19px; } .gd-tel.hot b { font-size: 22px; } .gd-tlist .gd-tel b { min-width: 98px; }
  .gd-cat { min-height: 70px; } .gd-ci { font-size: 26px; width: 34px; }
  .gd-sos3 b { font-size: 24px; } .gd-sos3 a { font-size: 13px; }
  .gd section { margin-bottom: 24px; }
}

/* ── 추천 코드(11-26 소유자): 친구 초대 /me/invite · 가입 첫 단계 · 프로필 숫자 — 각진 디자인 ── */
.inv-go { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 2px solid #f0408a; background: #fdf1f6; color: #222; text-decoration: none; }
.inv-go b { font-size: 16px; color: #f0408a; white-space: nowrap; }
.inv-go span { flex: 1; min-width: 0; font-size: 13px; color: #555; }
.inv-go .r-go { font-style: normal; font-size: 20px; color: #f0408a; }
.inv-code { margin: 14px auto 4px; padding: 14px 8px; max-width: 320px; text-align: center; font: 700 40px/1 ui-monospace, Menlo, Consolas, monospace; letter-spacing: 10px; text-indent: 10px; color: #f0408a; background: #fffbe6; border: 3px dashed #f0408a; user-select: all; }
.inv-month { margin: 10px 0 0; text-align: center; font-size: 14px; color: #f0408a; font-weight: 700; }
.inv-list { list-style: none; margin: 0; padding: 0; border-top: 2px solid #f0408a; }
.inv-list li { display: flex; align-items: center; gap: 6px; padding: 8px 4px; border-bottom: 1px solid #ddd; font-size: 14px; min-width: 0; }
.inv-list li a { color: #222; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.inv-list li time { margin-left: auto; font-size: 12px; color: #888; white-space: nowrap; }
.inv-list .red, .inv .red { color: #d11; font-size: 12px; }
.inv-in { font: 700 28px/1.2 ui-monospace, Menlo, Consolas, monospace !important; letter-spacing: 8px; text-transform: uppercase; }
.inv-line { margin: 8px 0; padding: 8px 12px; font-size: 14px; color: #f0408a; background: #fdf1f6; border: 1px solid #c9cfee; }
@media (max-width: 420px) { .inv-code { font-size: 32px; letter-spacing: 7px; text-indent: 7px; } .inv-go { flex-wrap: wrap; } .inv-go span { flex-basis: 100%; order: 3; } }

/* ── 댓글 스티커·사진(11-26 소유자: 틱톡·디시처럼 움직이는 그림 댓글) — 각진 모양 그대로 ── */
.cm-att { margin: 4px 0 2px; }
.cm-att .stk { width: 85px; height: 85px; display: block; }
.cm-att .cimgb { display: block; width: fit-content; padding: 0; border: 1px solid #ddd; background: #fff; cursor: zoom-in; max-width: 100%; line-height: 0; } /* 사진 크기에 딱 맞게 — 오른쪽 흰 공간 금지(11-26 소유자) */
.cm-att .cimg { display: block; max-width: 260px; max-height: 320px; width: auto; height: auto; }
.cf-att { position: relative; display: inline-block; margin-top: 6px; border: 1px solid #ccc; background: #fff; padding: 4px; }
.cf-att.hide { display: none; }
.cf-att .stk { width: 80px; height: 80px; display: block; }
.cf-att .cimg { display: block; max-width: 160px; max-height: 160px; }
.cf-att .rm { position: absolute; top: -1px; right: -1px; width: 26px; height: 26px; border: 1px solid #999; background: #fff; font-size: 13px; line-height: 1; cursor: pointer; }
.cf-tools { display: flex; gap: 4px; flex-wrap: wrap; min-width: 0; }
.cft { display: inline-flex; align-items: center; gap: 4px; min-height: 34px; padding: 4px 10px; border: 1px solid #bbb; background: #fff; font-size: 13px; color: #333; cursor: pointer; white-space: nowrap; }
.cft span { font-size: 17px; line-height: 1; }
.cft:hover { border-color: #f0408a; color: #f0408a; }
.cform > .hint { display: block; margin-top: 6px; }
.stkp { margin-top: 6px; border: 1px solid #bbb; background: #fff; }
.stkp.hide { display: none; }
.stk-tabs { display: flex; border-bottom: 1px solid #ddd; background: #f3f3f3; overflow-x: auto; }
.stk-tabs button { flex: none; width: 48px; height: 42px; display: grid; place-items: center; border: 0; border-right: 1px solid #ddd; background: transparent; font-size: 20px; cursor: pointer; }
.stk-tabs button.on { background: #fff; box-shadow: inset 0 -3px 0 #f0408a; }
.stk-g { display: grid; grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); gap: 2px; padding: 6px; max-height: 300px; overflow-y: auto; }
.stk-g.hide { display: none; }
.stk-g button { aspect-ratio: 1; display: grid; place-items: center; border: 0; background: transparent; padding: 4px; cursor: pointer; }
.stk-g button:hover { background: #eef0fa; }
.stk-g img { width: 100%; max-width: 64px; height: auto; }
.stk-cr { margin: 0; padding: 3px 8px; font-size: 10px; color: #999; border-top: 1px solid #eee; text-align: right; }

/* ── 프로필 사진(11-26 소유자): 글쓴이 줄 = 국기 · 사진 · 아이디, 각진 모양 ── */
.pav { display: inline-block; width: 18px; height: 18px; object-fit: cover; vertical-align: -4px; margin: 0 4px 0 3px; border: 1px solid #ccc; background: #e6e8ee; border-radius: 0; }
.pav0 { background: #e6e8ee url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Ccircle cx='10' cy='7.5' r='3.6' fill='%23a3a9b8'/%3E%3Cpath d='M3 19c.6-4 3.4-6 7-6s6.4 2 7 6z' fill='%23a3a9b8'/%3E%3C/svg%3E") center/100% no-repeat; }
.pav.lg { width: 76px; height: 76px; margin: 0; vertical-align: top; }
.pv-head { align-items: flex-start; }
.pv-av { position: relative; cursor: pointer; flex: none; line-height: 0; }
/* 프로필 사진 = 동그라미 + 연필(XEX 와 같은 모양, 2026-11-26 소유자 — 각진 규칙의 예외는 이 사진 칸만) */
.pv-av { background: none; border: 0; padding: 0; font: inherit; }
.pv-av .pav.lg { width: 96px; height: 96px; border: 0; }
.pv-pen { position: absolute; right: -2px; bottom: -2px; width: 34px; height: 34px; background: #2b2b2b; border: 2px solid #fff; display: grid; place-items: center; box-shadow: 0 1px 4px rgba(0,0,0,.3); }
.pv-av:hover .pv-pen { background: #000; }
.pv-txt { min-width: 0; } .pv-txt h2 .flg { width: 22px; height: 16px; vertical-align: -1px; }
.pv-btns { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; } .pv-btns .btn { width: auto; }
.ave canvas { display: block; width: 100%; max-width: 300px; aspect-ratio: 1; margin: 0 auto 6px; border: 1px solid #999; touch-action: none; cursor: grab; background: #fff; }
.ave-r { width: 100%; }
.ave-tools { display: grid; grid-template-columns: repeat(4, 1fr); gap: 6px; margin: 10px 0; } .ave-tools .btn { width: auto; padding-left: 4px; padding-right: 4px; } .ave-tools .btn.on { background: var(--navy); color: #fff; }
.co-doc { display: block; } .co-doc small { display: block; font-size: 12px; color: #555; padding: 2px 0 6px; }
.cdoc-now img { display: block; width: 100%; max-height: 320px; object-fit: contain; border: 1px solid #ccc; background: #f4f4f4; margin-top: 4px; }
/* 개인 | 기업 탭(11-26 소유자: 가입·로그인 처음에 나눔) — 각진 모양 */
.atabs { display: flex; border-bottom: 2px solid #f0408a; margin: 0 0 14px; }
.atabs a, .atabs button { flex: 1; text-align: center; padding: 10px 6px; font: inherit; font-size: 15px; font-weight: 700; color: #555; background: #f3f3f3; border: 1px solid #ccc; border-bottom: 0; border-radius: 0; text-decoration: none; cursor: pointer; }
.atabs a + a, .atabs button + button { border-left: 0; }
.atabs .on { background: #f0408a; color: #fff; border-color: #f0408a; }
.loginbox .lb-tabs { margin: 0 0 10px; } .loginbox .lb-tabs button { font-size: 14px; padding: 8px 4px; }
.lb-biz { font-size: 13px; color: #444; margin: 4px 0 10px; line-height: 1.5; }
.lb-bb { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; } .loginbox .lb-bb .btn { width: auto; min-height: 44px; font-size: 14px; display: flex; align-items: center; justify-content: center; }
.loginbox .lb-bb .btn.ghost { background: #fff; color: #f0408a; border: 1px solid #f0408a; }
.auth .roles { display: grid; gap: 8px; } .auth button.role { width: 100%; text-align: left; font: inherit; cursor: pointer; }

/* 댓글 글자 수 — 칸 오른쪽 아래 회색 작은 글씨(11-26 소유자) */
.ccnt { display: block; text-align: right; font-size: 12px; color: #999; margin-top: 2px; line-height: 1.2; }

/* ── 댓글 움짤(KLIPY) — 댓글 칸 누르면 인기 움짤 한 줄, 움짤 탭 = 찾기 + 격자(받은 순서 그대로) ── */
.gifb { display: inline-block; padding: 0 3px; border: 2px solid currentColor; font: 900 10px/14px sans-serif; letter-spacing: .5px; }
.gifstrip { margin-top: 6px; border: 1px solid #bbb; background: #fff; }
.gifstrip.hide { display: none; }
.gs-row { display: flex; gap: 3px; overflow-x: auto; padding: 4px; scroll-snap-type: x proximity; min-height: 96px; align-items: center; }
.gs-row .gt { flex: none; height: 92px; width: auto; max-width: 160px; scroll-snap-align: start; }
.gs-row .gt img { height: 92px; width: auto; max-width: 160px; object-fit: cover; }
.gs-more { flex: none; width: 70px; height: 92px; border: 1px dashed #999; background: #f7f7f7; font-size: 22px; display: grid; place-items: center; cursor: pointer; }
.gs-more small { font-size: 11px; display: block; }
.gt { padding: 0; border: 0; background: #eee; cursor: pointer; display: block; overflow: hidden; }
.gt:hover { outline: 2px solid #f0408a; outline-offset: -2px; }
.gif-q { display: flex; gap: 4px; padding: 6px; border-bottom: 1px solid #eee; }
.gif-q .inp { flex: 1; min-width: 0; min-height: 36px; padding: 4px 8px; }
/* 움짤 고르기 = PC 한 줄 10칸, 폰 4칸(11-26 소유자: 고를 때는 작아도 됨) */
.gif-g { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 3px; padding: 4px 6px; max-height: 380px; overflow-y: auto; }
@media (max-width: 760px) { .gif-g { grid-template-columns: repeat(6, minmax(0, 1fr)); } }
@media (max-width: 480px) { .gif-g { grid-template-columns: repeat(4, minmax(0, 1fr)); max-height: 340px; } }
.gif-g .gt { aspect-ratio: 1; }
.gif-g .gt img { width: 100%; height: 100%; object-fit: cover; display: block; }
.gif-g .gmore, .gif-g .hint { grid-column: 1 / -1; }
.gif-g .gmore { min-height: 38px; border: 1px solid #bbb; background: #fff; cursor: pointer; }
.kl-by { margin: 0; padding: 3px 8px; font-size: 10px; color: #888; border-top: 1px solid #eee; text-align: right; font-weight: 700; }
.cm-att img.cimg[alt="GIF"] { border: 1px solid #eee; }
.gif-q .btn { flex: none; width: auto; margin: 0; }

/* 댓글 단추 셋(움짤·스티커·사진) 크기·그림 자리 맞춤(11-26 소유자) */
.cf-tools { gap: 6px; }
.cft { height: 36px; min-height: 36px; min-width: 96px; padding: 0 12px; justify-content: center; gap: 6px; font-size: 14px; line-height: 1; }
.cft > span, .cft > .gifb { width: 26px; height: 20px; display: inline-flex; align-items: center; justify-content: center; flex: none; }
.cft > span { font-size: 18px; }
.cft > .gifb { width: auto; min-width: 26px; height: 18px; padding: 0 3px; font-size: 10px; line-height: 14px; }
@media (max-width: 420px) { .cft { min-width: 0; padding: 0 9px; font-size: 13px; } }

/* ── 쪽지(회원끼리 1:1, 11-26 소유자: 「아이디 누르면 쪽지 보내기, 출석부 채팅과 같은 기능, 짭스 분위기」) — pages-dm.js · ui.js whomenu ──
   각진 상자·남색 띠·노랑 「1」. 둥근 모서리 금지(프로필 사진·빙글이만 동그라미) */
.whomenu { position: absolute; z-index: 70; background: #fff; border: 1px solid var(--blue); box-shadow: 2px 2px 0 rgba(0,0,0,.18); min-width: 160px; font-size: 13px; }
.whomenu .wm-h { display: block; padding: 6px 10px; background: var(--blue2); border-bottom: 1px solid #e8c6d5; font-weight: 400; white-space: nowrap; }
.whomenu .wm-h b { font-weight: 700; }
.whomenu a { display: block; padding: 9px 12px; color: #222; border-bottom: 1px solid #eee; white-space: nowrap; }
.whomenu a:last-child { border-bottom: 0; } .whomenu a:hover, .whomenu a:focus { background: #f9eef3; outline: 0; }
.dm-go { margin: 12px 0 8px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* 쪽지함 */
.dm-box .bh h3 .cnt { font-size: 13px; font-weight: 400; margin-left: 2px; }
.dm-new { font-size: 12px; color: var(--red); } .dm-new b { font-weight: 800; }
.dm-rooms { list-style: none; margin: 0; padding: 0; }
.dr { display: flex; gap: 10px; align-items: center; padding: 10px 4px; border-bottom: 1px solid #e3e3e3; color: #222; }
.dr:hover { background: #fcf6f9; }
.dr .pav.dr-av { width: 44px; height: 44px; margin: 0; flex: none; }
.dr-t { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; }
.dr-n { font-size: 14px; } .dr-n b { font-weight: 400; } .dr.new .dr-n b { font-weight: 800; color: var(--navy); }
.dr-n .flg { width: 18px; height: 13px; margin-right: 4px; vertical-align: -1px; }
.dr-l { font-size: 13px; color: #777; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; } .dr.new .dr-l { color: #222; }
.dr-l em { font-style: normal; color: #999; }
.dr-r { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; }
.dr-r time { font-size: 11px; color: #999; }
.dr-u { font-style: normal; background: var(--red); color: #fff; font-size: 11px; font-weight: 700; min-width: 18px; height: 18px; line-height: 18px; padding: 0 5px; text-align: center; }
.dr.gone .dr-n { color: #aaa; }
/* 대화 */
.wrap.dm-page { padding-bottom: 0; }
.dmw { display: flex; flex-direction: column; max-width: 780px; margin: 6px auto 0; border: 1px solid #e6c3d2; background: #fff; min-height: 320px; }
.dm-head { display: flex; align-items: center; gap: 8px; padding: 7px 6px 7px 10px; background: var(--blue); color: #fff; flex: none; }
.dm-who { display: flex; align-items: center; gap: 6px; color: #fff; min-width: 0; }
.dm-who b { font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.dm-who .pav.dm-hav { width: 30px; height: 30px; margin: 0; border: 1px solid #fff; flex: none; }
.dm-who .flg { width: 20px; height: 14px; flex: none; }
.dm-boxlink { margin-left: auto; color: #fff; font-size: 12px; border: 1px solid rgba(255,255,255,.55); padding: 3px 8px; white-space: nowrap; }
.dm-menu { width: 40px; height: 34px; border: 0; background: transparent; color: #fff; font-size: 22px; line-height: 1; flex: none; }
.dm-safe { margin: 0; padding: 5px 10px; font-size: 12px; color: #6b5800; background: #fff8d9; border-bottom: 1px solid #ecdf9c; flex: none; }
.dm-warn { margin: 0; padding: 5px 10px; font-size: 12px; color: #a12a1c; background: #fdecea; flex: none; }
.dm-list { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; background: #f7edf2; padding: 6px 10px 14px; }
.dm-more { text-align: center; margin: 4px 0 6px; }
.dm-empty { text-align: center; padding: 44px 10px; color: #666; } .dm-empty .pav.lg { margin: 0 auto 8px; display: block; } .dm-empty p { margin: 4px 0; }
.dm-day { text-align: center; margin: 14px 0 8px; } .dm-day span { display: inline-block; font-size: 12px; color: #555; background: #fff; border: 1px solid #d5d8e6; padding: 2px 10px; }
.dm-row { display: flex; align-items: flex-end; gap: 6px; margin-top: 3px; }
.dm-row.f { margin-top: 10px; }
.dm-row.me { justify-content: flex-end; }
.dm-row.them { align-items: flex-start; }
.dm-av { width: 36px; flex: none; line-height: 0; } .dm-av .pav { width: 36px; height: 36px; margin: 0; }
.dm-tw { min-width: 0; max-width: 78%; display: flex; flex-direction: column; align-items: flex-start; }
.dm-n { font-size: 12px; color: #444; margin: 0 0 3px 1px; }
.dm-tl { display: flex; align-items: flex-end; gap: 5px; min-width: 0; max-width: 100%; }
.dm-c { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.dm-row.me .dm-c { max-width: 78%; align-items: flex-end; }
.dm-b { padding: 7px 11px; font-size: 15px; line-height: 1.45; border: 1px solid #c6c9d6; background: #fff; color: #111; cursor: pointer; max-width: 100%; }
.dm-b .pre { margin: 0; display: block; white-space: pre-wrap; }
.dm-row.me .dm-b { background: var(--blue); border-color: var(--blue); color: #fff; }
.dm-b.del, .dm-row.me .dm-b.del { background: #e7e7ea; border-color: #d8d8dc; color: #888; font-style: italic; cursor: default; font-size: 13px; }
.dm-row.sending .dm-b { opacity: .7; }
.dm-s { display: flex; flex-direction: column; gap: 1px; flex: none; font-size: 11px; color: #777; padding-bottom: 1px; }
.dm-row.me .dm-s { align-items: flex-end; } .dm-row.them .dm-s { align-items: flex-start; }
.dm-1 { font-style: normal; font-weight: 800; font-size: 12px; color: #d99a00; line-height: 1; }
.dm-tr { font-size: 11px; color: var(--blue); text-decoration: underline; white-space: nowrap; }
.dm-spin { display: inline-block; width: 13px; height: 13px; border: 2px solid #c9cde0; border-top-color: var(--blue); animation: sp .8s linear infinite; border-radius: 50% !important; }
.dm-x { font-style: normal; display: grid; place-items: center; width: 18px; height: 18px; background: var(--red); color: #fff; font-weight: 800; font-size: 12px; }
.dm-fail { display: flex; justify-content: flex-end; align-items: center; gap: 6px; margin: 4px 0 2px; font-size: 12px; color: var(--red); flex-wrap: wrap; }
.dm-ph { display: grid; gap: 2px; width: min(264px, 62vw); }
.dm-ph.c2 { grid-template-columns: repeat(2, 1fr); } .dm-ph.c3 { grid-template-columns: repeat(3, 1fr); }
.dm-ph.dim { opacity: .6; }
.dm-pi { border: 0; padding: 0; background: #d9dbe3; display: block; aspect-ratio: 1; overflow: hidden; cursor: zoom-in; }
.dm-ph.one { width: auto; max-width: min(264px, 62vw); } .dm-ph.one .dm-pi { max-height: 340px; width: min(264px, 62vw); }
.dm-pi img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* 입력칸 */
.dm-in { border-top: 2px solid var(--blue); background: #fff; padding: 6px 8px calc(6px + env(safe-area-inset-bottom)); flex: none; }
.dm-pick { display: none; gap: 6px; overflow-x: auto; padding: 4px 0 8px; } .dm-pick.on { display: flex; }
.dm-pk { position: relative; width: 64px; height: 64px; flex: none; border: 1px solid #ccc; background: #eee; display: grid; place-items: center; }
.dm-pk img { width: 100%; height: 100%; object-fit: cover; display: block; }
.dm-pk button { position: absolute; top: 0; right: 0; width: 22px; height: 22px; border: 0; background: rgba(0,0,0,.7); color: #fff; font-size: 12px; line-height: 1; padding: 0; }
.dm-bar { display: flex; align-items: flex-end; gap: 6px; }
.dm-cam { width: 44px; height: 44px; border: 1px solid #aaa; background: #f6f6f6; display: grid; place-items: center; font-size: 20px; cursor: pointer; flex: none; }
.dm-cam:hover { background: #f8e9f0; }
.dm-bar textarea { flex: 1; min-width: 0; min-height: 44px; max-height: 132px; resize: none; border: 1px solid #aaa; padding: 10px; font: 15px/1.45 var(--font); outline: none; background: #fff; }
.dm-bar textarea:focus { border-color: var(--blue); outline: 1px solid var(--blue); }
.dm-send { height: 44px; padding: 0 16px; background: var(--blue); color: #fff; border: 0; font-weight: 700; font-size: 14px; flex: none; }
.dm-send:disabled { background: #b8bccf; cursor: default; }
.dm-cnt { display: block; text-align: right; font-size: 11px; color: #888; margin-top: 3px; } .dm-cnt.bad { color: var(--red); font-weight: 700; }
.dm-cant { border-top: 2px solid var(--blue); background: #f6f6f8; padding: 12px; display: flex; align-items: center; justify-content: space-between; gap: 10px; font-size: 14px; flex: none; flex-wrap: wrap; }
.dm-cant p { margin: 0; flex: 1; min-width: 200px; }
/* 사진 크게 보기 */
.dmv { position: fixed; inset: 0; z-index: 300; background: rgba(0,0,0,.92); display: grid; place-items: center; }
.dmv img { max-width: 96vw; max-height: 86vh; object-fit: contain; }
.dmv button, .dmv a { position: absolute; border: 0; background: rgba(255,255,255,.14); color: #fff; display: grid; place-items: center; }
.dmv-x { top: max(10px, env(safe-area-inset-top)); right: 10px; width: 44px; height: 44px; font-size: 20px; }
.dmv-p, .dmv-n { top: 50%; transform: translateY(-50%); width: 48px; height: 72px; font-size: 38px; }
.dmv-p { left: 8px; } .dmv-n { right: 8px; }
.dmv-c { position: absolute; bottom: calc(16px + env(safe-area-inset-bottom)); left: 50%; transform: translateX(-50%); color: #fff; font-size: 13px; }
.dmv-d { bottom: calc(10px + env(safe-area-inset-bottom)); right: 10px; width: 44px; height: 44px; font-size: 18px; }
@media (max-width: 699px) {
  .wrap.dm-page { padding: 0; }
  .dmw { margin: 0; border-left: 0; border-right: 0; }
  .dm-boxlink { display: none; } .dm-menu { margin-left: auto; }
}
.dm-b a { color: var(--blue); text-decoration: underline; } .dm-row.me .dm-b a, .dm-row.me .dm-b .xlink { color: #fff; }
body:has(.dm-in) .toast, body:has(.dm-cant) .toast { bottom: calc(120px + env(safe-area-inset-bottom)); }
.dm-c .dm-tr { font-size: 11px; margin: -1px 0 0 2px; }
/* 쪽지함 두 칸(11-27 소유자: 「렌탈패밀리 채팅 틀 = 왼쪽 목록 + 오른쪽 대화, 디자인은 짭스 쪽지 화면」) — pages-dm.js .dm2
   PC 900px↑ = 두 칸, 폰 = .at-list 목록만 / .at-room 대화만. 한 칸짜리 목록 화면으로 되돌리지 말 것 */
.dm2 { display: flex; max-width: 1200px; margin: 6px auto 0; border: 1px solid #e6c3d2; background: #fff; min-height: 320px; }
.dm-side { width: 340px; flex: none; display: flex; flex-direction: column; min-height: 0; border-right: 1px solid #e6c3d2; background: #fff; }
.dm-sh { display: flex; align-items: center; justify-content: space-between; gap: 8px; min-height: 48px; padding: 0 12px; background: var(--blue); color: #fff; flex: none; }
.dm-sh h3 { margin: 0; font-size: 15px; font-weight: 700; color: #fff; }
.dm-sh .cnt { font-size: 13px; font-weight: 400; color: #d4d9f3; margin-left: 2px; }
.dm-sh .dm-new { color: #ffd84a; }
.dm-sl { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; position: relative; }
.dm-side .dr { padding: 10px 10px 10px 9px; border-left: 3px solid transparent; }
.dm-side .dr.on { background: #f7edf2; border-left-color: var(--blue); }
.dm-side .dr.on .dr-n b { font-weight: 800; color: var(--navy); }
.dm-side .empty { border: 0; }
.dm2 .dmw { flex: 1; min-width: 0; max-width: none; margin: 0; border: 0; height: auto; }
.dm-main { flex: 1; min-width: 0; display: grid; place-items: center; background: #f7edf2; }
.dm-pick0 { font-size: 64px; opacity: .22; }
@media (min-width: 900px) { .dm2 .dm-boxlink { display: none; } .dm2 .dm-menu { margin-left: auto; } }
@media (max-width: 899px) {
  .dm2.at-room .dm-side, .dm2.at-list .dm-main { display: none; }
  .dm2.at-room { max-width: 780px; }
  .dm2.at-list { display: block; min-height: 0; }
  .dm2.at-list .dm-side { width: auto; border-right: 0; }
}
@media (max-width: 699px) { .dm2 { margin: 0; border-left: 0; border-right: 0; } }
@media (pointer: coarse) { .whomenu { min-width: 190px; } .whomenu a { padding: 13px 14px; font-size: 15px; } }

/* 내 움짤(별표, 11-26 소유자) — 칸 오른쪽 위 별, 누르면 노란 ★ · 판 맨 위 「⭐ 내 움짤」 구역 */
.gif-sc { max-height: 400px; overflow-y: auto; }
.gif-sc .gif-g { max-height: none; overflow: visible; }
.gif-sec { padding: 6px 8px 2px; font-size: 13px; font-weight: 700; color: #333; }
.gif-sec small { color: #999; font-weight: 400; margin-left: 2px; }
.gif-sec.gfav { color: #b07d00; }
.gif-hint { margin: 2px 8px 6px; padding: 8px; font-size: 12px; color: #777; background: #fafafa; border: 1px dashed #ccc; }
.ystar { color: #FFC21A; }
.gif-g.gfav { padding-bottom: 6px; border-bottom: 1px solid #e3e3e3; }
.gtw { position: relative; }
.gif-g .gtw { aspect-ratio: 1; }
.gif-g .gtw .gt { width: 100%; height: 100%; aspect-ratio: auto; }
.gs-row .gtw { flex: none; height: 92px; scroll-snap-align: start; }
.gstar { position: absolute; top: 2px; right: 2px; width: 26px; height: 26px; display: grid; place-items: center; padding: 0; border: 0; background: rgba(0,0,0,.45); color: #fff; font-size: 17px; line-height: 1; cursor: pointer; z-index: 1; }
.gstar:hover { background: rgba(0,0,0,.7); }
.gstar.on { color: #FFC21A; background: rgba(0,0,0,.6); text-shadow: 0 0 2px #000; }
.gs-lab { flex: none; align-self: stretch; display: grid; place-items: center; width: 22px; font-size: 14px; background: #fff8e1; border: 1px solid #f0d78a; }
.gs-lab.hot { background: #f3f3f3; border-color: #ddd; }
@media (max-width: 480px) { .gstar { width: 24px; height: 24px; font-size: 15px; } }
.gs-lab { scroll-snap-align: start; }

/* 움짤 판 칸 = 첫 장면을 바탕에 깔아 바로 보이게(작은 미리보기가 오기 전) */
.gif-g .gt { background-color: #eee; background-size: cover; background-position: center; }
.gif-g .gmore .spin, .gif-g .gmore .spinner { margin: 0 auto; }
/* 댓글에 붙은 사진·움짤 크기(11-26 소유자): PC = 15% 줄임, 폰 = 20% 줄이고 화면 가로 반을 넘지 않게·왼쪽 정렬 */
.cm-att { text-align: left; }
.cm-att .cimg { max-width: 221px; max-height: 272px; }
@media (max-width: 760px) { .cm-att .cimg { max-width: min(208px, 50vw); max-height: 256px; } }

/* ── 머리줄 내 메뉴 = 아이디 메뉴(.whomenu)와 똑같이(11-26 소유자: 「1번 이미지로 동일하게, 아이콘 디자인 모든 것」) — ui.js util. 클래스 = .wmx(.whomenu 를 쓰면 closeWho 가 이 메뉴를 지워 버림) ──
   머리 = 국기·동그라미 사진·아이디(굵게), 👤 프로필 보기 · 🙂 내 정보 · 🚪 로그아웃. 옛 파란 테두리·그림자 목록으로 되돌리지 말 것 */
.util-in .um-btn .flg { width: 20px; height: 15px; flex: none; }
.util-in .um-list.wmx { top: calc(100% + 4px); right: 0; min-width: 160px; border: 1px solid var(--blue); box-shadow: 2px 2px 0 rgba(0,0,0,.18); font-size: 13px; text-align: left; }
.util-in .um-list.wmx .wm-h { display: block; padding: 6px 10px; background: var(--blue2); border-bottom: 1px solid #e8c6d5; font-weight: 400; white-space: nowrap; color: #333; }
.util-in .um-list.wmx .wm-h b { font-weight: 700; }
.util-in .um-list.wmx .wm-h .flg { vertical-align: -3px; }
.util-in .um-list.wmx a, .util-in .um-list.wmx button { display: block; width: 100%; padding: 9px 12px; border: 0; border-bottom: 1px solid #eee; background: #fff; color: #222; font-size: 13px; line-height: 1.2; text-align: left; white-space: nowrap; }
.util-in .um-list.wmx > :last-child { border-bottom: 0; }
.util-in .um-list.wmx a:hover, .util-in .um-list.wmx button:hover, .util-in .um-list.wmx a:focus, .util-in .um-list.wmx button:focus { background: #f9eef3; color: #222; outline: 0; }
@media (pointer: coarse) { .util-in .um-list.wmx { min-width: 190px; } .util-in .um-list.wmx a, .util-in .um-list.wmx button { padding: 13px 14px; font-size: 15px; } }

/* ── 글자 크기 통일(11-26 전검, 소유자: 「카테고리별 폰트·내용 크기 통일감」) ──
   화면마다 맨 위 제목이 18.4·19.2·20·20.8·21.6·24·25.6px 로 제각각이었음 → 세 단계로만:
   ① 화면 제목 PC 22 · 폰 19  ② 구역(상자) 제목 PC 17 · 폰 16  ③ 오른쪽 작은 상자 제목 14(디시식 옆 상자)
   첫 화면 소개(.land .hero)·글 제목(.post-t)·댓글 머리(.cmts .sec-t)는 따로 그대로. 이 덩어리는 맨 끝에 두고 위를 덮어씀 */
#app .bhead h2, #app .gd-top h2, #app .hero-co h2, #app .hero-ag h2, #app .legal h2, #app .su-h, #app .auth-h h2,
#app .coPend h2, #app .uhead h2, #app .prof-h h2, #app .ghead h2, #app .mh-t h2 {
  font-size: 22px; font-weight: 800; line-height: 1.3; letter-spacing: -.03em; }
#app .bh h3, #app .gd-h, #app .card h3, #app .fsec h3, #app .nw-h h3, #app .rk-h h3, #app .sh-head h3, #app .legal h3, #app .sec-t:not(.cmts .sec-t) {
  font-size: 17px; font-weight: 800; line-height: 1.35; letter-spacing: -.02em; }
#app .gd-h.sm { font-size: 16px; }
#app .cols-side .bh h3 { font-size: 14px; }
@media (max-width: 760px) {
  #app .bhead h2, #app .gd-top h2, #app .hero-co h2, #app .hero-ag h2, #app .legal h2, #app .su-h, #app .auth-h h2,
  #app .coPend h2, #app .uhead h2, #app .prof-h h2, #app .ghead h2, #app .mh-t h2 { font-size: 19px; }
  #app .bh h3, #app .gd-h, #app .card h3, #app .fsec h3, #app .nw-h h3, #app .rk-h h3, #app .sh-head h3, #app .legal h3, #app .sec-t:not(.cmts .sec-t) { font-size: 16px; }
  #app .gd-h.sm { font-size: 15px; }
}

/* ── 기업↔구직자 대화방 입력칸(11-26 전검) ──
   예전 아래 메뉴 띠(68px) 자리만큼 떠 있어서 폰은 입력칸 밑으로 메시지가 비치고, PC 는 560px 로 좁게 왼쪽에 떠서 메시지를 가렸음
   → 화면 맨 아래에 붙이고 본문(.wrap 1080)과 같은 폭. 메시지 목록 아래 여백도 입력칸 높이만큼 */
.composer { bottom: 0; padding-bottom: calc(8px + env(safe-area-inset-bottom)); max-width: 1080px; border-radius: 0; }
@media (min-width: 700px) { .composer { bottom: 0; border-radius: 0; border: 1px solid var(--line); border-bottom: 0; } }
.wrap.chat { padding-bottom: calc(150px + env(safe-area-inset-bottom)); }
body:has(.composer) .toast { bottom: calc(160px + env(safe-area-inset-bottom)); }
/* 인재 찾기 필터 줄: 옛 본문 여백 16px 기준으로 양옆을 당겨 폰에서 가로 4px 넘쳤음(지금 여백 12px) — 11-26 전검 */
.filters { margin: 0 -12px; padding-left: 12px; padding-right: 12px; }
/* 작은 글씨 최소 12px(11-26 전검: <small> 이 13px 의 0.83배 = 10.8px 로 대화방 머리·중개소 안내 등이 너무 작았음) */
#app small { font-size: max(12px, .83em); }
/* PC 화면 제목(ui.js shell .pc-pt) — 폰은 머리줄에 제목이 있어 숨김. 모양 = 게시판 머리(.bhead h2)와 같게 */
.pc-pt { display: none; }
@media (min-width: 761px) { #app .pc-pt { display: block; margin: 14px 0 12px; padding-bottom: 8px; border-bottom: 2px solid var(--navy); color: var(--navy); font-size: 22px; font-weight: 800; letter-spacing: -.03em; line-height: 1.3; } }

/* ── 11-27 일자리 공고(pages-posts.js) · 쪽지 사기 경고·받기 설정 — 각진 모양, 글씨 = 세 단계 규칙 ── */
.jtabs { display: flex; border-bottom: 1px solid #ccc; margin: 8px 0 4px; }
.jtabs a { flex: 1; text-align: center; padding: 9px 6px; font-size: 14px; font-weight: 700; color: #666; border: 1px solid transparent; border-bottom: 0; margin-bottom: -1px; }
.jtabs a.on { color: var(--navy); background: #fff; border-color: #ccc; border-top: 2px solid var(--navy); }
.fchip.ck { display: inline-flex; align-items: center; gap: 4px; cursor: pointer; } .fchip.ck input { margin: 0; }
.psafe { margin: 6px 0; padding: 6px 10px; font-size: 13px; color: #6b5800; background: #fff8d9; border: 1px solid #ecdf9c; }
.jp-list { border-top: 2px solid var(--navy); margin: 6px 0 12px; }
.jp-row { display: flex; gap: 10px; align-items: flex-start; padding: 10px 4px; border-bottom: 1px solid #ddd; color: #222; background: #fff; }
.jp-row:hover { background: #fcf6f9; }
.jp-i { flex: none; width: 40px; height: 40px; display: grid; place-items: center; font-size: 22px; background: #eef0f8; border: 1px solid #d6daec; }
.jp-m { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 2px; color: inherit; }
.jp-t { font-size: 15px; color: var(--navy); }
.jp-p { font-size: 17px; font-weight: 800; color: #c0392b; }
.jp-s, .jp-c { font-size: 13px; color: #555; overflow-wrap: anywhere; }
.jp-c em { font-style: normal; color: #999; }
.jp-tags { display: flex; flex-wrap: wrap; gap: 4px; }
.jp-tags i { font-style: normal; font-size: 12px; padding: 1px 6px; border: 1px solid #bcd3c4; background: #eef8f1; color: #1e6b3a; }
.jp-r { flex: none; display: flex; flex-direction: column; align-items: flex-end; gap: 4px; font-size: 12px; color: #888; max-width: 38%; text-align: right; }
.jp-b { flex: none; display: flex; gap: 4px; flex-wrap: wrap; justify-content: flex-end; max-width: 46%; }
.jp-row.mine.off { opacity: .65; }
.jp-fit { font-size: 12px; font-weight: 700; padding: 2px 6px; border: 1px solid; }
.jp-fit.fit-ok { color: #08784a; border-color: #9fd6b8; background: #ecf8f1; }
.jp-fit.fit-check { color: #8a5a00; border-color: #ecd08a; background: #fff8e6; }
.jp-fit.fit-no, .jp-fit.fit-notin { color: #b42318; border-color: #f0b4ae; background: #fdeeed; }
.pd .bh h3 { font-size: 17px; }
.pd-st { font-size: 13px; color: #fff; background: #888; padding: 2px 8px; }
.pd-pay { font-size: 22px; font-weight: 800; color: #c0392b; padding: 8px 12px 0; }
.pd-co { padding: 4px 12px 8px; font-size: 14px; } .pd-co small { color: #666; }
.pd-t { border-top: 1px solid #ddd; }
.pd-r { display: flex; gap: 10px; padding: 8px 12px; border-bottom: 1px solid #eee; font-size: 14px; }
.pd-r span { flex: none; width: 42%; color: #555; } .pd-r b { flex: 1; min-width: 0; overflow-wrap: anywhere; }
.jp-v { display: inline-block; margin: 0 4px 2px 0; padding: 0 6px; border: 1px solid #ecc4d5; background: #fcf2f6; font-size: 13px; }
.pd-d { padding: 8px 12px; margin: 0; font-size: 12px; color: #888; }
.pd-fit .pdf-p { margin: 0; padding: 4px 12px; font-size: 14px; } .pd-fit .pdf-p:last-child { padding-bottom: 10px; }
.pd-fit.fit-no, .pd-fit.fit-notin { border-color: #f0b4ae; } .pd-fit.fit-check { border-color: #ecd08a; }
.pd-act { display: flex; flex-direction: column; gap: 6px; margin: 10px 0; }
.apply-l { display: block; margin-top: 4px; font-size: 13px; color: var(--blue); text-decoration: underline; }
.dm-risk { margin-top: 3px; padding: 4px 7px; font-size: 12px; line-height: 1.35; color: #7a4d00; background: #fff4cc; border: 1px solid #ecd08a; max-width: 280px; }
.dm-rrep { border: 0; background: none; color: #b42318; font-size: 12px; font-weight: 700; padding: 0 0 0 4px; text-decoration: underline; }
.dm-sh .dm-set { margin-left: auto; border: 0; background: none; color: #fff; font-size: 16px; padding: 4px 2px; min-width: 32px; min-height: 32px; }
.sheet .menu button.on { font-weight: 800; color: var(--navy); }
@media (max-width: 760px) { .jp-p { font-size: 16px; } .pd-pay { font-size: 19px; } .jp-r { max-width: 34%; } .pd-r span { width: 38%; } }
/* 기업 /c 위 줄: 「내 공고」를 더해 단추 셋 → 긴 언어(tl·my) 폰에서 넘침(11-27) — 줄바꿈 */
.freeline .fl-r { flex-wrap: wrap; justify-content: flex-end; max-width: 100%; }
@media (max-width: 760px) { .freeline .fl-r a { padding: 5px 8px; } }

/* ── 일자리 사진 카드 .tc(2026-11-27 소유자 「디자인 전문가 입장에서 가장 효율적으로」) ──
   손님 /jobs · 기업 /c · 찜 /c/saved 공통(ui.js talentCard). 사진 3:4 위에 비자(왼쪽 위)·영상(그 아래)·찜(오른쪽 위),
   사진 아래 검은 띠 = 이름·나이·나라 → 사진 밑 글은 원하는 일·지역/한국어/경력·시작 시기/접속 세 덩어리만. PC 6칸·태블릿 4칸·폰 2칸(.jgrid) */
.jgrid > .empty, .jgrid > .spin { grid-column: 1 / -1; }
.tc { position: relative; display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid #ccc; }
.tc:hover { border-color: var(--blue); }
.tc-a { display: flex; flex-direction: column; flex: 1; min-width: 0; color: #222; }
.tc-ph { position: relative; aspect-ratio: 3 / 4; overflow: hidden; display: grid; place-items: center; color: #fff; }
.tc-ph > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.tc-i { font-size: 46px; font-weight: 800; margin-bottom: 36px; }
.tc-visa { position: absolute; left: 6px; top: 6px; font-size: 11px !important; padding: 2px 6px !important; box-shadow: 0 0 0 1px rgba(0,0,0,.12); }
.tc-vd { position: absolute; left: 6px; top: 30px; font-size: 11px; font-weight: 700; color: #fff; background: #111; padding: 2px 6px; }
.tc-nm { position: absolute; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,.66); color: #fff; padding: 5px 8px 6px; line-height: 1.25; text-align: left; }
.tc-nm b { display: block; font-size: 15px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc-nm small { display: block; font-size: 12px !important; color: #eee; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc-nm .flg { width: 16px; height: 12px; vertical-align: -1px; box-shadow: 0 0 0 1px rgba(255,255,255,.4); }
.tc-b { display: flex; flex-direction: column; gap: 5px; flex: 1; padding: 7px 8px 8px; }
.tc-j { display: flex; flex-wrap: wrap; gap: 3px; max-height: 40px; overflow: hidden; }
.tc-j span { background: #f8e9f0; color: #d0246c; font-size: 12px; font-weight: 600; padding: 1px 6px; white-space: nowrap; }
.tc-m { display: flex; flex-direction: column; gap: 1px; font-size: 12px; color: #555; }
.tc-m span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc-m .kdots i { width: 6px; height: 6px; }
.tc-f { display: flex; justify-content: space-between; gap: 4px; margin-top: auto; padding-top: 5px; border-top: 1px dashed #ddd; font-size: 12px; color: #777; }
.tc-f span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc-f .now { color: #2f7d4a; font-weight: 700; } .tc-f .act.today { color: #2f7d4a; }
.tc-t { display: flex; flex-wrap: wrap; gap: 4px; font-size: 11px; }
.tc-ag { color: #5b4a9e; border: 1px solid #c9bff0; padding: 0 5px; max-width: 100%; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tc-fav { top: 4px !important; right: 4px !important; left: auto !important; width: 36px !important; height: 36px !important; z-index: 2; display: grid; place-items: center; padding: 0; background: rgba(255,255,255,.92) !important; border: 1px solid #bbb !important; font-size: 20px !important; color: #999; }
.tc-fav.on { color: var(--red); }
@media (max-width: 760px) { .tc-nm b { font-size: 14px; } .tc-b { padding: 6px 7px 7px; } }

/* ── 구직자 상세 .pf(2026-11-27 소유자: 영상·사진 크기·간격 전체를 알맞게) — pages-worker.js profileView ──
   PC: 왼쪽 사진 300px(큰 사진 3:4 + 작은 사진 4칸) | 오른쪽 이름·태그·핵심 정보 3칸 격자·원하는 일·기술
       아래 줄: 세로 영상 = 사진과 같은 300px 왼쪽 + 자기소개 오른쪽 / 가로 영상 = 넓게(720) 위 + 글 아래
   폰: 사진 112px 왼쪽 + 이름·태그 오른쪽, 정보 2칸 격자, 영상 가운데 */
.pf { padding: 18px 20px; }
.pf-top { display: grid; grid-template-columns: 300px minmax(0, 1fr); grid-template-areas: "media head" "media tags" "media facts" "media more"; grid-template-rows: auto auto auto 1fr; column-gap: 24px; align-items: start; }
.pf .prof-h { grid-area: head; display: block; margin: 0 0 6px; }
.pf .prof-h .sub { margin-top: 2px; }
.pf-media { grid-area: media; min-width: 0; }
.pf-tags { grid-area: tags; margin: 4px 0 12px !important; }
.pf-facts { grid-area: facts; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px; }
.pf-more { grid-area: more; min-width: 0; }
.pf-f { min-width: 0; border: 1px solid #e3e3e3; background: #fafafa; padding: 8px 10px; }
.pf-f span { display: block; font-size: 12px; color: #777; margin-bottom: 2px; }
.pf-f b { display: block; font-size: 15px; color: #222; overflow-wrap: anywhere; }
.pf h4 { font-size: 14px; font-weight: 800; color: var(--navy); margin: 16px 0 6px; }
.pf .chips.static { gap: 6px; }
.pf-main { position: relative; display: grid; place-items: center; width: 100%; aspect-ratio: 3 / 4; padding: 0; border: 1px solid #ddd; background: #f4e6ed; overflow: hidden; cursor: zoom-in; }
.pf-main > img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pf-init { font-size: 72px; font-weight: 800; color: #8a93b8; }
.pf-main .av-flag { position: absolute; left: 6px; bottom: 6px; right: auto; z-index: 1; }
.pf-main .av-flag img.flg { width: 26px; height: 19px; }
.pf-ths { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 6px; margin-top: 6px; }
.pf-th { padding: 0; border: 2px solid transparent; outline: 1px solid #ddd; aspect-ratio: 3 / 4; overflow: hidden; background: #f4f4f4; cursor: pointer; }
.pf-th.on { border-color: var(--blue); outline-color: var(--blue); }
.pf-th img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pf-go { border: 0; background: #111 !important; color: #fff; font: inherit; font-size: .85rem; font-weight: 700; cursor: pointer; }
.pf-bot { display: grid; column-gap: 24px; align-items: start; margin-top: 18px; border-top: 1px solid #e3e3e3; }
.pf-bot.tall { grid-template-columns: 300px minmax(0, 1fr); }
.pf-bot.wide, .pf-bot.nov { grid-template-columns: minmax(0, 1fr); }
.pf-v { min-width: 0; scroll-margin: 80px; }
.pf-v .vbox { margin: 0; }
.pf-bot.tall .pf-v .vbox { max-width: 300px; }
.pf-bot.wide .pf-v .vbox { max-width: 720px; }
.pf-txt { min-width: 0; }
.pf-txt .pre { font-size: 15px; line-height: 1.65; color: #333; margin: 0; }
.pf-tr { display: inline-block; margin-top: 6px; }
.pf .agbox { margin-top: 16px; }
@media (max-width: 760px) {
  .pf { padding: 12px; }
  .pf-top { grid-template-columns: 112px minmax(0, 1fr); grid-template-areas: "media head" "media tags" "facts facts" "more more"; grid-template-rows: auto 1fr auto auto; column-gap: 12px; }
  .pf-tags { margin: 2px 0 0 !important; align-self: start; }
  .pf-tags .vtag, .pf-tags .tag { font-size: 12px !important; padding: 3px 7px !important; }
  .pf-ths { gap: 3px; margin-top: 3px; }
  .pf-th { border-width: 1px; }
  .pf-init { font-size: 40px; }
  .pf-main .av-flag img.flg { width: 20px; height: 15px; }
  .pf-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-top: 12px; }
  .pf-f { padding: 7px 8px; } .pf-f b { font-size: 14px; }
  .pf h4 { margin: 14px 0 6px; }
  .pf-bot.tall { grid-template-columns: minmax(0, 1fr); }
  .pf-v .vbox { margin: 0 auto; }
  .pf-bot.tall .pf-v .vbox { max-width: min(300px, 100%); }
}

/* 틱톡 재생/정지 덮개(11-27 「다시 누르면 멈춰야」): 첫 재생 전엔 틱톡 칸을 직접 누르게(소리 허락), 재생된 뒤부터 덮개가 받음 */
.vbox.tt .vb-cover { z-index: 2; pointer-events: none; }
.vbox.tt[data-armed="1"] .vb-cover { pointer-events: auto; }
.vbox.tt .vb-cover span { display: none; }
.vbox.tt[data-armed="1"][data-play="0"] .vb-cover span { display: grid; opacity: 1; }

/* ── 11-29 외국인 입장 2차(소유자 「모든 부분을 충족하게」): 나라방·일 찾아요·이름 숨기기·번호 없이 질문·회사 평가 ── */
.qlinks { display: flex; flex-wrap: wrap; gap: 0; border: 1px solid #ccc; border-top: 0; background: #fff; }
.qlinks a { flex: 1 1 auto; text-align: center; padding: 8px 10px; font-size: 13px; font-weight: 700; color: var(--navy); border-right: 1px solid #e3e3e3; white-space: nowrap; }
.qlinks a:last-child { border-right: 0; }
.qlinks a:hover { background: #f3f5fb; }
.rooms { border-top: 2px solid var(--navy); }
.room { display: flex; align-items: center; gap: 10px; padding: 11px 8px; border-bottom: 1px solid #e3e3e3; color: #222; }
.room:hover { background: #fdf7fa; }
.room.mine { background: #f3f6ff; }
.room .rm-f .flg, .room .rm-f img { width: 28px; height: 21px; }
.room .rm-t { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.room .rm-t b { font-size: 15px; } .room .rm-t small { color: #777; font-size: 12px; }
.room .tg { font-size: 12px; padding: 2px 6px; border: 1px solid var(--blue); color: var(--blue); }
.gq-link { display: block; margin: 12px 0 0; padding: 10px 12px; border: 1px dashed #b9c3e6; background: #f7f9ff; font-size: 14px; color: #333; text-align: center; }
.gq-link b { color: var(--navy); }
.gq-st { font-size: 16px; margin: 6px 0 10px; } .gq-st.st-ok b { color: #08784A; } .gq-st.st-no b { color: var(--red); }
.seekbox p { margin: 0 0 6px; } .seekbox .btn { margin: 2px 0 8px; }
.anonbox .check b { font-size: 15px; } .anonbox .hint { margin: 4px 0 0; }
.who.anon { color: #555; } .who.anon b { font-weight: 700; }
.ic.seekp { font-style: normal; font-size: 11px; color: #08784A; border: 1px solid #9bd3b5; padding: 0 4px; margin-left: 4px; white-space: nowrap; }
.ic.anon { font-style: normal; margin-left: 3px; }
.sec-t.olang { margin-top: 18px; } .sec-t.olang small { display: block; font-weight: 400; color: #777; font-size: 12px; margin-top: 2px; }
.wpriv h4 { margin: 0 0 6px; font-size: 15px; } .wpriv .bul { margin: 0; }
.jtabs.three a { font-size: 13px; padding: 9px 4px; }
.rvbox .rv-avg { font-size: 15px; margin: 4px 0 8px; color: #333; } .rvbox .rv-avg b { color: var(--navy); }
.rv-tags { display: flex; flex-wrap: wrap; gap: 5px; margin: 0 0 6px; }
.rv-t { font-style: normal; font-size: 12px; padding: 2px 7px; border: 1px solid #cfe7da; background: #f2faf5; color: #136b40; }
.rv-tags.bad .rv-t { border-color: #f1c9c9; background: #fdf3f3; color: #a12a2a; }
.rv-t b { margin-left: 2px; }
.rv-stars { display: flex; gap: 4px; margin: 2px 0 10px; }
.rv-stars button { font-size: 30px; line-height: 1; padding: 2px 4px; color: #ccc; background: none; border: 1px solid #ddd; }
.rv-stars button.on { color: #f5a400; border-color: #f5c860; background: #fffaf0; }
@media (max-width: 600px) { .qlinks a { flex: 1 1 50%; border-bottom: 1px solid #e3e3e3; } }
