/* =========================================================================
   RTP Hoki138 - stylesheet tunggal
   Ditulis mobile-first. Urutan: token, dasar, komponen, bagian halaman,
   lalu penyesuaian layar besar di bagian paling bawah.
   ========================================================================= */

:root {
    /* permukaan gelap: navy dengan sedikit rona merah agar menyatu dengan logo */
    --navy-900: #080c16;
    --navy-850: #0b111e;
    --navy-800: #101728;
    --navy-750: #151d33;
    --navy-700: #1b2440;

    --line: rgba(255, 255, 255, .075);
    --line-strong: rgba(255, 255, 255, .14);

    --ink: #f3f6fc;
    --ink-2: #a6b1c8;
    --ink-3: #6b7793;

    /* aksen identitas */
    --red: #c4162e;
    --red-bright: #e03249;
    --red-deep: #75101f;
    --blue: #2f6bd8;
    --blue-deep: #16305e;
    --gold: #d6ad55;
    --gold-soft: #f0d59a;

    /* status RTP - dipakai konsisten di badge, angka, titik, dan bar */
    --st-high: #34d17a;
    --st-good: #19a75a;
    --st-mid: #efb42b;
    --st-low: #e2495c;

    --radius: 12px;
    --radius-sm: 9px;
    --shell: 1240px;
    --shadow: 0 1px 2px rgba(0, 0, 0, .5), 0 10px 26px -16px rgba(0, 0, 0, .9);
    --shadow-lift: 0 2px 4px rgba(0, 0, 0, .5), 0 20px 42px -20px rgba(0, 0, 0, .95);

    /* tinggi baris logo/menu */
    --stick: 58px;
    /* tinggi header, diisi ulang oleh js/rtp.js */
    --head-h: 58px;

    --font: "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

/* display:grid/flex pada elemen di bawah menimpa perilaku bawaan atribut
   hidden, jadi perlu ditegaskan di sini */
[hidden] {
    display: none !important;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--head-h) + 16px);
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    font-family: var(--font);
    font-size: 15px;
    line-height: 1.6;
    color: var(--ink);
    background: var(--navy-900);
    overflow-x: hidden;
}

/* Rona latar: satu sapuan merah tua di kiri atas dan biru tua di kanan.
   Sengaja sangat halus, bukan gradient mencolok. */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(900px 520px at 6% -8%, rgba(150, 20, 38, .30), transparent 68%),
        radial-gradient(820px 520px at 96% 4%, rgba(28, 62, 128, .28), transparent 70%),
        var(--navy-900);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

h1,
h2,
h3 {
    margin: 0;
    line-height: 1.22;
    letter-spacing: -.015em;
}

p {
    margin: 0;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

button,
input,
select {
    font: inherit;
    color: inherit;
}

b {
    font-weight: 700;
}

.shell {
    width: min(100% - 32px, var(--shell));
    margin-inline: auto;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
}

.skiplink {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 100;
    padding: 10px 16px;
    background: var(--red);
    border-radius: 0 0 var(--radius-sm) 0;
}

.skiplink:focus {
    left: 0;
}

:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
}

/* ------------------------------------------------------------------ tombol */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    height: 42px;
    padding: 0 20px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .02em;
    cursor: pointer;
    white-space: nowrap;
    transition: transform .16s ease, background-color .2s ease, border-color .2s ease;
}

.btn:active {
    transform: translateY(1px);
}

.btn--red {
    background: linear-gradient(180deg, var(--red-bright), var(--red));
    color: #fff;
    box-shadow: 0 8px 20px -12px rgba(224, 50, 73, .95);
}

.btn--red:hover {
    background: linear-gradient(180deg, #ea4257, var(--red-bright));
}

.btn--gold {
    height: 38px;
    padding: 0 16px;
    background: linear-gradient(180deg, var(--gold-soft), var(--gold));
    color: #2a1a06;
}

.btn--gold:hover {
    background: linear-gradient(180deg, #f7e2b6, #e0bc6a);
}

.btn--ghost {
    background: rgba(255, 255, 255, .04);
    border-color: var(--line-strong);
    color: var(--ink);
}

.btn--ghost:hover {
    background: rgba(255, 255, 255, .08);
    border-color: rgba(255, 255, 255, .24);
}

.btn--block {
    width: 100%;
}

.iconbtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, .05);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    cursor: pointer;
}

.iconbtn:hover {
    background: rgba(255, 255, 255, .1);
}

/* ----------------------------------------------------------------- header */

.masthead {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(8, 12, 22, .94);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 10px 30px -22px #000;
}

.masthead__main {
    position: relative;
    border-bottom: 1px solid rgba(214, 173, 85, .16);
}

.masthead__row {
    display: flex;
    align-items: center;
    gap: 14px;
    height: var(--stick);
}

.brand {
    flex: none;
    display: block;
}

.brand img {
    width: auto;
    height: 34px;
}

.mainnav {
    display: none;
    margin-inline: auto;
    gap: 4px;
}

.mainnav a {
    padding: 8px 13px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-2);
    transition: color .18s ease, background-color .18s ease;
}

.mainnav a:hover {
    color: var(--ink);
    background: rgba(255, 255, 255, .06);
}

/* di layar kecil menu dibuka sebagai panel di bawah header */
.mainnav.is-open {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin: 0;
    padding: 10px 16px 14px;
    background: var(--navy-850);
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 30px -22px #000;
}

.mainnav.is-open a {
    padding: 11px 12px;
    font-size: 15px;
}

.masthead__tools {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-left: auto;
}

.stamp {
    display: none;
    text-align: right;
    line-height: 1.25;
}

.stamp__label {
    display: block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--ink-3);
}

.stamp__time {
    display: block;
    font-size: 14px;
    font-weight: 700;
    font-variant-numeric: tabular-nums;
    color: var(--gold-soft);
}

/* papan provider: di bawah banner, bukan di header */

.section--providers {
    padding: 8px 0 6px;
}

.section--providers .headline {
    margin-bottom: 12px;
}

.providers-wrap {
    position: relative;
}

.providers-wrap::after {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    bottom: 4px;
    width: 36px;
    pointer-events: none;
    background: linear-gradient(90deg, transparent, var(--navy-900));
}

.providers {
    display: grid;
    grid-auto-flow: column;
    grid-template-rows: 1fr 1fr;
    grid-auto-columns: 78px;
    gap: 8px;
    overflow-x: auto;
    padding: 2px 28px 10px 2px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
    scrollbar-color: rgba(214, 173, 85, .35) transparent;
}

.prov {
    scroll-snap-align: start;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 6px;
    min-height: 92px;
    padding: 10px 6px 8px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 12px;
    background: #141c32;
    color: #d5dced;
    text-align: center;
    transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}

.prov:hover {
    color: #fff;
    background: #1c2742;
    border-color: rgba(214, 173, 85, .4);
}

.prov__logo {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 10px;
    background: #0c1220;
}

.prov__logo--mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-soft);
}

.prov__label {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-width: 100%;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.25;
}

.prov.is-active {
    color: #fff;
    background: #1a1016;
    border-color: #c4162e;
    box-shadow: inset 0 0 0 1px rgba(196, 22, 46, .28);
}

.prov.is-active .prov__label {
    color: var(--gold-soft);
}

/* ------------------------------------------------------------------- hero */

.hero {
    padding: 0 0 28px;
}

.hero__banner {
    position: relative;
    margin: 0 0 22px;
    overflow: hidden;
    background: #1a0a12;
    border-bottom: 1px solid rgba(214, 173, 85, .28);
}

.hero__banner::after {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 3px;
    background: linear-gradient(90deg, var(--red-bright), var(--gold), var(--blue));
}

.hero__banner img {
    width: 100%;
    height: clamp(140px, 38vw, 168px);
    display: block;
    object-fit: cover;
    object-position: center 46%;
}

.hero__body {
    display: grid;
}

.hero__copy {
    position: relative;
    padding: 26px 22px 28px 26px;
    background:
        linear-gradient(180deg, rgba(32, 42, 72, .7), rgba(11, 17, 30, .28));
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 16px;
    box-shadow: var(--shadow);
}

.hero__copy::before {
    content: "";
    position: absolute;
    left: 0;
    top: 16px;
    bottom: 16px;
    width: 4px;
    border-radius: 99px;
    background: linear-gradient(180deg, var(--red-bright), var(--gold));
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    padding: 5px 12px;
    border: 1px solid rgba(214, 173, 85, .32);
    border-radius: 999px;
    background: rgba(214, 173, 85, .1);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--gold-soft);
}

.hero__title {
    margin: 0;
    display: grid;
    gap: 6px;
}

.hero__over {
    font-size: clamp(20px, 5.4vw, 26px);
    font-weight: 700;
    letter-spacing: .02em;
    color: #c2cadc;
}

.hero__name {
    font-size: clamp(44px, 12vw, 84px);
    font-weight: 800;
    letter-spacing: -.04em;
    line-height: 1.02;
    background: linear-gradient(180deg, #f8e7b8, var(--gold) 58%, #b8862f);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero__lede {
    max-width: 58ch;
    margin-top: 16px;
    font-size: 16.5px;
    line-height: 1.7;
    color: #b7c0d4;
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 26px;
}

.hero__actions .btn {
    height: 50px;
    padding: 0 24px;
    font-size: 16px;
}

/* --------------------------------------------------------------- section */

.section {
    padding: 26px 0;
}

.section--list {
    padding-bottom: 36px;
}

.headline {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 16px;
}

.headline__title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: clamp(19px, 4.4vw, 24px);
    font-weight: 800;
}

.headline__title svg {
    flex: none;
    color: var(--gold);
}

.headline__note {
    margin-top: 5px;
    font-size: 13px;
    color: var(--ink-3);
}

.headline__more {
    flex: none;
    font-size: 13px;
    font-weight: 700;
    color: var(--ink-2);
    border-bottom: 1px solid var(--line-strong);
    padding-bottom: 2px;
}

.headline__more:hover {
    color: var(--gold-soft);
    border-color: var(--gold);
}

/* ------------------------------------------------ status: hijau/kuning/merah */

[data-tier="high"] {
    --tier: var(--st-high);
    --tier-soft: rgba(52, 209, 122, .16);
}

[data-tier="good"] {
    --tier: var(--st-good);
    --tier-soft: rgba(25, 167, 90, .16);
}

[data-tier="mid"] {
    --tier: var(--st-mid);
    --tier-soft: rgba(239, 180, 43, .16);
}

[data-tier="low"] {
    --tier: var(--st-low);
    --tier-soft: rgba(226, 73, 92, .16);
}

.dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--tier, var(--ink-3));
    flex: none;
}

/* --------------------------------------------------------------- kontrol */

.controls {
    display: grid;
    gap: 10px;
    margin-bottom: 12px;
}

.field {
    position: relative;
    display: flex;
    align-items: center;
}

.field__icon {
    position: absolute;
    left: 13px;
    display: flex;
    color: var(--ink-3);
    pointer-events: none;
}

.field--search input {
    width: 100%;
    height: 46px;
    padding: 0 14px 0 42px;
    background: var(--navy-850);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    outline: none;
    transition: border-color .2s ease, background-color .2s ease;
}

.field--search input::placeholder {
    color: var(--ink-3);
}

.field--search input:focus {
    border-color: rgba(47, 107, 216, .7);
    background: var(--navy-800);
}

.field--select select {
    width: 100%;
    height: 46px;
    padding: 0 38px 0 14px;
    background: var(--navy-850);
    border: 1px solid var(--line-strong);
    border-radius: var(--radius-sm);
    outline: none;
    cursor: pointer;
    appearance: none;
}

.field--select::after {
    content: "";
    position: absolute;
    right: 16px;
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--ink-3);
    border-bottom: 2px solid var(--ink-3);
    transform: translateY(-2px) rotate(45deg);
    pointer-events: none;
}

.field--select option {
    background: var(--navy-800);
}

.tabs {
    display: flex;
    gap: 7px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
}

.tabs::-webkit-scrollbar {
    display: none;
}

.tab {
    flex: none;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    height: 36px;
    padding: 0 14px;
    background: var(--navy-850);
    border: 1px solid var(--line-strong);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 600;
    color: var(--ink-2);
    cursor: pointer;
    white-space: nowrap;
    transition: color .18s ease, background-color .18s ease, border-color .18s ease;
}

.tab b {
    font-size: 11px;
    font-variant-numeric: tabular-nums;
    color: var(--ink-3);
}

.tab:hover {
    color: var(--ink);
    border-color: rgba(255, 255, 255, .24);
}

.tab.is-active {
    color: #fff;
    background: var(--navy-700);
    border-color: rgba(214, 173, 85, .5);
}

.tab.is-active b {
    color: var(--gold-soft);
}

.resultline {
    margin: 12px 0 14px;
    font-size: 12.5px;
    color: var(--ink-3);
}

.resultline b {
    color: var(--ink-2);
    font-variant-numeric: tabular-nums;
}

.resultline__sep {
    margin: 0 7px;
    opacity: .5;
}

/* ------------------------------------------------------------ kartu game */

.grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, 1fr);
}

.tile {
    display: flex;
    flex-direction: column;
    padding: 0;
    text-align: left;
    background: #141c32;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.tile:hover {
    transform: translateY(-4px);
    border-color: rgba(214, 173, 85, .35);
    box-shadow: var(--shadow-lift);
}

.tile__art {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--navy-750);
}

.tile__art::before {
    content: "";
    position: absolute;
    inset: auto 0 0 0;
    height: 46%;
    z-index: 1;
    background: linear-gradient(180deg, transparent, rgba(6, 9, 16, .72));
    pointer-events: none;
}

.tile__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .45s ease;
}

.tile:hover .tile__img {
    transform: scale(1.07);
}

.tile__score {
    position: absolute;
    right: 8px;
    bottom: 8px;
    z-index: 2;
    display: inline-flex;
    align-items: baseline;
    gap: 1px;
    padding: 6px 10px;
    border-radius: 9px;
    background: rgba(6, 10, 18, .92);
    border: 1px solid var(--tier, var(--line-strong));
    font-size: 20px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    color: var(--tier, var(--ink));
    line-height: 1.1;
}

.tile__score i {
    font-style: normal;
    font-size: 11px;
    opacity: .8;
}

.tile__rank {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
    display: none;
    padding: 4px 9px;
    border-radius: 999px;
    background: rgba(6, 10, 18, .88);
    border: 1px solid rgba(214, 173, 85, .55);
    font-size: 11px;
    font-weight: 800;
    color: var(--gold-soft);
}

.tile.is-top .tile__rank {
    display: block;
}

.tile__foot {
    display: flex;
    flex-direction: column;
    gap: 7px;
    padding: 12px 12px 13px;
    border-top: 1px solid rgba(255, 255, 255, .06);
}

.tile__name {
    font-size: 14px;
    font-weight: 800;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.tile__state {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--tier, var(--ink-3));
}

.tile__delta {
    margin-left: auto;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: none;
    font-variant-numeric: tabular-nums;
}

.tile[data-trend="up"] .tile__delta {
    color: var(--st-high);
}

.tile[data-trend="down"] .tile__delta {
    color: var(--st-low);
}

.tile__bar {
    height: 4px;
    border-radius: 99px;
    background: rgba(255, 255, 255, .07);
    overflow: hidden;
}

.tile__fill {
    display: block;
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: var(--tier, var(--ink-3));
    transition: width .7s cubic-bezier(.22, .8, .3, 1);
}

.tile.is-hidden {
    display: none;
}

.noresult {
    padding: 40px 20px;
    text-align: center;
    color: var(--ink-3);
    background: var(--navy-850);
    border: 1px dashed var(--line-strong);
    border-radius: var(--radius);
}

/* rangka saat nilai belum dihitung */
.is-loading .tile__img {
    opacity: .5;
}

.is-loading .tile__score {
    color: transparent;
}

/* ------------------------------------------------------------ catatan data */

.section--note {
    padding-bottom: 40px;
}

.note {
    display: grid;
    gap: 10px;
    padding: 18px 20px;
    background: var(--navy-850);
    border: 1px solid var(--line);
    border-left: 3px solid var(--gold);
    border-radius: var(--radius);
    font-size: 13.5px;
    color: var(--ink-2);
}

.note__title {
    font-size: 15px;
    font-weight: 800;
    color: var(--ink);
}

/* ----------------------------------------------------------------- footer */

.footer {
    margin-top: 10px;
    background: var(--navy-850);
    border-top: 1px solid rgba(214, 173, 85, .2);
}

.footer__top {
    display: grid;
    gap: 26px;
    padding: 30px 0 24px;
}

.footer__brand img {
    width: auto;
    height: 34px;
    margin-bottom: 12px;
}

.footer__brand p {
    max-width: 44ch;
    font-size: 13px;
    color: var(--ink-3);
}

.footer__heading {
    margin-bottom: 10px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gold);
}

.footer__nav a {
    display: block;
    padding: 3px 0;
    font-size: 13px;
    color: var(--ink-3);
}

.footer__nav a:hover {
    color: var(--ink);
}

.footer__providers {
    columns: 2;
    column-gap: 20px;
}

.footer__bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 6px 16px;
    justify-content: space-between;
    padding: 14px 0 76px;
    border-top: 1px solid var(--line);
    font-size: 12px;
    color: var(--ink-3);
}

.footer__bottom b {
    color: var(--ink-2);
    font-variant-numeric: tabular-nums;
}

/* ---------------------------------------------------- floating + quickbar */

.floats {
    position: fixed;
    right: 14px;
    bottom: 76px;
    z-index: 50;
    display: none;
    flex-direction: column;
    gap: 10px;
}

.float {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--line-strong);
    border-radius: 50%;
    background: var(--navy-750);
    color: var(--ink);
    cursor: pointer;
    box-shadow: var(--shadow);
    transition: transform .18s ease, background-color .2s ease;
}

.float:hover {
    transform: translateY(-2px);
}

.float--wa {
    background: #1f8f4a;
    border-color: transparent;
    color: #fff;
}

.float--chat {
    background: var(--blue-deep);
    border-color: rgba(47, 107, 216, .5);
}

.float--top {
    opacity: 0;
    visibility: hidden;
}

.float--top.is-on {
    opacity: 1;
    visibility: visible;
}

.quickbar {
    position: fixed;
    inset: auto 0 0 0;
    z-index: 55;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    align-items: center;
    padding: 6px 4px calc(6px + env(safe-area-inset-bottom));
    background: rgba(9, 13, 24, .97);
    border-top: 1px solid var(--line);
}

.quickbar a {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    padding: 5px 2px;
    font-size: 10px;
    font-weight: 600;
    color: var(--ink-3);
}

.quickbar a:hover {
    color: var(--ink);
}

.quickbar svg {
    width: 19px;
    height: 19px;
}

.quickbar__cta {
    color: #fff !important;
}

.quickbar__cta svg {
    padding: 7px;
    width: 34px;
    height: 34px;
    margin-top: -18px;
    border-radius: 50%;
    background: linear-gradient(180deg, var(--red-bright), var(--red));
    border: 3px solid var(--navy-900);
    box-sizing: content-box;
}

/* ------------------------------------------------------------ modal pola */

.sheet {
    position: fixed;
    inset: 0;
    z-index: 90;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.sheet[hidden] {
    display: none;
}

.sheet__scrim {
    position: absolute;
    inset: 0;
    background: rgba(4, 7, 14, .78);
    animation: fade .2s ease;
}

.sheet__panel {
    position: relative;
    width: 100%;
    max-width: 480px;
    max-height: 92vh;
    overflow-y: auto;
    padding: 20px;
    background: var(--navy-800);
    border: 1px solid var(--line-strong);
    border-bottom: 0;
    border-radius: 16px 16px 0 0;
    box-shadow: 0 -20px 60px -20px #000;
    animation: rise .26s cubic-bezier(.22, .8, .3, 1);
}

@keyframes fade {
    from {
        opacity: 0;
    }
}

@keyframes rise {
    from {
        transform: translateY(24px);
        opacity: 0;
    }
}

.sheet__close {
    position: absolute;
    top: 14px;
    right: 14px;
    width: 32px;
    height: 32px;
}

.sheet__head {
    display: flex;
    align-items: center;
    gap: 13px;
    padding-right: 36px;
}

.sheet__art {
    width: 66px;
    height: 66px;
    flex: none;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid var(--line-strong);
}

.sheet__id {
    min-width: 0;
    flex: 1;
}

.sheet__prov {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
    color: var(--gold);
}

.sheet__name {
    font-size: 17px;
    font-weight: 800;
}

.sheet__state {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 3px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
    color: var(--tier, var(--ink-3));
}

.sheet__score {
    flex: none;
    font-size: 32px;
    font-weight: 800;
    font-variant-numeric: tabular-nums;
    line-height: 1;
    color: var(--tier, var(--ink));
}

.sheet__score i {
    font-style: normal;
    font-size: .55em;
    opacity: .75;
}

.sheet__bar {
    height: 6px;
    margin: 14px 0 16px;
    border-radius: 99px;
    background: rgba(255, 255, 255, .07);
    overflow: hidden;
}

.sheet__bar span {
    display: block;
    height: 100%;
    width: 0;
    border-radius: inherit;
    background: var(--tier, var(--ink-3));
    transition: width .6s ease;
}

.sheet__specs {
    display: grid;
    gap: 1px;
    margin: 0 0 18px;
    background: var(--line);
    border: 1px solid var(--line);
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.sheet__specs > div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    padding: 9px 13px;
    background: var(--navy-850);
    font-size: 13px;
}

.sheet__specs dt {
    color: var(--ink-3);
}

.sheet__specs dd {
    margin: 0;
    font-weight: 700;
}

.sheet__subtitle {
    margin-bottom: 12px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: var(--gold);
}

.steps {
    display: grid;
    gap: 11px;
    margin-bottom: 16px;
}

.steps li {
    display: flex;
    gap: 12px;
}

.steps__n {
    flex: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    background: var(--navy-700);
    border: 1px solid var(--line-strong);
    font-size: 12px;
    font-weight: 800;
    color: var(--gold-soft);
}

.steps b {
    display: block;
    font-size: 13.5px;
}

.steps p {
    margin-top: 2px;
    font-size: 13px;
    color: var(--ink-2);
}

.steps span {
    font-weight: 800;
    color: var(--ink);
}

.sheet__foot {
    margin-bottom: 14px;
    text-align: center;
    font-size: 12px;
    color: var(--ink-3);
}

/* ==========================================================================
   Layar lebih besar
   ========================================================================== */

@media (min-width: 480px) {
    .controls {
        grid-template-columns: 1fr 200px;
    }
}

@media (min-width: 620px) {
    .sheet {
        align-items: center;
    }

    .sheet__panel {
        border-bottom: 1px solid var(--line-strong);
        border-radius: 16px;
        animation: pop .24s cubic-bezier(.22, .8, .3, 1);
    }

    @keyframes pop {
        from {
            transform: scale(.96);
            opacity: 0;
        }
    }
}

@media (min-width: 768px) {
    body {
        font-size: 15.5px;
    }

    .hero__banner img {
        height: auto;
        aspect-ratio: 1920 / 562;
        object-fit: contain;
        object-position: center;
    }

    .grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer__top {
        grid-template-columns: 1.4fr 1fr;
    }

    .quickbar {
        display: none;
    }

    .floats {
        display: flex;
        bottom: 20px;
    }

    .footer__bottom {
        padding-bottom: 18px;
    }
}

@media (min-width: 1024px) {
    :root {
        --stick: 62px;
        --head-h: 62px;
    }

    .providers-wrap::after {
        display: none;
    }

    .providers {
        display: grid;
        grid-auto-flow: row;
        grid-template-rows: none;
        grid-auto-columns: unset;
        grid-template-columns: repeat(8, minmax(0, 1fr));
        overflow: visible;
        scroll-snap-type: none;
        padding-bottom: 0;
    }

    .prov {
        min-height: 98px;
    }

    .mainnav {
        display: flex;
    }

    .navtoggle {
        display: none;
    }

    .stamp {
        display: block;
    }

    .brand img {
        height: 40px;
    }

    .hero {
        padding: 0 0 40px;
    }

    .hero__banner {
        margin-bottom: 28px;
    }

    .hero__copy {
        padding: 36px 40px 38px 42px;
    }

    .grid {
        grid-template-columns: repeat(4, 1fr);
    }

    .section {
        padding: 34px 0;
    }

    .section--providers {
        padding: 8px 0 22px;
    }

    .footer__top {
        grid-template-columns: 1.5fr .8fr 1.2fr;
    }

    .footer__providers {
        columns: 3;
    }
}

@media (min-width: 1280px) {
    .shell {
        width: min(100% - 120px, var(--shell));
    }

    .grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }

    .hero__name {
        font-size: 88px;
    }

    .providers {
        grid-template-columns: repeat(9, minmax(0, 1fr));
    }
}

@media (min-width: 1600px) {
    :root {
        --shell: 1440px;
    }

    .grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}
