[x-cloak] {
    display: none !important;
}

.oreviz-shell {
    --active-ore: #58d6d0;
    --ore-rgb: 88, 214, 208;
    --oreviz-bg: #07100f;
    --oreviz-surface: rgba(13, 27, 25, 0.88);
    --oreviz-surface-strong: #102522;
    --oreviz-line: rgba(173, 202, 195, 0.16);
    --oreviz-text: #f3fbf8;
    --oreviz-muted: #9db1ac;
    min-height: calc(100vh - 72px);
    padding: 28px clamp(14px, 3vw, 42px) 64px;
    color: var(--oreviz-text);
    background:
        radial-gradient(circle at 8% 0%, rgba(48, 199, 141, 0.13), transparent 30rem),
        radial-gradient(circle at 92% 18%, rgba(var(--ore-rgb), 0.12), transparent 34rem),
        linear-gradient(180deg, #091412 0%, #07100f 46%, #040908 100%);
    transition: background-color 180ms ease;
}

.oreviz-shell *,
.oreviz-shell *::before,
.oreviz-shell *::after {
    box-sizing: border-box;
}

.oreviz-shell button,
.oreviz-shell input {
    font: inherit;
}

.oreviz-shell button {
    cursor: pointer;
}

.oreviz-shell button:focus-visible,
.oreviz-shell a:focus-visible,
.oreviz-shell input:focus-visible {
    outline: 3px solid rgba(var(--ore-rgb), 0.42);
    outline-offset: 3px;
}

.oreviz-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 auto;
}

.oreviz-loading,
.oreviz-error,
.oreviz-hero,
.oreviz-control-deck,
.oreviz-ore-picker,
.oreviz-primary-grid,
.oreviz-chart-card,
.oreviz-rules-section,
.oreviz-insight-grid,
.oreviz-special,
.oreviz-method {
    width: min(1440px, 100%);
    margin-inline: auto;
}

.oreviz-loading,
.oreviz-error {
    min-height: 58vh;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    text-align: left;
}

.oreviz-loading p,
.oreviz-error p,
.oreviz-error h1 {
    margin: 0;
}

.oreviz-loading-mark {
    width: 34px;
    height: 34px;
    border: 3px solid rgba(88, 214, 208, 0.2);
    border-top-color: #58d6d0;
    border-radius: 50%;
    animation: ore-spin 0.8s linear infinite;
}

.oreviz-error {
    color: #fecaca;
}

.oreviz-error .oreviz-icon {
    width: 34px;
    height: 34px;
}

.oreviz-error h1 {
    font-size: 22px;
}

.oreviz-error p {
    margin-top: 5px;
    color: var(--oreviz-muted);
}

.oreviz-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.65fr);
    gap: 36px;
    align-items: end;
    padding: clamp(24px, 4vw, 54px);
    border: 1px solid rgba(125, 224, 185, 0.18);
    border-radius: 30px;
    background:
        linear-gradient(135deg, rgba(21, 56, 47, 0.9), rgba(8, 20, 18, 0.94) 54%),
        var(--oreviz-surface);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.05);
    overflow: hidden;
}

.oreviz-eyebrow {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.oreviz-eyebrow span {
    color: #8bfff0;
}

.oreviz-eyebrow b {
    padding: 6px 10px;
    border: 1px solid rgba(139, 255, 240, 0.22);
    border-radius: 999px;
    color: #dcfff9;
    background: rgba(46, 182, 145, 0.12);
    letter-spacing: 0;
}

.oreviz-hero h1 {
    max-width: 900px;
    margin: 0;
    color: #f8fffd;
    font-size: clamp(34px, 4.6vw, 68px);
    font-weight: 950;
    line-height: 1.04;
    letter-spacing: -0.045em;
}

.oreviz-hero-copy > p {
    max-width: 820px;
    margin: 22px 0 0;
    color: #bdd0cb;
    font-size: clamp(15px, 1.4vw, 19px);
    line-height: 1.8;
}

.oreviz-hero-meta {
    display: grid;
    gap: 10px;
}

.oreviz-hero-meta span {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 46px;
    padding: 0 14px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 14px;
    color: #ccdbd7;
    background: rgba(3, 12, 10, 0.38);
    font-size: 13px;
    font-weight: 750;
}

.oreviz-hero-meta .oreviz-icon {
    color: #73e4be;
}

.oreviz-control-deck {
    margin-top: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 12px;
    border: 1px solid var(--oreviz-line);
    border-radius: 20px;
    background: rgba(8, 21, 19, 0.82);
    box-shadow: 0 16px 46px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(18px);
}

.oreviz-dimension-tabs {
    display: flex;
    gap: 8px;
}

.oreviz-dimension-tab {
    min-width: 160px;
    min-height: 56px;
    padding: 8px 14px;
    display: grid;
    grid-template-columns: 34px 1fr;
    grid-template-rows: 1fr 1fr;
    column-gap: 10px;
    align-items: center;
    border: 1px solid transparent;
    border-radius: 14px;
    color: #bfd0cc;
    background: transparent;
    text-align: left;
    transition: 160ms ease;
}

.oreviz-dimension-tab img {
    width: 34px;
    height: 34px;
    grid-row: 1 / 3;
    image-rendering: pixelated;
}

.oreviz-dimension-tab span {
    align-self: end;
    font-weight: 900;
}

.oreviz-dimension-tab small {
    align-self: start;
    color: var(--oreviz-muted);
    font-size: 11px;
}

.oreviz-dimension-tab:hover,
.oreviz-dimension-tab.is-active {
    border-color: rgba(var(--ore-rgb), 0.38);
    color: #f8fffd;
    background: rgba(var(--ore-rgb), 0.12);
}

.oreviz-source-chip {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    color: #a8bdb7;
    background: rgba(255, 255, 255, 0.035);
    font-size: 12px;
    font-weight: 800;
    white-space: nowrap;
}

.oreviz-source-chip .oreviz-icon {
    color: #73e4be;
}

.oreviz-ore-picker {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(136px, 1fr));
    gap: 10px;
}

.oreviz-ore-button {
    min-width: 0;
    min-height: 72px;
    padding: 10px 12px;
    display: flex;
    align-items: center;
    gap: 11px;
    border: 1px solid var(--oreviz-line);
    border-radius: 16px;
    color: #d9e7e3;
    background: rgba(13, 27, 25, 0.7);
    text-align: left;
    transition: transform 160ms ease, border-color 160ms ease, background-color 160ms ease;
}

.oreviz-ore-button:hover {
    transform: translateY(-2px);
    border-color: rgba(var(--ore-rgb), 0.4);
}

.oreviz-ore-button.is-active {
    border-color: rgba(var(--ore-rgb), 0.72);
    color: #fff;
    background: linear-gradient(135deg, rgba(var(--ore-rgb), 0.2), rgba(13, 27, 25, 0.9));
    box-shadow: 0 12px 34px rgba(var(--ore-rgb), 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.oreviz-ore-button-icon {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    border-radius: 12px;
    background: rgba(var(--ore-rgb), 0.12);
}

.oreviz-ore-button img {
    width: 32px;
    height: 32px;
    image-rendering: pixelated;
}

.oreviz-ore-button > span:last-child {
    min-width: 0;
    display: grid;
    gap: 3px;
}

.oreviz-ore-button b,
.oreviz-ore-button small {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.oreviz-ore-button b {
    font-size: 14px;
}

.oreviz-ore-button small {
    color: var(--oreviz-muted);
    font-size: 11px;
}

.oreviz-primary-grid {
    margin-top: 16px;
    display: grid;
    grid-template-columns: minmax(0, 1.18fr) minmax(340px, 0.82fr);
    gap: 16px;
}

.oreviz-answer-card,
.oreviz-y-card,
.oreviz-chart-card,
.oreviz-rules-section,
.oreviz-insight-card,
.oreviz-special,
.oreviz-method {
    border: 1px solid var(--oreviz-line);
    background: var(--oreviz-surface);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.035);
    backdrop-filter: blur(18px);
}

.oreviz-answer-card,
.oreviz-y-card {
    min-height: 410px;
    border-radius: 24px;
}

.oreviz-answer-card {
    padding: clamp(20px, 3vw, 34px);
    background:
        radial-gradient(circle at 90% 8%, rgba(var(--ore-rgb), 0.15), transparent 19rem),
        var(--oreviz-surface);
}

.oreviz-answer-head {
    display: flex;
    align-items: center;
    gap: 14px;
}

.oreviz-active-icon {
    width: 64px;
    height: 64px;
    display: grid;
    place-items: center;
    flex: 0 0 64px;
    border: 1px solid rgba(var(--ore-rgb), 0.28);
    border-radius: 18px;
    background: rgba(var(--ore-rgb), 0.11);
    box-shadow: 0 12px 30px rgba(var(--ore-rgb), 0.1);
}

.oreviz-active-icon img {
    width: 44px;
    height: 44px;
    image-rendering: pixelated;
}

.oreviz-answer-head p,
.oreviz-answer-head h2,
.oreviz-answer-main p,
.oreviz-answer-main span,
.oreviz-answer-main strong {
    margin: 0;
}

.oreviz-answer-head p {
    color: var(--oreviz-muted);
    font-size: 12px;
    font-weight: 800;
}

.oreviz-answer-head h2 {
    margin-top: 4px;
    color: #fff;
    font-size: 26px;
    font-weight: 950;
}

.oreviz-answer-main {
    margin-top: 30px;
}

.oreviz-answer-main > span {
    display: block;
    color: var(--active-ore);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.12em;
}

.oreviz-answer-main strong {
    display: block;
    margin-top: 6px;
    color: #fff;
    font-size: clamp(34px, 4.2vw, 62px);
    font-weight: 950;
    line-height: 1.08;
    letter-spacing: -0.045em;
}

.oreviz-answer-main p {
    max-width: 820px;
    margin-top: 16px;
    color: #b5c8c3;
    font-size: 14px;
    line-height: 1.75;
}

.oreviz-answer-stats {
    margin-top: 26px;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 9px;
}

.oreviz-answer-stats > div {
    min-width: 0;
    padding: 13px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 14px;
    background: rgba(3, 12, 10, 0.36);
}

.oreviz-answer-stats span,
.oreviz-answer-stats b {
    display: block;
}

.oreviz-answer-stats span {
    margin-bottom: 7px;
    color: #7f9891;
    font-size: 11px;
    font-weight: 800;
}

.oreviz-answer-stats b {
    color: #edf8f4;
    font-size: 13px;
    line-height: 1.45;
}

.oreviz-answer-actions {
    margin-top: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.oreviz-answer-actions > span {
    color: #8fa49e;
    font-size: 12px;
    font-weight: 750;
}

.oreviz-copy-button {
    min-height: 44px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    border: 1px solid rgba(var(--ore-rgb), 0.48);
    border-radius: 13px;
    color: #f5fffc;
    background: rgba(var(--ore-rgb), 0.13);
    font-weight: 900;
    transition: 160ms ease;
}

.oreviz-copy-button:hover {
    transform: translateY(-1px);
    background: rgba(var(--ore-rgb), 0.2);
}

.oreviz-y-card {
    padding: 24px;
}

.oreviz-section-title,
.oreviz-chart-head,
.oreviz-section-heading {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 20px;
}

.oreviz-section-title span,
.oreviz-chart-head span,
.oreviz-section-heading span,
.oreviz-insight-card span,
.oreviz-special-copy > span,
.oreviz-method span {
    color: var(--active-ore);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.oreviz-section-title h2,
.oreviz-chart-head h2,
.oreviz-section-heading h2,
.oreviz-insight-card h2,
.oreviz-special h2,
.oreviz-method h2 {
    margin: 5px 0 0;
    color: #f7fffc;
    font-weight: 950;
    letter-spacing: -0.025em;
}

.oreviz-section-title h2 {
    font-size: 25px;
}

.oreviz-section-title h2 b {
    color: var(--active-ore);
}

.oreviz-section-title > button {
    min-height: 36px;
    padding: 0 11px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 11px;
    color: #b8cbc6;
    background: rgba(255, 255, 255, 0.035);
    font-size: 11px;
    font-weight: 800;
    white-space: nowrap;
}

.oreviz-y-verdict {
    margin-top: 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    border: 1px solid rgba(var(--ore-rgb), 0.22);
    border-radius: 15px;
    background: rgba(var(--ore-rgb), 0.09);
}

.oreviz-y-verdict.is-empty {
    border-color: rgba(248, 113, 113, 0.2);
    background: rgba(127, 29, 29, 0.11);
}

.oreviz-y-dot {
    width: 12px;
    height: 12px;
    flex: 0 0 12px;
    border-radius: 50%;
    background: var(--active-ore);
    box-shadow: 0 0 0 6px rgba(var(--ore-rgb), 0.12), 0 0 18px rgba(var(--ore-rgb), 0.5);
}

.oreviz-y-verdict.is-empty .oreviz-y-dot {
    background: #f87171;
    box-shadow: 0 0 0 6px rgba(248, 113, 113, 0.1);
}

.oreviz-y-verdict b,
.oreviz-y-verdict small {
    display: block;
}

.oreviz-y-verdict b {
    color: #fff;
    font-size: 14px;
}

.oreviz-y-verdict small {
    margin-top: 3px;
    color: #879c96;
    font-size: 10px;
    line-height: 1.5;
}

.oreviz-y-slider {
    margin-top: 24px;
    display: grid;
    grid-template-columns: auto 1fr auto;
    gap: 12px;
    align-items: center;
    color: #8fa49e;
    font-size: 11px;
    font-weight: 800;
}

.oreviz-y-slider input {
    width: 100%;
    height: 6px;
    accent-color: var(--active-ore);
}

.oreviz-y-input-row {
    margin-top: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.oreviz-y-input-row label {
    color: #a9bcb7;
    font-size: 12px;
    font-weight: 750;
}

.oreviz-y-input-row input {
    width: 100px;
    height: 40px;
    border: 1px solid rgba(var(--ore-rgb), 0.3);
    border-radius: 11px;
    color: #fff;
    background: rgba(3, 12, 10, 0.58);
    text-align: center;
    font-weight: 900;
}

.oreviz-y-rules {
    margin-top: 21px;
    display: grid;
    gap: 8px;
}

.oreviz-y-rules > span {
    color: #789089;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.oreviz-y-rules > p {
    margin: 0;
    padding: 10px 12px;
    border-radius: 10px;
    color: #fca5a5;
    background: rgba(127, 29, 29, 0.1);
    font-size: 11px;
}

.oreviz-y-rules > div {
    min-height: 34px;
    padding: 7px 10px;
    display: grid;
    grid-template-columns: 16px 1fr auto;
    gap: 8px;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    color: #cfddd9;
    background: rgba(255, 255, 255, 0.025);
    font-size: 11px;
}

.oreviz-y-rules .oreviz-icon {
    width: 15px;
    height: 15px;
    color: var(--active-ore);
}

.oreviz-y-rules small {
    color: #82968f;
}

.oreviz-chart-card {
    margin-top: 16px;
    padding: clamp(20px, 3vw, 34px);
    border-radius: 24px;
}

.oreviz-chart-head h2,
.oreviz-section-heading h2 {
    font-size: clamp(23px, 2.5vw, 34px);
}

.oreviz-chart-head p,
.oreviz-section-heading p {
    max-width: 620px;
    margin: 0;
    color: #8fa49e;
    font-size: 12px;
    line-height: 1.7;
}

.oreviz-chart-axis {
    height: 30px;
    margin: 26px 66px 0 176px;
    position: relative;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.oreviz-chart-axis span {
    position: absolute;
    bottom: 7px;
    transform: translateX(-50%);
    color: #738a83;
    font-size: 10px;
    font-weight: 800;
}

.oreviz-chart-axis span::after {
    content: "";
    width: 1px;
    height: 6px;
    position: absolute;
    left: 50%;
    top: calc(100% + 4px);
    background: rgba(255, 255, 255, 0.14);
}

.oreviz-chart-rows {
    display: grid;
    gap: 8px;
}

.oreviz-chart-row {
    min-height: 60px;
    padding: 7px;
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr) 52px;
    gap: 10px;
    align-items: center;
    border: 1px solid transparent;
    border-radius: 14px;
    transition: 160ms ease;
}

.oreviz-chart-row:hover,
.oreviz-chart-row.is-active {
    border-color: rgba(var(--ore-rgb), 0.24);
    background: rgba(var(--ore-rgb), 0.055);
}

.oreviz-chart-label {
    min-width: 0;
    padding: 0;
    display: flex;
    align-items: center;
    gap: 9px;
    border: 0;
    color: #e6f0ed;
    background: transparent;
    text-align: left;
}

.oreviz-chart-label img {
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    image-rendering: pixelated;
}

.oreviz-chart-label span {
    min-width: 0;
}

.oreviz-chart-label b,
.oreviz-chart-label small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.oreviz-chart-label b {
    font-size: 13px;
}

.oreviz-chart-label small {
    margin-top: 3px;
    color: #789089;
    font-size: 9px;
}

.oreviz-distribution-grid {
    height: 36px;
    display: grid;
    grid-template-columns: repeat(var(--cell-count), minmax(0, 1fr));
    gap: 1px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 8px;
    background: rgba(1, 7, 6, 0.58);
}

.oreviz-distribution-cell {
    min-width: 0;
    padding: 0;
    border: 0;
    background: var(--cell-fill);
    box-shadow: inset 0 0 12px var(--cell-glow);
}

.oreviz-distribution-cell.is-empty {
    cursor: default;
}

.oreviz-distribution-cell.is-selected {
    position: relative;
    z-index: 1;
    box-shadow: inset 2px 0 #fff, inset -2px 0 #fff, 0 0 14px rgba(255, 255, 255, 0.36);
}

.oreviz-chart-value {
    min-height: 28px;
    display: grid;
    place-items: center;
    border-radius: 9px;
    color: #effcf8;
    background: rgba(var(--ore-rgb), 0.12);
    font-size: 10px;
    font-weight: 900;
}

.oreviz-chart-value.is-empty {
    color: #657a74;
    background: rgba(255, 255, 255, 0.025);
}

.oreviz-chart-legend {
    margin: 20px 0 0 176px;
    display: flex;
    align-items: center;
    gap: 16px;
    color: #7f958e;
    font-size: 10px;
}

.oreviz-chart-legend span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.oreviz-chart-legend i {
    width: 24px;
    height: 8px;
    border-radius: 999px;
    background: var(--active-ore);
}

.oreviz-chart-legend i.is-low {
    opacity: 0.2;
}

.oreviz-chart-legend i.is-mid {
    opacity: 0.55;
}

.oreviz-chart-legend i.is-high {
    opacity: 1;
}

.oreviz-chart-legend b {
    margin-left: auto;
    color: #dce9e5;
}

.oreviz-rules-section {
    margin-top: 16px;
    padding: clamp(20px, 3vw, 34px);
    border-radius: 24px;
}

.oreviz-rules-table-wrap {
    margin-top: 24px;
    overflow-x: auto;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 16px;
}

.oreviz-rules-table {
    width: 100%;
    min-width: 980px;
    border-collapse: collapse;
    color: #bfd0cb;
    font-size: 12px;
    text-align: left;
}

.oreviz-rules-table th,
.oreviz-rules-table td {
    padding: 15px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.055);
    vertical-align: middle;
}

.oreviz-rules-table th {
    color: #839a93;
    background: rgba(3, 12, 10, 0.54);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.oreviz-rules-table tbody tr:last-child td {
    border-bottom: 0;
}

.oreviz-rules-table tbody tr:hover {
    background: rgba(var(--ore-rgb), 0.04);
}

.oreviz-rules-table tr.is-biome-rule {
    background: rgba(245, 158, 11, 0.035);
}

.oreviz-rules-table td:first-child b,
.oreviz-rules-table td:first-child code {
    display: block;
}

.oreviz-rules-table td:first-child b {
    color: #eef8f5;
    font-size: 12px;
}

.oreviz-rules-table code {
    margin-top: 5px;
    color: #728982;
    font-size: 9px;
}

.oreviz-scope-badge {
    display: inline-flex;
    padding: 6px 9px;
    border-radius: 999px;
    color: #bcd0ca;
    background: rgba(255, 255, 255, 0.045);
    font-size: 10px;
    font-weight: 800;
}

.oreviz-scope-badge.is-bonus {
    color: #fcd999;
    background: rgba(245, 158, 11, 0.1);
}

.oreviz-insight-grid {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.oreviz-insight-card {
    min-height: 188px;
    padding: 24px;
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 16px;
    border-radius: 22px;
}

.oreviz-insight-card.is-biome {
    background:
        radial-gradient(circle at 100% 0%, rgba(245, 158, 11, 0.1), transparent 19rem),
        var(--oreviz-surface);
}

.oreviz-insight-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    color: var(--active-ore);
    background: rgba(var(--ore-rgb), 0.11);
}

.oreviz-insight-icon .oreviz-icon {
    width: 24px;
    height: 24px;
}

.oreviz-insight-card h2 {
    font-size: 20px;
}

.oreviz-insight-card p {
    margin: 10px 0 0;
    color: #91a69f;
    font-size: 12px;
    line-height: 1.75;
}

.oreviz-special {
    margin-top: 16px;
    display: grid;
    grid-template-columns: minmax(320px, 0.78fr) minmax(0, 1.22fr);
    overflow: hidden;
    border-radius: 24px;
}

.oreviz-special-media {
    min-height: 290px;
    position: relative;
    overflow: hidden;
    background: #09100e;
}

.oreviz-special-media > img {
    width: 100%;
    height: 100%;
    position: absolute;
    inset: 0;
    object-fit: cover;
}

.oreviz-special-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent 46%, rgba(9, 19, 17, 0.9));
}

.oreviz-special-blocks {
    position: absolute;
    left: 20px;
    bottom: 20px;
    z-index: 1;
    display: flex;
    gap: 8px;
}

.oreviz-special-blocks img {
    width: 54px;
    height: 54px;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 14px;
    background: rgba(3, 9, 8, 0.68);
    image-rendering: pixelated;
    backdrop-filter: blur(10px);
}

.oreviz-special-copy {
    padding: clamp(26px, 4vw, 52px);
    align-self: center;
}

.oreviz-special-copy > span {
    color: #f2cf63;
}

.oreviz-special h2 {
    font-size: clamp(25px, 3vw, 40px);
}

.oreviz-special p {
    margin: 16px 0 0;
    color: #a9bdb7;
    font-size: 13px;
    line-height: 1.8;
}

.oreviz-special a {
    margin-top: 22px;
    min-height: 42px;
    padding: 0 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(242, 207, 99, 0.25);
    border-radius: 12px;
    color: #f7e6a5;
    background: rgba(242, 207, 99, 0.08);
    font-size: 12px;
    font-weight: 900;
    text-decoration: none;
}

.oreviz-method {
    margin-top: 16px;
    padding: 26px;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
    gap: 30px;
    align-items: center;
    border-radius: 22px;
}

.oreviz-method > div:first-child {
    display: grid;
    grid-template-columns: 44px 1fr;
    gap: 14px;
}

.oreviz-method-icon {
    width: 30px;
    height: 30px;
    color: var(--active-ore);
}

.oreviz-method h2 {
    font-size: 20px;
}

.oreviz-method p {
    margin: 9px 0 0;
    color: #8ea39c;
    font-size: 11px;
    line-height: 1.75;
}

.oreviz-source-links {
    display: grid;
    gap: 8px;
}

.oreviz-source-links a {
    min-height: 42px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border: 1px solid rgba(255, 255, 255, 0.07);
    border-radius: 12px;
    color: #b8cbc6;
    background: rgba(255, 255, 255, 0.025);
    font-size: 11px;
    font-weight: 750;
    line-height: 1.45;
    text-decoration: none;
}

.oreviz-source-links a:hover {
    border-color: rgba(var(--ore-rgb), 0.25);
    color: #edf8f4;
}

@keyframes ore-spin {
    to {
        transform: rotate(360deg);
    }
}

@media (max-width: 1120px) {
    .oreviz-hero {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .oreviz-hero-meta {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .oreviz-primary-grid {
        grid-template-columns: 1fr;
    }

    .oreviz-answer-card,
    .oreviz-y-card {
        min-height: 0;
    }

    .oreviz-method {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 820px) {
    .oreviz-shell {
        padding-top: 16px;
    }

    .oreviz-hero {
        gap: 24px;
        border-radius: 22px;
    }

    .oreviz-hero h1 {
        letter-spacing: -0.035em;
    }

    .oreviz-hero-meta {
        grid-template-columns: 1fr;
    }

    .oreviz-control-deck {
        align-items: stretch;
        flex-direction: column;
    }

    .oreviz-dimension-tabs {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .oreviz-dimension-tab {
        min-width: 0;
    }

    .oreviz-source-chip {
        justify-content: center;
    }

    .oreviz-answer-stats {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .oreviz-chart-head,
    .oreviz-section-heading {
        display: grid;
    }

    .oreviz-chart-axis {
        margin-right: 48px;
        margin-left: 116px;
    }

    .oreviz-chart-row {
        grid-template-columns: 100px minmax(0, 1fr) 38px;
        gap: 6px;
    }

    .oreviz-chart-label img {
        width: 28px;
        height: 28px;
        flex-basis: 28px;
    }

    .oreviz-chart-label small {
        display: none;
    }

    .oreviz-chart-value {
        font-size: 9px;
    }

    .oreviz-chart-legend {
        margin-left: 116px;
        flex-wrap: wrap;
    }

    .oreviz-insight-grid {
        grid-template-columns: 1fr;
    }

    .oreviz-special {
        grid-template-columns: 1fr;
    }

    .oreviz-special-media {
        min-height: 260px;
    }

    .oreviz-special-media::after {
        background: linear-gradient(180deg, transparent 56%, rgba(9, 19, 17, 0.94));
    }
}

@media (max-width: 560px) {
    .oreviz-shell {
        padding-inline: 10px;
        padding-bottom: 44px;
    }

    .oreviz-hero {
        padding: 22px;
    }

    .oreviz-eyebrow {
        align-items: flex-start;
        flex-direction: column;
    }

    .oreviz-hero h1 {
        font-size: 36px;
    }

    .oreviz-hero-copy > p {
        font-size: 14px;
    }

    .oreviz-dimension-tab {
        min-height: 60px;
        padding-inline: 9px;
        grid-template-columns: 30px 1fr;
    }

    .oreviz-dimension-tab img {
        width: 30px;
        height: 30px;
    }

    .oreviz-ore-picker {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .oreviz-ore-button {
        min-height: 64px;
        padding: 8px;
        gap: 8px;
    }

    .oreviz-ore-button-icon {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .oreviz-ore-button img {
        width: 28px;
        height: 28px;
    }

    .oreviz-answer-card,
    .oreviz-y-card,
    .oreviz-chart-card,
    .oreviz-rules-section,
    .oreviz-insight-card,
    .oreviz-method {
        padding: 18px;
        border-radius: 18px;
    }

    .oreviz-active-icon {
        width: 54px;
        height: 54px;
        flex-basis: 54px;
    }

    .oreviz-active-icon img {
        width: 38px;
        height: 38px;
    }

    .oreviz-answer-main {
        margin-top: 24px;
    }

    .oreviz-answer-main strong {
        font-size: 36px;
    }

    .oreviz-answer-actions {
        align-items: flex-start;
        flex-direction: column;
    }

    .oreviz-section-title {
        display: grid;
    }

    .oreviz-section-title > button {
        width: max-content;
    }

    .oreviz-chart-axis {
        margin-right: 38px;
        margin-left: 80px;
    }

    .oreviz-chart-axis span:nth-child(even) {
        display: none;
    }

    .oreviz-chart-row {
        min-height: 52px;
        padding-inline: 3px;
        grid-template-columns: 70px minmax(0, 1fr) 32px;
        gap: 4px;
    }

    .oreviz-chart-label {
        gap: 6px;
    }

    .oreviz-chart-label img {
        width: 24px;
        height: 24px;
        flex-basis: 24px;
    }

    .oreviz-chart-label b {
        font-size: 10px;
    }

    .oreviz-distribution-grid {
        height: 30px;
        gap: 0;
    }

    .oreviz-chart-value {
        min-height: 24px;
        font-size: 8px;
    }

    .oreviz-chart-legend {
        margin-left: 80px;
        gap: 10px;
    }

    .oreviz-chart-legend b {
        width: 100%;
        margin-left: 0;
    }

    .oreviz-insight-card {
        grid-template-columns: 40px 1fr;
        gap: 12px;
    }

    .oreviz-insight-icon {
        width: 40px;
        height: 40px;
    }

    .oreviz-special-media {
        min-height: 220px;
    }

    .oreviz-special-copy {
        padding: 22px;
    }

    .oreviz-method > div:first-child {
        grid-template-columns: 34px 1fr;
    }
}

@media (prefers-reduced-motion: reduce) {
    .oreviz-loading-mark {
        animation: none;
    }

    .oreviz-shell *,
    .oreviz-shell *::before,
    .oreviz-shell *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}
