| :root { |
| color: #122334; |
| background: #edf5fa; |
| font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; |
| font-synthesis: none; |
| } |
|
|
| * { box-sizing: border-box; } |
| body { margin: 0; min-width: 320px; min-height: 100vh; background: radial-gradient(circle at 70% 0%, #fff 0, #edf5fa 42%, #dfedf5 100%); } |
| button, input, select { font: inherit; } |
| button, select, input { accent-color: #f7a600; } |
|
|
| .app-shell { width: min(1500px, 100%); margin: 0 auto; padding: 28px; } |
| .hero { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 22px; } |
| .hero h1 { margin: 2px 0 6px; font-size: clamp(2rem, 4vw, 3.45rem); line-height: 1; letter-spacing: -0.055em; } |
| .hero h1 span { display: inline-block; transform: translateY(0.08em); } |
| .hero p { margin: 0; color: #557083; font-size: 1.02rem; } |
| .hero .eyebrow { color: #0d82df; font-size: 0.75rem; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; } |
| .hero a { color: #315469; font-weight: 700; text-decoration: none; border-bottom: 1px solid #9bb3c1; } |
|
|
| .workspace { display: grid; grid-template-columns: 330px minmax(0, 1fr); gap: 18px; align-items: start; } |
| .controls, .preview-panel { background: rgba(255,255,255,0.88); border: 1px solid rgba(105,144,166,0.24); box-shadow: 0 18px 55px rgba(35,74,99,0.12); backdrop-filter: blur(18px); } |
| .controls { border-radius: 20px; padding: 18px; position: sticky; top: 18px; } |
| .control-section + .control-section { border-top: 1px solid #dce8ee; margin-top: 18px; padding-top: 16px; } |
| .section-heading { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; } |
| .section-heading h2 { font-size: 0.78rem; letter-spacing: 0.11em; text-transform: uppercase; margin: 0; color: #577184; } |
| .section-heading span { color: #7b929f; font-size: 0.78rem; } |
| label { color: #486273; display: grid; gap: 6px; font-size: 0.79rem; font-weight: 700; } |
| select, input[type="number"] { width: 100%; border: 1px solid #c9dbe4; border-radius: 10px; background: #f9fcfd; color: #173348; padding: 9px 10px; outline: none; } |
| select:focus, input:focus { border-color: #0d82df; box-shadow: 0 0 0 3px rgba(13,130,223,0.12); } |
| .symbol-switch { display: grid; grid-template-columns: 1fr 1fr; gap: 7px; } |
| .symbol-mode { border: 1px solid #c9dbe4; border-radius: 10px; padding: 9px 8px; color: #486273; background: #f9fcfd; cursor: pointer; font-size: 0.78rem; font-weight: 750; } |
| .symbol-mode[aria-pressed="true"] { border-color: #0d82df; color: #0d73c7; background: #eaf6fd; box-shadow: 0 0 0 2px rgba(13,130,223,0.09); } |
| #mode-emoji, .selected-emoji { font-family: "Apple Color Emoji", "Segoe UI Emoji", "Noto Color Emoji", sans-serif; } |
| .emoji-picker-toggle { width: 100%; display: grid; grid-template-columns: 42px 1fr auto; gap: 10px; align-items: center; margin-top: 9px; padding: 8px 10px; border: 1px solid #c9dbe4; border-radius: 11px; color: #173348; background: #f9fcfd; cursor: pointer; text-align: left; } |
| .selected-emoji { font-size: 1.8rem; line-height: 1; } |
| .emoji-picker-toggle strong, .emoji-picker-toggle small { display: block; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } |
| .emoji-picker-toggle strong { font-size: 0.78rem; } |
| .emoji-picker-toggle small { margin-top: 2px; color: #718894; font-size: 0.67rem; } |
| .emoji-picker-panel { height: 350px; margin-top: 8px; overflow: hidden; border-radius: 12px; } |
| .emoji-picker-panel emoji-picker { width: 100%; height: 100%; --num-columns: 7; --emoji-size: 1.25rem; --emoji-padding: 0.45rem; --border-color: #c9dbe4; --border-radius: 12px; --indicator-color: #0d82df; --input-border-color: #9fbcca; } |
| .picker-loading { height: 100%; display: grid; place-items: center; border: 1px solid #c9dbe4; border-radius: 12px; color: #718894; font-size: 0.75rem; } |
| .control-note { margin: 8px 0 0; color: #718894; font-size: 0.7rem; line-height: 1.4; } |
| .split-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-top: 10px; } |
| .range-label { margin-top: 13px; } |
| .range-label span { display: flex; justify-content: space-between; } |
| .range-label output { color: #0d82df; font-variant-numeric: tabular-nums; } |
| input[type="range"] { width: 100%; margin: 0; cursor: ew-resize; } |
| .seed-row { display: grid; grid-template-columns: 1fr 42px; gap: 8px; align-items: end; margin-top: 14px; } |
| .icon-button, .text-button { border: 0; cursor: pointer; color: #0d82df; background: transparent; font-weight: 800; } |
| .icon-button { height: 38px; border-radius: 10px; background: #e8f4fc; font-size: 1.2rem; } |
| .text-button { padding: 0; font-size: 0.76rem; } |
| .export-button { width: 100%; border: 0; border-radius: 12px; margin-top: 18px; padding: 12px 16px; color: #2d2706; font-weight: 850; cursor: pointer; background: linear-gradient(135deg, #ffd21e, #ffad03); box-shadow: 0 8px 22px rgba(255,173,3,0.25); } |
| .export-button:hover { filter: brightness(1.03); transform: translateY(-1px); } |
| .export-button:disabled { cursor: wait; opacity: 0.65; transform: none; } |
| .share-button { width: 100%; margin-top: 8px; padding: 10px 14px; border: 1px solid #b9d2df; border-radius: 11px; color: #23536f; background: #eef7fb; cursor: pointer; font-size: 0.78rem; font-weight: 800; } |
| .share-button:hover { border-color: #0d82df; color: #0d73c7; background: #e5f4fc; } |
| .export-status { min-height: 2.4em; margin: 9px 2px 0; color: #718894; font-size: 0.72rem; line-height: 1.35; } |
|
|
| .preview-panel { overflow: hidden; border-radius: 20px; } |
| .preview-toolbar { min-height: 48px; padding: 0 16px; display: flex; align-items: center; justify-content: space-between; color: #587181; font-size: 0.78rem; font-weight: 700; border-bottom: 1px solid #dce8ee; } |
| .preview-toolbar span:first-child { display: flex; align-items: center; gap: 8px; } |
| .live-dot { width: 8px; height: 8px; border-radius: 50%; background: #1ab76c; box-shadow: 0 0 0 5px rgba(26,183,108,0.12); } |
| .canvas-wrap { width: 100%; min-height: 360px; display: grid; place-items: center; background: #d5e3eb; } |
| #preview { display: block; width: 100%; height: auto; max-height: calc(100vh - 180px); object-fit: contain; } |
|
|
| @media (max-width: 900px) { |
| .app-shell { padding: 18px; } |
| .workspace { grid-template-columns: 1fr; } |
| .controls { position: static; } |
| .preview-panel { grid-row: 1; } |
| .canvas-wrap { min-height: 220px; } |
| #preview { max-height: none; } |
| } |
|
|
| @media (max-width: 520px) { |
| .app-shell { padding: 12px; } |
| .hero { align-items: start; } |
| .hero a { display: none; } |
| .controls, .preview-panel { border-radius: 15px; } |
| } |
|
|