/* One type scale and spacing system for the homepage, including legacy widgets. */
@layer home554 {
 .site-shell.jcs-home-design .home-redesign {--home-ink:#202630;--home-secondary:#626c78;--home-rule:#e5e8ec}
 .site-shell.jcs-home-design .home-redesign :is(.module-header h2,.ai-title-with-icon h2,.sidebar-editorial-head h2,.side-head,.citizen-choice-heading h2,.side-studio-shortcut h2,.pmap-home h2,.cheer-shop-heading h2,.fortune-card-title b){font-size:18px!important;line-height:26px!important;letter-spacing:-.035em!important;font-weight:750!important;color:var(--home-ink)!important;margin:0!important}
 .site-shell.jcs-home-design .home-redesign .module-header{align-items:center!important;gap:12px!important;margin:0 0 16px!important;padding:0!important}
 .site-shell.jcs-home-design .home-redesign :is(.module,.pmap-home,.political-comic-home){padding:20px!important}
 .site-shell.jcs-home-design .home-redesign .eyebrow{display:block!important;font-size:10px!important;line-height:14px!important;letter-spacing:.09em!important;color:#747d88!important;margin:0 0 4px!important}
 .site-shell.jcs-home-design .home-redesign :is(.column-card-copy b,.column-card:first-child .column-card-copy b,.community-title,.comic-home-title){font-size:15px!important;line-height:22px!important;color:var(--home-ink)!important}
 .site-shell.jcs-home-design .home-redesign :is(.column-card-copy small,.community-copy em,.community-stats){font-size:12px!important;line-height:18px!important;color:var(--home-secondary)!important}
 .site-shell.jcs-home-design .home-redesign .main-pair .module-header h2{font-size:18px!important}
 .site-shell.jcs-home-design .home-redesign #itsme .proposal-rows a{font-size:14px!important;line-height:21px!important}
 .site-shell.jcs-home-design .home-redesign #itsme :is(.proposal-copy>p,.proposal-cover>span:last-child){font-size:12px!important;line-height:18px!important}
 .site-shell.jcs-home-design .home-redesign #itsme .proposal-rows small{font-size:11px!important;line-height:16px!important;color:var(--home-secondary)!important}

 /* A 64px profile and a shared left edge for the name and wallet, as measured on Naver. */
 .site-shell.jcs-home-design .home-redesign .promo-account-card [data-badge-showcase-mount]{height:66px!important;padding:20px 18px 0!important}
 .site-shell.jcs-home-design .home-redesign .promo-account-card .badge-showcase-main{grid-template-columns:64px minmax(0,1fr)!important;gap:20px!important;align-items:start!important}
 .site-shell.jcs-home-design .home-redesign .promo-account-card .badge-showcase-main>.badge-showcase-slot{position:absolute!important;top:21px!important;left:18px!important;width:64px!important;height:64px!important;min-height:64px!important;padding:5px!important}
 .site-shell.jcs-home-design .home-redesign .promo-account-card .badge-showcase-slot .jcs-badge{width:52px!important;height:52px!important}
 .site-shell.jcs-home-design .home-redesign .promo-account-card .badge-showcase-main>div{padding-right:70px!important}
 .site-shell.jcs-home-design .home-redesign .promo-account-card .badge-profile-heading{gap:3px!important}
 .site-shell.jcs-home-design .home-redesign .promo-account-card .badge-profile-heading b{font-size:16px!important;line-height:22px!important;font-weight:800!important;color:var(--home-ink)!important}
 .site-shell.jcs-home-design .home-redesign .promo-account-card .badge-profile-heading>button{font-size:13px!important;line-height:20px!important;color:var(--home-secondary)!important}
 .site-shell.jcs-home-design .home-redesign .promo-account-card .home-account-logout{top:19px!important;right:18px!important;font-size:13px!important;line-height:20px!important;padding:0!important;border:0!important;background:none!important;color:var(--home-secondary)!important}
 .site-shell.jcs-home-design .home-redesign .promo-account-card .member-wallet-row{height:40px!important;padding:0 18px 10px 102px!important;gap:8px!important}
 .site-shell.jcs-home-design .home-redesign .promo-account-card .member-wallet-row>a:first-child{justify-content:flex-start!important;font-size:12px!important;gap:8px!important;flex-wrap:wrap!important}
 .site-shell.jcs-home-design .home-redesign .promo-account-card .member-wallet-row b{font-size:14px!important;color:var(--home-ink)!important}
 .site-shell.jcs-home-design .home-redesign .promo-account-card .member-charge-link{font-size:12px!important;padding:2px 6px!important}
 .site-shell.jcs-home-design .home-redesign .promo-account-card .member-activity-grid{background:#f8f9fa!important}
 .site-shell.jcs-home-design .home-redesign .promo-account-card .member-activity-grid>a{gap:3px!important;padding:6px 2px!important}
 .site-shell.jcs-home-design .home-redesign .promo-account-card .member-activity-grid b{order:2!important;font-size:14px!important;line-height:18px!important;color:var(--home-secondary)!important}
 .site-shell.jcs-home-design .home-redesign .promo-account-card .member-activity-grid>a>span:last-child{font-size:13px!important;line-height:18px!important;font-weight:650!important;color:var(--home-ink)!important}

 /* Remove the inherited purple segmented control, not just its bottom border. */
 .site-shell.jcs-home-design .home-redesign .ai-home .poll-topic-tabs{display:flex!important;justify-content:flex-start!important;gap:24px!important;padding:0!important;margin:0 0 18px!important;background:transparent!important;border:0!important;border-bottom:1px solid var(--home-rule)!important;border-radius:0!important;box-shadow:none!important}
 .site-shell.jcs-home-design .home-redesign .ai-home .poll-topic-tabs>button{flex:0 0 auto!important;min-width:0!important;min-height:42px!important;padding:8px 0 12px!important;border:0!important;border-bottom:2px solid transparent!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;font-size:15px!important;line-height:22px!important;font-weight:600!important;color:var(--home-secondary)!important;white-space:nowrap!important;cursor:pointer!important}
 .site-shell.jcs-home-design .home-redesign .ai-home .poll-topic-tabs>button[aria-selected=true]{color:var(--home-ink)!important;border-bottom-color:var(--home-ink)!important;font-weight:750!important}
 .site-shell.jcs-home-design .home-redesign .ai-home .ai-section>h2{font-size:14px!important;line-height:20px!important;color:var(--home-secondary)!important;margin:0 0 12px!important}
 .site-shell.jcs-home-design .home-redesign .ai-home .ai-result{border:1px solid var(--home-rule)!important;border-radius:6px!important;background:#fff!important;padding:14px!important}
 .site-shell.jcs-home-design .home-redesign .ai-home .ai-result.synthetic{background:#f7f8fa!important;border-color:#dce1e7!important}
 .site-shell.jcs-home-design .home-redesign .ai-home .ai-result h3{font-size:16px!important;line-height:23px!important;color:var(--home-ink)!important}
 .site-shell.jcs-home-design .home-redesign .ai-home :is(.ai-muted,.ai-result>small,.party-poll-source small){font-size:12px!important;line-height:18px!important;color:var(--home-secondary)!important}
 .site-shell.jcs-home-design .home-redesign .ai-home .ai-kicker{font-size:11px!important;color:var(--home-secondary)!important}
 .site-shell.jcs-home-design .home-redesign .ai-home .ai-muted{margin:8px 0 0!important}
 .site-shell.jcs-home-design .home-redesign .ai-home .party-poll-delta{font-size:11px!important;color:var(--home-secondary)!important}

 /* Sidebar links use short horizontal compositions, with no oversized stage illustration. */
 .site-shell.jcs-home-design .home-redesign .side-studio-shortcut>a{display:grid!important;grid-template-columns:minmax(0,1fr) 96px!important;column-gap:14px!important;row-gap:6px!important;padding:18px 20px 0!important}
 .site-shell.jcs-home-design .home-redesign .studio-shortcut-head{grid-column:1/-1!important;font-size:10px!important;line-height:18px!important;margin:0 0 4px!important}
 .site-shell.jcs-home-design .home-redesign .studio-shortcut-head span:last-child{font-size:12px!important;padding:2px 7px!important;line-height:18px!important;color:var(--home-secondary)!important}
 .site-shell.jcs-home-design .home-redesign .side-studio-shortcut h2{grid-column:1!important;grid-row:2!important}
 .site-shell.jcs-home-design .home-redesign .side-studio-shortcut p{grid-column:1!important;grid-row:3!important;font-size:13px!important;line-height:20px!important;margin:0!important;color:var(--home-secondary)!important}
 .site-shell.jcs-home-design .home-redesign .studio-scene{grid-column:2!important;grid-row:2/5!important;align-self:center!important;width:96px!important;height:90px!important;margin:0!important;overflow:hidden!important;border-radius:6px!important}
 .site-shell.jcs-home-design .home-redesign .studio-scene svg{width:100%!important;height:100%!important;display:block!important}
 .site-shell.jcs-home-design .home-redesign .studio-shortcut-stages{grid-column:1!important;grid-row:4!important;display:flex!important;justify-content:flex-start!important;gap:12px!important;padding:0!important;margin:3px 0 0!important;background:none!important}
 .site-shell.jcs-home-design .home-redesign .studio-shortcut-stages>span{height:auto!important;min-height:0!important;padding:0!important;font-size:11px!important;line-height:18px!important;color:var(--home-secondary)!important;gap:3px!important}
 .site-shell.jcs-home-design .home-redesign .studio-shortcut-stages b{font-size:11px!important;color:#434e5d!important}
 .site-shell.jcs-home-design .home-redesign .studio-shortcut-button{grid-column:1/-1!important;grid-row:5!important;display:block!important;margin:10px -20px 0!important;padding:11px 20px!important;border-top:1px solid var(--home-rule)!important;background:#f8f9fa!important;color:var(--home-ink)!important;font-size:13px!important;line-height:20px!important;text-align:left!important}
 .site-shell.jcs-home-design .home-redesign .citizen-choice-banner{padding:18px 20px!important}
 .site-shell.jcs-home-design .home-redesign .citizen-choice-content{display:block!important;height:auto!important;padding:0!important;gap:0!important}
 .site-shell.jcs-home-design .home-redesign .citizen-choice-heading>span{display:block!important;font-size:10px!important;line-height:14px!important;color:#747d88!important;margin:0 0 4px!important}
 .site-shell.jcs-home-design .home-redesign .citizen-choice-body{display:flex!important;align-items:center!important;gap:16px!important;margin:12px 0 0!important}
 .site-shell.jcs-home-design .home-redesign .citizen-choice-illustration{order:2!important;width:84px!important;height:84px!important;min-height:0!important;border-radius:6px!important}
 .site-shell.jcs-home-design .home-redesign .citizen-choice-status{display:inline-block!important;font-size:12px!important;line-height:18px!important;background:#f3f4f6!important;color:var(--home-secondary)!important;padding:2px 6px!important}
 .site-shell.jcs-home-design .home-redesign .citizen-choice-topic p{font-size:15px!important;line-height:22px!important;font-weight:650!important;margin:8px 0 0!important;color:var(--home-ink)!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important;overflow:hidden!important}
 .site-shell.jcs-home-design .home-redesign .citizen-choice-footer{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:8px!important;margin:10px 0 0!important}
 .site-shell.jcs-home-design .home-redesign .citizen-choice-footer span{font-size:12px!important;line-height:18px!important;color:var(--home-secondary)!important}
 .site-shell.jcs-home-design .home-redesign .citizen-choice-footer strong{font-size:13px!important;line-height:20px!important;color:var(--home-ink)!important;padding:0!important;border:0!important;background:none!important}
 .site-shell.jcs-home-design .home-redesign .sidebar-editorial-head{margin-bottom:8px!important}
 .site-shell.jcs-home-design .home-redesign .sidebar-editorial-head p{font-size:12px!important;line-height:18px!important;margin:4px 0 0!important;color:var(--home-secondary)!important}
 .site-shell.jcs-home-design .home-redesign .sidebar-rising-item{padding:8px 0!important;gap:10px!important}
 .site-shell.jcs-home-design .home-redesign .sidebar-rising-copy{gap:2px!important}
 .site-shell.jcs-home-design .home-redesign .sidebar-rising-copy b{font-size:14px!important;line-height:20px!important}
 .site-shell.jcs-home-design .home-redesign .sidebar-rising-copy small{font-size:12px!important;line-height:18px!important}
 .site-shell.jcs-home-design .home-redesign .sidebar-rising-change{font-size:12px!important}
 .site-shell.jcs-home-design .home-redesign .side-action{font-size:12px!important;color:var(--home-secondary)!important}
 .site-shell.jcs-home-design .home-redesign .recent-visual-card b{font-size:13px!important;line-height:20px!important}
 .site-shell.jcs-home-design .home-redesign .recent-visual-card small{font-size:11px!important;line-height:16px!important}
 .site-shell.jcs-home-design .home-redesign .support-bridge-copy small{font-size:11px!important;color:var(--home-secondary)!important}
 .site-shell.jcs-home-design .home-redesign .support-bridge-copy strong{font-size:13px!important;line-height:20px!important}
 .site-shell.jcs-home-design .home-redesign .cage-rebuild{padding:18px 20px 0!important;border-radius:8px!important}
 .site-shell.jcs-home-design .home-redesign .cage-rebuild h3{font-size:18px!important;line-height:26px!important;max-width:none!important;margin:10px 0 12px!important}
 .site-shell.jcs-home-design .home-redesign .cage-score-side{padding:9px 12px!important;gap:4px!important;border-radius:6px!important}
 .site-shell.jcs-home-design .home-redesign .cage-score strong{font-size:26px!important}
 .site-shell.jcs-home-design .home-redesign .cage-score small{font-size:12px!important}
 .site-shell.jcs-home-design .home-redesign .cage-cta{margin:12px -20px 0!important;padding:11px 20px!important;font-size:13px!important;line-height:20px!important;text-align:left!important}
 .site-shell.jcs-home-design .home-redesign .pmap-tabs{gap:12px!important;margin:12px 0!important}
 .site-shell.jcs-home-design .home-redesign .pmap-tabs button{font-size:13px!important;line-height:20px!important}
 .site-shell.jcs-home-design .home-redesign :is(.pmap-total>span,.pmap-party,.pmap-home-categories,.pmap-election>span,.pmap-election>small){font-size:12px!important;line-height:18px!important;color:var(--home-secondary)!important}
 .site-shell.jcs-home-design .home-redesign .cheer-product-card strong{font-size:13px!important;line-height:19px!important}
 .site-shell.jcs-home-design .home-redesign .fortune-empty-copy{font-size:13px!important;line-height:20px!important;margin:12px 0!important;color:var(--home-secondary)!important}
 .site-shell.jcs-home-design .home-redesign .fortune-primary{font-size:13px!important;line-height:20px!important;padding:9px 12px!important}
 @media(hover:hover){
  .site-shell.jcs-home-design .home-redesign .ai-home .poll-topic-tabs>button:hover{color:var(--home-ink)!important;background:#f8f9fa!important}
  .site-shell.jcs-home-design .home-redesign :is(.side-studio-shortcut,.citizen-choice-banner):hover{border-color:#b9c1cc!important}
  .site-shell.jcs-home-design .home-redesign .side-studio-shortcut>a:hover .studio-shortcut-button{background:#eef1f5!important}
  .site-shell.jcs-home-design .home-redesign .promo-account-card :is(.badge-profile-heading>button,.home-account-logout):hover{text-decoration:underline!important}
 }
 @media(max-width:760px){
  .site-shell.jcs-home-design .home-redesign :is(.module,.pmap-home,.political-comic-home){padding:18px 16px!important}
  .site-shell.jcs-home-design .home-redesign .ai-home .poll-topic-tabs{gap:18px!important;flex-wrap:nowrap!important;overflow-x:auto!important}
  .site-shell.jcs-home-design .home-redesign .ai-home .poll-topic-tabs>button{font-size:14px!important}
  .site-shell.jcs-home-design .home-redesign .side-studio-shortcut>a{grid-template-columns:minmax(0,1fr) 76px!important;padding:16px 16px 0!important;column-gap:10px!important}
  .site-shell.jcs-home-design .home-redesign .studio-scene{width:76px!important;height:80px!important}
  .site-shell.jcs-home-design .home-redesign .studio-shortcut-button{margin-left:-16px!important;margin-right:-16px!important;padding:11px 16px!important}
 }
 /* Allow larger accessibility text and summary errors to grow the account rather than clip it. */
 html[data-jcs-font-scale]:not([data-jcs-font-scale="0"]) .site-shell.jcs-home-design .home-redesign .promo-account-card :is([data-badge-showcase-mount],.member-wallet-row,.member-activity-grid){height:auto!important;min-height:56px!important}
 html[data-jcs-font-scale]:not([data-jcs-font-scale="0"]) .site-shell.jcs-home-design .home-redesign .promo-account-card [data-badge-showcase-mount]{min-height:76px!important}
}
