/* Revision 3: scope each refinement to its owning component. */
:is(.gnb,.user-nav) a img.arena-nav-art{display:block;width:24px;height:24px;min-width:24px;object-fit:contain;flex:none;filter:grayscale(1);opacity:.58;transition:filter .15s,opacity .15s}
:is(.gnb,.user-nav) a:is(.on,[aria-current="page"]) img.arena-nav-art{filter:none;opacity:1}
body[data-ui="v14-exact"] .gnb a{gap:5px;display:flex;flex-direction:column;align-items:center;justify-content:center}
body[data-ui="v14-exact"] .gnb a span{font-size:12px;line-height:1.35}
.home-winning-summary{position:relative;margin:-28px 0 20px;padding:18px;border:1px solid #e1e8f2;border-radius:22px;background:#fff;box-shadow:0 8px 24px #20304c0a}
.home-winning-summary__header{display:flex;align-items:center;justify-content:space-between;gap:12px;margin-bottom:14px;color:#172e4c}
.home-winning-summary__header>strong{font-size:18px}.home-winning-summary__header>a{font-size:14px;color:#315dee;white-space:nowrap}
.home-winning-summary .arp-pools{margin-bottom:0}.home-winning-summary .arp-stats strong{font-size:24px}
.home-earn-banner{display:flex;align-items:center;gap:14px;margin:26px 0;padding:17px 18px;border-radius:16px;background:linear-gradient(105deg,#203ab5,#385cf0);color:#fff!important;text-decoration:none}
.home-earn-banner__icon{display:grid;place-items:center;flex:0 0 38px;width:38px;height:38px;border-radius:50%;background:#ffd13e;color:#795100;font-size:25px;font-weight:850;box-shadow:inset 0 0 0 3px #fff2a475}
.home-earn-banner>span:nth-child(2){display:flex;flex:1;min-width:0;flex-direction:column;gap:5px}.home-earn-banner strong{font-size:17px!important;line-height:1.4}.home-earn-banner small{font-size:14px!important;line-height:1.5;color:#e0e8ff}.home-earn-banner>b{font-size:22px}
body[data-ui="v14-exact"] .earn-list .earn-card{display:grid;grid-template-columns:40px minmax(0,1fr) auto;gap:14px;align-items:start;height:auto;min-height:0}
.earn-list .earn-card>div{min-width:0}.earn-list .earn-card h3{margin:0 0 8px;font-size:16px!important;line-height:1.5}.earn-list .earn-card p{margin:0 0 10px;font-size:14px!important;line-height:1.6;word-break:keep-all}.earn-list .earn-card form{margin:0}.earn-list .earn-card p:empty{display:none}
body[data-ui="v14-exact"] .earn-list .earn-action{display:inline-flex;position:static;align-items:center;justify-content:center;min-height:42px;height:auto;margin:2px 0 10px;padding:10px 14px;line-height:1.5;font-size:14px;text-align:center;box-sizing:border-box;white-space:normal}
.earn-list .earn-reward{white-space:nowrap;font-size:17px!important;line-height:1.5}.earn-list .earn-reward small{font-size:12px}
.my-wrap .ledger .ledger-ico{display:grid;place-items:center;flex:0 0 36px;width:36px;height:36px;border-radius:50%;font-family:Arial,sans-serif;font-size:24px;line-height:1;font-weight:700}
.my-wrap .ledger .ledger-credit{background:#fff0d0;color:#a16a00}.my-wrap .ledger .ledger-debit{background:#eaf0fb;color:#436590}
.my-wrap .ledger-row{display:grid;grid-template-columns:36px minmax(0,1fr) auto;gap:12px}.my-wrap .ledger-row>div{min-width:0}.my-wrap .ledger-row small{overflow-wrap:anywhere}
.points-pagination{display:flex;flex-wrap:wrap;justify-content:center;gap:8px;margin:22px 0}.points-pagination a{display:grid;place-items:center;min-width:40px;min-height:40px;box-sizing:border-box}.points-pagination a[aria-current="page"]{background:#ff3155;color:#fff;border-color:#ff3155}
body[data-ui="v14-exact"] .notification-settings .setting-row{display:flex;align-items:center;gap:18px;padding:18px 22px;height:auto}
.notification-settings .setting-row>div{flex:1;min-width:0}.notification-settings .setting-row b{display:block;font-size:16px!important;line-height:1.5;margin-bottom:5px}.notification-settings .setting-row span{display:block;font-size:14px!important;line-height:1.6;word-break:keep-all}.notification-settings .setting-row .toggle{flex-shrink:0}
.notification-settings :is(.notify-hero p,.important-note){font-size:14px!important;line-height:1.6}.notification-settings .article-cta{font-size:16px!important}
body[data-ui="v14-exact"] .gift-wrap .gift-games .gift-game{display:grid;grid-template-columns:20px 28px minmax(0,1fr) 82px;align-items:center;gap:10px;padding:12px 16px;margin:0;min-width:0}
.gift-wrap .gift-games .gift-check{margin:0;width:18px;height:18px;min-width:18px}.gift-wrap .gift-games .gift-no{width:28px;min-width:0;font-size:13px;white-space:nowrap;padding:0;text-align:center}
body[data-ui="v14-exact"] .gift-wrap .gift-games .myballs{display:flex;flex-wrap:nowrap;gap:5px;min-width:0;align-items:center}
body[data-ui="v14-exact"] .gift-wrap .gift-games .myball{display:grid;place-items:center;width:30px;height:30px;min-width:30px;flex:0 0 30px;aspect-ratio:1;border-radius:50%;padding:0;line-height:1;font-size:13px;box-sizing:border-box}
body[data-ui="v14-exact"] .gift-wrap .gift-games .gift-source{width:auto;min-width:0;padding:0;text-align:right;font-size:12px;line-height:1.5;white-space:nowrap}.gift-wrap .gift-games .gift-source small{display:block;font-size:12px}
@media(max-width:600px){
 .home-winning-summary{padding:12px;margin-top:-24px;border-radius:18px}.home-winning-summary__header>strong{font-size:16px}.home-winning-summary__header>a{font-size:13px}.home-winning-summary .arp-stats strong{font-size:22px}
 .home-earn-banner{gap:10px;padding:14px 12px}.home-earn-banner__icon{flex-basis:32px;width:32px;height:32px;font-size:22px}.home-earn-banner strong{font-size:16px!important}
 body[data-ui="v14-exact"] .earn-list .earn-card{grid-template-columns:32px minmax(0,1fr) auto;gap:10px;padding:16px}.earn-list .earn-card .earn-ico{width:32px;height:36px;font-size:26px}.earn-list .earn-card .earn-action{margin-bottom:6px}
 body[data-ui="v14-exact"] .gift-wrap .gift-games .gift-game{grid-template-columns:18px 22px minmax(0,1fr);gap:5px 7px;padding:11px 12px}.gift-wrap .gift-games .gift-no{width:22px}
 body[data-ui="v14-exact"] .gift-wrap .gift-games .myballs{gap:4px}
 body[data-ui="v14-exact"] .gift-wrap .gift-games .myball{width:27px;height:27px;min-width:27px;flex-basis:27px;font-size:12px}
 body[data-ui="v14-exact"] .gift-wrap .gift-games .gift-source{grid-column:3;text-align:left;display:flex;align-items:baseline;gap:8px}.gift-wrap .gift-games .gift-source small{display:inline;margin:0;line-height:inherit}
}

/* Shared number-gift artwork on the MY100 gift entry card. */
body[data-ui="v14-exact"] .gift-type .gift-selection-art{display:block;width:112px;height:96px;max-width:100%;margin:0 auto 16px;object-fit:contain;background:transparent;border:0;border-radius:0}

@media(max-width:600px){body[data-ui="v14-exact"] .notification-settings .setting-row{padding:18px 16px;gap:16px}}

/* Same rank palette as league, fitted to the seven-column history table. */
body[data-ui="v14-exact"] .performance-table .league-rank-value{min-width:0;min-height:26px;padding:3px 4px;border-radius:8px;font-size:inherit;line-height:1.4;box-sizing:border-box}

/* A single type scale for machine recommendation and explanatory cards. */
body[data-ui="v14-exact"] #intro .recommend .rec,body[data-ui="v14-exact"] .indicator-grid .indicator span{font-size:14px!important;line-height:1.6}
body[data-ui="v14-exact"] #intro .recommend .rec b,body[data-ui="v14-exact"] .indicator-grid .indicator b{font-size:15px!important;line-height:1.5;font-weight:700;margin-bottom:6px}
body[data-ui="v14-exact"] .gift-wrap [data-gift-step="4"] .gift-complete-hero{padding:28px 24px!important}
.gift-complete-hero .gift-complete-art{display:block;width:144px;height:124px;max-width:100%;object-fit:contain;margin:0 auto 14px}
.gift-complete-hero:after{content:none}
/* Home participation guide: isolated from shared card and heading styles. */
body[data-ui="v14-exact"] .home-participation{position:relative;overflow:hidden;margin:22px 0;padding:26px 22px 20px;border:1px solid #e5edf5;border-radius:20px;background:radial-gradient(circle at 3% 0%,#fff5d5 0,transparent 120px),linear-gradient(135deg,#fff,#f9fbfe);box-shadow:0 6px 22px #18395406;color:#10233e}
.home-participation header{text-align:center}.home-participation .home-participation-brand{font-size:12px;font-weight:700;letter-spacing:3px;color:#7c8ca5}.home-participation header h2{margin:6px 0 8px;font-size:30px;line-height:1.3;font-weight:800;letter-spacing:-1px}.home-participation h2 em{font-style:normal;color:#edaa00}.home-participation header p{margin:0;font-size:14px;line-height:1.65;color:#546c8d;word-break:keep-all}
.home-participation .home-participation-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:26px;list-style:none;padding:0;margin:24px 0 0}.home-participation-steps li{position:relative;min-width:0}.home-participation-steps li+li:before{content:'›';position:absolute;left:-20px;top:50%;transform:translateY(-50%);font-size:30px;color:#98a6bc}.home-participation-steps a{display:flex;align-items:center;gap:12px;height:100%;box-sizing:border-box;padding:18px 12px;border:1px solid #e9eff6;border-radius:17px;background:#ffffffdf;color:inherit;text-decoration:none}.home-participation-steps a:hover{border-color:#b7cce6;background:#fff}.home-participation .home-participation-number{display:grid;place-items:center;width:48px;height:48px;flex:0 0 48px;border-radius:50%;background:linear-gradient(135deg,#fff0b4,#ffe18a);font-size:23px;font-weight:800;color:#122643}.home-participation-steps li:nth-child(2) .home-participation-number{background:linear-gradient(135deg,#d8eeff,#b9dfff);color:#142b83}.home-participation-steps li:nth-child(3) .home-participation-number{background:linear-gradient(135deg,#ffe1e6,#ffc7d1);color:#8c1736}.home-participation .home-participation-steps h3{margin:0 0 5px;font-size:18px;font-weight:800;line-height:1.4;word-break:keep-all}.home-participation .home-participation-steps p{margin:0;font-size:14px;line-height:1.6;color:#546c8d;word-break:keep-all}.home-participation .home-participation-note{text-align:right;margin:15px 6px 0;font-size:14px;font-style:italic;color:#8b9db7;line-height:1.5}
@media(max-width:760px){body[data-ui="v14-exact"] .home-participation{padding:23px 14px 18px}.home-participation header h2{font-size:25px}.home-participation .home-participation-steps{grid-template-columns:1fr;gap:9px;margin-top:20px}.home-participation-steps li+li:before{display:none}.home-participation-steps a{padding:14px;gap:14px}.home-participation .home-participation-steps h3{font-size:18px}.home-participation .home-participation-note{text-align:center;margin-top:20px}}
body[data-ui] .header-account,.arena-top-actions .header-account{display:inline-flex;align-items:center;justify-content:center;flex:0 0 36px;width:36px;height:36px;border:1px solid #dde5ee;border-radius:50%;background:#fff;color:#25415e;margin-left:4px}
.header-account svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
@media(max-width:400px){body[data-ui] .header-actions,body[data-ui] .guest-actions{gap:4px}body[data-ui] .header-account{width:32px;height:34px;flex-basis:32px}body[data-ui] .header .brand span,body[data-ui] .guest-header .brand span{font-size:8px!important}body[data-ui] .header .brand strong,body[data-ui] .guest-header .brand strong{font-size:13px!important}body[data-ui] .header .brand,body[data-ui] .guest-header .brand{gap:6px}}

/* Shopping reward screens: provider-confirmed catalog and isolated point history. */
.shopping-balance{display:flex;align-items:center;justify-content:space-between;gap:16px;margin:20px 0;padding:20px}.shopping-balance>div{display:grid;gap:6px}.shopping-balance strong{font-size:26px;font-weight:650;color:#176cec}.shopping-balance span,.shopping-balance a{font-size:14px!important}
.shopping-section{margin:12px 0}.shopping-heading{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.shopping-heading h2,.shopping-page h2{font-size:18px!important;font-weight:650;line-height:1.5}.shopping-heading p,.shopping-page p,.shopping-section p{font-size:14px!important;line-height:1.7;color:#62758c}.shopping-heading>a{font-size:13px!important;white-space:nowrap}.shopping-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px;margin:16px 0}.shopping-merchant{display:flex;flex-direction:column;align-items:center;gap:10px;text-align:center;padding:22px 10px;min-width:0;text-decoration:none;color:#152c45}.shopping-mark{width:60px;height:60px;display:grid;place-items:center;border-radius:20px;background:#eef4ff;color:#2571dc;font-size:24px;font-weight:600}.shopping-merchant strong{font-size:16px!important;overflow-wrap:anywhere}.shopping-rate{font-size:14px!important;color:#176cec;font-weight:600;line-height:1.5}.shopping-more{font-size:12px!important;color:#62758c}.shopping-empty{text-align:center;padding:28px 20px}.shopping-page>h1{font-size:24px!important;font-weight:650}.shopping-summary{display:flex;flex-direction:column;align-items:center;text-align:center;gap:12px;padding:28px;margin:20px 0}.shopping-notices>.card,.shopping-history>.card{padding:20px;margin:12px 0}.shopping-notices p{overflow-wrap:anywhere}.shopping-status{border-radius:20px;padding:6px 12px;background:#edf3ff;color:#3164b6;font-size:13px!important}.shopping-cta{width:100%;max-width:440px;margin:6px 0 0;padding:0}.shopping-redirect{text-align:center;padding:28px 20px}.shopping-redirect p{font-size:14px;line-height:1.7}.shopping-redirect a{display:inline-block;margin-top:12px}.shopping-cta button{width:100%;min-height:48px;font-size:15px!important}.shopping-cta button:disabled{background:#e9edf3;color:#7b8795;cursor:default}
@media(max-width:480px){.shopping-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.shopping-balance{padding:16px}.shopping-merchant{padding:18px 10px}.shopping-heading{align-items:flex-start}.shopping-page>h1{font-size:22px!important}}

.shopping-logo{width:64px;height:64px;object-fit:contain;background:#fff;border-radius:16px;padding:4px}

.shopping-heading h2,.shopping-heading p{margin:0 0 6px}.shopping-mobile-rate{display:none}.shopping-pc-rate{display:inline}@media(max-width:768px){.shopping-mobile-rate{display:inline}.shopping-pc-rate{display:none}}

.shopping-links{display:flex;align-items:center;gap:16px;flex-wrap:wrap}.shopping-links a{font-size:13px!important;line-height:1.6;white-space:nowrap}.shopping-all-page>h1{font-size:24px!important;font-weight:650}.shopping-all-page .shopping-section{margin-top:24px}@media(max-width:480px){.shopping-links{width:100%;justify-content:flex-end;gap:18px}}

.home-statistics-card{display:flex;align-items:center;gap:16px;margin:24px 0;padding:22px;border:1px solid #e7e3d4;border-radius:18px;background:linear-gradient(120deg,#fff9e5,#fff);color:#18334e}.home-statistics-icon{font-size:32px;color:#a17b18}.home-statistics-card strong{display:block;font-size:18px}.home-statistics-card span span{display:block;font-size:12px;color:#718297;margin:5px 0}.home-statistics-card small{font-size:11px;color:#82764c}.home-statistics-card>b{margin-left:auto;white-space:nowrap;font-size:12px;color:#3263a4}.machine-statistics-link{display:inline-block;margin:12px 12px 0 0;color:#3263a4;font-size:13px;font-weight:700}@media(max-width:600px){.home-statistics-card{flex-wrap:wrap;padding:20px 16px;gap:12px}.home-statistics-card strong{font-size:17px}.home-statistics-card>b{width:100%;margin-left:44px}.home-statistics-icon{font-size:28px}}
