:root{--bg:#080a08;--card:#191d18;--line:#2a3029;--text:#f2f4ef;--muted:#858c82;--lime:#b6d52c;--red:#ff4f5e;--green:#76d56a}
*{box-sizing:border-box;-webkit-tap-highlight-color:transparent}
html{background:var(--bg)}
body{margin:0;min-height:100vh;background:radial-gradient(circle at 50% -5%,#303728 0,#151913 25%,#080a08 58%);color:var(--text);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;-webkit-font-smoothing:antialiased}
main{width:100%;max-width:720px;margin:auto;padding:18px 14px calc(92px + env(safe-area-inset-bottom))}
a{text-decoration:none;color:inherit}
header{display:flex;justify-content:space-between;align-items:center;margin:3px 3px 22px}.brand{display:block}header small,label{color:var(--lime);font-weight:800;font-size:11px;letter-spacing:.5px}h1{margin:1px 0;font-size:28px;line-height:1.05}.plus{display:grid;place-items:center;width:50px;height:50px;border:1px solid var(--line);border-radius:15px;color:var(--lime);font-size:27px;background:#111510}
.summary{display:grid;grid-template-columns:1fr 1fr;gap:10px}.summary>div,.card{background:linear-gradient(145deg,#1a1f19,#141713);border:1px solid #252a24;border-radius:20px;padding:17px}.summary b{display:block;font-size:22px;margin-top:7px}.title{display:flex;justify-content:space-between;align-items:center;margin:23px 4px 10px}.title h2{margin:0;font-size:20px}.title small,.row small,.history small,.muted{color:var(--muted);display:block;font-size:11px;margin-top:3px}
.account-list{display:flex;flex-direction:column;gap:8px}.row{display:flex;align-items:center;gap:11px;min-height:68px;background:linear-gradient(145deg,#181c18,#121512);border:1px solid var(--line);border-radius:17px;padding:12px 11px;transition:transform .08s ease}.row:active{transform:scale(.985)}.status-dot{width:13px;height:13px;border-radius:50%;flex:none}.green{background:var(--green);box-shadow:0 0 10px #76d56a88}.red{background:var(--red);box-shadow:0 0 10px #ff4f5e88}.person{min-width:0;flex:1}.person b{display:block;font-size:15px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.balances{text-align:right;min-width:120px}.balances strong{display:block;color:var(--lime);font-size:15px;line-height:1.1}.balances small{white-space:nowrap}.chevron{color:#a4aa9f;font-size:23px;line-height:1}
.back{display:inline-block;color:var(--muted);font-size:14px;margin:0 0 12px;padding:5px 0}.card{margin-bottom:12px}.card h2{margin:0;font-size:20px}.cardhead{display:flex;justify-content:space-between;align-items:center;gap:12px}.edit{color:var(--lime);font-size:13px;font-weight:800;padding:7px 0}.profile-card .contact-line{margin-top:17px}.contact-line label{display:block}.contact-line a{display:block;margin-top:5px;font-size:15px;word-break:break-word}.status-pill{font-size:11px;font-weight:800;padding:5px 9px;border-radius:999px}.status-pill.available{color:#bff4a9;background:#18311a;border:1px solid #2f6033}.status-pill.exhausted{color:#ff9ca4;background:#35181c;border:1px solid #67252c}
.limit{padding:18px 0 22px;border-bottom:1px solid var(--line);margin-bottom:20px}.limit:last-child{border:0;margin-bottom:0;padding-bottom:2px}.limit>div{display:flex;justify-content:space-between;align-items:center}.limit>div small{color:var(--muted);font-size:11px}.limit>b{display:block;font-size:22px;margin:12px 0}.limit em{font-style:normal;color:var(--muted);font-size:13px;font-weight:500}.limit p{color:var(--muted);font-size:12px;margin:8px 0 0}
progress{width:100%;height:10px;appearance:none;border:0;border-radius:99px;overflow:hidden;background:#30352f}progress::-webkit-progress-bar{background:#30352f;border-radius:99px}progress::-webkit-progress-value{background:var(--lime);border-radius:99px}progress::-moz-progress-bar{background:var(--lime);border-radius:99px}
.button{display:flex;align-items:center;justify-content:center;width:100%;min-height:52px;border:0;border-radius:15px;background:var(--lime);color:#11150e;font-weight:850;text-align:center;padding:14px;font:inherit;box-shadow:0 4px 18px #0004}.button:active{transform:scale(.99)}
form label{display:block;margin-top:17px}input,select{width:100%;min-height:50px;margin-top:7px;padding:12px 13px;border-radius:13px;border:1px solid var(--line);background:#0e110e;color:var(--text);font:inherit;font-size:16px;outline:none}input:focus,select:focus{border-color:#53651f;box-shadow:0 0 0 2px #b6d52c18}form .button{margin-top:18px}.two{display:grid;grid-template-columns:1fr 1fr;gap:10px}.flash{background:#3a3016;border:1px solid #675526;padding:11px 12px;border-radius:12px;margin-bottom:12px;color:#f0d67a;font-size:13px}.quick-amounts{display:grid;grid-template-columns:repeat(5,1fr);gap:7px;margin-top:10px}.quick{min-height:42px;border:1px solid var(--line);border-radius:11px;background:#111510;color:var(--text);font:inherit;font-size:12px;font-weight:700}.quick:active{background:#20261d;border-color:#596a25}.history{display:flex;justify-content:space-between;gap:10px;padding:13px 0;border-bottom:1px solid var(--line)}.history:last-child{border-bottom:0}.empty{text-align:center;padding:40px 15px;color:var(--muted);background:#111410;border:1px dashed var(--line);border-radius:16px}
.bottom-nav{position:fixed;bottom:0;left:50%;transform:translateX(-50%);width:min(720px,100%);background:#0c0f0ced;backdrop-filter:blur(18px);-webkit-backdrop-filter:blur(18px);border-top:1px solid var(--line);display:flex;justify-content:space-around;padding:8px 8px calc(8px + env(safe-area-inset-bottom));z-index:10}.navitem{min-width:68px;text-align:center;font-size:21px;color:#8d9489;padding:2px 6px}.navitem small{display:block;font-size:10px;margin-top:2px;color:inherit}.navitem:active{color:var(--lime)}
.auth{min-height:86vh;display:flex;align-items:center;justify-content:center}.authbox{width:min(430px,100%);background:linear-gradient(145deg,#191d18,#111410);border:1px solid #252a24;border-radius:24px;padding:26px}.authbox h1{margin:5px 0 8px}.authbox .button{margin-top:14px}.muted{color:var(--muted);font-size:13px}
@media(min-width:700px){main{padding-left:20px;padding-right:20px}.row{min-height:72px}}
@media(max-width:480px){main{padding-left:11px;padding-right:11px;padding-top:13px}header{margin-bottom:18px}.summary>div{padding:15px}.summary b{font-size:21px}.two{grid-template-columns:1fr}.row{padding:11px 10px;min-height:66px}.balances{min-width:103px}.balances strong{font-size:14px}.balances small{font-size:10px}.quick-amounts{gap:5px}.quick{font-size:11px}}
@media(max-width:360px){.person b{font-size:14px}.person small{font-size:10px}.balances{min-width:92px}.balances strong{font-size:13px}.chevron{font-size:20px}.navitem{min-width:60px}}
/* V4 UI refinements — keeps the original V3 palette */
.search-wrap{margin:0 0 10px}.search-wrap input{margin:0;height:54px;border-radius:17px;padding-left:16px;background:#0e110e}.status-tabs{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 12px}.status-tab{min-height:50px;border:1px solid var(--line);border-radius:16px;background:#101410;color:var(--muted);font:inherit;font-size:13px;font-weight:750}.status-tab b{margin-left:5px}.status-tab.active{color:var(--lime);border-color:#586b20;background:#182016}.mini-dot{display:inline-block;width:9px;height:9px;border-radius:50%;margin-right:6px;box-shadow:none}.account-row[hidden],.history-row[hidden]{display:none}.filtered-empty[hidden]{display:none}.account-phone{color:var(--muted);font-size:12px;margin-top:4px}.contact-grid{display:grid;grid-template-columns:1fr;gap:0}.mini-stats,.remaining-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px;margin:0 0 12px}.mini-stats>div,.remaining-grid>div{background:linear-gradient(145deg,#181d17,#111510);border:1px solid var(--line);border-radius:16px;padding:14px 15px}.mini-stats small,.remaining-grid small{display:block;color:var(--muted);font-size:10px;font-weight:800;letter-spacing:.45px}.mini-stats b,.remaining-grid b{display:block;margin-top:6px;font-size:18px}.remaining-grid{margin-top:14px}.remaining-grid b{color:var(--lime)}.limit-warning{margin-top:10px;padding:11px 12px;border:1px solid #5b272c;background:#281619;color:#ff9ca4;border-radius:12px;font-size:12px}.disabled-button,.button:disabled{background:#252a24;color:#777e74;box-shadow:none;cursor:not-allowed}.history-card{padding-top:5px;padding-bottom:5px}.form-card h2,.purchase-card h2{margin-bottom:4px}.quick-amounts{grid-template-columns:repeat(5,minmax(0,1fr))}.quick{padding:6px 2px}.row{overflow:hidden}.person{padding-right:4px}.balances{display:flex;flex-direction:column;align-items:flex-end;justify-content:center}.balances small{line-height:1.25}.summary>div{min-height:104px;display:flex;flex-direction:column;justify-content:center}.summary small{color:#c9cec5}.title small{margin-top:0}.empty{width:100%}
@media(max-width:480px){.status-tabs{gap:8px}.status-tab{font-size:12px}.mini-stats>div,.remaining-grid>div{padding:13px}.quick-amounts{grid-template-columns:repeat(3,1fr)}.quick{font-size:12px}.title{margin-top:25px}.row{gap:10px}.balances{min-width:108px}}

/* Unified Inazuma Tools shell */
body{background:radial-gradient(circle at 50% -5%,#303728 0,#151913 25%,#080a08 58%)}
.app-shell{min-height:100vh}.workspace{min-width:0}.content{width:100%;max-width:1180px;margin:0 auto;padding:28px 22px 50px}
.sidebar{position:fixed;inset:0 auto 0 0;width:238px;background:#0b0e0b;border-right:1px solid var(--line);padding:20px 13px;z-index:40;display:flex;flex-direction:column}.workspace{margin-left:238px}
.side-brand{display:flex;align-items:center;gap:10px;padding:2px 7px 22px}.side-brand .bolt{color:var(--lime);font-size:30px}.side-brand b{font-size:18px;color:#d8ef79}.side-brand small{display:block;color:var(--lime);font-size:8px;letter-spacing:1.6px;font-weight:900}.drawer-close{display:none;margin-left:auto;background:none;border:0;color:var(--text);font-size:28px}
.side-nav{display:grid;gap:7px}.side-nav a,.side-logout{display:flex;align-items:center;gap:12px;min-height:48px;padding:0 13px;border:1px solid transparent;border-radius:13px;color:#c1c7bd;font-size:13px}.side-nav a svg,.side-logout svg,.menu-btn svg,.tool-icon svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.side-nav a.active{color:var(--lime);border-color:#53651f;background:#182016}.side-logout{margin-top:auto;border-top:1px solid var(--line);border-radius:0;padding-top:14px}.mobile-top{display:none}.drawer-shade{display:none}
.hero{padding:18px 2px 12px}.eyebrow{color:var(--lime);font-size:10px;font-weight:900;letter-spacing:1px}.hero h1,.page-head h1{font-size:34px;margin:5px 0 8px}.hero p,.page-head p{color:var(--muted);margin:0;max-width:650px;font-size:13px;line-height:1.55}.tool-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:18px}.tool-card{display:flex;align-items:center;gap:13px;min-height:132px;padding:18px;border:1px solid var(--line);border-radius:19px;background:linear-gradient(145deg,#1a1f19,#111411)}.tool-card>div{min-width:0;flex:1}.tool-card b{font-size:16px}.tool-card p{font-size:11px;color:var(--muted);line-height:1.45}.tool-card small{font-size:9px;color:var(--lime)}.tool-card i{font-style:normal;font-size:25px;color:#9ba293}.tool-icon{display:grid;place-items:center;width:44px;height:44px;flex:none;border:1px solid #43502a;border-radius:13px;color:var(--lime);background:#11160f}
.page-head{margin:5px 2px 20px}.page-head.split{display:flex;justify-content:space-between;align-items:flex-start;gap:14px}.head-actions{display:flex;gap:7px;align-items:center}.head-actions form{margin:0}.small-button,.icon-button,.danger-button,.secondary-button{display:inline-flex;align-items:center;justify-content:center;min-height:42px;padding:0 14px;border:1px solid #596b21;border-radius:11px;background:#182016;color:var(--lime);font:800 12px inherit}.danger-button{border-color:#6c2a31;background:#2a171a;color:#ff8b95}.secondary-button{width:100%;margin-top:13px;border-color:var(--line);background:#101410;color:#c8cec4}
.calculator-card{padding:18px}.calc-inputs{display:grid;gap:10px}.calc-inputs.three{grid-template-columns:repeat(3,1fr)}.calc-inputs label{margin:0;color:#cdd2c9}.calc-inputs input{margin-top:7px}.input-prefix{position:relative}.input-prefix span{position:absolute;left:13px;top:50%;transform:translateY(-50%);z-index:1;color:var(--lime);font-weight:900}.input-prefix input{padding-left:32px}
.fee-strip{display:grid;grid-template-columns:1fr 1fr;gap:9px;margin:13px 0}.fee-strip span{padding:11px 13px;border:1px solid var(--line);border-radius:12px;background:#0e110e;color:var(--muted);font-size:11px}.fee-strip b{float:right;color:var(--text)}
.result-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:9px}.result-grid>div{padding:14px;border:1px solid var(--line);border-radius:14px;background:#111510}.result-grid small{color:var(--muted);font-size:9px;font-weight:900}.result-grid b{display:block;margin-top:7px;font-size:17px}.result-grid .profit-result{grid-column:1/-1;text-align:center;border-color:#53651f;background:#182016}.profit-result b{font-size:28px;color:var(--lime)}.profit-result.negative b{color:var(--red)}.breakdown{margin-top:12px;padding:13px;border:1px solid var(--line);border-radius:12px;background:#0e110e;color:var(--muted);font-size:11px;line-height:1.7}.breakdown b{color:#d8ddd4}
.game-list{display:grid;gap:8px}.game-row{display:flex;align-items:center;gap:12px;padding:13px;border:1px solid var(--line);border-radius:15px;background:linear-gradient(145deg,#181c18,#121512)}.game-code{display:grid;place-items:center;width:43px;height:43px;border:1px solid #4a5825;border-radius:12px;color:var(--lime);font-size:12px;font-weight:900}.game-row>span:nth-child(2){flex:1}.game-row b{display:block;font-size:14px}.game-row small{display:block;color:var(--muted);font-size:10px;margin-top:4px}.game-row i{font-style:normal;font-size:24px;color:var(--lime)}
.category-bar{display:flex;gap:7px;overflow:auto;padding:14px 0 10px}.category-tab{white-space:nowrap;min-height:40px;padding:0 12px;border:1px solid var(--line);border-radius:11px;background:#101410;color:#c0c6bc;font:700 11px inherit}.category-tab small{margin-left:5px;color:var(--muted)}.category-tab.active{border-color:#657b20;background:#1b2516;color:var(--lime)}.table-head-actions{display:flex;justify-content:space-between;align-items:center;margin:5px 0 9px;color:var(--muted);font-size:10px}.price-table-wrap{overflow:auto;border:1px solid var(--line);border-radius:13px}.price-table{width:100%;border-collapse:collapse;min-width:650px}.price-table th,.price-table td{padding:10px 11px;border-bottom:1px solid var(--line);font-size:11px;text-align:right}.price-table th:first-child,.price-table td:first-child{text-align:left}.price-table th{color:var(--muted);background:#101410;font-size:9px}.price-table tr:last-child td{border-bottom:0}.actions{display:flex;justify-content:flex-end;gap:5px}.actions form{margin:0}.actions a,.actions button{display:grid;place-items:center;width:30px;height:30px;border:1px solid #53651f;border-radius:8px;background:#182016;color:var(--lime);font-size:16px}.actions button{border-color:#6c2a31;background:#2a171a;color:#ff707d}.hint{color:var(--muted);font-weight:500;font-size:9px}
@media(max-width:900px){.tool-grid{grid-template-columns:1fr}.result-grid{grid-template-columns:1fr 1fr}}
@media(max-width:720px){
 .sidebar{transform:translateX(-105%);width:min(280px,82vw);transition:transform .2s ease;box-shadow:20px 0 50px #0008}.workspace{margin-left:0}.drawer-open .sidebar{transform:translateX(0)}.drawer-open .drawer-shade{display:block;position:fixed;inset:0;background:#0009;z-index:35}.drawer-close{display:block}
 .mobile-top{position:sticky;top:0;z-index:25;display:flex;align-items:center;justify-content:space-between;height:62px;padding:0 13px;background:#0b0e0bf2;border-bottom:1px solid var(--line);backdrop-filter:blur(14px)}.menu-btn{display:grid;place-items:center;width:38px;height:38px;border:0;background:transparent;color:var(--lime)}.mobile-brand{text-align:center}.mobile-brand b{display:block;color:#d8ef79;font-size:13px}.mobile-brand small{display:block;color:var(--lime);font-size:7px;letter-spacing:1.2px;font-weight:900}.live-dot{width:8px;height:8px;border-radius:50%;background:var(--lime);box-shadow:0 0 9px var(--lime)}
 .content{padding:18px 11px 34px}main{max-width:none;padding:0}.bottom-nav{display:none}
 .hero h1,.page-head h1{font-size:25px}.page-head.split{align-items:center}.calc-inputs.three{grid-template-columns:1fr}.calculator-card{padding:13px}.result-grid{grid-template-columns:1fr 1fr}.result-grid>div{padding:12px}.result-grid b{font-size:15px}.profit-result b{font-size:24px}.fee-strip{grid-template-columns:1fr}
 .head-actions{gap:5px}.icon-button,.danger-button,.small-button{padding:0 10px;font-size:10px;min-height:38px}.price-table{min-width:0;table-layout:fixed}.price-table th,.price-table td{padding:9px 5px;font-size:10px;overflow:hidden;text-overflow:ellipsis}.price-table th:nth-child(2),.price-table td:nth-child(2){display:none}.price-table th:first-child,.price-table td:first-child{width:34%}.price-table th:nth-child(3),.price-table td:nth-child(3),.price-table th:nth-child(4),.price-table td:nth-child(4){width:22%}.price-table th:last-child,.price-table td:last-child{width:22%}.actions a,.actions button{width:27px;height:27px}
}


/* Unified V1.1 alignment + mobile polish */
.button-with-icon,
.back-with-icon,
.game-action,
.row-action{
  gap:7px;
}
.button-with-icon svg,
.back-with-icon svg,
.game-action svg,
.row-action svg{
  width:16px;
  height:16px;
  flex:0 0 16px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.back-with-icon{
  display:inline-flex;
  align-items:center;
}
.back-with-icon svg{width:15px;height:15px}

.tracker-head{margin-bottom:14px}
.tracker-head .small-button{flex:none}

.price-game-head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:16px;
}
.price-game-copy{min-width:0}
.game-actions{
  display:flex;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  flex:none;
}
.game-actions form{margin:0}
.game-action{
  min-width:108px;
  min-height:42px;
  white-space:nowrap;
}
.game-action svg{width:16px;height:16px}

.price-main-card{padding-top:14px}
.category-bar{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(115px,1fr));
  gap:8px;
  overflow:visible;
  padding:0 0 13px;
}
.category-tab{
  width:100%;
  min-width:0;
  padding:8px 10px;
  min-height:44px;
  white-space:normal;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  line-height:1.15;
  text-align:center;
}
.category-tab small{
  display:inline-grid;
  place-items:center;
  min-width:20px;
  height:20px;
  margin:0;
  padding:0 5px;
  border-radius:999px;
  background:#242a21;
  color:#9ea697;
  font-size:9px;
}
.category-tab.active small{background:#2a351d;color:var(--lime)}

.table-head-actions{
  min-height:44px;
  margin:0 0 10px;
}
.add-product-button{min-width:122px}

.actions-cell{
  text-align:right !important;
  overflow:visible !important;
}
.action-group{
  display:flex;
  justify-content:flex-end;
  align-items:center;
  gap:5px;
  width:100%;
}
.action-group form{margin:0;padding:0;display:flex}
.row-action{
  display:grid;
  place-items:center;
  width:31px;
  height:31px;
  min-width:31px;
  padding:0;
  border-radius:8px;
  background:#182016;
  border:1px solid #53651f;
  color:var(--lime);
}
.row-action.delete-action{
  border-color:#6c2a31;
  background:#2a171a;
  color:#ff707d;
}
.row-action svg{width:15px;height:15px}

.form-card{
  max-width:720px;
  margin-left:auto;
  margin-right:auto;
}
.form-card>h2{margin-bottom:18px}

@media(max-width:720px){
  .tracker-head{
    display:flex;
    flex-direction:row;
    align-items:flex-end;
    gap:10px;
    margin-bottom:14px;
  }
  .tracker-head>div{min-width:0;flex:1}
  .tracker-head h1{font-size:24px}
  .tracker-head p{font-size:11px}
  .tracker-head .small-button{
    min-width:0;
    min-height:40px;
    padding:0 11px;
    font-size:10px;
  }

  .price-game-head{
    display:block;
    margin-bottom:13px;
  }
  .price-game-copy h1{
    margin-right:0;
    overflow-wrap:anywhere;
  }
  .price-game-copy p{
    max-width:100%;
  }
  .game-actions{
    justify-content:flex-start;
    width:100%;
    margin-top:13px;
  }
  .game-action{
    min-width:0;
    flex:1;
    min-height:40px;
    padding:0 10px;
    font-size:10px;
  }
  .game-actions form{
    flex:1;
    display:flex;
  }
  .game-actions form .game-action{width:100%}

  .price-main-card{
    padding:12px;
  }
  .category-bar{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:7px;
    padding-bottom:12px;
  }
  .category-tab{
    min-height:45px;
    padding:7px 5px;
    font-size:10px;
  }
  .table-head-actions{
    margin-bottom:8px;
  }
  .add-product-button{
    min-width:112px;
    padding:0 9px;
  }

  .price-table-wrap{
    width:100%;
    overflow:hidden;
  }
  .price-table{
    width:100%;
    min-width:0;
    table-layout:fixed;
  }
  .price-table th,
  .price-table td{
    padding:9px 4px;
    font-size:10px;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    vertical-align:middle;
  }
  .price-table th:nth-child(2),
  .price-table td:nth-child(2){
    display:none;
  }
  .price-table th:first-child,
  .price-table td:first-child{
    width:32%;
    text-align:left;
  }
  .price-table th:nth-child(3),
  .price-table td:nth-child(3),
  .price-table th:nth-child(4),
  .price-table td:nth-child(4){
    width:21%;
    text-align:center;
  }
  .price-table th:last-child,
  .price-table td:last-child{
    width:26%;
    text-align:right;
    overflow:visible;
  }
  .action-group{
    justify-content:flex-end;
    gap:4px;
  }
  .row-action{
    width:27px;
    height:27px;
    min-width:27px;
  }
  .row-action svg{
    width:13px;
    height:13px;
  }

  .form-card{
    padding:15px;
    border-radius:17px;
  }
  .form-card .two{
    grid-template-columns:1fr;
    gap:0;
  }
  .form-card label{
    margin-bottom:14px;
  }
  .form-card input{
    min-height:50px;
  }
  .form-card .button{
    min-height:50px;
  }
}

@media(max-width:380px){
  .tracker-head{
    align-items:flex-start;
    flex-direction:column;
  }
  .tracker-head .small-button{
    width:100%;
  }
  .category-bar{
    grid-template-columns:1fr 1fr;
  }
  .price-table th:first-child,
  .price-table td:first-child{width:30%}
  .price-table th:nth-child(3),
  .price-table td:nth-child(3),
  .price-table th:nth-child(4),
  .price-table td:nth-child(4){width:21%}
  .price-table th:last-child,
  .price-table td:last-child{width:28%}
}

/* Unified V1.2 focused update */
.brand-link{color:inherit;text-decoration:none}
.brand-gear{display:grid;place-items:center;width:36px;height:36px;flex:0 0 36px;border:1px solid #4f6122;border-radius:50%;background:#151c12;color:var(--lime)}
.brand-gear svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.mobile-brand{text-decoration:none}
.account-actions{display:flex;align-items:center;gap:7px}.account-actions form{margin:0;display:flex}
.account-icon-action{display:grid;place-items:center;width:38px;height:38px;padding:0;border-radius:10px;border:1px solid #53651f;background:#182016;color:var(--lime)}
.account-icon-action.delete-user{border-color:#6c2a31;background:#2a171a;color:#ff707d}
.account-icon-action svg{width:17px;height:17px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.usdt-head{align-items:center}.reset-top{width:auto;min-width:104px;min-height:40px;margin:0;gap:7px}
.reset-top svg{width:15px;height:15px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.input-prefix span{font-size:16px!important;line-height:1;font-weight:800}.input-prefix input{font-size:16px}
.fee-strip{grid-template-columns:1fr 1fr!important}
.profit-result.positive b{color:var(--lime)}.profit-result.negative b{color:#ff6f7d}
@media(max-width:720px){
 .usdt-head{display:flex;flex-direction:row;align-items:flex-start;gap:10px}.usdt-head>div{min-width:0;flex:1}.usdt-head h1{font-size:24px}.usdt-head p{font-size:11px}
 .reset-top{flex:0 0 auto;min-width:82px;min-height:38px;padding:0 9px;font-size:10px}
 .input-prefix span{font-size:16px!important;left:14px}.input-prefix input{font-size:16px;padding-left:38px}
 .fee-strip{grid-template-columns:1fr 1fr!important;gap:7px}.fee-strip span{min-width:0;padding:10px 9px;font-size:10px}.fee-strip b{display:block;float:none;margin-top:5px;white-space:nowrap;font-size:11px}
 .account-icon-action{width:36px;height:36px}
}


/* Unified V1.3 privacy/navigation polish */
html, body, body *{
  -webkit-user-select:none;
  user-select:none;
  -webkit-touch-callout:none;
}
input, textarea, [contenteditable="true"]{
  -webkit-user-select:text;
  user-select:text;
}
.mobile-logout{
  display:none;
  place-items:center;
  width:38px;
  height:38px;
  border:1px solid #3e492b;
  border-radius:11px;
  background:#121710;
  color:var(--lime);
  text-decoration:none;
}
.mobile-logout svg{
  width:18px;
  height:18px;
  fill:none;
  stroke:currentColor;
  stroke-width:1.8;
  stroke-linecap:round;
  stroke-linejoin:round;
}
.mobile-logout:active{
  transform:scale(.96);
}
@media(max-width:720px){
  .mobile-logout{display:grid}
  .live-dot{display:none!important}
}


/* Unified V1.4 final alignment polish */
.input-prefix{
  position:relative;
  font-size:16px;
}
.input-prefix span{
  position:absolute;
  left:16px;
  top:0;
  bottom:0;
  height:auto;
  transform:none;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:1em!important;
  line-height:1;
  font-weight:800;
  color:var(--lime);
  pointer-events:none;
}
.input-prefix input{
  font-size:1em!important;
  line-height:1.2;
  padding-left:46px!important;
}
.side-logout{display:none!important}

@media(max-width:720px){
  .input-prefix{
    font-size:16px;
  }
  .input-prefix span{
    left:16px!important;
    top:0!important;
    bottom:0!important;
    transform:none!important;
    font-size:1em!important;
  }
  .input-prefix input{
    font-size:1em!important;
    padding-left:46px!important;
  }
}


/* Unified V1.5 input/icon correction */
.money-input{
  display:flex;
  align-items:center;
  width:100%;
  min-height:52px;
  margin-top:7px;
  border:1px solid #34415a;
  border-radius:13px;
  background:#0b0f0b;
  overflow:hidden;
}
.money-symbol{
  display:flex;
  align-items:center;
  justify-content:center;
  flex:0 0 52px;
  align-self:stretch;
  color:var(--lime);
  font-size:16px;
  line-height:1;
  font-weight:800;
  margin:0;
  padding:0;
}
.money-input input{
  flex:1;
  min-width:0;
  height:52px;
  margin:0!important;
  padding:0 14px 0 0!important;
  border:0!important;
  border-radius:0!important;
  background:transparent!important;
  box-shadow:none!important;
  color:var(--text);
  font-size:16px!important;
  line-height:1!important;
  font-weight:750;
}
.money-input:focus-within{
  border-color:var(--lime);
  box-shadow:0 0 0 3px rgba(182,213,44,.10);
}
.money-input input:focus{
  outline:none;
  box-shadow:none!important;
}

/* suppress legacy prefix styling on USDT page if cached selectors remain */
.input-prefix{position:static!important}
.input-prefix span{position:static!important;transform:none!important}

@media(max-width:720px){
  .money-input{
    min-height:52px;
  }
  .money-symbol{
    flex-basis:52px;
    font-size:16px;
  }
  .money-input input{
    height:52px;
    font-size:16px!important;
    padding-right:14px!important;
  }
}


/* Unified V1.6 tiny USDT spacing polish */
.money-symbol{
  flex-basis:40px!important;
}
.money-input input{
  padding-left:0!important;
}
@media(max-width:720px){
  .money-symbol{
    flex-basis:40px!important;
  }
}
