#dhlTgifLaunch{min-height:78px;padding:12px 17px;border-radius:13px;border:2px solid #42c6d1;background:linear-gradient(130deg,#075878,#0d3459);color:#fff;font-size:17px;font-weight:750;cursor:pointer}
#dhlTgifLaunch[hidden]{display:none!important}
#dhlTgifLaunch.selected{border-color:#43e6aa}
#dhlTgifDialog{position:fixed;inset:0;margin:auto;width:min(690px,calc(100vw - 20px));max-height:94dvh;overflow:auto;box-sizing:border-box;padding:0;background:#11243a;color:#f0f8ff;border:1px solid #5684ab;border-radius:18px;box-shadow:0 25px 75px #000a}
#dhlTgifDialog::backdrop{background:#000a}
.dhlTgifHeader{display:flex;align-items:center;gap:12px;justify-content:space-between;padding:15px 18px;background:#102941;border-bottom:1px solid #4a7396}
.dhlTgifHeader h2{margin:0;font-size:21px;flex:1}.dhlTgifBadge{font-size:12px;padding:6px 10px;border-radius:999px;background:#364963}
.dhlTgifBadge[data-state=connected]{background:#155d48}.dhlTgifClose{border:none;background:none;color:#fff;font-size:29px;cursor:pointer}
.dhlTgifContent{padding:16px}.dhlTgifHint{color:#a6c5db;font-size:13px;line-height:1.4;margin:0 0 10px}
#dhlTgifDialog input{box-sizing:border-box;width:100%;min-height:42px;padding:9px 11px;background:#152f4b;color:#f4fbff;border:1px solid #5b85a7;border-radius:9px}
.dhlTgifTabs{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:12px 0}
.dhlTgifTab{padding:10px 8px;border:1px solid #427d9e;border-radius:8px;background:#153551;color:#d9f2ff;cursor:pointer}
.dhlTgifTab.active{background:#0c7297;border-color:#36bed3;color:white;font-weight:700}
.dhlTgifRows{height:clamp(155px,29dvh,240px);overflow-y:auto;scrollbar-width:thin;display:flex;flex-direction:column;gap:5px;margin:7px 0;padding:4px;background:#0f2034;border:1px solid #315673;border-radius:11px}
.dhlTgifRow{display:flex;gap:5px;min-height:45px;border:1px solid #35546e;border-radius:7px;background:#172d44;align-items:stretch}
.dhlTgifPick{flex:1;min-width:0;display:flex;flex-direction:column;justify-content:center;align-items:start;text-align:left;background:none;color:#fff;border:none;padding:6px 12px;cursor:pointer}
.dhlTgifPick strong{font-size:14px}.dhlTgifPick small{font-size:12px;color:#b3d1e3;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}
.dhlTgifStar{width:42px;flex:0 0 42px;background:#1b3850;border:1px solid #345f7c;border-radius:7px;color:#c2d9e6;cursor:pointer;font-size:24px;line-height:1}
.dhlTgifStar.is-on{color:#ffd463}.dhlTgifStar:focus-visible,.dhlTgifPick:focus-visible{outline:2px solid #4ad8fa;outline-offset:2px}
.dhlTgifPaging{display:flex;align-items:center;justify-content:space-between;gap:7px;margin:9px 0 12px;font-size:12px}
.dhlTgifSmall{padding:7px 11px;border:1px solid #49839c;border-radius:7px;background:#1c4564;color:#fff;cursor:pointer}
.dhlTgifSelected{display:flex;gap:12px;align-items:center}.dhlTgifSelected label{font-weight:700;min-width:92px}
.dhlTgifActions{display:flex;gap:9px;flex-wrap:wrap;margin:12px 0}.dhlTgifPrimary,.dhlTgifDanger{padding:10px 15px;border-radius:10px;border:1px solid #4ab3d0;background:#087ea2;color:white;font-weight:700;cursor:pointer}
.dhlTgifDanger{background:#66394d;border-color:#9a6078}
.dhlTgifActions button[hidden],.dhlTgifPaging[hidden]{display:none!important}
#dhlTgifDialog button:disabled{opacity:.5;cursor:not-allowed}
.dhlTgifNotice{font-size:13px;color:#e0f5ff;line-height:1.4;min-height:1.4em;margin:10px 0}
.dhlTgifProfile{margin:12px 0;padding:13px;border:1px solid #35678a;border-radius:12px}
.dhlTgifProfile summary{cursor:pointer;font-weight:700}
.dhlTgifProfileForm{display:flex;flex-direction:column;gap:12px;margin:15px 0}
.dhlTgifProfileForm label{display:flex;flex-direction:column;gap:5px;font-weight:600}
.dhlTgifProfileForm input{padding:9px 10px;min-height:40px;border:1px solid #537d9d;border-radius:8px;background:#16314d;color:#fff}
.dhlTgifProfileForm button{align-self:flex-start}
@media(max-width:550px){.dhlTgifHeader{padding:11px}.dhlTgifContent{padding:11px}.dhlTgifSelected{display:block}.dhlTgifSelected label{display:block;margin:8px 0}.dhlTgifActions button{flex:1}}

/* DHL_TGIF_SAFE_TILE_V2 — presentation only. No JS, no DOM mutation. */
/* Grid placement: TGIF remains the last network choice, on desktop and mobile. */
#networkChoices > button#dhlTgifLaunch {
  order: 9999 !important;
  position: relative !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 13px !important;
  min-width: 0 !important;
  min-height: 86px !important;
  padding: 12px 14px !important;
  border: 2px solid #f198c9 !important;
  border-radius: 13px !important;
  background: linear-gradient(128deg,#622554 0%,#84285c 58%,#562453 100%) !important;
  color: #fff !important;
  font-family: inherit !important;
  font-size: clamp(16px, 1.3vw, 21px) !important;
  font-weight: 750 !important;
  line-height: 1.15 !important;
  text-align: left !important;
  overflow: hidden !important;
  isolation: isolate;
}
#networkChoices > button#dhlTgifLaunch::before {
  content: "" !important;
  display: block !important;
  width: 47px !important;
  height: 49px !important;
  flex: 0 0 47px !important;
  background: center / contain no-repeat url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCA0OCA0OCIgZmlsbD0ibm9uZSIgc3Ryb2tlPSIjZmZmZmZmIiBzdHJva2Utd2lkdGg9IjIuNiIgc3Ryb2tlLWxpbmVjYXA9InJvdW5kIiBzdHJva2UtbGluZWpvaW49InJvdW5kIj48cGF0aCBkPSJNMjQgOXYzMk0xNiA0MWgxNk0yNCAxMmwtOSAyOWgxOEwyNCAxMloiLz48Y2lyY2xlIGN4PSIyNCIgY3k9IjgiIHI9IjIiLz48cGF0aCBkPSJNMTQgMTRjLTcgNy03IDE2IDAgMjNNMzQgMTRjNyA3IDcgMTYgMCAyM005IDlDMCAxOCAwIDMzIDkgNDJNMzkgOWM5IDkgOSAyNCAwIDMzIi8+PC9zdmc+") !important;
  opacity: 1 !important;
}
#networkChoices > button#dhlTgifLaunch::after {
  content: "DMR Network" !important;
  display: block !important;
  position: absolute !important;
  left: 74px !important;
  top: calc(50% + 7px) !important;
  max-width: calc(100% - 84px) !important;
  overflow: hidden !important;
  white-space: nowrap !important;
  text-overflow: ellipsis !important;
  color: #fff0fa !important;
  font-size: clamp(10px, .85vw, 13px) !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
  pointer-events: none !important;
}
#networkChoices > button#dhlTgifLaunch.selected {
  border-color: #8df2d9 !important;
  box-shadow: inset 0 0 0 1px rgba(141,242,217,.35) !important;
}
#networkChoices > button#dhlTgifLaunch:focus-visible {
  outline: 3px solid white !important;
  outline-offset: 2px !important;
}
#networkChoices > button#dhlTgifLaunch[hidden] {display: none !important;}
@media(max-width:480px) {
  #networkChoices > button#dhlTgifLaunch {min-height:70px !important;padding:8px !important;gap:7px !important;font-size:13px !important;}
  #networkChoices > button#dhlTgifLaunch::before {width:30px !important;height:33px !important;flex-basis:30px !important;}
  #networkChoices > button#dhlTgifLaunch::after {left:45px !important;top:calc(50% + 7px) !important;max-width:calc(100% - 51px) !important;font-size:10px !important;}
}
/* DHL_TGIF_SAFE_TILE_V2_END */

/* DHL_TGIF_MOBILE_VISIBILITY_V3 — CSS-only / no radio actions */
@media screen and (max-width: 767px) {
  /* Make room for the extra (fifth) tile in the existing mobile network grid. */
  html body #view-radio:not([hidden]) > .roomPicker.networkPicker:not([hidden]),
  html body #view-radio:not([hidden]) > .networkPicker:not([hidden]),
  html body #view-radio:not([hidden]) .roomPicker:not([hidden]):has(> #networkChoices) {
    display: block !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    padding-bottom: 10px !important;
    contain: none !important;
  }
  html body #view-radio:not([hidden]) #networkChoices {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    grid-auto-flow: row !important;
    grid-auto-rows: minmax(70px, auto) !important;
    gap: 8px !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;
    align-content: start !important;
    padding-bottom: 3px !important;
    contain: none !important;
  }
  /* Preserve the signed-out [hidden] rule. Do NOT unhide TGIF before authentication. */
  html body #view-radio:not([hidden]) #networkChoices > button#dhlTgifLaunch:not([hidden]) {
    order: 9999 !important;
    display: flex !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: relative !important;
    grid-column: auto !important;
    min-width: 0 !important;
    width: 100% !important;
    min-height: 70px !important;
    height: auto !important;
    max-height: none !important;
    padding: 8px 10px !important;
    align-self: stretch !important;
    overflow: hidden !important;
    clip: auto !important;
    clip-path: none !important;
    transform: none !important;
    pointer-events: auto !important;
    box-sizing: border-box !important;
  }
  html body #view-radio:not([hidden]) #networkChoices > button#dhlTgifLaunch[hidden] {
    display: none !important;
  }
  /* The fifth item occupies the next grid row; don't clip the row on small screens. */
  html body #view-radio:not([hidden]) #networkChoices > button#dhlTgifLaunch::before {
    flex: 0 0 30px !important;
    width: 30px !important;
    height: 33px !important;
  }
  html body #view-radio:not([hidden]) #networkChoices > button#dhlTgifLaunch::after {
    left: 51px !important;
    max-width: calc(100% - 55px) !important;
  }
}
/* DHL_TGIF_MOBILE_VISIBILITY_V3_END */

