:root {
    --account-bg: var(--site-background);
    --account-panel: var(--panel);
    --account-panel-soft: var(--panel-2);
    --account-border: #27323e;
    --account-border-strong: #3a4653;
    --account-text: #f5f8fb;
    --account-muted: #91a0af;
    --account-accent: var(--accent);
    --account-danger: #ff6b72;
}

.account-file .account-download-status,
.account-download-status {
    grid-column: 1 / -1;
    margin: 8px 0 0;
    color: var(--account-muted);
    font-size: 12px;
    line-height: 1.6;
}
.account-download-status.is-error,
.account-download-modal [data-dialog-error] {
    color: var(--account-danger);
}
.account-download-modal {
    box-sizing: border-box;
    width: min(520px, calc(100% - 32px));
    max-height: calc(100dvh - 40px);
    margin: auto;
    padding: 28px;
    overflow: auto;
    color: var(--account-text);
    background: #0d1218;
    border: 1px solid var(--account-border-strong);
    border-radius: 10px;
    box-shadow: 0 24px 80px #0008;
    font-family: Inter, Arial, sans-serif;
}
.account-download-modal::backdrop { background: #000b; }
.account-download-modal h2 { margin: 0; font-size: 24px; letter-spacing: -.03em; }
.account-download-modal .account-download-intro { margin: 12px 0 22px; color: var(--account-muted); line-height: 1.65; }
.account-download-modal .store-choice { align-items: flex-start; line-height: 1.65; }
.account-download-modal .store-choice input { flex-shrink: 0; margin-top: 5px; accent-color: var(--account-accent); }
.account-download-modal .account-download-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

.account-body {
    min-height: 100vh;
    color: var(--account-text);
    background: var(--account-bg);
    font-family: Inter, Arial, sans-serif;
}

.account-auth-shell,
.account-shell {
    position: relative;
    z-index: 1;
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
}

.account-auth-shell {
    display: grid;
    place-items: center;
    min-height: calc(100vh - 210px);
    padding: 56px 0 80px;
}

.account-auth-card {
    width: min(100%, 520px);
    padding: 30px;
    background: rgba(13, 18, 24, 0.97);
    border: 1px solid var(--account-border);
    border-radius: 10px;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.32);
}

.account-auth-kicker,
.account-section-kicker {
    display: block;
    margin-bottom: 10px;
    color: var(--account-accent);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.account-auth-card h1,
.account-main h1 {
    margin: 0;
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.05;
    letter-spacing: -0.04em;
}

.account-auth-intro,
.account-section-intro {
    margin: 14px 0 24px;
    color: var(--account-muted);
    line-height: 1.65;
}

.account-form {
    display: grid;
    gap: 16px;
}

.account-field {
    display: grid;
    gap: 7px;
}

.account-field > span,
.account-checkbox strong {
    font-size: 12px;
    font-weight: 700;
}

.account-field input,
.account-field select {
    width: 100%;
    min-height: 46px;
    padding: 0 13px;
    color: var(--account-text);
    background: #090d12;
    border: 1px solid var(--account-border);
    border-radius: 6px;
    font: inherit;
    font-size: 14px;
    outline: none;
}

.account-field input:focus,
.account-field select:focus {
    border-color: var(--account-accent);
    box-shadow: 0 0 0 3px rgba(207, 255, 0, 0.1);
}

.account-field small,
.account-form-help {
    color: var(--account-muted);
    font-size: 11px;
    line-height: 1.55;
}

.account-checkbox {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 10px;
    align-items: start;
    color: var(--account-muted);
    font-size: 12px;
    line-height: 1.55;
}

.account-checkbox input {
    width: 16px;
    height: 16px;
    margin-top: 1px;
    accent-color: var(--account-accent);
}

.account-checkbox a,
.account-auth-links a,
.account-inline-link {
    color: var(--account-text);
    text-decoration: underline;
    text-decoration-color: rgba(207, 255, 0, 0.5);
    text-underline-offset: 3px;
}

.account-button {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    color: #070a0d;
    background: var(--account-accent);
    border: 1px solid var(--account-accent);
    border-radius: 6px;
    font: inherit;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
    cursor: pointer;
}

.account-button:hover {
    filter: brightness(0.93);
}

.account-button.is-secondary {
    color: var(--account-text);
    background: transparent;
    border-color: var(--account-border-strong);
}

.account-button.is-danger {
    color: #fff;
    background: transparent;
    border-color: rgba(255, 107, 114, 0.6);
}

.account-button[disabled] {
    color: #727e89;
    background: #151b22;
    border-color: #27303a;
    cursor: not-allowed;
    filter: none;
}

.account-auth-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 10px 20px;
    margin-top: 20px;
    color: var(--account-muted);
    font-size: 12px;
}

.account-google-button {
    display: flex;
    width: 100%;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 11px;
    padding: 0 18px;
    color: #1f1f1f;
    background: #fff;
    border: 1px solid #747775;
    border-radius: 6px;
    font: inherit;
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
    cursor: pointer;
}

.account-google-button:hover {
    background: #f2f5f8;
}

.account-button.account-register-link {
    display: flex;
    width: 100%;
    margin-top: 12px;
    color: var(--account-accent);
    background: transparent;
    border-color: var(--account-accent);
}

.account-button.account-register-link:hover {
    background: rgba(207, 255, 0, .08);
    filter: none;
}

.account-button.account-register-link:focus-visible {
    outline: 2px solid var(--account-accent);
    outline-offset: 3px;
}

.account-google-logo {
    display: block;
    width: 20px;
    height: 20px;
    flex: 0 0 20px;
}

.account-auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
    color: var(--account-muted);
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.account-auth-divider::before,
.account-auth-divider::after {
    content: '';
    height: 1px;
    flex: 1;
    background: var(--account-border);
}

.account-google-profile {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 20px;
    padding: 13px;
    background: #090d12;
    border: 1px solid var(--account-border);
    border-radius: 6px;
}

.account-google-profile strong,
.account-google-profile small {
    display: block;
}

.account-google-profile strong {
    font-size: 13px;
}

.account-google-profile small {
    margin-top: 3px;
    color: var(--account-muted);
    font-size: 11px;
}

.account-two-factor-account {
    display: grid;
    gap: 4px;
    margin: 0 0 20px;
    padding: 13px;
    background: #090d12;
    border: 1px solid var(--account-border);
    border-radius: 6px;
}

.account-two-factor-account span {
    color: var(--account-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.account-two-factor-account strong {
    overflow-wrap: anywhere;
    font-size: 13px;
}

.account-two-factor-code input {
    font-size: 22px;
    font-weight: 750;
    letter-spacing: 0.28em;
    text-align: center;
}

.account-alert {
    margin: 0 0 18px;
    padding: 12px 14px;
    color: #e9f4dc;
    background: rgba(207, 255, 0, 0.08);
    border: 1px solid rgba(207, 255, 0, 0.24);
    border-radius: 6px;
    font-size: 12px;
    line-height: 1.6;
}

.account-alert.is-error {
    color: #ffd9db;
    background: rgba(255, 107, 114, 0.08);
    border-color: rgba(255, 107, 114, 0.32);
}

.account-alert p {
    margin: 0;
}

.account-alert p + p {
    margin-top: 5px;
}

.account-honeypot {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
}

.account-shell {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 24px;
    padding: 42px 0 90px;
}

.account-sidebar {
    align-self: start;
    position: sticky;
    top: 92px;
    padding: 18px;
    background: rgba(13, 18, 24, 0.96);
    border: 1px solid var(--account-border);
    border-radius: 8px;
}

.account-identity {
    padding: 2px 4px 17px;
    border-bottom: 1px solid var(--account-border);
}

.account-identity span,
.account-identity small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.account-identity span {
    font-weight: 750;
}

.account-identity small {
    margin-top: 5px;
    color: var(--account-muted);
    font-size: 10px;
}

.account-nav {
    display: grid;
    gap: 4px;
    margin-top: 14px;
}

.account-nav a,
.account-nav button {
    display: flex;
    min-height: 38px;
    align-items: center;
    width: 100%;
    padding: 0 10px;
    color: var(--account-muted);
    background: transparent;
    border: 0;
    border-radius: 5px;
    font: inherit;
    font-size: 11px;
    font-weight: 650;
    text-align: left;
    text-decoration: none;
    cursor: pointer;
}

.account-nav a:hover,
.account-nav button:hover,
.account-nav a.is-active {
    color: var(--account-text);
    background: #151c24;
}

.account-nav a.is-active {
    box-shadow: inset 2px 0 0 var(--account-accent);
}

.account-nav form {
    margin: 8px 0 0;
    padding-top: 8px;
    border-top: 1px solid var(--account-border);
}

.account-main {
    min-width: 0;
}

.account-main-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.account-main-heading p {
    max-width: 620px;
}

.account-stat-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.account-stat,
.account-panel {
    background: rgba(13, 18, 24, 0.94);
    border: 1px solid var(--account-border);
    border-radius: 8px;
}

.account-stat {
    padding: 18px;
}

.account-stat span {
    color: var(--account-muted);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.account-stat strong {
    display: block;
    margin-top: 10px;
    font-size: 30px;
}

.account-panel {
    margin-top: 16px;
    padding: 22px;
}

.account-panel h2,
.account-settings-card h2 {
    margin: 0 0 8px;
    font-size: 17px;
}

.account-panel > p,
.account-settings-card > p {
    color: var(--account-muted);
    font-size: 12px;
    line-height: 1.65;
}

.account-empty {
    display: grid;
    place-items: center;
    min-height: 220px;
    padding: 30px;
    text-align: center;
}

.account-empty span {
    color: var(--account-accent);
    font-size: 28px;
}

.account-empty h2 {
    margin: 14px 0 7px;
}

.account-empty p {
    max-width: 520px;
    margin: 0 0 18px;
    color: var(--account-muted);
    font-size: 12px;
    line-height: 1.65;
}

.account-motion-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.account-motion-card {
    overflow: hidden;
    background: var(--account-panel);
    border: 1px solid var(--account-border);
    border-radius: 7px;
}

.account-motion-card img {
    display: block;
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: contain;
    background: #050709;
}

.account-motion-card-body {
    padding: 13px;
}

.account-motion-card h2 {
    min-height: 38px;
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
}

.account-motion-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 10px;
}

.account-motion-meta span {
    padding: 4px 6px;
    color: var(--account-muted);
    border: 1px solid var(--account-border);
    border-radius: 4px;
    font-size: 9px;
}

.account-motion-actions {
    display: flex;
    gap: 8px;
    margin-top: 13px;
}

.account-motion-actions .account-button {
    min-height: 34px;
    padding: 0 10px;
    font-size: 10px;
}

.account-history {
    overflow-x: auto;
    background: var(--account-panel);
    border: 1px solid var(--account-border);
    border-radius: 8px;
}

.account-history table {
    width: 100%;
    min-width: 680px;
    border-collapse: collapse;
}

.account-history th,
.account-history td {
    padding: 13px 15px;
    border-bottom: 1px solid var(--account-border);
    font-size: 11px;
    text-align: left;
}

.account-history th {
    color: var(--account-muted);
    font-size: 9px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.account-history tr:last-child td {
    border-bottom: 0;
}

.account-table-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}

.account-table-actions form {
    margin: 0;
}

.account-table-actions button.account-inline-link {
    padding: 0;
    background: transparent;
    border: 0;
    font: inherit;
    cursor: pointer;
}

.account-license-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.account-license-grid .account-panel {
    margin-top: 0;
}

.account-settings-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.account-settings-card {
    padding: 20px;
    background: var(--account-panel);
    border: 1px solid var(--account-border);
    border-radius: 8px;
}

.account-settings-card.is-wide {
    grid-column: 1 / -1;
}

.account-settings-card .account-form {
    margin-top: 16px;
}

.account-secret {
    margin: 14px 0;
    padding: 12px;
    background: #080c10;
    border: 1px solid var(--account-border);
    border-radius: 5px;
}

.account-secret span,
.account-secret code {
    display: block;
}

.account-secret span {
    margin-bottom: 7px;
    color: var(--account-muted);
    font-size: 10px;
}

.account-secret code {
    overflow-wrap: anywhere;
    color: var(--account-accent);
    font-size: 12px;
}

.account-status-line {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    padding: 14px 0;
    border-bottom: 1px solid var(--account-border);
}

.account-status-line:last-child {
    border-bottom: 0;
}

.account-status-line span {
    color: var(--account-muted);
    font-size: 11px;
}

.account-status-line strong {
    font-size: 12px;
}

.account-status-pill {
    display: inline-flex;
    padding: 5px 8px;
    color: var(--account-accent);
    border: 1px solid rgba(207, 255, 0, 0.28);
    border-radius: 999px;
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
}

.account-captcha {
    min-height: 65px;
}

@media (max-width: 920px) {
    .account-shell {
        grid-template-columns: 1fr;
    }

    .account-sidebar {
        position: static;
    }

    .account-nav {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .account-nav form {
        grid-column: 1 / -1;
    }

    .account-motion-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .account-auth-shell,
    .account-shell {
        width: min(100% - 20px, 1180px);
    }

    .account-auth-card {
        padding: 22px 18px;
    }

    .account-nav {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .account-stat-grid,
    .account-motion-grid,
    .account-settings-grid,
    .account-license-grid {
        grid-template-columns: 1fr;
    }

    .account-settings-card.is-wide {
        grid-column: auto;
    }

    .account-main-heading {
        display: block;
    }
}

/* The same customer shell is used by library, payments, checkout and security. */
.account-shell{width:min(1440px,calc(100% - 64px));grid-template-columns:232px minmax(0,1fr);gap:48px;padding:48px 0 88px;min-height:calc(100vh - 220px)}
.account-body{background:var(--site-background);color-scheme:dark}
.account-sidebar{padding:0;background:var(--panel);border-color:var(--border);border-radius:8px;overflow:hidden;top:100px}
.account-identity{display:flex;gap:12px;align-items:center;padding:24px 18px;border-color:var(--border)}
.account-identity>div{min-width:0}
.account-identity .account-avatar{display:grid;place-items:center;width:36px;height:36px;flex-shrink:0;background:#1b2227;border:1px solid #303b3f;border-radius:7px;color:var(--accent);font-size:14px;font-weight:700}
.account-identity strong{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13px}
.account-identity small{font-size:10px;line-height:1.5}
.account-nav{margin:12px 10px;gap:5px}
.account-nav a{min-height:45px;gap:12px;padding:0 12px;font-size:12px;font-weight:600;transition:background .15s,color .15s}
.account-nav svg,.account-signout svg{width:18px;height:18px;flex-shrink:0}
.account-nav a.is-active{color:var(--accent);background:#1a2114;box-shadow:inset 2px 0 0 var(--accent)}
.account-sidebar-bottom{padding:4px 18px 16px}
.account-wallet-link{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:18px 0;color:var(--account-muted);font-size:10px;text-decoration:none;border-top:1px solid var(--border)}
.account-wallet-link strong{color:var(--white);font-size:13px;font-variant-numeric:tabular-nums}
.account-wallet-link:hover strong{color:var(--accent)}
.account-signout{display:flex;align-items:center;gap:10px;min-height:36px;padding:4px 0;border:0;background:none;color:var(--account-muted);font:inherit;font-size:11px;cursor:pointer}
.account-signout:hover{color:var(--white)}
.account-main h1{font-size:clamp(30px,3vw,44px);line-height:1.12;letter-spacing:-.045em;font-weight:750}
.account-main-heading{align-items:center;margin-bottom:28px;min-height:90px}
.account-section-kicker{color:var(--accent);font-size:10px;letter-spacing:.12em;margin-bottom:12px}
.account-main-heading .account-section-intro{margin:13px 0 0;font-size:13px;line-height:1.6}
.account-catalog-link{display:inline-flex;align-items:center;gap:14px;flex-shrink:0;color:var(--white);font-size:12px;text-decoration:none;border-bottom:1px solid #596526;padding:8px 0}
.account-catalog-link svg{width:17px;height:17px;color:var(--accent)}
.account-button{gap:10px;background:var(--accent);border-color:var(--accent);border-radius:5px;font-size:12px;min-height:44px;font-weight:700}
.account-button svg{width:17px;height:17px;flex-shrink:0}
.account-button.is-secondary:hover{color:var(--accent);border-color:#667b24;background:#141b10;filter:none}
.account-main a:focus-visible,.account-main button:focus-visible,.account-main summary:focus-visible,.account-sidebar a:focus-visible,.account-sidebar button:focus-visible{outline:2px solid var(--accent);outline-offset:4px}
.account-help-links{display:flex;flex-wrap:wrap;gap:16px 24px;border-top:1px solid var(--border);margin-top:40px;padding-top:22px;font-size:10px}
.account-help-links a{color:var(--account-muted);text-decoration:none}
.account-help-links a:first-child{color:var(--white)}
.account-help-links a:hover{color:var(--accent)}
.account-tabs,.account-subtabs{display:flex;gap:28px;border-bottom:1px solid var(--border);margin-bottom:26px}
.account-tabs a,.account-subtabs a{padding:0 0 15px;color:var(--account-muted);text-decoration:none;font-size:13px;font-weight:600;border-bottom:2px solid transparent;margin-bottom:-1px}
.account-tabs a[aria-current],.account-subtabs a[aria-current]{color:var(--white);border-color:var(--accent)}
.account-subtabs{gap:22px;border-bottom:0;margin-top:-6px;margin-bottom:14px}
.account-subtabs a{font-size:11px;padding-bottom:8px}
.account-settings-grid{display:flex;flex-direction:column;gap:14px}
.account-settings-card{background:var(--panel);border-color:var(--border);padding:26px;border-radius:7px}
.account-settings-card .account-form{max-width:600px;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.account-settings-card .account-form>.account-button{justify-self:start;grid-column:1/-1}
.account-settings-card .account-form>.account-form-help{grid-column:1/-1}
.account-settings-card h2{font-size:16px}
.account-settings-card p{color:var(--account-muted);font-size:12px;line-height:1.7}
.account-security-card{padding:0}
.account-security-card>summary{position:relative;display:flex;align-items:center;gap:16px;padding:23px 26px;cursor:pointer;list-style:none}
.account-security-card>summary::-webkit-details-marker{display:none}
.account-security-card>summary:after{content:'+';color:var(--account-muted);font-size:21px;margin-left:8px;font-weight:400}
.account-security-card[open]>summary:after{content:'−'}
.account-security-card>summary>span{font-size:13px;font-weight:650}
.account-security-card>summary>small{margin-left:auto;color:var(--account-muted);font-size:11px}
.account-security-content{padding:0 26px 26px;border-top:1px solid var(--border);padding-top:22px}
.account-section-intro{font-size:12px}
@media(max-width:1100px){.account-shell{grid-template-columns:210px minmax(0,1fr);gap:28px;width:calc(100% - 48px)}.account-main-heading{align-items:flex-start}.account-catalog-link{margin-top:28px}}
@media(max-width:920px){.account-shell{grid-template-columns:1fr;gap:28px;padding-top:30px}.account-sidebar{position:static;display:grid;grid-template-columns:1fr auto;align-items:center}.account-identity{border:0;padding:17px 20px}.account-nav{grid-column:1/-1;grid-row:2;grid-template-columns:repeat(3,minmax(0,1fr));margin:0 10px 10px}.account-sidebar-bottom{display:flex;align-items:center;gap:20px;padding:14px 20px}.account-wallet-link{border:0;padding:0;display:grid;gap:4px}.account-signout{font-size:0}.account-signout svg{width:20px}.account-main-heading{align-items:center}.account-catalog-link{margin-top:0}}
@media(max-width:640px){.account-shell{width:calc(100% - 32px);padding:24px 0 56px;gap:26px}.account-identity{padding:16px 12px;gap:8px}.account-identity strong{font-size:12px}.account-identity small{font-size:9px;max-width:150px}.account-identity .account-avatar{width:30px;height:30px;font-size:12px}.account-sidebar-bottom{gap:12px;padding:12px}.account-wallet-link{font-size:9px}.account-nav a{font-size:11px;padding:0 10px;gap:9px;min-height:42px}.account-nav svg{width:16px}.account-main-heading{display:flex;flex-wrap:wrap;gap:16px;min-height:0;margin-bottom:24px}.account-main h1{font-size:32px}.account-main-heading .account-section-intro{font-size:12px}.account-catalog-link{font-size:11px}.account-settings-card{padding:20px}.account-security-card{padding:0}.account-security-card>summary{padding:20px;gap:8px}.account-security-card>summary>small{font-size:10px}.account-security-content{padding:20px}.account-settings-card .account-form{grid-template-columns:1fr}.account-help-links{margin-top:28px;font-size:10px;gap:16px}.account-tabs{gap:22px}.account-tabs a{font-size:12px}}

/* Scoped animation-library views; pack/catalog grids retain their own sizing. */
.account-motion-library .account-library-toolbar { display:flex; align-items:center; justify-content:space-between; gap:18px; margin:0 0 18px; }
.account-motion-library .account-library-toolbar > span { color:var(--account-muted); font-size:12px; }
.account-motion-library .account-view-switch { display:inline-flex; align-items:center; gap:3px; padding:3px; border:1px solid var(--account-border); background:#0b1015; border-radius:7px; }
.account-motion-library .account-view-switch button { display:inline-flex; align-items:center; justify-content:center; gap:7px; min-height:32px; padding:7px 11px; color:#94a1ad; background:transparent; border:0; border-radius:4px; font:inherit; font-size:11px; font-weight:700; cursor:pointer; }
.account-motion-library .account-view-switch button[aria-pressed=true] { color:#0a0e05; background:#d7ff00; }
.account-motion-library .account-view-switch button:focus-visible { outline:2px solid #d7ff00; outline-offset:3px; }
.account-motion-library .account-view-switch svg { width:13px; height:13px; fill:currentColor; }
.account-motion-library .account-motion-grid { grid-template-columns:repeat(6,minmax(0,1fr)); gap:12px; }
.account-motion-library .account-motion-card { position:relative; min-width:0; border-radius:7px; transition:border-color .16s ease; }
.account-motion-library .account-motion-card:hover,.account-motion-library .account-motion-card:focus-within { border-color:rgba(215,255,0,.42); }
.account-motion-library .account-motion-media { position:relative; aspect-ratio:3/4; overflow:hidden; background:#11171d; }
.account-motion-library .account-motion-media img,.account-motion-library .account-motion-media video { position:absolute; inset:0; display:block; width:100%; height:100%; object-fit:contain; }
.account-motion-library .account-motion-media img { opacity:1; }
.account-motion-library .account-motion-media video { opacity:0; pointer-events:none; }
.account-motion-library .is-playing .account-motion-media video { opacity:1; }
.account-motion-library .account-motion-placeholder { position:absolute; inset:0; display:grid; place-items:center; color:#47515c; font-size:32px; }
.account-motion-library .account-motion-card-body { min-width:0; padding:11px; }
.account-motion-library .account-motion-card h2 { min-height:2.9em; margin:0 0 11px; color:#f5f7fa; font-size:12px; font-weight:700; line-height:1.45; display:-webkit-box; -webkit-box-orient:vertical; -webkit-line-clamp:2; overflow:hidden; }
.account-motion-library .account-motion-card h2 a { color:inherit; text-decoration:none; }
.account-motion-library .account-motion-card h2 a:hover { color:#d7ff00; }
.account-motion-library .account-motion-meta { display:flex; flex-wrap:wrap; gap:4px; margin:0 0 11px; }
.account-motion-library .account-motion-meta span { padding:3px 4px; font-size:8px; line-height:1.2; }
.account-motion-library .account-motion-actions { display:flex; flex-wrap:wrap; align-items:center; gap:6px; }
.account-motion-library .account-motion-actions form { margin:0; }
.account-motion-library .account-motion-actions .account-button { min-height:29px; padding:7px 9px; font-size:9px; line-height:1.3; }
.account-motion-library .account-motion-license { display:flex; flex-wrap:wrap; gap:5px 9px; margin:0 0 12px; color:#9da9b5; font-size:10px; line-height:1.6; }
.account-motion-library .account-motion-acquired { display:none; }
.account-motion-library .account-motion-unavailable { font-size:10px; line-height:1.6; color:#94a1ad; }
.account-motion-library .account-preview-toggle { position:absolute; z-index:2; bottom:8px; left:8px; display:grid; place-items:center; width:30px; height:30px; padding:6px; background:rgba(8,12,16,.84); color:#d7ff00; border:1px solid rgba(215,255,0,.36); border-radius:50%; cursor:pointer; }
.account-motion-library .account-preview-toggle svg { width:14px; height:14px; fill:currentColor; }
.account-motion-library .account-preview-toggle[aria-pressed=true] svg { visibility:hidden; }
.account-motion-library .account-preview-toggle[aria-pressed=true]::after { content:''; position:absolute; width:9px; height:11px; border-right:3px solid currentColor; border-left:3px solid currentColor; box-sizing:border-box; }
.account-motion-library .account-preview-toggle:focus-visible { outline:2px solid #d7ff00; outline-offset:3px; }
.account-motion-library .account-motion-update { position:absolute; z-index:2; top:7px; left:7px; padding:4px 6px; background:rgba(8,12,16,.85); color:#d7ff00; border:1px solid rgba(215,255,0,.25); border-radius:4px; font-size:9px; font-weight:700; }
.account-motion-library .is-preview-loading .account-motion-media::after { content:''; position:absolute; z-index:1; top:9px; right:9px; width:12px; height:12px; border:2px solid rgba(215,255,0,.2); border-top-color:#d7ff00; border-radius:50%; animation:account-preview-spin .8s linear infinite; }
@keyframes account-preview-spin { to { transform:rotate(360deg); } }
@media (hover:hover) and (pointer:fine) { .account-motion-library .account-preview-toggle { opacity:0; } .account-motion-library .account-motion-card:focus-within .account-preview-toggle { opacity:1; } }
@media (prefers-reduced-motion:reduce) { .account-motion-library .account-preview-toggle { opacity:1; } .account-motion-library .is-preview-loading .account-motion-media::after { animation:none; } }
@media (max-width:1499px) { .account-motion-library .account-motion-grid { grid-template-columns:repeat(4,minmax(0,1fr)); } }
@media (max-width:1099px) { .account-motion-library .account-motion-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:850px) { .account-motion-library .account-motion-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:380px) { .account-motion-library .account-motion-grid { grid-template-columns:minmax(0,1fr); } }
.account-motion-library[data-view=list] .account-motion-grid { grid-template-columns:minmax(0,1fr); gap:10px; }
.account-motion-library[data-view=list] .account-motion-card { display:grid; grid-template-columns:72px minmax(0,1fr); align-items:stretch; }
.account-motion-library[data-view=list] .account-motion-media { min-height:96px; height:100%; aspect-ratio:auto; }
.account-motion-library[data-view=list] .account-motion-card-body { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:5px 20px; align-content:center; padding:12px 16px; }
.account-motion-library[data-view=list] .account-motion-card h2 { min-height:0; margin:0; grid-column:1; font-size:13px; }
.account-motion-library[data-view=list] .account-motion-meta { grid-column:1; margin:2px 0; }
.account-motion-library[data-view=list] .account-motion-license { grid-column:1; margin:0; }
.account-motion-library[data-view=list] .account-motion-acquired { display:inline; }
.account-motion-library[data-view=list] .account-motion-actions { grid-column:2; grid-row:1/4; align-self:center; }
.account-motion-library[data-view=list] .account-motion-update { font-size:7px; left:3px; top:3px; padding:3px; }
@media (max-width:640px) { .account-motion-library[data-view=list] .account-motion-card-body { grid-template-columns:minmax(0,1fr); gap:6px; padding:11px; } .account-motion-library[data-view=list] .account-motion-actions { grid-column:1; grid-row:auto; margin-top:3px; } }
