:root{--bg-top:#101b4d;--bg-bottom:#070d26;--dock:#050a1c;--card:#121d52;--card-border:#263a86;--card-raised:#1a2868;--white:#fff;--chrome:#c9ced6;--ink:#0a0f2c;--cta:#dd6df0;--cta-edge:#9a35ad;--cta-text:#0a0f2c;--accent:#2cc8e8;--word-0:#2cc8e8;--word-0-edge:#1597b3;--word-1:#dd6df0;--word-1-edge:#9a35ad;--word-2:#ffd23f;--word-2-edge:#c99a00;--word-3:#ff7a6b;--word-3-edge:#c8102e;--danger:#e70013;--danger-deep:#9e1b26;--ball-highlight:#f7c9fb;--rhyme-background:var(--bg-bottom);--rhyme-sidebar:var(--dock);--rhyme-surface:var(--card);--rhyme-surface-raised:var(--card-raised);--rhyme-surface-solid:var(--card);--rhyme-cell:color-mix(in srgb, var(--white) 8%, transparent);--rhyme-countin-cell:var(--dock);--rhyme-cell-active:var(--white);--rhyme-cream:var(--white);--rhyme-on-cream:var(--ink);--rhyme-muted:var(--chrome);--rhyme-muted-strong:color-mix(in srgb, var(--chrome) 88%, transparent);--rhyme-faint:color-mix(in srgb, var(--chrome) 72%, transparent);--rhyme-word-0:var(--word-0);--rhyme-word-1:var(--word-1);--rhyme-word-2:var(--word-2);--rhyme-word-3:var(--word-3);--rhyme-primary:var(--cta);--rhyme-primary-text:var(--cta-text);--rhyme-accent:var(--accent);--rhyme-track:color-mix(in srgb, var(--white) 16%, transparent);--rhyme-track-fill:var(--accent);--rhyme-ball-highlight:var(--ball-highlight);--rhyme-ball-base:var(--cta);--rhyme-line:var(--card-border);--rhyme-outline:color-mix(in srgb, var(--white) 30%, transparent);--glow:0 0 14px color-mix(in srgb, var(--accent) 55%, transparent);--radius-sm:8px;--radius-md:12px;--radius-lg:16px;--radius-xl:22px;--radius-pill:999px;--space-1:4px;--space-2:8px;--space-3:12px;--space-4:16px;--space-5:24px;--space-6:32px;--space-7:48px;--space-8:72px;--touch-target:44px;--ease-snap:cubic-bezier(.2, .9, .3, 1);--dur-fast:90ms;--dur-base:.14s;--dur-slow:.24s;--font-display:"Titan One", var(--font-lalezar), var(--font-cairo), "Segoe UI", system-ui, sans-serif;--font-body:var(--font-cairo), "Cairo", "Segoe UI", system-ui, sans-serif;--font-arabic:var(--font-cairo), "Cairo", "Segoe UI", "Noto Naskh Arabic", system-ui, sans-serif;--rail-width:280px;--content-max:1180px;--tabbar-height:64px;--dock-height:96px}*,:before,:after{box-sizing:border-box}html,body{min-height:100%;margin:0;padding:0}body{font-family:var(--font-body);color:var(--rhyme-cream);background:var(--bg-bottom) linear-gradient(180deg, var(--bg-top), var(--bg-bottom)) fixed;font-synthesis:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;scrollbar-color:color-mix(in srgb, var(--white) 28%, transparent) transparent;font-size:16px;line-height:1.5}::selection{background:var(--rhyme-accent);color:var(--rhyme-on-cream)}h1,h2,h3,h4{font-family:var(--font-display);text-wrap:balance;margin:0;font-weight:400;line-height:1.2}p{margin:0}button{cursor:pointer;color:inherit;background:0 0;border:none;padding:0;font-family:inherit}a{color:inherit;text-decoration:none}ul,ol{margin:0;padding:0;list-style:none}input,select,textarea{font-family:inherit;font-size:inherit;color:inherit;caret-color:var(--rhyme-primary)}:focus-visible{outline:3px solid var(--rhyme-accent);outline-offset:3px}@media (prefers-reduced-motion:reduce){*,:before,:after{scroll-behavior:auto!important;transition-duration:.01ms!important;animation-duration:.01ms!important;animation-iteration-count:1!important}}.screen{flex-direction:column;align-items:center;height:100%;min-height:100dvh;padding:26px clamp(16px,4vw,56px) 40px;display:flex;position:relative}.screenScroll{width:100%;max-width:var(--content-max);scrollbar-width:thin;scrollbar-color:color-mix(in srgb, var(--white) 28%, transparent) transparent;flex-direction:column;align-items:center;height:100%;display:flex;overflow-y:auto}.screenHeader{grid-template-columns:1fr auto 1fr;align-items:center;gap:12px;width:100%;max-width:780px;margin-bottom:22px;display:grid}.screenTitle{text-align:center;color:var(--rhyme-cream);grid-column:2;font-size:32px}.screenHeaderAside{text-align:right;grid-column:3;justify-self:end}.closeButton{min-height:var(--touch-target);font-family:var(--font-display);color:var(--rhyme-cream);grid-column:1;justify-self:start;align-items:center;gap:6px;padding:6px 8px;font-size:18px;display:inline-flex}.closeButton:hover{color:var(--rhyme-accent)}.resetDefaults{color:var(--rhyme-muted-strong);text-align:right;max-width:120px;font-size:14px;line-height:1.25}.resetDefaults:hover{color:var(--rhyme-cream)}.card{background:var(--rhyme-surface);border:2px solid var(--card-border);border-radius:var(--radius-xl);width:100%;padding:18px 20px}.card+.card{margin-top:16px}.cardHeader{align-items:center;gap:10px;margin-bottom:14px;display:flex}.cardBadge{border-radius:var(--radius-sm);background:var(--rhyme-accent);width:26px;height:26px;font-family:var(--font-display);color:var(--rhyme-on-cream);flex:none;justify-content:center;align-items:center;font-size:16px;display:inline-flex}.cardLabel{color:var(--rhyme-muted);font-size:14px;font-weight:700}.cardHeaderSpacer{flex:1}.cardTitle{color:var(--rhyme-cream);font-size:24px}.cardHint{color:var(--rhyme-muted-strong);font-size:14px;line-height:1.5}.row{border-radius:var(--radius-lg);background:var(--rhyme-surface-raised);border:1px solid var(--rhyme-line);align-items:center;gap:14px;width:100%;min-height:58px;padding:10px 16px;display:flex}.rowHoverable:hover{background:var(--card-border)}.rowLabel{flex:1;min-width:0}.rowTitle{color:var(--rhyme-cream);font-size:16px;font-weight:700}.rowTitle,.rowSub{display:block}.rowSub{color:var(--rhyme-muted-strong);margin-top:2px;font-size:14px}.btnGem{width:100%;min-height:60px;padding:0 var(--space-5);border:4px solid var(--white);border-radius:var(--radius-lg);background:var(--cta);color:var(--cta-text);font-family:var(--font-display);transition:transform var(--dur-fast) var(--ease-snap), box-shadow var(--dur-fast) var(--ease-snap);flex:1;justify-content:center;align-items:center;gap:10px;font-size:24px;line-height:1;display:inline-flex;box-shadow:0 8px 18px #00000073}.btnGem:hover{filter:brightness(1.06)}.btnGem:active{transform:scale(.97);box-shadow:0 3px 8px #00000073}.btnGem:disabled{opacity:.55;cursor:not-allowed}.btnSecondary{border-radius:var(--radius-pill);border:2px solid var(--card-border);width:100%;min-height:56px;color:var(--white);font-family:var(--font-display);letter-spacing:.04em;transition:background var(--dur-base) linear;background:0 0;justify-content:center;align-items:center;gap:8px;font-size:20px;display:inline-flex}.btnSecondary:hover{background:var(--card-raised)}.pillRow{flex-wrap:wrap;gap:10px;display:flex}.pill{border-radius:var(--radius-pill);background:var(--card-raised);border:2px solid var(--card-border);min-width:max-content;min-height:48px;color:var(--white);white-space:nowrap;transition:background var(--dur-fast) linear, color var(--dur-fast) linear;flex:auto;padding:10px 14px;font-size:15px;font-weight:700}.pill:hover{background:color-mix(in srgb, var(--white) 10%, transparent)}.pillActive{background:var(--accent);border-color:var(--accent);box-shadow:var(--glow);color:var(--ink)}.iconButton{background:color-mix(in srgb, var(--white) 10%, transparent);width:48px;height:48px;color:var(--rhyme-cream);border-radius:50%;flex:none;justify-content:center;align-items:center;display:inline-flex}.iconButton:hover{background:color-mix(in srgb, var(--white) 20%, transparent)}.iconButtonActive{background:var(--rhyme-accent);color:var(--rhyme-on-cream)}.chevronButton{width:48px;height:48px;color:var(--rhyme-cream);border-radius:50%;flex:none;justify-content:center;align-items:center;display:inline-flex}.chevronButton:hover{background:color-mix(in srgb, var(--white) 12%, transparent)}.chevronButton:disabled{opacity:.4;cursor:not-allowed}.toggle{border-radius:var(--radius-pill);background:color-mix(in srgb, var(--white) 16%, transparent);border:2px solid color-mix(in srgb, var(--white) 35%, transparent);width:56px;height:32px;transition:background var(--dur-base) linear;flex:none;position:relative}.toggle:before{content:"";position:absolute;inset:-8px -4px}.toggleOn{background:var(--rhyme-primary);border-color:var(--rhyme-primary)}.toggleThumb{background:var(--rhyme-cream);width:22px;height:22px;transition:left var(--dur-base) var(--ease-snap);border-radius:50%;position:absolute;top:3px;left:3px}.toggleOn .toggleThumb{background:var(--rhyme-on-cream);left:27px}.beatStrip{border-radius:var(--radius-xl);background:var(--card-raised);width:100%;color:var(--rhyme-on-cream);border:0;align-items:center;gap:14px;padding:14px 16px;display:flex}.beatArt{border-radius:var(--radius-sm);background:var(--rhyme-primary);width:60px;height:60px;color:var(--rhyme-on-cream);font-family:var(--font-display);flex:none;justify-content:center;align-items:center;font-size:32px;display:flex;overflow:hidden}.beatArt img{object-fit:cover;width:100%;height:100%}.beatMeta{flex:1;min-width:0}.beatTitle{font-family:var(--font-display);color:var(--rhyme-on-cream);font-size:24px}.beatSub{color:var(--chrome);white-space:nowrap;text-overflow:ellipsis;margin-top:2px;font-size:14px;overflow:hidden}.beatTransport{flex:none;align-items:center;gap:6px;display:flex}.transportButton{width:44px;height:44px;color:var(--rhyme-on-cream);border-radius:50%;justify-content:center;align-items:center;display:inline-flex}.transportButton:hover{background:color-mix(in srgb, var(--ink) 12%, transparent)}.progress{border-radius:var(--radius-pill);background:var(--rhyme-track);height:6px;position:relative;overflow:hidden}.progressFill{border-radius:var(--radius-pill);background:var(--rhyme-track-fill);position:absolute;inset:0 auto 0 0}.label{color:var(--rhyme-muted);font-size:14px;font-weight:700}.muted{color:var(--rhyme-muted-strong)}.emptyState{text-align:center;color:var(--rhyme-muted-strong);padding:48px 20px;font-size:15px;line-height:1.5}.field{border-radius:var(--radius-lg);background:var(--rhyme-surface-raised);border:2px solid color-mix(in srgb, var(--white) 22%, transparent);width:100%;min-height:48px;color:var(--rhyme-cream);padding:10px 14px}.field:focus-visible{outline:3px solid var(--rhyme-accent);outline-offset:2px;border-color:var(--rhyme-accent)}.field::placeholder{color:var(--rhyme-faint)}
