/* Closing banners are static artwork; copy determines height, not an aspect ratio. */
.pastel-footer .footer-news>p{margin-top:12px!important;margin-bottom:16px!important}
.pastel-footer .newsletter-note{display:none!important}
/* Community keeps readable copy separate from decorative banner artwork. */
body main.secondary-community>.s-closing.s-banner{display:grid!important;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:24px;position:relative;isolation:isolate;aspect-ratio:auto!important;height:auto!important;min-height:280px!important;padding:30px!important;background:linear-gradient(120deg,#edfff4,#fff7da 60%,#f3e9fb)!important;animation:none!important;overflow:hidden;border-radius:24px}
body main.secondary-community>.s-closing.s-banner:after{content:"";grid-column:2;grid-row:1;align-self:stretch;border-radius:20px;background-image:var(--banner);background-size:auto 100%;background-position:right center;background-repeat:no-repeat;min-height:210px}
body main.secondary-community>.s-closing.s-banner>div{grid-column:1;grid-row:1;position:relative;z-index:1;width:auto!important;max-width:none!important;margin:0!important;padding:0!important;background:none!important;align-self:center}
body main.secondary-community>.s-closing h2{font-size:clamp(25px,2.5vw,34px)!important;line-height:1.25!important;color:#174d3c!important;margin:0 0 14px!important;overflow-wrap:normal}
body main.secondary-community>.s-closing p{font-size:17px;line-height:1.55;margin:0 0 20px;color:#416453}
body main.secondary-community .s-community-join{gap:28px;align-items:center}
body main.secondary-community .s-social-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
body main.secondary-community .s-social-grid>article{min-width:0;padding:22px;border-radius:20px;background:linear-gradient(135deg,#edfff6,#fff8dc);border:1px solid #c3ddc9;box-shadow:inset 0 2px #fff,0 6px 18px #48734e12}
body main.secondary-community .s-social-grid>article:nth-child(2n){background:linear-gradient(135deg,#e9f7ff,#f4eafb)}
body main.secondary-community .s-community-panels{grid-template-columns:repeat(3,minmax(0,1fr));gap:20px;align-items:stretch}
body main.secondary-community .s-community-panels>*{min-width:0;margin:0}
body main.secondary-community .s-events{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px;padding:24px}
body main.secondary-community .s-events>div{grid-column:1/-1}
body main.secondary-community .s-events article{min-width:0;padding:18px;border:1px solid #c6ddcc;border-radius:18px;background:linear-gradient(135deg,#f1fff5,#fff6da)}
body main.secondary-community .button{display:inline-flex;align-items:center;justify-content:center;gap:9px;min-height:44px;padding:11px 17px;border-radius:13px;border:1px solid #c5d6bc;background:linear-gradient(115deg,#f2ffeb,#ffe66b);box-shadow:inset 0 2px #fff,0 4px 10px #59764c18;font-weight:700;white-space:normal}
@media(max-width:900px){body main.secondary-community .s-community-panels{grid-template-columns:repeat(2,minmax(0,1fr))}body main.secondary-community .s-community-panels>.s-global{grid-column:1/-1}body main.secondary-community .s-events{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:600px){body main.secondary-community>.s-closing.s-banner{grid-template-columns:1fr;gap:18px;padding:22px!important}body main.secondary-community>.s-closing.s-banner:after{grid-column:1;grid-row:2;min-height:160px;background-size:cover;background-position:right center}body main.secondary-community .s-community-panels{grid-template-columns:1fr}body main.secondary-community .s-community-panels>.s-global{grid-column:auto}body main.secondary-community .s-events{padding:18px;gap:12px}body main.secondary-community .s-events article{padding:14px}body main.secondary-community .s-events h3{font-size:18px}body main.secondary-community .s-social-grid{gap:12px}body main.secondary-community .s-social-grid>article{padding:16px}}
body main:is(.reference-tokenomics,.reference-roadmap,.reference-ecosystem,.reference-faq)>.r-cta{animation:none!important;background-position:center!important;background-size:cover!important}
body main:is(.secondary-how-to-buy,.secondary-giveaway,.secondary-security,.secondary-terms,.secondary-contact)>.s-closing.s-banner{display:flex!important;align-items:center;aspect-ratio:auto!important;min-height:0!important;height:auto!important;padding:28px 32px!important;animation:none!important;background-position:center!important;background-size:cover!important;border:1px solid #bed8bd!important;border-radius:24px!important;box-shadow:inset 0 2px #fff9,0 8px 22px #4d704215!important}
body main:is(.secondary-how-to-buy,.secondary-giveaway,.secondary-security,.secondary-terms,.secondary-contact)>.s-closing.s-banner>div{width:56%;max-width:650px!important;margin:0!important;padding:0!important;background:none!important}
body main:is(.secondary-how-to-buy,.secondary-giveaway,.secondary-security,.secondary-terms,.secondary-contact)>.s-closing h2{font-size:clamp(24px,2.3vw,31px)!important;line-height:1.2!important;margin:0 0 12px!important;color:#174d3c!important}
body main:is(.secondary-how-to-buy,.secondary-giveaway,.secondary-security,.secondary-terms,.secondary-contact)>.s-closing p{font-size:16px!important;line-height:1.5!important;margin:0 0 18px!important;color:#3f6655!important;max-width:510px}
body main.secondary-security .s-audit{background:linear-gradient(120deg,#e7fff2,#fff7d8 62%,#f1e8fb)!important;color:#244f40!important;border:1px solid #bdd9c6!important;border-radius:24px;box-shadow:inset 0 2px #fff,0 10px 22px #567e4812;animation:none!important;padding:28px!important;gap:24px!important}
body main.secondary-security .s-audit :is(h2,strong,p,small){color:#244f40!important}.secondary-security .s-audit p{font-size:16px;line-height:1.55}.secondary-security .s-audit-status>div{background:#ffffff9c!important;border:1px solid #d0e2ce!important;border-radius:14px;padding:12px!important}.secondary-security .s-audit-status{display:grid;gap:10px}
body main:is(.reference-tokenomics,.reference-roadmap,.reference-ecosystem,.reference-faq,.secondary-how-to-buy,.secondary-giveaway,.secondary-security,.secondary-terms,.secondary-contact) .button{display:inline-flex!important;align-items:center;justify-content:center;gap:9px!important;min-height:44px;padding:11px 17px!important;border:1px solid #bfd4bf!important;border-radius:13px!important;background:linear-gradient(120deg,#f0fff6,#e4f3fa 65%,#f5eafb)!important;color:#244d3b!important;box-shadow:inset 0 2px #fff,0 3px 0 #b5c9b638,0 6px 12px #58794d12!important;font-size:14px!important;font-weight:700;line-height:1.4!important;transition:transform .2s,box-shadow .2s,filter .2s!important;text-decoration:none}
body main:is(.reference-tokenomics,.reference-roadmap,.reference-ecosystem,.reference-faq,.secondary-how-to-buy,.secondary-giveaway,.secondary-security,.secondary-terms,.secondary-contact) .button.yellow{background:linear-gradient(115deg,#f8f7b5,#ffe65e 65%,#ffd835)!important;border-color:#d4bd5b!important}
body main:is(.reference-page,.secondary-page) .button:has(.public-action-icon):hover{transform:translateY(-2px);filter:brightness(1.04)}
.public-action-icon{display:inline-flex;align-items:center;justify-content:center;flex:0 0 25px;width:25px;height:25px;padding:4px;border-radius:8px;background:#ffffff80;box-shadow:inset 0 1px #fff;box-sizing:border-box}.public-action-icon svg{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
body main:is(.reference-page,.secondary-page) :is(.r-cta,.s-closing) .actions{display:flex!important;gap:12px!important;flex-wrap:wrap;margin:0!important}
@media(max-width:850px){body main:is(.secondary-how-to-buy,.secondary-giveaway,.secondary-security,.secondary-terms,.secondary-contact)>.s-closing.s-banner{padding:24px!important;background-position:65% center!important}body main:is(.secondary-how-to-buy,.secondary-giveaway,.secondary-security,.secondary-terms,.secondary-contact)>.s-closing.s-banner>div{width:65%;background:#f8fff0e8!important;padding:16px!important;border-radius:16px}}
@media(max-width:550px){body main:is(.secondary-how-to-buy,.secondary-giveaway,.secondary-security,.secondary-terms,.secondary-contact)>.s-closing.s-banner{padding:18px!important;background-image:linear-gradient(110deg,#effff5e8,#fff9e3d9),var(--banner)!important}body main:is(.secondary-how-to-buy,.secondary-giveaway,.secondary-security,.secondary-terms,.secondary-contact)>.s-closing.s-banner>div{width:100%;padding:0!important;background:none!important}body main.secondary-security .s-audit{padding:20px!important}body main:is(.reference-page,.secondary-page) :is(.r-cta,.s-closing) .actions .button{flex:1 1 170px}.public-action-icon{flex-shrink:0}}
@media(prefers-reduced-motion:reduce){body main:is(.reference-page,.secondary-page) .button{transition:none!important;transform:none!important}}
/* Shared King Potassium editorial refresh. Keep roadmap artwork and account UI intact. */
body main.kingk-public-refresh{--r-ink:#124c37;--r-muted:#4b6b5b;--r-line:#b8d1b3}
body main.kingk-public-refresh>.r-hero{padding:30px 34px;gap:26px;grid-template-columns:minmax(0,1.1fr) minmax(0,1fr);border-radius:30px;background:radial-gradient(ellipse at 95% 5%,#fff5ae,transparent 65%),linear-gradient(125deg,#e4faed,#fffbee 60%,#ece4fa);border:1px solid #b0cdb5;box-shadow:inset 0 2px #fff,0 7px 0 #71895112,0 18px 35px #5476440d}
body main.kingk-public-refresh .r-hero h1{font-size:clamp(34px,3.9vw,56px);line-height:1.13;letter-spacing:-1.3px;margin:18px 0}
body main.kingk-public-refresh .r-hero-copy{min-width:0;padding:8px 0}body main.kingk-public-refresh .r-hero-copy>p{font-size:18px;line-height:1.75;text-align:justify;max-width:650px}
body main.kingk-public-refresh .r-hero-art{width:100%;max-width:100%;margin:0;height:400px;align-self:center;object-fit:contain}
body main.kingk-public-refresh .r-kicker{border:1px solid #bdd1a4;box-shadow:inset 0 1px #fff;letter-spacing:1px;font-size:12px}
body main.kingk-public-refresh .r-benefit-pills>span{padding:7px 11px;border:1px solid #c8dabc;background:linear-gradient(120deg,#f7fff0,#fff5cc);box-shadow:inset 0 1px #fff,0 3px 0 #57713f0c}
body main.kingk-public-refresh .r-panel{border-color:#b8d1b3;border-radius:24px;box-shadow:inset 0 2px #fff,0 5px 0 #5876460d,0 12px 25px #36522e08}
body main.kingk-public-refresh .kingk-page-context{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin:24px 0 34px;padding:0;border:0;background:none;box-shadow:none}
body main.kingk-public-refresh .kingk-context-card{display:flex;align-items:flex-start;gap:18px;padding:25px;background:linear-gradient(130deg,#effbea,#fff5d7)}
body main.kingk-public-refresh .kingk-context-card:nth-child(2){background:linear-gradient(130deg,#e4f9f1,#efe7fa)}
body main.kingk-public-refresh .kingk-context-card .r-icon{width:46px;height:46px;border-radius:14px}
body main.kingk-public-refresh .kingk-context-card h2{font-size:20px;line-height:1.35;margin:2px 0 12px}
body main.kingk-public-refresh .kingk-context-card p{font-size:16px;line-height:1.7;margin:0;text-align:justify}
body main.kingk-public-refresh .r-section-title{margin:36px auto 22px}
body main.kingk-public-refresh .r-section-title h2{padding:9px 20px 9px 12px;border:1px solid #bad0ae;box-shadow:inset 0 2px #fff,0 4px 0 #496d3e10;background:linear-gradient(120deg,#eafbeb,#fff3b9 65%,#eee4f7)}
body main.kingk-public-refresh :is(.r-six-grid,.r-foundation-grid,.s-security-grid)>.r-panel{background:linear-gradient(135deg,#f3ffec,#fff6d9)}
body main.kingk-public-refresh :is(.r-six-grid,.r-foundation-grid,.s-security-grid)>.r-panel:nth-child(3n+2){background:linear-gradient(135deg,#e7fff4,#e7f4ff)}
body main.kingk-public-refresh :is(.r-six-grid,.r-foundation-grid,.s-security-grid)>.r-panel:nth-child(3n){background:linear-gradient(135deg,#f2e8ff,#fff0e9)}
body main.kingk-public-refresh :is(.s-security-grid,.r-foundation-grid) p{font-size:16px;line-height:1.65}
body main.kingk-public-refresh :is(.r-faq-group,.s-legal-article,.s-contact-layout .r-panel){background:linear-gradient(130deg,#f3fff2,#fffbea 65%,#f5edf9)}
body main.kingk-public-refresh .r-faq-group details{border:1px solid #c7dbc3;border-radius:15px;padding:0 16px;margin:12px 0;background:#ffffffa8}
body main.kingk-public-refresh .r-faq-group details[open]{background:linear-gradient(120deg,#e8fbee,#fff6ce);box-shadow:inset 0 2px #fff}
body main.kingk-public-refresh .r-faq-group summary{padding:17px 0}
body main.kingk-public-refresh .r-topics button{border:1px solid #bfd3b6;border-radius:12px;padding:8px 12px;box-shadow:inset 0 2px #fff,0 3px 0 #59724512}
body main.kingk-public-refresh :is(input,select,textarea){border:1px solid #b9cfbd;border-radius:13px;box-shadow:inset 0 2px 5px #33584106;background:#fffffff0}
body main.kingk-public-refresh :is(input,select,textarea):focus-visible{outline:2px solid #2b956f;outline-offset:2px}
body main:is(.kingk-public-refresh,.page-whitepaper) :is(.button,.s-text-link,.related-grid>a,.r-search button){display:inline-flex!important;align-items:center;justify-content:center;gap:9px!important;min-height:46px;padding:12px 18px!important;border:1px solid #b7cca2!important;border-radius:16px!important;background:linear-gradient(125deg,#edffdf,#fff2c0 65%,#eee1f5)!important;box-shadow:inset 0 2px #fff,0 4px 0 #57703c20,0 7px 15px #45612812!important;color:#174f36!important;font-size:15px!important;font-weight:800;text-decoration:none;transition:transform .18s,box-shadow .18s}
body main:is(.kingk-public-refresh,.page-whitepaper) :is(.button.yellow,.r-search button){background:linear-gradient(125deg,#fff8a1,#ffe344 65%,#ffd329)!important;border-color:#d4b326!important;box-shadow:inset 0 2px #fffac7,0 4px 0 #ab871b33,0 8px 18px #cfaf2620!important}
body main:is(.kingk-public-refresh,.page-whitepaper) .public-action-image{display:block;width:26px;height:26px;flex:0 0 26px;padding:0;border:0;border-radius:0;background:none;box-shadow:none;object-fit:contain}
body main.kingk-public-refresh .button>.r-icon{width:26px;height:26px;flex:0 0 26px;padding:0;border:0;border-radius:0;background:none;box-shadow:none}
body main.kingk-public-refresh .button>.r-icon>img{width:100%;height:100%}
body main.kingk-public-refresh .button:disabled{opacity:.55;cursor:not-allowed;transform:none}
body main.kingk-public-refresh .button:not(:disabled):hover{transform:translateY(-2px)}
body main.kingk-public-refresh :focus-visible{outline:3px solid #278b67;outline-offset:4px}
body main.kingk-public-refresh>.r-cta{min-height:250px;padding:30px 34px;background-color:#f3f9df;animation:none!important}
body main.kingk-public-refresh :is(.r-cta,.s-closing) h2{font-size:clamp(25px,2.6vw,35px)!important;line-height:1.25!important}
body main.kingk-public-refresh :is(.r-cta,.s-closing) p{font-size:17px!important;line-height:1.65!important}
body main.page-whitepaper .page-title,body main.page-whitepaper .page-introduction,body main.page-whitepaper .document-section,body main.page-whitepaper .document-next{border:1px solid #b8d0b1;border-radius:24px;padding:28px;background:linear-gradient(130deg,#eafbea,#fff7d9 65%,#eee7f7);box-shadow:inset 0 2px #fff,0 5px 0 #5474400c}
body main.page-whitepaper .document-section:nth-child(even){background:linear-gradient(130deg,#e6f9f5,#f3eaff)}
body main.page-whitepaper .document-toc{border:1px solid #b9d2b6;border-radius:22px;background:linear-gradient(135deg,#f1ffed,#fff5d8);box-shadow:inset 0 2px #fff}
@media(max-width:900px){body main.kingk-public-refresh>.r-hero{padding:25px;gap:18px}body main.kingk-public-refresh .r-hero-art{height:330px}body main.kingk-public-refresh .kingk-context-card{padding:21px;gap:12px}body main.kingk-public-refresh .kingk-context-card h2{font-size:18px}}
@media(max-width:650px){body main.kingk-public-refresh>.r-hero{grid-template-columns:1fr;padding:24px 20px 12px;gap:10px}body main.kingk-public-refresh .r-hero h1{font-size:36px;letter-spacing:-.8px}body main.kingk-public-refresh .r-hero-art{height:275px}body main.kingk-public-refresh .r-hero-copy>p{font-size:17px}body main.kingk-public-refresh .kingk-page-context{grid-template-columns:1fr;margin:20px 0 28px;gap:14px}body main.kingk-public-refresh .kingk-context-card{padding:22px}body main.kingk-public-refresh>.r-cta{padding:22px;min-height:0;background-image:linear-gradient(120deg,#f4fff0ed,#fff8e1e8),var(--cta-image)}body main.kingk-public-refresh>.r-cta>div{max-width:100%;padding:0;background:none}body main.kingk-public-refresh .r-hero-copy{width:100%}body main.page-whitepaper .page-title,body main.page-whitepaper .document-section,body main.page-whitepaper .page-introduction{padding:22px}}
@media(prefers-reduced-motion:reduce){body main:is(.kingk-public-refresh,.page-whitepaper) :is(.button,.s-text-link,.related-grid>a,.r-search button){transition:none}body main.kingk-public-refresh .button:hover{transform:none!important}}
/* Compact public hero typography; deliberately excludes account/panel headings. */
body main .r-hero h1,body main.kingk-about .story-copy h1,body main .hero h1.hero-headline,body main.page-whitepaper .page-title h1{
 font-family:'Momo Trust Display',sans-serif;font-size:clamp(29px,2.7vw,38px)!important;font-weight:400;line-height:1.24!important;letter-spacing:-.65px!important;color:#19543c;margin:16px 0 20px!important;padding-bottom:17px;position:relative;text-wrap:balance;overflow-wrap:normal;text-shadow:0 1px 0 #fff9;
}
body main .hero h1.hero-headline{font-size:clamp(25px,2.2vw,32px)!important}
body main .r-hero h1 em,body main.kingk-about .story-copy h1 em{font-style:normal;color:#a77805;background:linear-gradient(165deg,#bc9417,#8d6304);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent;text-shadow:none}
body main .r-hero h1:after,body main.kingk-about .story-copy h1:after,body main .hero h1.hero-headline:after,body main.page-whitepaper .page-title h1:after{content:'';display:block;position:absolute;left:0;bottom:0;width:76px;height:4px;border:1px solid #cad695;border-radius:10px;background:linear-gradient(90deg,#eac92f,#fff1a3,#77b995);box-shadow:inset 0 1px #fff9}
@media(max-width:900px){body main .r-hero h1,body main.kingk-about .story-copy h1,body main.page-whitepaper .page-title h1{font-size:32px!important}}
@media(max-width:650px){body main .r-hero h1,body main.kingk-about .story-copy h1,body main.page-whitepaper .page-title h1{font-size:28px!important;line-height:1.28!important;letter-spacing:-.4px!important;margin:14px 0 17px!important;padding-bottom:15px}body main .hero h1.hero-headline{font-size:27px!important}body main .r-hero h1:after,body main.kingk-about .story-copy h1:after,body main .hero h1.hero-headline:after{width:62px}}
@media(forced-colors:active){body main .r-hero h1 em,body main.kingk-about .story-copy h1 em{background:none;-webkit-text-fill-color:CanvasText}}
/* One-line desktop titles, with readable natural wrapping on smaller screens. */
/* About page rhythm: separate every action from the preceding copy. */
body main.kingk-about p{margin-top:0;margin-bottom:14px;line-height:1.7}
body main.kingk-about p+.kingk-text-link,body main.kingk-about p+.button{margin-top:22px;align-self:flex-start;max-width:100%}
body main.kingk-about .actions{margin-top:24px;gap:14px;display:flex;flex-wrap:wrap}
body main.kingk-about .story-purpose .story-panel{display:flex;flex-direction:column;align-items:flex-start}
body main.kingk-about .story-purpose .story-panel p:last-of-type{margin-bottom:0}
body main.kingk-about .kingk-join-grid p{margin-bottom:0}
body main.kingk-about :is(.story-purpose,.story-values,.story-journey,.story-cta,.kingk-principles) h2{font-size:clamp(22px,1.7vw,27px);line-height:1.35;letter-spacing:-.55px;text-wrap:initial;margin:15px 0 20px}
body main.kingk-about .story-copy>h2{font-size:clamp(19px,1.5vw,24px);line-height:1.4}
body main.kingk-about :is(.story-purpose,.story-cta) h2 em{font-style:normal;color:#a77805}
body main.kingk-about :is(.story-value-grid,.kingk-join-grid) h3{font-size:17px;line-height:1.4;letter-spacing:-.2px}
body main.kingk-about :is(.button,.kingk-text-link){white-space:nowrap;font-size:14px;gap:8px;padding:12px 16px;max-width:100%}
body main.kingk-about .kingk-principles{gap:24px}
@media(max-width:700px){body main.kingk-about :is(.story-who,.story-purpose,.story-values,.story-journey,.story-cta,.kingk-principles) h2{font-size:22px!important}body main.kingk-about .kingk-principles>.button{margin-top:6px}}
@media(max-width:420px){body main.kingk-about :is(.button,.kingk-text-link){font-size:13px;padding:11px 12px;gap:7px}body main.kingk-about .kingk-text-link img{width:23px;height:23px}}
body main.kingk-about .story-who h2{font-size:clamp(20px,1.65vw,27px);line-height:1.35;letter-spacing:-.55px;margin:15px 0 20px;text-wrap:initial}body main.kingk-about .story-who h2 em{font-style:normal;color:#a77805}body main.kingk-about .story-who .kingk-text-link{display:inline-flex;margin-top:22px;gap:9px;align-items:center}body main.kingk-about .story-who p:last-of-type{margin-bottom:0}
body main .r-hero h1,body main.kingk-about .story-copy h1,body main.page-whitepaper .page-title h1{font-size:clamp(21px,1.8vw,28px)!important;letter-spacing:-.5px!important;text-wrap:initial}
body main .hero h1.hero-headline{font-size:clamp(20px,1.7vw,30px)!important;text-wrap:initial}
body main .hero h1.hero-headline>span,body main .hero h1.hero-headline>em{display:inline;width:auto;font-size:inherit;line-height:inherit}
body main .hero h1.hero-headline>em{margin:0 0 0 .2em}
@media(max-width:650px){body main .r-hero h1,body main.kingk-about .story-copy h1,body main.page-whitepaper .page-title h1{font-size:24px!important}body main .hero h1.hero-headline{font-size:22px!important}}
