  body { background: #f8f8f8; }
  .panel img { width: 100%; display: block; }
  .list-group-item { padding: 23px 14px; }
  .panel-heading { font-weight: bold; position: relative; }

  .fullscreen-btn {
    position: absolute;
    right: 10px;
    top: 6px;
    font-size: 18px;
    cursor: pointer;
    color: #fff;
  }

  #fullscreenOverlay {
    position: fixed;
    inset: 0;
    background: #111;
    z-index: 9999;
    display: none;
    flex-direction: column;
  }
  #fullscreenOverlay.active { display: flex; }

  #fullscreenBar {
    height: 48px;
    background: linear-gradient(90deg, #1e3c72, #2a5298);
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    font-weight: bold;
    box-shadow: 0 2px 10px rgba(0,0,0,0.4);
  }

  #fullscreenBar button {
    background: rgba(255,255,255,0.15);
    border: none;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    margin-left: 6px;
  }

  #fullscreenBar button:hover {
    background: rgba(255,255,255,0.3);
  }

  #fullscreenContent {
    flex: 1;
    background: #111;
    padding: 10px;
    position: relative;
    overflow: hidden;
  }

  .carousel-track {
    display: flex;
    height: 100%;
    transition: transform 0.35s ease;
  }

  .carousel-slide {
    min-width: 100%;
    height: 100%;
    padding: 10px;
    box-sizing: border-box;
  }

  .carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.4);
    color: white;
    border: none;
    font-size: 28px;
    width: 44px;
    height: 64px;
    cursor: pointer;
    border-radius: 4px;
  }

  #imageOverlay {
    position: fixed;
    inset: 0;
    background: #111;
    z-index: 10000;
    display: none;
    flex-direction: column;
  }
  #imageOverlay.active { display: flex; }

  #imageBar {
    height: 48px;
    background: linear-gradient(90deg, #1e3c72, #2a5298);
    color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 15px;
    font-weight: bold;
    box-shadow: 0 2px 10px rgba(0,0,0,0.4);
  }

  #imageBar button {
    background: rgba(255,255,255,0.15);
    border: none;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
  }

  #imageBar button:hover {
    background: rgba(255,255,255,0.3);
  }

  #imageContent {
    flex: 1;
    background: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
  }

  #imageContent img {
    max-width: 100%;
    max-height: 100%;
    cursor: grab;
    user-select: none;
    transform-origin: center center;
  }
