/* 2026-10-17 태성: "자료에 있는 기능들 싹 다 최신화 디자인 — 과거의 잔재 디자인은 다 삭제"
   예전 공개 페이지(베이지 종이 바탕·검은 버튼)를 리앤메 새 화면(시안 01: 흰 바탕·초록 #00C471·토스 느낌)으로 덮어씀.
   페이지마다 고치지 않고 공통 변수(--paper/--ink/--line…)와 버튼·칩·카드만 바꿈. 각 페이지 <head> 맨 끝에서 불러옴. */
:root{--paper:#FFFFFF;--white:#FFFFFF;--ink:#191F28;--muted:#6B7684;--line:#E5E8EB;--green:#00A85A;--deep:#00714A;--brown:#4E5968;--sage:#F2F4F6;--accent:#00A85A;--wm-ac:#00C471;--wm-acs:#E5F8EE;--wm-aci:#00714A}
:where(html:not(.wt-page)),:where(html:not(.wt-page)) body{background:#FFFFFF!important;color:#191F28}
body{font-family:Pretendard,'Noto Sans KR',-apple-system,BlinkMacSystemFont,'Segoe UI','Malgun Gothic',sans-serif!important;-webkit-font-smoothing:antialiased}
h1,h2,h3{color:#191F28;letter-spacing:-.02em}
.eyebrow{color:var(--wm-ac)!important;letter-spacing:.08em}
.sub,.lead,.hint,.muted{color:#6B7684}
/* 카드 */
.card,section.card,.tile{background:#fff!important;border:1px solid #EEF0F2!important;border-radius:20px!important;box-shadow:0 4px 18px rgba(25,31,40,.04)!important}
/* 버튼: 검은 버튼 없음 → 주 버튼 초록, 보조는 흰 바탕 (littly.css의 "body .btn … !important"보다 세게) */
html body .btn,html body a.btn,html body button.btn{border-radius:14px!important;font-weight:700!important;box-shadow:none!important}
html body .btn:not(.ghost):not(.line):not(.lime):not(.wmx),html body .btn.lime,html body .pill.primary,html body button.primary,html body .ly-auth .la-main{background:#00C471!important;color:#fff!important;border:0!important}
html body .btn:not(.ghost):not(.line):hover,html body .btn.lime:hover{filter:brightness(.96)}
html body .btn.ghost,html body .btn.line,html body .pill:not(.primary),html body .ly-auth .la-sub{background:#fff!important;color:#333D4B!important;border:1px solid #E5E8EB!important}
html body .btn:disabled,html body .btn[disabled]{background:#B7EBD2!important;color:#fff!important;border-color:#B7EBD2!important;cursor:default;opacity:1!important}
html body .btn:active{transform:scale(.98)}
/* 칩·선택 */
html body .chips button,html body .seg button{border:1px solid #E5E8EB!important;background:#fff!important;color:#4E5968!important;border-radius:999px!important}
html body .chips button.on,html body .seg button.on,html body button.on{background:var(--wm-acs)!important;color:var(--wm-aci)!important;border-color:#A7E6C6!important}
/* 입력 */
:where(html:not(.wt-page)) :is(input[type=text],input[type=number],input[type=email],input[type=tel],input[type=url],input:not([type]),textarea,select){border:1px solid #E5E8EB!important;border-radius:12px!important;background:#F9FAFB!important;color:#191F28}
:where(html:not(.wt-page)) :is(input,textarea,select):focus{outline:none!important;border-color:var(--wm-ac)!important;box-shadow:0 0 0 3px #00C47122!important;background:#fff!important}
:where(html:not(.wt-page)) input[type=range]{accent-color:var(--wm-ac)}
input[type=checkbox],input[type=radio]{accent-color:var(--wm-ac)}
/* 끌어 놓기 칸 */
.drop{background:#F7FBF9!important;border:1.5px dashed #A7E6C6!important;border-radius:16px!important;color:#4E5968!important}
.drop.on{background:var(--wm-acs)!important}
/* 강조 표시(노랑 형광) → 연한 초록 */
.hl,mark{background:linear-gradient(transparent 60%,#C8F5DD 60%)!important;color:inherit}
/* 맨 위 예전 로고 줄(로그인한 회원은 리앤메 위 줄이 대신 나옴) */
body.lm-on .top{display:none!important}
/* 2026-10-18 태성: 작은 도구 — 지금 리앤메 성격(짧은 말·영어 라벨 없음·그림 아이콘)에 맞춤 */
html body .eyebrow{display:none!important}
html body main>h1{font-size:28px!important;letter-spacing:-.03em!important;margin:4px 0 6px!important}
html body main>.sub{font-size:15px!important;color:#6B7684!important;margin:0 0 20px!important}
html body .tools{grid-template-columns:repeat(auto-fill,minmax(200px,1fr))!important;gap:12px!important}
html body .tools a{display:flex!important;flex-direction:column;gap:2px;border:0!important;box-shadow:0 0 0 1px #EEF0F2,0 6px 18px rgba(25,31,40,.04)!important;border-radius:20px!important;padding:18px!important}
html body .tools a i.ti{display:block;width:44px;height:44px;margin-bottom:8px}
html body .tools a i.ti svg{width:44px;height:44px;display:block;overflow:visible;filter:drop-shadow(0 2px 2px rgba(25,31,40,.14)) drop-shadow(0 5px 8px rgba(25,31,40,.10))}
html body .tools b{font-size:16px!important;font-weight:800!important;color:#191F28!important}
html body .tools span{font-size:13px!important;color:#8B95A1!important}
/* 2026-11-21 사장님 승인 시안(m46 6·7번): 작은 도구 공용 틀 — <html class="wt-page"> 페이지에만.
   연보라 바탕 · 흰 카드(얇은 층 그림자) · 제목 띠(색 아이콘 타일 + 첫 단어 굵게) · 도구 색은 보라, 애드포스트는 금색(wt-gold).
   초록은 '행동' 버튼(wt-cta)에만. 선택 표시는 .sel(공용 .on 초록 규칙과 겹치지 않게). */
html.wt-page{--k:#7253F5;--f:#E1D8FF;--a:#FF8FB0;--t1:#F2EDFF;--t2:#E9E1FF;--s1:#7253F5;--s2:#B39BFF;--ink:#191F28;--ink2:#4E5968;--mute:#8B8799;--line:#EEEAF6;
 --hl:inset 0 1px 0 rgba(255,255,255,.95);--near:0 1px 2px rgba(50,30,110,.07);--far:0 16px 32px -18px rgba(114,83,245,.3);--wt-sh:var(--hl),var(--near),var(--far);background:#F8F6FD}
html.wt-page.wt-gold{--k:#D98A00;--f:#FFE3A3;--t1:#FFF6E0;--t2:#FFEDC2;--s1:#F5A524;--s2:#FFC85C;--far:0 16px 32px -18px rgba(245,165,36,.3)}
html.wt-page body{margin:0;background:#F8F6FD;color:var(--ink);line-height:1.6;word-break:keep-all;font-family:'Noto Sans KR',Pretendard,-apple-system,BlinkMacSystemFont,'Malgun Gothic',sans-serif!important;letter-spacing:-.01em}
html.wt-page :where(*,*:before,*:after){box-sizing:border-box}
html.wt-page [hidden]{display:none!important}
:where(html.wt-page) a{color:inherit}
:where(html.wt-page) button{font:inherit;cursor:pointer}
:where(html.wt-page) main{max-width:760px;margin:0 auto;padding:0 0 24px}
.wt-c-pink{--k:#E8457A;--f:#FFD3E3;--t1:#FFEAF2;--t2:#FFE1EC;--s1:#F0508A;--s2:#FF9AC0}
.wt-c-sky{--k:#2F7BF0;--f:#CFE3FF;--t1:#EAF3FF;--t2:#DCEBFF;--s1:#2F7BF0;--s2:#7DBBFF}
.wt-c-green{--k:#00A862;--f:#BFF3DA;--t1:#E5FCEF;--t2:#D3F8EE;--s1:#00C471;--s2:#3BE6CC}
.wt-c-violet{--k:#7253F5;--f:#E1D8FF;--t1:#F2EDFF;--t2:#E9E1FF;--s1:#7253F5;--s2:#B39BFF}
/* 스티커 아이콘 */
.wt-tile{display:grid;place-items:center;flex:none;border-radius:14px;background:linear-gradient(160deg,#fff,var(--t1));box-shadow:inset 0 1px 0 #fff,inset 0 -8px 14px -10px color-mix(in srgb,var(--s1) 35%,transparent),0 8px 14px -10px color-mix(in srgb,var(--s1) 55%,transparent)}
.wt-tile .ri{width:24px;height:24px;display:block;overflow:visible;--k:#fff;--f:var(--s1);--a:#FFE27A;--sw:2.1;rotate:-3deg;filter:drop-shadow(1.7px 0 0 #fff) drop-shadow(-1.7px 0 0 #fff) drop-shadow(0 1.7px 0 #fff) drop-shadow(0 -1.7px 0 #fff) drop-shadow(0 3px 4px rgba(40,30,90,.22));transition:rotate .45s cubic-bezier(.34,1.56,.64,1)}
*:hover>.wt-tile .ri{rotate:0deg}
/* 제목 띠: 아이콘 타일이 띠 위로 살짝 튀어나옴 */
.wt-band{display:flex;align-items:center;gap:10px;margin:26px 0 8px;padding:10px 12px;border-radius:20px;background:linear-gradient(100deg,var(--t1),rgba(255,255,255,.7) 75%);box-shadow:var(--hl),var(--near)}
.wt-band .wt-tile{width:40px;height:40px;border-radius:12px;margin-top:-26px}
.wt-band h1{margin:0;font-size:20px;line-height:1.3;font-weight:400;letter-spacing:-.03em;color:var(--ink)}
.wt-band h1 b{font-weight:700}
.wt-sub{margin:0 2px 14px;font-size:13px;font-weight:500;color:var(--mute)}
/* 카드 */
.wt-card{margin:0 0 12px;padding:14px;border-radius:22px;background:linear-gradient(180deg,#fff,color-mix(in srgb,var(--s1) 3%,#fff));box-shadow:var(--wt-sh)}
.wt-card>h2{margin:0 0 10px;font-size:14px;font-weight:700;color:var(--ink);display:flex;align-items:center;gap:6px}
.wt-opt{display:grid;gap:12px}
.wt-row{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:14px;font-weight:600;color:var(--ink);min-height:24px}
.wt-row small,.wt-row output{color:var(--mute);font-weight:500;font-size:12px}
.wt-row .wt-seg{width:190px;flex:none}
/* 파일 고르기 칸 */
.wt-drop{margin:0 0 12px;min-height:150px;border-radius:24px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;padding:16px;text-align:center;cursor:pointer;background:linear-gradient(160deg,var(--t1),#fff);box-shadow:inset 0 0 0 1.5px var(--f),0 14px 26px -18px color-mix(in srgb,var(--s1) 50%,transparent);transition:transform .2s}
.wt-drop:hover{transform:translateY(-1px)}
.wt-drop .wt-tile{width:58px;height:58px;border-radius:20px;background:#fff;margin-bottom:2px}
.wt-drop .wt-tile .ri{width:34px;height:34px}
.wt-drop b{font-size:15px;font-weight:700;color:var(--k)}
.wt-drop small{font-size:12px;color:var(--mute)}
.wt-drop.drag,.wt-drop:focus-visible{outline:3px dashed var(--s1);outline-offset:-8px}
/* 나눔 선택 단추 */
.wt-seg{display:flex;padding:3px;border-radius:12px;background:#F1ECFA}
.wt-seg button{flex:1;min-width:0;height:34px;border:0;border-radius:10px;background:transparent;font-size:13px;font-weight:700;color:var(--mute);white-space:nowrap;padding:0 6px;transition:background .2s,color .2s}
.wt-seg button.sel{background:#fff;color:var(--k);box-shadow:0 4px 10px -6px rgba(110,60,190,.5)}
/* 켜고 끄기 */
input.wt-sw{appearance:none;-webkit-appearance:none;margin:0;width:42px;height:24px;border-radius:99px;background:#E3DEEE;position:relative;flex:none;cursor:pointer;transition:background .2s}
input.wt-sw:after{content:"";position:absolute;left:3px;top:3px;width:18px;height:18px;border-radius:50%;background:#fff;box-shadow:0 2px 4px rgba(0,0,0,.2);transition:transform .25s cubic-bezier(.34,1.56,.64,1)}
input.wt-sw:checked{background:linear-gradient(110deg,var(--s1),var(--s2))}
input.wt-sw:checked:after{transform:translateX(18px)}
input.wt-sw:focus-visible{outline:2px solid var(--s1);outline-offset:2px}
/* 밀대(차오른 만큼 보라) — --p 는 페이지 스크립트가 채움 */
input.wt-range{appearance:none;-webkit-appearance:none;width:100%;height:18px;margin:0;background:transparent;cursor:pointer}
input.wt-range::-webkit-slider-runnable-track{height:6px;border-radius:9px;background:linear-gradient(90deg,var(--s1),var(--s2)) 0 0/var(--p,50%) 100% no-repeat,#EEE9F8}
input.wt-range::-moz-range-track{height:6px;border-radius:9px;background:linear-gradient(90deg,var(--s1),var(--s2)) 0 0/var(--p,50%) 100% no-repeat,#EEE9F8}
input.wt-range::-webkit-slider-thumb{-webkit-appearance:none;width:18px;height:18px;margin-top:-6px;border-radius:50%;background:#fff;box-shadow:0 0 0 2px var(--s1),0 4px 8px -2px color-mix(in srgb,var(--s1) 50%,transparent)}
input.wt-range::-moz-range-thumb{width:18px;height:18px;border:0;border-radius:50%;background:#fff;box-shadow:0 0 0 2px var(--s1),0 4px 8px -2px color-mix(in srgb,var(--s1) 50%,transparent)}
input.wt-range:focus-visible{outline:none}
input.wt-range:focus-visible::-webkit-slider-thumb{box-shadow:0 0 0 2px var(--s1),0 0 0 6px var(--t1)}
/* 숫자 세 칸 */
.wt-stat3{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin:0 0 12px;padding:0;list-style:none}
.wt-stat3>*{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:12px 6px;border-radius:18px;background:#fff;box-shadow:var(--wt-sh);text-align:center;min-width:0}
.wt-stat3 b{order:-1;display:block;font-size:20px;line-height:1.3;font-weight:700;letter-spacing:-.04em;background:linear-gradient(180deg,var(--k),var(--s2));-webkit-background-clip:text;background-clip:text;color:transparent;white-space:nowrap}
.wt-stat3 small{font-size:12px;color:var(--mute);font-weight:600}
.wt-stat3>:nth-child(3n+2){--k:#E8457A;--s2:#FF9AC0}
.wt-stat3>:nth-child(3n){--k:#2F7BF0;--s2:#7DBBFF}
/* 입력칸 */
.wt-fld,html.wt-page textarea.wt-fld{display:block;width:100%;min-height:46px;padding:11px 14px;border:0;border-radius:14px;background:#FBFAFE;box-shadow:inset 0 0 0 1.2px #E8E2F4;font:inherit;font-size:14px;color:var(--ink);outline:none;transition:box-shadow .2s,background .2s}
.wt-fld::placeholder{color:#A8A3B8}
.wt-fld:focus{background:#fff;box-shadow:inset 0 0 0 1.5px var(--s1),0 0 0 4px var(--t1)}
select.wt-fld{appearance:none;-webkit-appearance:none;padding-right:34px;background:#FBFAFE url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M3 4.5l3 3 3-3' fill='none' stroke='%238B8799' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") right 12px center/12px no-repeat}
.wt-lb{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px;font-size:13px;font-weight:600;color:var(--ink2);margin:0}
.wt-lb>:is(input,select,textarea){flex:1 1 100%}
.wt-lb small{font-size:12px;font-weight:500;color:var(--mute)}
.wt-txt{min-height:150px!important;padding:14px!important;border-radius:22px!important;background:#fff!important;box-shadow:var(--wt-sh)!important;line-height:1.7;resize:vertical;margin:0 0 12px}
.wt-txt:focus{box-shadow:inset 0 0 0 1.5px var(--s1),var(--wt-sh)!important}
/* 행동 버튼(초록) */
.wt-cta{display:flex;align-items:center;justify-content:center;gap:7px;width:100%;height:52px;margin:4px 0 12px;padding:0 18px;border:0;border-radius:18px;font-size:16px;font-weight:700;color:#fff!important;text-decoration:none;background:linear-gradient(160deg,#3BE6CC,#00C471);box-shadow:inset 0 1px 0 rgba(255,255,255,.4),0 8px 16px -10px rgba(0,196,113,.8);transition:transform .3s cubic-bezier(.34,1.56,.64,1),filter .2s}
.wt-cta:hover{transform:translateY(-1px);filter:brightness(1.03)}
.wt-cta:active{transform:scale(.97)}
.wt-cta:disabled{background:#D4F3E4;color:#fff!important;box-shadow:none;cursor:default;transform:none}
.wt-cta .ri{width:18px;height:18px;--k:#fff;--f:rgba(255,255,255,.35);--a:#FFE27A}
.wt-cta:focus-visible,.wt-soft:focus-visible,.wt-seg button:focus-visible{outline:3px solid color-mix(in srgb,var(--s1) 50%,transparent);outline-offset:2px}
/* 보조 단추(보라 연한) */
.wt-soft{display:inline-flex;align-items:center;justify-content:center;gap:5px;height:36px;padding:0 14px;border:0;border-radius:99px;font-size:13px;font-weight:700;color:var(--k);background:linear-gradient(110deg,var(--t1),var(--t2));box-shadow:inset 0 0 0 1.2px var(--f);text-decoration:none;white-space:nowrap}
.wt-soft:hover{filter:brightness(.98) saturate(1.15)}
.wt-soft:disabled{opacity:.45;cursor:default}
.wt-soft .ri{width:16px;height:16px}
.wt-acts{display:flex;gap:6px;flex-wrap:wrap;align-items:center}
.wt-msg{margin:0 2px 12px;font-size:13px;color:var(--mute);min-height:1.2em}
html.wt-page progress{display:block;width:100%;height:6px;margin:0 0 12px;border:0;border-radius:9px;background:#EEE9F8;overflow:hidden;appearance:none;-webkit-appearance:none}
html.wt-page progress::-webkit-progress-bar{background:#EEE9F8;border-radius:9px}
html.wt-page progress::-webkit-progress-value{background:linear-gradient(90deg,var(--s1),var(--s2));border-radius:9px}
html.wt-page progress::-moz-progress-bar{background:linear-gradient(90deg,var(--s1),var(--s2));border-radius:9px}
html.wt-page details.wt-more{border-top:1px solid #F3F0F8;padding-top:10px}
html.wt-page details.wt-more>summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;font-size:13.5px;font-weight:600;color:var(--ink2)}
html.wt-page details.wt-more>summary::-webkit-details-marker{display:none}
html.wt-page details.wt-more>summary:after{content:"+";font-size:16px;color:var(--mute)}
html.wt-page details.wt-more[open]>summary:after{content:"−"}
html.wt-page details.wt-more>div{display:grid;gap:10px;padding-top:10px}
html.wt-page .ok{color:#00865A}html.wt-page .warn{color:#D9480F}
html.wt-page .foot{margin:16px 0 0;font-size:12px;color:var(--mute);text-align:center}
html.wt-page .foot a{color:var(--k)}
html.wt-page .cp-ad{margin-top:20px}
@media(max-width:400px){.wt-row .wt-seg{width:170px}.wt-stat3 b{font-size:18px}}
.wt-soft.wt-mini{height:28px;padding:0 10px;font-size:12px}
.wt-media{display:block;width:100%;max-height:420px;object-fit:contain;margin:0 0 12px;border-radius:22px;background:#1E1A2B;box-shadow:var(--wt-sh)}
img.wt-media{background:repeating-conic-gradient(#F3F0FA 0 25%,#fff 0 50%) 0 0/16px 16px}
.wt-seg.wt-seg2{display:grid;grid-template-columns:1fr 1fr;gap:2px}
.wt-grid2{display:grid;grid-template-columns:1fr 1fr;gap:8px}.wt-grid3{display:grid;grid-template-columns:repeat(3,1fr);gap:8px}
.wt-out{font-size:13.5px;line-height:1.65;color:var(--ink2)}.wt-out p{margin:4px 0}.wt-out details summary{cursor:pointer;font-weight:600}
.wt-quote{margin:10px 0;padding:11px 14px;border-radius:14px;background:var(--t1);color:var(--ink);font-size:14px;font-weight:600}
.wt-word{display:inline-flex;align-items:center;height:28px;margin:3px 6px 3px 0;padding:0 11px;border-radius:99px;font-size:13px;font-weight:600;background:#fff;box-shadow:inset 0 0 0 1.2px #E5DFF2;color:var(--ink2)}
.wt-word.hot{background:#FFEAF2;box-shadow:inset 0 0 0 1.2px #FFD3E3;color:#E8457A}
.wt-count .wt-stat3>*{padding:10px 4px}
.wt-count .wt-stat3 b{font-size:18px}
html.wt-page .hint{font-size:12.5px;color:var(--mute);margin:8px 0 0}
