589 lines
9.9 KiB
CSS
589 lines
9.9 KiB
CSS
:root {
|
|
color-scheme: dark;
|
|
--background: #090a0c;
|
|
--surface: #101216;
|
|
--surface-raised: #15181d;
|
|
--border: #242830;
|
|
--border-strong: #363c47;
|
|
--text: #f1f3f5;
|
|
--muted: #9299a4;
|
|
--quiet: #626974;
|
|
--accent: #d9ff43;
|
|
--accent-text: #111408;
|
|
--danger: #ff6b6b;
|
|
--radius: 14px;
|
|
font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
|
|
font-synthesis: none;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html {
|
|
background: var(--background);
|
|
}
|
|
|
|
body {
|
|
min-width: 320px;
|
|
margin: 0;
|
|
color: var(--text);
|
|
background:
|
|
radial-gradient(circle at 50% -20%, rgba(217, 255, 67, 0.07), transparent 34rem),
|
|
var(--background);
|
|
}
|
|
|
|
button,
|
|
input {
|
|
font: inherit;
|
|
}
|
|
|
|
a {
|
|
color: inherit;
|
|
}
|
|
|
|
.site-header,
|
|
.page-shell,
|
|
footer {
|
|
width: min(1180px, calc(100% - 40px));
|
|
margin-inline: auto;
|
|
}
|
|
|
|
.site-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
min-height: 76px;
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.brand {
|
|
display: inline-flex;
|
|
gap: 10px;
|
|
align-items: center;
|
|
color: var(--text);
|
|
font-size: 13px;
|
|
font-weight: 650;
|
|
letter-spacing: 0.08em;
|
|
text-decoration: none;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.brand-mark {
|
|
width: 8px;
|
|
height: 8px;
|
|
background: var(--accent);
|
|
border-radius: 2px;
|
|
box-shadow: 0 0 16px rgba(217, 255, 67, 0.45);
|
|
}
|
|
|
|
.environment {
|
|
padding: 6px 9px;
|
|
color: var(--muted);
|
|
border: 1px solid var(--border);
|
|
border-radius: 999px;
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
font-size: 10px;
|
|
letter-spacing: 0.12em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.page-shell {
|
|
min-height: calc(100vh - 142px);
|
|
}
|
|
|
|
.hero {
|
|
max-width: 900px;
|
|
padding: 104px 0 82px;
|
|
transition: opacity 180ms ease, transform 180ms ease;
|
|
}
|
|
|
|
.hero.is-leaving {
|
|
opacity: 0;
|
|
transform: translateY(-10px);
|
|
}
|
|
|
|
.eyebrow {
|
|
margin: 0 0 18px;
|
|
color: var(--accent);
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
font-size: 11px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.14em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
h1,
|
|
h2,
|
|
h3,
|
|
p {
|
|
text-wrap: pretty;
|
|
}
|
|
|
|
h1 {
|
|
max-width: 780px;
|
|
margin: 0;
|
|
font-size: clamp(42px, 6vw, 74px);
|
|
font-weight: 560;
|
|
letter-spacing: -0.055em;
|
|
line-height: 0.98;
|
|
}
|
|
|
|
.intro {
|
|
max-width: 590px;
|
|
margin: 30px 0 0;
|
|
color: var(--muted);
|
|
font-size: 16px;
|
|
line-height: 1.7;
|
|
}
|
|
|
|
.inspect-form {
|
|
margin-top: 48px;
|
|
}
|
|
|
|
.input-shell {
|
|
display: grid;
|
|
grid-template-columns: 1fr auto;
|
|
gap: 10px;
|
|
padding: 8px;
|
|
background: var(--surface);
|
|
border: 1px solid var(--border-strong);
|
|
border-radius: var(--radius);
|
|
transition: border-color 160ms ease, box-shadow 160ms ease;
|
|
}
|
|
|
|
.input-shell:focus-within {
|
|
border-color: #59626f;
|
|
box-shadow: 0 0 0 3px rgba(217, 255, 67, 0.08);
|
|
}
|
|
|
|
input {
|
|
min-width: 0;
|
|
padding: 15px 14px;
|
|
color: var(--text);
|
|
background: transparent;
|
|
border: 0;
|
|
outline: 0;
|
|
}
|
|
|
|
input::placeholder {
|
|
color: var(--quiet);
|
|
}
|
|
|
|
button {
|
|
position: relative;
|
|
min-width: 142px;
|
|
padding: 13px 18px;
|
|
color: var(--accent-text);
|
|
font-size: 13px;
|
|
font-weight: 700;
|
|
background: var(--accent);
|
|
border: 0;
|
|
border-radius: 9px;
|
|
cursor: pointer;
|
|
transition: filter 140ms ease, transform 140ms ease;
|
|
}
|
|
|
|
button:hover {
|
|
filter: brightness(0.92);
|
|
}
|
|
|
|
button:active {
|
|
transform: translateY(1px);
|
|
}
|
|
|
|
button:disabled {
|
|
color: transparent;
|
|
cursor: wait;
|
|
filter: saturate(0.6);
|
|
}
|
|
|
|
.button-progress {
|
|
position: absolute;
|
|
top: calc(50% - 8px);
|
|
left: calc(50% - 8px);
|
|
display: none;
|
|
width: 16px;
|
|
height: 16px;
|
|
border: 2px solid rgba(17, 20, 8, 0.3);
|
|
border-top-color: var(--accent-text);
|
|
border-radius: 50%;
|
|
animation: spin 700ms linear infinite;
|
|
}
|
|
|
|
button:disabled .button-progress {
|
|
display: block;
|
|
}
|
|
|
|
.form-note {
|
|
margin: 12px 2px 0;
|
|
color: var(--quiet);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.notice {
|
|
display: flex;
|
|
gap: 12px;
|
|
margin-top: 20px;
|
|
padding: 14px 16px;
|
|
color: #ffb4b4;
|
|
background: rgba(255, 107, 107, 0.07);
|
|
border: 1px solid rgba(255, 107, 107, 0.22);
|
|
border-radius: 10px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.notice-label {
|
|
flex: none;
|
|
color: var(--danger);
|
|
font-weight: 700;
|
|
}
|
|
|
|
.result {
|
|
padding: 72px 0 100px;
|
|
opacity: 0;
|
|
transform: translateY(12px);
|
|
transition: opacity 220ms ease, transform 220ms ease;
|
|
}
|
|
|
|
.result.is-visible {
|
|
opacity: 1;
|
|
transform: translateY(0);
|
|
}
|
|
|
|
.result.is-leaving {
|
|
opacity: 0;
|
|
transform: translateY(8px);
|
|
}
|
|
|
|
.result-heading {
|
|
display: flex;
|
|
gap: 24px;
|
|
align-items: flex-end;
|
|
justify-content: space-between;
|
|
padding: 58px 0 30px;
|
|
}
|
|
|
|
.result-heading .eyebrow,
|
|
.formats-heading .eyebrow {
|
|
margin-bottom: 12px;
|
|
}
|
|
|
|
h2 {
|
|
max-width: 820px;
|
|
margin: 0;
|
|
font-size: clamp(28px, 4vw, 46px);
|
|
font-weight: 560;
|
|
letter-spacing: -0.04em;
|
|
line-height: 1.08;
|
|
}
|
|
|
|
.source-link {
|
|
flex: none;
|
|
padding-bottom: 3px;
|
|
color: var(--muted);
|
|
border-bottom: 1px solid var(--border-strong);
|
|
font-size: 12px;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.result-actions {
|
|
display: flex;
|
|
flex: none;
|
|
gap: 18px;
|
|
align-items: center;
|
|
}
|
|
|
|
.text-button {
|
|
min-width: 0;
|
|
padding: 0 0 3px;
|
|
color: var(--muted);
|
|
font-size: 12px;
|
|
font-weight: 400;
|
|
background: transparent;
|
|
border-bottom: 1px solid var(--border-strong);
|
|
border-radius: 0;
|
|
}
|
|
|
|
.text-button:hover {
|
|
color: var(--text);
|
|
filter: none;
|
|
}
|
|
|
|
.source-link:hover {
|
|
color: var(--text);
|
|
border-color: var(--text);
|
|
}
|
|
|
|
.source-card {
|
|
display: grid;
|
|
grid-template-columns: minmax(300px, 0.85fr) minmax(380px, 1.15fr);
|
|
max-width: 920px;
|
|
overflow: hidden;
|
|
background: var(--surface);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
}
|
|
|
|
.thumbnail-shell {
|
|
position: relative;
|
|
aspect-ratio: 16 / 9;
|
|
overflow: hidden;
|
|
background: var(--surface-raised);
|
|
}
|
|
|
|
.thumbnail-shell img {
|
|
display: block;
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.thumbnail-shell.no-image::after {
|
|
position: absolute;
|
|
inset: 0;
|
|
display: grid;
|
|
place-items: center;
|
|
color: var(--quiet);
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
font-size: 11px;
|
|
letter-spacing: 0.1em;
|
|
content: "NO PREVIEW";
|
|
}
|
|
|
|
.duration {
|
|
position: absolute;
|
|
right: 12px;
|
|
bottom: 12px;
|
|
padding: 6px 8px;
|
|
color: var(--text);
|
|
background: rgba(9, 10, 12, 0.86);
|
|
border: 1px solid rgba(255, 255, 255, 0.12);
|
|
border-radius: 6px;
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
font-size: 11px;
|
|
}
|
|
|
|
.metadata {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
margin: 0;
|
|
padding: 8px;
|
|
}
|
|
|
|
.metadata div {
|
|
min-width: 0;
|
|
padding: 18px 16px;
|
|
border-bottom: 1px solid var(--border);
|
|
}
|
|
|
|
.metadata div:nth-last-child(-n + 2) {
|
|
border-bottom: 0;
|
|
}
|
|
|
|
.metadata dt {
|
|
margin-bottom: 10px;
|
|
color: var(--quiet);
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
font-size: 10px;
|
|
letter-spacing: 0.1em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.metadata dd {
|
|
overflow: hidden;
|
|
margin: 0;
|
|
color: var(--text);
|
|
font-size: 14px;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.formats-heading {
|
|
display: flex;
|
|
align-items: end;
|
|
justify-content: space-between;
|
|
margin-top: 68px;
|
|
}
|
|
|
|
h3 {
|
|
margin: 0;
|
|
font-size: 26px;
|
|
font-weight: 570;
|
|
letter-spacing: -0.03em;
|
|
}
|
|
|
|
.formats-heading > p {
|
|
margin: 0 0 2px;
|
|
color: var(--quiet);
|
|
font-size: 12px;
|
|
}
|
|
|
|
.output-options {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 14px;
|
|
margin-top: 22px;
|
|
}
|
|
|
|
.output-option {
|
|
display: grid;
|
|
grid-template-columns: auto 1fr;
|
|
gap: 22px;
|
|
padding: 24px;
|
|
background: var(--surface);
|
|
border: 1px solid var(--border);
|
|
border-radius: var(--radius);
|
|
}
|
|
|
|
.option-index {
|
|
color: var(--accent);
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
font-size: 10px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.1em;
|
|
}
|
|
|
|
.option-copy h4 {
|
|
margin: 0;
|
|
font-size: 17px;
|
|
font-weight: 620;
|
|
letter-spacing: -0.02em;
|
|
}
|
|
|
|
.option-copy p {
|
|
max-width: 370px;
|
|
margin: 9px 0 0;
|
|
color: var(--muted);
|
|
font-size: 12px;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.option-specs {
|
|
display: flex;
|
|
grid-column: 1 / -1;
|
|
gap: 8px;
|
|
flex-wrap: wrap;
|
|
margin: 2px 0 0 32px;
|
|
}
|
|
|
|
.option-specs div {
|
|
display: inline-flex;
|
|
gap: 6px;
|
|
align-items: center;
|
|
padding: 7px 9px;
|
|
background: rgba(255, 255, 255, 0.025);
|
|
border: 1px solid var(--border);
|
|
border-radius: 7px;
|
|
}
|
|
|
|
.option-specs dt,
|
|
.option-specs dd {
|
|
margin: 0;
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
font-size: 9px;
|
|
}
|
|
|
|
.option-specs dt {
|
|
color: var(--quiet);
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.option-specs dd {
|
|
color: var(--text);
|
|
}
|
|
|
|
footer {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
padding: 24px 0 30px;
|
|
color: var(--quiet);
|
|
border-top: 1px solid var(--border);
|
|
font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
|
|
font-size: 9px;
|
|
letter-spacing: 0.1em;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
.sr-only {
|
|
position: absolute;
|
|
width: 1px;
|
|
height: 1px;
|
|
padding: 0;
|
|
overflow: hidden;
|
|
clip: rect(0, 0, 0, 0);
|
|
white-space: nowrap;
|
|
border: 0;
|
|
}
|
|
|
|
[hidden] {
|
|
display: none !important;
|
|
}
|
|
|
|
@keyframes spin {
|
|
to {
|
|
transform: rotate(360deg);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 760px) {
|
|
.site-header,
|
|
.page-shell,
|
|
footer {
|
|
width: min(100% - 28px, 1180px);
|
|
}
|
|
|
|
.hero {
|
|
padding: 72px 0 62px;
|
|
}
|
|
|
|
h1 {
|
|
font-size: clamp(40px, 13vw, 58px);
|
|
}
|
|
|
|
.input-shell {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
button {
|
|
min-height: 48px;
|
|
}
|
|
|
|
.result-heading,
|
|
.formats-heading {
|
|
align-items: flex-start;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.result-actions {
|
|
margin-top: -8px;
|
|
}
|
|
|
|
.source-card {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.output-options {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.metadata div {
|
|
padding: 20px 14px;
|
|
}
|
|
|
|
.formats-heading > p {
|
|
margin-top: -10px;
|
|
}
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
*,
|
|
*::before,
|
|
*::after {
|
|
scroll-behavior: auto !important;
|
|
transition-duration: 0.01ms !important;
|
|
animation-duration: 0.01ms !important;
|
|
animation-iteration-count: 1 !important;
|
|
}
|
|
}
|