.lab { color: var(--paper); background: var(--ink); overflow: hidden; }
.lab-intro { padding-top: clamp(76px, 9vw, 128px); }
.lab-intro .eyebrow { color: var(--lime); }
.lab-intro h2 { max-width: 890px; margin-bottom: 20px; font-size: clamp(48px, 6.3vw, 88px); font-weight: 800; line-height: 1.08; letter-spacing: -.047em; }
.lab-intro > p:last-child { max-width: 650px; margin-bottom: 0; color: #d8e0dc; font-size: clamp(16px, 1.65vw, 20px); line-height: 1.55; }
.lab-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, .95fr); align-items: start; gap: clamp(40px, 6vw, 90px); padding-top: 62px; padding-bottom: clamp(78px, 9vw, 128px); }
.lab-controls, .lab-preview { min-width: 0; }
.lab-label { display: block; margin: 0 0 13px; color: var(--lime); font: 500 11px/1.5 var(--mono); letter-spacing: .09em; }
.lab-presets { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin-bottom: 32px; }
.lab-preset { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 62px; padding: 12px 15px; border: 1px solid #6b7988; color: var(--paper); background: transparent; text-align: left; font-size: 13px; font-weight: 700; cursor: pointer; transition: background .2s, color .2s, transform .2s; }
.lab-preset:hover { transform: translateY(-2px); border-color: var(--lime); }
.lab-preset.is-active { color: var(--ink); background: var(--lime); border-color: var(--lime); }
.lab-preset span { font-size: 18px; font-weight: 500; }
#oofStory { display: block; width: 100%; min-height: 118px; resize: vertical; padding: 18px; border: 1px solid #738090; border-radius: 0; outline: none; color: var(--paper); background: #1c314b; font: 600 16px/1.5 var(--body); }
#oofStory::placeholder { color: #aab8c5; opacity: 1; }
#oofStory:focus { border-color: var(--lime); box-shadow: 0 0 0 2px var(--lime); }
.lab-counter { display: flex; justify-content: flex-end; margin: 8px 0 31px; color: #b9c6cb; font: 11px/1.5 var(--mono); }
#oofLevel { width: 100%; height: 8px; margin: 12px 0 16px; border-radius: 0; accent-color: var(--lime); cursor: pointer; }
.lab-level { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 36px; color: #b9c6cb; font: 10px/1.5 var(--mono); }
.lab-level strong { color: var(--lime); font-weight: 500; text-align: center; white-space: nowrap; }
.lab-actions { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.lab-action { display: flex; justify-content: space-between; align-items: center; gap: 8px; min-height: 55px; padding: 12px 17px; border: 1px solid var(--lime); color: var(--ink); background: var(--lime); font-size: 12px; font-weight: 800; text-align: left; cursor: pointer; transition: transform .2s, background .2s; }
.lab-action:hover { transform: translateY(-2px); }
.lab-action span { font-size: 20px; font-weight: 500; }
.lab-action-secondary { color: var(--paper); background: transparent; }
.lab-action-secondary:hover { color: var(--ink); background: var(--lime); }
.lab-action-quiet { grid-column: 1 / -1; min-height: 42px; justify-content: center; border-color: #6b7988; color: #d5dfdf; background: transparent; font: 500 11px var(--mono); }
.lab-action-quiet:hover { border-color: var(--paper); }
.lab-status { min-height: 24px; margin: 16px 0 0; color: var(--lime); font: 11px/1.5 var(--mono); }
.lab-preview { padding-top: 2px; }
.lab-preview-top { display: flex; justify-content: space-between; gap: 12px; margin-bottom: 15px; color: var(--lime); font: 500 10px/1.5 var(--mono); letter-spacing: .05em; }
#oofCanvas { display: block; width: min(100%, 490px); height: auto; border: 5px solid var(--paper); background: var(--paper); box-shadow: 12px 12px 0 var(--coral); }
.lab-preview > p { max-width: 490px; margin: 25px 0 0; color: #b9c6cb; font: 11px/1.6 var(--mono); }
.token-section { border-top: 1px solid var(--line); background: var(--paper); }
.token-inner { display: grid; grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr); gap: clamp(40px, 8vw, 120px); align-items: center; padding-block: clamp(76px, 8vw, 116px); }
.token-inner .eyebrow { color: var(--coral); }
.token-inner h2 { margin-bottom: 19px; font-size: clamp(43px, 4.5vw, 64px); font-weight: 800; line-height: 1.1; letter-spacing: -.045em; }
.token-inner > div:first-child > p:last-child { max-width: 370px; margin: 0; font-size: 16px; line-height: 1.6; }
.token-details > span { display: block; margin-bottom: 12px; font: 500 11px var(--mono); letter-spacing: .09em; }
.token-address { display: flex; align-items: stretch; border: 1px solid var(--ink); }
.token-address code { display: flex; align-items: center; min-width: 0; flex: 1; padding: 17px 18px; font: 500 12px/1.7 var(--mono); overflow-wrap: anywhere; word-break: break-word; }
.token-address button { flex: none; min-width: 90px; padding-inline: 13px; border: 0; border-left: 1px solid var(--ink); color: var(--ink); background: var(--lime); font: 500 12px var(--mono); cursor: pointer; }
.token-address button:hover { background: #c5ed43; }
.token-details > a { display: flex; align-items: center; justify-content: space-between; gap: 20px; width: fit-content; min-height: 52px; margin-top: 16px; padding: 0 17px; color: var(--paper); background: var(--ink); font-size: 12px; font-weight: 800; text-decoration: none; }
.token-details > a:hover { background: #354f62; }
.token-details > a span { font-size: 19px; font-weight: 500; }
.token-details > p { min-height: 17px; margin: 10px 0 0; color: #4e5f69; font: 11px var(--mono); }
@media (max-width: 1000px) { .lab-grid, .token-inner { grid-template-columns: 1fr; } .lab-grid { gap: 55px; } .lab-preview { width: min(100%, 550px); } .token-inner { gap: 42px; } }
@media (max-width: 640px) { .lab-intro { padding-top: 73px; } .lab-intro h2 { font-size: clamp(42px, 10.8vw, 62px); } .lab-grid { gap: 46px; padding-top: 42px; padding-bottom: 86px; } .lab-presets { gap: 8px; } .lab-preset { min-height: 60px; padding: 10px; font-size: 12px; } .lab-level { font-size: 9px; } #oofCanvas { border-width: 4px; box-shadow: 7px 7px 0 var(--coral); } .token-inner { padding-block: 75px; } .token-address { flex-direction: column; } .token-address button { min-height: 42px; border-left: 0; border-top: 1px solid var(--ink); } }
@media (max-width: 360px) { .lab-presets, .lab-actions { grid-template-columns: 1fr; } .lab-action-quiet { grid-column: auto; } .lab-level span { max-width: 50px; } }
