        body {
            font-family: Arial, sans-serif;
            text-align: center;
            padding-top: 50px;
        }
        h1, h2 {
            margin-top: 20px;
            color: #333;
        }
        p {
            max-width: 800px;
            margin: 20px auto;
            line-height: 1.6;
            font-size: 1.1em;
            color: #444;
            text-align: left;
        }

        #banner {
            position: fixed;
            top: 0;
            width: 100%;
            background-color: lightgray;
            padding: 10px;
            text-align: center;
            font-weight: bold;
            z-index: 1000;
        }

        .pageview-counter {
            position: absolute;
            top: 8px;
            left: 15px;
            color: #333;
            font-size: 0.9rem;
            z-index: 1002;
        }

        #word {
            font-size: 6em;
            margin: 20px;
            width: 100%;
        }

        #word-container {
            background-color: white;
            padding: 20px;
        }

        #controls {
            margin-top: 20px;
        }

        button, input[type="range"] {
            margin: 5px;
        }

        #story-picker, #font-color-slider, #bg-color-slider,
        #speed-slider, #word-count-slider, #font-size-slider {
            margin-top: 10px;
        }

        #current-word-info {
            margin-top: 20px;
            font-size: 1.2em;
        }

        .fancy-link {
            display: inline-block;
            padding: 10px 20px;
            background-color: #4CAF50;
            color: white;
            font-size: 16px;
            font-weight: bold;
            text-align: center;
            text-decoration: none;
            border-radius: 5px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
            /* */
            margin-top: 20px;
        }

        .fancy-link:hover {
            background-color: #45a049;
            box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
            transform: translateY(-2px);
        }

        .fancy-link:active {
            background-color: #388e3c;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
            transform: translateY(0);
        }

        .speed-button {
            display: inline-block;
            padding: 10px 15px;
            background-color: #4CAF50;
            color: white;
            font-size: 20px;
            font-weight: bold;
            text-align: center;
            text-decoration: none;
            border-radius: 5px;
            box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
            transition: all 0.3s ease;
        }

        .speed-button:hover {
            background-color: #45a049;
            box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
            transform: translateY(-2px);
        }

        .speed-button:active {
            background-color: #388e3c;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
            transform: translateY(0);
        }

        #speed-control {
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .nav-link {
            text-decoration: none;
            color: #0066cc;
            font-weight: bold;
            padding: 3px 8px;
            border-radius: 4px;
            transition: all 0.2s ease;
            display: inline-block;
        }

        .nav-link:hover {
            background-color: #0066cc;
            color: white;
            border-radius: 4px;
            padding: 4px 8px;

        }

        /* ACIM related */
        ul {
            list-style-type: none;
            padding: 0;
            margin-top: 30px;
        }
        li {
            margin: 15px 0;
        }
        a.file-link {
            text-decoration: none;
            background-color: #4CAF50;
            color: white;
            padding: 8px 16px;
            border-radius: 5px;
            font-weight: bold;
            transition: all 0.3s ease;
        }
        a.file-link:hover {
            text-decoration: underline;
            background-color: #45a049;
            transform: translateY(-2px);
        }
        .file-desc-disabled {
            color: #555;
            font-size: 0.95em;
            margin-top: 5px;
        }
        .file-desc {
            font-size: 0.9em;
            color: #999;
            overflow: hidden;
            text-overflow: ellipsis;
            display: -webkit-box;
            -webkit-line-clamp: 2;
            -webkit-box-orient: vertical;
          }


.video-container {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 aspect ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
}
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


    .player-container {
      background: #1c1c1c;
      border-radius: 16px;
      padding: 40px;
      display: inline-block;
      box-shadow: 0 4px 12px rgba(0,0,0,0.6);
      max-width: 700px;
      width: 90%;
    }

    #meta-title {
        color: green;
    }

    .meta {
      margin-top: 8px;
      font-size: 0.95em;
      color: #ccc;
      line-height: 1.5em;
    }
    .play-link {
      display: inline-block;
      margin-top: 25px;
      padding: 12px 20px;
      background: linear-gradient(135deg, #4CAF50, #2E8B57);
      color: white;
      font-weight: bold;
      font-size: 1em;
      text-decoration: none;
      border-radius: 8px;
      transition: all 0.3s ease;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    }
    .play-link:hover {
      background: linear-gradient(135deg, #5fdc6d, #3ba76a);
      transform: translateY(-2px);
      box-shadow: 0 8px 14px rgba(0, 0, 0, 0.4);
    }
    .play-link:active {
      transform: translateY(0);
      box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
    }
    a.back {
      display: inline-block;
      margin-top: 30px;
      color: #88f;
      text-decoration: none;
      font-weight: bold;
      transition: color 0.3s ease;
    }
    a.back:hover {
      color: #c9d4ff;
      text-decoration: underline;
    }
    hr {
      border: none;
      border-top: 1px solid #333;
      margin: 30px 0;
    }
