1178 lines
25 KiB
CSS
1178 lines
25 KiB
CSS
/* ── Logo ───────────────────────────────────────────────── */
|
|
.logo {
|
|
font-family: var(--font-display);
|
|
font-weight: 500;
|
|
font-size: 22px;
|
|
letter-spacing: 0.35em;
|
|
text-transform: uppercase;
|
|
color: var(--fg);
|
|
display: inline-block;
|
|
}
|
|
.logo .e {
|
|
color: var(--accent);
|
|
}
|
|
|
|
/* ── Emblem ─────────────────────────────────────────────── */
|
|
.emblem {
|
|
display: flex;
|
|
justify-content: center;
|
|
color: var(--accent);
|
|
}
|
|
.emblem svg {
|
|
width: 100%;
|
|
height: 100%;
|
|
display: block;
|
|
}
|
|
|
|
/* ── Buttons ────────────────────────────────────────────── */
|
|
.btn {
|
|
position: relative;
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
gap: 0.75rem;
|
|
padding: 0.85rem 2rem;
|
|
font-family: var(--font-body);
|
|
font-size: 0.78rem;
|
|
letter-spacing: 0.18em;
|
|
text-transform: uppercase;
|
|
border-radius: var(--radius);
|
|
border: 1px solid var(--hairline-strong);
|
|
background: transparent;
|
|
color: var(--fg);
|
|
transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.08s;
|
|
min-height: 44px;
|
|
overflow: hidden;
|
|
}
|
|
.btn:hover {
|
|
background: var(--surface);
|
|
}
|
|
.btn:active {
|
|
transform: translateY(1px);
|
|
}
|
|
.btn:disabled {
|
|
opacity: 0.6;
|
|
cursor: not-allowed;
|
|
transform: none;
|
|
}
|
|
.btn-primary {
|
|
background: var(--fg);
|
|
color: var(--bg);
|
|
border-color: var(--fg);
|
|
}
|
|
.btn-primary:hover {
|
|
background: var(--accent);
|
|
color: var(--fg);
|
|
border-color: var(--accent);
|
|
}
|
|
.btn-secondary {
|
|
background: transparent;
|
|
color: var(--fg);
|
|
border: 1px solid var(--accent);
|
|
}
|
|
.btn-secondary:hover {
|
|
background: var(--fg);
|
|
color: var(--bg);
|
|
border-color: var(--fg);
|
|
}
|
|
.btn-danger:hover {
|
|
background: var(--fg);
|
|
color: var(--bg);
|
|
border-color: var(--fg);
|
|
}
|
|
.btn-block {
|
|
width: 100%;
|
|
}
|
|
.btn-icon {
|
|
width: 18px;
|
|
height: 18px;
|
|
fill: currentColor;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
/* ── Field / input ──────────────────────────────────────── */
|
|
.field {
|
|
position: relative;
|
|
}
|
|
.field-label {
|
|
display: block;
|
|
font-size: 10px;
|
|
letter-spacing: 0.26em;
|
|
text-transform: uppercase;
|
|
color: var(--muted);
|
|
margin-bottom: 10px;
|
|
}
|
|
.field-input {
|
|
width: 100%;
|
|
background: transparent;
|
|
border: none;
|
|
border-bottom: 1px solid var(--hairline-strong);
|
|
padding: 8px 36px 12px 0;
|
|
font-family: var(--font-body);
|
|
font-size: 16px;
|
|
color: var(--fg);
|
|
letter-spacing: 0.02em;
|
|
transition: border-color 0.3s;
|
|
outline: none;
|
|
}
|
|
.field-input::placeholder {
|
|
color: var(--muted);
|
|
opacity: 0.45;
|
|
font-style: italic;
|
|
}
|
|
.field-input:focus {
|
|
border-color: var(--fg);
|
|
}
|
|
.field-input:focus + .field-line {
|
|
transform: scaleX(1);
|
|
}
|
|
.field-line {
|
|
position: absolute;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
height: 1px;
|
|
background: var(--accent);
|
|
transform: scaleX(0);
|
|
transform-origin: left;
|
|
transition: transform 0.3s ease;
|
|
pointer-events: none;
|
|
}
|
|
.field-icon {
|
|
position: absolute;
|
|
right: 0;
|
|
bottom: 12px;
|
|
color: var(--muted);
|
|
opacity: 0.5;
|
|
display: flex;
|
|
align-items: center;
|
|
transition: opacity 0.25s, color 0.25s;
|
|
background: none;
|
|
border: none;
|
|
padding: 0;
|
|
}
|
|
.field-icon svg {
|
|
width: 18px;
|
|
height: 18px;
|
|
display: block;
|
|
}
|
|
.field-icon:hover {
|
|
opacity: 0.9;
|
|
color: var(--fg);
|
|
}
|
|
|
|
/* ── Checkbox ───────────────────────────────────────────── */
|
|
.check {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
color: var(--muted);
|
|
user-select: none;
|
|
}
|
|
.check input {
|
|
appearance: none;
|
|
-webkit-appearance: none;
|
|
width: 16px;
|
|
height: 16px;
|
|
border: 1px solid var(--hairline-strong);
|
|
border-radius: 3px;
|
|
background: transparent;
|
|
position: relative;
|
|
transition: border-color 0.2s, background 0.2s;
|
|
cursor: pointer;
|
|
flex-shrink: 0;
|
|
}
|
|
.check input:checked {
|
|
background: var(--fg);
|
|
border-color: var(--fg);
|
|
}
|
|
.check input:checked::after {
|
|
content: '';
|
|
position: absolute;
|
|
left: 4px;
|
|
top: 1px;
|
|
width: 5px;
|
|
height: 9px;
|
|
border: solid var(--bg);
|
|
border-width: 0 1.5px 1.5px 0;
|
|
transform: rotate(45deg);
|
|
}
|
|
|
|
/* ── Link ──────────────────────────────────────────────── */
|
|
.link {
|
|
color: var(--muted);
|
|
text-decoration: none;
|
|
letter-spacing: 0.02em;
|
|
border-bottom: 1px solid transparent;
|
|
transition: color 0.25s, border-color 0.25s;
|
|
}
|
|
.link:hover {
|
|
color: var(--fg);
|
|
border-bottom-color: var(--hairline-strong);
|
|
}
|
|
|
|
/* ── Divider ───────────────────────────────────────────── */
|
|
.divider {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 14px;
|
|
width: 100%;
|
|
color: var(--muted);
|
|
font-size: 10px;
|
|
letter-spacing: 0.28em;
|
|
text-transform: uppercase;
|
|
}
|
|
.divider::before,
|
|
.divider::after {
|
|
content: '';
|
|
flex: 1;
|
|
height: 1px;
|
|
background: var(--hairline);
|
|
}
|
|
.divider-diamond {
|
|
width: 6px;
|
|
height: 6px;
|
|
background: var(--accent);
|
|
transform: rotate(45deg);
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
/* ── TopBar (app shell) ─────────────────────────────────── */
|
|
.topbar {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding-bottom: 32px;
|
|
border-bottom: 1px solid var(--hairline);
|
|
}
|
|
.topbar .nav {
|
|
display: flex;
|
|
gap: 28px;
|
|
font-size: 12px;
|
|
letter-spacing: 0.18em;
|
|
text-transform: uppercase;
|
|
color: var(--muted);
|
|
}
|
|
.topbar .nav a {
|
|
position: relative;
|
|
padding: 4px 0;
|
|
transition: color 0.3s;
|
|
}
|
|
.topbar .nav a:hover {
|
|
color: var(--fg);
|
|
}
|
|
.topbar .nav a.is-active::after {
|
|
content: '';
|
|
position: absolute;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: -2px;
|
|
height: 1px;
|
|
background: var(--accent);
|
|
}
|
|
|
|
@media (max-width: 560px) {
|
|
.topbar {
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 24px;
|
|
padding-bottom: 24px;
|
|
}
|
|
.topbar .nav {
|
|
width: 100%;
|
|
justify-content: space-between;
|
|
gap: 8px;
|
|
font-size: 10px;
|
|
letter-spacing: 0.1em;
|
|
}
|
|
.topbar .nav a {
|
|
white-space: nowrap;
|
|
}
|
|
}
|
|
|
|
/* ── Skeleton ───────────────────────────────────────────── */
|
|
.skeleton {
|
|
background: linear-gradient(
|
|
90deg,
|
|
var(--surface) 0%,
|
|
color-mix(in srgb, var(--surface) 70%, var(--fg) 6%) 50%,
|
|
var(--surface) 100%
|
|
);
|
|
background-size: 200% 100%;
|
|
animation: skeleton-shimmer 1.4s ease-in-out infinite;
|
|
border-radius: var(--radius);
|
|
}
|
|
@keyframes skeleton-shimmer {
|
|
0% {
|
|
background-position: 200% 0;
|
|
}
|
|
100% {
|
|
background-position: -200% 0;
|
|
}
|
|
}
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.skeleton {
|
|
animation: none;
|
|
}
|
|
}
|
|
|
|
/* ── Toast ──────────────────────────────────────────────── */
|
|
.toast {
|
|
position: fixed;
|
|
bottom: 32px;
|
|
left: 50%;
|
|
transform: translate(-50%, 16px);
|
|
background: var(--fg);
|
|
color: var(--bg);
|
|
padding: 13px 22px;
|
|
border-radius: var(--radius);
|
|
font-size: 12px;
|
|
letter-spacing: 0.16em;
|
|
text-transform: uppercase;
|
|
z-index: 10001;
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
transition: opacity 0.3s, transform 0.3s;
|
|
box-shadow: 0 12px 30px -10px rgba(26, 22, 16, 0.4);
|
|
}
|
|
.toast.is-show {
|
|
opacity: 1;
|
|
transform: translate(-50%, 0);
|
|
}
|
|
|
|
/* ── Modal ──────────────────────────────────────────────── */
|
|
.modal-veil {
|
|
position: fixed;
|
|
inset: 0;
|
|
background: rgba(26, 22, 16, 0.32);
|
|
backdrop-filter: blur(6px);
|
|
-webkit-backdrop-filter: blur(6px);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
z-index: 10000;
|
|
opacity: 0;
|
|
pointer-events: none;
|
|
transition: opacity 0.25s;
|
|
padding: 24px;
|
|
}
|
|
.modal-veil.is-open {
|
|
opacity: 1;
|
|
pointer-events: auto;
|
|
}
|
|
.modal {
|
|
background: var(--bg);
|
|
border: 1px solid var(--hairline-strong);
|
|
border-radius: var(--radius);
|
|
max-width: 420px;
|
|
width: 100%;
|
|
padding: 36px 32px 28px;
|
|
text-align: center;
|
|
transform: translateY(8px);
|
|
transition: transform 0.3s cubic-bezier(0.2, 0.7, 0.2, 1);
|
|
box-shadow: 0 24px 60px -20px rgba(26, 22, 16, 0.35);
|
|
}
|
|
.modal-veil.is-open .modal {
|
|
transform: translateY(0);
|
|
}
|
|
.modal-glyph {
|
|
width: 52px;
|
|
height: 52px;
|
|
margin: 0 auto 20px;
|
|
border: 1px solid var(--accent);
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: var(--accent);
|
|
}
|
|
.modal-glyph svg {
|
|
width: 22px;
|
|
height: 22px;
|
|
}
|
|
.modal-kicker {
|
|
font-size: 10px;
|
|
letter-spacing: 0.28em;
|
|
text-transform: uppercase;
|
|
color: var(--muted);
|
|
margin-bottom: 10px;
|
|
}
|
|
.modal-title {
|
|
font-family: var(--font-display);
|
|
font-weight: 500;
|
|
font-size: 24px;
|
|
line-height: 1.25;
|
|
color: var(--fg);
|
|
margin-bottom: 12px;
|
|
}
|
|
.modal-body {
|
|
font-size: 14px;
|
|
color: var(--muted);
|
|
line-height: 1.55;
|
|
margin-bottom: 26px;
|
|
}
|
|
.modal-body strong {
|
|
color: var(--fg);
|
|
font-weight: 400;
|
|
font-family: var(--font-display);
|
|
font-size: 16px;
|
|
}
|
|
.modal-actions {
|
|
display: flex;
|
|
gap: 12px;
|
|
justify-content: center;
|
|
}
|
|
.modal .btn {
|
|
padding: 13px 22px;
|
|
font-size: 12px;
|
|
letter-spacing: 0.18em;
|
|
}
|
|
|
|
/* ── Stat strip (account) ───────────────────────────────── */
|
|
.profile {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, 1fr);
|
|
border-bottom: 1px solid var(--hairline);
|
|
}
|
|
.stat {
|
|
padding: 40px 24px;
|
|
border-right: 1px solid var(--hairline);
|
|
text-align: center;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 14px;
|
|
min-height: 168px;
|
|
justify-content: center;
|
|
}
|
|
.stat:last-child {
|
|
border-right: none;
|
|
}
|
|
.stat-icon {
|
|
width: 34px;
|
|
height: 34px;
|
|
color: var(--muted);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: color 0.3s;
|
|
}
|
|
.stat:hover .stat-icon {
|
|
color: var(--accent);
|
|
}
|
|
.stat-label {
|
|
font-size: 10px;
|
|
letter-spacing: 0.26em;
|
|
text-transform: uppercase;
|
|
color: var(--muted);
|
|
}
|
|
.stat-value {
|
|
font-family: var(--font-display);
|
|
font-weight: 500;
|
|
font-size: 26px;
|
|
line-height: 1.1;
|
|
color: var(--fg);
|
|
letter-spacing: -0.01em;
|
|
word-break: break-word;
|
|
}
|
|
.stat-value.is-mono {
|
|
font-family: var(--font-body);
|
|
font-size: 15px;
|
|
letter-spacing: 0.04em;
|
|
}
|
|
.stat-value.is-empty {
|
|
color: var(--muted);
|
|
opacity: 0.45;
|
|
font-family: var(--font-body);
|
|
font-size: 13px;
|
|
font-style: italic;
|
|
letter-spacing: 0.02em;
|
|
}
|
|
.stat-value .accent {
|
|
color: var(--accent);
|
|
}
|
|
.stat-value .stat-small {
|
|
font-family: var(--font-body);
|
|
font-size: 14px;
|
|
color: var(--muted);
|
|
letter-spacing: 0.04em;
|
|
}
|
|
|
|
/* ── Subscription link (account) ───────────────────────── */
|
|
.subscription-link {
|
|
display: grid;
|
|
grid-template-columns: auto minmax(0, 1fr) auto;
|
|
align-items: center;
|
|
gap: 24px;
|
|
padding: 20px 24px;
|
|
border-bottom: 1px solid var(--hairline);
|
|
background: color-mix(in srgb, var(--surface) 86%, var(--accent) 14%);
|
|
}
|
|
.subscription-emblem {
|
|
width: 40px;
|
|
height: 40px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border: 1px solid var(--accent);
|
|
border-radius: 50%;
|
|
color: var(--fg);
|
|
}
|
|
.subscription-emblem svg {
|
|
width: 18px;
|
|
height: 18px;
|
|
}
|
|
.subscription-copy {
|
|
min-width: 0;
|
|
}
|
|
.subscription-label {
|
|
margin-bottom: 4px;
|
|
font-size: 10px;
|
|
letter-spacing: 0.22em;
|
|
text-transform: uppercase;
|
|
color: var(--muted);
|
|
}
|
|
.subscription-url {
|
|
display: block;
|
|
overflow: hidden;
|
|
color: var(--fg);
|
|
font-size: 13px;
|
|
letter-spacing: 0.02em;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
.copy-link {
|
|
appearance: none;
|
|
min-height: 44px;
|
|
padding: 0 16px;
|
|
border: 1px solid var(--fg);
|
|
border-radius: var(--radius);
|
|
background: var(--fg);
|
|
color: var(--bg);
|
|
font-family: var(--font-body);
|
|
font-size: 11px;
|
|
letter-spacing: 0.14em;
|
|
text-transform: uppercase;
|
|
transition: background 0.25s, color 0.25s, border-color 0.25s, transform 0.15s;
|
|
}
|
|
.copy-link:hover {
|
|
background: var(--accent);
|
|
color: var(--fg);
|
|
border-color: var(--accent);
|
|
}
|
|
.copy-link:active {
|
|
transform: translateY(1px);
|
|
}
|
|
|
|
/* ── Device grid (account) ──────────────────────────────── */
|
|
.devices-head {
|
|
display: flex;
|
|
align-items: baseline;
|
|
justify-content: space-between;
|
|
padding: 48px 0 24px;
|
|
}
|
|
.devices-title {
|
|
font-family: var(--font-display);
|
|
font-weight: 500;
|
|
font-size: 28px;
|
|
letter-spacing: -0.01em;
|
|
}
|
|
.devices-count {
|
|
font-size: 11px;
|
|
letter-spacing: 0.26em;
|
|
text-transform: uppercase;
|
|
color: var(--muted);
|
|
}
|
|
.devices-count strong {
|
|
color: var(--fg);
|
|
font-weight: 400;
|
|
font-family: var(--font-display);
|
|
font-size: 16px;
|
|
margin-right: 4px;
|
|
letter-spacing: 0;
|
|
}
|
|
.device-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
gap: 1px;
|
|
background: var(--hairline);
|
|
border: 1px solid var(--hairline);
|
|
border-radius: var(--radius);
|
|
overflow: hidden;
|
|
}
|
|
.device {
|
|
background: var(--surface);
|
|
padding: 28px 28px 24px;
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 22px;
|
|
position: relative;
|
|
transition: background 0.3s;
|
|
}
|
|
.device:last-child:nth-child(odd) {
|
|
grid-column: 1 / -1;
|
|
}
|
|
.device:hover {
|
|
background: color-mix(in srgb, var(--surface) 80%, var(--fg) 4%);
|
|
}
|
|
.device-glyph {
|
|
flex: 0 0 auto;
|
|
width: 48px;
|
|
height: 48px;
|
|
border: 1px solid var(--hairline-strong);
|
|
border-radius: var(--radius);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
color: var(--fg);
|
|
background: var(--bg);
|
|
}
|
|
.device-glyph svg {
|
|
width: 22px;
|
|
height: 22px;
|
|
}
|
|
.device-meta {
|
|
flex: 1 1 auto;
|
|
min-width: 0;
|
|
}
|
|
.device-model {
|
|
font-family: var(--font-display);
|
|
font-weight: 500;
|
|
font-size: 20px;
|
|
letter-spacing: -0.01em;
|
|
line-height: 1.2;
|
|
color: var(--fg);
|
|
margin-bottom: 6px;
|
|
}
|
|
.device-tags {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 6px 14px;
|
|
font-size: 11px;
|
|
letter-spacing: 0.16em;
|
|
text-transform: uppercase;
|
|
color: var(--muted);
|
|
}
|
|
.device-tags .tag-client {
|
|
color: var(--fg);
|
|
}
|
|
.device-tags .sep {
|
|
width: 1px;
|
|
background: var(--hairline-strong);
|
|
align-self: stretch;
|
|
}
|
|
.device-delete {
|
|
flex: 0 0 auto;
|
|
background: transparent;
|
|
border: 1px solid var(--hairline-strong);
|
|
color: var(--muted);
|
|
width: 36px;
|
|
height: 36px;
|
|
border-radius: 50%;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: border-color 0.25s, color 0.25s, background 0.25s;
|
|
}
|
|
.device-delete:hover {
|
|
border-color: var(--fg);
|
|
color: var(--fg);
|
|
background: var(--bg);
|
|
}
|
|
.device-delete svg {
|
|
width: 14px;
|
|
height: 14px;
|
|
}
|
|
.devices-empty {
|
|
border: 1px solid var(--hairline);
|
|
border-radius: var(--radius);
|
|
background: var(--surface);
|
|
padding: 72px 24px;
|
|
text-align: center;
|
|
}
|
|
.devices-empty-glyph {
|
|
width: 44px;
|
|
height: 44px;
|
|
margin: 0 auto 20px;
|
|
color: var(--muted);
|
|
opacity: 0.55;
|
|
}
|
|
.devices-empty-title {
|
|
font-family: var(--font-display);
|
|
font-weight: 500;
|
|
font-size: 22px;
|
|
color: var(--fg);
|
|
margin-bottom: 8px;
|
|
}
|
|
.devices-empty-sub {
|
|
font-size: 13px;
|
|
color: var(--muted);
|
|
letter-spacing: 0.02em;
|
|
}
|
|
|
|
/* ── Plan slider ────────────────────────────────────────── */
|
|
.slider-wrap {
|
|
user-select: none;
|
|
}
|
|
.slider-axis {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: baseline;
|
|
font-size: 11px;
|
|
letter-spacing: 0.22em;
|
|
text-transform: uppercase;
|
|
color: var(--muted);
|
|
margin-bottom: 22px;
|
|
}
|
|
.slider-axis .axis-now {
|
|
color: var(--fg);
|
|
font-family: var(--font-display);
|
|
font-size: 18px;
|
|
letter-spacing: 0;
|
|
}
|
|
.slider-track-frame {
|
|
position: relative;
|
|
height: 88px;
|
|
padding: 0 4px;
|
|
}
|
|
.slider-track {
|
|
position: absolute;
|
|
left: 4px;
|
|
right: 4px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
height: 1px;
|
|
background: var(--hairline-strong);
|
|
}
|
|
.slider-fill {
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
height: 100%;
|
|
background: var(--fg);
|
|
transition: width 0.12s cubic-bezier(0.2, 0.7, 0.2, 1);
|
|
}
|
|
.slider-ticks {
|
|
position: absolute;
|
|
left: 4px;
|
|
right: 4px;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
display: flex;
|
|
justify-content: space-between;
|
|
pointer-events: none;
|
|
}
|
|
.tick {
|
|
width: 1px;
|
|
height: 8px;
|
|
background: var(--hairline-strong);
|
|
position: relative;
|
|
}
|
|
.tick.is-major {
|
|
height: 14px;
|
|
}
|
|
.tick-label {
|
|
position: absolute;
|
|
top: 14px;
|
|
left: 50%;
|
|
transform: translateX(-50%);
|
|
font-size: 10px;
|
|
letter-spacing: 0.16em;
|
|
color: var(--muted);
|
|
opacity: 0.6;
|
|
}
|
|
.tick.is-major .tick-label {
|
|
opacity: 0.9;
|
|
}
|
|
.tick.is-active .tick-label {
|
|
color: var(--fg);
|
|
opacity: 1;
|
|
}
|
|
.pointer {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 0;
|
|
width: 26px;
|
|
height: 26px;
|
|
transform: translate(-50%, -50%) rotate(45deg);
|
|
background: var(--accent);
|
|
border: 1px solid var(--accent);
|
|
box-shadow: 0 6px 16px -4px rgba(201, 168, 76, 0.55), 0 0 0 6px rgba(201, 168, 76, 0.1);
|
|
transition: left 0.12s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.25s, background 0.25s,
|
|
border-color 0.25s;
|
|
z-index: 3;
|
|
}
|
|
.pointer::before {
|
|
content: '';
|
|
position: absolute;
|
|
inset: 5px;
|
|
border: 1px solid rgba(250, 247, 242, 0.7);
|
|
}
|
|
.slider-wrap.is-dragging .pointer {
|
|
box-shadow: 0 10px 24px -4px rgba(201, 168, 76, 0.7), 0 0 0 10px rgba(201, 168, 76, 0.14);
|
|
background: var(--fg);
|
|
border-color: var(--fg);
|
|
}
|
|
.slider-wrap.is-dragging .pointer::before {
|
|
border-color: rgba(250, 247, 242, 0.85);
|
|
}
|
|
.pointer-halo {
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 0;
|
|
width: 46px;
|
|
height: 46px;
|
|
transform: translate(-50%, -50%);
|
|
border: 1px solid var(--accent);
|
|
border-radius: 50%;
|
|
opacity: 0;
|
|
transition: left 0.12s cubic-bezier(0.2, 0.7, 0.2, 1), opacity 0.3s;
|
|
pointer-events: none;
|
|
z-index: 2;
|
|
}
|
|
.slider-wrap.is-dragging .pointer-halo {
|
|
opacity: 0.5;
|
|
}
|
|
.slider-hit {
|
|
position: absolute;
|
|
inset: 0;
|
|
touch-action: none;
|
|
}
|
|
.slider-caption {
|
|
margin-top: 18px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
font-size: 11px;
|
|
letter-spacing: 0.22em;
|
|
text-transform: uppercase;
|
|
color: var(--muted);
|
|
}
|
|
.slider-caption .hint {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
}
|
|
.slider-caption .hint svg {
|
|
width: 14px;
|
|
height: 14px;
|
|
opacity: 0.7;
|
|
}
|
|
|
|
/* ── Duration ───────────────────────────────────────────── */
|
|
.duration-head {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: baseline;
|
|
margin-bottom: 18px;
|
|
padding: 0 4px;
|
|
}
|
|
.duration-label {
|
|
font-size: 11px;
|
|
letter-spacing: 0.24em;
|
|
text-transform: uppercase;
|
|
color: var(--muted);
|
|
}
|
|
.duration-cap {
|
|
font-size: 11px;
|
|
letter-spacing: 0.22em;
|
|
text-transform: uppercase;
|
|
color: var(--muted);
|
|
}
|
|
.duration-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(4, 1fr);
|
|
gap: 1px;
|
|
background: var(--hairline);
|
|
border: 1px solid var(--hairline);
|
|
border-radius: var(--radius);
|
|
overflow: hidden;
|
|
}
|
|
.dur {
|
|
text-align: center;
|
|
padding: 22px 10px 18px;
|
|
background: var(--surface);
|
|
color: var(--fg);
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 5px;
|
|
position: relative;
|
|
transition: background 0.25s, color 0.25s;
|
|
-webkit-tap-highlight-color: transparent;
|
|
min-height: 44px;
|
|
}
|
|
.dur:focus-visible {
|
|
outline: none;
|
|
box-shadow: inset 0 0 0 2px var(--accent);
|
|
z-index: 1;
|
|
}
|
|
.dur:hover {
|
|
background: color-mix(in srgb, var(--surface) 84%, var(--fg) 4%);
|
|
}
|
|
.dur.is-active {
|
|
background: var(--fg);
|
|
color: var(--bg);
|
|
}
|
|
.dur-num {
|
|
font-family: var(--font-display);
|
|
font-weight: 500;
|
|
font-size: 30px;
|
|
letter-spacing: -0.02em;
|
|
line-height: 1;
|
|
}
|
|
.dur-unit {
|
|
font-size: 10px;
|
|
letter-spacing: 0.22em;
|
|
text-transform: uppercase;
|
|
color: var(--muted);
|
|
}
|
|
.dur.is-active .dur-unit {
|
|
color: rgba(250, 247, 242, 0.62);
|
|
}
|
|
|
|
/* ── Breakdown ──────────────────────────────────────────── */
|
|
.breakdown {
|
|
border-top: 1px solid var(--hairline);
|
|
}
|
|
.breakdown-row {
|
|
display: grid;
|
|
grid-template-columns: 1fr auto;
|
|
align-items: baseline;
|
|
gap: 24px;
|
|
padding: 22px 4px;
|
|
border-bottom: 1px solid var(--hairline);
|
|
}
|
|
.breakdown-row:last-child {
|
|
border-bottom: none;
|
|
}
|
|
.breakdown-key {
|
|
font-size: 11px;
|
|
letter-spacing: 0.24em;
|
|
text-transform: uppercase;
|
|
color: var(--muted);
|
|
}
|
|
.breakdown-key em {
|
|
font-style: normal;
|
|
color: var(--fg);
|
|
font-family: var(--font-display);
|
|
font-size: 14px;
|
|
letter-spacing: 0;
|
|
margin-left: 8px;
|
|
}
|
|
.breakdown-val {
|
|
font-family: var(--font-display);
|
|
font-weight: 500;
|
|
font-size: 22px;
|
|
letter-spacing: -0.01em;
|
|
color: var(--fg);
|
|
}
|
|
.breakdown-val .muted {
|
|
font-family: var(--font-body);
|
|
font-size: 13px;
|
|
color: var(--muted);
|
|
letter-spacing: 0.04em;
|
|
margin-left: 6px;
|
|
}
|
|
.breakdown-total {
|
|
padding: 26px 4px 24px;
|
|
}
|
|
.breakdown-total .breakdown-key {
|
|
color: var(--fg);
|
|
font-size: 12px;
|
|
letter-spacing: 0.28em;
|
|
}
|
|
.breakdown-total .breakdown-val {
|
|
font-size: 38px;
|
|
}
|
|
.breakdown-total .breakdown-val .per {
|
|
font-family: var(--font-body);
|
|
font-size: 13px;
|
|
letter-spacing: 0.18em;
|
|
text-transform: uppercase;
|
|
color: var(--muted);
|
|
margin-left: 10px;
|
|
}
|
|
.breakdown-billed {
|
|
padding: 18px 4px 22px;
|
|
}
|
|
.breakdown-billed .breakdown-key {
|
|
color: var(--muted);
|
|
}
|
|
.breakdown-billed .breakdown-val {
|
|
font-size: 18px;
|
|
color: var(--muted);
|
|
}
|
|
|
|
/* ── Addons ─────────────────────────────────────────────── */
|
|
.addons-head {
|
|
display: flex;
|
|
align-items: baseline;
|
|
justify-content: space-between;
|
|
padding: 26px 4px 18px;
|
|
border-top: 1px solid var(--hairline);
|
|
}
|
|
.addons-title {
|
|
font-family: var(--font-display);
|
|
font-weight: 500;
|
|
font-size: 24px;
|
|
letter-spacing: -0.01em;
|
|
color: var(--fg);
|
|
}
|
|
.addons-cap {
|
|
font-size: 11px;
|
|
letter-spacing: 0.24em;
|
|
text-transform: uppercase;
|
|
color: var(--muted);
|
|
}
|
|
.addon-list {
|
|
display: grid;
|
|
gap: 1px;
|
|
background: var(--hairline);
|
|
border: 1px solid var(--hairline);
|
|
border-radius: var(--radius);
|
|
overflow: hidden;
|
|
}
|
|
.addon-row {
|
|
display: grid;
|
|
grid-template-columns: auto 1fr auto;
|
|
align-items: center;
|
|
gap: 20px;
|
|
width: 100%;
|
|
padding: 22px 24px;
|
|
background: var(--surface);
|
|
text-align: left;
|
|
color: var(--fg);
|
|
transition: background 0.3s;
|
|
-webkit-tap-highlight-color: transparent;
|
|
}
|
|
.addon-row:focus-visible {
|
|
outline: none;
|
|
box-shadow: inset 0 0 0 2px var(--accent);
|
|
}
|
|
.addon-row:hover {
|
|
background: color-mix(in srgb, var(--surface) 82%, var(--fg) 4%);
|
|
}
|
|
.addon-row.is-selected {
|
|
background: color-mix(in srgb, var(--surface) 78%, var(--accent) 10%);
|
|
}
|
|
.addon-toggle {
|
|
width: 18px;
|
|
height: 18px;
|
|
border: 1px solid var(--hairline-strong);
|
|
border-radius: 3px;
|
|
transform: rotate(45deg);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
transition: background 0.25s, border-color 0.25s;
|
|
position: relative;
|
|
}
|
|
.addon-row.is-selected .addon-toggle {
|
|
background: var(--accent);
|
|
border-color: var(--accent);
|
|
}
|
|
.addon-toggle::after {
|
|
content: '';
|
|
position: absolute;
|
|
inset: 3px;
|
|
border: 1px solid rgba(250, 247, 242, 0.75);
|
|
opacity: 0;
|
|
}
|
|
.addon-row.is-selected .addon-toggle::after {
|
|
opacity: 1;
|
|
}
|
|
.addon-info {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
}
|
|
.addon-name {
|
|
font-family: var(--font-display);
|
|
font-weight: 500;
|
|
font-size: 18px;
|
|
letter-spacing: -0.01em;
|
|
color: var(--fg);
|
|
}
|
|
.addon-price {
|
|
font-family: var(--font-display);
|
|
font-weight: 500;
|
|
font-size: 18px;
|
|
letter-spacing: -0.01em;
|
|
color: var(--fg);
|
|
white-space: nowrap;
|
|
}
|
|
.addon-price .plus {
|
|
color: var(--muted);
|
|
font-family: var(--font-body);
|
|
font-size: 12px;
|
|
margin-right: 6px;
|
|
letter-spacing: 0.04em;
|
|
}
|
|
|
|
/* ── Responsive shells ─────────────────────────────────── */
|
|
@media (max-width: 860px) {
|
|
.profile {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
.stat:nth-child(2) {
|
|
border-right: none;
|
|
}
|
|
.stat:nth-child(1),
|
|
.stat:nth-child(2) {
|
|
border-bottom: 1px solid var(--hairline);
|
|
}
|
|
.device-grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
@media (max-width: 560px) {
|
|
.topbar {
|
|
padding-bottom: 24px;
|
|
}
|
|
.topbar .nav {
|
|
gap: 18px;
|
|
}
|
|
.topbar .nav a {
|
|
font-size: 10px;
|
|
}
|
|
.profile {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
.stat {
|
|
border-right: none;
|
|
border-bottom: 1px solid var(--hairline);
|
|
min-height: 132px;
|
|
padding: 32px 20px;
|
|
}
|
|
.stat:last-child {
|
|
border-bottom: none;
|
|
}
|
|
.duration-grid {
|
|
grid-template-columns: repeat(2, 1fr);
|
|
}
|
|
.dur-num {
|
|
font-size: 26px;
|
|
}
|
|
.addon-row {
|
|
grid-template-columns: auto 1fr auto;
|
|
gap: 14px;
|
|
padding: 18px;
|
|
}
|
|
.subscription-link {
|
|
grid-template-columns: auto minmax(0, 1fr);
|
|
gap: 16px;
|
|
padding: 20px;
|
|
}
|
|
.subscription-url {
|
|
font-size: 12px;
|
|
}
|
|
.copy-link {
|
|
grid-column: 1 / -1;
|
|
width: 100%;
|
|
}
|
|
.addon-name {
|
|
font-size: 16px;
|
|
}
|
|
}
|