/* Official contract (official-token.js): the header pill on every page, and the homepage strip. */

/* Header pill. Pending: a quiet placeholder. Live: the same pill a little larger, $TANK over the full
   address and a Copy button, so the header copy around it never moves or hides. */
.official-pill{display:inline-flex;align-items:center;gap:10px;margin:0 auto;padding:7px 14px 7px 12px;border:1px solid #f5d38666;border-radius:999px;background:#f5d38612;color:#c9d8d6;font-family:var(--font-body,Archivo,Arial,sans-serif);font-size:12px;line-height:1.3;max-width:100%;box-sizing:border-box}
.official-pill+nav{margin-left:0}
.official-pill>i{flex:none;width:8px;height:8px;border-radius:50%;background:#f5d386}
.official-pill-text{white-space:nowrap}
/* Live: the placeholder pill with the address in it. Same height, border and background. */
.official-pill[data-state=live]{gap:4px;padding:5px 4px 5px 11px}
/* The full address, never shortened: impostors share prefixes and suffixes. */
.official-pill-address{font-family:'Geist Mono',ui-monospace,monospace;font-size:11px;letter-spacing:-.04em;line-height:1.3;white-space:nowrap;user-select:all;-webkit-user-select:all;color:#fff3d0}
.official-pill-actions{display:flex;align-items:center}
.official-pill-copy{display:grid;place-items:center;width:20px;height:20px;padding:0;border:0;border-radius:50%;background:transparent;color:#f5d386;font:inherit;font-size:13px;line-height:1;cursor:pointer;transition:background-color .2s}
.official-pill-copy:hover{background:#f5d38626}
@media(max-width:1100px){.official-pill{order:5;margin:6px 0 0}.official-pill+nav{margin-left:auto}}
/* Phones: the pill takes its own row under the logo, above the nav. */
@media(max-width:620px){.official-pill{order:0;flex-basis:100%;margin:2px 0 0}.official-pill-text{white-space:normal}.official-pill-address{flex:1;min-width:0;white-space:normal;overflow-wrap:anywhere}}

/* Footer contract line: one slim row in a strip above the footer (see official-token.js), styled like
   footer text rather than a card. It wraps on narrow screens; the address itself is never cut. */
.official-token-row{box-sizing:border-box;width:100%;padding-top:12px;padding-bottom:12px}
.official-token{display:flex;flex-wrap:wrap;align-items:baseline;gap:6px 16px;font-family:var(--font-body,Archivo,Arial,sans-serif);font-size:12px;line-height:1.4;color:#9db5b7;text-align:left}
.official-token-label{margin:0;font-weight:600;color:var(--ui-gold,#e6c788)}
.official-token-address{font-family:'Geist Mono',ui-monospace,monospace;font-size:12px;overflow-wrap:anywhere;user-select:all;-webkit-user-select:all;color:var(--color-paper,#f2efdf)}
.official-token-actions{display:flex;align-items:center;gap:14px}
.official-token-copy{padding:0;border:0;background:none;color:var(--color-paper,#f2efdf);font:inherit;text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px;cursor:pointer}
.official-token-link{display:inline-flex;align-items:center;gap:3px;color:var(--color-paper,#f2efdf);text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px}
:is(.official-token-copy,.official-token-link):hover{color:var(--ui-gold,#e6c788)}
/* Telegram paper plane, drawn with a CSS mask so it takes the text colour and the gold hover. */
.official-token-telegram{display:inline-block;width:16px;height:16px;background-color:var(--color-paper,#f2efdf);-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M21.9 4.3 18.8 19c-.2 1-.8 1.3-1.7.8l-4.7-3.5-2.3 2.2c-.3.3-.5.5-1 .5l.3-4.8 8.8-7.9c.4-.3-.1-.5-.6-.2L6.8 12.9l-4.6-1.4c-1-.3-1-1 .2-1.5L20.6 3c.8-.3 1.6.2 1.3 1.3z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M21.9 4.3 18.8 19c-.2 1-.8 1.3-1.7.8l-4.7-3.5-2.3 2.2c-.3.3-.5.5-1 .5l.3-4.8 8.8-7.9c.4-.3-.1-.5-.6-.2L6.8 12.9l-4.6-1.4c-1-.3-1-1 .2-1.5L20.6 3c.8-.3 1.6.2 1.3 1.3z'/%3E%3C/svg%3E") center/contain no-repeat;align-self:center}
.official-token-telegram:hover{background-color:var(--ui-gold,#e6c788)}
.official-token-telegram:focus-visible{outline:2px solid var(--color-paper,#f2efdf);outline-offset:3px}
.official-token-note{margin:0;color:#9db5b7}
/* Page stylesheets give every p a bottom margin; this outranks them so all items share one line. */
.official-token-row .official-token>p{margin:0}

/* Shared states. */
:is(.official-pill-copy,.official-token-copy)[data-copied=true]{color:var(--ui-gold,#e6c788)}
:is(.official-pill-copy,.official-token-copy,.official-pill-link,.official-token-link):focus-visible{outline:2px solid var(--color-paper,#f2efdf);outline-offset:3px}
.official-token-status{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}
.official-token-scratch{position:fixed;top:0;left:0;opacity:0;pointer-events:none}
@media(prefers-reduced-motion:reduce){.official-pill-copy,.official-token-copy{transition:none}}
