Something went wrong. Try again.
webview for social and dev helpers social-toolkit.frytg.workers.dev
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557@import 'tailwindcss';
@font-face { font-family: GeistSans; font-display: swap; src: local('Geist'), url('./style/geist-sans.woff2') format('woff2'); font-weight: 100 900;}
@font-face { font-family: GeistMono; font-display: swap; src: local('Geist Mono'), url('./style/geist-mono.woff2') format('woff2'); font-weight: 100 900;}
@theme { /* Canonical names from DESIGN.md */ --color-dark-greeny: #181d16; --color-mid-dark-greeny: #293126; --color-greeny: #3e4939; --color-yellow: #ffff11; --color-orange: #f09139; --color-off-off-white: #ddd9c0; --color-off-white: #ecebe3; --color-fake-gray: #d7e2cc; --color-white: #ffffff; /* UI foreground alias — prefer off-white over pure white */ --color-primary: #ecebe3; --font-sans: 'GeistSans', 'Geist', ui-sans-serif, system-ui, sans-serif; --font-mono: 'GeistMono', 'Geist Mono', ui-monospace, monospace;}
:root { color-scheme: dark; /* Derived tokens — kept in step with dashy so both apps mix the same lines and surfaces */ --line: color-mix(in oklab, var(--color-fake-gray) 20%, transparent); --line-strong: color-mix(in oklab, var(--color-fake-gray) 36%, transparent); --muted: color-mix(in oklab, var(--color-fake-gray) 72%, transparent); --faint: color-mix(in oklab, var(--color-fake-gray) 55%, transparent); --surface-1: var(--color-dark-greeny); --surface-2: color-mix(in oklab, var(--color-off-white) 4.5%, transparent); --surface-3: color-mix(in oklab, var(--color-off-white) 8%, transparent); --radius: 0; --safe-top: env(safe-area-inset-top, 0px); --safe-right: env(safe-area-inset-right, 0px); --safe-bottom: env(safe-area-inset-bottom, 0px); --safe-left: env(safe-area-inset-left, 0px); --panel-width: min(20rem, 100%);}
* { box-sizing: border-box;}
html,body,#app { height: 100%; margin: 0;}
@supports (height: 100dvh) { html, body, #app { height: 100dvh; }}
body { background: var(--color-mid-dark-greeny); color: var(--color-off-white); font-family: var(--font-sans); font-weight: 400; -webkit-font-smoothing: antialiased; overflow: hidden; touch-action: manipulation;}
::selection { background: var(--color-yellow); color: var(--color-greeny);}
input[type='range'] { appearance: none; background: transparent; cursor: pointer; height: 28px; width: 100%;}
input[type='range']::-webkit-slider-runnable-track { background: var(--line-strong); border-radius: 0; height: 2px;}
input[type='range']::-webkit-slider-thumb { appearance: none; background: var(--color-off-white); border: none; border-radius: 0; height: 14px; margin-top: -6px; transition: background-color 0.15s ease; width: 10px;}
input[type='range']:hover::-webkit-slider-thumb { background: var(--color-yellow);}
input[type='range']::-moz-range-track { background: var(--line-strong); border-radius: 0; height: 2px;}
input[type='range']::-moz-range-thumb { background: var(--color-off-white); border: none; border-radius: 0; height: 14px; width: 10px;}
input[type='range']:hover::-moz-range-thumb { background: var(--color-yellow);}
input[type='color'] { appearance: none; background: transparent; border: none; cursor: pointer; height: 18px; padding: 0; width: 18px;}
input[type='color']::-webkit-color-swatch-wrapper { padding: 0;}
input[type='color']::-webkit-color-swatch { border: 1px solid var(--line-strong); border-radius: 0;}
/* Section eyebrow or field caption */.ui-label { color: var(--muted); font-size: 0.75rem; font-weight: 500;}
/* Header tab — lowercase label behind a muted shortcut number. The active tab is a solid yellow block */.ui-tab { align-items: center; background: transparent; border: none; border-radius: var(--radius); color: color-mix(in oklab, var(--color-off-white) 80%, transparent); cursor: pointer; display: inline-flex; flex-shrink: 0; font-size: 0.875rem; font-weight: 500; gap: 0.375rem; justify-content: center; line-height: 1.25rem; min-height: 2.25rem; padding: 0.375rem 0.625rem; text-decoration: none; text-transform: lowercase; transition: background-color 0.15s ease, color 0.15s ease; white-space: nowrap;}
.ui-tab:hover { background: var(--surface-2); color: var(--color-off-white);}
.ui-tab.is-active { background: var(--color-yellow); color: var(--color-dark-greeny);}
.ui-tab-key { color: color-mix(in oklab, var(--color-off-white) 50%, transparent); font-family: var(--font-mono);}
.ui-tab.is-active .ui-tab-key { color: color-mix(in oklab, var(--color-dark-greeny) 55%, transparent);}
/* Tab row — scrolls sideways with faded edges on narrow screens, wraps from lg up. The side padding equals the fade width, so the first and last tab clear the fade at either end.*/.ui-tab-row { display: flex; flex-wrap: nowrap; gap: 1px; mask-image: linear-gradient(to right, transparent, black 0.75rem, black calc(100% - 0.75rem), transparent); overflow-x: auto; padding: 0.25rem 0.75rem; scroll-padding-inline: 0.75rem; scroll-snap-type: x proximity; scrollbar-width: none;}
.ui-tab-row::-webkit-scrollbar { display: none;}
.ui-tab-row > .ui-tab { scroll-snap-align: start;}
@media (min-width: 1024px) { .ui-tab-row { flex-wrap: wrap; mask-image: none; overflow-x: visible; padding: 0.25rem 0.375rem; scroll-snap-type: none; }}
.ui-chip { background: transparent; border: 1px solid transparent; border-radius: var(--radius); color: var(--muted); cursor: pointer; font-size: 0.75rem; font-weight: 500; min-height: 2rem; padding: 0.375rem 0.75rem; transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease;}
.ui-chip:hover { background: var(--color-yellow); color: var(--color-greeny);}
.ui-chip.is-active { background: var(--color-yellow); border-color: var(--color-yellow); color: var(--color-greeny);}
.ui-seg { background: var(--surface-2); border-radius: var(--radius); display: grid; gap: 2px; grid-auto-flow: column; grid-auto-columns: 1fr; padding: 2px;}
.ui-seg-btn { background: transparent; border: none; border-radius: var(--radius); color: var(--muted); cursor: pointer; font-size: 0.75rem; font-weight: 500; min-height: 2.25rem; padding: 0.5rem 0.5rem; transition: background-color 0.15s ease, color 0.15s ease;}
.ui-seg-btn:hover { background: var(--color-yellow); color: var(--color-greeny);}
.ui-seg-btn.is-active { background: var(--color-yellow); color: var(--color-greeny);}
.ui-field { background: var(--surface-2); border: 1px solid var(--line); border-radius: var(--radius); min-height: 2.5rem; padding: 0.5rem 0.625rem; transition: border-color 0.15s ease;}
.ui-field:focus-within { border-color: var(--color-yellow);}
.ui-btn { background: var(--surface-3); border: 1px solid var(--line); border-radius: var(--radius); color: var(--color-off-white); cursor: pointer; font-size: 0.875rem; font-weight: 500; min-height: 2.75rem; padding: 0.625rem 0.875rem; transition: background-color 0.15s ease, border-color 0.15s ease, color 0.15s ease;}
.ui-btn:hover { background: var(--color-yellow); border-color: var(--color-yellow); color: var(--color-greeny);}
.ui-btn-primary { background: var(--color-yellow); border-color: var(--color-yellow); color: var(--color-greeny);}
.ui-btn-primary:hover { background: var(--color-yellow); border-color: var(--color-yellow); color: var(--color-greeny); filter: brightness(1.05);}
.ui-btn-ghost { background: transparent; border: 1px solid transparent; border-radius: var(--radius); color: var(--muted); cursor: pointer; font-size: 0.875rem; font-weight: 500; min-height: 2.75rem; padding: 0.625rem 0.875rem; transition: color 0.15s ease, background-color 0.15s ease;}
.ui-btn-ghost:hover { background: var(--color-yellow); color: var(--color-greeny);}
.ui-link { background: none; border: none; color: var(--muted); cursor: pointer; font-size: 0.8125rem; font-weight: 500; min-height: 2.5rem; padding: 0.5rem 0; transition: color 0.15s ease;}
.ui-link:hover { color: var(--color-yellow);}
/* Rectangular on/off control — not a pill */.ui-toggle { background: var(--surface-3); border: 1px solid var(--line); border-radius: var(--radius); cursor: pointer; flex-shrink: 0; height: 22px; position: relative; transition: background-color 0.15s ease, border-color 0.15s ease; width: 40px;}
.ui-toggle.is-on { background: var(--color-yellow); border-color: var(--color-yellow);}
.ui-toggle-knob { background: var(--color-off-white); border-radius: var(--radius); height: 14px; left: 3px; position: absolute; top: 3px; transition: transform 0.15s ease, background-color 0.15s ease; width: 14px;}
.ui-toggle.is-on .ui-toggle-knob { background: var(--color-greeny); transform: translateX(18px);}
.ui-panel-shell { background: var(--surface-1); border-right: 1px solid var(--line); display: flex; flex-direction: column; flex-shrink: 0; height: 100%; max-width: 100%; padding-left: var(--safe-left); width: var(--panel-width);}
.ui-panel-shell.is-collapsed { width: calc(2.75rem + var(--safe-left));}
.ui-panel-body { display: flex; flex: 1; flex-direction: column; min-height: 0; overflow: hidden;}
.ui-panel-shell.is-collapsed .ui-panel-body { display: none;}
.ui-panel-toggle-row { align-items: center; display: flex; flex-shrink: 0; min-height: 2.75rem; padding: 0.25rem;}
.ui-panel-shell.is-collapsed .ui-panel-toggle-row { flex: 1; justify-content: center;}
.ui-panel-shell:not(.is-collapsed) .ui-panel-toggle-row { border-bottom: 1px solid var(--line); justify-content: flex-end;}
.ui-panel-toggle { align-items: center; background: transparent; border: none; border-radius: var(--radius); color: var(--muted); cursor: pointer; display: inline-flex; height: 2.25rem; justify-content: center; transition: background-color 0.15s ease, color 0.15s ease; width: 2.25rem;}
.ui-panel-toggle:hover { background: var(--color-yellow); color: var(--color-greeny);}
@media (min-width: 768px) { .ui-tab { min-height: auto; padding: 0.25rem 0.625rem; }
.ui-chip { min-height: auto; padding: 0.25rem 0.625rem; }
.ui-seg-btn { min-height: auto; padding: 0.3125rem 0.5rem; }
.ui-field { min-height: auto; padding: 0.375rem 0.5rem; }
.ui-btn, .ui-btn-ghost { font-size: 0.8125rem; min-height: auto; padding: 0.5rem 0.75rem; }
.ui-link { font-size: 0.75rem; min-height: auto; padding: 0; }
.ui-toggle { height: 16px; width: 30px; }
.ui-toggle-knob { height: 10px; left: 2px; top: 2px; width: 10px; }
.ui-toggle.is-on .ui-toggle-knob { transform: translateX(14px); }
input[type='range'] { height: 16px; }
input[type='range']::-webkit-slider-thumb { height: 12px; margin-top: -5px; width: 8px; }
input[type='range']::-moz-range-thumb { height: 12px; width: 8px; }}