:root {
  color-scheme: light;
  --accent: #2563eb;
  --accent-ink: #1846a3;
  --button-fill: #215ddd;
  --link-focus: #2679ec;
  --ink: #102743;
  --muted: #4e607a;
  --line: #d5e1f1;
  --surface: #f2f7ff;
  color: var(--ink);
  font-family: Arial, "PingFang TC", "Microsoft JhengHei", sans-serif;
}
* { box-sizing: border-box; }
[hidden] { display: none !important; }
body {
  margin: 0;
  background: var(--surface);
  font-size: 15px;
  line-height: 1.6;
}
a, .text-button { color: var(--accent-ink); text-decoration: underline; text-underline-offset: .11em; }
button, input, textarea { font: inherit; }
button { cursor: pointer; }
button:disabled { cursor: wait; opacity: .67; }
:focus-visible { outline: 3px solid var(--link-focus); outline-offset: 3px; }
.text-button { padding: 0; border: 0; background: transparent; }
.wrap { width: min(750px, calc(100% - 30px)); margin-inline: auto; text-align: center; }
.top-bar { padding: 6px 15px 7px; min-height: 39px; text-align: center; border-bottom: 1px solid #bbb; box-shadow: 0 2px 4px #0002; font-weight: 700; }
.mast-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 20px; margin-top: 20px; font-weight: 700; }
.wordmark { display: flex; flex-direction: column; align-items: center; margin: 57px 0 20px; color: #858585; font-family: "Arial Rounded MT Bold", Arial, sans-serif; font-weight: 900; font-size: clamp(43px, 9.6vw, 66px); line-height: 1.02; letter-spacing: -.035em; overflow-wrap: anywhere; }
.wordmark-first { display: flex; align-items: center; justify-content: center; min-width: 0; max-width: 100%; gap: 9px; color: var(--accent); }
.wordmark-icon { width: .92em; height: auto; flex: 0 0 auto; }
.masthead p { margin: 10px auto; max-width: 730px; overflow-wrap: anywhere; }
.discover { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 34px; margin: 44px 32px 40px; text-align: left; }
.discover-card { border: 1px solid #e0e3e9; border-radius: 4px; background: #fff; overflow: hidden; box-shadow: 0 1px 2px #0001; }
.discover-card h2 { margin: 0; padding: 11px 20px; background: #e7eefc; color: #454952; font-size: 17px; }
.discover-card button, .discover-card a { display: flex; align-items: center; justify-content: space-between; width: 100%; min-height: 55px; padding: 10px 20px; border: 0; border-top: 1px solid #efefef; background: #fff; color: #414141; text-align: left; text-decoration: none; }
.discover-card :is(a, button):hover { background: #f8f9fd; }
.discover-card span { font-size: 24px; line-height: 1; color: #858585; }
.request-box { background: #efeae9; border-radius: 5px; padding: 10px; }
.request-actions { display: grid; grid-template-columns: minmax(0, 1fr) 185px; gap: 10px; }
.address-form { display: flex; min-width: 0; }
.address-form input { width: 100%; min-width: 0; padding: 9px 15px; border: 1px solid #b7cbe9; border-right: 0; border-radius: 6px 0 0 6px; background: #fff; box-shadow: inset 0 1px 2px #0001; color: #333; font-size: 19px; }
.address-form input::placeholder { color: #777; }
.address-form input:focus-visible { outline-offset: -2px; }
.main-button { min-height: 49px; border: 1px solid var(--accent-ink); border-radius: 6px; padding: 6px 13px; background: var(--button-fill); color: #fff; font-weight: 700; }
.main-button:hover { filter: brightness(.94); }
.go-button { flex: 0 0 92px; border-radius: 0 6px 6px 0; font-size: 20px; }
.share-site-button { font-size: 19px; }
.quick-links { margin: 19px 0 1px; font-size: 18px; line-height: 1.35; overflow-wrap: anywhere; }
.quick-links button { font: inherit; }
.feedback, .notice { margin: 8px 0 0; font-size: 14px; line-height: 1.5; }
.feedback[data-error], .notice[data-error] { color: #8a2823; }
.share-row { margin-top: 18px; display: flex; gap: 5px; flex-wrap: wrap; justify-content: center; }
.share-button { text-decoration: none; border: 0; border-radius: 4px; padding: 4px 10px; background: #3669ad; color: #fff; font-size: 13px; font-weight: 700; }
.share-secondary { background: #327997; }
.share-copy { background: #666; }
.help { margin-top: 30px; }
.help h2 { margin: 0 0 14px; font-size: 22px; }
.help h3 { margin-top: 24px; font-size: 19px; }
.help ul { display: table; margin: 10px auto; text-align: left; }
.footer { margin-block: 48px 25px; font-size: 14px; }
.footer p { font-size: 12px; color: #666; }
.proxy-view { min-height: 100dvh; display: flex; flex-direction: column; background: #171717; }
.proxy-toolbar { position: sticky; top: 0; z-index: 1; display: grid; grid-template-columns: max-content minmax(0, 1fr) max-content; gap: 8px; padding: 8px; background: #eaf3ff; border-bottom: 1px solid var(--line); }
.proxy-toolbar .main-button, .proxy-toolbar .toolbar-button { min-height: 38px; }
.proxy-toolbar .address-form input { font-size: 16px; padding-block: 5px; }
.proxy-toolbar .go-button { flex-basis: 66px; font-size: 16px; }
.toolbar-button { border: 1px solid #b7cbe9; border-radius: 8px; background: #fff; color: var(--accent-ink); padding: 5px 11px; font-weight: 700; }
.proxy-view .feedback { margin: 0; background: #fff7f7; padding: 7px 12px; }
.screen[data-web] { background: #fff; }
.screen { position: relative; flex: 1; min-height: 55vh; background: #111; }
.screen iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.visually-hidden { position: absolute; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; width: 1px; height: 1px; }
@media (max-width: 570px) {
  .wordmark { margin-top: 40px; }
  .discover { grid-template-columns: 1fr; margin-inline: 0; margin-block: 27px; gap: 12px; }
  .discover-card h2, .discover-card :is(a,button) { padding-inline: 15px; }
  .discover-card :is(a,button) { min-height: 42px; padding-block: 6px; }
  .request-actions { grid-template-columns: 1fr; }
  .request-actions > .share-site-button { justify-self: center; min-width: 168px; }
  .quick-links { font-size: 17px; }
  .proxy-toolbar { gap: 4px; padding: 5px; }
  .proxy-toolbar .toolbar-button { padding-inline: 6px; font-size: 13px; }
  .proxy-toolbar .address-form input { padding-inline: 6px; }
  .proxy-toolbar .go-button { flex-basis: 48px; padding-inline: 4px; }
}

.portal-home { background: #f6f7f9; }
.plain-home-header { padding: 0 0 1rem; }
.plain-home-header .mast-links { margin: 0; padding-top: 1rem; justify-content: flex-end; gap: .65rem 1.2rem; }
.plain-home-header h1 { margin: clamp(1.4rem, 5vw, 2.8rem) 0 .35rem; font-size: clamp(1.9rem, 5vw, 2.4rem); letter-spacing: -.03em; }
.plain-home-header #welcome { color: var(--muted); }
.plain-home-header .request-box { margin: 1.2rem auto 0; max-width: 690px; background: transparent; padding: 0; }
.plain-home-header .address-form input { box-shadow: none; }
.portal-home .discover { gap: 20px; margin: 2rem 0; }
.portal-home .discover-card { border-color: var(--line); border-radius: 12px; }
.portal-home .discover-card h2 { color: #153a75; background: #e6efff; }
.portal-home .discover-card :is(a,button) { color: var(--ink); border-top-color: #edf2fa; }
.portal-home .discover-card span { color: #3964a0; }
.portal-home #maintenance-notice {
  margin: .75rem 0; padding: .7rem .85rem; border-radius: 8px;
  background: #fff4d7; color: #6c4100; overflow-wrap: anywhere;
}
.portal-home #launch :disabled { opacity: .65; cursor: default; }
.portal-home .help { margin: 2.5rem auto 0; padding: 1.2rem 0 0; border-top: 1px solid var(--line); text-align: left; color: var(--muted); }
.portal-home .help :is(h2,h3) { color: var(--ink); }
.portal-home .help ul { display: block; }
.portal-home .footer { border-top: 1px solid var(--line); padding-top: 1rem; }
#standalone-toolbar { grid-template-columns: max-content minmax(0, 1fr) max-content max-content; }
#standalone-toolbar > a { text-decoration: none; display: inline-flex; align-items: center; }
@media (max-width: 570px) {
  .plain-home-header .mast-links { justify-content: center; font-size: 14px; }
  .plain-home-header .address-form input { font-size: 16px; }
  #standalone-toolbar { grid-template-columns: max-content minmax(0, 1fr) max-content; }
}
