:root{--gold:#e7c16d;--blue:#66c9ff;--muted:#a6b4ca}
body{background:radial-gradient(ellipse at 70% 5%,#a8cbd9,transparent 58%),linear-gradient(140deg,#a1b4bf,#c4cfd5 45%,#758b99);padding:5vh 0 2vh;font-family:"Segoe UI",Arial,sans-serif}
.shell{width:min(1350px,95vw);max-width:none;min-height:0;margin:0 auto;border:10px solid #15212f;border-radius:12px;background:radial-gradient(ellipse at 76% 47%,#05345370,transparent 54%),#020a19;box-shadow:0 25px 70px #162b3f60,0 0 0 1px #ffffff50,inset 0 0 0 1px #667c9550;isolation:isolate}
nav{padding:17px 4%;gap:30px;border-radius:4px 4px 12px 12px;background:linear-gradient(110deg,#222a39ed,#142234e8);border-color:#71809d38;z-index:3;min-height:72px}
nav a,nav button{font-size:17px;white-space:nowrap;letter-spacing:.15px}
.shell:has(#home:not(.hidden)) #home-button{display:none}
.nav-status{margin-left:0;order:3;font-size:13px;padding:8px 16px;box-shadow:inset 0 0 12px #36cba620;white-space:nowrap}
.nav-status::before{content:"";display:inline-block;margin-right:8px;width:9px;height:9px;border-radius:50%;background:#39df9c;box-shadow:0 0 11px #37ffaf}
.nav-status[data-state="offline"]{color:#efb7a3;background:#63352755;border-color:#b8785b60}
.nav-status[data-state="offline"]::before{background:#eaa080;box-shadow:0 0 8px #df9f65}
.currency-switch{margin-left:auto;display:flex;gap:0;white-space:nowrap;padding:3px 7px;border:1px solid #53bbff90;border-radius:10px;box-shadow:0 0 14px #51baff60,inset 0 0 12px #2383b938;background:#17344880}
.currency-switch button{padding:4px 5px;font-size:14px;min-height:30px;color:#b7c5d6}
.currency-switch button+button{border-left:1px solid #81bde04a}
.currency-switch button[aria-pressed="true"]{color:#80d5ff;text-shadow:0 0 8px #57bfff}
.hero{min-height:590px;padding:135px 5% 28px;overflow:hidden}
#mountain{opacity:1;z-index:0}
.hero::after{content:"";position:absolute;inset:0;pointer-events:none;background:linear-gradient(90deg,#020a1970,transparent 45%);z-index:0}
.hero-content{max-width:none;position:relative;z-index:2;pointer-events:none}
.hero-content button,.hero-content input,.hero-content a,.hero-content form{pointer-events:auto}
h1{font-family:"Trebuchet MS","Segoe UI",sans-serif;font-size:clamp(62px,6.9vw,97px);font-weight:700;letter-spacing:-3.4px;line-height:1.12;display:inline-block;background:linear-gradient(180deg,#fff1b5 3%,#e8c35a 27%,#a86a10 54%,#eccf75 76%,#a47622 98%);background-clip:text;-webkit-background-clip:text;filter:drop-shadow(0 2px 2px #000) drop-shadow(0 0 12px #d8aa2922);-webkit-text-stroke:.35px #ecc86866}
.badges{margin-top:33px;gap:12px;align-items:stretch}
.badge{font-size:17px;padding:11px 14px;min-width:125px;line-height:1.35;border-radius:10px;border-color:#a7c7e255;background:linear-gradient(130deg,#54627266,#162a3caa);box-shadow:inset 0 -7px 20px #44c5f51c,0 0 18px #94c9ea16;backdrop-filter:blur(7px)}
.badge:first-child{min-width:190px}.badge:last-child{min-width:87px;display:flex;align-items:center;justify-content:center;font-size:17px}
.badge span{font-size:15px;margin-top:1px;color:#88a9c5}
.hero-content>.actions{margin:34px 0 0;gap:17px;align-items:stretch}
#start-button{min-width:196px;padding:14px 25px;background:linear-gradient(#fff,#e9eef6);color:#0d152a;box-shadow:0 4px 20px #0003;border:1px solid #d3d8e5;font-size:18px;font-weight:650;border-radius:11px}
.search{width:320px;position:relative;padding:0 0 0 43px;background:linear-gradient(125deg,#253041b3,#18243db3);border:1px solid #b8c7e67a;box-shadow:inset 0 1px 4px #ffffff16,0 0 20px #81b5fa12;border-radius:11px;backdrop-filter:blur(9px);gap:0}
.search input{width:100%;min-width:0;border:0;border-radius:0;background:transparent;padding:15px 10px 15px 0;font-size:14px;color:#e4edfa}
.search input::placeholder{color:#9ca8bf}
.search .btn{position:absolute;left:7px;top:7px;bottom:7px;min-width:31px;padding:0;font-size:24px;border-radius:7px;background:#34435466;border-color:#73849e88;box-shadow:0 0 7px #8de0c127}
.hero-content>.coins{margin-top:35px;gap:11px;max-width:900px}
.coin{background:linear-gradient(135deg,#2c3c4bba,#15243bd9);border-color:#8ba6c343;padding:10px 12px;gap:8px;font-size:14px;min-height:44px;box-shadow:inset 0 0 14px #6296cd16;backdrop-filter:blur(8px)}
.coin img{width:24px;height:24px}.coin[data-symbol="BTC"],.coin[data-symbol="BTCS"]{border-color:#e7b66670;box-shadow:0 0 14px #dcb16329}
.coin[data-symbol="BCH"],.coin[data-symbol="WEED"]{border-color:#7fc69e66}.coin[data-symbol="BCH2"]{border-color:#6cc9c788}.coin[data-symbol="DGB"],.coin[data-symbol="XEC"]{border-color:#6c99ed80}
.coin.active{border-color:#eecf82;box-shadow:0 0 17px #e6bd603d}.coin:disabled{opacity:.5;cursor:not-allowed}.coin:focus-visible,.btn:focus-visible{outline:2px solid #8bd5ff}
.hero-content>.hint{margin:12px 0 0;font-size:11px;color:#92a7be;max-width:450px}
.strip{margin:0;border:1px solid #8295b34a;border-radius:9px 9px 2px 2px;background:linear-gradient(110deg,#203044c9,#2633449c);padding:16px 20px;gap:22px;font-size:15px;box-shadow:inset 0 0 20px #6bafd613;backdrop-filter:blur(9px)}
.strip>span+span::before{content:"|";color:#6b809b;margin-right:22px}.strip strong{font-weight:450;color:#e4e9f6}
.sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.hero-goat{position:absolute;z-index:1;width:170px;height:auto;left:55%;top:47%;opacity:.72;pointer-events:none;filter:drop-shadow(0 0 5px #61caff38)}
.hero-art{position:absolute;inset:0;z-index:1;pointer-events:none;background:url('../images/bp-mountain-goat.png') center center/cover no-repeat;opacity:.94}
#geo-marker{position:absolute;z-index:1;width:7px;height:7px;transform:translate(-50%,-50%);border-radius:50%;background:#77d1ff;box-shadow:0 0 0 7px #47acff18,0 0 0 15px #47acff10,0 0 22px 7px #45baff55;pointer-events:none}
.shell>footer{padding:16px;text-align:center;font-size:12px;background:#070f1b;color:#8d9db6}.shell>footer strong{color:#e0c38c}
dialog{background:linear-gradient(130deg,#334254ed,#142238f5);border-color:#8f9db27d;box-shadow:0 20px 100px #000a;backdrop-filter:blur(22px)}
dialog .actions{margin-bottom:0}dialog .gold{background:linear-gradient(#f7dc91,#d8a433);box-shadow:0 0 25px #f4c35f44;color:#201a0d}
#calculator{width:min(520px,94vw)}#calc-result{font-size:20px;color:#f1d28a;padding-top:18px;line-height:1.5}
@media(min-width:1450px){.hero{min-height:650px;padding-top:155px}}
@media(max-width:1000px){nav{gap:18px;padding:15px 3%}nav a,nav button{font-size:14px}.nav-status{font-size:11px;padding:8px 10px}.hero{padding-top:135px;min-height:585px}.hero-goat{left:60%;width:135px;top:44%}h1{font-size:76px}.hero-content>.coins{gap:8px}.coin{padding:9px 10px;font-size:13px}.badge{font-size:15px}.search{width:280px}}
@media(max-width:700px){body{padding:0;background:#07101d}.shell{width:100%;border:0;border-radius:0;box-shadow:none}nav{gap:15px;padding:14px 5%;border-radius:0;min-height:64px;flex-wrap:wrap}nav a,nav button{font-size:13px}.currency-switch{margin-left:auto}.currency-switch button{font-size:12px;padding:3px}.nav-status{order:3;margin-left:auto}.hero{min-height:670px;padding:180px 6% 25px}.hero-content{z-index:2}h1{font-size:clamp(46px,10.7vw,72px);letter-spacing:-2px}.badges{margin-top:24px;gap:8px}.badge{padding:9px 10px;font-size:13px;min-width:115px}.badge:first-child{min-width:132px}.badge span{font-size:12px}.badge:last-child{min-width:66px;font-size:13px}.hero-content>.actions{margin-top:26px;gap:10px}.search{flex:1;min-width:190px;width:auto}#start-button{min-width:140px;font-size:15px;padding:13px 17px}.search input{font-size:12px}.hero-content>.coins{margin-top:26px;gap:9px}.coin{padding:8px 11px;font-size:13px}#mountain{opacity:.66}.hero-goat{width:110px;top:70px;left:58%;opacity:.67}.hero::after{background:linear-gradient(0deg,#020a1933,transparent 80%)}.strip{justify-content:center;gap:12px;font-size:12px;padding:14px 12px}.strip>span+span::before{display:none}.stats{grid-template-columns:1fr}.fields{grid-template-columns:1fr}.dashboard{padding:28px 5%!important}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important}}
@media(max-width:700px){.hero-art{background-size:760px auto;background-position:right -70px top -110px;opacity:.66}#geo-marker{opacity:.75}}

/* BosniaPool full-width layout */
html {
    min-height: 100%;
    background: #020a19;
}
body {
    margin: 0;
    padding: 0;
    background: #020a19;
}
.shell {
    width: 100%;
    max-width: none;
    min-height: 100vh;
    min-height: 100svh;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}
.shell > nav {
    border-radius: 0;
}

/* BosniaPool compact dashboard */
#dashboard {
    padding-top: 22px;
    padding-bottom: 22px;
}
#dashboard .stats {
    margin: 16px 0;
}
#dashboard .stat {
    padding: 14px 16px;
}
#dashboard .stat strong {
    margin: 8px 0;
}
#dashboard .panel {
    margin: 14px 0;
    padding: 16px;
}
#dashboard .panel h2 {
    margin-bottom: 10px;
    font-size: 19px;
}
#dashboard #chart {
    height: 150px;
}
#dashboard .bp-handshake-overlay {
    height: 150px;
    width: min(38%, 300px);
}
@media (max-width: 700px) {
    #dashboard {
        padding-top: 18px !important;
        padding-bottom: 18px !important;
    }
    #dashboard #chart {
        height: 125px;
    }
    #dashboard .bp-handshake-overlay {
        height: 125px;
        width: 55%;
    }
}
