
@media (max-width: 768px) {

  #boot-logo {
    width: 72%;
    max-width: 280px;
  }
  .boot-bottom-right img {
    height: 28px;
  }


  .login-inner {
    inset: 0 !important;
  }

  .login-left    { display: none !important; }
  .login-divider { display: none !important; }

  .login-right {
    left: 50% !important;
    top:  50% !important;
    transform: translate(-50%, -50%) !important;
  }

  .login-card {
    min-width: 260px;
    max-width: 320px;
    padding: 16px 20px;
  }
  .login-card-text .uname  { font-size: 22px; }
  .login-card-text .utitle { font-size: 12px; }

  .login-restart {
    left: 24px;
    bottom: 20px;
    font-size: 14px;
  }
  .login-restart img { height: 26px; }

  #desktop {
    background-position: 63% 40% !important;
  }

  #desktop-icons {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 112px;
    gap: 8px;
    padding: 18px 14px;
    align-content: start;
  }

  .desktop-icon {
    width: 100%;
    padding: 6px 4px;
  }
  .desktop-icon img {
    width: 60px;
    height: 60px;
    margin-bottom: 5px;
  }
  .desktop-icon span {
    font-size: 13px;
    line-height: 1.2;
  }

  .desktop-icon[data-prog="music"] {
    display: none !important;
  }

  .desktop-icon-br {
    position: static !important;
    bottom: auto !important;
    right: auto !important;
    width: 100% !important;
  }

  #taskbar {
    pointer-events: none;
  }
  #start-btn {
    pointer-events: none;
    opacity: 0.7;
  }
  #taskbar-programs {
    display: none;
  }

  #windows-container { display: none !important; }
  #startmenu         { display: none !important; }
  #logoff-dialog     { display: none !important; }

  #mobile-panel {
    position: fixed;
    left:   0;
    right:  0;
    top:    0;
    bottom: var(--taskbar-h);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    background: #fff;
    transform: translateY(110%);
    transition: transform 0.28s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    overflow: hidden;
  }
  #mobile-panel.mob-open {
    transform: translateY(0);
  }

  .mob-header {
    height: 52px;
    min-height: 52px;
    flex-shrink: 0;
    background: linear-gradient(180deg,
      #1868ce 0%, #0e60cb 12%, #0e60cb 20%, #1164cf 32%,
      #1667cf 33%, #1b6cd3 47%, #1e70d9 54%, #2476dc 60%,
      #297ae0 65%, #3482e3 77%, #3786e5 79%, #428ee9 90%, #4791eb 100%);
    display: flex;
    align-items: center;
    padding: 0 10px;
    gap: 9px;
    box-shadow: 0 2px 4px rgba(0,0,0,.3);
  }

  #mob-close-btn {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    border-radius: 4px;
    border: 1px solid rgba(255,255,255,.35);
    background: rgba(255,255,255,.12);
    color: #fff;
    font-size: 20px;
    font-family: Tahoma, Arial, sans-serif;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    transition: background .1s;
  }
  #mob-close-btn:active { background: rgba(255,255,255,.28); }

  #mob-hd-icon {
    width: 26px;
    height: 26px;
    flex-shrink: 0;
    object-fit: contain;
  }
  #mob-hd-title {
    flex: 1;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    font-family: Tahoma, Arial, sans-serif;
    text-shadow: 1px 1px 2px rgba(0,0,0,.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  #mob-body {
    flex: 1;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    position: relative;
    background: #fff;
  }

  .mob-pdf {
    display: block;
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    background: #808080;
  }

  .mob-pdf-open {
    padding: 40px 28px 48px;
    text-align: center;
    font-family: Tahoma, Arial, sans-serif;
    max-width: 380px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
  }
  .mob-pdf-icon {
    width: 72px;
    height: 72px;
  }
  .mob-pdf-open h2 {
    font-size: 22px;
    font-weight: 700;
    color: #222;
    margin: 0;
  }
  .mob-pdf-open p {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
    margin: 0;
  }
  .mob-pdf-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    max-width: 260px;
    height: 52px;
    background: linear-gradient(180deg, #1e70d9, #1060c8);
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    font-family: Tahoma, Arial, sans-serif;
    border-radius: 5px;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,80,.25);
    transition: background .15s;
    gap: 8px;
  }
  .mob-pdf-btn:active { background: linear-gradient(180deg, #1060c8, #0e50b0); }
  .mob-pdf-btn-dl {
    background: linear-gradient(180deg, #f0f0e8, #d8d4c8);
    color: #222;
    font-size: 15px;
    font-weight: 600;
    height: 44px;
    box-shadow: 0 1px 4px rgba(0,0,0,.15);
    border: 1px solid #aaa;
  }
  .mob-pdf-btn-dl:active { background: linear-gradient(180deg, #d8d4c8, #c8c4b8); }

  .mob-help {
    padding: 32px 24px 40px;
    text-align: center;
    font-family: Tahoma, Arial, sans-serif;
    max-width: 400px;
    margin: 0 auto;
  }
  .mob-help-img {
    width: 72px;
    height: 72px;
    margin-bottom: 16px;
  }
  .mob-help h2 {
    font-size: 22px;
    font-weight: 700;
    color: #222;
    margin-bottom: 14px;
  }
  .mob-help p {
    font-size: 15px;
    color: #444;
    line-height: 1.65;
    margin-bottom: 12px;
  }
  .mob-help-callout {
    margin-top: 28px;
    padding: 18px 18px;
    background: linear-gradient(135deg, #e8f0fe 0%, #c8dcff 100%);
    border: 1px solid #9eb0d0;
    border-radius: 8px;
    font-size: 15px;
    line-height: 1.65;
    color: #1a3b7a;
    text-align: left;
  }

  .about-outer {
    height: auto !important;
    overflow: visible !important;
  }
  .about-wrap {
    flex-direction: column !important;
    overflow: visible !important;
    height: auto !important;
  }
  .about-right {
    order: 1 !important;
    flex: none !important;
    overflow: visible !important;
    padding: 18px 18px !important;
    min-height: 0 !important;
    width: 100% !important;
  }
  .about-left {
    order: 2 !important;
    width: 100% !important;
    min-width: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    flex-shrink: 0 !important;
  }
  .about-left .xpsb-outer,
  .about-right .xpsb-outer {
    display: contents;
  }

  .contact-wrap {
    padding: 18px 16px !important;
  }
  .contact-wrap input,
  .contact-wrap textarea {
    font-size: 16px !important; 
  }

  .vp-wrap {
    height: 100%;
    min-height: 300px;
  }

  .cv-toolbar {
    display: none;
  }
  .cv-content {
    overflow: visible !important;
  }

  .crt-effect,
  .crt-scanline,
  .crt-vignette,
  .crt-flicker,
  .crt-aberration,
  .crt-noise,
  .crt-persistence {
    display: none !important;
  }

  #tooltip { display: none !important; }

  #balloon {
    right: 12px !important;
    bottom: calc(var(--taskbar-h) + 8px) !important;
    left: auto !important;
    max-width: calc(100vw - 24px);
  }

  #mob-notice {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: rgba(0, 0, 0, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.25s ease;
  }
  #mob-notice.visible {
    opacity: 1;
    pointer-events: auto;
  }

  .mob-notice-box {
    background: #fff;
    border-radius: 6px;
    overflow: hidden;
    width: 100%;
    max-width: 360px;
    box-shadow: 0 8px 32px rgba(0,0,0,.55);
    display: flex;
    flex-direction: column;
  }

  .mob-notice-hd {
    background: linear-gradient(180deg,
      #1868ce 0%, #0e60cb 15%, #1164cf 35%,
      #1b6cd3 55%, #2476dc 70%, #3482e3 85%, #4791eb 100%);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
  }
  .mob-notice-hd img {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
  }
  .mob-notice-hd span {
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    font-family: Tahoma, Arial, sans-serif;
    text-shadow: 1px 1px 2px rgba(0,0,0,.4);
  }

  .mob-notice-body {
    padding: 24px 22px 20px;
    font-family: Tahoma, Arial, sans-serif;
    font-size: 15px;
    line-height: 1.65;
    color: #222;
    text-align: center;
  }
  .mob-notice-body p { margin-bottom: 10px; }
  .mob-notice-body p:last-child { margin-bottom: 0; }
  .mob-notice-body strong { color: #003399; }

  .mob-notice-footer {
    padding: 0 22px 22px;
    display: flex;
    justify-content: center;
  }
  #mob-notice-ok {
    width: 100%;
    max-width: 200px;
    height: 44px;
    background: linear-gradient(180deg, #1e70d9, #1060c8);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    font-family: Tahoma, Arial, sans-serif;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    letter-spacing: 0.5px;
    box-shadow: 0 2px 6px rgba(0,0,80,.3);
    transition: background 0.15s;
  }
  #mob-notice-ok:active {
    background: linear-gradient(180deg, #1060c8, #0e50b0);
  }

}
