#msd-geo-wrap { font-family: Arial, Helvetica, sans-serif; color: #f5f0e8; max-width: 900px; margin: 0 auto; }

.msd-geo-hero { background: linear-gradient(160deg, #07101f 0%, #0a1428 100%); padding: 5rem 2rem 4rem; text-align: center; }
.msd-geo-hero-inner { max-width: 620px; margin: 0 auto; }
.msd-geo-badge { display: inline-block; background: rgba(201,168,76,.1); border: 1px solid rgba(201,168,76,.3); color: #c9a84c; font-size: .72rem; letter-spacing: .18em; text-transform: uppercase; padding: .35rem 1rem; border-radius: 20px; margin-bottom: 1.5rem; }
.msd-geo-title { font-size: clamp(1.8rem,4.5vw,2.8rem); font-weight: 700; color: #f5f0e8; margin: 0 0 1rem; line-height: 1.15; }
.msd-geo-title em { color: #c9a84c; font-style: italic; }
.msd-geo-sub { color: rgba(245,240,232,.55); font-size: .98rem; line-height: 1.75; margin: 0 0 2.5rem; }
.msd-geo-input-row { display: flex; max-width: 560px; margin: 0 auto 1rem; border-radius: 6px; overflow: hidden; box-shadow: 0 0 0 1px rgba(201,168,76,.3), 0 8px 32px rgba(0,0,0,.4); }
#msd-geo-url { flex: 1; background: rgba(255,255,255,.06); border: none; color: #f5f0e8; padding: 1.1rem 1.4rem; font-size: .95rem; outline: none; min-width: 0; }
#msd-geo-url::placeholder { color: rgba(245,240,232,.25); }
#msd-geo-btn { background: linear-gradient(135deg, #c9a84c, #e8c97a); color: #0a1428; border: none; padding: 1.1rem 1.5rem; font-size: .85rem; font-weight: 700; cursor: pointer; white-space: nowrap; }
#msd-geo-btn:disabled { opacity: .5; cursor: not-allowed; }
.msd-geo-hint { color: rgba(245,240,232,.25); font-size: .78rem; margin: 0; }

#msd-geo-loading { background: #07101f; padding: 5rem 2rem; text-align: center; }
.msd-geo-loading-inner { max-width: 360px; margin: 0 auto; }
.msd-geo-spinner { width: 48px; height: 48px; border: 3px solid rgba(201,168,76,.15); border-top-color: #c9a84c; border-radius: 50%; animation: geo-spin .8s linear infinite; margin: 0 auto 2rem; }
@keyframes geo-spin { to { transform: rotate(360deg); } }
#msd-geo-loading h3 { color: #f5f0e8; font-size: 1rem; font-weight: 400; margin: 0 0 2rem; }
.msd-step { color: rgba(245,240,232,.2); font-size: .82rem; padding: .35rem 0; transition: all .3s; }
.msd-step-active { color: #c9a84c; font-weight: 600; }
.msd-step-done { color: #22c55e; }

#msd-geo-results { background: #07101f; }

.msd-geo-score-header { background: linear-gradient(180deg, #07101f, #0a1428); padding: 3rem 2rem 2.5rem; display: flex; align-items: center; gap: 2.5rem; justify-content: center; flex-wrap: wrap; }
.msd-score-circle-wrap { position: relative; width: 150px; height: 150px; flex-shrink: 0; }
.msd-score-circle-wrap svg { width: 100%; height: 100%; }
.msd-score-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.msd-score-num { font-size: 2.6rem; font-weight: 700; color: #f5f0e8; line-height: 1; }
.msd-score-lbl { font-size: .65rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(245,240,232,.3); margin-top: 4px; }
.msd-score-info { max-width: 340px; }
.msd-result-url { color: #c9a84c; font-size: .82rem; margin-bottom: .5rem; word-break: break-all; }
.msd-score-grade { font-size: 1.5rem; font-weight: 700; color: #f5f0e8; margin-bottom: .4rem; }
.msd-score-summary { color: rgba(245,240,232,.6); font-size: .88rem; line-height: 1.6; margin-bottom: .75rem; }
.msd-geo-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; }
.msd-geo-stat { background: rgba(255,255,255,.04); border-radius: 6px; padding: .5rem; text-align: center; }
.msd-geo-stat-num { font-size: 1.2rem; font-weight: 700; }
.msd-geo-stat-lbl { font-size: .65rem; color: rgba(245,240,232,.4); }

.msd-geo-tabs { display: flex; background: #0a1428; border-bottom: 1px solid rgba(201,168,76,.15); overflow-x: auto; scrollbar-width: none; position: sticky; top: 0; z-index: 10; }
.msd-geo-tabs::-webkit-scrollbar { display: none; }
.msd-geo-tab { background: none; border: none; color: rgba(245,240,232,.4); padding: .85rem 1.1rem; font-size: .8rem; cursor: pointer; border-bottom: 2px solid transparent; white-space: nowrap; display: flex; align-items: center; gap: 5px; transition: all .2s; }
.msd-geo-tab:hover { color: rgba(245,240,232,.8); }
.msd-geo-tab.active { color: #c9a84c; border-bottom-color: #c9a84c; font-weight: 600; }
.msd-tab-count { background: rgba(255,255,255,.08); border-radius: 10px; font-size: .65rem; padding: 1px 6px; font-weight: 400; }
.msd-geo-tab.active .msd-tab-count { background: rgba(201,168,76,.2); color: #c9a84c; }

.msd-geo-items { padding: 1.5rem; display: grid; gap: 10px; background: #0d1e3a; }

.msd-geo-item { background: rgba(255,255,255,.03); border: 1px solid rgba(255,255,255,.06); border-radius: 8px; padding: 1.1rem 1.25rem; transition: border-color .2s; }
.msd-geo-item:hover { border-color: rgba(201,168,76,.2); }
.msd-geo-item.is-fail { border-color: rgba(239,68,68,.2); background: rgba(239,68,68,.03); }
.msd-geo-item-top { display: flex; align-items: center; gap: .75rem; margin-bottom: .4rem; }
.msd-geo-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.msd-geo-item-label { font-size: .88rem; font-weight: 600; color: #f5f0e8; flex: 1; }
.msd-geo-badge-s { font-size: .68rem; font-weight: 600; padding: 2px 7px; border-radius: 10px; }
.msd-geo-bar-wrap { width: 80px; height: 4px; background: rgba(255,255,255,.08); border-radius: 2px; overflow: hidden; flex-shrink: 0; }
.msd-geo-bar-fill { height: 100%; border-radius: 2px; }
.msd-geo-item-value { font-size: .78rem; color: rgba(245,240,232,.45); margin-bottom: .35rem; padding-left: 1.4rem; }
.msd-geo-item-detail { font-size: .75rem; color: rgba(245,240,232,.3); padding-left: 1.4rem; margin-bottom: .4rem; font-style: italic; }
.msd-geo-item-fix { font-size: .78rem; padding: .5rem .75rem; border-radius: 4px; margin-left: 1.4rem; border-left: 2px solid; line-height: 1.5; }
.geo-fix-ok   { background: rgba(34,197,94,.06); color: rgba(34,197,94,.9); border-color: rgba(34,197,94,.3); }
.geo-fix-warn { background: rgba(245,158,11,.06); color: rgba(245,158,11,.9); border-color: rgba(245,158,11,.3); }
.geo-fix-fail { background: rgba(239,68,68,.06); color: rgba(239,68,68,.9); border-color: rgba(239,68,68,.3); }

.msd-geo-gate { background: #0a1428; border-top: 1px solid rgba(201,168,76,.2); padding: 3rem 2rem; }
.msd-geo-gate-inner { max-width: 480px; margin: 0 auto; text-align: center; }
.msd-gate-icon { width: 60px; height: 60px; background: rgba(201,168,76,.1); border: 1px solid rgba(201,168,76,.25); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin: 0 auto 1.25rem; }
.msd-geo-gate-inner h3 { color: #f5f0e8; font-size: 1.25rem; margin: 0 0 .6rem; }
.msd-geo-gate-inner p { color: rgba(245,240,232,.55); font-size: .88rem; line-height: 1.7; margin: 0 0 1.5rem; }
.msd-gate-fields { display: grid; gap: 10px; margin-bottom: 12px; }
#msd-geo-gate-name, #msd-geo-gate-email { width: 100%; box-sizing: border-box; background: rgba(255,255,255,.06); border: 1px solid rgba(201,168,76,.2); color: #f5f0e8; padding: .9rem 1rem; font-size: .88rem; border-radius: 6px; outline: none; }
#msd-geo-gate-name::placeholder, #msd-geo-gate-email::placeholder { color: rgba(245,240,232,.3); }
#msd-geo-gate-btn { width: 100%; background: linear-gradient(135deg, #c9a84c, #e8c97a); color: #0a1428; border: none; padding: 1rem; font-size: .88rem; font-weight: 700; border-radius: 6px; cursor: pointer; margin-bottom: 8px; }
#msd-geo-gate-btn:disabled { opacity: .5; }
.msd-gate-hint { color: rgba(245,240,232,.2); font-size: .72rem; margin: 0; }
.msd-gate-sent { background: rgba(34,197,94,.08); border: 1px solid rgba(34,197,94,.25); color: #22c55e; padding: 1rem; border-radius: 8px; font-size: .9rem; }

.msd-geo-cta-box { background: #07101f; border-top: 1px solid rgba(255,255,255,.04); padding: 3rem 2rem; }
.msd-geo-cta-inner { max-width: 500px; margin: 0 auto; text-align: center; }
.msd-geo-cta-inner h3 { color: #f5f0e8; font-size: 1.25rem; margin: 0 0 .6rem; }
.msd-geo-cta-inner p { color: rgba(245,240,232,.55); font-size: .88rem; margin: 0 0 1.5rem; line-height: 1.7; }
.msd-geo-cta-btn { display: inline-block; background: linear-gradient(135deg, #c9a84c, #e8c97a); color: #0a1428; text-decoration: none; padding: .95rem 2rem; font-weight: 700; font-size: .88rem; border-radius: 6px; }

.msd-geo-new-check { display: block; margin: 1.5rem auto; background: transparent; border: 1px solid rgba(201,168,76,.25); color: rgba(201,168,76,.7); padding: .7rem 2rem; border-radius: 6px; cursor: pointer; font-size: .85rem; }

.msd-geo-error-box { max-width: 400px; margin: 3rem auto; background: rgba(239,68,68,.06); border: 1px solid rgba(239,68,68,.25); color: #ef4444; padding: 2rem; text-align: center; border-radius: 10px; }
.msd-geo-error-box p { color: rgba(245,240,232,.45); margin: .5rem 0 1.25rem; }

@media (max-width: 600px) {
	.msd-geo-input-row { flex-direction: column; border-radius: 6px; }
	#msd-geo-url { border-radius: 6px 6px 0 0; }
	#msd-geo-btn { border-radius: 0 0 6px 6px; }
	.msd-geo-score-header { flex-direction: column; gap: 1.5rem; }
	.msd-score-info { text-align: center; }
	.msd-geo-items { padding: 1rem; }
	.msd-geo-stats { grid-template-columns: repeat(3,1fr); }
}
