.randomizer-page { width: 100%; margin: auto; }
.randomizer-setup { width: min(700px, calc(100% - 32px)); min-height: calc(100vh - 76px); margin: auto; display: flex; flex-direction: column; justify-content: center; }
.randomizer-setup h1 { margin-bottom: 1rem; font-size: clamp(3rem, 7vw, 5.4rem); }
.randomizer-setup > p:not(.eyebrow) { margin: 0; color: var(--muted); font-size: 1.05rem; }
.randomizer-setup label { display: block; margin: 2rem 0 .6rem; font-weight: 700; }
.randomizer-setup select { width: 100%; min-height: 56px; padding: 0 1rem; border: 2px solid var(--ink); border-radius: 14px; background: white; color: var(--ink); }
.randomizer-tabs { margin-top: 2rem; display: grid; grid-template-columns: repeat(4, 1fr); gap: .45rem; }
.randomizer-tab { min-height: 49px; padding: .55rem; border: 2px solid var(--ink); border-radius: 13px; background: white; color: var(--ink); font-weight: 800; cursor: pointer; }
.randomizer-tab.is-active { background: var(--golden-pollen); box-shadow: 3px 3px 0 var(--ink); transform: translateY(-2px); }
.source-panel[hidden] { display: none; }
.source-panel label { margin-top: 1.2rem; }
.source-panel textarea { width: 100%; padding: .85rem; resize: vertical; border: 2px solid var(--ink); border-radius: 14px; background: white; color: var(--ink); font: inherit; }
.custom-start { min-height: 48px; margin-top: .65rem; padding: .65rem 1rem; border: 2px solid var(--ink); border-radius: 13px; background: var(--dark-orange); color: var(--ink); font-weight: 800; box-shadow: 3px 3px 0 var(--ink); cursor: pointer; }
.coming-note, .custom-error { min-height: 1.4rem; margin-top: .6rem !important; color: var(--cerulean) !important; font-weight: 800; }
.custom-error { color: #a34719 !important; }
.draw-panel { min-height: 100vh; padding: clamp(12px, 2vw, 24px); background: var(--frozen-water); scroll-margin-top: 0; }
.draw-panel[hidden] { display: none; }
.word-card { width: 100%; min-height: calc(100vh - 82px); padding: 2rem; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 1rem; border: 3px solid var(--ink); border-radius: 30px; background: var(--frozen-water); color: var(--ink); box-shadow: 8px 8px 0 var(--dark-orange); cursor: pointer; transition: transform .22s ease, background-color .35s ease; }
.word-card:hover { transform: scale(.995); }
.word-card.is-changing { transform: scale(.97); }
.word-card span { font: 600 clamp(3rem, 9vw, 8rem) var(--font-heading); text-align: center; }
.word-card small { color: var(--charcoal); font-weight: 700; }
.randomizer-meta { min-height: 46px; padding: .9rem .5rem 0; display: flex; justify-content: space-between; color: var(--cerulean); font-size: .9rem; font-weight: 700; }
.text-button { padding: 0; border: 0; background: none; color: inherit; cursor: pointer; text-decoration: underline; text-underline-offset: 3px; }
@media (max-width: 760px) { .randomizer-setup { padding: 2rem 0; } .randomizer-tabs { grid-template-columns: repeat(2, 1fr); } .draw-panel { padding: 10px; } .word-card { min-height: calc(100vh - 70px); border-radius: 24px; box-shadow: 5px 5px 0 var(--dark-orange); } }
