/* Final visual authority: prototype (18)/Dampick DC List.dc.html. */
html.p18-exact body{font-family:'Pretendard Variable',Pretendard,'Noto Sans KR',sans-serif;letter-spacing:normal}
html[data-theme=light] body:not(.admin-points-view){--bg:#fff;--surface:#f6f7f9;--elev:#f6f7f9;--line:#eceef1;--line2:#f2f3f5;--text:#16181d;--muted:#4e5560;--dim:#6b7280;--pt:#d92d20;--blue:#1b64da;--thb:#eef0f2;--accent:#16181d;--on-accent:#fff}
.p18-home-only{display:none}
body.p18-home .p18-home-only:not([hidden]){display:block}
body:not(.p18-home) #chips{display:none!important}
html.p18-exact body.p18-home #prototype18Recommend:not([hidden]){display:flex}
html.p18-exact body #prototype18HomeSearch{padding:10px 16px 12px;background:var(--bg)}
html.p18-exact body .p18-home-search{display:flex;align-items:center;justify-content:space-between;width:100%;height:44px;margin:0;padding:0 14px;border:1.5px solid var(--lk);border-radius:8px;background:none;color:var(--t3);font:inherit;font-size:16px;text-align:left;cursor:pointer}
.p18-home-search svg{flex:none;color:var(--lk)}
.p18-keyword-toggle{display:flex;align-items:center;gap:10px;width:100%;padding:12px 16px;border:0;border-top:1px solid var(--ln);border-bottom:1px solid var(--ln);background:var(--bg);color:var(--tx);font:inherit;font-size:15px;text-align:left;cursor:pointer}
.p18-keyword-label{flex:none;white-space:nowrap;font-size:11px;font-weight:800;padding:4px 9px;border-radius:4px;background:var(--lk);color:#fff}
.p18-keyword-toggle>b{font-size:16px;font-weight:800}
.p18-keyword-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.p18-keyword-toggle small{flex:none;font-size:13px;font-weight:700;color:var(--pt)}
.p18-keyword-toggle>svg{flex:none;color:var(--t3)}
.p18-keyword-list{border-bottom:1px solid var(--ln);background:var(--bg)}
.p18-keyword-list button{display:flex;align-items:center;gap:12px;width:100%;height:50px;padding:0 16px;border:0;background:none;color:var(--tx);font:inherit;font-size:14px;text-align:left;cursor:pointer}
.p18-keyword-list b{width:28px;font-size:16px;font-weight:700;color:var(--t3)}
.p18-keyword-list b.first-three,.p18-keyword-list small{color:var(--pt)}
.p18-keyword-list span{font-size:16px;font-weight:600;flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
html.p18-exact body.p18-home #chips{display:block!important;padding:0!important;border-bottom:1px solid var(--ln);background:var(--bg)}
html.p18-exact body.p18-home #chips .v2tb{display:flex;width:100%;height:44px!important;min-height:44px!important;padding:0!important;gap:0;border:0!important;background:var(--bg)}
html.p18-exact body.p18-home #chips .v2tb :is(a,button){flex:1;display:flex;align-items:center;justify-content:center;height:44px!important;min-height:44px!important;padding:0!important;border:0;border-radius:0;background:none;color:var(--tx);font-size:16px!important;font-weight:500;letter-spacing:normal;text-decoration:none}
html.p18-exact body.p18-home #chips .v2tb .on{color:var(--lk)!important;font-weight:700;box-shadow:inset 0 -3px var(--lk)!important}
html.p18-exact body.p18-home #prototype18Recommend{align-items:center;gap:14px;overflow-x:auto;scrollbar-width:none;padding:13px 16px;white-space:nowrap;border-bottom:1px solid var(--ln);font-size:15px;font-weight:600;background:var(--bg)}
#prototype18Recommend .dc-rec-tag{flex:none;font-size:12px;font-weight:700;padding:3px 10px;border-radius:999px;border:1.5px solid var(--lk);color:var(--lk)}
#prototype18Recommend a{flex:none;color:var(--t2);font-size:15px;font-weight:600;text-decoration:none}
#prototype18Recommend a.first{color:var(--tx);font-weight:800}
html.p18-exact body #appNotice{padding:10px 14px!important;gap:8px!important;border:0!important;border-left:4px solid #f5c400!important;border-radius:0!important;background:#fff7d6!important;color:#3d3300!important;font-size:13px!important;line-height:1.4!important}
html.p18-exact body #appNotice .notice-badge{padding:2px 10px!important;border-radius:999px!important;background:#f5c400!important;color:#3d3300!important;font-size:11px!important;font-weight:800!important}
html.p18-exact body #appNotice .notice-copy{font-weight:700!important}
html.p18-exact body #appNotice button{color:#3d3300!important}
html.p18-exact body.p18-home #appNotice[data-notice-theme]{background:#fff7d6!important;border-left-color:#f5c400!important;color:#3d3300!important}
html.p18-exact body.p18-home #appNotice[data-notice-theme] .notice-badge{background:#f5c400!important;color:#3d3300!important}
html.p18-exact body.p18-home #appNotice[data-notice-theme] :is(.notice-copy,button){color:#3d3300!important}
html.p18-exact body.p18-home #coreNewPosts{display:none!important}
html.p18-exact body .list-comment-count{padding:0!important;background:none!important;border:0!important;border-radius:0!important;color:var(--lk)!important;font-weight:500!important;font-size:15px!important}
html.p18-exact body .list-comment-count:before{content:'['}
html.p18-exact body .list-comment-count:after{content:']'}
html.p18-exact body .hf-list-row[data-id] .list-title-text{font-weight:500!important;letter-spacing:-.02em!important}
html.p18-exact:not([data-big-photos=true]) body #feed .hf-list-row[data-id] .body:has(.thumb){grid-template-columns:minmax(0,1fr) 38px!important}
html.p18-exact:not([data-big-photos=true]) body #feed .hf-list-row[data-id] .body .thumb{width:38px!important;height:38px!important;min-height:38px!important;max-height:38px!important;border-radius:12px!important}
html.p18-exact:not([data-big-photos=true]):not([data-reading-thumbnails=false]) body[data-feed-view=thumb] #channelFeed:not(.channel-media-grid) .hf-list-row[data-id] .body:has(.thumb){grid-template-columns:minmax(0,1fr) 38px!important;column-gap:12px!important}
html.p18-exact:not([data-big-photos=true]):not([data-reading-thumbnails=false]) body[data-feed-view=thumb] #channelFeed:not(.channel-media-grid) .hf-list-row[data-id] .body .thumb{display:block!important;width:38px!important;height:38px!important;min-height:38px!important;max-height:38px!important;border-radius:12px!important}
/* The final channel has a floating pen, not the older five-action toolbar. */
html.p18-exact body .channel-quick-write{bottom:0;padding-bottom:max(env(safe-area-inset-bottom,0px),16px)}
html.p18-exact body:has(.channel-quick-write:not([hidden])) #channelWrite{display:none!important}
html.p18-exact body .channel-notice-strip .notice-chev{display:none}
.p18-channel-notice-close{display:flex;align-items:center;justify-content:center;flex:none;width:18px;height:18px;min-height:18px;padding:0;border:0;background:none;color:inherit;cursor:pointer}
.p18-channel-notice-close svg{width:16px;height:16px}
html.p18-exact body:not(.channel-quick-expanded) #featureBody.handoff-channel-page{padding-bottom:86px!important}
html.p18-exact body.channel-quick-expanded #featureBody.handoff-channel-page{padding-bottom:calc(var(--channel-quick-write-height,180px) + 20px)!important}
/* Article geometry: header owns its 22px final gap; photos are edge-to-edge. */
html.p18-exact body.in-detail #detail .dhead{padding-bottom:0!important}
html.p18-exact body.in-detail #detail .detail-meta-left{min-height:18px!important;line-height:18px!important}
html.p18-exact body.in-detail #detail .detail-meta-left :is(.guest-author,.nick-fixed,.author-fixed,.anon-id){min-height:0!important;line-height:18px!important}
html.p18-exact body.in-detail #detail .detail-info{font-size:13px!important;line-height:normal!important}
html.p18-exact body.in-detail #detail .dbody .post-media-body{padding-right:0!important;padding-left:0!important}
html.p18-exact body.in-detail #detail .dbody .post-media-body>p{padding-right:16px;padding-left:16px}
html.p18-exact body.in-detail #detail .dbody img{margin-top:0!important;margin-bottom:0!important;border-radius:0!important;box-shadow:none!important}
/* Keep the existing form, draft, auth and submit handlers in the source footer. */
html:root.p18-exact body.in-detail #detail .dfoot:has(#cmCompose){display:block!important;padding:10px 12px max(env(safe-area-inset-bottom,0px),20px)!important;border-top:1px solid var(--ln);background:var(--bg)}
html:root.p18-exact body.in-detail #detail .dfoot.kb:has(#cmCompose){padding-bottom:10px!important}
@media(max-width:999px){
 html:root.p18-exact body.p18-home:not(.dc-shell):not(.in-x):not(.in-search):not(.in-detail)>header .top{padding:calc(20px + env(safe-area-inset-top,0px)) 16px 14px!important;max-height:calc(68px + env(safe-area-inset-top,0px))!important}
 html.p18-exact body.p18-home>header #bSearch{display:none!important}
 html.p18-exact body.p18-home>header .brand img{width:94px!important;height:26px!important}
}
@media(min-width:1000px){
 html.p18-exact body #prototype18HomeSearch{display:none!important}
 html.p18-exact body.p18-home #prototype18Keywords:not([hidden]){display:block!important}
 html.p18-exact body.p18-home #prototype18Recommend:not([hidden]){display:flex!important}
 html.p18-exact body.dc-shell #desktopHeader .dc-search{height:40px;border:1.5px solid var(--lk);padding:0 14px}
}

/* The source keeps credentials in the same grey panel as the one-line input. */
html:root.p18-exact body.in-detail #detail #cmBox #cmCompose.dcm{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:0!important;width:100%!important;min-height:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important}
html:root.p18-exact body.in-detail #detail #cmBox #cmCompose.zip14-comment-identity-ready .comment-author-modes{display:none!important}
html:root.p18-exact body.in-detail #detail #cmBox #cmCompose .zip14-comment-identity{display:flex!important;flex:none!important}
html:root.p18-exact body.in-detail #detail #cmBox #cmCompose.dcm .comment-input-bar{display:grid!important;grid-template-columns:minmax(0,1fr) 73px!important;align-items:end!important;gap:0 8px!important;width:100%!important;flex:none!important;padding:6px 6px 6px 14px!important;min-height:50px!important;border:0!important;overflow:hidden!important}
html:root.p18-exact body.in-detail #detail #cmBox #cmCompose.dcm .comment-input-bar #cIn{grid-column:1!important;grid-row:1!important;min-width:0!important;min-height:24px!important;height:var(--p18-comment-height,24px)!important;padding:7px 0!important;font-size:16px!important;line-height:24px!important;box-sizing:content-box!important;max-height:120px!important;flex:none!important}
html:root.p18-exact body.in-detail #detail #cmBox #cmCompose.dcm .comment-actions-bar{grid-column:2!important;grid-row:1!important;align-self:end!important;width:73px!important;padding:0 0 0 8px!important;border-left:1px solid var(--ln)!important;min-height:22px!important;margin-bottom:0!important;display:flex!important}
html:root.p18-exact body.in-detail #detail #cmBox #cmCompose.dcm .comment-actions-left{display:none!important}
html:root.p18-exact body.in-detail #detail #cmBox #cmCompose.dcm .comment-input-bar .go{height:38px!important;min-width:64px!important;padding:0!important;font-size:15px!important;line-height:normal!important;background:var(--ctl)!important;color:var(--on)!important;border-radius:10px!important}
html:root.p18-exact body.in-detail #detail #cmBox #cmCompose.dcm .comment-input-bar .go:disabled{background:var(--ln)!important;color:var(--t3)!important;opacity:1!important}
html:root.p18-exact body.in-detail #detail #cmBox #cmCompose.dcm .comment-guest-fields{grid-column:1/-1;gap:0!important;margin:-6px -6px 6px -14px!important;width:auto!important;border-bottom:1px solid var(--ln)!important}
html:root.p18-exact body.in-detail #detail #cmBox #cmCompose.dcm .comment-guest-fields input{height:40px!important;padding:0 14px!important;border:0!important;border-radius:0!important;background:none!important;font-size:14px!important}
html:root.p18-exact body.in-detail #detail #cmBox #cmCompose.dcm .cm-gf-sep{display:block;width:1px;height:18px;align-self:center;background:var(--ln)}
html:root.p18-exact body.in-detail #detail #cmBox #cmCompose.dcm .comment-attached-thumb{grid-column:1/-1}
html:root.p18-exact body.in-detail #detail #cmBox #cmCompose.dcm .comment-guide-tip{padding:8px 4px 0!important;font-size:12px!important;line-height:1.5!important}

html:root.p18-exact body.in-detail #detail #cmBox #cmCompose.dcm:has(.comment-guest-fields) :is(#cIn,.comment-actions-bar){grid-row:2!important}

.p18-guest-caption{font-size:12px;line-height:12px;padding:0 4px 8px;color:var(--t3)}

html.p18-exact{background:#fff!important}
html.p18-exact[data-theme=dark]{background:var(--p18-night-bg,#25272a)!important}

html.p18-exact body #featureBody .channel-notice-strip .p18-channel-notice-close{width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;padding:0!important}

/* Final writer: restore its draft pill and the source's guest panel geometry. */
html:root.p18-exact body #xpage .wc .wc-top #wSave{display:block!important;flex:none;height:34px;padding:0 12px!important;border:1px solid var(--ln);border-radius:17px;font-size:14px;font-weight:700;white-space:nowrap}
html:root.p18-exact body #xpage .wc .wc-top #wTopDraftCount{color:var(--pt)}
html:root.p18-exact body #xpage .wc .wc-guest-identity{padding:12px 16px 0!important;gap:8px!important}
html:root.p18-exact body #xpage .wc .wc-guest-identity input{height:42px!important;padding:0 12px!important;border:0!important;border-radius:10px!important;font-size:15px!important;outline:0!important}
html:root.p18-exact body #xpage .wc .p18-write-guest-guide{margin:0;padding:10px 16px 12px;border-bottom:1px solid var(--ln);font-size:13px;line-height:1.45;color:var(--t3)}
.p18-write-guest-guide b{color:var(--tx);font-weight:700}.p18-write-guest-guide a{color:var(--lk);font-weight:700}

/* A normal one-line comment in the final file is 89.75px, not a 92px minimum. */
html:root.p18-exact body.in-detail #detail #cmBox .cm{min-height:0!important}
html:root.p18-exact body.in-detail #detail #cmBox .cm .meta{height:20px!important;min-height:20px!important;line-height:normal!important}
html:root.p18-exact body.in-detail #detail #cmBox .cm .meta :is(.guest-author,.guest-author *){font-size:12px!important;font-weight:400!important;color:var(--t3)!important}
html:root.p18-exact body.in-detail #detail #cmBox .cm .meta :is(.nick-fixed,.author-fixed){font-size:12px!important;font-weight:700!important}

/* Source reserves its native scrollbar even on short pages. Safari overlay scrollbars stay overlay. */
html.p18-exact body:not(.in-detail):not(.in-search) #appScroll{overflow-y:scroll!important}

html:root.p18-exact body #xpage .p18-settings-list .prefrow{min-height:55px!important;padding:16px!important}
.p18-settings-legal{display:flex;justify-content:center;gap:18px;padding:18px 16px 24px}.p18-settings-legal button{border:0;background:none;color:var(--t3);font:inherit;font-size:12px;padding:0;cursor:pointer}
.p18-writing-quick{justify-content:space-between}.p18-writing-quick b{color:var(--t3);font-size:14px;font-weight:400}

html:root.p18-exact body #xpage .p18-settings-list .zip14-settings-band{padding:12px 16px!important;font-size:14px!important;line-height:normal!important;font-weight:600!important;color:var(--lk)!important;min-height:0!important}

html.p18-exact body .p18-settings-legal button{min-height:0!important;line-height:normal}

html.p18-exact body #spage .p18-search-recommend .portal-channel{height:68px;padding:0 16px;border:0;color:var(--tx);text-decoration:none}
html.p18-exact body #spage .p18-search-recommend .portal-channel-icon{width:42px;height:42px;border-radius:50%;background:var(--s);font-size:15px;font-weight:800}
html.p18-exact body #spage .p18-search-recommend .portal-channel-copy>b{font-size:16px;font-weight:700}
html.p18-exact body #spage .p18-search-recommend .portal-channel-copy small{font-size:13px;margin-top:0}
html.p18-exact body #spage .p18-search-recommend .portal-channel>button{min-width:56px;min-height:0;height:34px;padding:0 16px;font-size:14px}

html.p18-exact body #featureBody.handoff-channel-directory #channelGroups{margin-bottom:6px!important}

/* Final clip action rail: 36/35/34px icons with 5px captions; progress is 16px above the inset. */
html.p18-exact body.in-shorts #xpage .shortactions button{gap:5px!important}
html.p18-exact body.in-shorts #xpage .shortactions [data-short-comment] .action-icon{width:35px!important;height:35px!important}
html.p18-exact body.in-shorts #xpage .shortactions :is([data-short-share],[data-short-scrap],[data-short-more]) .action-icon{width:34px!important;height:34px!important}
html.p18-exact body.in-shorts #xpage .short-progress{bottom:calc(env(safe-area-inset-bottom,0px) + 16px)!important}

html.p18-exact body #xpage .account-name em{padding:2px 6px;border:0;border-radius:999px;background:var(--pt);color:#fff;font-size:11px;font-weight:700;line-height:normal}
html.p18-exact body #xpage .account-profile-meta{cursor:pointer;white-space:normal;line-height:1.45}
html.p18-exact body #xpage .account-gift-row{display:none}

html.p18-exact body #xpage .account-page:has(#meHead){padding-top:0}

/* Final points page uses surface shortcuts and full-width underline tabs. */
html:root.p18-exact body #xpage>.points-page .point-shortcuts a{border:0;border-radius:12px;background:var(--s)}
html:root.p18-exact body #xpage>.points-page .account-point-filters{padding:0;gap:0;flex-wrap:nowrap;margin:6px 0;border-bottom:1px solid var(--ln)}
html:root.p18-exact body #xpage>.points-page .account-point-filters button{flex:1;height:40px;min-height:40px;padding:12px 0;border:0;border-radius:0;background:none;box-shadow:none;color:var(--t3);font-size:14px;line-height:normal}
html:root.p18-exact body #xpage>.points-page .account-point-filters button.on{background:none;color:var(--tx);font-weight:700;box-shadow:inset 0 -2px var(--tx)}
html:root.p18-exact body #xpage>.points-page .account-point-row strong{font-size:14px;color:var(--lk)}
html:root.p18-exact body #xpage>.points-page .account-point-row strong.spent{color:var(--pt)}

/* Attendance keeps the server's calendar and rewards inside the final visual layout. */
html.p18-exact body #xpage .zip14-attendance-page{padding-top:16px;max-width:none;width:100%}
html.p18-exact body.in-x #xpage:has(>.zip14-attendance-page)>.xtop{height:56px;min-height:56px;padding:0 16px;grid-template-columns:84px minmax(0,1fr) 84px}
html.p18-exact body #xpage:has(>.zip14-attendance-page)>.xtop>.sp{display:none}
html.p18-exact body #xpage:has(>.zip14-attendance-page)>.xtop .account-balance{font-size:13px;color:var(--t2)}
html.p18-exact body #xpage .zip14-attendance-summary b{display:block;font-size:24px;line-height:1.4}
html.p18-exact body #xpage .zip14-attendance-summary small{font-size:13px;line-height:1.45;margin-top:3px;color:var(--t3)}
html.p18-exact body #xpage .zip14-attendance-summary strong{font-size:13px;line-height:normal;font-weight:800}
html.p18-exact body #xpage .zip14-attendance-progress{height:8px;border-radius:4px;margin:16px 0 12px;background:var(--ln)}
html.p18-exact body #xpage .zip14-attendance-calendar{position:relative;left:50%;transform:translateX(-50%);width:min(420px,calc(100% + 32px));max-width:420px;gap:4px 0;padding:8px 12px}
html.p18-exact body #xpage .zip14-attendance-calendar span{width:38px;height:38px;margin:0 auto;border-radius:50%;font-size:14px}
html.p18-exact body #xpage .zip14-attendance-calendar .weekday{font-size:13px;color:var(--t3)}
html.p18-exact body #xpage .zip14-attendance-calendar .done{background:var(--ln)}
html.p18-exact body #xpage .zip14-attendance-calendar .today{box-shadow:inset 0 0 0 2px var(--tx)}
html.p18-exact body #xpage .zip14-attendance-calendar .today.done{background:var(--ctl);color:var(--on)}
html.p18-exact body #xpage .zip14-attendance-bonus{padding:16px 0;border:0;margin:0;line-height:1.4}
html.p18-exact body #xpage .zip14-attendance-bonus b{display:block;font-size:15px;font-weight:700;color:var(--tx)}
html.p18-exact body #xpage .zip14-attendance-bonus small{display:block;font-size:13px;color:var(--t3);margin-top:4px}
html.p18-exact body #xpage .zip14-attendance-page h2{display:flex;align-items:center;justify-content:space-between;gap:8px;margin:20px 0 8px;font-size:13px;color:var(--t3);font-weight:600}
html.p18-exact body #xpage .attendance-today-count{font-size:11px;font-weight:400}
html.p18-exact body #xpage .zip14-attendance-notes{margin:0 -16px}
html.p18-exact body #xpage .zip14-attendance-notes article{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:16px;border-bottom:1px solid var(--ln)}
html.p18-exact body #xpage .zip14-attendance-notes article>div{min-width:0;flex:1}
html.p18-exact body #xpage .zip14-attendance-notes p{font-size:16px;font-weight:600;line-height:1.4;margin:0 0 4px;overflow-wrap:anywhere}
html.p18-exact body #xpage .zip14-attendance-notes small,html.p18-exact body #xpage .attendance-note-streak{font-size:13px;line-height:1.4;color:var(--t3)}
html.p18-exact body #xpage .attendance-note-streak{white-space:nowrap}
html.p18-exact body #xpage .zip14-attendance-compose{left:1px;right:1px;width:auto;padding:8px 16px calc(8px + env(safe-area-inset-bottom,0px));background:var(--bg);border-color:var(--ln)}
html.p18-exact body #xpage .zip14-attendance-compose input,html.p18-exact body #xpage .zip14-attendance-compose button{height:42px}
html.p18-exact body #xpage .zip14-attendance-compose button{font-size:14px;padding:0 18px}
@media(min-width:1000px){html.p18-exact body #xpage .zip14-attendance-compose{left:calc(var(--desk-body-left) + 1px);right:auto;width:calc(var(--dc-main-width) - 2px)}}

/* The final shop is a compact list; redemption still uses the existing receipt flow. */
html.p18-exact body.in-x #xpage:has(>.zip14-shop)>.xtop{height:56px;min-height:56px;padding:0 16px}
html.p18-exact body #xpage>.zip14-shop{padding:18px 16px 24px;margin:0}
html.p18-exact body #xpage>.zip14-shop>.xtabs[hidden]{display:none!important}
html.p18-exact body #xpage .zip14-shop #shopWallet{padding:0;margin:0 0 13px;border:0;border-radius:0;background:none}
html.p18-exact body #xpage .zip14-shop-wallet{display:flex;flex-direction:column;gap:0;margin:0;padding:0;border:0;border-radius:0;background:none;color:var(--tx)}
html.p18-exact body #xpage .zip14-shop-wallet>strong{order:0;font-size:32px;line-height:1.4;font-weight:800;margin:0}
html.p18-exact body #xpage .zip14-shop-wallet>small{order:1;margin-top:2px;font-size:13px;line-height:1.45;color:var(--t3)}
html.p18-exact body #xpage .zip14-shop-wallet>p{display:none}
html.p18-exact body #xpage .zip14-shop-wallet>div{order:2;display:flex;gap:16px;margin-top:28px;padding:0;border:0}
html.p18-exact body #xpage .zip14-shop-wallet a{display:flex;align-items:center;justify-content:center;gap:4px;flex:1;padding:0;height:50px;background:var(--s);color:var(--t2);border:0;border-radius:12px;font-size:14px;font-weight:600;line-height:normal;text-decoration:none}
html.p18-exact body #xpage .zip14-shop-tabs{display:flex;margin:0 -16px;border-bottom:1px solid var(--ln);padding:0;gap:0}
html.p18-exact body #xpage .zip14-shop-tabs button{height:40px;min-height:40px;border:0;border-radius:0;padding:12px 0;line-height:normal;flex:1;background:none;color:var(--t3);font-size:14px}
html.p18-exact body #xpage .zip14-shop-tabs button[aria-pressed=true]{color:var(--tx);box-shadow:inset 0 -2px var(--tx);font-weight:700}
html.p18-exact body #xpage .zip14-shop-products{display:block;margin:6px -16px 0}
html.p18-exact body #xpage .zip14-shop-product{border:0;border-bottom:1px solid var(--ln);border-radius:0;padding:0;background:none;overflow:visible}
html.p18-exact body #xpage .zip14-shop-product .p18-shop-row{display:flex;align-items:center;gap:12px;width:100%;min-height:0;height:auto;margin:0;padding:16px;border:0;border-radius:0;background:none;color:var(--tx);text-align:left;line-height:normal;opacity:1}
html.p18-exact body #xpage .p18-shop-row .zip14-shop-art{display:flex;align-items:center;justify-content:center;flex:0 0 40px;width:40px;height:40px;margin:0;border-radius:12px;background:var(--s);font-size:15px;font-weight:700}
html.p18-exact body #xpage .p18-shop-info{display:block;flex:1;min-width:0}
html.p18-exact body #xpage .p18-shop-info strong{display:block;font-size:16px;font-weight:700;line-height:1.4;overflow-wrap:anywhere}
html.p18-exact body #xpage .p18-shop-info small{display:block;margin:3px 0 0;padding:0;font-size:13px;color:var(--t3);line-height:1.45;white-space:normal}
html.p18-exact body #xpage .p18-shop-price{font-size:14px;white-space:nowrap;font-weight:700}
html.p18-exact body #xpage .p18-shop-row:disabled .p18-shop-price{color:var(--t3)}
html.p18-exact body #xpage .p18-shop-arrow{font-size:22px;color:var(--t3)}
html.p18-exact body #xpage .p18-shop-policy{font-size:12px;line-height:1.6;color:var(--t3);margin:12px 0 0}

html.p18-exact body .arcade-page .a-grid{display:block;padding:0}
html.p18-exact body .arcade-page .a-game{display:grid;grid-template-columns:36px minmax(0,1fr) auto 16px;grid-template-rows:auto auto;column-gap:12px;row-gap:3px;align-items:center;width:100%;margin:0;padding:16px;border:0!important;border-bottom:1px solid var(--ln)!important;border-radius:0;background:none;text-align:left}
html.p18-exact body .arcade-page .a-game>span{grid-column:1;grid-row:1/3;width:36px;height:36px;border-radius:50%;background:var(--s);color:var(--t2)}
html.p18-exact body .arcade-page .a-game svg{width:18px;height:18px}
html.p18-exact body .arcade-page .a-game>b{grid-column:2;grid-row:1;font-size:16px;line-height:1.4;font-weight:700}
html.p18-exact body .arcade-page .a-game>small{grid-column:2;grid-row:2;font-size:13px;line-height:1.45;font-weight:400;text-align:left;color:var(--t3)}
html.p18-exact body .arcade-page .a-game>em{position:static;grid-column:3;grid-row:1/3;padding:0;background:none;color:var(--pt);font-size:13px;line-height:normal}
html.p18-exact body .arcade-page .a-game:after{content:'›';grid-column:4;grid-row:1/3;text-align:right;color:var(--t3);font-size:22px;font-weight:400}
html.p18-exact body .arcade-page .a-attendance{margin:0;padding:16px;border-radius:0;background:none;border-top:0}
html.p18-exact body .arcade-page .a-attendance b{font-size:13px;line-height:1.6;font-weight:400;color:var(--t3)}
html.p18-exact body .arcade-page .a-attendance>a{padding:0;border-radius:0;background:none;color:var(--lk);font-size:13px}

/* 1b: compact identity/input/submit row, credentials above for guests. */
html:root.p18-exact body.in-detail #detail .dfoot{display:none!important}
html:root.p18-exact body.in-detail #detail #cmBox #cmCompose.dcm{position:relative!important;display:flex!important;flex-direction:column!important;padding:12px 16px 14px!important;box-sizing:border-box!important;transform:none!important;background:var(--bg)!important}
html:root.p18-exact body.in-detail #detail #cmBox #cmCompose.dcm .comment-input-bar{display:grid!important;grid-template-columns:auto minmax(0,1fr) 64px!important;gap:8px!important;align-items:center!important;min-height:60px!important;width:100%!important;padding:6px 6px 6px 8px!important;background:var(--comment-panel)!important;border:0!important;border-radius:12px!important;box-sizing:border-box!important}
html:root.p18-exact body.in-detail #detail #cmBox #cmCompose.dcm .zip14-comment-identity{display:flex!important;align-items:center!important;gap:6px!important;height:34px!important;min-height:34px!important;max-width:none!important;width:auto!important;margin:0!important;padding:0 13px!important;border:0!important;border-radius:17px!important;background:var(--bg)!important;color:var(--tx)!important;font-size:13px!important;font-weight:800!important;white-space:nowrap!important;grid-column:1!important;grid-row:1!important}
html:root.p18-exact body.in-detail #detail #cmBox #cmCompose.dcm .zip14-comment-identity i{width:7px;height:7px;flex:none;border-radius:50%;background:var(--lk)}
html:root.p18-exact body.in-detail #detail #cmBox #cmCompose.dcm .zip14-comment-identity strong,html:root.p18-exact body.in-detail #detail #cmBox #cmCompose.dcm .comment-author-modes{display:none!important}
html:root.p18-exact body.in-detail #detail #cmBox #cmCompose.dcm .comment-input-bar #cIn{grid-column:2!important;grid-row:1!important;width:100%!important;min-width:0!important;min-height:24px!important;height:var(--p18-comment-height,24px)!important;max-height:120px!important;padding:7px 0 7px 4px!important;box-sizing:content-box!important;background:none!important;border:0!important;font-size:16px!important;line-height:24px!important}
html:root.p18-exact body.in-detail #detail #cmBox #cmCompose.dcm .comment-actions-bar,html:root.p18-exact body.in-detail #detail #cmBox #cmCompose.dcm .comment-actions-right{display:contents!important}
html:root.p18-exact body.in-detail #detail #cmBox #cmCompose.dcm #cGo{grid-column:3!important;grid-row:1!important;min-width:64px!important;height:38px!important;margin:0!important;border-radius:10px!important;padding:0!important;font-size:15px!important;font-weight:700!important}
html:root.p18-exact body.in-detail #detail #cmBox #cmCompose.dcm:not(.is-expanded) :is(.comment-actions-left,.comment-length,.comment-cancel){display:none!important}
html:root.p18-exact body.in-detail #detail #cmBox #cmCompose.dcm .comment-guest-fields{display:flex!important;grid-column:1/-1!important;grid-row:1!important;width:calc(100% + 14px)!important;margin:-6px -6px 0 -8px!important;padding:0!important;border-bottom:1px solid var(--comment-edge)!important;gap:0!important;box-sizing:border-box}
html:root.p18-exact body.in-detail #detail #cmBox #cmCompose.dcm .comment-guest-fields input{height:38px!important;min-width:0!important;padding:0 14px!important;border:0!important;background:none!important;font-size:14px!important}
html:root.p18-exact body.in-detail #detail #cmBox #cmCompose.dcm .cm-gf-sep{display:block;width:1px;height:16px;align-self:center;background:var(--ln)}
html:root.p18-exact body.in-detail #detail #cmBox #cmCompose.dcm:has(.comment-guest-fields) #cIn{grid-row:2!important;grid-column:1/3!important;padding-left:6px!important}
html:root.p18-exact body.in-detail #detail #cmBox #cmCompose.dcm:has(.comment-guest-fields) #cGo{grid-row:2!important}
html:root.p18-exact body.in-detail #detail #cmBox #cmCompose.dcm .comment-guide-tip{display:block!important;padding:8px 24px 0 4px!important;font-size:12px!important;line-height:1.55!important;color:var(--comment-muted)!important}
html:root.p18-exact body.in-detail #detail #cmBox #cmCompose.dcm .comment-guide-tip b{color:var(--comment-emphasis)}
html:root.p18-exact body.in-detail #detail #cmBox #cmCompose.dcm.is-expanded .comment-input-bar{display:flex!important;flex-direction:column!important;align-items:stretch!important;padding:8px!important;border:1px solid var(--ln)!important}
html:root.p18-exact body.in-detail #detail #cmBox #cmCompose.dcm.is-expanded .zip14-comment-identity{align-self:flex-start}
html:root.p18-exact body.in-detail #detail #cmBox #cmCompose.dcm.is-expanded .comment-input-bar #cIn{height:var(--p18-comment-height,72px)!important;min-height:72px!important;box-sizing:border-box!important;padding:6px!important}
html:root.p18-exact body.in-detail #detail #cmBox #cmCompose.dcm.is-expanded .comment-actions-bar{display:flex!important;width:100%!important;padding:4px 0 0!important;border:0!important;justify-content:space-between!important;align-items:center!important}
html:root.p18-exact body.in-detail #detail #cmBox #cmCompose.dcm.is-expanded .comment-actions-left{display:flex!important;align-items:center;gap:10px;position:relative}
html:root.p18-exact body.in-detail #detail #cmBox #cmCompose.dcm.is-expanded .comment-actions-right{display:flex!important;flex:none!important;align-items:center;gap:8px;margin-left:auto}
html:root.p18-exact body.in-detail #detail #cmBox #cmCompose.dcm.is-expanded .comment-guest-fields{width:calc(100% + 16px)!important;margin:-8px -8px 0!important}
.comment-length{font-size:12px;color:var(--t3)}
.comment-cancel{border:0;border-radius:10px;padding:10px 14px;background:var(--bg);color:var(--tx);font:inherit}
#cEmojiPopover{position:absolute;top:100%;left:0;z-index:5;padding:8px;background:var(--bg);border:1px solid var(--ln);border-radius:10px;gap:4px}
#cEmojiPopover[hidden]{display:none!important}
html:root.p18-exact body.in-detail #detail .cm-reply-slot{position:relative;padding-left:24px;border-bottom:1px solid var(--ln);background:var(--bg)!important}
.comment-reply-marker{position:absolute;left:10px;top:16px;font-size:18px;line-height:24px;color:var(--t3)}

html.p18-exact #cmCompose{--comment-panel:#f1f3f6;--comment-edge:#e3e6eb;--comment-placeholder:#a3a9b4;--comment-muted:#8a909c;--comment-emphasis:#5b6270;--comment-disabled:#e3e6eb;--comment-on-disabled:#9aa0ab}
html.p18-exact:is(.dark,[data-theme=dark]) #cmCompose{--comment-panel:var(--s);--comment-edge:var(--ln);--comment-placeholder:var(--t3);--comment-muted:var(--t3);--comment-emphasis:var(--t2);--comment-disabled:var(--ln);--comment-on-disabled:var(--t3)}
html:root.p18-exact body.in-detail #detail #cmBox #cmCompose.dcm :is(#cIn,.comment-guest-fields input)::placeholder{color:var(--comment-placeholder)!important}
html:root.p18-exact body.in-detail #detail #cmBox #cmCompose.dcm #cGo:disabled{background:var(--comment-disabled)!important;color:var(--comment-on-disabled)!important}

html:root.p18-exact body.in-detail #detail #cmBox #cmCompose.dcm .comment-tool-menu{position:absolute;right:16px;bottom:14px}
html:root.p18-exact body.in-detail #detail #cmBox #cmCompose.dcm .comment-tool-menu>summary{cursor:pointer;list-style:none;color:var(--comment-muted);font-size:12px;padding:4px}
html:root.p18-exact body.in-detail #detail #cmBox #cmCompose.dcm .comment-tool-menu[open]>.comment-actions-left{display:flex!important;position:absolute;bottom:100%;right:0;gap:12px;padding:10px;background:var(--bg);border:1px solid var(--ln);border-radius:10px;z-index:3}

html:root.p18-exact body.in-detail #detail #cmBox #cmCompose.dcm .comment-tool-menu[open] :is(.comment-length,.comment-cancel){display:block!important}
html:root.p18-exact body.in-detail #detail #cmBox #cmCompose.dcm .comment-input-bar{align-items:center!important}
html:root.p18-exact body.in-detail #detail #cmBox #cmCompose.dcm .zip14-comment-identity{align-self:center!important}

html:root.p18-exact #cmCompose .p18-guest-caption{font-size:12px;line-height:normal;font-weight:700;padding-bottom:8px}

html:root.p18-exact body.in-detail #detail #cmBox #cmCompose.dcm .comment-input-bar:has(.comment-guest-fields){grid-template-rows:39px minmax(48px,auto)!important;row-gap:6px!important;min-height:99px!important;padding:0 6px 6px 14px!important}
html:root.p18-exact body.in-detail #detail #cmBox #cmCompose.dcm .comment-input-bar .comment-guest-fields{width:calc(100% + 20px)!important;height:39px!important;margin:0 -6px 0 -14px!important}
html:root.p18-exact body.in-detail #detail #cmBox #cmCompose.dcm:has(.comment-guest-fields) .comment-input-bar #cIn{padding-left:0!important}

html:root.p18-exact body.in-detail #detail #cmBox .cm-form-slot{padding:0!important}
html:root.p18-exact body.in-detail #detail #cmBox .cm-form-slot::before{display:none!important;content:none!important}
html:root.p18-exact body.in-detail #detail #cmBox .cm-reply-slot{padding:0 0 0 24px!important}

/* Prototype 18 article text uses 1.85 leading; player controls keep their own metrics. */
html.p18-exact body.in-detail #detail .dbody,html.p18-exact body.in-detail #detail .dbody :is(p,li){line-height:1.85}

html.p18-exact body #spage.portal-search .portal-home-title{padding-bottom:4px}
/* Prototype 18: six 46px tools scroll independently of the keyboard action. */
html:root.p18-exact body #xpage .wc .wc-tools.wc-tools-six{padding:0!important;gap:0!important;align-items:center!important;background:var(--s)!important;overflow:hidden}
html:root.p18-exact body #xpage .wc .p18-writer-tools-scroll{display:flex;flex:1;min-width:0;align-items:center;gap:2px;padding:6px 8px;overflow-x:auto;scrollbar-width:none}
html:root.p18-exact body #xpage .wc .p18-writer-tools-scroll>button{position:relative;flex:none!important;flex-direction:row!important;width:46px!important;min-width:46px!important;height:44px!important;padding:0!important;border-radius:10px!important}
html:root.p18-exact body #xpage .wc .p18-writer-tools-scroll>button>span{display:none}
html:root.p18-exact body #xpage .wc .p18-writer-tools-scroll svg{width:26px!important;height:26px!important}
html:root.p18-exact body #xpage .wc .p18-writer-tools-scroll #wBold b{font-size:22px;font-family:Georgia,serif;font-weight:900}
html:root.p18-exact body #xpage .wc .wc-tools.wc-tools-six>[data-keyboard-dismiss]{flex:none!important;width:50px!important;height:52px!important;border-left:1px solid var(--ln);border-radius:0!important}
html:root.p18-exact body #xpage .wc .wc-tools.wc-tools-six>[data-keyboard-dismiss] svg{width:24px;height:24px}
html:root.p18-exact body #xpage .wc .wc-tool-count{top:2px;right:0;min-width:18px;height:18px;line-height:18px;padding:0 5px;font-size:10px;font-weight:800}

/* Shared web/native article-row feedback; no scale, opacity or delayed transition. */
html:root body :is(#feed,#sres,#portalBody,#channelFeed,#subscribedFeed,.reading-related,.channel-search-results,#meBox) :is(.hf-list-row,.item)[data-id].dp-post-pressed{background-color:rgba(113,113,122,.12)!important;transition:none!important}
