/* 0.3.57 — one tier-detail design for global and country awards. */
#trophyDetail{position:fixed;inset:0;box-sizing:border-box;padding:12px;background:#04101fdf;z-index:10000}
#trophyDetail .v575-detail-panel{box-sizing:border-box;width:min(550px,100%);max-height:calc(100dvh - 24px);overflow:auto;overscroll-behavior:contain;border:1.5px solid #65d8e9!important;border-radius:23px!important;background:radial-gradient(ellipse at 50% 0%,#12465e,#08283d 50%,#071e30 100%)!important;color:#effbff!important;box-shadow:0 12px 50px #0009,inset 0 0 18px #3edcf21f!important;padding:16px;text-align:center;scrollbar-width:thin;scrollbar-color:#5598ad transparent}
#trophyDetail .gallery-eyebrow{display:inline-block;max-width:100%;padding:5px 10px;border:1px solid #3a91a7;border-radius:999px;background:#092b40;color:#a0f4eb!important;font-size:10px;line-height:1.4;letter-spacing:.06em;overflow-wrap:anywhere}
#trophyDetail .v575-detail-panel h3{margin:8px 0 0;font-size:clamp(20px,5.6vw,30px);line-height:1.2;color:#f0fbff!important;overflow-wrap:anywhere}
#trophyDetail .gc57-trophy-hero{height:auto;margin:4px 0 6px;position:relative;isolation:isolate}
#trophyDetail .gc57-trophy-hero img{display:block;width:min(100%,clamp(136px,46vw,190px));height:auto;aspect-ratio:4/3;object-fit:contain;margin-inline:auto;mix-blend-mode:screen;mask-image:radial-gradient(ellipse farthest-side at center,#000 70%,transparent 100%);-webkit-mask-image:radial-gradient(ellipse farthest-side at center,#000 70%,transparent 100%);pointer-events:none}
#trophyDetail .trophy-detail-context{display:block;font-size:12px;line-height:1.35;color:#a9e3e1;margin:0 0 12px;overflow-wrap:anywhere}
#trophyDetail .trophy-detail-tiers{display:grid;gap:8px}
#trophyDetail .trophy-detail-medal{display:grid;grid-template-columns:clamp(42px,14vw,70px) minmax(0,1fr);align-items:center;gap:9px;min-width:0;padding:10px;border:1px solid #3c728b!important;border-radius:13px!important;background:linear-gradient(145deg,#10394e,#09283c)!important;box-shadow:none;color:#edfaff}
#trophyDetail .trophy-detail-medal.earned{border-color:#65a896!important;background:linear-gradient(145deg,#154246,#092d3e)!important}
#trophyDetail .trophy-detail-medal.current{border-color:#e9c66c!important;box-shadow:inset 0 0 12px #e9c66c19!important}
#trophyDetail .trophy-detail-medal.next{border-color:#c3a765!important;box-shadow:inset 0 0 12px #e9c66c11!important}
#trophyDetail .gc57-trophy-medal-art{display:block;width:100%;aspect-ratio:1;object-fit:contain;mix-blend-mode:screen}
#trophyDetail .trophy-detail-medal:not(.earned) .gc57-trophy-medal-art{filter:saturate(.22);opacity:.66}
#trophyDetail .trophy-detail-medal.next .gc57-trophy-medal-art{filter:saturate(.7);opacity:.9}
#trophyDetail .gc57-trophy-medal-content{min-width:0;text-align:left}
#trophyDetail .trophy-detail-medal-head{display:flex;flex-wrap:wrap;gap:4px 8px;align-items:center;margin:0;min-width:0}
#trophyDetail .trophy-detail-medal-head strong{font-size:clamp(12px,3.8vw,16px);line-height:1.25;color:var(--trophy-tone);overflow-wrap:anywhere;min-width:0}
#trophyDetail .gc57-trophy-state{font-size:10px;line-height:1.25;color:#afcbd9;overflow-wrap:anywhere;font-weight:800}
#trophyDetail .gc57-current,#trophyDetail .gc57-next{border:1px solid #bba361;border-radius:999px;padding:2px 6px;color:#ffe19a;background:#342e2355}
#trophyDetail .gc57-earned{color:#92e7cc}
#trophyDetail .trophy-detail-medal p{font-size:12px;line-height:1.35;color:#d4e6f0!important;margin:5px 0 8px;overflow-wrap:anywhere}
#trophyDetail .gc57-trophy-meter-row{display:flex;gap:7px;align-items:center;min-width:0}
#trophyDetail .gc57-trophy-meter{display:block;flex:1;min-width:0;width:100%;height:8px;margin:0;appearance:none;border:1px solid #3e8098;border-radius:99px;background:#071e30;overflow:hidden;accent-color:#eac65c}
#trophyDetail .gc57-trophy-meter::-webkit-progress-bar{background:#071e30;border-radius:99px}
#trophyDetail .gc57-trophy-meter::-webkit-progress-value{background:linear-gradient(90deg,#d9a83b,#ffe295);border-radius:99px}
#trophyDetail .gc57-trophy-meter::-moz-progress-bar{background:#e8c35f;border-radius:99px}
#trophyDetail .earned .gc57-trophy-meter::-webkit-progress-value{background:linear-gradient(90deg,#0aa9a5,#80f4d0)}
#trophyDetail .earned .gc57-trophy-meter::-moz-progress-bar{background:#58ddbf}
#trophyDetail .gc57-trophy-numbers{font-size:11px;line-height:1.25;font-weight:800;font-variant-numeric:tabular-nums;color:#a4f0e9;text-align:right;overflow-wrap:anywhere;max-width:52%}
#trophyDetail .gc57-trophy-date{display:block;margin-top:5px;font-size:10px;color:#a8e8d1;overflow-wrap:anywhere}
#trophyDetail .gc57-trophy-summary{margin:12px 0 0;padding:11px;border:1px solid #43879d;border-radius:13px;background:linear-gradient(145deg,#103b51,#09283c);text-align:left}
#trophyDetail .gc57-summary-top{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:center;gap:5px;margin-bottom:8px;color:#effbff;font-size:13px}
#trophyDetail .gc57-summary-goal{font-size:12px;font-weight:800;color:#ffe19a;margin-top:8px;overflow-wrap:anywhere}
#trophyDetail #closeTrophyDetail{display:block;width:100%;min-height:44px;margin:13px 0 0;border:1px solid #fff0ae!important;border-radius:13px!important;background:linear-gradient(#ffe49b,#e6ab3f)!important;color:#2d2009!important;box-shadow:inset 0 1px #fff8cf;font-size:14px;font-weight:900;padding:10px;cursor:pointer;white-space:normal}
#trophyDetail #closeTrophyDetail:focus-visible{outline:2px solid #fff;outline-offset:3px}
@media(max-width:350px){#trophyDetail{padding:8px}#trophyDetail .v575-detail-panel{padding:11px;max-height:calc(100dvh - 16px)}#trophyDetail .trophy-detail-medal{padding:8px;gap:6px}}

/* 0.3.58: compact tier cards and separate next-goal progress. */
#trophyDetail .trophy-detail-medal{grid-template-columns:clamp(44px,15vw,64px) minmax(0,1fr);gap:10px;padding:9px;}
#trophyDetail .gc57-trophy-medal-art{width:100%;max-width:64px;max-height:76px;aspect-ratio:auto;justify-self:center;}
#trophyDetail .trophy-detail-medal-head{gap:4px 7px;}
#trophyDetail .gc57-trophy-state{white-space:normal;}
#trophyDetail .gc57-locked{color:#a7bac8;}
#trophyDetail .gc57-trophy-meter-row{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px;align-items:center;}
#trophyDetail .gc57-trophy-numbers{max-width:none;white-space:nowrap;}
#trophyDetail .gc57-summary-top .gc57-trophy-numbers{white-space:normal;}
#trophyDetail .gc57-summary-goal{margin:0 0 8px;}
#trophyDetail .gc57-summary-top{gap:6px 12px;}
@media(max-width:350px){#trophyDetail .trophy-detail-medal{grid-template-columns:44px minmax(0,1fr);gap:6px;padding:8px}#trophyDetail .gc57-trophy-numbers{font-size:10px}}
