names has no local accounts, so OTM sign-in is the only door — style it like the house's primary button instead of a plain text link, with a muted line underneath about Face ID/Touch ID/passkeys, matching the shared first-party sign-in standard. No "other ways to sign in" toggle since there's nothing else to switch to. Also syncs package-lock.json's stale root version and picks up the already-declared tailwindcss/postcss/autoprefixer entries it was missing. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014LCQmFvKshyAJsE8C3B5ET
561 lines
8.9 KiB
CSS
561 lines
8.9 KiB
CSS
@tailwind components;
|
|
@tailwind utilities;
|
|
|
|
:root {
|
|
--bg: #0b0d10;
|
|
--panel: #14181d;
|
|
--panel-2: #1a1f26;
|
|
--panel-border: #232a31;
|
|
--text: #e7e9ec;
|
|
--muted: #93a1ad;
|
|
--faint: #6b7885;
|
|
--accent: #4f9cf9;
|
|
--accent-dim: #2b6fd0;
|
|
--ok: #3ecf8e;
|
|
--ok-bg: #10281f;
|
|
--warn: #f5b942;
|
|
--warn-bg: #33290f;
|
|
--taken: #5a646e;
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
html,
|
|
body {
|
|
margin: 0;
|
|
padding: 0;
|
|
background: var(--bg);
|
|
color: var(--text);
|
|
font-family: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
|
-webkit-font-smoothing: antialiased;
|
|
}
|
|
|
|
a {
|
|
color: var(--accent);
|
|
}
|
|
|
|
.wrap {
|
|
max-width: 980px;
|
|
margin: 0 auto;
|
|
padding: 32px 20px 80px;
|
|
}
|
|
|
|
.topbar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.brand {
|
|
font-size: 13px;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
color: var(--muted);
|
|
}
|
|
|
|
h1 {
|
|
font-size: 30px;
|
|
margin: 4px 0 6px;
|
|
letter-spacing: -0.02em;
|
|
}
|
|
|
|
h2 {
|
|
font-size: 19px;
|
|
margin: 32px 0 10px;
|
|
}
|
|
|
|
.tagline {
|
|
color: var(--muted);
|
|
margin: 0 0 26px;
|
|
font-size: 15px;
|
|
line-height: 1.5;
|
|
max-width: 62ch;
|
|
}
|
|
|
|
/* ---------- form ---------- */
|
|
|
|
.field {
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.field label {
|
|
display: block;
|
|
font-size: 13px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.06em;
|
|
color: var(--muted);
|
|
margin-bottom: 7px;
|
|
}
|
|
|
|
/* Element rules are scoped to .wrap so they can't bleed into the shared
|
|
OTM widgets (SuggestionLightbulb) mounted outside it, which style
|
|
themselves with Tailwind utilities. */
|
|
.wrap input[type="text"],
|
|
.wrap input[type="password"],
|
|
.wrap textarea,
|
|
.wrap select {
|
|
width: 100%;
|
|
background: var(--panel);
|
|
color: var(--text);
|
|
border: 1px solid var(--panel-border);
|
|
border-radius: 10px;
|
|
padding: 12px 14px;
|
|
font-size: 16px;
|
|
font-family: inherit;
|
|
line-height: 1.4;
|
|
}
|
|
|
|
.wrap input:focus,
|
|
.wrap textarea:focus,
|
|
.wrap select:focus {
|
|
outline: none;
|
|
border-color: var(--accent-dim);
|
|
}
|
|
|
|
.hint {
|
|
font-size: 13px;
|
|
color: var(--faint);
|
|
margin-top: 6px;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.wrap button {
|
|
font-family: inherit;
|
|
font-size: 15px;
|
|
cursor: pointer;
|
|
border-radius: 9px;
|
|
border: 1px solid var(--panel-border);
|
|
background: var(--panel-2);
|
|
color: var(--text);
|
|
padding: 11px 18px;
|
|
}
|
|
|
|
.wrap button:hover:not(:disabled) {
|
|
border-color: var(--accent-dim);
|
|
}
|
|
|
|
.wrap button:disabled {
|
|
opacity: 0.5;
|
|
cursor: not-allowed;
|
|
}
|
|
|
|
.wrap button.primary {
|
|
background: var(--accent-dim);
|
|
border-color: var(--accent-dim);
|
|
color: #fff;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.wrap button.primary:hover:not(:disabled) {
|
|
background: var(--accent);
|
|
border-color: var(--accent);
|
|
}
|
|
|
|
.controls {
|
|
display: flex;
|
|
gap: 10px;
|
|
align-items: center;
|
|
flex-wrap: wrap;
|
|
margin: 18px 0 8px;
|
|
}
|
|
|
|
/* ---------- style + tld pickers ---------- */
|
|
|
|
.chips {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 8px;
|
|
}
|
|
|
|
.chip {
|
|
font-size: 14px;
|
|
padding: 7px 13px;
|
|
border-radius: 999px;
|
|
border: 1px solid var(--panel-border);
|
|
background: var(--panel);
|
|
color: var(--muted);
|
|
}
|
|
|
|
.chip[aria-pressed="true"] {
|
|
border-color: var(--accent-dim);
|
|
background: #16283f;
|
|
color: var(--text);
|
|
}
|
|
|
|
.chip .chip-note {
|
|
color: var(--faint);
|
|
font-size: 12px;
|
|
margin-left: 6px;
|
|
}
|
|
|
|
/* ---------- results ---------- */
|
|
|
|
.results {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
|
|
gap: 10px;
|
|
margin-top: 14px;
|
|
}
|
|
|
|
.card {
|
|
background: var(--panel);
|
|
border: 1px solid var(--panel-border);
|
|
border-radius: 12px;
|
|
padding: 13px 15px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 9px;
|
|
}
|
|
|
|
.card-name {
|
|
font-size: 18px;
|
|
font-weight: 600;
|
|
letter-spacing: -0.01em;
|
|
word-break: break-all;
|
|
}
|
|
|
|
.card-name .tld {
|
|
color: var(--muted);
|
|
font-weight: 400;
|
|
}
|
|
|
|
.card-meta {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.status {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
font-weight: 600;
|
|
font-size: 13px;
|
|
}
|
|
|
|
.status.available {
|
|
color: var(--ok);
|
|
}
|
|
|
|
.status.unverified-available {
|
|
color: var(--warn);
|
|
}
|
|
|
|
.status.taken {
|
|
color: var(--taken);
|
|
}
|
|
|
|
.status.unknown,
|
|
.status.checking {
|
|
color: var(--faint);
|
|
}
|
|
|
|
.card.is-taken {
|
|
opacity: 0.55;
|
|
}
|
|
|
|
.card-head {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
}
|
|
|
|
/* Save star: bare glyph, no chrome. Filled + accent when saved. */
|
|
.wrap button.save {
|
|
background: none;
|
|
border: none;
|
|
padding: 0 2px;
|
|
line-height: 1;
|
|
font-size: 20px;
|
|
color: var(--faint);
|
|
border-radius: 6px;
|
|
flex: none;
|
|
}
|
|
|
|
.wrap button.save:hover:not(:disabled) {
|
|
color: var(--warn);
|
|
border-color: transparent;
|
|
}
|
|
|
|
.wrap button.save[aria-pressed="true"] {
|
|
color: var(--warn);
|
|
}
|
|
|
|
.card.is-saved {
|
|
border-color: #4a3f1c;
|
|
}
|
|
|
|
.results-bar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
flex-wrap: wrap;
|
|
margin-top: 16px;
|
|
font-size: 13px;
|
|
color: var(--muted);
|
|
}
|
|
|
|
.results-bar + .results {
|
|
margin-top: 8px;
|
|
}
|
|
|
|
.results-toggle {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 6px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.results-toggle input {
|
|
width: auto;
|
|
}
|
|
|
|
.results-more {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12px;
|
|
margin-top: 18px;
|
|
}
|
|
|
|
.ai-badge {
|
|
display: inline-block;
|
|
padding: 1px 6px;
|
|
border-radius: 999px;
|
|
background: #1f2a3f;
|
|
color: var(--accent);
|
|
font-size: 10px;
|
|
font-weight: 700;
|
|
letter-spacing: 0.08em;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
/* ---------- wishlist ---------- */
|
|
|
|
.wishlist {
|
|
margin-top: 22px;
|
|
padding: 14px 16px 16px;
|
|
border: 1px solid #4a3f1c;
|
|
border-radius: 14px;
|
|
background: linear-gradient(180deg, #17150f, var(--bg));
|
|
}
|
|
|
|
.wishlist-head {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.wishlist h2 {
|
|
margin: 0;
|
|
font-size: 16px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.wishlist h2 .count {
|
|
display: inline-block;
|
|
min-width: 22px;
|
|
padding: 1px 7px;
|
|
margin-left: 6px;
|
|
border-radius: 999px;
|
|
background: var(--warn-bg);
|
|
color: var(--warn);
|
|
font-size: 12px;
|
|
text-align: center;
|
|
}
|
|
|
|
.wishlist-actions {
|
|
display: flex;
|
|
gap: 8px;
|
|
}
|
|
|
|
.wrap button.mini {
|
|
font-size: 13px;
|
|
padding: 6px 12px;
|
|
border-radius: 8px;
|
|
}
|
|
|
|
.wishlist .results {
|
|
margin-top: 10px;
|
|
}
|
|
|
|
.strategy {
|
|
font-size: 11px;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.07em;
|
|
color: var(--faint);
|
|
}
|
|
|
|
.register-link {
|
|
font-size: 13px;
|
|
text-decoration: none;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.register-link:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.field.brief {
|
|
margin-top: 4px;
|
|
}
|
|
|
|
.signin {
|
|
font-size: 14px;
|
|
text-decoration: none;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.signin:hover {
|
|
text-decoration: underline;
|
|
}
|
|
|
|
/* The "Sign in with OTM" control, styled like the house's one PRIMARY
|
|
button (see ".wrap button.primary") so it reads as the lead action it is —
|
|
this app has no local accounts, so OTM is the only door. */
|
|
.signin.primary {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
border-radius: 9px;
|
|
padding: 11px 18px;
|
|
background: var(--accent-dim);
|
|
border: 1px solid var(--accent-dim);
|
|
color: #fff;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.signin.primary:hover {
|
|
background: var(--accent);
|
|
border-color: var(--accent);
|
|
text-decoration: none;
|
|
}
|
|
|
|
.signin-hint {
|
|
margin: 4px 0 0;
|
|
}
|
|
|
|
.wrap button.linkish {
|
|
background: none;
|
|
border: none;
|
|
padding: 0;
|
|
font-size: 12px;
|
|
color: var(--faint);
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.wrap button.linkish:hover:not(:disabled) {
|
|
color: var(--muted);
|
|
border-color: transparent;
|
|
}
|
|
|
|
/* ---------- notices ---------- */
|
|
|
|
.notice {
|
|
border-radius: 10px;
|
|
padding: 12px 14px;
|
|
font-size: 14px;
|
|
line-height: 1.55;
|
|
margin: 16px 0;
|
|
border: 1px solid;
|
|
}
|
|
|
|
.notice.warn {
|
|
background: var(--warn-bg);
|
|
border-color: #6a5418;
|
|
color: #f2dfae;
|
|
}
|
|
|
|
.notice.info {
|
|
background: var(--panel);
|
|
border-color: var(--panel-border);
|
|
color: var(--muted);
|
|
}
|
|
|
|
.empty {
|
|
color: var(--muted);
|
|
font-size: 15px;
|
|
padding: 34px 0;
|
|
text-align: center;
|
|
}
|
|
|
|
/* ---------- footer ---------- */
|
|
|
|
.footer {
|
|
margin-top: 56px;
|
|
padding-top: 18px;
|
|
border-top: 1px solid var(--panel-border);
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-start;
|
|
gap: 18px;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.foot-note {
|
|
font-size: 12.5px;
|
|
color: var(--faint);
|
|
max-width: 62ch;
|
|
line-height: 1.55;
|
|
}
|
|
|
|
.foot-meta {
|
|
display: flex;
|
|
gap: 14px;
|
|
align-items: center;
|
|
font-size: 13px;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.version-chip {
|
|
border: 1px solid var(--panel-border);
|
|
border-radius: 999px;
|
|
padding: 3px 10px;
|
|
color: var(--muted);
|
|
text-decoration: none;
|
|
font-size: 12px;
|
|
}
|
|
|
|
/* ---------- changelog ---------- */
|
|
|
|
.entry {
|
|
border-left: 2px solid var(--panel-border);
|
|
padding-left: 16px;
|
|
margin-bottom: 26px;
|
|
}
|
|
|
|
.entry h3 {
|
|
margin: 0 0 4px;
|
|
font-size: 16px;
|
|
}
|
|
|
|
.entry .date {
|
|
color: var(--faint);
|
|
font-size: 13px;
|
|
}
|
|
|
|
.entry ul {
|
|
margin: 10px 0 0;
|
|
padding-left: 18px;
|
|
color: var(--muted);
|
|
line-height: 1.6;
|
|
font-size: 14.5px;
|
|
}
|
|
|
|
@media (max-width: 560px) {
|
|
h1 {
|
|
font-size: 25px;
|
|
}
|
|
.results {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|