/* OPRift preview: OP.GG information density with restrained Wild Rift identity. */
html.oprift-preview {
    --bg-primary: #eef1f5;
    --bg-secondary: #ffffff;
    --bg-card: #ffffff;
    --bg-card-hover: #f7f9fb;
    --accent-gold: #c99b3c;
    --accent-blue: #0e7490;
    --text-primary: #475569;
    --text-white: #14202e;
    --text-muted: #8591a2;
    --border-color: #dfe4eb;
    --win-green: #1685a3;
    --lose-red: #d4555d;
    background: #eef1f5;
    color-scheme: light;
}

html.oprift-preview body {
    min-width: 320px;
    background:
        linear-gradient(90deg, rgba(14, 116, 144, .035) 1px, transparent 1px) 50% 0 / 72px 72px,
        #eef1f5;
    color: #475569;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
}

html.oprift-preview body::before {
    content: "";
    display: block;
    height: 3px;
    background: linear-gradient(90deg, #0d405b 0 63%, #0e91a7 63% 83%, #c99b3c 83% 100%);
}

html.oprift-preview .navbar {
    position: sticky;
    top: 0;
    min-height: 62px;
    padding: 10px max(24px, calc((100vw - 1180px) / 2));
    gap: 18px;
    border: 0;
    border-bottom: 1px solid #0b3047;
    background: #0c334b;
    box-shadow: 0 2px 10px rgba(15, 32, 46, .16);
    backdrop-filter: none;
}

html.oprift-preview .navbar .logo {
    display: flex;
    align-items: center;
    width: 184px;
    flex: 0 0 184px;
    gap: 9px;
    background: none;
    color: #fff;
    -webkit-text-fill-color: initial;
    line-height: 1;
    text-decoration: none;
}

html.oprift-preview .gm-brand-mark {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    object-fit: contain;
    filter: drop-shadow(0 3px 5px rgba(0, 0, 0, .24));
}

html.oprift-preview .gm-brand-name {
    color: #fff;
    font-family: "Bahnschrift SemiCondensed", "Arial Narrow", sans-serif;
    font-size: 19px;
    font-weight: 800;
    letter-spacing: .025em;
    white-space: nowrap;
}

html.oprift-preview .gm-brand-name span {
    color: #efa719;
}

html.oprift-preview .search-container {
    max-width: 550px;
}

html.oprift-preview .search-icon {
    left: 15px;
    color: #718096;
    font-size: 0;
}

html.oprift-preview .search-icon::before {
    content: "";
    display: block;
    width: 13px;
    height: 13px;
    border: 2px solid currentColor;
    border-radius: 50%;
}

html.oprift-preview .search-icon::after {
    content: "";
    position: absolute;
    right: -3px;
    bottom: -2px;
    width: 6px;
    height: 2px;
    background: currentColor;
    transform: rotate(45deg);
}

html.oprift-preview .search-box {
    height: 41px;
    padding: 0 16px 0 43px;
    border: 1px solid #dfe5ea;
    border-radius: 5px;
    background: #fff;
    color: #1e293b;
    font-size: 14px;
    box-shadow: none;
}

html.oprift-preview .search-box::placeholder { color: #9aa4b2; }
html.oprift-preview .search-box:focus { border-color: #55c8d3; box-shadow: 0 0 0 3px rgba(85, 200, 211, .13); }

html.oprift-preview .backend-status {
    padding: 6px 9px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 4px;
    background: rgba(0,0,0,.11);
    color: #c9d7de;
    font-size: 10px;
    letter-spacing: .02em;
}

html.oprift-preview .backend-status::before {
    width: 6px;
    height: 6px;
    box-shadow: none;
}

html.oprift-preview .backend-status.ready::before { background: #55c8d3; }

html.oprift-preview .search-results {
    top: calc(100% + 7px);
    border: 1px solid #d8dfe7;
    border-radius: 6px;
    background: #fff;
    color: #1e293b;
    box-shadow: 0 14px 38px rgba(15, 23, 42, .2);
}

html.oprift-preview .search-result-item {
    width: 100%;
    border: 0;
    border-bottom: 1px solid #edf0f4;
    background: transparent;
    color: inherit;
    font: inherit;
    text-align: left;
}
html.oprift-preview .search-result-item:hover { background: #f4f8fa; }
html.oprift-preview .search-result-item:focus-visible { outline: 2px solid #55c8d3; outline-offset: -2px; }

html.oprift-preview .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

html.oprift-preview .main-container {
    width: min(1180px, calc(100% - 40px));
    max-width: none;
    margin: 22px auto 60px;
    padding: 0;
}

html.oprift-preview .oprift-page { animation-duration: .18s; }

html.oprift-preview .oprift-profile-card {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 132px;
    padding: 22px 24px 20px 28px;
    overflow: hidden;
    border: 1px solid #dce2e9;
    border-radius: 6px 6px 0 0;
    background: #fff;
}

html.oprift-preview .oprift-profile-accent {
    position: absolute;
    inset: 0 auto 0 0;
    width: 5px;
    background: #0f8da1;
}

html.oprift-preview .oprift-profile-accent::after {
    content: "";
    position: absolute;
    top: 0;
    left: 5px;
    width: 170px;
    height: 4px;
    background: #c99b3c;
    transform: skewX(-38deg);
    transform-origin: left top;
}

html.oprift-preview .oprift-profile-avatar {
    position: relative;
    width: 84px;
    height: 84px;
    flex: 0 0 84px;
    overflow: hidden;
    border: 3px solid #fff;
    border-radius: 16px;
    background: #153f57;
    box-shadow: 0 0 0 1px #b9903a, 0 6px 15px rgba(25, 56, 76, .16);
}

html.oprift-preview .oprift-profile-avatar.is-placeholder {
    background:
        linear-gradient(145deg, rgba(23, 87, 105, .96), rgba(8, 41, 58, .98));
}

html.oprift-preview .oprift-profile-avatar.is-placeholder::after {
    content: "";
    position: absolute;
    inset: 13px;
    border: 1px solid rgba(213, 177, 92, .58);
    transform: rotate(45deg);
}

html.oprift-preview .oprift-profile-avatar.is-placeholder.has-placeholder-art::after {
    content: "✦";
    inset: auto 3px 3px auto;
    z-index: 4;
    width: 19px;
    height: 19px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(240, 211, 142, .92);
    border-radius: 50%;
    background: #0a3c52;
    color: #f0d38e;
    font-size: 9px;
    line-height: 1;
    box-shadow: 0 2px 6px rgba(3, 24, 35, .32);
    transform: none;
}

html.oprift-preview .oprift-profile-avatar.is-placeholder.has-placeholder-art img {
    filter: saturate(.82) contrast(.96);
}

html.oprift-preview .oprift-profile-avatar img,
html.oprift-preview .champion-icon img,
html.oprift-preview .match-champ-icon img {
    position: relative;
    z-index: 2;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

html.oprift-preview .oprift-profile-avatar span,
html.oprift-preview .champion-icon span,
html.oprift-preview .match-champ-icon span {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #d9ebee;
    font-size: 20px;
    font-weight: 800;
}

html.oprift-preview .oprift-profile-avatar.is-placeholder span {
    z-index: 1;
    color: #f4dfad;
}

html.oprift-preview .oprift-identity {
    min-width: 0;
    margin-left: 20px;
}

html.oprift-preview .oprift-eyebrow {
    margin-bottom: 6px;
    color: #0d8196;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
}

html.oprift-preview .oprift-identity h1 {
    color: #152232;
    font-size: 28px;
    font-weight: 750;
    letter-spacing: -.7px;
}

html.oprift-preview .oprift-identity h1 span {
    margin-left: 5px;
    color: #8995a4;
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0;
}

html.oprift-preview .oprift-identity p {
    display: flex;
    align-items: center;
    margin-top: 8px;
    color: #778394;
    font-size: 12px;
}

html.oprift-preview .oprift-identity p i {
    width: 3px;
    height: 3px;
    margin: 0 9px;
    border-radius: 50%;
    background: #bcc5ce;
}

html.oprift-preview .oprift-update {
    height: 36px;
    margin-left: auto;
    padding: 0 16px;
    border: 1px solid #0f8296;
    border-radius: 4px;
    background: #138ca0;
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
}

html.oprift-preview .oprift-update:hover { background: #0d788b; }
html.oprift-preview .oprift-update:focus-visible {
    outline: 3px solid rgba(19, 140, 160, .24);
    outline-offset: 3px;
}
html.oprift-preview .oprift-update.is-requested {
    border-color: #b9913d;
    background: #fffaf0;
    color: #80611d;
}
html.oprift-preview .oprift-update:disabled,
html.oprift-preview .retry-btn:disabled {
    cursor: wait;
    opacity: .62;
}

html.oprift-preview .oprift-update-notice {
    position: fixed;
    z-index: 1200;
    top: 86px;
    right: 24px;
    display: grid;
    grid-template-columns: 38px minmax(0, 1fr) 24px;
    align-items: center;
    width: min(410px, calc(100vw - 32px));
    padding: 14px 14px 14px 12px;
    border: 1px solid #c9dce1;
    border-left: 4px solid #1594a8;
    background: rgba(255, 255, 255, .98);
    box-shadow: 0 18px 42px rgba(21, 54, 73, .18);
    color: #183247;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity .2s ease, transform .2s ease;
}

html.oprift-preview .oprift-update-notice.is-visible {
    opacity: 1;
    transform: translateY(0);
}

html.oprift-preview .oprift-update-notice-mark {
    display: grid;
    place-items: center;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #e8f7f9;
    color: #10889b;
    font-size: 19px;
    font-weight: 800;
}

html.oprift-preview .oprift-update-notice-copy {
    display: grid;
    gap: 3px;
}

html.oprift-preview .oprift-update-notice-copy strong {
    font-size: 13px;
    letter-spacing: .01em;
}

html.oprift-preview .oprift-update-notice-copy small {
    color: #718598;
    font-size: 11px;
    line-height: 1.45;
}

html.oprift-preview .oprift-update-notice > button {
    border: 0;
    background: transparent;
    color: #8a99a6;
    font-size: 20px;
    cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
    html.oprift-preview .oprift-update-notice { transition: none; }
}

html.oprift-preview .oprift-layout {
    display: grid;
    grid-template-columns: 310px minmax(0, 1fr);
    align-items: start;
    margin-top: 12px;
    gap: 12px;
}

html.oprift-preview .oprift-sidebar,
html.oprift-preview .oprift-main {
    display: grid;
    gap: 12px;
}

html.oprift-preview .oprift-panel {
    border: 1px solid #dce2e9;
    border-radius: 6px;
    background: #fff;
}

html.oprift-preview .oprift-panel > header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 45px;
    padding: 0 15px;
    border-bottom: 1px solid #e6eaf0;
}

html.oprift-preview .oprift-panel > header h2 {
    color: #263445;
    font-size: 13px;
    font-weight: 750;
}

html.oprift-preview .oprift-panel > header span,
html.oprift-preview .oprift-panel > header p {
    color: #919baa;
    font-size: 10px;
}

html.oprift-preview .oprift-rank-block {
    display: flex;
    align-items: center;
    padding: 19px 17px 15px;
}

html.oprift-preview .oprift-rank-mode-label {
    padding: 13px 17px 0;
    color: #86909d;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}

html.oprift-preview .oprift-rank-divider {
    margin-top: 2px;
    border-top: 1px solid #e4e7e8;
}

html.oprift-preview .oprift-rank-mode-label + .oprift-rank-block {
    padding-top: 11px;
}

html.oprift-preview .oprift-legendary-rank-block {
    padding-bottom: 18px;
}

html.oprift-preview .oprift-legendary-emblem {
    background: transparent;
}

html.oprift-preview .oprift-rank-emblem {
    position: relative;
    display: grid;
    place-items: center;
    width: 66px;
    height: 58px;
    margin-right: 14px;
    color: #f0d9a0;
    background: transparent;
}

html.oprift-preview .oprift-rank-art {
    position: relative;
    display: grid;
    place-items: center;
    width: 66px;
    height: 58px;
    overflow: hidden;
    border-radius: 10px;
    background: transparent;
}

html.oprift-preview .oprift-rank-art.legendary { background: transparent; }
html.oprift-preview .oprift-rank-art img { position: relative; z-index: 1; width: 100%; height: 100%; object-fit: cover; object-position: center; }
html.oprift-preview .oprift-rank-art.legendary img { object-fit: contain; }
html.oprift-preview .oprift-rank-art b { position: absolute; font: 400 20px/1 Georgia, serif; }
html.oprift-preview .oprift-rank-art img + b { display: none; }
html.oprift-preview .oprift-rank-emblem > .oprift-rank-art { margin: 0; }
html.oprift-preview .oprift-rank-block strong { color: #263445; font-size: 16px; text-transform: capitalize; }
html.oprift-preview .oprift-rank-block p { margin-top: 4px; color: #7e8996; font-size: 12px; }

html.oprift-preview .oprift-record {
    display: flex;
    align-items: center;
    gap: 16px;
    margin: 0 16px 16px;
    padding-top: 14px;
    border-top: 1px solid #e9edf1;
}

html.oprift-preview .oprift-donut {
    position: relative;
    display: grid;
    place-items: center;
    width: 76px;
    height: 76px;
    flex: 0 0 76px;
    border-radius: 50%;
    background: conic-gradient(#1685a3 calc(var(--rate) * 1%), #e9656d 0);
}

html.oprift-preview .oprift-donut::before {
    content: "";
    position: absolute;
    inset: 8px;
    border-radius: 50%;
    background: #fff;
}

html.oprift-preview .oprift-donut strong,
html.oprift-preview .oprift-donut span { position: absolute; z-index: 1; }
html.oprift-preview .oprift-donut strong { top: 23px; color: #253446; font-size: 14px; }
html.oprift-preview .oprift-donut span { top: 42px; color: #8792a0; font-size: 8px; text-transform: uppercase; }

html.oprift-preview .oprift-record-copy { display: grid; gap: 8px; }
html.oprift-preview .oprift-record-copy > b { color: #384658; font-size: 13px; }
html.oprift-preview .oprift-record-copy > span { display: flex; gap: 10px; font-size: 11px; }
html.oprift-preview .oprift-record-copy i { color: #1685a3; font-style: normal; font-weight: 700; }
html.oprift-preview .oprift-record-copy em { color: #d4555d; font-style: normal; font-weight: 700; }

html.oprift-preview .oprift-champions-panel .champions-grid {
    display: block;
    padding: 4px 14px 8px;
}

html.oprift-preview .oprift-champions-panel .champion-card {
    display: grid;
    grid-template-columns: 42px minmax(0, 1fr) minmax(82px, .9fr) auto;
    align-items: center;
    gap: 10px;
    min-height: 61px;
    padding: 8px 0;
    border: 0;
    border-bottom: 1px solid #edf0f3;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

html.oprift-preview .oprift-champions-panel .champion-card:last-child { border-bottom: 0; }

html.oprift-preview .champion-icon {
    position: relative;
    width: 42px;
    height: 42px;
    overflow: hidden;
    border: 1px solid #a98b4d;
    border-radius: 50%;
    background: #153f57;
}

html.oprift-preview .champion-name { overflow: hidden; color: #344255; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
html.oprift-preview .champion-title { overflow: hidden; margin-top: 3px; color: #929ba8; font-size: 9px; text-overflow: ellipsis; white-space: nowrap; }
html.oprift-preview .champion-kda { min-width: 0; }
html.oprift-preview .champion-kda strong { display: block; color: #344255; font-size: 10px; white-space: nowrap; }
html.oprift-preview .champion-kda span { display: block; margin-top: 3px; color: #929ba8; font-size: 9px; white-space: nowrap; }
html.oprift-preview .champion-wr { font-size: 13px; }
html.oprift-preview .champion-games { margin-top: 3px; color: #8e98a5; font-size: 9px; }

html.oprift-preview .oprift-overview {
    display: grid;
    grid-template-columns: repeat(2, minmax(230px, 1fr)) minmax(185px, .72fr);
    gap: 10px;
}

html.oprift-preview .oprift-overview > div {
    display: flex;
    min-width: 0;
    padding: 17px 18px;
    border: 1px solid #dbe3e9;
    background: #fff;
}

html.oprift-preview .oprift-overview-kicker { color: #7f8996; font-size: 9px; font-weight: 750; text-transform: uppercase; letter-spacing: .07em; }

html.oprift-preview .oprift-rank-snapshot {
    align-items: center;
    gap: 14px;
    box-shadow: inset 0 -2px 0 rgba(22, 133, 163, .8);
}

html.oprift-preview .oprift-rank-snapshot.legendary {
    border-color: #ddd8e8;
    box-shadow: inset 0 -2px 0 rgba(118, 84, 151, .78);
}

html.oprift-preview .oprift-rank-snapshot > .oprift-rank-art.compact {
    width: 58px;
    height: 58px;
    flex: 0 0 58px;
    border: 0;
    border-radius: 50%;
    background: transparent;
}

html.oprift-preview .oprift-rank-snapshot > .oprift-rank-art.compact img {
    object-fit: contain;
}

html.oprift-preview .oprift-rank-snapshot-copy { min-width: 0; }
html.oprift-preview .oprift-rank-snapshot-copy > span {
    display: block;
    color: #7e8996;
    font-size: 8px;
    font-weight: 750;
    letter-spacing: .055em;
    text-transform: uppercase;
}

html.oprift-preview .oprift-rank-snapshot-copy > strong {
    display: block;
    overflow: hidden;
    margin-top: 5px;
    color: #233245;
    font-size: 16px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

html.oprift-preview .oprift-rank-snapshot.legendary .oprift-rank-snapshot-copy > strong { color: #65488a; }
html.oprift-preview .oprift-rank-snapshot-copy > small { display: flex; flex-wrap: wrap; gap: 5px 11px; margin-top: 7px; }
html.oprift-preview .oprift-rank-snapshot-copy > small b { color: #1685a3; font-size: 10px; }
html.oprift-preview .oprift-rank-snapshot.legendary .oprift-rank-snapshot-copy > small b { color: #765497; }
html.oprift-preview .oprift-rank-snapshot-copy > small i { color: #929ca8; font-size: 9px; font-style: normal; }

html.oprift-preview .oprift-recent-form {
    flex-direction: column;
    justify-content: center;
}

html.oprift-preview .oprift-form-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

html.oprift-preview .oprift-form-head span {
    color: #687688;
    font-size: 9px;
    font-weight: 750;
    letter-spacing: .065em;
    text-transform: uppercase;
}

html.oprift-preview .oprift-form-head small {
    color: #9aa4af;
    font-size: 8px;
}

html.oprift-preview .oprift-form-score {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    margin-top: 18px;
}

html.oprift-preview .oprift-form-score strong { color: #7d8996; font-size: 8px; font-weight: 650; white-space: nowrap; }
html.oprift-preview .oprift-form-score strong:last-child { text-align: right; }
html.oprift-preview .oprift-form-score strong i,
html.oprift-preview .oprift-form-score strong em { margin-right: 3px; font-size: 18px; font-style: normal; font-weight: 780; }
html.oprift-preview .oprift-form-score strong i { color: #1685a3; }
html.oprift-preview .oprift-form-score strong em { color: #d4555d; }

html.oprift-preview .oprift-form-track {
    position: relative;
    height: 4px;
    overflow: hidden;
    margin-top: 11px;
    background: rgba(212, 85, 93, .3);
}

html.oprift-preview .oprift-form-track i {
    display: block;
    width: var(--recent-win);
    height: 100%;
    background: #1685a3;
}

html.oprift-preview .oprift-seasons-panel { overflow: hidden; }

html.oprift-preview .oprift-seasons-head {
    min-height: 58px !important;
    background: linear-gradient(90deg, #fff 0 72%, #f7fafb 100%);
}

html.oprift-preview .oprift-seasons-head > div h2 { font-size: 15px; }

html.oprift-preview .oprift-current-season-badge {
    display: flex;
    align-items: center;
    height: 27px;
    padding: 0 11px;
    border: 1px solid #b9d9df;
    border-radius: 999px;
    color: #147b8d;
    background: #eef8f9;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
}

html.oprift-preview .oprift-season-body {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: #e3e8ed;
}

html.oprift-preview .oprift-season-body::before {
    content: "";
    position: absolute;
    z-index: 2;
    top: 0;
    left: 50%;
    width: 54px;
    height: 2px;
    background: linear-gradient(90deg, #14879b 0 50%, #7b5a9b 50% 100%);
    transform: translateX(-50%);
}

html.oprift-preview .oprift-season-mode {
    min-height: 178px;
    padding: 18px 20px 17px;
    background: #fff;
}

html.oprift-preview .oprift-season-mode.legendary { background: linear-gradient(135deg, #fff 0 72%, #faf8fc 100%); }

html.oprift-preview .oprift-season-mode-head {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: #7f8996;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

html.oprift-preview .oprift-season-mode-head .oprift-rank-art.compact {
    width: 31px;
    height: 31px;
    flex: 0 0 31px;
    border: 1px solid #c2a66a;
    border-radius: 50%;
    color: #0e7890;
}

html.oprift-preview .oprift-season-mode-head .oprift-rank-art.compact b { font-size: 13px; }
html.oprift-preview .oprift-season-mode.legendary .oprift-season-mode-head .oprift-rank-art { color: #765497; }
html.oprift-preview .oprift-season-mode > strong { color: #263445; font-size: 17px; }
html.oprift-preview .oprift-season-mode > p { margin-top: 5px; color: #8a94a1; font-size: 10px; }

html.oprift-preview .oprift-season-metrics {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
    margin-top: 18px;
}

html.oprift-preview .oprift-season-metrics > div {
    min-width: 0;
    padding-left: 9px;
    border-left: 2px solid #dfe6ea;
}

html.oprift-preview .oprift-season-metrics span {
    display: block;
    overflow: hidden;
    color: #98a1ad;
    font-size: 8px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

html.oprift-preview .oprift-season-metrics strong {
    display: block;
    margin-top: 5px;
    color: #304155;
    font-size: 14px;
}

html.oprift-preview .oprift-season-mode.is-empty { background: #fafbfc; }
html.oprift-preview .oprift-season-mode.is-empty > strong { color: #657386; font-size: 14px; }
html.oprift-preview .oprift-season-mode.is-empty > p { max-width: 310px; line-height: 1.5; }

html.oprift-preview .oprift-complete-stats-panel { overflow: hidden; }

html.oprift-preview .oprift-complete-stats-head {
    min-height: 58px !important;
    background: linear-gradient(90deg, #fff 0 72%, #f7fafb 100%);
}

html.oprift-preview .oprift-complete-stats-head > div h2 { font-size: 15px; }
html.oprift-preview .oprift-complete-stats-head > span {
    color: #8793a1;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

html.oprift-preview .oprift-complete-stats-body {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    background: #e1e7eb;
}

html.oprift-preview .oprift-complete-stats-body::before {
    content: "";
    position: absolute;
    z-index: 2;
    top: 0;
    left: 50%;
    width: 74px;
    height: 3px;
    background: linear-gradient(90deg, #14879b 0 50%, #765497 50% 100%);
    transform: translateX(-50%);
}

html.oprift-preview .oprift-queue-stats {
    min-width: 0;
    padding: 18px 20px 20px;
    background: #fff;
}

html.oprift-preview .oprift-queue-stats.legendary {
    background: linear-gradient(145deg, #fff 0 74%, #faf8fc 100%);
}

html.oprift-preview .oprift-queue-stats-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #344356;
}

html.oprift-preview .oprift-queue-stats-title i {
    width: 8px;
    height: 8px;
    border: 2px solid #16879b;
    transform: rotate(45deg);
}

html.oprift-preview .oprift-queue-stats.legendary .oprift-queue-stats-title i { border-color: #765497; }
html.oprift-preview .oprift-queue-stats-title strong { font-size: 12px; }
html.oprift-preview .oprift-queue-stats-title span {
    margin-left: auto;
    color: #9aa4af;
    font-size: 8px;
    letter-spacing: .05em;
    text-transform: uppercase;
}

html.oprift-preview .oprift-queue-record {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    margin-top: 16px;
    border: 1px solid #e2e7eb;
    background: #fbfcfd;
}

html.oprift-preview .oprift-queue-record > div {
    min-width: 0;
    padding: 10px 9px;
    border-right: 1px solid #e2e7eb;
}

html.oprift-preview .oprift-queue-record > div:last-child { border-right: 0; }
html.oprift-preview .oprift-queue-record span,
html.oprift-preview .oprift-performance-grid span {
    display: block;
    color: #929daa;
    font-size: 8px;
}
html.oprift-preview .oprift-queue-record strong {
    display: block;
    margin-top: 4px;
    color: #233448;
    font-size: 15px;
}

html.oprift-preview .oprift-stat-section-label {
    margin-top: 17px;
    color: #8b96a3;
    font-size: 8px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

html.oprift-preview .oprift-achievement-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 5px;
    margin-top: 8px;
}

html.oprift-preview .oprift-achievement-grid > div {
    min-width: 0;
    min-height: 54px;
    padding: 8px;
    border: 1px solid #e3e8ec;
    border-top: 2px solid #d3b064;
    background: #fff;
}

html.oprift-preview .oprift-achievement-grid strong { display: block; color: #26384b; font-size: 14px; }
html.oprift-preview .oprift-achievement-grid span {
    display: block;
    margin-top: 4px;
    overflow: hidden;
    color: #8d98a5;
    font-size: 7px;
    line-height: 1.2;
    text-overflow: ellipsis;
}

html.oprift-preview .oprift-performance-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 18px;
    margin-top: 6px;
}

html.oprift-preview .oprift-performance-grid > div {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 31px;
    border-bottom: 1px solid #edf0f2;
}

html.oprift-preview .oprift-performance-grid span { line-height: 1.25; }
html.oprift-preview .oprift-performance-grid strong { color: #2d4054; font-size: 11px; white-space: nowrap; }
html.oprift-preview .oprift-queue-stats.is-empty { min-height: 160px; }
html.oprift-preview .oprift-queue-stats.is-empty > p { margin-top: 20px; color: #8d98a5; font-size: 10px; }

html.oprift-preview .oprift-history-head { min-height: 58px !important; }
html.oprift-preview .oprift-history-head > div:first-child h2 { font-size: 15px; }

html.oprift-preview .oprift-filters { display: flex; gap: 4px; }
html.oprift-preview .oprift-filters button {
    height: 29px;
    padding: 0 10px;
    border: 1px solid #dfe4e9;
    border-radius: 4px;
    background: #fff;
    color: #7c8795;
    font-size: 10px;
}
html.oprift-preview .oprift-filters button.active { border-color: #14879b; background: #14879b; color: #fff; }
html.oprift-preview .oprift-filters button:focus-visible { outline: 2px solid #c99b3c; outline-offset: 2px; }

html.oprift-preview .oprift-filter-empty {
    margin: 6px;
    padding: 30px 18px;
    border: 1px dashed #d8e0e6;
    border-radius: 5px;
    color: #8b96a3;
    font-size: 11px;
    text-align: center;
}

html.oprift-preview .oprift-history-panel .match-history { border: 0; background: transparent; }
html.oprift-preview .oprift-history-panel .match-list { display: grid; gap: 4px; padding: 6px; }

html.oprift-preview .match-item {
    position: relative;
    display: grid;
    grid-template-columns: 104px minmax(170px, 1.25fr) 104px 76px minmax(105px, .7fr) 22px;
    gap: 11px;
    min-height: 76px;
    padding: 10px 13px 10px 9px;
    overflow: hidden;
    border: 1px solid #d9e5e8;
    border-left: 4px solid #1685a3;
    border-radius: 4px;
    background: #f2f9fa;
    box-shadow: none;
}

html.oprift-preview .match-item.defeat {
    border-color: #eadadc;
    border-left-color: #d4555d;
    background: #fff5f5;
}

html.oprift-preview .match-item:hover { transform: none; filter: brightness(.985); }
html.oprift-preview .match-summary[aria-expanded="true"] { border-color: #b7d4da; border-left-color: #1685a3; border-radius: 4px 4px 0 0; background: #edf7f8; }
html.oprift-preview .match-entry.defeat .match-summary[aria-expanded="true"] { border-color: #e6cfd2; border-left-color: #d4555d; background: #fff0f1; }
html.oprift-preview .match-summary:focus-visible { outline-color: #1685a3; }
html.oprift-preview .match-summary[aria-expanded="true"] .match-chevron { border-color: #1685a3; }
html.oprift-preview .match-inline-detail { border-color: #b7d4da; border-radius: 0 0 4px 4px; box-shadow: inset 4px 0 0 #1685a3; }
html.oprift-preview .match-entry.defeat .match-inline-detail { border-color: #e6cfd2; box-shadow: inset 4px 0 0 #d4555d; }
html.oprift-preview .match-inline-detail { background: #fff; }
html.oprift-preview .match-detail-toolbar { border-color: #dfe6ea; background: #f6f9fa; }
html.oprift-preview .match-detail-toolbar strong { color: #2d3b4c; }
html.oprift-preview .match-detail-toolbar > div span,
html.oprift-preview .match-team-column-head,
html.oprift-preview .match-team-identity small,
html.oprift-preview .match-detail-score span,
html.oprift-preview .match-detail-gold span { color: #8995a3; }
html.oprift-preview .match-team-tables { background: #f3f6f8; }
html.oprift-preview .match-team-block { border-color: #dce4e8; background: #fff; }
html.oprift-preview .match-team-block > header { border-color: #e1e7eb; background: #f6f9fa; }
html.oprift-preview .match-team-block > header strong { color: #2f3d4e; }
html.oprift-preview .match-team-block > header span { color: #8995a3; }
html.oprift-preview .match-team-block.allied > header strong { color: #1685a3; }
html.oprift-preview .match-team-block.enemy > header strong { color: #d4555d; }
html.oprift-preview .match-team-column-head { border-color: #e4e9ed; background: #fbfcfd; }
html.oprift-preview .match-team-player { background: #fff; }
html.oprift-preview .match-team-player + .match-team-player { border-color: #e7ecef; }
html.oprift-preview .match-team-player.is-current-player { background: #edf7f8; box-shadow: inset 3px 0 0 #1685a3; }
html.oprift-preview .match-team-player.is-pending { background: #fafbfc; }
html.oprift-preview .match-team-identity strong,
html.oprift-preview .match-detail-score strong,
html.oprift-preview .match-detail-gold strong { color: #2f3d4e; }
html.oprift-preview .match-team-placeholder-icon { border-color: #cbd6dc; background: #f1f4f6; }
html.oprift-preview .match-asset-icon {
    border-color: #bfccd3;
    background: linear-gradient(145deg, #f7fafb, #e5edf1);
    color: #688694;
    box-shadow: 0 1px 2px rgba(21, 50, 68, .08);
}
html.oprift-preview .match-asset-icon.is-spell { border-color: #b7cad2; }
html.oprift-preview .match-asset-icon.is-unresolved { background: #edf2f4; color: #8fa4ad; }
html.oprift-preview .match-data-empty { color: #9aa5b0; }

html.oprift-preview .match-result-badge {
    align-self: stretch;
    display: flex;
    align-items: center;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #1685a3;
    font-size: 10px;
    font-weight: 850;
    letter-spacing: .025em;
}

html.oprift-preview .match-result-badge.defeat { color: #d4555d; }
html.oprift-preview .match-result-badge.unknown { color: #7b8796; }
html.oprift-preview .match-result-summary { align-self: stretch; display: flex; flex-direction: column; justify-content: center; padding-left: 7px; border-left: 1px solid rgba(22, 133, 163, .2); }
html.oprift-preview .match-entry.defeat .match-result-summary { border-left-color: rgba(212, 85, 93, .22); }
html.oprift-preview .match-result-summary strong { color: #1685a3; font-size: 11px; }
html.oprift-preview .match-result-summary.defeat strong { color: #d4555d; }
html.oprift-preview .match-result-summary span { color: #596879; font-size: 9px; font-weight: 650; }
html.oprift-preview .match-result-summary small { color: #929ca7; font-size: 8px; }

html.oprift-preview .match-performance-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 3px;
    margin-top: 5px;
}

html.oprift-preview .match-performance-badges b {
    min-width: 24px;
    padding: 2px 5px;
    border: 1px solid #d7b45e;
    border-radius: 3px;
    background: #fff8df;
    color: #9a6b05;
    font-size: 8px;
    font-weight: 850;
    line-height: 1;
    text-align: center;
}

html.oprift-preview .match-performance-badges .is-svp {
    border-color: #b7a8d8;
    background: #f4f0ff;
    color: #72549f;
}

html.oprift-preview .match-performance-badges .is-grade-s,
html.oprift-preview .match-performance-badges .is-grade-a {
    border-color: #9acbd5;
    background: #edf9fb;
    color: #117b91;
}

html.oprift-preview .match-performance-badges .is-rank-change {
    border-color: rgba(22, 133, 163, .28);
    background: rgba(22, 133, 163, .08);
    color: #126f88;
}

html.oprift-preview .match-champ-icon {
    position: relative;
    width: 52px;
    height: 52px;
    overflow: hidden;
    border: 1px solid #9d854e;
    border-radius: 8px;
    background: #153f57;
}

html.oprift-preview .match-details { min-width: 0; }
html.oprift-preview .match-champ-name { overflow: hidden; color: #2f3d4e; font-size: 13px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
html.oprift-preview .match-meta { margin-top: 5px; color: #7d8997; font-size: 10px; }

html.oprift-preview .match-kda { text-align: center; }
html.oprift-preview .kda-text { color: #253345 !important; font-size: 15px; font-weight: 750; }
html.oprift-preview .match-kda small { display: block; margin-top: 5px; color: #8a95a2; font-size: 9px; }
html.oprift-preview .match-economy strong { color: #334253; }
html.oprift-preview .match-economy span,
html.oprift-preview .match-detail-hint span { color: #8a95a2; }
html.oprift-preview .match-detail-hint small { color: #14879b; }
html.oprift-preview .match-time { min-width: 0; text-align: right; }
html.oprift-preview .match-duration { color: #4f5d6e; font-size: 11px; font-weight: 650; }
html.oprift-preview .match-date { margin-top: 5px; color: #919ba7; font-size: 9px; }

html.oprift-preview .empty-state {
    border: 0;
    background: #fff;
    color: #475569;
}

html.oprift-preview .empty-state .icon { filter: grayscale(1); opacity: .6; }

html.oprift-preview .profile-unavailable {
    display: grid;
    grid-template-columns: minmax(430px, 1.1fr) minmax(330px, .9fr);
    align-items: center;
    min-height: calc(100vh - 150px);
    overflow: hidden;
    border: 1px solid #d8e2e7;
    background: #fff;
}

html.oprift-preview .profile-unavailable-visual {
    align-self: stretch;
    display: grid;
    place-items: center;
    padding: clamp(28px, 5vw, 72px);
    border-right: 1px solid #e0e8ec;
    background: linear-gradient(145deg, #f3f9fa, #eaf3f6);
}

html.oprift-preview .profile-unavailable-visual svg {
    display: block;
    width: 100%;
    max-width: 720px;
    height: auto;
}

html.oprift-preview .profile-unavailable-copy {
    max-width: 490px;
    padding: clamp(38px, 6vw, 84px);
}

html.oprift-preview .profile-unavailable-eyebrow {
    color: #11889d;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

html.oprift-preview .profile-unavailable h2 {
    max-width: 440px;
    margin: 15px 0 0;
    color: #172b3c;
    font-size: clamp(28px, 3.2vw, 45px);
    font-weight: 780;
    line-height: 1.04;
    letter-spacing: -.045em;
}

html.oprift-preview .profile-unavailable-copy > p {
    max-width: 410px;
    margin: 20px 0 0;
    color: #71808f;
    font-size: 14px;
    line-height: 1.7;
}

html.oprift-preview .profile-unavailable-action {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
    min-width: 190px;
    height: 46px;
    margin-top: 28px;
    padding: 0 18px 0 22px;
    border: 1px solid #0e7e92;
    border-radius: 3px;
    background: #138ca0;
    box-shadow: 0 8px 20px rgba(19, 140, 160, .17);
    color: #fff;
    font: inherit;
    font-size: 12px;
    font-weight: 760;
    cursor: pointer;
    transition: background .18s ease, box-shadow .18s ease, transform .18s ease;
}

html.oprift-preview .profile-unavailable-action i {
    font-size: 17px;
    font-style: normal;
    line-height: 1;
    transition: transform .18s ease;
}

html.oprift-preview .profile-unavailable-action:hover {
    background: #0d788b;
    box-shadow: 0 10px 24px rgba(19, 140, 160, .22);
    transform: translateY(-1px);
}

html.oprift-preview .profile-unavailable-action:hover i { transform: translateX(3px); }
html.oprift-preview .profile-unavailable-action:focus-visible { outline: 3px solid rgba(19, 140, 160, .24); outline-offset: 3px; }

html.oprift-preview .profile-unavailable-note {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-top: 22px;
    color: #8a97a3;
    font-size: 10px;
}

html.oprift-preview .profile-unavailable-note i {
    width: 7px;
    height: 7px;
    flex: 0 0 7px;
    border: 1px solid #c29b3d;
    background: rgba(205, 166, 70, .18);
    transform: rotate(45deg);
}

html.oprift-preview .profile-unavailable #remoteLookupStatus { min-height: 1px; margin-top: 12px; color: #7b8997; font-size: 11px; }
html.oprift-preview .pending-orbit { transform-origin: 152px 176px; animation: pending-orbit-turn 18s linear infinite; }
html.oprift-preview .pending-scan { transform-origin: 152px 176px; animation: pending-scan-sweep 4.8s ease-in-out infinite; }
html.oprift-preview .pending-avatar { animation: pending-avatar-pulse 3.2s ease-in-out infinite; }

@keyframes pending-orbit-turn {
    to { transform: rotate(360deg); }
}

@keyframes pending-scan-sweep {
    0%, 100% { transform: rotate(-32deg); opacity: .38; }
    50% { transform: rotate(32deg); opacity: .9; }
}

@keyframes pending-avatar-pulse {
    0%, 100% { opacity: .72; }
    50% { opacity: 1; }
}

html.oprift-preview .lookup-problem {
    --lookup-accent: #138ca0;
    display: grid;
    grid-template-columns: minmax(190px, .58fr) minmax(320px, 1fr);
    align-items: center;
    gap: clamp(38px, 6vw, 86px);
    min-height: min(620px, calc(100vh - 150px));
    padding: clamp(46px, 7vw, 92px);
    border: 1px solid #d9e3e8;
    background:
        linear-gradient(90deg, rgba(19, 140, 160, .035) 1px, transparent 1px) 0 0 / 42px 42px,
        linear-gradient(rgba(19, 140, 160, .035) 1px, transparent 1px) 0 0 / 42px 42px,
        #fff;
}

html.oprift-preview .lookup-problem[data-state="not_found"] { --lookup-accent: #c44d5a; }
html.oprift-preview .lookup-problem[data-state="unverified"] { --lookup-accent: #b18a36; }

html.oprift-preview .lookup-problem-mark {
    position: relative;
    width: clamp(112px, 14vw, 158px);
    aspect-ratio: 1;
    justify-self: end;
    border: 1px solid color-mix(in srgb, var(--lookup-accent) 55%, white);
    background: rgba(255, 255, 255, .92);
    transform: rotate(45deg);
    box-shadow: 17px 17px 0 color-mix(in srgb, var(--lookup-accent) 8%, white);
}

html.oprift-preview .lookup-problem-mark::before,
html.oprift-preview .lookup-problem-mark::after {
    content: '';
    position: absolute;
    inset: 14px;
    border: 1px solid color-mix(in srgb, var(--lookup-accent) 26%, white);
}

html.oprift-preview .lookup-problem-mark::after {
    inset: 28px;
    background: color-mix(in srgb, var(--lookup-accent) 7%, white);
}

html.oprift-preview .lookup-problem-mark i {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: -9px;
    width: calc(100% + 18px);
    height: 2px;
    background: var(--lookup-accent);
    opacity: .7;
}

html.oprift-preview .lookup-problem-mark strong {
    position: absolute;
    z-index: 3;
    inset: 0;
    display: grid;
    place-items: center;
    color: var(--lookup-accent);
    font-size: clamp(38px, 5vw, 62px);
    font-weight: 360;
    transform: rotate(-45deg);
}

html.oprift-preview .lookup-problem-copy {
    width: min(100%, 520px);
}

html.oprift-preview .lookup-problem-copy > span {
    color: var(--lookup-accent);
    font-size: 10px;
    font-weight: 820;
    letter-spacing: .14em;
    text-transform: uppercase;
}

html.oprift-preview .lookup-problem h2 {
    max-width: 470px;
    margin: 14px 0 0;
    color: #192f41;
    font-size: clamp(28px, 3.4vw, 46px);
    font-weight: 780;
    line-height: 1.04;
    letter-spacing: -.045em;
}

html.oprift-preview .lookup-problem-copy > p {
    max-width: 455px;
    margin: 20px 0 0;
    color: #71808f;
    font-size: 14px;
    line-height: 1.7;
}

html.oprift-preview .lookup-problem-detail {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    max-width: 455px;
    margin-top: 25px;
    padding: 13px 15px;
    border: 1px solid #dde6ea;
    border-left: 3px solid var(--lookup-accent);
    background: #f8fbfc;
}

html.oprift-preview .lookup-problem-detail small {
    color: #91a0ad;
    font-size: 9px;
    font-weight: 750;
    letter-spacing: .07em;
    text-transform: uppercase;
}

html.oprift-preview .lookup-problem-detail b {
    color: #314b5e;
    font-size: 12px;
    font-weight: 760;
}

html.oprift-preview .lookup-problem .retry-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    margin-top: 20px;
    padding: 10px 17px;
    border-width: 1px;
    border-style: solid;
    border-radius: 2px;
    border-color: var(--lookup-accent);
    background: var(--lookup-accent);
    color: #fff;
    font: inherit;
    font-size: 11px;
    font-weight: 760;
    letter-spacing: .015em;
    cursor: pointer;
}

html.oprift-preview .lookup-problem .retry-btn:hover {
    filter: brightness(.94);
}

html.oprift-preview .lookup-problem .retry-btn:focus-visible {
    outline: 3px solid color-mix(in srgb, var(--lookup-accent) 22%, transparent);
    outline-offset: 3px;
}

html.oprift-preview .capture-workshop {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    align-content: start;
    gap: clamp(42px, 6vw, 96px);
    min-height: calc(100vh - 150px);
    padding: clamp(52px, 7vh, 82px) clamp(36px, 5vw, 86px);
    overflow: hidden;
    border: 1px solid #d9e3e8;
    background: #fff;
    color: #1d3041;
}

html.oprift-preview .capture-workshop-visual {
    width: 100%;
    max-width: 760px;
    justify-self: center;
    padding: clamp(22px, 3vw, 42px);
    border: 1px solid #dce7eb;
    border-radius: 12px;
    background: linear-gradient(145deg, #f4f9fa 0%, #edf4f7 100%);
}

html.oprift-preview .capture-workshop-visual svg {
    display: block;
    width: 100%;
    max-width: 760px;
    height: auto;
    margin: auto;
}

html.oprift-preview .capture-workshop-copy {
    width: min(100%, 480px);
    max-width: none;
    justify-self: center;
    padding: 0;
}

html.oprift-preview .capture-workshop-eyebrow {
    color: #11889d;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

html.oprift-preview .capture-workshop h2 {
    max-width: 360px;
    margin: 15px 0 0;
    color: #172b3c;
    font-size: clamp(27px, 3vw, 42px);
    font-weight: 780;
    line-height: 1.04;
    letter-spacing: -.045em;
}

html.oprift-preview .capture-workshop-copy > p {
    max-width: 390px;
    margin: 20px 0 0;
    color: #71808f;
    font-size: 14px;
    line-height: 1.7;
}

html.oprift-preview .capture-workshop-status {
    display: flex;
    align-items: center;
    gap: 11px;
    margin-top: 28px;
    padding: 13px 15px;
    border: 1px solid #d7e4e8;
    background: #f7fbfc;
}

html.oprift-preview .capture-workshop-status i {
    position: relative;
    width: 9px;
    height: 9px;
    flex: 0 0 9px;
    border-radius: 50%;
    background: #1594a9;
    box-shadow: 0 0 0 5px rgba(21, 148, 169, .11);
    animation: workshop-status-pulse 1.8s ease-in-out infinite;
}

html.oprift-preview .capture-workshop-status strong {
    color: #365064;
    font-size: 12px;
    font-weight: 700;
}

html.oprift-preview .remote-lookup-progress {
    margin-top: 17px;
    padding: 14px 15px 12px;
    border: 1px solid #e0e8ec;
    background: #fff;
}

html.oprift-preview .remote-lookup-progress-meta {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    color: #617485;
    font-size: 10px;
    font-weight: 750;
    letter-spacing: .055em;
    text-transform: uppercase;
}

html.oprift-preview .remote-lookup-progress-meta strong {
    color: #138ca0;
    font-size: 11px;
    font-variant-numeric: tabular-nums;
}

html.oprift-preview .remote-lookup-progress-track {
    position: relative;
    height: 7px;
    margin-top: 9px;
    overflow: hidden;
    border-radius: 999px;
    background: #e8eff2;
}

html.oprift-preview .remote-lookup-progress-track > span {
    position: absolute;
    inset: 0 auto 0 0;
    min-width: 8px;
    border-radius: inherit;
    background: linear-gradient(90deg, #148ba0 0%, #36afbd 72%, #d2aa4a 100%);
    box-shadow: 0 0 12px rgba(20, 139, 160, .22);
    transition: width .55s cubic-bezier(.22, .8, .3, 1);
}

html.oprift-preview .remote-lookup-progress-track > span::after {
    content: '';
    position: absolute;
    inset: 0;
    width: 38%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .62), transparent);
    animation: remote-progress-scan 1.8s ease-in-out infinite;
}

html.oprift-preview .remote-lookup-progress-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 10px;
    color: #9aa6b0;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: .035em;
}

html.oprift-preview .remote-lookup-progress-steps span {
    position: relative;
    padding-left: 11px;
}

html.oprift-preview .remote-lookup-progress-steps span::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #c7d1d7;
    transform: translateY(-50%);
}

html.oprift-preview .remote-lookup-progress-steps span:nth-child(2) { text-align: center; }
html.oprift-preview .remote-lookup-progress-steps span:nth-child(2)::before { position: relative; display: inline-block; top: auto; margin-right: 6px; transform: none; }
html.oprift-preview .remote-lookup-progress-steps span:last-child { padding-right: 11px; padding-left: 0; text-align: right; }
html.oprift-preview .remote-lookup-progress-steps span:last-child::before { right: 0; left: auto; }

html.oprift-preview .remote-lookup-progress-steps span.is-active {
    color: #247d8e;
}

html.oprift-preview .remote-lookup-progress-steps span.is-active::before {
    background: #1692a7;
    box-shadow: 0 0 0 3px rgba(22, 146, 167, .1);
}

html.oprift-preview .profile-refresh-progress {
    display: grid;
    grid-template-columns: minmax(220px, .75fr) minmax(380px, 1.25fr);
    align-items: center;
    gap: 28px;
    margin: 12px 0;
    padding: 17px 20px;
    border: 1px solid #d9e3e8;
    border-left: 3px solid #1791a6;
    background: #fff;
    box-shadow: 0 8px 22px rgba(39, 61, 78, .045);
}

html.oprift-preview .profile-refresh-progress-copy {
    display: grid;
    gap: 5px;
}

html.oprift-preview .profile-refresh-progress-copy > span {
    color: #138ca0;
    font-size: 9px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

html.oprift-preview .profile-refresh-progress-copy > b {
    color: #1e3446;
    font-size: 16px;
    font-weight: 760;
    line-height: 1.2;
    letter-spacing: -.02em;
}

html.oprift-preview .profile-refresh-progress-copy > strong {
    color: #2e4659;
    font-size: 12px;
    line-height: 1.45;
}

html.oprift-preview .profile-refresh-progress .remote-lookup-progress {
    margin: 0;
    padding: 0;
    border: 0;
}

html.oprift-preview .profile-refresh-progress .retry-btn {
    justify-self: start;
    margin-top: 2px;
}

html.oprift-preview .capture-workshop-copy > small {
    display: block;
    margin-top: 13px;
    color: #98a3ad;
    font-size: 10px;
}

html.oprift-preview .capture-workshop[data-phase="failed"] .capture-workshop-status {
    border-color: rgba(216, 76, 89, .25);
    background: rgba(216, 76, 89, .045);
}

html.oprift-preview .capture-workshop[data-phase="failed"] .capture-workshop-status i {
    background: #d84c59;
    box-shadow: 0 0 0 5px rgba(216, 76, 89, .1);
    animation: none;
}

html.oprift-preview .capture-workshop[data-phase="failed"] .capture-workshop-status strong { color: #b53e4c; }
html.oprift-preview .capture-workshop[data-phase="failed"] .remote-lookup-progress-meta strong,
html.oprift-preview .profile-refresh-progress[data-phase="failed"] .remote-lookup-progress-meta strong { color: #b53e4c; }
html.oprift-preview .capture-workshop[data-phase="failed"] .remote-lookup-progress-track > span,
html.oprift-preview .profile-refresh-progress[data-phase="failed"] .remote-lookup-progress-track > span {
    background: #d84c59;
    box-shadow: none;
}
html.oprift-preview .capture-workshop[data-phase="failed"] .remote-lookup-progress-track > span::after,
html.oprift-preview .profile-refresh-progress[data-phase="failed"] .remote-lookup-progress-track > span::after { animation: none; opacity: 0; }
html.oprift-preview .profile-refresh-progress[data-phase="failed"] { border-left-color: #d84c59; }

@keyframes remote-progress-scan {
    0% { transform: translateX(-120%); opacity: 0; }
    35% { opacity: 1; }
    100% { transform: translateX(330%); opacity: 0; }
}
html.oprift-preview .workshop-worker-left { transform-origin: 172px 240px; animation: workshop-worker-bob 2.8s ease-in-out infinite; }
html.oprift-preview .workshop-worker-right { transform-origin: 560px 220px; animation: workshop-worker-bob 2.8s .45s ease-in-out infinite; }
html.oprift-preview .workshop-lifted-tile { animation: workshop-tile-lift 3.2s ease-in-out infinite; }
html.oprift-preview .workshop-wrench { transform-origin: 600px 158px; animation: workshop-wrench-turn 1.9s ease-in-out infinite; }
html.oprift-preview .workshop-bars rect { transform-box: fill-box; transform-origin: center bottom; animation: workshop-bar-grow 2.4s ease-in-out infinite; }
html.oprift-preview .workshop-bars rect:nth-child(2) { animation-delay: .12s; }
html.oprift-preview .workshop-bars rect:nth-child(3) { animation-delay: .24s; }
html.oprift-preview .workshop-bars rect:nth-child(4) { animation-delay: .36s; }
html.oprift-preview .workshop-bars rect:nth-child(5) { animation-delay: .48s; }
html.oprift-preview .workshop-sparks { animation: workshop-sparks 1.5s ease-in-out infinite; }

@keyframes workshop-worker-bob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

@keyframes workshop-tile-lift {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(7px); }
}

@keyframes workshop-wrench-turn {
    0%, 100% { transform: rotate(-18deg); }
    50% { transform: rotate(8deg); }
}

@keyframes workshop-bar-grow {
    0%, 100% { transform: scaleY(.76); opacity: .72; }
    50% { transform: scaleY(1); opacity: 1; }
}

@keyframes workshop-sparks {
    0%, 100% { opacity: .25; transform: scale(.78); }
    50% { opacity: 1; transform: scale(1); }
}

@keyframes workshop-status-pulse {
    0%, 100% { transform: scale(.85); }
    50% { transform: scale(1.1); }
}

html.oprift-preview .modal-overlay { background: rgba(8, 22, 33, .72); }
html.oprift-preview .modal-content { border: 1px solid #dce2e8; border-radius: 7px; background: #fff; color: #475569; }
html.oprift-preview .modal-close { color: #657283; }

html.oprift-preview .welcome-screen {
    min-height: calc(100vh - 150px);
    padding: 105px 24px 80px;
    text-align: center;
}

html.oprift-preview .welcome-icon { display: none; }
html.oprift-preview .gm-welcome-logo {
    display: block;
    width: 138px;
    height: auto;
    margin: 0 auto;
    padding: 12px;
    border-radius: 16px;
    background: #0c334b;
    box-shadow: 0 14px 32px rgba(12, 51, 75, .16);
}
html.oprift-preview .welcome-title { margin-top: 18px; color: #182536; font-size: clamp(31px, 4vw, 48px); font-weight: 750; line-height: 1.08; letter-spacing: -1.8px; }
html.oprift-preview .welcome-subtitle { max-width: 560px; margin: 18px auto 0; color: #738092; font-size: 14px; line-height: 1.65; }
html.oprift-preview .oprift-welcome-example { display: inline-flex; flex-direction: column; gap: 4px; margin-top: 28px; padding: 11px 34px; border: 1px solid #d8e0e6; border-radius: 5px; background: #fff; box-shadow: 0 6px 20px rgba(20, 42, 59, .06); cursor: text; }
html.oprift-preview .oprift-welcome-example span { color: #919ba7; font-size: 9px; text-transform: uppercase; letter-spacing: .1em; }
html.oprift-preview .oprift-welcome-example strong { color: #0e7186; font-size: 13px; }

html.oprift-preview ::-webkit-scrollbar-track { background: #eef1f5; }
html.oprift-preview ::-webkit-scrollbar-thumb { background: #b8c1cb; }

@media (max-width: 920px) {
    html.oprift-preview .navbar { padding-inline: 18px; }
    html.oprift-preview .backend-status { display: none; }
    html.oprift-preview .oprift-layout { grid-template-columns: 270px minmax(0, 1fr); }
    html.oprift-preview .oprift-overview { grid-template-columns: repeat(2, 1fr); }
    html.oprift-preview .oprift-overview > div:nth-child(2n) { border-right: 0; }
    html.oprift-preview .oprift-overview > div:nth-child(-n+2) { border-bottom: 1px solid #e5e9ee; }
    html.oprift-preview .oprift-achievement-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    html.oprift-preview .oprift-performance-grid { grid-template-columns: 1fr; }
    html.oprift-preview .match-item { grid-template-columns: 90px minmax(145px, 1fr) 88px 62px 22px; }
    html.oprift-preview .match-champ-icon { width: 48px; height: 48px; }
    html.oprift-preview .match-detail-hint { display: none; }
    html.oprift-preview .match-team-block { overflow-x: auto; }
    html.oprift-preview .match-team-column-head,
    html.oprift-preview .match-team-player { min-width: 680px; grid-template-columns: minmax(165px, 1.1fr) 78px 112px minmax(190px, 1.35fr) 76px; }
    html.oprift-preview .capture-workshop { gap: 34px; padding: 46px 32px; }
    html.oprift-preview .capture-workshop-copy { padding-top: 0; }
}

@media (max-width: 720px) {
    html.oprift-preview body::before { height: 2px; }
    html.oprift-preview .navbar { flex-wrap: wrap; gap: 9px; padding: 10px 14px; }
    html.oprift-preview .navbar .logo { width: auto; flex: 0 0 auto; }
    html.oprift-preview .backend-status { margin-left: auto; }
    html.oprift-preview .search-container { order: 3; width: 100%; max-width: none; }
    html.oprift-preview .main-container { width: calc(100% - 20px); margin-top: 10px; }
    html.oprift-preview .oprift-profile-card { min-height: 106px; padding: 16px; }
    html.oprift-preview .oprift-profile-avatar { width: 64px; height: 64px; flex-basis: 64px; border-radius: 12px; }
    html.oprift-preview .oprift-identity { margin-left: 13px; }
    html.oprift-preview .oprift-eyebrow { font-size: 8px; }
    html.oprift-preview .oprift-identity h1 { font-size: 21px; }
    html.oprift-preview .oprift-identity h1 span { font-size: 12px; }
    html.oprift-preview .oprift-identity p { font-size: 9px; }
    html.oprift-preview .oprift-update { display: none; }
    html.oprift-preview .oprift-layout { grid-template-columns: 1fr; }
    html.oprift-preview .oprift-complete-stats-body { grid-template-columns: 1fr; }
    html.oprift-preview .oprift-complete-stats-body::before { left: 0; transform: none; }
    html.oprift-preview .oprift-sidebar { grid-template-columns: 1fr; }
    html.oprift-preview .oprift-history-panel { grid-row: auto; }
    html.oprift-preview .match-item { grid-template-columns: 82px minmax(130px, 1fr) 76px 54px 20px; gap: 8px; padding-right: 8px; }
    html.oprift-preview .match-champ-icon { width: 44px; height: 44px; border-radius: 7px; }
    html.oprift-preview .match-kda { display: block; }
    html.oprift-preview .kda-text { font-size: 12px; }
    html.oprift-preview .match-meta { font-size: 8px; }
    html.oprift-preview .match-detail-toolbar { align-items: flex-start; flex-direction: column; gap: 5px; }
    html.oprift-preview .match-capture-status { text-align: left; }
    html.oprift-preview .match-team-tables { padding: 10px; }
    html.oprift-preview .profile-unavailable { grid-template-columns: 1fr; min-height: 0; }
    html.oprift-preview .profile-unavailable-visual { padding: 20px; border-right: 0; border-bottom: 1px solid #e0e8ec; }
    html.oprift-preview .profile-unavailable-visual svg { max-width: 560px; }
    html.oprift-preview .profile-unavailable-copy { max-width: none; padding: 32px 24px 40px; text-align: center; }
    html.oprift-preview .profile-unavailable h2,
    html.oprift-preview .profile-unavailable-copy > p { margin-inline: auto; }
    html.oprift-preview .profile-unavailable-note { justify-content: center; }
    html.oprift-preview .capture-workshop { grid-template-columns: 1fr; min-height: 0; gap: 0; padding: 0; }
    html.oprift-preview .capture-workshop-visual { max-width: none; padding: 20px; border: 0; border-bottom: 1px solid #e1e8ec; border-radius: 0; }
    html.oprift-preview .capture-workshop-visual svg { max-width: 560px; }
    html.oprift-preview .capture-workshop-copy { max-width: none; padding: 30px 24px 38px; text-align: center; }
    html.oprift-preview .capture-workshop h2,
    html.oprift-preview .capture-workshop-copy > p { margin-inline: auto; }
    html.oprift-preview .capture-workshop-status { justify-content: center; }
    html.oprift-preview .profile-refresh-progress { grid-template-columns: 1fr; gap: 14px; padding: 16px; }
    html.oprift-preview .lookup-problem { grid-template-columns: 1fr; min-height: 0; gap: 46px; padding: 58px 28px; text-align: center; }
    html.oprift-preview .lookup-problem-mark { justify-self: center; }
    html.oprift-preview .lookup-problem-copy { justify-self: center; }
    html.oprift-preview .lookup-problem h2,
    html.oprift-preview .lookup-problem-copy > p { margin-inline: auto; }
    html.oprift-preview .lookup-problem-detail { margin-inline: auto; }
}

@media (prefers-reduced-motion: reduce) {
    html.oprift-preview *,
    html.oprift-preview *::before,
    html.oprift-preview *::after {
        scroll-behavior: auto !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: .01ms !important;
    }
}

@media (max-width: 450px) {
    html.oprift-preview .oprift-identity p { display: none; }
    html.oprift-preview .oprift-overview { grid-template-columns: repeat(2, 1fr); }
    html.oprift-preview .oprift-overview strong { font-size: 18px; }
    html.oprift-preview .oprift-queue-record { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    html.oprift-preview .oprift-queue-record > div:nth-child(2) { border-right: 0; }
    html.oprift-preview .oprift-queue-record > div:nth-child(-n+2) { border-bottom: 1px solid #e2e7eb; }
    html.oprift-preview .oprift-history-head { align-items: flex-start; flex-direction: column; gap: 9px; padding-block: 12px; }
    html.oprift-preview .oprift-filters { width: 100%; overflow-x: auto; }
    html.oprift-preview .oprift-filters button { flex: 0 0 auto; }
    html.oprift-preview .match-item { grid-template-columns: 74px minmax(120px, 1fr) 18px; }
    html.oprift-preview .match-kda { display: none; }
    html.oprift-preview .match-economy { display: none; }
}

@media (max-width: 720px) {
    html.oprift-preview .oprift-seasons-head { align-items: flex-start; flex-direction: column; gap: 9px; padding-block: 12px; }
    html.oprift-preview .oprift-seasons-head label { width: 100%; justify-content: space-between; }
    html.oprift-preview .oprift-seasons-head select { flex: 1; min-width: 0; }
    html.oprift-preview .oprift-season-body { grid-template-columns: 1fr; }
    html.oprift-preview .oprift-season-body::before { left: 0; width: 46px; transform: none; }
    html.oprift-preview .oprift-season-mode { min-height: 0; }
}

@media (max-width: 450px) {
    html.oprift-preview .oprift-season-metrics { grid-template-columns: repeat(2, 1fr); }
}

/* Section surfaces v3: a quiet OP.GG dossier with a ranked-queue signature. */
html.oprift-preview .oprift-sidebar,
html.oprift-preview .oprift-main {
    gap: 14px;
}

html.oprift-preview .oprift-panel {
    overflow: hidden;
    border-color: #d8e0e7;
    border-radius: 3px;
    background: #fff;
    box-shadow: none;
}

html.oprift-preview .oprift-panel:not(.oprift-overview) > header {
    position: relative;
    min-height: 52px;
    padding-inline: 18px;
    border-bottom: 1px solid #e2e7ec;
    background: #fff;
}

html.oprift-preview .oprift-panel:not(.oprift-overview) > header::after {
    content: "";
    position: absolute;
    bottom: -1px;
    left: 18px;
    width: 42px;
    height: 2px;
    background: linear-gradient(90deg, #138ba0 0 58%, #76549a 58% 100%);
}

html.oprift-preview .oprift-panel:not(.oprift-overview) > header h2 {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #1e2d3e;
    font-size: 14px;
    font-weight: 760;
    letter-spacing: -.01em;
}

html.oprift-preview .oprift-panel:not(.oprift-overview) > header h2::before {
    content: "";
    width: 8px;
    height: 8px;
    flex: 0 0 8px;
    border: 1px solid rgba(19, 139, 160, .55);
    background: linear-gradient(135deg, #138ba0 0 49%, #76549a 51% 100%);
    box-shadow: inset 0 0 0 2px #fff;
    transform: rotate(45deg);
}

html.oprift-preview .oprift-panel:not(.oprift-overview) > header > span,
html.oprift-preview .oprift-panel:not(.oprift-overview) > header > p {
    color: #8a96a4;
}

html.oprift-preview .oprift-overview {
    position: relative;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
}

html.oprift-preview .oprift-overview::before {
    content: none;
}

html.oprift-preview .oprift-overview > div {
    border: 1px solid #dbe3e9;
    background: #fff;
}

html.oprift-preview .oprift-overview > .oprift-rank-snapshot.legendary {
    border-color: #ddd8e8;
}

html.oprift-preview .oprift-rank-mode-label {
    position: relative;
    padding-left: 27px;
    background: #f8fafb;
}

html.oprift-preview .oprift-rank-mode-label::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 16px;
    width: 5px;
    height: 5px;
    border: 1px solid #138ba0;
    transform: translateY(-50%) rotate(45deg);
}

html.oprift-preview .oprift-rank-mode-label.oprift-rank-divider::before {
    border-color: #76549a;
}

html.oprift-preview .oprift-season-mode,
html.oprift-preview .oprift-queue-stats {
    background: #fff;
}

html.oprift-preview .oprift-season-mode.legendary,
html.oprift-preview .oprift-queue-stats.legendary {
    background: #fdfcff;
}

html.oprift-preview .oprift-current-season-badge {
    height: 25px;
    border-color: #d6e1e5;
    border-radius: 2px;
    background: #f7fafb;
    color: #667887;
}

html.oprift-preview .oprift-filters {
    align-self: stretch;
    gap: 0;
}

html.oprift-preview .oprift-filters button {
    position: relative;
    height: 52px;
    padding: 0 11px;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: #7d8997;
}

html.oprift-preview .oprift-filters button::after {
    content: "";
    position: absolute;
    right: 11px;
    bottom: 0;
    left: 11px;
    height: 2px;
    background: transparent;
}

html.oprift-preview .oprift-filters button:hover {
    background: #f8fafb;
    color: #405063;
}

html.oprift-preview .oprift-filters button.active {
    background: transparent;
    color: #0f7f94;
    box-shadow: none;
}

html.oprift-preview .oprift-filters button.active::after {
    background: #138ba0;
}

@media (max-width: 920px) {
    html.oprift-preview .oprift-overview {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    html.oprift-preview .oprift-recent-form {
        grid-column: 1 / -1;
    }
}

@media (max-width: 720px) {
    html.oprift-preview .oprift-panel:not(.oprift-overview) > header {
        padding-inline: 14px;
    }

    html.oprift-preview .oprift-panel:not(.oprift-overview) > header::after {
        left: 14px;
    }

    html.oprift-preview .oprift-filters {
        align-self: auto;
    }

    html.oprift-preview .oprift-filters button {
        height: 36px;
    }

    html.oprift-preview .oprift-overview {
        grid-template-columns: 1fr;
    }

    html.oprift-preview .oprift-recent-form {
        grid-column: auto;
    }
}

/* ===== HOME DISCOVERY PREVIEW ===== */
html.oprift-preview .home-discovery {
    --home-ink: #10283a;
    --home-teal: #0c8fa3;
    --home-teal-soft: #dff3f5;
    --home-gold: #d3a63c;
    --home-paper: #f8fafb;
    color: var(--home-ink);
    font-family: "Segoe UI Variable", "Segoe UI", Arial, sans-serif;
}

html.oprift-preview .home-discovery-hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(300px, .55fr);
    min-height: 382px;
    overflow: hidden;
    border: 1px solid #d9e1e7;
    background:
        linear-gradient(90deg, rgba(12, 143, 163, .04) 1px, transparent 1px) 0 0 / 48px 48px,
        linear-gradient(rgba(12, 143, 163, .04) 1px, transparent 1px) 0 0 / 48px 48px,
        #fff;
    box-shadow: 0 12px 38px rgba(24, 52, 70, .08);
}

html.oprift-preview .home-discovery-hero::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 58%;
    height: 4px;
    background: linear-gradient(90deg, var(--home-teal) 0 72%, var(--home-gold) 72% 100%);
}

html.oprift-preview .home-hero-copy {
    align-self: center;
    max-width: 680px;
    padding: 52px 64px 56px;
}

html.oprift-preview .home-kicker {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: #527083;
    font: 700 10px/1 Consolas, monospace;
    letter-spacing: .13em;
    text-transform: uppercase;
}

html.oprift-preview .home-kicker i { width: 22px; height: 2px; background: var(--home-gold); }

html.oprift-preview .home-hero-copy h1 {
    margin: 17px 0;
    color: var(--home-ink);
    font-family: "Bahnschrift SemiCondensed", "Arial Narrow", sans-serif;
    font-size: clamp(48px, 6vw, 78px);
    font-weight: 800;
    line-height: .92;
    letter-spacing: -.045em;
}

html.oprift-preview .home-hero-copy h1 em { color: var(--home-teal); font-style: normal; font-weight: 500; }
html.oprift-preview .home-hero-copy > p { max-width: 560px; color: #6c7e8d; font-size: 14px; line-height: 1.7; }

html.oprift-preview .home-search-action {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    width: min(460px, 100%);
    min-height: 55px;
    margin-top: 27px;
    padding: 0 17px 0 19px;
    border: 1px solid #cfdbe2;
    border-left: 4px solid var(--home-teal);
    background: #fff;
    color: #153348;
    font: inherit;
    text-align: left;
    box-shadow: 0 8px 24px rgba(19, 57, 77, .08);
    cursor: pointer;
    transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease;
}

html.oprift-preview .home-search-action span { padding-right: 15px; font-size: 13px; font-weight: 750; }
html.oprift-preview .home-search-action b { color: #91a0ac; font: 500 11px/1 Consolas, monospace; letter-spacing: .03em; }
html.oprift-preview .home-search-action i { color: var(--home-teal); font-size: 24px; font-style: normal; }
html.oprift-preview .home-search-action:hover { transform: translateY(-2px); border-color: #8dc7d0; box-shadow: 0 12px 28px rgba(19, 57, 77, .13); }
html.oprift-preview .home-search-action:focus-visible { outline: 3px solid rgba(12, 143, 163, .2); outline-offset: 3px; }

html.oprift-preview .home-rift-board {
    position: relative;
    display: grid;
    align-content: center;
    min-width: 0;
    padding: 44px 40px;
    overflow: hidden;
    background: linear-gradient(155deg, transparent 0 48%, rgba(71, 203, 213, .07) 48.2% 48.8%, transparent 49% 100%), #0c334b;
    color: #fff;
}

html.oprift-preview .home-rift-board::before {
    content: "";
    position: absolute;
    width: 240px;
    height: 240px;
    right: -105px;
    top: -90px;
    border: 1px solid rgba(85, 200, 211, .22);
    border-radius: 50%;
    box-shadow: 0 0 0 34px rgba(85, 200, 211, .035), 0 0 0 68px rgba(85, 200, 211, .025);
}

html.oprift-preview .home-board-logo {
    position: absolute;
    z-index: 2;
    top: 20px;
    right: 24px;
    width: 112px;
    height: auto;
    opacity: .96;
    filter: drop-shadow(0 8px 12px rgba(0, 0, 0, .2));
}

html.oprift-preview .home-board-label { position: relative; z-index: 1; color: #81cbd2; font: 700 9px/1 Consolas, monospace; letter-spacing: .16em; }
html.oprift-preview .home-board-number { position: relative; z-index: 1; margin-top: 25px; color: #fff; font-family: "Bahnschrift SemiCondensed", sans-serif; font-size: 112px; font-weight: 800; line-height: .72; letter-spacing: -.08em; }
html.oprift-preview .home-board-copy { display: flex; flex-direction: column; gap: 3px; margin-top: 23px; padding-left: 4px; }
html.oprift-preview .home-board-copy b { font-size: 17px; }
html.oprift-preview .home-board-copy span { color: #9eb5c2; font-size: 11px; }

html.oprift-preview .home-board-split { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; margin-top: 28px; border-top: 1px solid rgba(255,255,255,.14); }
html.oprift-preview .home-board-split span { display: flex; align-items: baseline; gap: 7px; padding-top: 15px; color: #9eb5c2; font-size: 10px; }
html.oprift-preview .home-board-split b { color: #efc75f; font: 700 19px/1 Consolas, monospace; }

html.oprift-preview .home-discovery-grid { display: grid; grid-template-columns: minmax(0, 1.78fr) minmax(300px, .72fr); gap: 18px; margin-top: 18px; }
html.oprift-preview .home-ranking-panel,
html.oprift-preview .home-spotlight-panel,
html.oprift-preview .home-recent-panel { border: 1px solid #d9e1e7; background: #fff; }

html.oprift-preview .home-panel-head { display: flex; align-items: center; justify-content: space-between; min-height: 78px; padding: 17px 22px; border-bottom: 1px solid #e2e8ed; }
html.oprift-preview .home-panel-head > div:first-child > span { display: block; color: var(--home-teal); font: 700 9px/1 Consolas, monospace; letter-spacing: .12em; text-transform: uppercase; }
html.oprift-preview .home-panel-head h2 { margin-top: 6px; color: var(--home-ink); font-family: "Bahnschrift SemiCondensed", sans-serif; font-size: 24px; line-height: 1; }
html.oprift-preview .home-preview-source { display: flex; align-items: center; gap: 7px; color: #758896; font-size: 10px; }
html.oprift-preview .home-preview-source i { width: 7px; height: 7px; border-radius: 50%; background: var(--home-gold); box-shadow: 0 0 0 4px rgba(211, 166, 60, .13); }

html.oprift-preview .home-ranking-toolbar { display: flex; align-items: center; justify-content: space-between; min-height: 54px; padding: 0 22px; border-bottom: 1px solid #e6ebef; background: var(--home-paper); }
html.oprift-preview .home-ranking-tabs { display: flex; align-self: stretch; }
html.oprift-preview .home-ranking-tabs button { position: relative; min-width: 116px; border: 0; background: transparent; color: #82909b; font: 700 11px/1 "Segoe UI", sans-serif; cursor: pointer; }
html.oprift-preview .home-ranking-tabs button::after { content: ""; position: absolute; inset: auto 16px 0; height: 3px; background: transparent; }
html.oprift-preview .home-ranking-tabs button.active { color: var(--home-ink); }
html.oprift-preview .home-ranking-tabs button.active::after { background: var(--home-teal); }
html.oprift-preview .home-ranking-tabs button:focus-visible { outline: 2px solid #55c8d3; outline-offset: -2px; }
html.oprift-preview .home-region-chip { padding: 5px 8px; border: 1px solid #dce4e9; color: #7a8995; font: 700 9px/1 Consolas, monospace; text-transform: uppercase; }

html.oprift-preview .home-ranking-caption { display: grid; grid-template-columns: 74px minmax(0, 1fr) 170px; padding: 10px 48px 9px 20px; color: #9aa6af; font: 700 8px/1 Consolas, monospace; letter-spacing: .1em; }
html.oprift-preview .home-ranking-caption span:nth-child(2) { padding-left: 54px; }
html.oprift-preview .home-ranking-list { border-top: 1px solid #e9edf0; }

html.oprift-preview .home-ranking-row { position: relative; display: grid; grid-template-columns: 54px 46px minmax(0, 1fr) 170px 18px; align-items: center; min-height: 70px; padding: 9px 20px; border-bottom: 1px solid #e8edf0; color: inherit; text-decoration: none; transition: background .16s ease, transform .16s ease; }
html.oprift-preview .home-ranking-row::before { content: ""; position: absolute; left: 46px; top: 0; bottom: 0; width: 1px; background: #d8e6e9; }
html.oprift-preview .home-ranking-row::after { content: ""; position: absolute; left: 43px; top: calc(50% - 3px); width: 7px; height: 7px; border: 2px solid #fff; border-radius: 50%; background: var(--home-teal); box-shadow: 0 0 0 1px #a7cdd2; }
html.oprift-preview .home-ranking-row:hover { background: #f3f9fa; transform: translateX(2px); }
html.oprift-preview .home-ranking-row:focus-visible { outline: 2px solid #55c8d3; outline-offset: -2px; }
html.oprift-preview .home-ranking-position { position: relative; z-index: 1; color: #718894; font: 800 17px/1 "Bahnschrift SemiCondensed", sans-serif; }

html.oprift-preview .home-ranking-avatar,
html.oprift-preview .home-spotlight-avatar,
html.oprift-preview .home-recent-avatar { position: relative; display: grid; place-items: center; overflow: hidden; border: 1px solid #cad6dc; background: #eaf2f4; color: #0d7184; font-weight: 800; }
html.oprift-preview .home-ranking-avatar { width: 42px; height: 42px; border-radius: 50%; }
html.oprift-preview .home-spotlight-avatar,
html.oprift-preview .home-recent-avatar { width: 40px; height: 40px; border-radius: 9px; }
html.oprift-preview .home-ranking-avatar img,
html.oprift-preview .home-spotlight-avatar img,
html.oprift-preview .home-recent-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
html.oprift-preview .home-ranking-avatar span,
html.oprift-preview .home-spotlight-avatar span,
html.oprift-preview .home-recent-avatar span { position: relative; z-index: 0; }

html.oprift-preview .home-ranking-player { display: flex; flex-direction: column; min-width: 0; padding-left: 12px; }
html.oprift-preview .home-ranking-player strong { overflow: hidden; color: #173043; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
html.oprift-preview .home-ranking-player small { margin-top: 4px; color: #84939f; font-size: 10px; }
html.oprift-preview .home-ranking-rank { display: grid; grid-template-columns: 34px 1fr; align-items: center; gap: 8px; color: #315166; }
html.oprift-preview .home-ranking-rank .oprift-rank-art { width: 34px; height: 34px; }
html.oprift-preview .home-ranking-rank b { font: 700 10px/1.2 Consolas, monospace; }
html.oprift-preview .home-ranking-open { color: #9aa8b2; font-size: 22px; }
html.oprift-preview .home-ranking-note { padding: 13px 20px; color: #8795a0; font-size: 9px; line-height: 1.5; }

html.oprift-preview .home-ranking-empty { display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 250px; gap: 8px; padding: 30px; color: #738895; text-align: center; }
html.oprift-preview .home-ranking-empty b { color: #213e51; font-size: 14px; }
html.oprift-preview .home-ranking-empty span { max-width: 370px; font-size: 11px; line-height: 1.6; }

html.oprift-preview .home-discovery-side { display: flex; flex-direction: column; gap: 18px; }
html.oprift-preview .home-panel-head.compact { min-height: 71px; }
html.oprift-preview .home-panel-head.compact h2 { font-size: 21px; }
html.oprift-preview .home-panel-head.compact > b { padding: 5px 7px; border: 1px solid #e1c77f; background: #fffaf0; color: #a77b18; font: 700 8px/1 Consolas, monospace; text-transform: uppercase; }
html.oprift-preview .home-side-note { padding: 12px 17px; border-bottom: 1px solid #e6ebef; background: #f8fafb; color: #82909b; font-size: 9px; line-height: 1.5; }

html.oprift-preview .home-spotlight-player { display: grid; grid-template-columns: 40px minmax(0, 1fr) auto; align-items: center; gap: 11px; min-height: 67px; padding: 10px 15px; border-bottom: 1px solid #e8edf0; color: inherit; text-decoration: none; }
html.oprift-preview .home-spotlight-player:hover { background: #f3f9fa; }
html.oprift-preview .home-spotlight-player:focus-visible { outline: 2px solid #55c8d3; outline-offset: -2px; }
html.oprift-preview .home-spotlight-player > span { display: flex; flex-direction: column; min-width: 0; }
html.oprift-preview .home-spotlight-player > span strong { overflow: hidden; color: #183448; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
html.oprift-preview .home-spotlight-player > span small { margin-top: 4px; color: #84939f; font-size: 9px; }
html.oprift-preview .home-spotlight-player > b { color: var(--home-teal); font: 800 13px/1 "Bahnschrift SemiCondensed", sans-serif; text-align: right; }
html.oprift-preview .home-spotlight-player > b small { display: block; margin-top: 4px; color: #97a3ad; font: 500 8px/1 "Segoe UI", sans-serif; }

html.oprift-preview .home-recent-panel { overflow: hidden; }
html.oprift-preview .home-recent-panel .home-panel-head.compact > b { border-color: #afd7dc; background: #f1fafb; color: #0b7f91; }
html.oprift-preview .home-recent-list { display: flex; flex-direction: column; }
html.oprift-preview .home-recent-player {
    position: relative;
    display: grid;
    grid-template-columns: 40px minmax(0, 1fr) auto 12px;
    align-items: center;
    gap: 11px;
    min-height: 67px;
    padding: 10px 15px;
    border-bottom: 1px solid #e8edf0;
    color: inherit;
    text-decoration: none;
    transition: background .16s ease, transform .16s ease;
}
html.oprift-preview .home-recent-player:last-child { border-bottom: 0; }
html.oprift-preview .home-recent-player:hover { background: #f3f9fa; transform: translateX(2px); }
html.oprift-preview .home-recent-player:focus-visible { outline: 2px solid #55c8d3; outline-offset: -2px; }
html.oprift-preview .home-recent-player > span { display: flex; flex-direction: column; min-width: 0; }
html.oprift-preview .home-recent-player > span strong { overflow: hidden; color: #183448; font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
html.oprift-preview .home-recent-player > span small { margin-top: 4px; color: #84939f; font-size: 9px; }
html.oprift-preview .home-recent-player > b { color: #59717f; font: 700 8px/1.35 Consolas, monospace; text-align: right; white-space: nowrap; }
html.oprift-preview .home-recent-player > i { color: #9aa8b2; font-size: 19px; font-style: normal; }
html.oprift-preview .home-recent-empty { display: flex; min-height: 135px; flex-direction: column; align-items: center; justify-content: center; gap: 7px; padding: 24px; color: #82909b; text-align: center; }
html.oprift-preview .home-recent-empty b { color: #213e51; font-size: 12px; }
html.oprift-preview .home-recent-empty span { font-size: 9px; }

@media (max-width: 960px) {
    html.oprift-preview .home-discovery-hero { grid-template-columns: minmax(0, 1.2fr) minmax(260px, .8fr); }
    html.oprift-preview .home-hero-copy { padding-inline: 40px; }
    html.oprift-preview .home-discovery-grid { grid-template-columns: 1fr; }
    html.oprift-preview .home-discovery-side { display: grid; grid-template-columns: 1fr 1fr; align-items: start; }
}

@media (max-width: 720px) {
    html.oprift-preview .home-discovery-hero { grid-template-columns: 1fr; }
    html.oprift-preview .home-hero-copy { padding: 42px 25px 45px; }
    html.oprift-preview .home-hero-copy h1 { font-size: clamp(46px, 15vw, 68px); }
    html.oprift-preview .home-rift-board { min-height: 260px; padding: 38px 28px; }
    html.oprift-preview .home-board-logo { top: 18px; right: 22px; width: 92px; }
    html.oprift-preview .home-board-number { font-size: 86px; }
    html.oprift-preview .home-discovery-side { grid-template-columns: 1fr; }
    html.oprift-preview .home-preview-source,
    html.oprift-preview .home-ranking-caption { display: none; }
    html.oprift-preview .home-ranking-row { grid-template-columns: 40px 40px minmax(0, 1fr) 112px 12px; padding-inline: 12px; }
    html.oprift-preview .home-ranking-row::before { left: 33px; }
    html.oprift-preview .home-ranking-row::after { left: 30px; }
    html.oprift-preview .home-ranking-position { font-size: 14px; }
    html.oprift-preview .home-ranking-avatar { width: 37px; height: 37px; }
    html.oprift-preview .home-ranking-rank { grid-template-columns: 28px 1fr; gap: 5px; }
    html.oprift-preview .home-ranking-rank .oprift-rank-art { width: 28px; height: 28px; }
    html.oprift-preview .home-ranking-rank b { font-size: 8px; }
}

@media (max-width: 470px) {
    html.oprift-preview .gm-brand-name { font-size: 16px; }
    html.oprift-preview .gm-brand-mark { width: 35px; height: 35px; flex-basis: 35px; }
}

@media (max-width: 470px) {
    html.oprift-preview .home-panel-head { padding-inline: 15px; }
    html.oprift-preview .home-ranking-toolbar { padding-inline: 10px; }
    html.oprift-preview .home-ranking-tabs button { min-width: 105px; }
    html.oprift-preview .home-region-chip { display: none; }
    html.oprift-preview .home-ranking-row { grid-template-columns: 34px 36px minmax(0, 1fr) 82px; }
    html.oprift-preview .home-ranking-row::before { left: 27px; }
    html.oprift-preview .home-ranking-row::after { left: 24px; }
    html.oprift-preview .home-ranking-open { display: none; }
    html.oprift-preview .home-ranking-avatar { width: 34px; height: 34px; }
    html.oprift-preview .home-ranking-player { padding-left: 8px; }
    html.oprift-preview .home-ranking-player small { font-size: 8px; }
    html.oprift-preview .home-ranking-rank { grid-template-columns: 1fr; text-align: right; }
    html.oprift-preview .home-ranking-rank .oprift-rank-art { display: none; }
}
