.xgrc-remote,
.xgrc-remote * { box-sizing: border-box; }

.xgrc-remote {
  --xgrc-accent: #35d8ff;
  --xgrc-violet: #8274ff;
  --xgrc-bg: #060a16;
  --xgrc-panel: rgba(14, 22, 42, .78);
  --xgrc-card: rgba(17, 28, 52, .72);
  --xgrc-line: rgba(151, 177, 224, .15);
  --xgrc-text: #f4f8ff;
  --xgrc-muted: #8fa1bd;
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: var(--xgrc-text);
  border: 1px solid rgba(132, 161, 214, .14);
  border-radius: 30px;
  background:
    radial-gradient(circle at 82% 7%, color-mix(in srgb, var(--xgrc-accent) 13%, transparent), transparent 28%),
    radial-gradient(circle at 12% 36%, rgba(111, 92, 255, .11), transparent 25%),
    linear-gradient(145deg, #070b18 0%, #050813 58%, #08101e 100%);
  box-shadow: 0 30px 80px rgba(0,0,0,.32), inset 0 1px rgba(255,255,255,.035);
  font-family: Inter, "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
}
.xgrc-remote button,
.xgrc-remote input,
.xgrc-remote select { font: inherit; }
.xgrc-remote button,
.xgrc-remote a { -webkit-tap-highlight-color: transparent; }
.xgrc-remote [hidden] { display: none !important; }

.xgrc-remote__backdrop { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.xgrc-remote__backdrop::before { content: ""; position: absolute; inset: 0; background-image: linear-gradient(rgba(120,158,220,.04) 1px, transparent 1px), linear-gradient(90deg, rgba(120,158,220,.04) 1px, transparent 1px); background-size: 52px 52px; mask-image: linear-gradient(#000, transparent 66%); }
.xgrc-remote__backdrop::after { content: ""; position: absolute; width: 36%; height: 1px; top: 29%; left: -38%; background: linear-gradient(90deg, transparent, var(--xgrc-accent), transparent); box-shadow: 0 0 24px var(--xgrc-accent); opacity: .5; animation: xgrc-remote-scan 8s ease-in-out infinite; }
.xgrc-remote__backdrop > i { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .1; }
.xgrc-remote__backdrop > i:first-child { width: 310px; height: 310px; right: 4%; top: 70px; background: var(--xgrc-accent); animation: xgrc-remote-float 9s ease-in-out infinite; }
.xgrc-remote__backdrop > i:last-child { width: 220px; height: 220px; left: 5%; top: 330px; background: var(--xgrc-violet); }

.xgrc-remote__platform-bar { min-height: 76px; padding: 0 40px; display: flex; align-items: center; justify-content: space-between; gap: 22px; border-bottom: 1px solid var(--xgrc-line); background: rgba(4,7,17,.56); backdrop-filter: blur(18px); }
.xgrc-remote__brand { display: flex; align-items: center; gap: 13px; }
.xgrc-remote__brand > span { width: 40px; height: 40px; display: grid; place-items: center; border-radius: 13px; background: linear-gradient(145deg,#7567ff,#27cfee); box-shadow: 0 0 27px color-mix(in srgb,var(--xgrc-accent) 28%,transparent); }
.xgrc-remote__brand > span > i { width: 9px; height: 9px; border-radius: 2px; background: #fff; box-shadow: 0 0 14px rgba(255,255,255,.55); transform: rotate(45deg); }
.xgrc-remote__brand > div { display: grid; gap: 2px; }
.xgrc-remote__brand strong { color: #f0f6ff; font-size: 14px; }
.xgrc-remote__brand small { color: #71819b; font-size: 8px; letter-spacing: .16em; }
.xgrc-remote__service { display: flex; align-items: center; gap: 9px; color: #91a0b8; font-size: 11px; }
.xgrc-remote__service > i { width: 7px; height: 7px; border-radius: 50%; background: #4ceaa3; box-shadow: 0 0 13px #4ceaa3; animation: xgrc-remote-pulse 2s ease-in-out infinite; }
.xgrc-remote__service > b { padding: 7px 9px; border: 1px solid var(--xgrc-line); border-radius: 8px; color: var(--xgrc-accent); font-size: 8px; letter-spacing: .12em; }

.xgrc-remote__head { position: relative; min-height: 420px; padding: 68px 7%; display: grid; grid-template-columns: minmax(0,1.05fr) minmax(340px,.95fr); align-items: center; gap: clamp(40px,7vw,100px); }
.xgrc-remote__head-copy { position: relative; z-index: 2; }
.xgrc-remote__head-copy > span { display: flex; align-items: center; gap: 9px; color: var(--xgrc-accent); font-size: 10px; font-weight: 800; letter-spacing: .18em; }
.xgrc-remote__head-copy > span i { width: 27px; height: 1px; background: var(--xgrc-accent); box-shadow: 0 0 12px var(--xgrc-accent); }
.xgrc-remote__head h2 { margin: 17px 0 18px; color: #fff; font-size: clamp(40px,5.5vw,66px); line-height: 1.06; letter-spacing: -.055em; }
.xgrc-remote__head-copy > p { max-width: 620px; margin: 0; color: #aab9d0; font-size: clamp(15px,1.4vw,18px); line-height: 1.85; }
.xgrc-remote__trust { display: flex; flex-wrap: wrap; gap: 17px; margin-top: 26px; }
.xgrc-remote__trust b { color: #7486a1; font-size: 10px; font-weight: 500; }
.xgrc-remote__trust b::first-letter { color: #4ceaa3; }
.xgrc-remote__online { position: absolute; top: 28px; right: 4%; z-index: 3; padding: 8px 12px; border: 1px solid rgba(255,190,83,.2); border-radius: 999px; color: #ffcf7e; background: rgba(100,67,15,.14); font-size: 10px; }
.xgrc-remote__online::before { content: ""; width: 6px; height: 6px; margin-right: 7px; display: inline-block; border-radius: 50%; background: currentColor; box-shadow: 0 0 10px currentColor; }
.xgrc-remote__online.is-online { color: #61ecae; border-color: rgba(77,225,161,.22); background: rgba(26,111,76,.13); }

.xgrc-remote__link-visual { position: relative; min-height: 260px; display: flex; align-items: center; justify-content: center; gap: 25px; }
.xgrc-remote__link-visual::before { content: ""; position: absolute; width: 92%; aspect-ratio: 1.7; border-radius: 50%; background: radial-gradient(circle, color-mix(in srgb,var(--xgrc-accent) 11%,transparent), transparent 65%); }
.xgrc-remote__radar { position: relative; z-index: 2; width: 112px; aspect-ratio: 1; display: grid; place-items: center; border: 1px solid rgba(126,187,244,.18); border-radius: 50%; background: rgba(11,20,40,.58); box-shadow: inset 0 0 35px rgba(53,216,255,.05), 0 20px 50px rgba(0,0,0,.23); }
.xgrc-remote__radar::before,
.xgrc-remote__radar::after,
.xgrc-remote__radar > i { content: ""; position: absolute; inset: 13px; border: 1px solid rgba(128,183,240,.14); border-radius: 50%; }
.xgrc-remote__radar::after { inset: 28px; }
.xgrc-remote__radar > i:nth-child(2) { inset: -12px; border-style: dashed; animation: xgrc-remote-spin 13s linear infinite; }
.xgrc-remote__radar strong { position: relative; z-index: 2; width: 44px; height: 44px; display: grid; place-items: center; border-radius: 14px; color: #08121f; background: linear-gradient(145deg,#e9fdff,var(--xgrc-accent)); box-shadow: 0 0 25px color-mix(in srgb,var(--xgrc-accent) 28%,transparent); font-size: 11px; }
.xgrc-remote__radar--platform strong { background: linear-gradient(145deg,#f3f0ff,var(--xgrc-violet)); }
.xgrc-remote__link-line { position: relative; z-index: 2; width: 100px; height: 2px; background: linear-gradient(90deg,var(--xgrc-accent),var(--xgrc-violet)); box-shadow: 0 0 16px color-mix(in srgb,var(--xgrc-accent) 34%,transparent); }
.xgrc-remote__link-line i { position: absolute; top: -3px; width: 8px; height: 8px; border-radius: 50%; background: #e9fdff; box-shadow: 0 0 13px var(--xgrc-accent); animation: xgrc-remote-packet 2.4s linear infinite; }
.xgrc-remote__link-line i:nth-child(2) { animation-delay: -.8s; }
.xgrc-remote__link-line i:nth-child(3) { animation-delay: -1.6s; }
.xgrc-remote__link-visual > small { position: absolute; bottom: 30px; color: #667995; font: 8px/1 ui-monospace,monospace; letter-spacing: .18em; }

.xgrc-remote__message { margin: 0 4% 14px; padding: 12px 15px; border: 1px solid rgba(115,166,221,.16); border-radius: 12px; color: #a7b9cf; background: rgba(24,51,76,.3); font-size: 11px; }
.xgrc-remote__message::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: #ffbf63; box-shadow: 0 0 10px #ffbf63; }
.xgrc-remote__message.is-error { border-color: rgba(235,91,113,.22); color: #ffb9c3; background: rgba(90,29,40,.28); }
.xgrc-remote__message.is-success { border-color: rgba(57,202,139,.22); color: #9cf1c4; background: rgba(21,76,57,.28); }

.xgrc-remote__pair { margin: 0 4% 54px; padding: clamp(22px,3vw,34px); display: grid; grid-template-columns: minmax(210px,.7fr) minmax(360px,1.3fr); align-items: center; gap: 38px; border: 1px solid var(--xgrc-line); border-radius: 22px; background: linear-gradient(135deg, rgba(18,29,54,.78), rgba(9,15,31,.78)); box-shadow: 0 24px 55px rgba(0,0,0,.18); backdrop-filter: blur(18px); }
.xgrc-remote__pair-intro { padding-right: 28px; border-right: 1px solid var(--xgrc-line); }
.xgrc-remote__pair-intro > span { color: var(--xgrc-accent); font-size: 8px; font-weight: 800; letter-spacing: .17em; }
.xgrc-remote__pair-intro h3 { margin: 8px 0 6px; color: #f0f6ff; font-size: 23px; }
.xgrc-remote__pair-intro p { margin: 0; color: #7d8ea9; font-size: 11px; line-height: 1.65; }
.xgrc-remote__pair-form label { display: block; margin-bottom: 9px; color: #aebdd1; font-size: 10px; font-weight: 700; }
.xgrc-remote__pair-form > div { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 10px; }
.xgrc-remote__pair input { min-width: 0; width: 100%; padding: 13px 16px; border: 1px solid rgba(145,178,224,.2); border-radius: 12px; outline: 0; color: #f5fbff; background: rgba(3,8,18,.65); font: 700 21px/1 ui-monospace,monospace; letter-spacing: .28em; text-align: center; transition: .2s; }
.xgrc-remote__pair input:focus { border-color: color-mix(in srgb,var(--xgrc-accent) 60%,transparent); box-shadow: 0 0 0 3px color-mix(in srgb,var(--xgrc-accent) 8%,transparent); }
.xgrc-remote button,
.xgrc-remote__login a { min-height: 42px; padding: 0 15px; border: 1px solid rgba(91,170,205,.28) !important; border-radius: 10px; color: #dff9ff !important; background: rgba(26,83,105,.56) !important; box-shadow: none !important; cursor: pointer; text-decoration: none; font-weight: 700; transition: .22s; }
.xgrc-remote button:hover,
.xgrc-remote__login a:hover { border-color: color-mix(in srgb,var(--xgrc-accent) 55%,transparent) !important; background: rgba(32,109,136,.68) !important; transform: translateY(-1px); }
.xgrc-remote button:disabled { cursor: not-allowed; opacity: .46; transform: none; }
.xgrc-remote__pair-form button { min-height: 50px; padding: 0 20px; gap: 20px; display: inline-flex; align-items: center; color: #061118 !important; border-color: transparent !important; background: linear-gradient(135deg,#e4fbff,var(--xgrc-accent)) !important; box-shadow: 0 13px 30px color-mix(in srgb,var(--xgrc-accent) 17%,transparent) !important; }
.xgrc-remote__pair-form button span { font-size: 18px; }
.xgrc-remote__pair-form small { display: block; margin-top: 10px; color: #6f829e; font-size: 9px; }
.xgrc-remote__pair-form small i { margin-right: 5px; color: var(--xgrc-accent); font-style: normal; }

.xgrc-remote__login { margin: 0 4% 50px; padding: 45px 24px; text-align: center; border: 1px solid var(--xgrc-line); border-radius: 20px; background: var(--xgrc-panel); }
.xgrc-remote__login h3 { margin: 0 0 7px; color: #f0f6ff; }
.xgrc-remote__login p { margin: 0 0 18px; color: var(--xgrc-muted); }
.xgrc-remote__login a { display: inline-flex; align-items: center; }

.xgrc-remote__control { padding: 0 4% 52px; }
.xgrc-remote__identity { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 11px; }
.xgrc-remote__identity > div { min-height: 112px; padding: 20px; border: 1px solid var(--xgrc-line); border-radius: 16px; background: var(--xgrc-card); }
.xgrc-remote__identity span { display: block; color: #71839f; font-size: 9px; letter-spacing: .08em; }
.xgrc-remote__identity strong { display: block; margin-top: 12px; overflow-wrap: anywhere; color: #e9f1fc; font-size: 14px; }
.xgrc-remote__live,
.xgrc-remote__automation,
.xgrc-remote__section { margin-top: 14px; padding: 24px; border: 1px solid var(--xgrc-line); border-radius: 18px; background: var(--xgrc-panel); }
.xgrc-remote__section-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; }
.xgrc-remote__section-head h3,
.xgrc-remote__section h3 { margin: 0; color: #eef5ff; font-size: 17px; }
.xgrc-remote__section-head span { display: block; margin-top: 5px; color: #7586a1; font-size: 10px; }
.xgrc-remote__live-tools { display: flex; align-items: center; gap: 7px; }
.xgrc-remote select,
.xgrc-remote__inputs input,
.xgrc-remote__automation-settings input,
.xgrc-remote__automation-settings select { min-height: 40px; padding: 8px 11px; border: 1px solid rgba(145,178,224,.17); border-radius: 9px; outline: 0; color: #eaf3ff; background: rgba(3,8,18,.58); }
.xgrc-remote__telemetry-groups { display: grid; gap: 16px; margin-top: 18px; }
.xgrc-remote__telemetry-group h4 { margin: 0 0 9px; color: #9fb1c9; font-size: 11px; letter-spacing: .06em; }
.xgrc-remote__telemetry-grid { display: grid; grid-template-columns: repeat(4,minmax(0,1fr)); gap: 9px; }
.xgrc-remote__telemetry-item { min-width: 0; padding: 14px; border: 1px solid rgba(151,177,224,.1); border-radius: 12px; background: rgba(5,11,24,.42); }
.xgrc-remote__telemetry-item::before { content: ""; width: 18px; height: 2px; margin-bottom: 9px; display: block; border-radius: 2px; background: var(--xgrc-accent); box-shadow: 0 0 8px color-mix(in srgb,var(--xgrc-accent) 35%,transparent); }
.xgrc-remote__telemetry-item:nth-child(3n+2)::before { background: #5bd89d; }
.xgrc-remote__telemetry-item:nth-child(3n+3)::before { background: #e7b957; }
.xgrc-remote__telemetry-item span { display: block; color: #71829d; font-size: 9px; }
.xgrc-remote__telemetry-item strong { display: block; margin-top: 5px; overflow-wrap: anywhere; color: #edf5ff; font-size: 12px; }
.xgrc-remote__sections { display: grid; gap: 0; }
.xgrc-remote__buttons { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; }
.xgrc-remote__inputs { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 10px; }
.xgrc-remote__automation-grid { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 10px; margin-top: 16px; }
.xgrc-remote__automation-rule { padding: 15px; border: 1px solid rgba(151,177,224,.1); border-radius: 13px; background: rgba(5,11,24,.42); }
.xgrc-remote__automation-rule.is-unsupported { opacity: .54; }
.xgrc-remote__automation-rule > label,
.xgrc-remote__custom-rule-head label { display: flex; align-items: center; gap: 9px; color: #cfdaeb; font-size: 11px; font-weight: 700; }
.xgrc-remote__custom-rule-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.xgrc-remote__custom-delete { min-height: 34px !important; border-color: rgba(220,91,111,.3) !important; color: #ffb8c3 !important; background: rgba(102,36,48,.48) !important; }
.xgrc-remote__custom-empty { grid-column: 1/-1; margin: 0; padding: 14px; border-radius: 11px; color: #91a3bd; background: rgba(5,11,24,.42); }
.xgrc-remote__automation-settings { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 8px; margin-top: 11px; }
.xgrc-remote__automation-settings label { color: #8495ae; font-size: 10px; }
.xgrc-remote__automation-settings :is(input,select) { width: 100%; margin-top: 4px; }
.xgrc-remote__custom-automation,
.xgrc-remote__events { margin-top: 22px; padding-top: 20px; border-top: 1px solid var(--xgrc-line); }
.xgrc-remote__events h3 { margin: 0 0 10px; color: #e7f0fb; font-size: 14px; }
.xgrc-remote__event { padding: 9px 0; display: flex; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--xgrc-line); color: #a8b8cc; font-size: 10px; }
.xgrc-remote__event time { flex: 0 0 auto; color: #6e7f98; }
.xgrc-remote footer { margin-top: 16px; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; border: 1px solid var(--xgrc-line); border-radius: 15px; color: #778aa5; background: rgba(6,12,25,.45); font-size: 10px; }
.xgrc-remote footer button { border-color: rgba(215,82,103,.3) !important; color: #ffbdc7 !important; background: rgba(94,31,43,.48) !important; }

@keyframes xgrc-remote-scan { 0%,10%{transform:translateX(0);opacity:0}45%{opacity:.5}90%,100%{transform:translateX(380%);opacity:0} }
@keyframes xgrc-remote-float { 0%,100%{transform:translateY(0)}50%{transform:translateY(-9px)} }
@keyframes xgrc-remote-pulse { 0%,100%{opacity:1}50%{opacity:.35} }
@keyframes xgrc-remote-spin { to{transform:rotate(360deg)} }
@keyframes xgrc-remote-packet { from{left:-4px;opacity:0}15%{opacity:1}85%{opacity:1}to{left:calc(100% - 4px);opacity:0} }

html[data-xiaogou-theme="day"] .xgrc-remote {
  --xgrc-bg: #f4f8fd;
  --xgrc-panel: rgba(255,255,255,.78);
  --xgrc-card: rgba(255,255,255,.84);
  --xgrc-line: rgba(32,57,96,.12);
  --xgrc-text: #10192c;
  --xgrc-muted: #63728a;
  color: var(--xgrc-text);
  border-color: rgba(33,59,99,.13);
  background:
    radial-gradient(circle at 82% 7%, color-mix(in srgb,var(--xgrc-accent) 13%,transparent), transparent 28%),
    radial-gradient(circle at 12% 36%, rgba(111,92,255,.08), transparent 25%),
    linear-gradient(145deg,#fff 0%,#f5f8fd 58%,#edf4fb 100%);
  box-shadow: 0 30px 80px rgba(37,61,98,.12), inset 0 1px rgba(255,255,255,.9);
}
html[data-xiaogou-theme="day"] .xgrc-remote__platform-bar { background: rgba(255,255,255,.7); }
html[data-xiaogou-theme="day"] .xgrc-remote__brand strong,
html[data-xiaogou-theme="day"] .xgrc-remote__head h2,
html[data-xiaogou-theme="day"] .xgrc-remote__pair-intro h3,
html[data-xiaogou-theme="day"] .xgrc-remote__identity strong,
html[data-xiaogou-theme="day"] .xgrc-remote__section-head h3,
html[data-xiaogou-theme="day"] .xgrc-remote__section h3,
html[data-xiaogou-theme="day"] .xgrc-remote__telemetry-item strong,
html[data-xiaogou-theme="day"] .xgrc-remote__events h3 { color: #142039; }
html[data-xiaogou-theme="day"] .xgrc-remote__head-copy > p,
html[data-xiaogou-theme="day"] .xgrc-remote__pair-intro p { color: #5e6e86; }
html[data-xiaogou-theme="day"] .xgrc-remote__radar { border-color: rgba(54,99,150,.14); background: rgba(255,255,255,.62); box-shadow: inset 0 0 35px rgba(53,216,255,.06),0 20px 45px rgba(35,59,96,.1); }
html[data-xiaogou-theme="day"] .xgrc-remote__pair,
html[data-xiaogou-theme="day"] .xgrc-remote__identity > div,
html[data-xiaogou-theme="day"] .xgrc-remote__live,
html[data-xiaogou-theme="day"] .xgrc-remote__automation,
html[data-xiaogou-theme="day"] .xgrc-remote__section,
html[data-xiaogou-theme="day"] .xgrc-remote__login { border-color: rgba(32,57,96,.12); background: rgba(255,255,255,.76); box-shadow: 0 12px 35px rgba(38,61,96,.055); }
html[data-xiaogou-theme="day"] .xgrc-remote__message { color: #586a84; background: rgba(229,241,251,.75); }
html[data-xiaogou-theme="day"] .xgrc-remote__pair input,
html[data-xiaogou-theme="day"] .xgrc-remote select,
html[data-xiaogou-theme="day"] .xgrc-remote__inputs input,
html[data-xiaogou-theme="day"] .xgrc-remote__automation-settings input,
html[data-xiaogou-theme="day"] .xgrc-remote__automation-settings select { border-color: rgba(32,57,96,.15); color: #162139; background: rgba(246,249,253,.94); }
html[data-xiaogou-theme="day"] .xgrc-remote__telemetry-item,
html[data-xiaogou-theme="day"] .xgrc-remote__automation-rule,
html[data-xiaogou-theme="day"] .xgrc-remote__custom-empty,
html[data-xiaogou-theme="day"] .xgrc-remote footer { border-color: rgba(32,57,96,.1); color: #61728c; background: rgba(246,249,253,.8); }
html[data-xiaogou-theme="day"] .xgrc-remote__automation-rule > label,
html[data-xiaogou-theme="day"] .xgrc-remote__custom-rule-head label { color: #293751; }

@media (max-width: 900px) {
  .xgrc-remote__head { grid-template-columns: 1fr; padding: 58px 7%; }
  .xgrc-remote__head-copy { text-align: center; }
  .xgrc-remote__head-copy > span,
  .xgrc-remote__trust { justify-content: center; }
  .xgrc-remote__head-copy > p { margin-inline: auto; }
  .xgrc-remote__link-visual { width: min(100%,520px); margin: 0 auto; }
  .xgrc-remote__identity { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .xgrc-remote__telemetry-grid { grid-template-columns: repeat(3,minmax(0,1fr)); }
}

@media (max-width: 650px) {
  .xgrc-remote { border-radius: 20px; }
  .xgrc-remote__platform-bar { min-height: 68px; padding: 0 16px; }
  .xgrc-remote__service span { display: none; }
  .xgrc-remote__head { min-height: auto; padding: 50px 18px 42px; gap: 28px; }
  .xgrc-remote__head h2 { font-size: clamp(38px,13vw,54px); }
  .xgrc-remote__online { position: static; grid-column: 1/-1; justify-self: center; }
  .xgrc-remote__link-visual { min-height: 205px; transform: scale(.85); }
  .xgrc-remote__message { margin-inline: 14px; }
  .xgrc-remote__pair { margin: 0 14px 40px; grid-template-columns: 1fr; gap: 22px; }
  .xgrc-remote__pair-intro { padding: 0 0 20px; border-right: 0; border-bottom: 1px solid var(--xgrc-line); }
  .xgrc-remote__pair-form > div { grid-template-columns: 1fr; }
  .xgrc-remote__control { padding: 0 14px 40px; }
  .xgrc-remote__section-head,
  .xgrc-remote__live-tools,
  .xgrc-remote footer { align-items: stretch; flex-direction: column; }
  .xgrc-remote__telemetry-grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
  .xgrc-remote__automation-grid { grid-template-columns: 1fr; }
}

@media (max-width: 420px) {
  .xgrc-remote__brand small,
  .xgrc-remote__service b { display: none; }
  .xgrc-remote__link-visual { transform: scale(.72); margin-inline: -30px; }
  .xgrc-remote__identity,
  .xgrc-remote__telemetry-grid,
  .xgrc-remote__automation-settings { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  .xgrc-remote *,
  .xgrc-remote *::before,
  .xgrc-remote *::after { animation: none !important; transition-duration: .01ms !important; }
}
