:root {
 --paper: #faf9f6;
 --ink: #202020;
 --muted: #686763;
 --red: #b83229;
 --line: #deddd7;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 16px/1.6 Arial, Helvetica, sans-serif; }
a { color: inherit; text-underline-offset: 4px; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible { outline: 3px solid #26719e; outline-offset: 4px; }
::selection { background: #f1c8bc; }
[hidden] { display: none !important; }
.container { width: calc(100% - 80px); max-width: 1120px; margin-inline: auto; }
.skip { position: absolute; top: -100px; }
.skip:focus { top: 0; z-index: 30; background: white; padding: 16px; }
header { display: flex; align-items: center; padding-block: 25px; border-bottom: 1px solid var(--line); }
.brand { text-decoration: none; font-size: 23px; font-weight: 750; letter-spacing: -.8px; white-space: nowrap; }
nav { display: flex; gap: 26px; align-items: center; }
nav > a { display: inline-flex; align-items: center; min-height: 44px; font-size: 13px; text-decoration: none; white-space: nowrap; color: #53524f; }
nav > a:not(.button):hover { color: var(--ink); }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 12px; min-height: 44px; padding: 11px 20px; border: 1px solid var(--line); border-radius: 6px; background: transparent; font-size: 13px; line-height: 20px; font-weight: 600; text-decoration: none; white-space: nowrap; transition: background-color .15s, border-color .15s; }
.button.primary, .button.red { background: var(--ink); border-color: var(--ink); color: white; }
.button.primary:hover, .button.red:hover { background: #3c3c39; border-color: #3c3c39; }
.button.secondary:hover { background: #efeee9; border-color: #bab9b2; }
.button.secondary span { font-size: 14px; color: var(--muted); }
.text-link { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 13px; padding-block: 8px; font-weight: 500; color: #53524f; text-decoration: none; }
.text-link:hover { color: var(--ink); text-decoration: underline; text-decoration-color: #bab9b2; }
.text-link span { color: var(--muted); font-size: 14px; }
.hero { display: grid; grid-template-columns: 1.12fr 1fr; gap: 68px; align-items: center; padding-block: 64px; }
.hero-copy { min-width: 0; }
.eyebrow { margin: 0 0 20px; font-size: 13px; color: var(--muted); }
h1 { max-width: 550px; margin: 0 0 25px; font-size: clamp(43px, 4.8vw, 66px); line-height: 1.05; font-weight: 750; letter-spacing: -2.8px; }
h1 span { color: var(--red); }
.intro { max-width: 390px; margin-bottom: 12px; font-size: 16px; color: #4c4c48; }
.aside { font-size: 16px; margin-top: 0; }
.actions { display: flex; flex-wrap: wrap; gap: 18px; align-items: center; margin-top: 28px; }
.hero-art { margin: 0; }
.hero-art img { display: block; width: 100%; height: auto; border-radius: 6px; }
.hero-art figcaption { margin-top: 12px; color: var(--muted); font-size: 12px; }
.contract-strip { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 16px; border-block: 1px solid var(--line); }
.contract-address { display: flex; align-items: center; gap: 16px; flex: 1; min-width: 0; }
.token-links { display: flex; gap: 22px; flex-shrink: 0; }
.token-links .text-link { white-space: nowrap; font-size: 12px; }
.contract-label { font-size: 12px; font-weight: 700; white-space: nowrap; }
.contract-strip code { font: 12px/1.6 Consolas, monospace; overflow-wrap: anywhere; color: var(--muted); min-width: 0; }
.contract-strip button { flex-shrink: 0; border: 1px solid var(--line); border-radius: 6px; padding: 7px 13px; background: transparent; font-size: 12px; min-height: 40px; }
.contract-strip button:not(:disabled):hover { background: #efeee9; border-color: #bab9b2; }
.contract-strip button:disabled { opacity: .45; cursor: default; }
h2 { margin: 0; font-size: 30px; line-height: 1.2; font-weight: 700; letter-spacing: -.9px; }
h3 { font-size: 17px; line-height: 1.4; margin: 0 0 10px; }
.deal { padding-block: 32px; }
.token-summary { max-width: 810px; margin: 0; font-size: 15px; line-height: 1.8; color: #53524f; }
.token-summary strong { color: var(--ink); font-weight: 600; }
.deal .fine-print { margin-top: 10px; }
.fine-print { margin: 22px 0 0; color: var(--muted); font-size: 11px; }
.section { padding-block: 46px 50px; border-top: 1px solid var(--line); }
.section-heading { display: flex; justify-content: space-between; align-items: end; gap: 28px; margin-bottom: 26px; }
.section-heading p { margin: 10px 0 0; font-size: 14px; color: var(--muted); }
.section-heading > a { flex-shrink: 0; font-size: 12px; }
.youtube-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.meme-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 24px; }
.youtube-card, .meme-card { min-width: 0; }
.youtube-card iframe, .meme-card iframe { display: block; width: 100%; border: 0; border-radius: 5px; background: #e7e6e1; }
.youtube-card iframe { aspect-ratio: 16/9; min-height: 200px; }
.meme-card iframe { aspect-ratio: 9/16; height: auto; }
.youtube-card h3, .meme-card h3 { font-size: 13px; font-weight: 600; margin: 14px 0 4px; overflow-wrap: anywhere; }
.youtube-card > a, .meme-card > a { display: inline-flex; align-items: center; min-height: 40px; font-size: 12px; padding-block: 7px; color: var(--muted); text-decoration: none; }
.player-retry { display: inline-block; border: 0; background: transparent; padding: 7px 0; margin-left: 16px; min-height: 40px; color: var(--muted); font-size: 12px; text-decoration: none; }
.youtube-card > a:hover, .meme-card > a:hover, .player-retry:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 4px; }
.player-error { background: #fff0e9; border: 1px solid #e7b9ab; color: #722417; font-size: 12px; padding: 12px; border-radius: 4px; }
.empty-memes { padding: 35px 0; color: var(--muted); }
footer { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding-block: 22px 30px; border-top: 1px solid var(--line); color: var(--muted); }
footer p { margin: 0; font-size: 11px; max-width: 620px; }
footer a { font-size: 11px; flex-shrink: 0; }
.footer-links { display: flex; gap: 24px; flex-shrink: 0; }
.footer-links a { padding-block: 10px; color: var(--muted); text-decoration: none; }
.footer-links a:hover { color: var(--ink); text-decoration: underline; }
#toast { display: none; position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); padding: 13px 20px; background: var(--ink); color: white; border-radius: 4px; font-size: 13px; max-width: 90vw; z-index: 30; }
#toast.visible { display: block; }
.editor { max-width: 780px; padding: 40px 24px; margin: auto; }
.editor h1 { font-size: 40px; letter-spacing: -1px; margin-top: 28px; }
.editor label { display: block; margin: 20px 0; font-size: 13px; font-weight: 600; }
.editor input, .editor textarea { display: block; margin-top: 8px; width: 100%; padding: 12px; border: 1px solid var(--line); border-radius: 4px; background: white; }
.editor fieldset { border: 1px solid var(--line); margin: 28px 0; padding: 20px; }
.editor .help { font-size: 13px; color: var(--muted); }
.editor-list { padding: 0; list-style: none; }
.editor-list li { display: flex; gap: 16px; justify-content: space-between; border-bottom: 1px solid var(--line); padding: 16px 0; overflow-wrap: anywhere; }
.editor-list button { align-self: start; }
.editor-status { min-height: 24px; color: #8d251c; }
@media (max-width: 950px) {
 .container { width: calc(100% - 48px); }
 .hero { gap: 36px; padding-block: 44px; }
 h1 { font-size: 49px; letter-spacing: -2px; }
 nav { gap: 20px; }
 .contract-strip { flex-wrap: wrap; gap: 8px 24px; }
 .contract-address { flex-basis: 100%; }
 .meme-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
 .youtube-grid { gap: 22px; }
}
@media (max-width: 700px) {
 header { padding-block: 20px 16px; }
 nav { margin-left: auto; }
 .hero { grid-template-columns: 1fr; gap: 30px; }
 h1 { font-size: clamp(44px, 9vw, 59px); max-width: 500px; }
 .hero-art { max-width: 480px; width: 100%; }
 .hero-copy .intro { max-width: 470px; }
 .deal { padding-block: 32px; }
 .youtube-grid { grid-template-columns: 1fr; gap: 28px; }
 .section-heading { align-items: start; }
 footer { align-items: start; flex-direction: column; gap: 14px; }
}
@media (max-width: 480px) {
 .container { width: calc(100% - 36px); }
 .hero { padding-block: 34px; }
 .actions { gap: 18px; margin-top: 23px; }
 .contract-strip { gap: 4px; }
 .contract-address { flex-wrap: wrap; gap: 10px 12px; }
 .contract-strip code { flex: 1; }
 .contract-label { width: 100%; }
 .section { padding-block: 34px; }
 h2 { font-size: 26px; }
 .section-heading { display: block; }
 .section-heading > a { margin-top: 10px; }
 .meme-grid { grid-template-columns: 1fr; gap: 28px; }
 .editor h1 { font-size: 32px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } .button { transition: none; } }
