/*
Theme Name: Popbull V2 Arena
Theme URI: https://popbull.vip/
Author: Popbull Community
Description: Responsive Popbull V2 with worldwide POPmeter, full-bodied bull artwork, and a clean bullring About page.
Version: 20.0
Requires PHP: 7.4
Text Domain: popbull-v2
*/
:root{--red:#a60008;--gold:#f8c54b;--cream:#ffe0a3;--ink:#33180f}*{box-sizing:border-box}html,body{margin:0;max-width:100%;overflow-x:hidden}body{background:#f7d49b;color:var(--ink);font-family:Georgia,'Times New Roman',serif}button,a{touch-action:manipulation}a{color:inherit}button{font:inherit;cursor:pointer}.site-header{display:flex;align-items:center;justify-content:space-between;gap:clamp(8px,1.3vw,24px);padding:9px clamp(12px,2.5vw,42px);background:#ffdfa5;border:3px solid #9c1b12;border-left:0;border-right:0;min-height:84px}.brand,.nav-button,.copy-btn,.ornate-btn,.cta-small{background:linear-gradient(180deg,#c30a0a 0%,#8b0205 100%);color:#fff9e6;text-decoration:none;border:3px solid #f7c85a;outline:2px solid #72220b;border-radius:7px;text-align:center;box-shadow:inset 0 1px 2px #ffeaa2,0 3px 2px #70280b;font-weight:700;text-shadow:1px 2px #57220e}.brand{font-size:clamp(24px,2.7vw,44px);white-space:nowrap;padding:8px clamp(12px,2vw,28px)}.nav-links{display:flex;align-items:center;justify-content:center;gap:clamp(8px,1.5vw,24px)}.nav-button{padding:13px clamp(10px,1.7vw,26px);font-size:clamp(12px,1.1vw,19px);white-space:nowrap}.social{display:flex;gap:10px}.social a{display:grid;place-items:center;width:45px;height:45px;border-radius:50%;background:#080808;color:white;border:2px solid #e4b45d;font-size:25px;text-decoration:none}.landing{width:100%;margin:0;padding:0}.hero{position:relative;width:100%;margin:0}.hero-art{position:relative;width:100%;overflow:hidden}.hero-art picture,.hero-art picture img{display:block;width:100%;height:auto}.hero-art picture img{object-fit:cover}.mouth-hit{position:absolute;z-index:3;left:42%;top:37%;width:16%;height:33%;border:0;background:transparent;border-radius:50%;cursor:pointer}.mouth-hit:focus-visible{outline:4px solid #ffe26a}.pop-burst{position:absolute;z-index:4;left:36%;top:19%;width:33%;height:auto;opacity:0;transform:scale(.2) rotate(-14deg);pointer-events:none}.pop-burst.go{animation:burst .85s ease-out forwards}@keyframes burst{0%{opacity:0;transform:scale(.2) rotate(-14deg)}20%{opacity:1;transform:scale(1) rotate(-5deg)}75%{opacity:1;transform:scale(1.05)}100%{opacity:0;transform:scale(1.3)}}.hero-controls{position:absolute;z-index:5;right:5%;bottom:15%;width:28%;text-align:center}.meter{padding:16px 12px;background:linear-gradient(#d6000a,#9c0004);color:white;border:4px solid #efb844;border-radius:8px;box-shadow:0 2px 0 #5e2008;text-shadow:1px 2px #602015}.meter span{display:block;font-size:clamp(20px,2.8vw,44px);font-weight:bold}.meter strong{display:block;font-size:clamp(34px,4.3vw,72px)}.status{margin:9px 0 0;font-size:clamp(11px,1.3vw,20px);font-weight:bold}.contract-bar{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;gap:12px;background:#ffdda0;border:4px double #a61e0b;padding:16px 12px;text-align:center}.contract-bar>span{font-size:20px;font-weight:700}.contract-bar code,.contract-card code{overflow-wrap:anywhere;background:#ffe9b9;border:1px solid #99542b;border-radius:7px;padding:12px;font:700 clamp(11px,1.05vw,18px) Georgia,serif}.copy-btn{padding:10px 24px;font-size:18px}.bullring-page{min-height:calc(100vh - 84px);background:#d7923f}.about-stage{background-size:cover;background-position:center center;min-height:570px;display:flex;align-items:center;justify-content:flex-end;padding:clamp(20px,4vw,64px)}.about-intro{width:min(52%,690px);padding:clamp(20px,3vw,48px);background:rgba(255,225,166,.96);border:7px double #a32212;box-shadow:0 12px 30px #32160788;text-align:center}.about-intro h1{font-size:clamp(29px,3.6vw,58px);color:#a20a09;margin:0 0 12px}.about-intro h2{font-size:clamp(16px,1.5vw,25px)}.about-intro p{font-size:clamp(16px,1.35vw,22px);line-height:1.5}.about-sections{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding:20px;background:#e9ad5b}.info-card{padding:20px;background:#ffe0a4;border:5px double #a22211;min-width:0}.info-card h2{font-size:clamp(22px,2vw,32px);text-align:center;color:#a5100a;margin:0 0 14px}.info-card p,.info-card li{line-height:1.5}.info-card ol{padding-left:22px}.token-row{padding:8px 0;border-bottom:1px solid #d29a60}.token-row strong{display:inline-block;min-width:95px}.link-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px}.link-grid a,.comic-link{display:block;text-align:center;background:linear-gradient(#c9140c,#860006);color:white;border:2px solid #e9b64a;border-radius:6px;text-decoration:none;padding:12px 5px;font-size:14px;font-weight:700}.comic-link{margin-top:12px;font-size:17px}.info-card .copy-btn{margin-top:12px}.back-home{text-align:center;margin:0;padding:24px}.ornate-btn,.cta-small{display:inline-block;padding:12px 20px}.site-footer{text-align:center;background:#ffdda0;padding:12px;font-size:12px}.notice{font-size:12px;opacity:.85}.screen-reader-text{position:absolute;clip:rect(1px,1px,1px,1px)}
@media(min-width:1800px){.hero-art{max-height:calc(100vh - 145px)}.hero-art picture img{max-height:calc(100vh - 145px);object-fit:fill}.hero-controls{bottom:15%}}
@media(max-width:850px){.site-header{display:grid;grid-template-columns:1fr;justify-items:center;gap:12px;padding:12px 8px}.brand{font-size:clamp(28px,7vw,46px);width:min(75%,520px)}.social{grid-row:2}.nav-links{grid-row:3;display:flex!important;width:100%;gap:7px}.nav-button{flex:1;padding:11px 4px;font-size:clamp(10px,2.8vw,15px)}.social a{width:38px;height:38px;font-size:21px}.hero-controls{position:relative;width:100%;right:auto;bottom:auto;background:linear-gradient(#f7c56e,#d49a5d);padding:0 12% 15px;margin-top:-3px}.meter{padding:10px}.meter span{font-size:clamp(24px,5.5vw,36px)}.meter strong{font-size:clamp(45px,9vw,70px)}.status{font-size:14px}.mouth-hit{left:39%;top:44%;width:22%;height:32%}.pop-burst{left:24%;top:24%;width:52%}.contract-bar{display:grid;justify-items:center;gap:12px}.contract-bar code{width:min(100%,650px)}.about-stage{min-height:620px;align-items:flex-end;justify-content:center;background-position:30% center;padding:20px}.about-intro{width:min(100%,650px);padding:18px}.about-sections{grid-template-columns:1fr}.info-card{padding:18px}.about-intro h1{font-size:34px}}
@media(max-width:440px){.brand{width:75%;padding:7px 5px}.nav-button{font-size:10px;letter-spacing:-.2px}.hero-controls{padding:0 7% 16px}.about-stage{min-height:660px}.about-intro{background:rgba(255,225,166,.96)}.link-grid{grid-template-columns:1fr 1fr}.contract-bar code{font-size:11px}}

/* V3.1: One live meter only, placed over cleared desktop arena region. */
@media(min-width:851px){.hero-controls{right:5.8%;bottom:12%;width:29%;}.meter{position:relative;z-index:6}.hero-controls .status{background:#f6bb6a;padding:6px 4px;border-radius:3px}}
@media(min-width:1800px){.hero-art{max-height:none}.hero-art picture img{max-height:none;object-fit:contain}}

/* V4: One live counter only; match its bounds to the empty decorative plaque in the artwork. */
@media(min-width:851px){
 .hero-controls{position:absolute;top:60%;left:63.6%;right:auto;bottom:auto;width:31.5%;z-index:8}
 .hero-controls .meter{min-height:clamp(112px,11.2vw,194px);display:flex;flex-direction:column;align-items:center;justify-content:center;border-width:5px;box-shadow:none}
 .hero-controls .status{display:none!important}
}
@media(max-width:850px){.hero-controls .status{display:none!important}}






/* V7: About-page token contract fits small mobile screens. Homepage untouched. */
.bullring-page .token-row{min-width:0;max-width:100%;}
.bullring-page .token-row code{display:block;width:100%;max-width:100%;min-width:0;white-space:normal;overflow-wrap:anywhere;word-break:break-all;line-height:1.55;font-family:ui-monospace,SFMono-Regular,Consolas,monospace;font-size:clamp(11px,2.6vw,15px);padding:8px 0;background:transparent;border:0;}
.bullring-page .info-card{min-width:0;max-width:100%;overflow-wrap:anywhere;}
@media(max-width:440px){.bullring-page .info-card{padding:14px}.bullring-page .token-row code{font-size:12px;letter-spacing:0}}

/* V8: POPSWAP only. No existing page styles modified. */
.popswap-page{--jupiter-plugin-primary:166,0,8;--jupiter-plugin-background:255,235,194;--jupiter-plugin-primaryText:53,24,15;--jupiter-plugin-warning:185,95,25;--jupiter-plugin-interactive:255,217,157;--jupiter-plugin-module:250,218,170;background:radial-gradient(circle at 50% 0%,#ffe9be 0%,#f6d39b 58%,#e8b66f 100%);min-height:75vh;padding:48px 16px 58px;color:#54230e}
.popswap-wrap{max-width:760px;margin:0 auto}
.popswap-heading{text-align:center;margin:0 auto 28px}
.popswap-kicker{color:#a52b17;letter-spacing:.2em;font:700 12px Arial,sans-serif}
.popswap-heading h1{font-size:clamp(48px,9vw,85px);line-height:1.06;margin:9px 0 4px;color:#9f1010;text-shadow:2px 3px #e8a753;letter-spacing:.025em}
.popswap-heading p{font-size:clamp(17px,2.4vw,24px);font-style:italic;color:#873f27;margin:0;font-weight:normal}
.popswap-shell{max-width:570px;margin:auto;background:#ffdfab;border:4px solid #a82c1b;outline:3px solid #edba63;border-radius:18px;padding:22px;box-shadow:0 14px 40px #63340e40}
.popswap-shell-title{display:flex;align-items:center;justify-content:space-between;gap:12px;font:700 16px Arial,sans-serif;color:#9c1912;border-bottom:1px solid #dca35b;padding-bottom:14px;margin-bottom:12px}
.popswap-network{font:600 12px Arial,sans-serif;color:#7c5b38;white-space:nowrap}
#popswap-terminal{width:100%;min-height:450px;overflow:visible}
#popswap-loading{text-align:center;padding:90px 8px;color:#714a30}
#popswap-error{background:#fff3df;border:1px solid #c46850;border-radius:10px;padding:14px;margin:12px 0;font:14px/1.5 Arial,sans-serif}
.popswap-powered{text-align:center;margin:25px auto 12px;font:600 14px Arial,sans-serif;color:#79442d}
.popswap-powered a{color:#9f1610}
.popswap-help{max-width:570px;margin:14px auto;background:#ffebc5;border:1px solid #d9a45d;border-radius:10px;padding:15px 18px;font:14px/1.55 Arial,sans-serif}
.popswap-token{max-width:570px;margin:15px auto;padding:16px;border:1px solid #d8a15c;border-radius:10px;background:#ffebc5;text-align:center;display:flex;flex-direction:column;gap:9px;align-items:center}
.popswap-token span{font-weight:700;color:#9f1610}
.popswap-token code{max-width:100%;overflow-wrap:anywhere;word-break:break-all;font:600 12px/1.6 ui-monospace,monospace}
.popswap-token .copy-btn{font-size:14px;padding:7px 18px}
.popswap-disclaimer{max-width:650px;text-align:center;margin:22px auto 0;font:12px/1.6 Arial,sans-serif;color:#75543c}
@media(max-width:580px){.popswap-page{padding:29px 12px 40px}.popswap-shell{padding:12px;border-width:3px;border-radius:13px}.popswap-shell-title{font-size:13px}.popswap-network{font-size:10px}#popswap-terminal{min-height:420px}.popswap-heading{margin-bottom:23px}}


/* V10: Exactly one About artwork, an actual HTML image, never a CSS background. */
.bullring-page .about-stage{position:relative;isolation:isolate;overflow:hidden;background:#e8b56d!important;background-image:none!important;min-height:570px;display:flex;align-items:center;justify-content:flex-end;padding:clamp(20px,4vw,64px)}
.bullring-page .about-stage::before,.bullring-page .about-stage::after{content:none!important;display:none!important;background:none!important}
.bullring-page .about-hero-art{position:absolute;inset:0;width:100%;height:100%;display:block;object-fit:cover;object-position:center center;z-index:0;pointer-events:none}
.bullring-page .about-intro{position:relative;z-index:1;width:min(49%,690px);background:rgba(255,226,171,.97);border:5px double #a32212;box-shadow:0 5px 14px rgba(50,22,7,.2)}
@media(max-width:850px){.bullring-page .about-stage{min-height:690px;align-items:flex-end;justify-content:center;padding:20px}.bullring-page .about-hero-art{object-position:30% center}.bullring-page .about-intro{width:100%}}

/* V11: About-only responsive composition. The asset is one cropped bullring scene,
   never the former composite of two distinct arena images. */
.bullring-page .about-stage{background:#e5d1b4!important;min-height:560px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;justify-items:center;gap:clamp(12px,2vw,32px);padding:clamp(16px,2.5vw,40px)}
.bullring-page .about-hero-art{position:relative;inset:auto;grid-column:1;grid-row:1;width:100%;height:100%;max-height:610px;min-height:480px;object-fit:cover;object-position:50% 50%;border:0;display:block;pointer-events:none}
.bullring-page .about-intro{grid-column:2;grid-row:1;width:100%;max-width:690px;margin:0;align-self:center;padding:clamp(18px,2.5vw,42px);background:#ffe2ab;border:5px double #a32212;box-shadow:0 5px 14px rgba(50,22,7,.16)}
@media(max-width:850px){.bullring-page .about-stage{display:flex;flex-direction:column;align-items:stretch;justify-content:flex-start;min-height:0;padding:14px;gap:14px}.bullring-page .about-hero-art{width:100%;height:auto;min-height:0;max-height:none;aspect-ratio:830/544;object-fit:cover;object-position:center center}.bullring-page .about-intro{width:100%;max-width:none;margin:0;padding:clamp(16px,4vw,28px)}}
@media(max-width:440px){.bullring-page .about-stage{padding:10px;gap:12px}.bullring-page .about-hero-art{aspect-ratio:4/3}.bullring-page .about-intro{padding:16px}.bullring-page .about-intro h1{font-size:clamp(26px,8vw,34px)}.bullring-page .about-intro p{font-size:16px}}

/* V12: About page ONLY — remove bull image, center existing card on cream. */
body .bullring-page{background:#e9ad5b;}
body .bullring-page .about-stage{background:#e9ad5b!important;background-image:none!important;display:flex!important;align-items:center!important;justify-content:center!important;min-height:0!important;padding:clamp(26px,4vw,64px) clamp(12px,3vw,40px)!important;gap:0!important;}
body .bullring-page .about-hero-art{display:none!important;}
body .bullring-page .about-intro{grid-column:auto!important;grid-row:auto!important;position:relative!important;inset:auto!important;align-self:auto!important;flex:0 1 690px!important;width:min(100%,690px)!important;max-width:690px!important;margin:0 auto!important;background:#ffe2ab!important;box-shadow:0 5px 14px rgba(50,22,7,.16)!important;}
@media(max-width:850px){body .bullring-page .about-stage{padding:24px 14px!important;}body .bullring-page .about-intro{flex:1 1 auto!important;width:100%!important;max-width:690px!important;}}
@media(max-width:440px){body .bullring-page .about-stage{padding:16px 10px!important;}}

/* V13 — About page only: standard cream, without stray hero markup. */
body:has(> .site-header ~ .bullring-page){background-color:#e9ad5b;}
body .bullring-page,body .bullring-page .about-stage{background-color:#e9ad5b!important;background-image:none!important;}
body .bullring-page .about-stage{min-height:0!important;}
body .bullring-page .about-intro{margin-inline:auto!important;}

/* V16 — About page ONLY: eliminate old layout rules and center on a single cream canvas. */
main.bullring-page.popbull-about-cream {
  background: #e9ad5b !important;
  background-image: none !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  overflow-x: clip !important;
}
main.bullring-page.popbull-about-cream > .about-stage {
  display: flex !important;
  flex-direction: row !important;
  justify-content: center !important;
  align-items: center !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: clamp(24px,4vw,58px) 16px !important;
  background: #e9ad5b !important;
  background-image: none !important;
  overflow: visible !important;
}
main.bullring-page.popbull-about-cream > .about-stage > .about-intro {
  display: block !important;
  position: static !important;
  float: none !important;
  flex: 0 1 690px !important;
  width: 100% !important;
  max-width: 690px !important;
  min-width: 0 !important;
  margin: 0 auto !important;
  transform: none !important;
  inset: auto !important;
  box-sizing: border-box !important;
}
main.bullring-page.popbull-about-cream .about-hero-art { display:none !important; }
@media(max-width:850px) {
  main.bullring-page.popbull-about-cream > .about-stage {padding:24px 14px !important;}
  main.bullring-page.popbull-about-cream > .about-stage > .about-intro {flex:0 1 690px !important;}
}
@media(max-width:440px) {
  main.bullring-page.popbull-about-cream > .about-stage {padding:18px 10px !important;}
  main.bullring-page.popbull-about-cream > .about-stage > .about-intro {padding:18px 14px !important;}
}

/* V17: About hero canvas matches the existing three-panel section exactly. */
main.bullring-page.popbull-about-cream,main.bullring-page.popbull-about-cream > .about-stage{background-color:#e9ad5b!important;background-image:none!important;}

/* V18: About-only single uninterrupted cream background, identical to lower cards canvas. */
html body main.bullring-page.popbull-about-cream,
html body main.bullring-page.popbull-about-cream > section.about-stage,
html body main.bullring-page.popbull-about-cream > div.about-sections {
  background-color:#e9ad5b !important;
  background-image:none !important;
}
html body main.bullring-page.popbull-about-cream > section.about-stage {
  display:flex !important;justify-content:center !important;align-items:center !important;
  width:100% !important;max-width:100% !important;margin:0 !important;
}
html body main.bullring-page.popbull-about-cream > section.about-stage > div.about-intro {
  margin-left:auto !important;margin-right:auto !important;
  max-width:690px !important;width:100% !important;
}

/* POPSWAP V19: only /swap page components */
.popswap-trade{padding:12px 3px 3px;font-family:Arial,sans-serif}
.popswap-trade-row{display:flex;justify-content:space-between;align-items:center;color:#9c1912;font-size:16px;font-weight:700;margin:9px 0}
.popswap-coin-row{display:flex;justify-content:space-between;align-items:center;gap:10px;background:#fff3dc;border:1px solid #c8a477;border-radius:10px;padding:18px 14px;min-height:70px}
.popswap-coin{font-weight:800;color:#472716;white-space:nowrap}
.popswap-coin-row input{width:46%;max-width:180px;text-align:right;background:transparent;border:0;font-size:27px;font-weight:700;color:#472716;min-width:0}
.popswap-estimate{font-size:13px;color:#785e45;text-align:right}
.popswap-arrow{width:40px;height:40px;line-height:40px;text-align:center;border-radius:50%;background:#a61816;color:white;font-size:27px;font-weight:bold;margin:10px auto}
.popswap-explain{color:#67412c;font-size:13px;line-height:1.55;margin:15px 2px}
.popswap-action{display:block;width:100%;box-sizing:border-box;padding:17px 12px;text-align:center;border:2px solid #e3a54b;border-radius:9px;background:#a41213;color:#fff8e9!important;font:800 17px Arial,sans-serif;cursor:pointer;text-decoration:none;margin:14px 0}
.popswap-action:hover{background:#801010}
.popswap-action:disabled{opacity:.6;cursor:wait}
.popswap-buy{background:#7d2116}
.popswap-wallet-status{text-align:center;color:#664a36;font:13px Arial,sans-serif;overflow-wrap:anywhere}
.popswap-small{font-size:12px}
@media(max-width:580px){.popswap-coin-row{padding:13px 10px}.popswap-coin-row input{font-size:22px}.popswap-action{font-size:15px}}

/* POPSWAP V20: Jupiter Plugin only. No global page styles modified. */
.popswap-v20 #popswap-terminal{min-height:530px;position:relative;overflow:visible;--jupiter-plugin-primary:166,0,8;--jupiter-plugin-background:30,35,44;--jupiter-plugin-primaryText:246,242,233;--jupiter-plugin-warning:245,167,67;--jupiter-plugin-interactive:53,62,75;--jupiter-plugin-module:40,48,60}
.popswap-v20 .popswap-shell{max-width:590px}
.popswap-v20 #popswap-error[hidden]{display:none}
.popswap-v20 #popswap-error a,.popswap-v20 .popswap-help a{color:#a61816;text-decoration:underline}
@media(max-width:580px){.popswap-v20 #popswap-terminal{min-height:540px}.popswap-v20 .popswap-shell{padding:12px}}
