:root {
    --ada-bg: rgba(7, 10, 14, .975);
    --ada-panel: rgba(11, 15, 21, .97);
    --ada-line: rgba(225, 177, 65, .22);
    --ada-line-soft: rgba(225, 177, 65, .11);
    --ada-gold: #e5b84e;
    --ada-text: #edf1f5;
    --ada-muted: #7d8999;
    --ada-sun: #f07b32;
    --ada-moon: #4d9de0;
    --ada-star: #ebbd35;
}

body:has(.ashunt-drop-atlas) .card.downloads {
    overflow: visible !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

body:has(.ashunt-drop-atlas) .card.downloads > .card-header {
    display: none !important;
}

body:has(.ashunt-drop-atlas) .card.downloads > .card-body {
    padding: 0 !important;
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.ashunt-drop-atlas {
    display: grid;
    gap: 16px;
    color: var(--ada-text);
}

.ada-title {
    width: fit-content;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 18px 12px 12px;
    border: 1px solid rgba(229, 184, 78, .34);
    border-radius: 15px;
    background: linear-gradient(180deg, rgba(14, 18, 25, .97), rgba(8, 11, 16, .94));
    box-shadow: inset 3px 0 0 rgba(229, 184, 78, .78), 0 14px 34px rgba(0, 0, 0, .28);
}

.ada-title__icon {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    flex: 0 0 46px;
    color: #f0c55e;
    border: 1px solid rgba(229, 184, 78, .3);
    border-radius: 12px;
    background: radial-gradient(circle at 35% 30%, rgba(229, 184, 78, .2), rgba(71, 47, 8, .08));
    font-size: 19px;
}

.ada-title span,
.ada-card header span,
.ada-section-head span {
    color: #c89b34;
    font-size: .68rem;
    font-weight: 900;
    letter-spacing: .12em;
}

.ada-title h1 {
    margin: 2px 0 0;
    color: #fff;
    font-size: 1.8rem;
    font-weight: 900;
    line-height: 1;
}

.ada-title p {
    margin: 5px 0 0;
    color: #a4afbd;
    font-size: .78rem;
}

.ada-summary-grid {
    display: grid;
    grid-template-columns: 1fr 1.12fr .82fr;
    gap: 12px;
}

.ada-card,
.ada-breakdown,
.ada-insight,
.ada-footnote {
    border: 1px solid var(--ada-line);
    background:
        radial-gradient(circle at 88% 0, rgba(53, 115, 158, .07), transparent 32%),
        linear-gradient(180deg, rgba(11, 15, 21, .985), rgba(6, 9, 13, .985));
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .025), 0 16px 36px rgba(0, 0, 0, .22);
}

.ada-card {
    min-height: 210px;
    overflow: hidden;
    border-radius: 15px;
}

.ada-card > header {
    min-height: 46px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 14px;
    border-bottom: 1px solid var(--ada-line-soft);
    background: rgba(225, 177, 65, .025);
}

.ada-card > header strong {
    color: #a49369;
    font-size: .64rem;
    letter-spacing: .08em;
}

.ada-donut-layout {
    min-height: 163px;
    display: grid;
    grid-template-columns: 128px 1fr;
    align-items: center;
    gap: 12px;
    padding: 14px;
}

.ada-donut {
    width: 118px;
    height: 118px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: conic-gradient(
        var(--ada-sun) 0 var(--sun-end),
        var(--ada-moon) var(--sun-end) var(--moon-end),
        var(--ada-star) var(--moon-end) 100%
    );
    box-shadow: 0 0 24px rgba(225, 177, 65, .13);
}

.ada-donut::before {
    content: '';
    grid-area: 1 / 1;
    width: 78px;
    height: 78px;
    border-radius: 50%;
    background: #090d12;
    border: 1px solid rgba(229, 184, 78, .13);
}

.ada-donut > div {
    z-index: 1;
    grid-area: 1 / 1;
    text-align: center;
}

.ada-donut strong,
.ada-donut span {
    display: block;
}

.ada-donut strong {
    color: #f2ca68;
    font-size: 1.56rem;
}

.ada-donut span {
    color: #a19477;
    font-size: .59rem;
    font-weight: 800;
}

.ada-legend {
    display: grid;
    gap: 15px;
}

.ada-legend > div,
.ada-total-lines > div {
    display: grid;
    grid-template-columns: 10px 42px 1fr;
    align-items: center;
    gap: 7px;
}

.ada-legend i,
.ada-total-lines i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: currentColor;
    box-shadow: 0 0 9px currentColor;
}

.is-sun { color: var(--ada-sun) !important; }
.is-moon { color: var(--ada-moon) !important; }
.is-star { color: var(--ada-star) !important; }

.ada-legend span,
.ada-total-lines span {
    color: #d2bd85;
    font-size: .77rem;
    font-weight: 800;
}

.ada-legend strong {
    color: currentColor;
    font-size: .78rem;
    text-align: right;
}

.ada-legend small {
    color: #aa9b7b;
    font-size: .67rem;
}

.ada-daily {
    display: flex;
    flex-direction: column;
}

.ada-daily-grid {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    align-items: center;
    gap: 8px;
    padding: 12px 10px 8px;
}

.ada-daily-grid > div {
    text-align: center;
}

.ada-orb {
    width: 62px;
    height: 62px;
    display: block;
    margin: 0 auto 7px;
    border-radius: 50%;
    background: radial-gradient(circle at 34% 30%, #fff6c7 0 5%, currentColor 28%, #442505 67%, #090804 100%);
    box-shadow: 0 0 18px currentColor;
}

.ada-daily-grid .is-moon .ada-orb {
    background: radial-gradient(circle at 34% 30%, #e3f2ff 0 5%, #4d9de0 28%, #153b67 67%, #05090f 100%);
}

.ada-daily-grid strong,
.ada-daily-grid b,
.ada-daily-grid small {
    display: block;
}

.ada-daily-grid strong { color: #d2bd85; font-size: .71rem; }
.ada-daily-grid b { margin-top: 2px; font-size: 1.34rem; }
.ada-daily-grid small { color: currentColor; font-size: .69rem; font-weight: 700; }

.ada-daily footer {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-top: 1px solid var(--ada-line-soft);
    color: #9a907d;
    font-size: .66rem;
}

.ada-daily footer strong { color: #d0ae67; }

.ada-total {
    display: flex;
    flex-direction: column;
}

.ada-total-number {
    padding: 14px 12px 8px;
    text-align: center;
}

.ada-total-number strong,
.ada-total-number span { display: block; }
.ada-total-number strong { color: #efc760; font-size: 2.28rem; line-height: 1; }
.ada-total-number span { margin-top: 5px; color: #a39575; font-size: .62rem; font-weight: 800; }

.ada-total-lines {
    margin-top: auto;
    padding: 0 14px 12px;
}

.ada-total-lines > div {
    min-height: 29px;
    border-top: 1px solid var(--ada-line-soft);
    font-size: .78rem;
}

.ada-total-lines strong {
    color: currentColor;
    text-align: right;
}

.ada-breakdown {
    overflow: hidden;
    border-radius: 15px;
}

.ada-section-head {
    min-height: 58px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 10px 16px;
    border-bottom: 1px solid var(--ada-line-soft);
}

.ada-section-head h2 {
    margin: 2px 0 0;
    color: #f0c969;
    font-size: 1.14rem;
    font-weight: 900;
}

.ada-section-head p {
    margin: 0;
    color: #a89b7c;
    font-size: .75rem;
}

.ada-section-head p strong {
    color: #e8bc53;
    font-size: 1.15rem;
}

.ada-matrix {
    padding: 10px 12px 12px;
}

.ada-matrix-row {
    min-height: 39px;
    display: grid;
    grid-template-columns: minmax(210px, 1.7fr) repeat(4, minmax(82px, .65fr));
    align-items: center;
    border-bottom: 1px solid var(--ada-line-soft);
}

.ada-matrix-row:last-child { border-bottom: 0; }
.ada-matrix-row > span,
.ada-matrix-row > strong { padding: 7px 10px; }

.ada-matrix-row > span {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #e0cd9d;
    font-size: .83rem;
}

.ada-matrix-row > span i {
    width: 25px;
    height: 25px;
    display: grid;
    place-items: center;
    color: #d8a943;
    border: 1px solid rgba(225, 177, 65, .18);
    border-radius: 6px;
    font-size: .65rem;
}

.ada-matrix-row > strong {
    color: #d9c38c;
    border-left: 1px solid rgba(225, 177, 65, .07);
    font-size: .83rem;
    text-align: center;
}

.ada-matrix-row.is-head,
.ada-matrix-row.is-total { background: rgba(225, 177, 65, .035); }
.ada-matrix-row.is-head { min-height: 35px; }
.ada-matrix-row.is-head > * { color: #a6997b; font-size: .69rem; font-weight: 900; letter-spacing: .06em; }
.ada-matrix-row.is-total > * { color: #f0cc77; font-weight: 900; }

.ada-insights-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.ada-insight {
    min-height: 310px;
    padding: 14px 16px;
    border-radius: 15px;
}

.ada-insight > header {
    min-height: 52px;
    display: flex;
    align-items: center;
    gap: 11px;
    border-bottom: 1px solid var(--ada-line-soft);
}

.ada-insight > header > i {
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    flex: 0 0 34px;
    color: #e7b64a;
    border: 1px solid rgba(225, 177, 65, .25);
    border-radius: 50%;
    background: rgba(225, 177, 65, .045);
}

.ada-insight h3 {
    margin: 0;
    color: #e5bb57;
    font-size: .94rem;
    font-weight: 900;
    text-transform: uppercase;
}

.ada-insight header span {
    display: block;
    margin-top: 2px;
    color: #9d927c;
    font-size: .69rem;
}

.ada-bars > div { margin-top: 11px; }
.ada-bars p {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin: 0;
    color: #dfcc99;
    font-size: .78rem;
}
.ada-bars p strong { color: #e8c469; }
.ada-bars p small { color: #aaa087; font-size: .67rem; }
.ada-bars p + i {
    height: 6px;
    display: block;
    margin-top: 4px;
    overflow: hidden;
    border: 1px solid rgba(77, 157, 224, .13);
    border-radius: 5px;
    background: #060a0f;
}
.ada-bars p + i b {
    height: 100%;
    display: block;
    border-radius: inherit;
    background: linear-gradient(90deg, #a56d16, #e5b84e 58%, #4d9de0);
    box-shadow: 0 0 8px rgba(229, 184, 78, .32);
}

.ada-ranking > div {
    min-height: 34px;
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) auto;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid var(--ada-line-soft);
    font-size: .79rem;
}

.ada-ranking > div b {
    color: #70a9d1;
    text-align: center;
}

.ada-ranking > div span {
    min-width: 0;
    overflow: hidden;
    color: #e2cf9e;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ada-ranking > div strong { color: #efc258; }
.ada-ranking > p { margin: 75px 0 0; color: #9d927c; font-size: .77rem; text-align: center; }

.ada-footnote {
    min-height: 48px;
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    border-radius: 12px;
    color: #aaa08b;
    font-size: .74rem;
}

.ada-footnote > i { color: #d9a83d; }
.ada-footnote > strong { color: #d0ae67; font-size: .69rem; }

@media (max-width: 992px) {
    .ada-summary-grid { grid-template-columns: 1fr 1fr; }
    .ada-total { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
    .ada-summary-grid,
    .ada-insights-grid { grid-template-columns: 1fr; }
    .ada-total { grid-column: auto; }
    .ada-matrix { overflow-x: auto; }
    .ada-matrix-row { min-width: 690px; }
    .ada-footnote { grid-template-columns: auto 1fr; }
    .ada-footnote > strong { grid-column: 2; }
}

@media (max-width: 480px) {
    .ada-title { width: 100%; }
    .ada-title h1 { font-size: 1.35rem; }
    .ada-donut-layout { grid-template-columns: 112px 1fr; padding: 10px; }
    .ada-donut { width: 102px; height: 102px; }
    .ada-donut::before { width: 68px; height: 68px; }
    .ada-orb { width: 52px; height: 52px; }
    .ada-section-head { align-items: flex-start; flex-direction: column; }
}
