/* PHOJ treasury: isolated item artwork, reward board and superadmin settings.
   Native account menu, navbar geometry and all existing balances stay unchanged. */
html.ph8570-economy { --ph8570-bg:#fff; --ph8570-soft:#f5f8fd; --ph8570-line:#dce6f2; --ph8570-text:#243b56; --ph8570-muted:#667c96; --ph8570-blue:#2568ca; --ph8570-gold:#ac771c; }
html.theme--dark.ph8570-economy { --ph8570-bg:#122033; --ph8570-soft:#192b42; --ph8570-line:#2d435e; --ph8570-text:#deebfc; --ph8570-muted:#a2b5cd; --ph8570-blue:#8ebfff; --ph8570-gold:#ebc978; }
html body .ph8570-currency-icon { display:inline-block; flex:none; width:40px; height:40px; vertical-align:middle; }
html.ph8570-economy body .nav .ph-language-switch { display:none!important; }
html.ph8570-economy.ph84953-nav-guest { --ph85191-secondary-width:205px; }
html.ph8570-economy.ph85190-navbar-layout-manager body .nav.ph84944-nav .ph84944-nav-secondary>.ph8570-wallet-item { display:flex!important; flex:0 0 113px!important; width:113px!important; min-width:113px!important; max-width:113px!important; align-items:center!important; justify-content:center!important; padding:0!important; }
html.ph8570-economy body .ph8570-wallet-trigger { display:flex; align-items:center; justify-content:space-between; gap:4px; width:101px; height:34px; padding:5px; margin:0; border:1px solid var(--ph8570-line); border-radius:9px; background:var(--ph8570-soft); color:var(--ph8570-text); font:inherit; font-size:10px; line-height:1.2; cursor:pointer; font-variant-numeric:tabular-nums; }
html.ph8570-economy body .ph8570-wallet-trigger>span { display:inline-flex; align-items:center; min-width:0; gap:2px; }
html.ph8570-economy body .ph8570-wallet-trigger b { display:block; max-width:23px; overflow:hidden; text-overflow:ellipsis; white-space:nowrap; font-size:10px; }
html.ph8570-economy body .ph8570-wallet-trigger .ph8570-currency-icon { width:19px; height:19px; }
html.ph8570-economy body .ph8570-wallet-trigger:hover,html.ph8570-economy body .ph8570-wallet-trigger[aria-expanded=true] { border-color:var(--ph8570-blue); }
html.ph8570-economy body .ph8570-wallet-item[hidden] { display:none!important; }
html body :is(.ph8570-page,.ph8570-wallet-popover) { box-sizing:border-box; color:var(--ph8570-text); }
html body :is(.ph8570-page,.ph8570-wallet-popover) * { box-sizing:border-box; }
html body :is(.ph8570-page,.ph8570-wallet-popover) [hidden] { display:none!important; }
html body :is(.ph8570-page,.ph8570-wallet-popover) :is(a,button,input,select,textarea):focus-visible { outline:2px solid var(--ph8570-blue)!important; outline-offset:3px; }
html body .ph8570-wallet-popover { position:fixed; z-index:10250; width:350px; max-width:calc(100vw - 24px); max-height:calc(100dvh - 32px); padding:18px; overflow-y:auto; overscroll-behavior:contain; border:1px solid var(--ph8570-line); border-radius:15px; background:var(--ph8570-bg); box-shadow:0 16px 50px rgba(9,30,58,.22); font-family:"PH Noto Serif 8476",Georgia,serif; }
html body .ph8570-wallet-popover[hidden] { display:none!important; }
html body .ph8570-popover-heading { display:flex; align-items:center; justify-content:space-between; gap:12px; margin-bottom:14px; }
html body .ph8570-popover-heading small { display:block; margin-bottom:4px; color:var(--ph8570-blue); font-size:8px; letter-spacing:.12em; }
html body .ph8570-popover-heading strong { font-size:17px; color:var(--ph8570-text); }
html.theme--dark body .ph8570-popover-heading strong { color:var(--ph8570-gold); }
html body .ph8570-popover-heading button { width:30px; height:30px; padding:0; border:1px solid var(--ph8570-line); border-radius:7px; background:var(--ph8570-soft); color:var(--ph8570-muted); font-size:20px; cursor:pointer; }
html body .ph8570-wallet-popover .ph8570-currency-grid { grid-template-columns:1fr; gap:0; margin:0 0 14px; }
html body .ph8570-wallet-popover .ph8570-currency-card { display:flex; align-items:center; padding:10px 0; gap:10px; border:0; border-bottom:1px solid var(--ph8570-line); border-radius:0; background:transparent; box-shadow:none; }
html body .ph8570-wallet-popover .ph8570-currency-card>.ph8570-currency-icon { width:36px; height:36px; }
html body .ph8570-wallet-popover .ph8570-currency-card>div { display:grid; flex:1; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:4px 10px; }
html body .ph8570-wallet-popover .ph8570-currency-card>div>span { margin:0; font-size:11px; }
html body .ph8570-wallet-popover .ph8570-currency-card strong { margin:0; font-size:14px; }
html body .ph8570-wallet-popover .ph8570-currency-card small { grid-column:1/-1; display:none; }
html body .ph8570-wallet-popover>.ph8570-button { width:100%; }
html body .ph8570-wallet-popover>p { margin:12px 0 0; color:var(--ph8570-muted); font-size:10px; line-height:1.7; text-align:center; }
html body .ph8570-page { width:calc(100% - 32px); max-width:1200px; margin:0 auto; }
html body .main:has(> .ph8570-page) { padding-top:26px!important; }
html body .ph8570-page :is(h1,h2,h3,p) { margin-top:0; }
html body .ph8570-hero { display:flex; align-items:center; justify-content:space-between; gap:24px; padding:28px; border:1px solid var(--ph8570-line); border-radius:18px; background:radial-gradient(ellipse at 100% 0%,rgba(210,167,63,.12),transparent 65%),var(--ph8570-bg); }
html body .ph8570-eyebrow { display:block; color:var(--ph8570-blue); font-size:9px; font-weight:700; letter-spacing:.09em; line-height:1.7; }
html body .ph8570-hero h1 { margin:8px 0 10px; color:var(--ph8570-text)!important; font-size:30px; line-height:1.4; }
html.theme--dark body .ph8570-hero h1,html.theme--dark body .ph8570-heading h2 { color:var(--ph8570-gold)!important; }
html body .ph8570-hero p { max-width:680px; margin:0; color:var(--ph8570-muted); font-size:12px; line-height:1.8; }
html body .ph8570-hero-actions { display:flex; flex-wrap:wrap; gap:9px; }
html body .ph8570-button { display:inline-flex; align-items:center; justify-content:center; flex:none; gap:8px; min-height:38px; padding:9px 13px; border:1px solid var(--ph8570-line); border-radius:8px; background:var(--ph8570-bg); color:var(--ph8570-blue); font:inherit; font-size:11px; line-height:1.5; text-decoration:none; cursor:pointer; }
html body .ph8570-button svg { width:16px; height:16px; }
html body .ph8570-button.is-primary { border-color:#286bd0; background:#286bd0; color:#fff!important; }
html body .ph8570-button:hover { border-color:var(--ph8570-blue); }
html body .ph8570-button.is-primary:hover { background:#1a59b3; }
html body .ph8570-simulation { display:flex; align-items:flex-start; gap:8px; margin:18px 2px 22px; color:var(--ph8570-muted); font-size:11px; line-height:1.8; }
html body .ph8570-simulation svg { width:16px; height:16px; flex:none; margin-top:2px; }
html body .ph8570-currency-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; margin:0 0 24px; }
html body .ph8570-currency-card { display:flex; align-items:flex-start; gap:15px; min-width:0; padding:22px 18px; border:1px solid var(--ph8570-line); border-radius:13px; background:var(--ph8570-bg); box-shadow:0 4px 16px rgba(29,61,98,.035); }
html body .ph8570-currency-card>.ph8570-currency-icon { width:48px; height:48px; }
html body .ph8570-currency-card>div { min-width:0; flex:1; }
html body .ph8570-currency-card>div>span { display:block; min-height:32px; margin-bottom:6px; color:var(--ph8570-muted); font-size:11px; line-height:1.5; }
html body .ph8570-currency-card strong { display:block; margin-bottom:8px; color:var(--ph8570-text); font-size:24px; line-height:1.2; font-variant-numeric:tabular-nums; overflow-wrap:anywhere; }
html body .ph8570-currency-card small { display:block; color:var(--ph8570-muted); font-size:9px; line-height:1.7; }
html body .ph8570-currency-card[data-currency=gold] strong,html body .ph8570-currency-card[data-currency=ingot] strong { color:var(--ph8570-gold); }
html body .ph8570-currency-card[data-currency=jade] strong { color:#259f7a; }
html body .ph8570-panel { margin-bottom:24px; overflow:hidden; border:1px solid var(--ph8570-line); border-radius:15px; background:var(--ph8570-bg); box-shadow:0 5px 18px rgba(30,60,100,.035); }
html body .ph8570-heading { display:flex; justify-content:space-between; align-items:center; gap:18px; padding:22px 24px; border-bottom:1px solid var(--ph8570-line); }
html body .ph8570-heading h2 { margin:6px 0 0; color:var(--ph8570-text)!important; font-size:20px; line-height:1.5; }
html body .ph8570-heading>span { color:var(--ph8570-muted); font-size:11px; }
html body .ph8570-badge { display:inline-block; flex:none; padding:5px 9px; border:1px solid var(--ph8570-line); border-radius:7px; background:var(--ph8570-soft); color:var(--ph8570-muted); font-size:10px; }
html body .ph8570-ledger-list { padding:0 24px; }
html body .ph8570-ledger-list>article { display:grid; grid-template-columns:38px minmax(0,1fr) auto; gap:14px; align-items:center; padding:18px 0; border-bottom:1px solid var(--ph8570-line); }
html body .ph8570-ledger-list>article:last-child { border:0; }
html body .ph8570-ledger-icon .ph8570-currency-icon { width:36px; height:36px; }
html body .ph8570-ledger-copy strong { display:block; color:var(--ph8570-text); font-size:12px; line-height:1.7; overflow-wrap:anywhere; }
html body .ph8570-ledger-copy small { display:block; margin:5px 0; color:var(--ph8570-muted); font-size:10px; line-height:1.7; }
html body .ph8570-ledger-copy code { color:var(--ph8570-muted); font-size:9px; }
html body .ph8570-ledger-amount { text-align:right; }
html body .ph8570-ledger-amount strong { display:block; margin-bottom:5px; color:#299367; font-size:18px; font-variant-numeric:tabular-nums; }
html body .ph8570-ledger-amount span { color:var(--ph8570-muted); font-size:9px; }
html body .is-rejected .ph8570-ledger-amount strong { color:#bc6d56; text-decoration:line-through; }
html body .ph8570-pagination { display:flex; align-items:center; justify-content:center; gap:20px; padding:17px; border-top:1px solid var(--ph8570-line); color:var(--ph8570-muted); font-size:11px; }
html body .ph8570-pagination a { color:var(--ph8570-blue); text-decoration:none; }
html body .ph8570-empty { display:grid; justify-items:center; gap:12px; padding:32px 24px; text-align:center; }
html body .ph8570-empty>.ph8570-currency-icon { width:54px; height:54px; }
html body .ph8570-empty strong { color:var(--ph8570-text); font-size:15px; }
html body .ph8570-empty p { max-width:580px; margin:0; color:var(--ph8570-muted); font-size:11px; line-height:1.9; }
html body .ph8570-admin .ph8500-settings-nav { margin:20px 0!important; }
html.theme--dark body .ph8570-admin .ph8500-settings-nav { background:var(--ph8570-bg)!important; border-color:var(--ph8570-line)!important; scrollbar-color:var(--ph8570-line) var(--ph8570-bg); }
html.theme--dark body .ph8570-admin .ph8500-settings-nav>a { color:var(--ph8570-muted)!important; background:transparent!important; border-color:transparent!important; }
html.theme--dark body .ph8570-admin .ph8500-settings-nav>a.is-active { color:var(--ph8570-blue)!important; background:var(--ph8570-soft)!important; border-color:var(--ph8570-line)!important; }
html.theme--dark body .ph8570-admin .ph8500-settings-nav>a.ph8501-online-shortcut { color:#83d9ad!important; background:#15392e!important; border-color:#2b5747!important; }
html body .ph8570-admin-grid { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:20px; align-items:start; }
html body .ph8570-form { display:grid; gap:18px; padding:24px; }
html body .ph8570-form label,html body .ph8570-lookup label { display:grid; gap:8px; color:var(--ph8570-text); font-size:11px; line-height:1.8; }
html body .ph8570-form :is(input,textarea,select),html body .ph8570-lookup input { width:100%; min-width:0; padding:10px 12px; border:1px solid var(--ph8570-line); border-radius:8px; background:var(--ph8570-soft); color:var(--ph8570-text); font:inherit; font-size:12px; }
html body .ph8570-form .ph8570-check { display:flex; gap:9px; align-items:center; }
html body .ph8570-check input { width:16px; height:16px; accent-color:var(--ph8570-blue); }
html body .ph8570-form p { margin:0; color:var(--ph8570-muted); font-size:11px; line-height:1.9; }
html body .ph8570-form h3 { margin:4px 0 0; padding-top:20px; border-top:1px solid var(--ph8570-line); font-size:14px; color:var(--ph8570-text)!important; }
html body .ph8570-fields { display:grid; grid-template-columns:1fr 1fr; gap:16px; }
html body .ph8570-lookup { display:flex; gap:12px; align-items:end; padding:20px 24px; border-bottom:1px solid var(--ph8570-line); }
html body .ph8570-lookup label { flex:1; }
html body .ph8570-target { display:flex; align-items:center; justify-content:space-between; gap:12px; padding:18px 24px; font-size:12px; }
html body .ph8570-target span { color:var(--ph8570-muted); font-size:10px; }
html body .ph8570-admin-grid .ph8570-currency-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; margin:0; padding:0 24px; }
html body .ph8570-admin-grid .ph8570-currency-card { gap:10px; padding:13px 10px; background:var(--ph8570-soft); }
html body .ph8570-admin-grid .ph8570-currency-card>.ph8570-currency-icon { width:36px; height:36px; }
html body .ph8570-admin-grid .ph8570-currency-card small { display:none; }
html body .ph8570-admin-grid .ph8570-currency-card strong { font-size:18px; }
html body .ph8570-message { margin:20px 0; padding:16px 20px; border:1px solid var(--ph8570-line); border-radius:10px; background:var(--ph8570-soft); color:var(--ph8570-text); font-size:12px; line-height:1.8; }
html body .ph8570-shop-wallet { display:flex; align-items:center; justify-content:space-between; flex-wrap:wrap; gap:10px; padding:16px 20px; margin:18px 0; border:1px solid var(--ph8570-line); border-radius:12px; background:var(--ph8570-bg); color:var(--ph8570-text); font-size:12px; }
html body .ph8570-shop-wallet>span { display:inline-flex; align-items:center; gap:9px; }
html body .ph8570-shop-wallet .ph8570-currency-icon { width:27px; height:27px; }
@media(max-width:1000px) { html body .ph8570-currency-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } html body .ph8570-admin-grid { grid-template-columns:1fr; } }
@media(max-width:760px) {
 html body .ph8570-hero { flex-direction:column; align-items:start; padding:24px 20px; gap:18px; }
 html body .ph8570-hero h1 { font-size:25px; }
 html body .ph8570-currency-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
 html body .ph8570-currency-card { padding:18px 13px; gap:10px; }
 html body .ph8570-currency-card>.ph8570-currency-icon { width:36px; height:36px; }
 html body .ph8570-currency-card strong { font-size:22px; }
 html body .ph8570-heading { padding:20px; }
 html body .ph8570-heading h2 { font-size:18px; }
 html body .ph8570-ledger-list { padding:0 18px; }
 html body .ph8570-ledger-list>article { grid-template-columns:32px minmax(0,1fr); gap:9px; }
 html body .ph8570-ledger-amount { grid-column:2; text-align:left; }
 html body .ph8570-ledger-amount strong { display:inline; font-size:16px; margin-right:8px; }
}
@media(max-width:600px) {
 html.ph8570-economy.ph85190-navbar-layout-manager body .nav.ph84944-nav .ph84944-nav-secondary>.ph8570-wallet-item { width:100%!important; min-width:0!important; max-width:none!important; min-height:58px!important; padding:9px 16px!important; }
 html.ph8570-economy body .ph8570-wallet-trigger { width:100%; height:40px; justify-content:flex-start; gap:20px; padding:8px 12px; font-size:12px; }
 html.ph8570-economy body .ph8570-wallet-trigger b { max-width:80px; font-size:12px; }
 html.ph8570-economy body .ph8570-wallet-trigger>span:last-child { margin-left:auto; }
 html body .ph8570-wallet-popover { width:350px; }
}
@media(max-width:400px) {
 html body .ph8570-page { width:calc(100% - 24px); }
 html body .ph8570-currency-card { flex-direction:column; gap:10px; padding:16px 13px; }
 html body .ph8570-currency-card>.ph8570-currency-icon { width:40px; height:40px; }
 html body .ph8570-currency-card>div>span { font-size:11px; }
 html body .ph8570-admin-grid .ph8570-currency-card { flex-direction:row; gap:7px; }
 html body .ph8570-admin-grid .ph8570-currency-card>.ph8570-currency-icon { width:30px; height:30px; }
 html body .ph8570-form,html body .ph8570-lookup { padding:18px; }
 html body .ph8570-fields { grid-template-columns:1fr; }
 html body .ph8570-heading { padding:18px; }
 html body .ph8570-heading h2 { font-size:17px; }
 html body .ph8570-target { padding:18px; }
 html body .ph8570-admin-grid .ph8570-currency-grid { padding:0 18px; }
 html body .ph8570-wallet-popover .ph8570-currency-card { flex-direction:row; }
}
@media(prefers-reduced-motion:reduce) { html body :is(.ph8570-page,.ph8570-wallet-popover) * { transition:none!important; animation:none!important; } }
/* All currency artwork has real alpha. No tile background, border or pseudo-frame. */
html body .ph8570-currency-icon.ph8590-item-icon { position:relative; display:inline-grid; place-items:center; min-height:0; margin:0; padding:0; overflow:visible; border:0; border-radius:0; background:none; box-shadow:none; line-height:0; vertical-align:middle; pointer-events:none; box-sizing:border-box; }
html body .ph8590-item-icon::before,html body .ph8590-item-icon::after { content:none; display:none; }
html body .ph8590-item-icon>.ph8590-item-art { display:block; width:100%; height:100%; max-width:100%; max-height:100%; margin:0; padding:0; border:0; border-radius:0; object-fit:contain; background:none; box-shadow:none; pointer-events:none; }
html.ph8570-economy body .ph8570-wallet-trigger .ph8590-item-icon { width:22px; height:22px; }
html body .ph8580-treasury>.ph8570-hero { border-top:3px solid #b99448; background:radial-gradient(ellipse at 100% 0%,#b38b2820,transparent 70%),var(--ph8570-bg); }
html body .ph8580-treasury>.ph8570-currency-grid { grid-template-columns:repeat(3,minmax(0,1fr)); gap:14px; }
html body .ph8580-treasury .ph8570-currency-card { position:relative; align-items:center; padding:20px; border-top:2px solid #9ba9b8; }
html body .ph8580-treasury .ph8570-currency-card>.ph8570-currency-icon { width:76px; height:76px; }
html body .ph8580-treasury .ph8570-currency-card[data-currency=gold],html body .ph8580-treasury .ph8570-currency-card[data-currency=ingot] { border-top-color:#bf9b4d; }
html body .ph8580-treasury .ph8570-currency-card[data-currency=stone_low] { border-top-color:#4a9870; }
html body .ph8580-treasury .ph8570-currency-card[data-currency=stone_mid] { border-top-color:#528fc6; }
html body .ph8580-treasury .ph8570-currency-card[data-currency=stone_high] { border-top-color:#a176c1; }
html body .ph8580-treasury .ph8570-currency-card[data-currency=jade] { grid-column:1/-1; padding:16px 20px; border-top-color:#b9964e; background:linear-gradient(115deg,#1b8a7020,transparent 65%),var(--ph8570-bg); }
html body .ph8580-treasury .ph8570-currency-card[data-currency=jade]>div { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:0 20px; align-items:center; }
html body .ph8580-treasury .ph8570-currency-card[data-currency=jade]>div>span { min-height:0; margin:0; }
html body .ph8580-treasury .ph8570-currency-card[data-currency=jade] strong { grid-column:2; grid-row:1/3; margin:0; }
html body .ph8580-treasury .ph8570-currency-card>div>span { min-height:36px; color:var(--ph8570-text); font-size:12px; font-weight:700; }
html body .ph8580-treasury .ph8570-currency-card strong { margin:6px 0; }
html body .ph8580-reward-grid { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:14px; padding:22px; }
html body .ph8580-reward { display:grid; grid-template-columns:64px minmax(0,1fr); align-content:start; align-items:center; gap:14px 10px; min-width:0; padding:18px; border:1px solid #4e5667; border-radius:12px; background:radial-gradient(ellipse at 0 0,#33445f,#142136 80%); color:#e8edf7; box-shadow:inset 0 0 0 3px #101b2c,0 5px 12px #08152612; }
html body .ph8580-reward>.ph8570-currency-icon { grid-row:1; width:64px; height:64px; }
html body .ph8580-status { display:inline-flex; align-items:center; justify-content:center; justify-self:end; width:fit-content; padding:5px 8px; border:1px solid var(--ph8570-line); border-radius:6px; background:var(--ph8570-soft); color:var(--ph8570-muted); font-size:9px; font-weight:700; line-height:1.6; text-align:center; }
html body .ph8580-status.is-live { border-color:#2e785d; background:#143e32; color:#a0ecc5; }
html body .ph8580-reward .ph8580-status:not(.is-live) { color:#d9c498; border-color:#756546; background:#2e2b27; }
html body .ph8580-reward h3 { grid-column:1/-1; margin:0; color:#edf2ff!important; font-size:12px; line-height:1.8; }
html body .ph8580-reward>strong { grid-column:1/-1; color:#f1cf86; font-size:24px; font-variant-numeric:tabular-nums; }
html body .ph8580-reward strong small { font-size:11px; font-weight:400; }
html body .ph8580-exchange { display:flex; flex-wrap:wrap; align-items:center; justify-content:space-between; gap:18px; padding:18px 24px; border-top:1px solid var(--ph8570-line); background:var(--ph8570-soft); }
html body .ph8580-exchange small { display:block; margin-top:4px; color:var(--ph8570-muted); font-size:10px; }
html body .ph8580-rate { display:flex; align-items:center; gap:9px; color:var(--ph8570-text); font-size:12px; font-variant-numeric:tabular-nums; }
html body .ph8580-rate>.ph8570-currency-icon { width:34px; height:34px; padding:1px; border-radius:6px; }
html body .ph8580-rate>span:not(.ph8570-currency-icon) { padding:0 5px; color:var(--ph8570-muted); }
html body .ph8580-subnav { display:flex; gap:6px; margin:0 0 20px; padding:5px; width:fit-content; max-width:100%; border:1px solid var(--ph8570-line); border-radius:10px; background:var(--ph8570-bg); }
html body .ph8580-subnav a { display:flex; align-items:center; min-height:38px; padding:9px 16px; border-radius:7px; color:var(--ph8570-muted); font-size:12px; text-decoration:none; }
html body .ph8580-subnav a[aria-current=page] { color:var(--ph8570-blue); background:var(--ph8570-soft); font-weight:700; }
html body .ph8580-summary { padding:0 24px; }
html body .ph8580-summary>a { display:grid; grid-template-columns:44px minmax(0,1fr) auto; align-items:center; gap:14px; padding:16px 0; color:var(--ph8570-text); border-bottom:1px solid var(--ph8570-line); text-decoration:none; }
html body .ph8580-summary>a:last-child { border-bottom:0; }
html body .ph8580-summary .ph8570-currency-icon { width:44px; height:44px; }
html body .ph8580-summary strong,html body .ph8580-summary small { display:block; }
html body .ph8580-summary strong { font-size:12px; }
html body .ph8580-summary small { margin-top:5px; color:var(--ph8570-muted); font-size:10px; }
html body .ph8580-summary b { color:var(--ph8570-gold); font-size:18px; }
html body .ph8580-exchange-input { display:grid; grid-template-columns:36px minmax(0,1fr) 36px; align-items:center; gap:12px; }
html body .ph8580-exchange-input>.ph8570-currency-icon { width:36px; height:36px; }
html body .ph8580-reward-form { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:20px; }
html body .ph8580-reward-form>.ph8570-panel { margin:0; align-self:start; }
html body .ph8580-reward-form>.ph8570-panel:first-of-type { grid-column:1/-1; }
html body .ph8580-reward-setting { display:grid; grid-template-columns:68px minmax(0,1fr) 124px; align-items:center; gap:20px; padding:24px; }
html body .ph8580-reward-setting+.ph8580-reward-setting { border-top:1px solid var(--ph8570-line); }
html body .ph8580-reward-setting>.ph8570-currency-icon { width:68px; height:68px; }
html body .ph8580-reward-setting h3 { margin:0; color:var(--ph8570-text)!important; font-size:14px; line-height:1.8; }
html body .ph8580-reward-setting p { margin:5px 0 0; color:var(--ph8570-muted); font-size:11px; line-height:1.8; }
html body .ph8580-reward-setting label { display:grid; gap:7px; color:var(--ph8570-muted); font-size:11px; line-height:1.8; }
html body .ph8580-reward-setting input[type=number] { width:100%; padding:10px 12px; border:1px solid var(--ph8570-line); border-radius:8px; background:var(--ph8570-soft); color:var(--ph8570-text); font:inherit; font-size:15px; font-variant-numeric:tabular-nums; }
html body .ph8580-reward-setting .ph8570-check { display:flex; align-items:center; gap:8px; margin-top:12px; color:var(--ph8570-text); }
html body .ph8580-reward-setting .ph8570-check input { width:16px; height:16px; }
html body .ph8580-save { grid-column:1/-1; display:flex; align-items:center; justify-content:space-between; gap:20px; padding:20px 24px; border:1px solid var(--ph8570-line); border-radius:12px; background:var(--ph8570-bg); }
html body .ph8580-save strong { display:block; color:var(--ph8570-text); font-size:12px; }
html body .ph8580-save small { display:block; margin-top:6px; max-width:650px; color:var(--ph8570-muted); font-size:10px; line-height:1.8; }
@media(hover:hover) { html body .ph8580-summary>a:hover strong { color:var(--ph8570-blue); } }
@media(max-width:1100px) { html body .ph8580-reward-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } html body .ph8580-reward-form { grid-template-columns:1fr; } }
@media(max-width:760px) {
 html body .ph8580-treasury>.ph8570-currency-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; }
 html body .ph8580-treasury .ph8570-currency-card { flex-direction:column; align-items:start; padding:16px; gap:12px; }
 html body .ph8580-treasury .ph8570-currency-card>.ph8570-currency-icon { width:64px; height:64px; }
 html body .ph8580-treasury .ph8570-currency-card[data-currency=jade] { flex-direction:row; align-items:center; }
 html body .ph8580-reward-grid { padding:16px; gap:10px; }
 html body .ph8580-reward { grid-template-columns:1fr; padding:15px; gap:10px; }
 html body .ph8580-reward .ph8580-status { justify-self:start; }
 html body .ph8580-reward h3 { font-size:11px; }
 html body .ph8580-reward>strong { font-size:21px; }
 html body .ph8580-exchange { align-items:start; gap:18px; padding:18px; }
 html body .ph8580-exchange>div:first-child { flex-basis:100%; }
 html body .ph8580-reward-setting { gap:15px; padding:20px; }
 html body .ph8580-save { align-items:start; flex-direction:column; padding:20px; }
 html body .ph8580-save button { width:100%; }
}
@media(max-width:480px) {
 html body .ph8580-reward-setting { grid-template-columns:56px minmax(0,1fr); }
 html body .ph8580-reward-setting>.ph8570-currency-icon { width:56px; height:56px; }
 html body .ph8580-reward-setting>label { grid-column:2; }
 html body .ph8580-admin .ph8570-heading { flex-wrap:wrap; gap:12px; }
 html body .ph8580-subnav { width:100%; }
 html body .ph8580-subnav a { flex:1; justify-content:center; padding:9px 10px; font-size:11px; }
}
