/* Mobile dimensions from Dampick.dc.html. Keep feed and large-photo preferences. */
html[data-theme=light] body{--bg:#fff;--surface:#f6f7f9;--elev:#f6f7f9;--line:#eceef1;--ln2:#f2f3f5;--text:#16181d;--muted:#4e5560;--dim:#6b7280;--pt:#d92d20;--blue:#1b64da;--thb:#eef0f2;--accent:#16181d;--on-accent:#fff}
html[data-theme=dark] body{--bg:#25272a;--surface:#2d3034;--elev:#2d3034;--line:#3c4045;--ln2:#33363a;--text:#eceef0;--muted:#b0b5bb;--dim:#8f949b;--pt:#ff6a5f;--blue:#6aa8ff;--thb:#33363a;--accent:#eceef0;--on-accent:#25272a}
.mobile-header-link{display:none}
body:is(.in-x,.in-detail,.in-search,.in-shorts,.menu-open) #dpDigest{display:none!important}
.channel-category-icon svg{width:26px;height:26px}
body #featureBody #channelGroups{gap:0}
body #featureBody #channelGroups button{flex:1;min-height:0;padding:12px 0;font-size:14px;font-weight:600;text-align:center}
body #featureBody #channelGroups button:after{left:0;right:0}
.handoff-channel-cover{position:relative;margin:0 -16px 30px}
body .handoff-channel-cover .channel-hero-photo{width:100%!important;height:auto!important;aspect-ratio:3.2/1;min-height:112px;max-height:260px;margin:0!important}
body .handoff-channel-cover .channel-hero-photo:after{display:none}
body .handoff-channel-cover .channel-official-cover>svg{position:absolute;right:24px;top:50%;margin-top:-60px;width:120px;height:120px;opacity:.22;color:#fff}
body .handoff-channel-cover>.channel-avatar{position:absolute;left:16px;bottom:-26px;width:56px!important;height:56px!important;border-radius:16px!important;border:3px solid var(--bg)!important;display:grid;place-items:center}
body .handoff-channel-cover>.channel-avatar svg{width:28px;height:28px}
body .handoff-channel-cover+.channel-hero-identity{margin-top:0!important;align-items:flex-start!important;gap:12px!important}
body .handoff-channel-cover+.channel-hero-identity>div:first-child{flex:1;min-width:0;padding:6px 0 0}
body .handoff-channel-cover+.channel-hero-identity h2{font-size:22px!important;line-height:1.25!important;font-weight:800;letter-spacing:-.03em}
body #channelInfo .channel-actions{margin:6px 0 0;gap:8px;flex:none;flex-wrap:nowrap}
body #channelInfo .channel-actions #channelSubscribe{flex:none;height:38px;min-height:38px;min-width:0;padding:0 18px;border-radius:999px;font-size:14px;font-weight:700;background:var(--accent);color:var(--on-accent)}
body #channelInfo .channel-actions #channelAlert{width:38px;height:38px;min-width:0;min-height:38px;flex:0 0 38px;border:0;background:var(--elev);color:var(--muted)}
body #channelInfo .channel-actions #channelAlert:disabled{opacity:1;cursor:default}
body #channelInfo .channel-actions #channelAlert[aria-pressed=true]{background:var(--accent);color:var(--on-accent)}
body #channelInfo .channel-actions #channelAlert svg{width:18px;height:18px}
body #channelInfo .channel-description{font-size:14px!important;line-height:1.55!important;margin:10px 0 4px!important;color:var(--muted)}
body #featureBody .channel-screen-tabs{display:flex;flex-wrap:wrap;gap:8px;overflow:visible;padding:8px 0;border:0;margin:0}
body #featureBody .channel-screen-tabs>button{min-height:0;padding:10px 16px;border:0;border-radius:999px;font-size:14px;font-weight:500;color:var(--muted);white-space:nowrap}
body #featureBody .channel-screen-tabs>button[aria-selected=true]{background:var(--elev);color:var(--text);font-weight:700}
body #featureBody .channel-screen-tabs #channelSort{margin-left:auto;font:inherit;font-size:14px;font-weight:600;border:0;background:transparent;color:var(--muted);padding:10px 0;max-width:100%}
body #featureBody .channel-screen-tabs #channelWrite{font-size:14px;padding:10px 16px;border-radius:999px;background:var(--accent);color:var(--on-accent);font-weight:700;text-decoration:none;border:0}
body #featureBody .channel-toolbar[hidden],body #featureBody #channelSearch[hidden]{display:none!important}
body #featureBody #channelSearch{margin:8px 0}
body #channelInformation .handoff-channel-about,body #channelInformation .handoff-channel-rule{padding:16px 0;border-bottom:1px solid var(--line);font-size:14px}
body #channelInformation .handoff-channel-about>b{font-size:15px;font-weight:700}
body #channelInformation :is(.handoff-channel-about,.handoff-channel-rule)>p{margin-top:4px;line-height:1.55;color:var(--dim);font-size:13px}
body #channelInformation .frow{font-size:14px;justify-content:space-between}
body #channelInformation .frow>b{font-weight:400}
body #channelFeed.channel-media-grid{grid-template-columns:repeat(4,minmax(0,1fr));gap:2px;margin:0 -16px}
body #channelFeed.channel-media-grid .item{border-radius:0}
body #xpage .wc .wc-body{padding:14px 16px;min-height:230px;flex:1}
body #xpage .wc #wBlocks{min-height:230px;font-size:16px;line-height:1.6}
body #xpage .wc #wBlocks[data-empty=true]:before{font-size:16px;line-height:1.6}
body #xpage .wc>.wc-anon{display:none}
body #xpage .wc .wc-tools{gap:24px!important;padding:12px 16px 16px!important;overflow-x:auto;align-items:center;background:var(--bg)!important;backdrop-filter:none!important;border-bottom:0!important}
body #xpage .wc .wc-tools>button{width:auto!important;height:auto!important;padding:0!important;border:0!important;border-radius:0!important;min-height:20px;display:flex;gap:6px;align-items:center;background:none!important;color:var(--muted);font-size:13px;font-weight:400;flex:none;white-space:nowrap}
body #xpage .wc .wc-tools>button svg{width:20px;height:20px}
body #xpage .wc .wc-tools .wc-len{margin-left:auto;font-size:12px;flex:none}
body #xpage .wc .wc-tools #wSet{margin:0;order:0;border:0;background:none}
body #xpage .wc .wc-draft{padding:12px 14px;border-radius:12px;font-size:13px;font-weight:400}
body #xpage .wc .wc-draft #wLoad{padding:8px 12px;font-size:13px}
body #xpage .wc .wc-draft #wDrop{font-size:13px;text-decoration:none}
body #xpage .wc .wc-board-wrap{padding:12px 0 0!important}
body #xpage .wc .wc-category-picker{padding:14px 16px;font-size:16px;min-height:0}
@media(max-width:999px){
 html body:not(.dc-shell){width:100%;max-width:560px!important;margin:0 auto!important;box-shadow:none!important;--dim:#6b7280;--muted:#4e5560;--pt:#d92d20}
 html[data-theme=dark] body:not(.dc-shell){--dim:#8f949b;--muted:#b0b5bb;--pt:#ff6a5f;--surface:#2d3034;--elev:#2d3034;--line:#3c4045}
 html body:not(.dc-shell):not(.in-x):not(.in-search):not(.in-detail)>header .top{padding:calc(16px + env(safe-area-inset-top)) 16px 6px!important;min-height:0;gap:8px}
 body:not(.dc-shell) header .top>.brand{flex:none}
 body:not(.dc-shell) header .brand img{width:94px!important;height:26px!important;object-fit:contain}
 body:not(.dc-shell) header .top>div{gap:16px!important;align-items:center}
 body:not(.dc-shell) header .ibtn{width:25px!important;height:25px!important;flex:none;color:var(--muted)}
 body:not(.dc-shell) header .ibtn svg{width:25px!important;height:25px!important}
 body:not(.dc-shell) .mobile-header-link{display:inline-flex;align-items:center;justify-content:center;text-decoration:none}
 body:not(.dc-shell) #chips .v2cats{padding:2px 56px 0 16px;position:relative;gap:18px}
 body:not(.dc-shell) #chips .v2cats button{font-size:16px;padding:8px 0 11px}
 body:not(.dc-shell) #chips .v2cats button.on:after{display:block;height:3px;background:var(--pt)}
 body:not(.dc-shell) #chips .v2cats .ex{position:sticky;right:-56px;min-width:44px;padding:0 14px 4px 28px;margin-left:auto}
 body:not(.dc-shell) #chips .v2tb{gap:6px;padding:8px 16px;border-bottom:1px solid var(--line);overflow-x:auto;scrollbar-width:none}
 body:not(.dc-shell) #chips .v2tb>button,body:not(.dc-shell) #chips .subscription-feed-link{flex:none;font-size:14px;padding:8px 14px;border-radius:8px;line-height:20px;color:var(--dim);text-decoration:none}
 body:not(.dc-shell) #chips #bLive{font-size:12px;white-space:nowrap;padding:8px 0;margin-left:auto}
 body:not(.dc-shell) #chips .v2tb::-webkit-scrollbar{display:none}
 body:not(.dc-shell)>nav{max-width:560px;background:var(--bg);padding:10px 0 max(16px,env(safe-area-inset-bottom))!important;align-items:center}
 body:not(.dc-shell)>nav button{min-height:42px!important;gap:4px!important;font-size:12px;padding:0!important;justify-content:center!important}
 body:not(.dc-shell)>nav button svg.lu{width:26px;height:26px}
 body:not(.dc-shell)>nav button[data-nav=write] svg.lu{width:36px;height:36px;padding:9px;border-radius:10px}
 body:not(.dc-shell)>nav button[data-nav=write] .nl{display:none}
 body:not(.dc-shell) :is(.dfoot,.xcta,#shorts){max-width:560px}
 body:not(.dc-shell) #toast{max-width:calc(100% - 32px);white-space:normal;overflow-wrap:anywhere}
 body:not(.dc-shell) :is(#featureBody,#serviceBody,#channelInformation){min-width:0;overflow-wrap:anywhere}
 body:not(.dc-shell) #channelInformation .frow>*{min-width:0}
 body:not(.dc-shell) #channelFeed.channel-media-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:2px}
 body:not(.dc-shell) .channel-hero-photo{aspect-ratio:3.2/1;height:auto;min-height:112px;max-height:260px}
 body:not(.dc-shell) .channel-hero-identity .channel-avatar{width:56px;height:56px;border:3px solid var(--bg);border-radius:16px}
 body:not(.dc-shell) .channel-hero-identity{min-width:0}
 body:not(.dc-shell) .channel-hero-identity>div{min-width:0;overflow-wrap:anywhere}
 body:not(.dc-shell) :is(.channel-toolbar,#channelSearch,#channelInformation,#channelMore)[hidden]{display:none!important}
 body:not(.dc-shell) .channel-screen-tabs{gap:24px;scrollbar-width:none}
 body:not(.dc-shell) .channel-screen-tabs button{min-height:48px}
 body:not(.dc-shell)[data-feed-view=thumb] :is(#feed,#sres,#portalBody,#channelFeed:not(.channel-media-grid),#subscribedFeed) .item,
 body:not(.dc-shell)[data-feed-view=board] :is(#feed,#sres,#portalBody,#channelFeed:not(.channel-media-grid),#subscribedFeed) .item{padding:14px 16px!important;min-width:0}
 body:not(.dc-shell):is([data-feed-view=thumb],[data-feed-view=board]) :is(#feed,#sres,#portalBody,#channelFeed:not(.channel-media-grid),#subscribedFeed) .item .body{display:grid!important;grid-template-columns:minmax(0,1fr)!important;grid-template-rows:auto auto!important;align-items:center;align-content:center;min-width:0;padding:0!important}
 body:not(.dc-shell)[data-feed-view=thumb] :is(#feed,#sres,#portalBody,#channelFeed:not(.channel-media-grid),#subscribedFeed) .item .body:has(.thumb){grid-template-columns:minmax(0,1fr) 56px!important;column-gap:12px}
 body:not(.dc-shell):is([data-feed-view=thumb],[data-feed-view=board]) :is(#feed,#sres,#portalBody,#channelFeed:not(.channel-media-grid),#subscribedFeed) .item .title{font-size:17px!important;font-weight:500!important;line-height:1.4!important;letter-spacing:-.025em;margin:0!important;grid-row:1;grid-column:1;word-break:keep-all;overflow-wrap:anywhere;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
 body:not(.dc-shell):is([data-feed-view=thumb],[data-feed-view=board]) :is(#feed,#sres,#portalBody,#channelFeed:not(.channel-media-grid),#subscribedFeed) .item :is(.meta,.listing-meta,.list-comment-count,.acts,.ex,.list-thumb-empty){display:none!important}
 body:not(.dc-shell):is([data-feed-view=thumb],[data-feed-view=board]) :is(#feed,#sres,#portalBody,#channelFeed:not(.channel-media-grid),#subscribedFeed) .item .dc-list-meta{display:block;grid-row:2;grid-column:1;min-width:0;margin-top:6px;font-size:14px;line-height:20px;color:var(--dim);white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
 body:not(.dc-shell) .dc-list-meta b{color:var(--pt);font-weight:600}
 body:not(.dc-shell)[data-feed-view=thumb] :is(#feed,#sres,#portalBody,#channelFeed:not(.channel-media-grid),#subscribedFeed) .item .body .thumb{display:block!important;grid-row:1/span 2;grid-column:2;width:56px!important;height:56px!important;min-height:56px!important;max-height:56px!important;margin:0!important;border:0;border-radius:10px;overflow:hidden;position:relative;aspect-ratio:1}
 body:not(.dc-shell)[data-feed-view=thumb] :is(#feed,#sres,#portalBody,#channelFeed:not(.channel-media-grid),#subscribedFeed) .item .thumb :is(img,video){width:100%!important;height:100%!important;min-height:0!important;object-fit:cover}
 body:not(.dc-shell)[data-feed-view=thumb] :is(#feed,#sres,#portalBody,#channelFeed:not(.channel-media-grid),#subscribedFeed) .thumb [data-feed-mute]{display:none}
 body:not(.dc-shell)[data-feed-view=thumb] :is(#feed,#sres,#portalBody,#channelFeed:not(.channel-media-grid),#subscribedFeed) .feed-video:after{content:'▶';position:absolute;bottom:4px;left:4px;color:#fff;background:#0008;border-radius:50%;width:20px;height:20px;display:grid;place-items:center;font-size:11px;pointer-events:none}
 body:not(.dc-shell)[data-feed-view=board] #subscribedFeed .thumb{display:none}
 body:not(.dc-shell) #channelFeed.channel-media-grid .dc-list-meta{display:none!important}
}
@media(prefers-reduced-motion:reduce){.mobile-header-link,.channel-screen-tabs{transition:none!important;scroll-behavior:auto!important}}

/* 목록 줄 메타: 분류는 굵게 보조색, 댓글은 10개 이상일 때만 빨강 굵게 (시안) */
html body .dc-list-meta .dc-cat { font-weight: 600; color: #4e5560; }
html[data-theme=dark] body .dc-list-meta .dc-cat { color: #b0b5bb; }
html body:not(.dc-shell) .dc-list-meta b, html body.dc-shell .dc-list-meta b { font-weight: 700; }

/* 공지 배너: 시안 값 (노란 알약 배지, 안쪽 여백 10px 14px, 닫기 아이콘 작게) */
html body #appNotice .notice-badge { background: #f5c400 !important; color: #3d3300 !important; font-weight: 700 !important; }
html body:not(.dc-shell) #appNotice { padding: 10px 14px !important; }
html body:not(.dc-shell) #appNotice button { width: 24px !important; height: 24px !important; margin: -3px 0 !important; }

/* PC 목록 줄: 시안 값 (제목 17px/500, 줄간격 1.4, 자간 -.025em, 메타 14px 위 간격 6px) */
body.dc-shell[data-feed-view=thumb] #feed .title, body.dc-shell[data-feed-view=board] #feed .title { font-size: 17px !important; line-height: 1.4 !important; letter-spacing: -.025em; }
body.dc-shell[data-feed-view=thumb] #feed .item .body, body.dc-shell[data-feed-view=board] #feed .item .body { row-gap: 6px; }
body.dc-shell #feed .dc-list-meta { font-size: 14px; line-height: 1.2; }
body:not(.dc-shell) .dc-list-meta { line-height: 1.2 !important; }
