:root { color-scheme: light; font-family: "PingFang SC", "Microsoft YaHei", sans-serif; color: #202720; background: #f8faf8; --green: #245c41; --muted: #717a73; }
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body { margin: 0; min-width: 280px; background: radial-gradient(ellipse at 50% 35%, #edf5ef 0, #f8faf8 62%); }
button, input { font: inherit; }
button, a, summary { -webkit-tap-highlight-color: transparent; }
button, a { touch-action: manipulation; }
button { cursor: pointer; }
button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid #cf7629; outline-offset: 5px; }
main { max-width: 1080px; min-height: 100svh; padding: 38px 44px 24px; margin: auto; display: flex; flex-direction: column; }
header, footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.wordmark { font-family: Georgia, serif; font-size: 22px; font-weight: 700; }
.accent { color: #cf7629; }
.tag { font-size: 11px; color: #637369; border-left: 1px solid #b8c9bd; padding-left: 12px; }
.entry { width: min(100%, 400px); margin: auto; padding: 64px 0 25px; text-align: center; }
.compass { width: 82px; height: 82px; border: 1px solid #c7d8cb; outline: 9px solid #edf3ee; background: #fff; border-radius: 50%; margin: 0 auto 42px; position: relative; box-shadow: 0 9px 30px #245c410d; }
.compass::before, .compass::after { content: ""; position: absolute; background: #c1cfc4; }
.compass::before { top: 8px; bottom: 8px; width: 1px; left: 50%; }
.compass::after { left: 8px; right: 8px; height: 1px; top: 50%; }
.compass span { position: absolute; inset: 13px 29px; transform: rotate(38deg); z-index: 1; background: linear-gradient(to bottom, #cf7629 0 50%, #245c41 50%); clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%); }
.eyebrow { font-size: 11px; color: var(--muted); margin: 0 0 14px; }
h1 { font-size: 30px; line-height: 1.4; font-weight: 600; margin: 0 0 16px; }
.description { color: #6c776f; font-size: 14px; line-height: 1.9; max-width: 320px; margin: 0 auto 20px; }
.destination { display: flex; justify-content: center; align-items: center; gap: 7px; font-size: 12px; color: #637369; margin: 0 0 28px; overflow-wrap: anywhere; }
.destination-dot { flex-shrink: 0; height: 5px; width: 5px; background: #cf7629; border-radius: 50%; }
.primary { width: 100%; min-height: 56px; padding: 15px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border: 0; border-radius: 5px; color: white; background: var(--green); font-size: 15px; font-weight: 500; transition: background .15s; }
.primary:hover { background: #194b33; }
.primary:disabled { cursor: default; background: #dfe7e1; color: #778a7d; }
.primary > span:last-child { font-size: 21px; line-height: 1; }
.text-button { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 15px auto 0; min-height: 44px; background: none; border: none; color: #6b766e; font-size: 12px; }
.status { font-size: 12px; color: var(--muted); min-height: 36px; line-height: 1.7; margin: 8px 0 0; }
.test-settings { width: min(100%, 400px); margin: 0 auto 50px; border-top: 1px solid #dce5de; padding-top: 15px; }
summary { cursor: pointer; font-size: 12px; color: #54665a; min-height: 28px; }
summary span { color: #8b958d; font-size: 10px; margin-left: 12px; }
label { display: block; font-size: 12px; margin: 12px 0 8px; color: #6a756d; }
.input-row { display: flex; gap: 8px; }
input { min-width: 0; width: 100%; background: #fff; border: 1px solid #ced9d1; border-radius: 4px; padding: 12px; font-size: 16px; color: #344a3c; }
input:focus { outline: 2px solid #245c4155; outline-offset: 1px; }
.save { flex-shrink: 0; border: 1px solid #c2d0c6; border-radius: 4px; background: white; padding: 0 16px; color: var(--green); font-size: 13px; }
.error { color: #a7392c; font-size: 12px; line-height: 1.7; }
.error:empty { margin: 0; }
footer { border-top: 1px solid #e1e7e2; padding-top: 20px; color: #939d96; font-size: 10px; }
footer span:first-child { font-family: Georgia, serif; }
dialog { width: min(440px, calc(100% - 32px)); max-height: calc(100svh - 40px); border: 1px solid #dce5de; border-radius: 8px; padding: 28px; color: #202720; box-shadow: 0 20px 80px #17291c26; }
dialog::backdrop { background: #14251a70; backdrop-filter: blur(4px); }
.dialog-top { display: flex; align-items: center; justify-content: space-between; }
.dialog-top .eyebrow { margin: 0; }
.close { background: none; border: 0; color: #718276; font-size: 24px; width: 44px; height: 44px; margin: -10px -12px 0 0; }
h2 { font-size: 24px; font-weight: 600; margin: 16px 0 12px; }
dialog p { font-size: 13px; color: #707a73; line-height: 1.8; }
.steps { list-style: none; padding: 0; margin: 24px 0; }
.steps li { display: flex; gap: 16px; margin-top: 20px; font-size: 14px; }
.steps li > span { color: #b48147; font: 16px Georgia, serif; }
.steps small { display: block; color: #7b847e; font-size: 12px; line-height: 1.7; margin-top: 5px; }
#copy-url { font-size: 13px; margin-bottom: 12px; }
#copy-status { min-height: 22px; margin: 8px 0; font-size: 12px; }
.continue-link { display: block; padding: 12px; text-align: center; color: var(--green); font-size: 13px; text-decoration: none; }
@media (max-width: 600px) { main { padding: max(24px, env(safe-area-inset-top)) 24px max(20px, env(safe-area-inset-bottom)); } .wordmark { font-size: 19px; } .entry { padding-top: 58px; } h1 { font-size: 28px; } .test-settings { margin-bottom: 36px; } dialog { padding: 22px; } }
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
