/* Each mineral owns the same palette in its tab, selected map and source table.
   Metallic tints follow material appearance; lighter values keep dark UI text legible. */
.mineral-atlas,
.mineral-atlas[data-active-mineral="silver"],
.mineral-atlas [data-atlas-mineral="silver"],
.mineral-atlas [data-table-mineral="silver"] { --atlas-accent: #d9dfe5; --atlas-1: #414b56; --atlas-2: #74818e; --atlas-3: #a8b4bf; --atlas-4: #d9dfe5; }
.mineral-atlas[data-active-mineral="copper"],
.mineral-atlas [data-atlas-mineral="copper"],
.mineral-atlas [data-table-mineral="copper"] { --atlas-accent: #e5b58d; --atlas-1: #694731; --atlas-2: #9a653f; --atlas-3: #c18a5d; --atlas-4: #e5b58d; }
.mineral-atlas[data-active-mineral="antimony"],
.mineral-atlas [data-atlas-mineral="antimony"],
.mineral-atlas [data-table-mineral="antimony"] { --atlas-accent: #c7c8d0; --atlas-1: #44464e; --atlas-2: #717582; --atlas-3: #a0a4b0; --atlas-4: #c7c8d0; }
.mineral-atlas[data-active-mineral="tungsten"],
.mineral-atlas [data-atlas-mineral="tungsten"],
.mineral-atlas [data-table-mineral="tungsten"] { --atlas-accent: #b9c0c6; --atlas-1: #3d4349; --atlas-2: #616b73; --atlas-3: #8c979f; --atlas-4: #b9c0c6; }
.mineral-atlas[data-active-mineral="lithium"],
.mineral-atlas [data-atlas-mineral="lithium"],
.mineral-atlas [data-table-mineral="lithium"] { --atlas-accent: #edf0ef; --atlas-1: #4b5051; --atlas-2: #80898b; --atlas-3: #b8c1c1; --atlas-4: #edf0ef; }
.mineral-atlas[data-active-mineral="cobalt"],
.mineral-atlas [data-atlas-mineral="cobalt"],
.mineral-atlas [data-table-mineral="cobalt"] { --atlas-accent: #b9cbe0; --atlas-1: #35465b; --atlas-2: #5f7793; --atlas-3: #8da4bf; --atlas-4: #b9cbe0; }
.mineral-atlas[data-active-mineral="nickel"],
.mineral-atlas [data-atlas-mineral="nickel"],
.mineral-atlas [data-table-mineral="nickel"] { --atlas-accent: #cecbbf; --atlas-1: #4a4943; --atlas-2: #78766a; --atlas-3: #a7a394; --atlas-4: #cecbbf; }
.mineral-atlas[data-active-mineral="graphite"],
.mineral-atlas [data-atlas-mineral="graphite"],
.mineral-atlas [data-table-mineral="graphite"] { --atlas-accent: #bcbcc2; --atlas-1: #414146; --atlas-2: #626269; --atlas-3: #909097; --atlas-4: #bcbcc2; }
.mineral-atlas { width: var(--sw-shell); margin: 0 auto; padding: 54px 0 68px; font-family: var(--sw-sans); }
html.mineral-atlas-open { overflow: hidden; }
.mineral-atlas [hidden] { display: none !important; }
.mineral-atlas button, .mineral-atlas input { font: inherit; }
.mineral-atlas button { cursor: pointer; }
.mineral-atlas button:disabled { opacity: .4; cursor: default; }
.mineral-atlas__header { display: flex; justify-content: space-between; gap: 40px; align-items: center; margin-bottom: 36px; }
.mineral-atlas__eyebrow { margin: 0 0 14px; font: 10px/1.5 var(--sw-mono); letter-spacing: .13em; text-transform: uppercase; color: #aab8c4; }
.mineral-atlas__eyebrow > span { padding: 0 9px; color: #626d78; }
.mineral-atlas__header h1 { margin: 0; font: 400 clamp(38px, 4.4vw, 66px)/1.04 var(--sw-serif); letter-spacing: -.045em; }
.mineral-atlas__header h1 em { color: var(--atlas-accent); font-weight: 400; }
.mineral-atlas__intro { max-width: 660px; margin: 20px 0 0; font-size: 14px; line-height: 1.75; color: #b4bec8; }
.mineral-atlas__edition { min-width: 150px; padding-left: 28px; border-left: 1px solid var(--sw-line); display: grid; gap: 8px; }
.mineral-atlas__edition > span, .mineral-atlas__edition small { color: #99a8b5; font: 10px/1.65 var(--sw-mono); text-transform: uppercase; letter-spacing: .07em; }
.mineral-atlas__edition strong { font: 400 42px/1.4 var(--sw-serif); }
.mineral-atlas__edition i { font-style: normal; color: #525e69; }
.mineral-atlas__workspace { border: 1px solid #39444e; background: #10151b; }
.mineral-atlas__toolbar { display: flex; flex-direction: column; align-items: stretch; border-bottom: 1px solid #39444e; background: #141a21; }
.mineral-atlas__metals { display: grid; grid-template-columns: repeat(8, minmax(0, 1fr)); }
.mineral-atlas__views { display: flex; gap: 0; justify-content: flex-end; border-top: 1px solid #343e48; }
.mineral-atlas__metals button { display: flex; min-width: 0; align-items: center; justify-content: center; gap: 8px; min-height: 66px; padding: 12px; text-align: left; border: 0; border-right: 1px solid #343e48; border-bottom: 2px solid color-mix(in srgb, var(--atlas-3) 65%, transparent); background: color-mix(in srgb, var(--atlas-accent) 6%, #141a21); color: var(--atlas-accent); }
.mineral-atlas__metals b { font: 400 25px/1 var(--sw-serif); color: var(--atlas-accent); }
.mineral-atlas__metals span { font-size: 12px; }
.mineral-atlas__metals button:hover { background: color-mix(in srgb, var(--atlas-accent) 13%, #141a21); }
.mineral-atlas__metals [aria-pressed=true] { background: color-mix(in srgb, var(--atlas-accent) 19%, #141a21); color: color-mix(in srgb, var(--atlas-accent) 45%, #fff); border-bottom-color: var(--atlas-accent); box-shadow: inset 0 2px var(--atlas-accent); }
.mineral-atlas__metals [aria-pressed=true] span { font-weight: 600; }
.mineral-atlas__views { gap: 5px; align-items: center; padding: 10px 18px; }
.mineral-atlas__views button { border: 1px solid transparent; color: #9daab5; background: none; padding: 8px 12px; font-size: 11px; min-height: 40px; }
.mineral-atlas__views [aria-pressed=true] { border-color: color-mix(in srgb, var(--atlas-accent) 60%, #141a21); color: var(--atlas-accent); background: color-mix(in srgb, var(--atlas-accent) 10%, #141a21); }
.mineral-atlas__searchbar { display: flex; align-items: center; justify-content: space-between; gap: 28px; padding: 17px 22px; border-bottom: 1px solid #303b46; }
.mineral-atlas__search { display: flex; align-items: center; gap: 15px; flex: 1; max-width: 630px; }
.mineral-atlas__search label { font: 10px/1.5 var(--sw-mono); color: #adbac6; white-space: nowrap; }
.mineral-atlas__search > div { display: flex; flex: 1; min-width: 0; }
.mineral-atlas__search input { min-width: 0; width: 100%; height: 40px; border: 1px solid #425364; background: #0c1219; color: #eff5f9; padding: 8px 12px; font-size: 12px; border-radius: 0; }
.mineral-atlas__search input::placeholder { color: #93a2ae; }
.mineral-atlas__search button { flex-shrink: 0; border: 1px solid color-mix(in srgb, var(--atlas-accent) 45%, #141a21); border-left: 0; background: color-mix(in srgb, var(--atlas-accent) 10%, #141a21); color: var(--atlas-accent); padding: 8px 13px; font-size: 11px; }
.mineral-atlas__search button span { margin-left: 8px; }
.mineral-atlas__period { font: 10px/1.5 var(--sw-mono); color: #a7b5c0; text-align: right; margin: 0; }
.mineral-atlas__status { margin: 0; padding: 12px 22px; color: #c6d1db; font-size: 12px; border-bottom: 1px solid #39444e; }
.mineral-atlas__status:empty { border: 0; padding: 0; }
.mineral-atlas__canvas-layout { display: grid; grid-template-columns: minmax(0, 1fr) 290px; }
.mineral-atlas__map-column { min-width: 0; padding: 21px 22px 18px; background: radial-gradient(ellipse at 45% 40%, #1a2632 0, #10171f 68%); }
.mineral-atlas__map-caption { display: flex; justify-content: space-between; gap: 10px; font: 9px/1.5 var(--sw-mono); text-transform: uppercase; letter-spacing: .1em; color: #9caeba; margin-bottom: 13px; }
.mineral-atlas__map-caption span:last-child { color: #788e9f; }
.mineral-atlas__viewport { position: relative; overflow: hidden; aspect-ratio: 1200/660; }
.mineral-atlas__map { display: block; width: 100%; height: 100%; touch-action: pan-y; }
.mineral-atlas__map.is-zoomed { cursor: grab; touch-action: none; }
.mineral-atlas__ocean { fill: #121e29; stroke: #2c4051; stroke-width: .7; }
.mineral-atlas__map.is-dragging { cursor: grabbing; }
.mineral-atlas__country { fill: #222e39; stroke: #0e1822; stroke-width: .65; stroke-linejoin: round; vector-effect: non-scaling-stroke; cursor: pointer; transition: fill 120ms; }
.mineral-atlas__country[data-level="1"] { fill: var(--atlas-1); }
.mineral-atlas__country[data-level="2"] { fill: var(--atlas-2); }
.mineral-atlas__country[data-level="3"] { fill: var(--atlas-3); }
.mineral-atlas__country[data-level="4"] { fill: var(--atlas-4); }
.mineral-atlas__country[data-level="bounded"] { fill: var(--atlas-2); stroke: var(--atlas-accent); stroke-dasharray: 2 2; }
.mineral-atlas__country:hover, .mineral-atlas__country:focus-visible, .mineral-atlas__country.is-selected { fill: color-mix(in srgb, var(--atlas-accent) 60%, #fff); stroke: var(--atlas-accent); stroke-width: 1.4; outline: none; }
.mineral-atlas__map .mineral-atlas__graticule { fill: none; stroke: #68839b; stroke-width: .55; opacity: .2; pointer-events: none; }
.mineral-atlas__zoom { position: absolute; right: 0; bottom: 6px; display: flex; border: 1px solid #405261; background: #101a24ed; }
.mineral-atlas__zoom button { min-width: 34px; height: 34px; padding: 0 9px; background: none; border: 0; border-right: 1px solid #405261; color: var(--atlas-accent); font-size: 19px; }
.mineral-atlas__zoom button:last-child { border: 0; font-size: 10px; }
.mineral-atlas__map-tip { position: absolute; pointer-events: none; top: 8px; left: 8px; max-width: calc(100% - 16px); padding: 8px 11px; background: #0b1118ed; border: 1px solid var(--atlas-3); font-size: 11px; color: #f1f5f8; box-shadow: 0 4px 16px #0006; }
.mineral-atlas__legend { display: flex; flex-wrap: wrap; align-items: center; gap: 9px 14px; margin-top: 14px; color: #b1c0cc; font: 9px/1.6 var(--sw-mono); }
.mineral-atlas__legend > span { display: inline-flex; align-items: center; gap: 5px; }
.mineral-atlas__legend > span:first-child { flex-basis: 100%; color: #8fa1af; }
.mineral-atlas__legend i { display: inline-block; width: 15px; height: 10px; border: 1px solid #5e7384; background: #222e39; }
.mineral-atlas__legend [data-level="1"] { background: var(--atlas-1); }
.mineral-atlas__legend [data-level="2"] { background: var(--atlas-2); }
.mineral-atlas__legend [data-level="3"] { background: var(--atlas-3); }
.mineral-atlas__legend [data-level="4"] { background: var(--atlas-4); }
.mineral-atlas__legend [data-level="bounded"] { background: var(--atlas-2); border: 1px dashed var(--atlas-accent); }
.mineral-atlas__map-note { margin: 13px 0 0; color: #92a4b3; font-size: 10px; }
.mineral-atlas__summary { padding: 25px 23px; border-left: 1px solid #35424e; background: #151d25; }
.mineral-atlas__summary h2 { font: 400 20px/1.3 var(--sw-serif); margin: 0; color: #d8e2e9; }
.mineral-atlas__world-value { margin: 15px 0 0; font: 400 clamp(34px, 3.1vw, 48px)/1.1 var(--sw-serif); letter-spacing: -.04em; color: var(--atlas-accent); overflow-wrap: anywhere; }
.mineral-atlas__unit { margin: 5px 0 0; font: 10px/1.5 var(--sw-mono); color: #b3c2ce; }
.mineral-atlas__world-note, .mineral-atlas__coverage { color: #9bacb9; font-size: 10px; line-height: 1.6; margin: 15px 0 0; }
.mineral-atlas__leaders { border-top: 1px solid #3a4753; margin-top: 23px; padding-top: 17px; }
.mineral-atlas__leaders h3 { font: 10px/1.5 var(--sw-mono); color: #aebfcd; margin: 0 0 10px; }
.mineral-atlas__leaders ol { list-style: none; padding: 0; margin: 0; }
.mineral-atlas__leaders button { display: flex; align-items: center; justify-content: space-between; width: 100%; gap: 8px; border: 0; border-bottom: 1px solid #2d3945; background: none; color: #e0e8ee; padding: 9px 0; font-size: 11px; text-align: left; }
.mineral-atlas__leaders small { font: 9px var(--sw-mono); color: #92a3b1; margin-right: 10px; }
.mineral-atlas__leaders b { font: 10px var(--sw-mono); color: var(--atlas-accent); white-space: nowrap; }
.mineral-atlas__leaders button:hover { color: #fff; background: color-mix(in srgb, var(--atlas-accent) 12%, #141a21); }
.mineral-atlas__context { display: grid; grid-template-columns: 1fr 1.6fr auto; align-items: center; gap: 35px; margin: 30px 0; padding: 24px 0; border-block: 1px solid var(--sw-line); }
.mineral-atlas__context .mineral-atlas__eyebrow { font-size: 9px; margin: 0 0 8px; display: block; }
.mineral-atlas__context h2 { font: 400 23px/1.25 var(--sw-serif); margin: 0; }
.mineral-atlas__context p { margin: 0; font-size: 12px; line-height: 1.8; color: #acbbc6; }
.mineral-atlas__context a { color: #d5e0e8; font-size: 11px; text-underline-offset: 5px; white-space: nowrap; }
.mineral-atlas__register { border: 1px solid #3c4954; background: #111820; }
.mineral-atlas__register > summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 15px; padding: 21px 24px; cursor: pointer; }
.mineral-atlas__register > summary::-webkit-details-marker { display: none; }
.mineral-atlas__register summary > span:first-child { font: 400 23px/1.3 var(--sw-serif); }
.mineral-atlas__register summary > span:last-child { color: #a9bac7; font: 10px/1.5 var(--sw-mono); }
.mineral-atlas__register summary b { display: inline-block; font: 400 20px/1 var(--sw-sans); margin-left: 12px; }
.mineral-atlas__register[open] summary b { transform: rotate(45deg); }
.mineral-atlas__register > p { color: #b3c1cb; font-size: 12px; margin: 0 24px 24px; }
.mineral-atlas__table-wrap { padding: 0 24px 24px; overflow: auto; }
.mineral-atlas__table-wrap table { width: 100%; border-collapse: collapse; font-size: 12px; margin: 0; min-width: 500px; }
.mineral-atlas__table-wrap caption { text-align: left; font: 400 25px/1.4 var(--sw-serif); padding: 12px 0; color: var(--atlas-accent); }
.mineral-atlas__table-wrap th, .mineral-atlas__table-wrap td { padding: 10px 12px; text-align: right; border-bottom: 1px solid #303f4c; color: #c4d0db; }
.mineral-atlas__table-wrap th { color: #a4b6c5; font-size: 10px; }
.mineral-atlas__table-wrap :is(th,td):first-child { text-align: left; padding-left: 0; }
.mineral-atlas__table-wrap td button { color: #e3edf5; border: 0; border-bottom: 1px dotted #8eabbf; padding: 0; background: none; text-align: left; }
.mineral-atlas__table-wrap .is-total :is(th,td) { color: var(--atlas-accent); border-top: 1px solid var(--atlas-3); font-weight: 600; }
.mineral-atlas__table-note { font-size: 11px; color: #acbcc9; }
.mineral-atlas__sources { display: grid; grid-template-columns: 1fr 1fr; gap: 55px; margin-top: 29px; }
.mineral-atlas__sources p, .mineral-atlas__sources li { margin: 6px 0; font-size: 11px; line-height: 1.75; color: #a1b2c0; }
.mineral-atlas__sources ul { margin: 0 0 12px; padding: 0; list-style: none; }
.mineral-atlas__sources a { color: #c6d7e4; text-underline-offset: 3px; }
.mineral-atlas__notice { padding: 16px; border: 1px solid #526879; font-size: 12px; }
.mineral-atlas__dialog { width: min(600px, calc(100vw - 36px)); max-height: min(850px, calc(100dvh - 48px)); padding: 0; border: 1px solid var(--atlas-3); background: #141d26; color: #e6eef4; box-shadow: 0 30px 120px #0009; overflow: auto; overscroll-behavior: contain; }
.mineral-atlas__dialog::backdrop { background: #050a10c9; backdrop-filter: blur(3px); }
.mineral-atlas__dialog-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; position: sticky; z-index: 2; top: 0; padding: 12px 25px; background: color-mix(in srgb, var(--atlas-accent) 9%, #141d26); border-bottom: 1px solid color-mix(in srgb, var(--atlas-accent) 35%, #141d26); }
.mineral-atlas__dialog-bar > span { color: #b2c6d6; font: 9px/1.5 var(--sw-mono); text-transform: uppercase; letter-spacing: .08em; }
.mineral-atlas__dialog-bar b { margin-left: 12px; color: var(--atlas-accent); }
.mineral-atlas__dialog-bar button { border: 0; color: #d8e5ef; background: transparent; font-size: 11px; min-height: 32px; }
.mineral-atlas__dialog-bar button span { font-size: 21px; margin-left: 12px; }
.mineral-atlas__record { padding: 28px 30px 32px; }
.mineral-atlas__record h2 { font: 400 40px/1.12 var(--sw-serif); letter-spacing: -.03em; margin: 0 0 20px; overflow-wrap: anywhere; }
.mineral-atlas__record .mineral-atlas__metals { grid-template-columns: repeat(4, minmax(0, 1fr)); border: 1px solid #3a5062; margin-bottom: 25px; }
.mineral-atlas__record .mineral-atlas__metals button { min-height: 50px; padding: 10px 8px; }
.mineral-atlas__record .mineral-atlas__metals span { font-size: 11px; }
.mineral-atlas__record .mineral-atlas__metals button:last-child { border-right: 0; }
.mineral-atlas__record-value { font: 400 clamp(36px, 6vw, 61px)/1.1 var(--sw-serif); letter-spacing: -.04em; margin: 6px 0 0; overflow-wrap: anywhere; color: var(--atlas-accent); }
.mineral-atlas__record-value.is-unavailable { font-size: 32px; letter-spacing: -.02em; }
.mineral-atlas__record-source { font-size: 10px; color: #aec3d2; margin: 13px 0 0; }
.mineral-atlas__record-source a { color: var(--atlas-accent); text-underline-offset: 3px; }
.mineral-atlas__record-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; border-block: 1px solid #3f5262; padding: 20px 0; margin: 23px 0; }
.mineral-atlas__record-grid dt { color: #9cb1c1; font: 10px/1.5 var(--sw-mono); }
.mineral-atlas__record-grid dd { color: var(--atlas-accent); font: 400 24px/1.35 var(--sw-serif); margin: 5px 0 0; }
.mineral-atlas__record-grid small { font: 10px var(--sw-sans); color: #a9bccb; }
.mineral-atlas__geology-entry { display: grid; gap: 8px; margin: 0 0 23px; padding: 16px; border: 1px solid color-mix(in srgb, var(--atlas-accent) 46%, #41515d); background: color-mix(in srgb, var(--atlas-accent) 8%, transparent); }
.mineral-atlas__geology-entry a, .mineral-atlas__geology-header a, .mineral-atlas__geology-header button { width: fit-content; color: var(--atlas-accent); text-decoration: underline; text-underline-offset: 4px; font-size: .875rem; }
.mineral-atlas__geology-entry p { margin: 0; font-size: .875rem; line-height: 1.5; }
.mineral-atlas__dialog.is-exploring { width: min(1060px, calc(100vw - 20px)); }
.mineral-atlas__dialog.is-exploring .mineral-atlas__record { padding: 0; }
.mineral-atlas__geology-header { display: flex; align-items: end; justify-content: space-between; flex-wrap: wrap; gap: 10px 24px; padding: 14px clamp(16px, 3vw, 28px); }
.mineral-atlas__geology-header button { padding: 0; min-height: 28px; border: 0; background: transparent; }
.mineral-atlas__record .mineral-atlas__geology-header h2 { margin: 6px 0 0; font-size: clamp(1.5rem, 4vw, 2.5rem); line-height: 1.05; }
.mineral-atlas__geology-frame { display: block; width: 100%; height: clamp(320px, calc(100dvh - 178px), 700px); border: 0; border-top: 1px solid #3f5262; background: #10181f; }
@media (min-width: 1024px) {
    .mineral-atlas__dialog.is-exploring[open] {
        display: grid;
        grid-template-rows: auto minmax(0, 1fr);
        width: min(1600px, calc(100vw - 20px));
        height: calc(100dvh - 32px);
        max-width: none;
        max-height: none;
    }

    .mineral-atlas__dialog.is-exploring .mineral-atlas__record {
        display: grid;
        grid-template-rows: auto minmax(0, 1fr);
        min-height: 0;
    }

    .mineral-atlas__geology-header { align-items: center; }
    .mineral-atlas__geology-header > div {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 10px 24px;
    }

    .mineral-atlas__record .mineral-atlas__geology-header h2 { margin: 0; }
    .mineral-atlas__geology-frame { height: 100%; }
}
.mineral-atlas__record-notes { color: #b6c8d5; font-size: 12px; line-height: 1.75; }
.mineral-atlas__record-notes ul { padding-left: 18px; }
.mineral-atlas__record-notes li { margin-top: 9px; }
.mineral-atlas__history h3 { color: #c1d2df; font: 10px/1.6 var(--sw-mono); margin: 20px 0 10px; }
.mineral-atlas__history dl { display: flex; align-items: end; gap: 10px; height: 110px; padding: 0; margin: 0; }
.mineral-atlas__history dl > div { flex: 1; min-width: 0; display: flex; flex-direction: column; justify-content: end; height: 100%; }
.mineral-atlas__history dt { order: 3; font: 10px/1.5 var(--sw-mono); color: #94abbd; margin-top: 6px; }
.mineral-atlas__history dd { order: 1; margin: 0 0 4px; font: 10px/1.5 var(--sw-mono); color: #d1e1ed; }
.mineral-atlas__history i { order: 2; display: block; background: var(--atlas-2); border-top: 1px solid var(--atlas-accent); height: var(--bar-height); min-height: 2px; }
.mineral-atlas__history p { font-size: 10px; color: #9fb5c6; }
.mineral-atlas__record-footer { border-top: 1px solid #3f5262; padding-top: 17px; display: flex; gap: 16px; justify-content: space-between; align-items: center; margin-top: 23px; }
.mineral-atlas__record-footer a { font-size: 11px; color: var(--atlas-accent); text-underline-offset: 4px; }
.mineral-atlas__record-footer span { font: 9px/1.5 var(--sw-mono); color: #9cb3c4; }
.mineral-atlas__legend i:not([data-level="unknown"]) { border-color: var(--atlas-3); }
.mineral-atlas__record > .mineral-atlas__eyebrow,
.mineral-atlas [data-atlas-map-label],
.mineral-atlas__summary > .mineral-atlas__eyebrow { color: var(--atlas-accent); }
.mineral-atlas :focus-visible { outline: 2px solid var(--atlas-accent); outline-offset: 3px; }
.mineral-atlas__metals button:focus-visible { outline-offset: -5px; }
.mineral-atlas__country:focus-visible { outline: none; stroke-width: 2; }
@media (min-width: 1500px) { .mineral-atlas__canvas-layout { grid-template-columns: minmax(0,1fr) 330px; } }
@media (max-width: 1100px) { .mineral-atlas__canvas-layout { grid-template-columns: minmax(0,1fr) 250px; } .mineral-atlas__summary { padding: 22px 18px; } .mineral-atlas__searchbar { gap: 18px; } .mineral-atlas__search label { display: none; } .mineral-atlas__context { grid-template-columns: 1fr 1.5fr; gap: 20px; } .mineral-atlas__context a { grid-column: 2; } }
@media (max-width: 850px) { .mineral-atlas { padding-top: 32px; } .mineral-atlas__canvas-layout { grid-template-columns: 1fr; } .mineral-atlas__summary { border-left: 0; border-top: 1px solid #35424e; display: grid; grid-template-columns: 1fr 1fr; column-gap: 28px; } .mineral-atlas__summary > :not(.mineral-atlas__leaders):not(.mineral-atlas__coverage) { grid-column: 1; } .mineral-atlas__summary .mineral-atlas__leaders { grid-column: 2; grid-row: 1 / span 5; border: 0; padding: 0; margin: 0; } .mineral-atlas__coverage { grid-column: 1 / -1; } .mineral-atlas__world-value { font-size: 43px; } .mineral-atlas__world-note { margin-top: 10px; } .mineral-atlas__summary .mineral-atlas__eyebrow { font-size: 9px; } .mineral-atlas__metals button { padding-inline: 18px; } .mineral-atlas__views { padding-inline: 10px; } .mineral-atlas__searchbar { flex-wrap: wrap; gap: 10px; } .mineral-atlas__search { max-width: none; flex-basis: 100%; } .mineral-atlas__period { text-align: left; } .mineral-atlas__sources { gap: 25px; } }
@media (max-width: 600px) { .mineral-atlas { width: calc(100% - 28px); padding: 27px 0 40px; } .mineral-atlas__header { margin-bottom: 24px; } .mineral-atlas__edition { display: none; } .mineral-atlas__header h1 { font-size: clamp(35px, 9vw, 49px); } .mineral-atlas__intro { margin-top: 14px; font-size: 12px; } .mineral-atlas__eyebrow { font-size: 9px; } .mineral-atlas__toolbar { flex-wrap: wrap; } .mineral-atlas__metals { width: 100%; } .mineral-atlas__metals button { flex: 1; justify-content: center; min-height: 52px; } .mineral-atlas__metals button:last-child { border-right: 0; } .mineral-atlas__views { width: 100%; border-top: 1px solid #35424e; padding: 7px; } .mineral-atlas__views button { flex: 1; font-size: 10px; } .mineral-atlas__searchbar { padding: 13px; } .mineral-atlas__search input { padding-inline: 9px; font-size: 11px; } .mineral-atlas__search button { padding-inline: 9px; font-size: 10px; } .mineral-atlas__search button span { display: none; } .mineral-atlas__period { font-size: 9px; } .mineral-atlas__map-column { padding: 16px 12px; } .mineral-atlas__map-caption { font-size: 8px; } .mineral-atlas__viewport { aspect-ratio: 1.45; } .mineral-atlas__legend { gap: 8px 11px; font-size: 8px; } .mineral-atlas__map-note { font-size: 9px; } .mineral-atlas__summary { padding: 20px 15px; gap: 0 15px; } .mineral-atlas__summary h2 { font-size: 18px; } .mineral-atlas__world-value { font-size: 36px; } .mineral-atlas__unit { font-size: 9px; } .mineral-atlas__leaders h3 { font-size: 9px; } .mineral-atlas__leaders button { font-size: 10px; } .mineral-atlas__leaders small { display: none; } .mineral-atlas__leaders b { font-size: 9px; } .mineral-atlas__context { grid-template-columns: 1fr; gap: 16px; margin-block: 23px; } .mineral-atlas__context a { grid-column: 1; } .mineral-atlas__sources { grid-template-columns: 1fr; gap: 15px; } .mineral-atlas__register > summary { padding: 17px 15px; align-items: start; } .mineral-atlas__register summary > span:first-child { font-size: 19px; } .mineral-atlas__register summary > span:last-child { font-size: 8px; text-align: right; } .mineral-atlas__register > p { margin-inline: 15px; } .mineral-atlas__table-wrap { padding-inline: 15px; } .mineral-atlas__dialog { width: calc(100vw - 20px); max-height: calc(100dvh - 20px); } .mineral-atlas__dialog-bar { padding-inline: 18px; } .mineral-atlas__record { padding: 23px 20px; } .mineral-atlas__record h2 { font-size: 35px; } .mineral-atlas__record-value { font-size: 45px; } .mineral-atlas__record-grid { gap: 15px; } .mineral-atlas__record-grid dd { font-size: 22px; } .mineral-atlas__record-footer { flex-wrap: wrap; } }
@media (max-width: 1100px) { .mineral-atlas__toolbar > .mineral-atlas__metals { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
@media (max-width: 600px) { .mineral-atlas__toolbar > .mineral-atlas__metals, .mineral-atlas__record .mineral-atlas__metals { grid-template-columns: repeat(2, minmax(0, 1fr)); } .mineral-atlas__metals button { padding: 10px 8px; } .mineral-atlas__summary { display: block; } .mineral-atlas__summary .mineral-atlas__leaders { margin-top: 23px; padding-top: 20px; border-top: 1px solid #35424e; } .mineral-atlas__leaders button { font-size: 12px; } .mineral-atlas__leaders b { font-size: 10px; } .mineral-atlas__world-value { font-size: 42px; } }
@media (prefers-reduced-motion: reduce) { .mineral-atlas__country { transition: none; } }
@media print { .mineral-atlas__toolbar, .mineral-atlas__searchbar, .mineral-atlas__zoom, .mineral-atlas__dialog { display: none !important; } .mineral-atlas { width: 100%; } .mineral-atlas__register { content-visibility: visible; } }
