/* The player buff market shares the field library palette. Keep all economic
   controls touch-sized and let names, balances, and effects wrap at 320px. */
.buff-shop,.bs-dialog{min-width:0;overflow-wrap:anywhere}
.protocol-tabs .button{min-height:44px}
.bs-hero{display:flex;align-items:center;justify-content:space-between;gap:24px;padding:26px;margin:20px 0 14px;background:radial-gradient(ellipse at top right,#41635666,transparent 65%),linear-gradient(125deg,#162e29,#132322);border-color:#7c9b7166}
.bs-hero>div:first-child{min-width:0;max-width:620px}.bs-hero h2{font-size:30px;margin:7px 0 12px}.bs-hero p{line-height:1.75;margin:0;color:#b2c3b6}
.bs-wallet{min-width:145px;max-width:100%;padding-left:24px;border-left:1px solid #9bb69a3b}.bs-wallet>span{display:block;font-size:12px;color:#b3c8b5}.bs-wallet>strong{display:flex;flex-wrap:wrap;gap:8px;align-items:center;font-size:25px;color:#e4d59a;margin-top:8px;font-variant-numeric:tabular-nums}
.bs-how{display:flex;flex-wrap:wrap;gap:14px 22px;padding:6px 2px 18px;color:#a8c2b0;font-size:12px}.bs-how>span{display:flex;gap:8px;align-items:center}.bs-how .icon{width:17px;height:17px;color:#bacf96}
.bs-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;flex-wrap:wrap;margin:10px 0 18px}.bs-tabs,.bs-toolbar-actions,.bs-empty-actions,.bs-dialog-actions{display:flex;flex-wrap:wrap;gap:10px}.buff-shop .button,.bs-dialog .button,.bs-more summary,.bs-rules summary{min-height:44px;white-space:normal;overflow-wrap:anywhere}.bs-tabs .button{min-width:135px}
.bs-support-note{display:flex;align-items:center;justify-content:space-between;gap:15px;padding:18px;border:1px solid #b2a16b66;background:#c0a75010;border-radius:10px;margin-bottom:20px;color:#d8d3b1}.bs-support-note p{margin:0}.bs-support-note .button{flex-shrink:0}.bs-preference-note{display:flex;flex-wrap:wrap;gap:8px;align-items:center;color:#a7bfae;font-size:12px}.bs-preference-note .button{padding:8px 13px}
.bs-result-heading{display:flex;align-items:baseline;justify-content:space-between;gap:15px;margin:24px 0 14px}.bs-result-heading h3{font-size:22px;margin:0}.bs-result-heading>span{font-size:12px;color:#a3b7a3}.bs-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.bs-card{padding:22px;display:flex;flex-direction:column;min-width:0;border-top:3px solid #85aa83}.bs-card-top{display:flex;gap:12px;align-items:center;justify-content:space-between;flex-wrap:wrap;margin-bottom:18px}.bs-emblem,.bs-empty-icon{display:grid;place-items:center;width:42px;height:42px;border:1px solid #a6c58a33;border-radius:11px;color:#c6df9f;background:#78986b1a}.bs-status{font-size:11px;color:#adc3b1;max-width:100%;line-height:1.5}.bs-status.ready{color:#bcd7a7}.bs-status.unavailable{color:#e1c190}.bs-card h3{font-size:26px;line-height:1.2;margin:0 0 9px}.bs-seller{color:#9bb49f;font-size:12px;margin-bottom:18px}.bs-seller strong{color:#c1d2bc;font-weight:500}
.bs-buff-list{list-style:none;margin:0;padding:0}.bs-buff-list li{display:flex;align-items:flex-start;gap:10px;padding:10px 0;border-bottom:1px solid #8ca68426;font-size:13px;min-width:0}.bs-buff-list li>span{min-width:0;flex:1}.bs-buff-list .icon{width:18px;height:18px;color:#92c2aa;margin-top:2px}.bs-risk-label{color:#e7c38f!important;font-size:12px;display:block;margin-top:5px}.bs-more summary{cursor:pointer;color:#b7d6a2;display:flex;align-items:center;font-size:12px;gap:7px}.bs-more summary::before{content:'+'}.bs-more[open] summary::before{content:'−'}.bs-preview-note{font-size:12px;color:#8fa995;line-height:1.65;margin:16px 0 18px}
.bs-card-bottom{margin-top:auto}.bs-price{padding-top:15px;border-top:1px solid #9bb49633;margin-bottom:14px;min-width:0}.bs-price>span{display:block;font-size:11px;color:#9eb398;margin-bottom:5px}.bs-price>strong{display:flex;flex-wrap:wrap;gap:7px;align-items:center;font-size:22px;color:#e4d59a;font-variant-numeric:tabular-nums}.bs-price small{font-size:12px;color:#b6c39d;font-weight:500}.bs-card-bottom>.button{width:100%;margin-top:7px}.bs-sales{font-size:12px;color:#aac4a7;margin:0 0 10px}.bs-unavailable-note{padding:10px 12px;margin:10px 0;border-radius:7px;background:#947b3820;color:#dbc8a2;font-size:12px;line-height:1.7}.bs-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:260px;padding:30px 24px;text-align:center}.bs-empty-icon{width:54px;height:54px;margin-bottom:20px}.bs-empty-icon .icon{width:27px;height:27px}.bs-empty h3{font-size:25px;max-width:560px}.bs-empty p{color:#a7baa5;max-width:560px;line-height:1.75}.bs-empty-actions{justify-content:center}.bs-error{border:1px solid #cf907450;border-radius:8px;padding:16px;margin-bottom:18px;background:#9d50491a;color:#e3c7b6}.bs-error p{margin:0 0 8px}.bs-error p:last-child{margin-bottom:0;color:#c1b8a5;font-size:12px}.bs-pagination{display:flex;justify-content:center;align-items:center;flex-wrap:wrap;gap:15px;margin:20px 0}.bs-pagination>span{font-size:12px;color:#b2c4a9}
.bs-rules{padding:8px 22px 16px;margin:24px 0}.bs-rules summary{cursor:pointer;align-content:center;color:#c3d9b0;font-weight:600}.bs-rules p{font-size:13px;line-height:1.8;color:#a8bda7;margin:12px 0 0}
.bs-dialog{font-size:14px;line-height:1.75}.bs-dialog h2{font-size:28px;padding-right:20px;line-height:1.2}.bs-dialog form>label{display:block;font-size:13px;color:#bfd0ba;margin:18px 0 8px}.bs-dialog form>label>span{color:#96b18d;font-size:12px}.bs-dialog input[type=number],.bs-dialog select{width:100%;max-width:100%;display:block;box-sizing:border-box;min-height:46px;margin-top:7px;padding:11px 12px;border:1px solid #53745c;border-radius:8px;background:#0d1f1d;color:#e0ebd2;font:inherit;color-scheme:dark}.bs-dialog input[type=number]::placeholder{color:#8ea68f}.bs-dialog input:focus-visible,.bs-dialog select:focus-visible,.bs-rules summary:focus-visible,.bs-more summary:focus-visible{outline:2px solid #c5df99;outline-offset:3px}.bs-template-preview{margin:14px 0 18px;padding:18px;border:1px solid #91ab7e44;background:#10241f;border-radius:9px}.bs-template-preview h3{font-size:22px}.bs-template-preview>.muted{font-size:12px;margin:12px 0 0}.bs-consent-box{padding:18px;border:1px solid #a1b76b55;background:#87a84812;border-radius:10px;margin-top:20px}.bs-consent-box>strong{color:#d4e5ab}.bs-consent-box p{font-size:13px;line-height:1.75;color:#b0c4a7;margin:8px 0 14px}.bs-check{display:flex!important;align-items:flex-start;gap:12px;min-height:44px;cursor:pointer;color:#d4dfc0;font-size:13px;line-height:1.7}.bs-check input[type=checkbox]{accent-color:#c5df99;width:22px;height:22px;flex:0 0 22px;margin:3px 0 0}.bs-check>span{min-width:0}.bs-dialog-actions{padding-top:15px}.bs-dialog-actions>.button{flex:1 1 140px}.bs-dialog .muted{font-size:13px;line-height:1.75}.bs-dialog .form-error{font-size:13px}
.bs-quote-list{margin:20px 0 12px;padding-left:24px}.bs-quote-list>li{display:list-item;border-bottom:1px solid #819b733b;padding:15px 0;min-width:0}.bs-quote-list>li::marker{color:#c4dd9e;font-size:13px}.bs-quote-main{min-width:0}.bs-quote-main>strong{font-size:16px;display:block;color:#e1ebce}.bs-quote-rank{display:inline-block;font-size:11px;padding:1px 8px;border:1px solid #88a7784d;border-radius:5px;color:#bfdaa0;margin-top:5px}.bs-quote-main>p{font-size:13px;line-height:1.65;color:#b0c5a8;margin:7px 0}.bs-quote-duration{display:flex;align-items:baseline;flex-wrap:wrap;gap:5px 10px;margin-top:10px;color:#ceddb6}.bs-quote-duration>strong{font-size:13px}.bs-quote-duration>span,.bs-quote-duration>small{font-size:11px;color:#98b092}.bs-replacement{padding:10px 12px;margin:10px 0 6px;background:#8e7d3020;border:1px solid #b4a26433;border-radius:7px;font-size:12px;color:#d6cba6}.bs-replacement>strong,.bs-replacement>span,.bs-replacement>small{display:block;font-size:12px;line-height:1.65}.bs-replacement>strong{font-weight:600;margin-bottom:4px}.bs-replacement>small{color:#babd9c}.bs-risk-note{margin:18px 0;padding:14px;border-radius:8px;background:#a075391a;border:1px solid #c2a47a66;color:#e6c79a;font-size:13px}.bs-total{display:flex;justify-content:space-between;align-items:baseline;flex-wrap:wrap;gap:8px 15px;padding:18px 0 10px;font-size:20px}.bs-total>strong{color:#e2d39b;font-variant-numeric:tabular-nums}.bs-balance-after{font-size:12px;color:#a8bb9b;margin-bottom:18px}.bs-balance-after strong{color:#bfd0ad;font-weight:500}
@media(min-width:1650px){.bs-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}
@media(max-width:750px){.bs-hero{flex-direction:column;align-items:stretch;gap:18px;padding:22px}.bs-wallet{padding:15px 0 0;border-left:0;border-top:1px solid #9bb69a3b;min-width:0}.bs-wallet>strong{font-size:23px}.bs-grid{grid-template-columns:1fr}.bs-toolbar,.bs-toolbar-actions{align-items:stretch}.bs-toolbar>div{width:100%}.bs-tabs .button,.bs-toolbar-actions .button{flex:1;min-width:0}.bs-support-note{flex-direction:column;align-items:stretch}.bs-how{gap:10px 18px;font-size:12px}.bs-card{padding:20px}.bs-hero h2{font-size:28px}.bs-result-heading{flex-wrap:wrap;gap:5px}.bs-dialog-actions>.button{min-height:46px}}
@media(max-width:430px){.bs-hero,.bs-empty{padding:20px 16px}.bs-hero .eyebrow{font-size:9px;letter-spacing:1.4px}.bs-card{padding:18px}.bs-tabs .button{font-size:12px;padding:10px}.bs-toolbar-actions .button{font-size:12px;padding:10px}.bs-dialog input[type=number],.bs-dialog select{font-size:16px}.bs-dialog h2{font-size:26px}.bs-consent-box,.bs-template-preview{padding:14px}.bs-quote-list{padding-left:20px}.bs-quote-duration{align-items:flex-start;flex-direction:column;gap:2px}.bs-dialog-actions>.button{flex-basis:100%}.bs-price>strong{font-size:21px}.bs-rules{padding-left:16px;padding-right:16px}.bs-how>span{width:100%}}
@media(prefers-reduced-motion:reduce){.buff-shop *,.bs-dialog *{scroll-behavior:auto!important;transition:none!important}}
