    @font-face {
      font-family: 'joshAN';
      src: url('fonts/joshAN.woff2') format('woff2');
      font-weight: 400;
      font-style: normal;
      font-display: swap;
      ascent-override: 100%;
      descent-override: 10%;
      line-gap-override: 0%;
    }
    @font-face {
      font-family: 'Circle-Bold';
      src: url('fonts/Circle-Bold.woff') format('woff');
      font-weight: bold;
      font-style: normal;
      font-display: swap;
    }
    @font-face {
      font-family: 'Gilroy-Bold';
      src: url('fonts/Gilroy-Bold.woff') format('woff');
      font-weight: bold;
      font-style: normal;
      font-display: swap;
      ascent-override: 100%;
      descent-override: 10%;
      line-gap-override: 0%;
    }
    @font-face {
      font-family: 'Gilroy-Regular';
      src: url('fonts/Gilroy-Reg.woff') format('woff');
      font-weight: normal;
      font-style: normal;
      font-display: swap;
      ascent-override: 100%;
      descent-override: 10%;
      line-gap-override: 0%;
    }
    body {
      font-family: "joshAN", sans-serif;
      background-color: #040404;
      background-image: url("image_assets/background-dot-pattern-animate.svg");
      background-size: 45px;
      color: #f2f0ee;
      display: flex;
      flex-direction: column;
      justify-content: center; 
      align-items: center; 
      margin: 20px 20px; 
      padding: 0 20px; 
      box-sizing: border-box;
      place-items: center;
    }
    h1 {
      font-size: 2.5rem;
      margin-bottom: 1rem;
      color: #ffffff;
      font-weight: 400;  
      text-align: center;
    }
    h2 {
      font-size: 2.0rem;
      margin: 1rem;
      color: #ffffff;
      font-weight: 400;  
      text-align: center;
    }
    h3 {
      font-size: .9rem;
      margin-bottom: 0.5rem;
      margin-top: 0; 
      padding-top: 0; 
      text-align: center;
    }
    form {
      background: #212121;
      border: solid #313030 3px;
      padding: 20px;
      border-radius: 10px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
      width: 100%;
      max-width: 400px;
      text-align: center;
      justify-content: center; 
      align-items: center;
    }
    input, button {
      margin: 10px 0;
      padding: 10px;
      width: 100%;
      box-sizing: border-box;
    }
    button {
      background-color: #2D81FF;
      color: #ffffff;
      border: none;
      border-radius: 8px;
      cursor: pointer;
      font-size: 1rem;
      transition: background-color 0.3s;
    }
    button:hover {
      background-color: #1F66CC;
    }
    .note {
      font-size: 0.9rem;
      margin-top: 10px;
      color: #aaaaaa;
    }
    .note2 {
      background: #212121; 
      border: solid #3a3a3a 3px;
      padding: 15px; 
      border-radius: 10px; 
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); 
      width: 100%; 
      text-align: left; 
      min-width: 280px; 
      max-width: 350px; 
      flex: 1; 
      line-height: 1.5;
    }
    .note3 {
      background: #212121; 
      border: solid #3a3a3a 3px;
      padding: 15px; 
      border-radius: 10px; 
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); 
      text-align: left; 
      min-width: 350px; 
      max-width: 615px; 
      flex: 1; 
      margin: 0 auto;
      display: block; 
    }
    .note4 {
      background: #212121; 
      border: solid #3a3a3a 3px;
      padding: 15px; 
      border-radius: 10px; 
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3); 
      text-align: left; 
      min-width: 350px; 
      max-width: 615px;
      flex: 1; 
      margin: 20px auto; 
      display: block; 
    }
    .note2 h3 {
        display: flex; 
        align-items: center; 
        gap: 8px; 
        margin-top: 0; 
        padding-top: 0; 
    }
    .note2 h3 img {
        width: 45px;
        height: 45px;
    }
    .uploading {
      color: #f2f0ee;
      font-weight: bold;
    }
    .compatibility-results {
      display:flex;
      justify-content:center;
      gap:20px;
      flex-wrap:wrap;
      margin:10px
    }
    #results {
      text-align: center; 
      justify-content: center; 
      align-items: center;
    }
    #apps {
      text-align: center; 
      justify-content: center; 
      align-items: center;
    }  
    table {
      width: 100%;
      border-collapse: collapse;
      font-size: 0.75em;
      border-radius: 8px;
      overflow: hidden; 
      box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.3);
      border: none;
      table-layout: fixed; 
    }
    th, td {
      padding: 8px;
      text-align: left;
    }
    tr {
      border-bottom: 1px solid #444; 
    }
    th {
      background-color: #2D81FF;
      color: #ffffff;
      max-width: 50%;
    }
    ul li,
    ol li {
      margin-bottom: 0.3rem; 
    }
    footer {
      margin-top: 30px;
      color: #aaaaaa;
      font-size: 0.875rem;
      position: static;
      padding-bottom: 10px;
    }
    footer a {
      color: #ffffff;
      text-decoration: none;
      position: static;
    }
    footer a:hover {
      text-decoration: underline;
    }
    .download-link {
    text-decoration: none; 
    }
    .download-link:hover {
        text-decoration: underline; 
    }
    .download-button {
      --download-color: #2D81FF;
      width: 100%;
      margin: 5px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      padding: 10px;
      border-radius: 9px;
      border: 2px solid #fff3;
      color: #fff;
    }
    .download-button:hover {
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
      border: 2px solid var(--download-color);
      text-decoration: none;
    }  
    .download-button:active {
      transform: translateY(0);
      box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
    }
    .download-button-row {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 8px;
      flex-wrap: wrap;
      text-align: center;
    }    
    .logo-container {
      position:absolute; top:0; left:0;
      display:flex;
      align-items:center;
      gap:6px;
      height:40px;
      background:#040404;
      padding-left:5px;
    }
    .logo {
      height: 16px;
      flex-shrink:0;
      padding-top: 1px;
    }
    .pipe {
      font-size:.85rem;
      line-height:1;
      color:#fff;
      position: relative;
      bottom: 0.15em;
    }
    .product {
      display:inline-flex;
      align-items:center;
      white-space:nowrap;
      margin:0;
      transform:none;
      position:relative;
      bottom: 0.02em;
    }
    .product-link {
      font-size:.85rem;
      line-height:1;
      color:#fff;
      text-decoration:none;
    }
    .product-link:hover {
      text-decoration:underline;
    }
    .beta {
      font-size:.7rem;
      line-height:1;
      color:#ccc;
      margin-left:.4em; 
      margin-top: 0.18em;
    }
    hr {
      border: none;               
      height: 1px;                
      background-color: rgba(255, 255, 255, 0.2); 
      margin: 6px 0;              
    }
    .divider-light {
      border: none;               
      height: 1px;                
      background-color: rgba(255, 255, 255, 0.2); 
      margin: 6px 0;              
    }
    .divider-bold {
      border: none;               
      height: 2px;                
      background-color: rgba(255, 255, 255, 0.2); 
      margin: 6px 0;              
    }
    .info-icon {
      font-style: normal;
      font-weight: bold;
      border: 1px solid #ffffff; 
      border-radius: 50%; 
      color: #ffffff; 
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 12px;
      height: 12px;
      font-size: 0.6rem;
      margin-left: 5px; 
      cursor: pointer;
    }
    .info-text {
      font-size: 0.9rem;
      color: #aaaaaa;
      display: flex;
      align-items: center;
      gap: 5px;
      margin-bottom: 10px;
    }
    .info-text .clickable {
      color: #2D81FF; 
      text-decoration: underline;
      cursor: pointer;
    }
    .info-text i {
      color: #ffffff; 
      font-style: normal;
      font-weight: bold;
      border: 1px solid #ffffff; 
      border-radius: 50%;
      width: 16px;
      height: 16px;
      display: inline-flex;
      align-items: center;
      justify-content: center;
      font-size: 0.8rem;
    }
    .info-popup {
      display: none;
      position: fixed;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      background: #2a2a2a;
      border: solid #3a3a3a 3px;
      color: #ffffff;
      padding: 20px;
      border-radius: 8px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
      width: 80%;
      max-width: max-content;
      min-width: 300px;
      text-align: center;
      z-index: 2000;
      font-size: 0.9rem; 
      line-height: 1.3; 
      max-height: 80%; 
      overflow-y: auto; 
    }
    .info-popup button {
      margin-top: 10px;
      background-color: #2D81FF;
      color: #ffffff;
      border: none;
      padding: 8px 12px;
      border-radius: 8px;
      cursor: pointer;
      transition: background-color 0.3s;
    }
    .info-popup button:hover {
      background-color: #1F66CC;
    }
    #overlay {
      display: none;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100%;
      background: rgba(0, 0, 0, 0.5);
      z-index: 999;
    }
    .spinner {
      border: 4px solid rgba(255, 255, 255, 0.3); 
      border-top: 4px solid #2D81FF; 
      border-radius: 50%;
      width: 20px;
      height: 20px;
      animation: spin 1s linear infinite; 
      margin-right: 10px; 
    }
    @keyframes spin {
      0% {
        transform: rotate(0deg);
      }
      100% {
        transform: rotate(360deg);
      }
    }
    #loading {
      display: none;
      align-items: center;
      justify-content: center;
      margin-top: 20px;
    }
    .compatibility-item {
        display: flex; 
        justify-content: space-between; 
        align-items: center; 
        padding: 1px 0; 
        font-size: 0.9rem;
    }
    .compatibility-item-smodel{
        display: flex; 
        justify-content: space-between; 
        align-items: center; 
        padding: 1px 0; 
        font-size: 0.9rem;
        border-bottom: 1px solid #fff3;
    }    
    .compatibility-item span {
        text-align: right;
        flex-grow: 0; 
    }
    .compatibility-item img {
        width: 15px; 
        height: 15px;
    }
    .compatibility-icon {
        display: flex; 
        justify-content: space-between; 
        align-items: center; 
        padding: 4px 0; 
        font-size: 0.9rem;
    }
    .compatibility-icon span {
        text-align: right;
        flex-grow: 0; 
    }
    .compatibility-icon img {
        width: 15px; 
        height: 15px;
    }
    .loading-gif {
        display: flex; 
        justify-content: center; 
        align-items: center; 
    }
    .loading-gif img {
        width: 20px !important; 
        height: 20px !important;
        display: block;
    }
#dropZone {
    min-width: 100px;
    max-width: 90%;
    width: 100%;
    height: 50px;  
    border: 1px dashed #2D81FF;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s;
    padding: 15px; 
    color: #ffffff;
    position: static;
}
#dropZone p {
    margin: 0;
    font-size: 0.9rem; 
}
#fileInput {
    display: none; 
}
#fileName {
    font-size: 0.75em; 
    margin-top: 10px;
    display: block;
    max-width: 100%;
    white-space: nowrap; 
    overflow: hidden;
    text-overflow: ellipsis;
}
#dropZone:hover {
    background-color: rgba(45, 129, 255, 0.2);
}
#dropZone.dragover {
    background-color: rgba(45, 129, 255, 0.4);
}
#uploadForm {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-bottom: 0;
}
p {
    max-width: 400px; 
    margin: 0 auto; 
    text-align: center; 
    color: #cccccc;
    line-height: 1.5;
}
p a {
  color: #b0b0b0;
  text-decoration: none;
  position: static;
}
p a:hover {
  cursor: pointer;
  text-decoration: underline;
}
a {
  color: #cccccc;
  text-decoration: none;
  position: static;
}
a:hover {
  cursor: pointer;
  text-decoration: underline;
}
#iconSection {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
  position: static; 
  width: 100%;
  justify-content: center; 
  align-items: center;
  transition: margin-bottom 1s ease;
}
#iconSection.compress { margin-bottom: -30px; }
#iconWrapper {
  position: static;
  width: 100%;
  max-width: 400px; 
  height: 220px; 
  margin: 0 auto; 
  display: flex;
  justify-content: center; 
  align-items: center; 
  overflow: hidden; 
  margin-bottom: -20px;
  transition: margin-bottom 1s ease;
}
#iconWrapper.expand { margin-bottom: -10px; }
.icon img {
  width: 90px; 
  height: auto; 
}
.icon {
  align-items: center; 
  justify-content: center; 
  width: 90px; 
  height: 100px;
  position: absolute;
  transition: transform 1s ease, opacity 1s ease;
}
.icon-label {
  opacity: 0;
  backdrop-filter: brightness(0.5);
  transition: opacity 1s ease;
  text-align: center;
  margin-top: 5px;
  font-size: 0.85em; 
  color: #f2f0ee;
}
.icon-video {
  transform: translate(-60px, 20px); 
  z-index: 3; 
}
.icon-photo {
  transform: translate(0, -20px); 
  z-index: 2; 
}
.icon-gigapixel {
  transform: translate(60px, -60px); 
  z-index: 1; 
}
.icon-video.expand {
  transform: translate(-120px, 0); 
  opacity: 1;
}
.icon-photo.expand {
  transform: translate(0, 0); 
  opacity: 1;
}
.icon-gigapixel.expand {
  transform: translate(120px, 0); 
  opacity: 1;
}
.icon-label.expand {
  opacity: 1;
}
.fade-out {
    opacity: 0;
    transition: opacity 1s ease-in-out; 
}
#warningsSection {
    font-size: 0.75em;
    line-height: 1.8;
    padding: 10px;
    max-width: 615px;
    min-width: 350px;
    padding: 15px;
}
.warning-section li::marker {
  color: var(--bullet-color, currentColor);
}
.warning-section ul {
  list-style-type: var(--bullet-type, square);
}
#instructionHeader:hover { text-decoration: underline; }
  .pulse {
    animation: pulse 1s ease-in-out;
  }
  @keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.5); }
    100% { transform: scale(1); }
  }
  .scanner {
    position: relative;
    display: inline-block;
    overflow: hidden;
  }
  .scanner::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, transparent 0%, rgba(0,123,255,0.3) 50%, transparent 100%);
    animation: scan 2s ease-out forwards;
    pointer-events: none;
  }
  @keyframes scan {
    0% { left: -100%; }
    100% { left: 100%; }
  }
.mac-dialog {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(0, 0, 0, 0.85);
  z-index: 9999;
  align-items: center;
  justify-content: center;
}
.mac-dialog-box {
  background: #040404;
  padding: 20px 30px;
  border-radius: 20px;
  text-align: center;
  max-width: 90%;
  width: 300px;
  box-shadow: 0 0 0 5px #777777;
}
.mac-dialog-message {
  font-size: 1.1em;
  margin-bottom: 20px;
}
.mac-dialog-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
}
.mac-dialog-button {
  padding: 8px 16px;
  background-color: #333333;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.mac-dialog-button:hover {
  background-color: #444444;
}
.mac-dialog-close {
  position: absolute;
  top: 8px;
  right: 12px;
  font-size: 1.4em;
  color: #999;
  cursor: pointer;
  line-height: 1;
}
.mac-dialog-close:hover {
  color: #fff;
}
.mac-link {
  color: inherit;
  text-decoration: underline;
  font-weight: 500;
}
.driver-warnings{
  background: #200000;
  border: 1px solid #7b1e30;
  border-radius: 6px;
  padding: 18px;
  max-width: 700px;
  color: #ffffff;
  font-size: .95rem;
  filter: opacity(0.9);
  margin: 10px;
  align-self: center;
}
.driver-warnings a{ color:#ffd008;text-decoration:underline; }
.driver-warnings p {
  max-width: 100%;
  margin: 0;
  text-align: left;
  color: #cccccc;
  line-height: 1.5;
}
.compatibility-container {
  display: flex;
  flex-direction: column;
  width: 100%;
}
.compatibility-container-warn {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 10px;
}
:root{
  --yes: #89ff0b;
  --no:  #ff2057;
}
.control-row{
  display:flex;justify-content:space-between;align-items:center;gap:0;padding: 5px;
}
.control{
  display:flex;align-items:center;font-size:.8rem;gap:.3rem;
}
.nowrap{ white-space:nowrap;cursor:help; }
.js-dropdown{ position:relative; display:inline-block; }
.dropdown-trigger{
  background:none;border:none;padding:0;cursor:pointer;font:inherit;border-radius:3px;
}
.dropdown-trigger:hover{ background-color:#313030; }
.dropdown-trigger .arrow{ font-weight:bold; color:#2D81FF; }
.dropdown-menu{
  display:none;position:absolute;left:0;margin:0;padding:0;
  list-style:none;background:#040404;border:1px solid #444;
  border-radius:4px;box-shadow:0 2px 6px rgba(0,0,0,.2);z-index: 1999;
}
.dropdown-menu li{ padding:.25rem .75rem;white-space:nowrap;cursor:pointer; }
.dropdown-menu li:hover{ background:#222; }
#SpeedTestMenu li[data-value="SpeedTestNo"]  { color: var(--no); }
#SpeedTestMenu li[data-value="SpeedTestYes"] { color: var(--yes); }
#SpeedTestDropdown:has(#SpeedTestYes:checked) > .dropdown-trigger { color: var(--yes); }
#SpeedTestDropdown:has(#SpeedTestNo:checked)  > .dropdown-trigger { color: var(--no); }
.js-dropdown .dropdown-menu{ display:none; }
.js-dropdown.open .dropdown-menu{ display:block; }
.toast {
  position: fixed;
  top: 25%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 16px 24px;
  font-size: 14px;
  z-index: 1001;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
  visibility: hidden;
}
.toast.show {
  opacity: 1;
  visibility: visible;
}
.toast-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  z-index: 1000;
  display: none;
}
.speed-progress-bar {
  width: 100%;
  max-width: 300px;
  height: 4px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 8px;
}
.speed-progress-fill {
  height: 100%;
  width: 0;
  background: #2D81FF;
  border-radius: 2px;
}
.speed-progress-animate {
  animation: speed-fill 10s linear forwards;
}
@keyframes speed-fill {
  from { width: 0; }
  to   { width: 100%; }
}
.shared-banner {
  text-align: center;
  padding: 8px 16px;
  margin-bottom: 10px;
  background: rgba(45, 129, 255, 0.15);
  border: 1px solid rgba(45, 129, 255, 0.3);
  border-radius: 8px;
  color: #aaa;
  font-size: 0.85rem;
}
