/* ===== 2007 스킨: 화면 종류마다 다른 옷 ===== */
body{font-family:"Dotum","돋움","Gulim","굴림","Apple SD Gothic Neo",sans-serif;font-size:14px;letter-spacing:-.2px}
.hand{font-family:"Nanum Pen Script","Gaegu",cursive}
#app{box-shadow:0 0 0 1px #d5d9de,0 8px 30px rgba(0,0,0,.08)}

/* 공통 상단: 2007 유광 막대 */
.top{height:44px;background:linear-gradient(#fdfdfd,#e8ecef);border-bottom:1px solid #b9c2ca;box-shadow:inset 0 1px #fff}
.top .tt{font-size:14px;letter-spacing:-.5px;color:#334}
.bot{background:linear-gradient(#f4f4f4,#dcdcdc);border-top:1px solid #aaa}
.bot a{font-size:12px;color:#555;padding:10px 0 11px;border-left:1px solid #fff;border-right:1px solid #c6c6c6}
.bot a.on{color:#fff;font-weight:bold;background:linear-gradient(#5cbf6c,#2f9443);text-shadow:0 -1px #276;border-right-color:#287a38}
body[data-v="home"] .bot a.on,body[data-v="mh"] .bot a.on{background:linear-gradient(#ffb45a,#ef7f10);border-right-color:#c86400;text-shadow:0 -1px #a50}
body[data-v="inbox"] .bot a.on{background:linear-gradient(#6aa6e8,#2f6fc0);text-shadow:0 -1px #135}

/* ===== 포털 ===== */
body[data-v="portal"] .top,body[data-v="search"] .top{background:linear-gradient(#6fcf7e,#2f9a44);border-bottom-color:#22763a}
body[data-v="portal"] .top .tt,body[data-v="search"] .top .tt{color:#fff;text-shadow:0 -1px #1d6630}
body[data-v="portal"] .top .ic,body[data-v="search"] .top .ic{color:#fff}
body[data-v="portal"] .portal{padding:12px 10px;display:grid;grid-template-columns:1fr 1fr;gap:0 8px}
body[data-v="portal"] .portal>*{grid-column:1/3}
body[data-v="portal"] .portal>.panel:nth-of-type(3),body[data-v="portal"] .portal>.panel:nth-of-type(4),
body[data-v="portal"] .portal>.panel:nth-of-type(6),body[data-v="portal"] .portal>.panel:nth-of-type(7){grid-column:auto}
.logo{font-family:"Arial Black","Gulim",sans-serif;font-size:38px;margin:6px 0 8px;text-shadow:0 2px 0 #c9eccf,0 3px 4px rgba(0,0,0,.15)}
.logo span{color:#f39c12}
.slogan{font-family:"Dotum",sans-serif;font-size:11px;color:#8a8;letter-spacing:2px;text-shadow:none}
.sbox{border:3px solid #2f9a44;border-radius:0;box-shadow:0 2px 0 #d6ecd9}
.sbox input{font-size:16px;padding:9px 10px;background:#fff}
.sbox button{background:linear-gradient(#5cbf6c,#2b8a3e);font-size:15px;text-shadow:0 -1px #1d6630;padding:0 18px}
.ticker{margin:8px 0 4px;height:26px;overflow:hidden;border:1px solid #dfe8df;background:#f6fbf6;font-size:12px;line-height:24px;white-space:nowrap;color:#3a5}
.ticker span{display:inline-block;padding-left:100%;animation:tick 38s linear infinite}
.ticker b{display:inline-block;width:16px;height:16px;line-height:16px;text-align:center;background:#2f9a44;color:#fff;font-size:10px;margin:0 4px 0 14px}
@keyframes tick{to{transform:translateX(-100%)}}
.archive{font-size:11px;border:1px solid #eee3c6;background:#fffbea;color:#a08a4a;border-radius:0}
body[data-v="portal"] .panel,body[data-v="search"] .panel{margin-top:10px;border:1px solid #cfd8cf;border-radius:0;box-shadow:0 1px 0 #eef2ee}
body[data-v="portal"] .panel h3,body[data-v="search"] .panel h3{background:linear-gradient(#fafcfa,#e8efe8);color:#2c6a37;font-size:12px;padding:6px 9px;border-bottom:1px solid #cfd8cf}
body[data-v="portal"] .panel h3::before,body[data-v="search"] .panel h3::before{content:"";display:inline-block;width:4px;height:12px;background:#2f9a44;margin-right:6px;vertical-align:-1px}
body[data-v="portal"] .panel h3{justify-content:flex-start;gap:4px}
body[data-v="portal"] .panel h3 small{margin-left:auto}
body[data-v="portal"] .panel ul,body[data-v="portal"] .panel ol{padding:6px 9px 7px 9px;list-style:none;font-size:13px}
body[data-v="portal"] .panel li{padding:3px 0;border-bottom:1px dotted #e3e3e3;line-height:1.45}
body[data-v="portal"] .panel li:last-child{border-bottom:0}
body[data-v="portal"] .panel ul li::before{content:"·";color:#9a9;margin-right:5px}
body[data-v="portal"] .panel ol{counter-reset:r}
body[data-v="portal"] .panel ol li{counter-increment:r}
body[data-v="portal"] .panel ol li::before{content:counter(r);display:inline-block;width:15px;height:15px;line-height:15px;margin-right:6px;text-align:center;font-size:10px;color:#fff;background:#9aa;vertical-align:1px}
body[data-v="portal"] .panel ol li:nth-child(-n+3)::before{background:#e4572e}
body[data-v="portal"] .panel li small{font-size:10px;color:#aaa}
body[data-v="portal"] .panel:nth-of-type(3) li,body[data-v="portal"] .panel:nth-of-type(4) li{font-size:12px}
body[data-v="portal"] .today{font-size:12px;padding:8px 9px;line-height:1.6}
body[data-v="portal"] .panel:nth-of-type(7) .today{background:linear-gradient(#eaf3fb,#fff);color:#456}

/* 검색 결과 */
body[data-v="search"] .portal{padding:12px 10px}
body[data-v="search"] .logo{font-size:26px;text-align:left;margin:0 0 6px}
body[data-v="search"] .slogan{display:none}
body[data-v="search"] .result{padding:11px 4px 11px 10px;border-bottom:1px solid #eee;border-left:3px solid transparent}
body[data-v="search"] .result .rt{font-size:15px;font-weight:bold}
body[data-v="search"] .result .src{font-size:11px;margin:2px 0}
body[data-v="search"] .result p{font-size:13px;color:#555;line-height:1.55}
.result.k-news{border-left-color:#2b5fb8!important}.result.k-qa{border-left-color:#f0a020!important}
.result.k-blog{border-left-color:#8a63d2!important}.result.k-cafe{border-left-color:#2fa38f!important}
.result.k-home{border-left-color:#ef7f10!important;background:#fffaf3}.result.k-music{border-left-color:#333!important}
.result.k-notice{border-left-color:#999!important}
.pager{letter-spacing:2px;font-size:13px}
.pager a,.pager b{display:inline-block;min-width:24px;padding:2px 6px;border:1px solid #ddd;margin:0 2px}
.pager b{border-color:#2f9a44;color:#2f9a44}
.ad{border:1px solid #f0d27a;background:linear-gradient(90deg,#fff3c4,#ffe08a);color:#7a5a00;font-weight:bold;position:relative}
.ad::after{content:"NEW";position:absolute;right:8px;top:8px;font-size:9px;color:#fff;background:#e43;padding:0 4px;animation:blink 1.2s steps(1) infinite}

/* ===== 미니홈 메인 ===== */
body[data-v="mh"] .top{background:linear-gradient(#ffc477,#f08a1c);border-bottom-color:#c86400}
body[data-v="mh"] .top .tt,body[data-v="mh"] .top .ic{color:#fff}
body[data-v="mh"] #app{background:#fff7ec}
body[data-v="mh"] .portal{padding:10px}
body[data-v="mh"] .panel{border:2px solid #ffd3a0;border-radius:10px;background:#fff;margin-top:10px}
body[data-v="mh"] .panel h3{background:#ffefd9;color:#d26a00;border-bottom:1px dashed #ffc98a;font-size:13px}
body[data-v="mh"] .panel ul,body[data-v="mh"] .panel ol{font-size:13px;padding-left:24px}
body[data-v="mh"] .panel li::marker{color:#f39c12}

/* ===== 개인 미니홈(싸이 감성 책 모양) ===== */
body[data-v="home"] .top{background:linear-gradient(#ffc477,#f08a1c);border-bottom-color:#c86400}
body[data-v="home"] .top .tt,body[data-v="home"] .top .ic{color:#fff;text-shadow:0 -1px #a50}
.mh{padding:12px 10px 16px;background:#c4d8ea radial-gradient(#fff 1px,transparent 1.5px) 0 0/14px 14px}
.mh>*{background:#fff}
.mhtop{border:0;border-radius:12px 12px 0 0;background:#fff!important;font-size:11px;letter-spacing:0;padding:8px 12px 4px;box-shadow:inset 0 0 0 2px #8eb2d4;border-bottom:1px dashed #b9cde0}
.mhtop span:first-child{color:#e07b00;font-weight:bold}
.mhhead{border:0;box-shadow:inset 2px 0 #8eb2d4,inset -2px 0 #8eb2d4;padding:12px}
.pf{width:92px;height:116px;background:#fff;border:1px solid #ccc;padding:4px 4px 14px;box-shadow:1px 2px 3px rgba(0,0,0,.15);transform:rotate(-2deg)}
.who .nm{font-family:"Gaegu","Nanum Pen Script",cursive;font-size:24px;color:#345;line-height:1.1}
.who .st{font-size:12px;color:#888;margin-top:4px;display:inline-block;background:#f4f7fb;border:1px solid #dde6ef;border-radius:10px;padding:1px 8px}
.bgm{margin:0;box-shadow:inset 2px 0 #8eb2d4,inset -2px 0 #8eb2d4;background:linear-gradient(#e9edf1,#c7cdd4)!important;color:#223;font-size:11px;border:0;padding:7px 12px}
.bgm .bgmbtn{border:1px solid #8a94a0;background:linear-gradient(#fff,#d5dbe1);color:#345;width:26px;height:26px;font-size:10px}
.bgm .bar{height:5px;background:#9aa4ae;border:1px solid #7d8790;border-radius:3px;overflow:hidden}
.bgm .bar i{background:linear-gradient(#9df59d,#3fbf4f)}
.bgm .lyr{flex-basis:100%;background:#0d1a10;color:#8ff59a;font-family:"Courier New",monospace;font-size:12px;border-radius:2px;padding:2px 6px;min-height:20px;text-shadow:0 0 4px #4f8}
.bgm .lyr:empty{display:none}
.tabs{border:0;background:#fff!important;padding:6px 8px 0;gap:3px;box-shadow:inset 2px 0 #8eb2d4,inset -2px 0 #8eb2d4;border-bottom:2px solid #8eb2d4;top:44px}
.tabs a{flex:1;border:1px solid #9fbad3;border-bottom:0;border-radius:6px 6px 0 0;background:linear-gradient(#f6fafd,#dbe8f4);font-size:12px;padding:7px 2px;color:#456}
.tabs a.on{background:#fff;color:#e07b00;box-shadow:none;border-color:#8eb2d4;position:relative;top:2px;font-weight:bold}
.body{border:0;box-shadow:inset 2px 0 #8eb2d4,inset -2px 0 #8eb2d4;padding:12px 14px}
.surf{border:0;border-radius:0 0 12px 12px;background:#f3f7fb!important;box-shadow:inset 2px 0 #8eb2d4,inset -2px 0 #8eb2d4,inset 0 -2px #8eb2d4;font-size:12px}
.mh .card{border-bottom:1px dashed #d7e0ea}
.mh .card .d{color:#7a96b4;font-weight:bold;font-size:11px}
.mh .entry{background:repeating-linear-gradient(#fff 0 25px,#e6eef6 25px 26px);padding:8px 6px;border:0;margin-bottom:8px}
.mh .entry p{font-family:"Nanum Pen Script","Gaegu",cursive;font-size:21px;line-height:26px;color:#334}
.mh .entry .d{font-family:"Dotum",sans-serif}
.mh .gb{display:grid;grid-template-columns:44px 1fr;gap:0 10px;border:1px solid #dfe6ee;border-top:0;padding:0 8px 8px;margin-bottom:8px}
.mh .gb .d{grid-column:1/3;margin:0 -8px 8px;padding:4px 8px;background:#eef3f8;border-top:1px solid #c9d7e5;color:#678;font-size:11px}
.mh .gb::before{content:"";grid-row:2;width:40px;height:40px;background:radial-gradient(circle at 50% 38%,#ffd9b3 0 9px,transparent 10px),linear-gradient(transparent 60%,#9cc0e0 60%);background-color:#f6f9fc;border:1px solid #d4e0ec}
.mh .gb p{grid-row:2;font-size:13px}
.mh .gb.me .d{background:#fff4e2;border-top-color:#f3c88f}
.mh .photo .ph{border:6px solid #fff;outline:1px solid #ccd;box-shadow:0 2px 4px rgba(0,0,0,.15)}
.mh .cap{font-size:13px}
.ilchonbtn{background:linear-gradient(#fff,#ffe9cf);border-radius:14px}
/* 집마다 다른 벽지 */
body[data-h="haneul"] .mh{background:#1f2a4d radial-gradient(#e9efff 1px,transparent 1.6px) 0 0/22px 22px}
body[data-h="haneul"] .mh .mhtop,body[data-h="haneul"] .mh .mhhead,body[data-h="haneul"] .mh .bgm,body[data-h="haneul"] .mh .tabs,body[data-h="haneul"] .mh .body,body[data-h="haneul"] .mh .surf{--edge:#7d86c9}
body[data-h="haneul"] .mh .mhtop{box-shadow:inset 0 0 0 2px #7d86c9}
body[data-h="haneul"] .mh .mhhead,body[data-h="haneul"] .mh .bgm,body[data-h="haneul"] .mh .body{box-shadow:inset 2px 0 #7d86c9,inset -2px 0 #7d86c9}
body[data-h="haneul"] .mh .tabs{box-shadow:inset 2px 0 #7d86c9,inset -2px 0 #7d86c9;border-bottom-color:#7d86c9}
body[data-h="haneul"] .mh .surf{box-shadow:inset 2px 0 #7d86c9,inset -2px 0 #7d86c9,inset 0 -2px #7d86c9}
body[data-h="haneul"] .mh .bgm{background:linear-gradient(#2a3050,#141a33)!important;color:#c9d0ff}
body[data-h="haneul"] .mh .bgm .bgmbtn{background:none;border-color:#9aa3ff;color:#c9d0ff}
body[data-h="haneul"] .mh.warm{background:#f3c9a6 radial-gradient(#fff6e8 1px,transparent 1.6px) 0 0/22px 22px}
body[data-h="junho"] .mh{background:#7c8459 repeating-linear-gradient(45deg,rgba(0,0,0,.05) 0 10px,transparent 10px 20px)}
body[data-h="junho"] .mh .who .nm{color:#4a5230}
body[data-h="sua"] .mh{background:#d9c7cc repeating-linear-gradient(90deg,rgba(255,255,255,.25) 0 18px,rgba(0,0,0,.04) 18px 36px);filter:saturate(.75)}
body[data-h="sua"] .mh .who .nm{color:#8a5a6a}
body[data-h="minjae"] .mh{background:#1a1a1a repeating-conic-gradient(#222 0 25%,#151515 0 50%) 0 0/28px 28px}
body[data-h="minjae"] .mh .who .nm{color:#c0262d;font-family:"Arial Black","Gaegu",sans-serif;font-size:20px}
body[data-h="minjae"] .mh .bgm{background:linear-gradient(#3a0d0d,#160505)!important;color:#ffb3b3}

/* ===== 기사 (세부 페이지) ===== */
body[data-v="article"] #app{background:#f2f2ee}
body[data-v="article"] .portal{padding:10px}
body[data-v="article"] .art{border-radius:0;background:#fff;border:1px solid #d9d9d2}
body[data-v="article"] .panel{border-radius:0;background:#fff}
/* 뉴스: 신문 지면 */
body[data-t="news"] .top{background:linear-gradient(#3d6fc4,#22468b);border-bottom-color:#1a3570}
body[data-t="news"] .top .tt,body[data-t="news"] .top .ic{color:#fff}
body[data-t="news"] #app{background:#ecebe6}
body[data-t="news"] .art{font-family:"Nanum Myeongjo","Batang","바탕",serif;background:#fffef9;border-top:4px double #222;border-bottom:4px double #222;border-left:0;border-right:0}
body[data-t="news"] .art .kind{background:none;color:#22468b;padding:0;font-size:12px;font-weight:bold;letter-spacing:3px;border-bottom:1px solid #22468b}
body[data-t="news"] .art h2{font-size:21px;line-height:1.35;letter-spacing:-.8px;font-weight:800;color:#111}
body[data-t="news"] .art .d{font-family:"Dotum",sans-serif;border-top:1px solid #ccc;border-bottom:1px solid #ccc;padding:4px 0}
body[data-t="news"] .abody{font-size:16px;line-height:1.9;text-align:justify;color:#222}
body[data-t="news"] .abody::after{content:"ⓒ 나우리뉴스. 무단 전재 및 재배포 금지";display:block;margin-top:14px;font-family:"Dotum",sans-serif;font-size:11px;color:#999}
/* 지식Q&A */
body[data-t="qa"] .top{background:linear-gradient(#ffcc4d,#f0a020);border-bottom-color:#c47f00}
body[data-t="qa"] .top .tt,body[data-t="qa"] .top .ic{color:#5a3a00}
body[data-t="qa"] #app{background:#fff9e6}
body[data-t="qa"] .art{border:2px solid #ffd36b;border-radius:12px}
body[data-t="qa"] .art h2{padding-left:46px;position:relative;min-height:38px}
body[data-t="qa"] .art h2::before{content:"Q";position:absolute;left:0;top:0;width:36px;height:36px;border-radius:50%;background:#f0a020;color:#fff;font:bold 22px/36px Arial;text-align:center}
body[data-t="qa"] .art .kind{background:#f0a020}
body[data-t="qa"] .panel{border:2px solid #cfe9b8;border-radius:12px;margin-top:10px}
body[data-t="qa"] .panel h3{background:#eef8e4;color:#3c7a1d}
body[data-t="qa"] .art+.panel .gb{padding:10px 12px 10px 46px;position:relative;border-bottom:1px dashed #d5e9c2}
body[data-t="qa"] .art+.panel .gb::before{content:"A";position:absolute;left:10px;top:10px;width:26px;height:26px;border-radius:50%;background:#5bb02f;color:#fff;font:bold 15px/26px Arial;text-align:center}
body[data-t="qa"] .art+.panel .gb:first-of-type{background:#f8fdf3}
/* 카페: 게시판 */
body[data-t="cafe"] .top{background:linear-gradient(#5ec9b6,#238f7c);border-bottom-color:#176b5c}
body[data-t="cafe"] .top .tt,body[data-t="cafe"] .top .ic{color:#fff}
body[data-t="cafe"] #app{background:#e8f3f0}
body[data-t="cafe"] .art{padding:0;border:1px solid #9ccfc4}
body[data-t="cafe"] .art .kind{display:block;border-radius:0;background:linear-gradient(90deg,#2fa38f,#8fd6c8);padding:10px 12px;font-size:13px}
body[data-t="cafe"] .art .kind::after{content:" · 회원 전용 게시판";font-weight:normal;opacity:.85}
body[data-t="cafe"] .art h2{font-size:16px;padding:10px 12px 6px;margin:0;border-bottom:1px solid #e4efec;background:#f7fbfa}
body[data-t="cafe"] .art .d{padding:6px 12px;background:#f7fbfa;border-bottom:1px solid #d5e7e2}
body[data-t="cafe"] .abody{padding:4px 14px 12px;font-size:14px}
body[data-t="cafe"] .panel{border:1px solid #9ccfc4;margin-top:8px}
body[data-t="cafe"] .panel h3{background:#eef7f5;color:#1f7a69}
body[data-t="cafe"] .panel .gb{padding:7px 12px;font-size:13px}
body[data-t="cafe"] .panel .gb .d{display:inline;margin-right:6px;color:#2a8c7a;font-weight:bold}
body[data-t="cafe"] .panel .gb p{display:inline}
/* 블로그: 종이 일기장 */
body[data-t="blog"] .top{background:linear-gradient(#b293ea,#7650c2);border-bottom-color:#5a3a9c}
body[data-t="blog"] .top .tt,body[data-t="blog"] .top .ic{color:#fff}
body[data-t="blog"] #app{background:#efe7d8}
body[data-t="blog"] .art{background:#fffdf6 repeating-linear-gradient(transparent 0 29px,#efe6d2 29px 30px);border:1px solid #e2d6bd;box-shadow:3px 3px 0 #e2d6bd}
body[data-t="blog"] .art h2{font-family:"Gaegu","Nanum Pen Script",cursive;font-size:24px;color:#5a3a9c;text-decoration:underline wavy #d8c6f5 2px;text-underline-offset:5px}
body[data-t="blog"] .art .kind{background:#8a63d2;border-radius:10px}
body[data-t="blog"] .abody{font-size:15px;line-height:30px;margin-top:6px}
body[data-t="blog"] .like{background:linear-gradient(#fff,#ffe6f2);border-color:#f3a3c8;color:#d23c7d;font-weight:bold}
body[data-t="blog"] .like::before{content:"♥ "}
/* 공지·웹만화 */
body[data-t="notice"] .art{border-top:3px solid #666}
body[data-t="toon"] #app{background:#222}
body[data-t="toon"] .art{background:#111;color:#eee;border:4px solid #fff;outline:2px solid #111}
body[data-t="toon"] .art h2{color:#ffe14d}

/* ===== 나우리 뮤직: 2007 MP3 플레이어 ===== */
body[data-v="music"] .top{background:linear-gradient(#3b3f48,#15171c);border-bottom-color:#000}
body[data-v="music"] .top .tt,body[data-v="music"] .top .ic{color:#cfe}
body[data-v="music"] #app{background:#1b1e24}
body[data-v="music"] .portal{padding:12px 10px}
body[data-v="music"] .panel{background:#262a32;border:1px solid #3a404b;border-radius:10px;color:#cdd3dd}
body[data-v="music"] .panel h3{background:#2e333c;color:#8fd;border-bottom-color:#3a404b}
body[data-v="music"] .song{padding:14px}
body[data-v="music"] .song .nm{color:#fff;font-size:18px}
body[data-v="music"] .song .d{color:#8a93a3}
body[data-v="music"] .jacket{width:76px;height:76px;border-radius:50%;background:radial-gradient(circle,#ddd 0 6px,#111 7px 14px,#333 15px 16px,#111 17px 25px,#2a2a2a 26px 27px,#111 28px);color:transparent;box-shadow:0 0 0 3px #444;animation:spin 6s linear infinite paused}
body.playing[data-v="music"] .jacket{animation-play-state:running}
@keyframes spin{to{transform:rotate(360deg)}}
body[data-v="music"] .bgm{background:#0a0d0a!important;border:2px inset #444;margin:0 12px;border-radius:4px;color:#7cf28a;font-family:"Courier New",monospace}
body[data-v="music"] .bgmbtn{border-color:#7cf28a;color:#7cf28a}
body[data-v="music"] .bar{background:#1d2a1f}.bar i{transition:width .25s linear}
body[data-v="music"] .lyr.big{color:#9dffaa;text-shadow:0 0 6px #3f9;font-family:"Dotum",sans-serif;font-size:16px;min-height:26px;padding:4px 0}
body[data-v="music"] .lyr.ghostline{color:#ff7ab0;text-shadow:0 0 8px #f39}
body[data-v="music"] .d,body[data-v="music"] p.d{color:#8a93a3}
body[data-v="music"] .portal a{color:#8fd}
body[data-v="music"] .kl{color:#7d8696;font-size:15px;text-align:center}
body[data-v="music"] .kl.rep{font-size:13px;color:#59606d}
body[data-v="music"] .kl.now{color:#fff;text-shadow:0 0 6px #8fd;font-size:17px}
body[data-v="music"] .kl.mask{color:#3d434e}
body[data-v="music"] .kl.last{color:#ff8fbf;text-shadow:0 0 8px #f39}
body[data-v="music"] .gb{border-bottom-color:#3a404b}
body[data-v="music"] .gb p{color:#cdd3dd}

/* ===== 쪽지함: 2007 메신저 창 ===== */
body[data-v="inbox"] .top{background:linear-gradient(#6aa6e8,#2f6fc0);border-bottom-color:#1d4f94}
body[data-v="inbox"] .top .tt,body[data-v="inbox"] .top .ic{color:#fff}
body[data-v="inbox"] #app{background:#dfe9f5}
body[data-v="inbox"] .list{padding:10px}
body[data-v="inbox"] .msg{background:#fff;border:1px solid #9db7d8;border-radius:6px;margin-bottom:8px;padding:0;overflow:hidden;box-shadow:0 1px 2px rgba(0,0,0,.08)}
body[data-v="inbox"] .msg .d{background:linear-gradient(#f3f8fe,#dce8f6);padding:6px 10px;color:#2f5d96;font-weight:bold;border-bottom:1px solid #c5d6ec}
body[data-v="inbox"] .msg .d::before{content:"✉ ";color:#e8a33a}
body[data-v="inbox"] .msg p{padding:8px 10px;font-size:14px}
body[data-v="inbox"] .msg .lock{margin:0 10px 10px}
/* 방문 기록 */
body[data-v="history"] #app{background:#fafafa}
body[data-v="history"] .list .msg{font-family:"Courier New",monospace;font-size:12px;border-bottom:1px solid #eee}
body[data-v="history"] .list .msg p{color:#1a0dab;text-decoration:underline}

/* ===== 메모장 ===== */
body[data-v="memo"] #app{background:#fff8b8}
body[data-v="memo"] .memo{font-family:"Nanum Pen Script","Gaegu",cursive;font-size:23px;line-height:34px;background:repeating-linear-gradient(transparent 0 33px,#e7d97a 33px 34px);padding:18px 18px 18px 44px;border-left:2px solid #f2a0a0;margin-left:14px;min-height:70vh;color:#3a3420}
/* ===== 시스템 창(점검·404·공지·카운트다운) ===== */
body[data-v="sys"] #app{background:#3a6ea5}
body[data-v="sys"] main{padding:28px 14px}
body[data-v="sys"] .memo{background:#ece9d8;border:1px solid #0a246a;box-shadow:2px 2px 0 rgba(0,0,0,.35);padding:0 14px 16px;font-family:"Dotum",sans-serif;font-size:13px;line-height:1.75}
body[data-v="sys"] .memo>b:first-child{display:block;background:linear-gradient(90deg,#0a246a,#a6caf0);color:#fff;padding:5px 10px;margin:0 -14px 12px;font-size:12px}
body[data-v="sys"] .memo.center{padding-top:16px}
body[data-v="sys"] .memo .big{font-family:"Arial Black",sans-serif;color:#0a246a}
body[data-v="sys"] .memo a{color:#0a246a;text-decoration:underline}
/* 보정 */
.tabs{scrollbar-width:none}.tabs::-webkit-scrollbar{display:none}
body[data-v="search"] .panel h3{justify-content:flex-start}
body[data-v="article"] .panel .gb{padding:8px 12px}
body[data-v="article"] .panel .write{padding:8px 10px 10px}
body[data-v="article"] .panel ul{padding:8px 12px 10px 28px;font-size:13px}
.mh .entry.ghost p{color:#9aa3b8;letter-spacing:8px;opacity:.75}
.mh .entry.ghost{background:repeating-linear-gradient(#fbfbfd 0 25px,#eef0f5 25px 26px)}
body[data-v="home"] #app{background:#c4d8ea}
body[data-h="haneul"] #app{background:#1f2a4d}
body[data-h="junho"] #app{background:#7c8459}
body[data-h="sua"] #app{background:#d9c7cc}
body[data-h="minjae"] #app{background:#1a1a1a}
body[data-v="sys"] .memo::after{content:"확인";display:block;width:76px;margin:14px auto 0;padding:3px 0;text-align:center;border:1px solid #003c74;border-radius:3px;background:linear-gradient(#fff,#e3e3db);font-size:12px}
body[data-h="haneul"] #app:has(.warm){background:#f3c9a6}

.notice{line-height:1.7;color:#999;background:#f3f3f3;border-top:1px solid #ddd}
.notice .fic{color:#b5b5b5}
