/* /lisa/ topic cards: the original card CSS, unchanged (only the outer
   padding differs because the page has the website header above it). */
body.lisa-hub { background: #1d061a; overflow-x: hidden; }
.lisa-hub .lisa-hero, .lisa-hub .lisa-hero *, .lisa-hub .container, .lisa-hub .container * { font-family: consolas, monospace; }
/* The website's text styles (guide.css) add margins and a taller line height to
   h2/p. Reset them inside the cards so they match the original exactly. */
.lisa-hub .container *{margin:0;padding:0}
.lisa-hub .container{line-height:normal}
.lisa-hero{text-align:center;max-width:1200px;margin:0 auto;padding:40px 20px 0}
.lisa-hero h1{font-size:3em;color:#fff;text-transform:uppercase;letter-spacing:8px;text-shadow:0 0 20px rgba(255,255,255,.5);margin:0 0 10px;line-height:1.15}
.lisa-hero p{font-size:1.2em;color:rgba(255,255,255,.7);letter-spacing:2px;margin:0}
.lisa-intro{max-width:760px;margin:22px auto 0;padding:0 20px;text-align:center}
.lisa-intro p{font-family:-apple-system,BlinkMacSystemFont,'Segoe UI',Roboto,sans-serif!important;font-size:15.5px;letter-spacing:0}
@media (max-width:700px){.lisa-hero h1{font-size:1.7em;letter-spacing:4px}.lisa-hero p{font-size:1em}}
.credits{max-width:880px;margin:0 auto;padding:0 20px 30px;font-size:12.5px;color:rgba(244,236,255,.55)}
/* Topic pages */
.soon{border:1px dashed rgba(167,139,250,.45);background:rgba(167,139,250,.06);border-radius:16px;padding:16px 18px;margin:20px 0}
.soon p{margin:0}
.topics{display:flex;flex-wrap:wrap;gap:8px;margin:30px 0 0}
.topics a{text-decoration:none;border:1px solid var(--line);background:var(--card);padding:7px 12px;border-radius:999px;color:var(--text);font-size:13.5px}
.topics a[aria-current]{border-color:var(--pink);color:#fff}

    .container {
      margin: 0 auto;
      display: flex;
      justify-content: center;
      align-items: center;
      flex-wrap: wrap;
      padding: 60px 20px 40px;
      gap: 60px;
      max-width: 1400px;
    }
    
    .container .box {
      position: relative;
      width: 320px;
      height: 550px;
      display: flex;
      flex-direction: column;
      justify-content: flex-end;
      align-items: center;
      transition: 0.5s;
      cursor: pointer;
    }
    
    .container .box::before {
      content: ' ';
      position: absolute;
      top: 0;
      left: 50px;
      width: 50%;
      height: 100%;
      background: #fff;
      border-radius: 8px;
      transform: skewX(15deg);
      transition: 0.5s;
      opacity: 0.1;
    }
    
    .container .box::after {
      content: '';
      position: absolute;
      top: 0;
      left: 50px;
      width: 50%;
      height: 100%;
      background: #fff;
      border-radius: 8px;
      transform: skewX(15deg);
      transition: 0.5s;
      filter: blur(30px);
      opacity: 0.3;
    }
    
    .container .box:hover {
      transform: translateY(-20px);
    }
    
    .container .box:hover:before,
    .container .box:hover:after {
      transform: skewX(0deg);
      left: 20px;
      width: calc(100% - 40px);
      opacity: 0.8;
    }
    
    .container .box:nth-child(1):before,
    .container .box:nth-child(1):after {
      background: linear-gradient(315deg, #ffbc00, #ff0058);
    }
    
    .container .box:nth-child(2):before,
    .container .box:nth-child(2):after {
      background: linear-gradient(315deg, #03a9f4, #ff0058);
    }
    
    .container .box:nth-child(3):before,
    .container .box:nth-child(3):after {
      background: linear-gradient(315deg, #4dff03, #00d0ff);
    }
    
    .container .box:nth-child(4):before,
    .container .box:nth-child(4):after {
      background: linear-gradient(315deg, #ff00ff, #ff6ec7);
    }
    
    .container .box:nth-child(5):before,
    .container .box:nth-child(5):after {
      background: linear-gradient(315deg, #ffd700, #ff8c00);
    }
    
    .container .box:nth-child(6):before,
    .container .box:nth-child(6):after {
      background: linear-gradient(315deg, #ff1493, #00bfff);
    }
    
    .container .box:nth-child(7):before,
    .container .box:nth-child(7):after {
      background: linear-gradient(315deg, #9370db, #ff69b4);
    }
    
    /* Card 1 - Actress (perfect) */
    .container .box:nth-child(1) .character-img {
      position: absolute;
      top: 20px;
      width: 280px;
      height: 320px;
      z-index: 3;
      transition: 0.5s;
      filter: drop-shadow(0 0 8px rgba(255, 188, 0, 1)) drop-shadow(0 0 15px rgba(255, 0, 88, 0.9)) drop-shadow(0 0 30px rgba(255, 188, 0, 0.7));
    }
    
    /* Card 2 - CEO (perfect) */
    .container .box:nth-child(2) .character-img {
      position: absolute;
      top: 20px;
      width: 280px;
      height: 320px;
      z-index: 3;
      transition: 0.5s;
      filter: drop-shadow(0 0 8px rgba(3, 169, 244, 1)) drop-shadow(0 0 15px rgba(255, 0, 88, 0.9)) drop-shadow(0 0 30px rgba(3, 169, 244, 0.7));
    }
    
    /* Card 3 - Dancer (perfect) */
    .container .box:nth-child(3) .character-img {
      position: absolute;
      top: 20px;
      width: 280px;
      height: 320px;
      z-index: 3;
      transition: 0.5s;
      filter: drop-shadow(0 0 8px rgba(77, 255, 3, 1)) drop-shadow(0 0 15px rgba(0, 208, 255, 0.9)) drop-shadow(0 0 30px rgba(77, 255, 3, 0.7));
    }
    
    /* Card 4 - Musician */
    .container .box:nth-child(4) .character-img {
      position: absolute;
      top: -30px;
      left: -100px;
      width: 280px;
      height: 320px;
      z-index: 3;
      transition: 0.5s;
      filter: drop-shadow(0 0 8px rgba(255, 0, 255, 1)) drop-shadow(0 0 15px rgba(255, 110, 199, 0.9));
    }
    
    /* Card 5 - Fashion Icon */
    .container .box:nth-child(5) .character-img {
      position: absolute;
      top: -25px;
      left: -25px;
      width: 280px;
      height: 320px;
      z-index: 3;
      transition: 0.5s;
      filter: drop-shadow(0 0 8px rgba(255, 215, 0, 1)) drop-shadow(0 0 15px rgba(255, 140, 0, 0.9));
    }
    
    /* Card 6 - Charity Angel */
    .container .box:nth-child(6) .character-img {
      position: absolute;
      top: 20px;
      left: -70px;
      width: 280px;
      height: 320px;
      z-index: 3;
      transition: 0.5s;
      filter: drop-shadow(0 0 8px rgba(255, 20, 147, 1)) drop-shadow(0 0 15px rgba(0, 191, 255, 0.9));
    }
    
    /* Card 7 - Variety Queen */
    .container .box:nth-child(7) .character-img {
      position: absolute;
      top: -20px;
      left: -80px;
      width: 280px;
      height: 320px;
      z-index: 3;
      transition: 0.5s;
      filter: drop-shadow(0 0 8px rgba(147, 112, 219, 1)) drop-shadow(0 0 15px rgba(255, 105, 180, 0.9));
    }
    
    .container .box:hover .character-img {
      animation: floatCharacter 3s ease-in-out infinite;
    }
    
    /* Card 1 image */
    .container .box:nth-child(1) .character-img img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      object-position: center;
      mix-blend-mode: normal;
      border-radius: 12px;
      filter: drop-shadow(0 0 4px rgba(255, 188, 0, 1)) drop-shadow(0 0 8px rgba(255, 0, 88, 0.8));
    }
    
    /* Card 2 image */
    .container .box:nth-child(2) .character-img img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      object-position: center;
      mix-blend-mode: normal;
      border-radius: 12px;
      filter: drop-shadow(0 0 4px rgba(3, 169, 244, 1)) drop-shadow(0 0 8px rgba(255, 0, 88, 0.8));
    }
    
    /* Card 3 image */
    .container .box:nth-child(3) .character-img img {
      width: 100%;
      height: 100%;
      object-fit: contain;
      object-position: center;
      mix-blend-mode: normal;
      border-radius: 12px;
      filter: drop-shadow(0 0 4px rgba(77, 255, 3, 1)) drop-shadow(0 0 8px rgba(0, 208, 255, 0.8));
    }
    
    /* Card 4 image - BIGGER and repositioned */
    .container .box:nth-child(4) .character-img img {
      width: 180%;
      height: 180%;
      object-fit: contain;
      object-position: center top;
      mix-blend-mode: normal;
      border-radius: 12px;
      filter: drop-shadow(0 0 4px rgba(255, 0, 255, 1)) drop-shadow(0 0 8px rgba(255, 110, 199, 0.8));
    }
    
    /* Card 5 image - BIGGER */
    .container .box:nth-child(5) .character-img img {
      width: 160%;
      height: 160%;
      object-fit: contain;
      object-position: center top;
      mix-blend-mode: normal;
      border-radius: 12px;
      filter: drop-shadow(0 0 4px rgba(255, 215, 0, 1)) drop-shadow(0 0 8px rgba(255, 140, 0, 0.8));
    }
    
    /* Card 6 image - BIGGER and repositioned */
    .container .box:nth-child(6) .character-img img {
      width: 160%;
      height: 160%;
      object-fit: contain;
      object-position: center top;
      mix-blend-mode: normal;
      border-radius: 12px;
      filter: drop-shadow(0 0 4px rgba(255, 20, 147, 1)) drop-shadow(0 0 8px rgba(0, 191, 255, 0.8));
    }
    
    /* Card 7 image - BIGGER and repositioned */
    .container .box:nth-child(7) .character-img img {
      width: 180%;
      height: 180%;
      object-fit: contain;
      object-position: left top;
      mix-blend-mode: normal;
      border-radius: 12px;
      filter: drop-shadow(0 0 4px rgba(147, 112, 219, 1)) drop-shadow(0 0 8px rgba(255, 105, 180, 0.8));
    }
    
    @keyframes floatCharacter {
      0%, 100% {
        transform: translateY(0px);
      }
      50% {
        transform: translateY(-20px);
      }
    }
    
    .container .box span {
      display: block;
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      z-index: 5;
      pointer-events: none;
    }
    
    .container .box .content {
      position: relative;
      padding: 30px 40px;
      background: rgba(255, 255, 255, 0.05);
      backdrop-filter: blur(10px);
      box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
      border-radius: 8px;
      z-index: 6;
      transition: 0.5s;
      color: #fff;
      text-align: center;
      width: 100%;
      margin-top: 70px;
    }
    
    .container .box:hover .content {
      padding: 40px;
      background: rgba(255, 255, 255, 0.1);
    }
    
    .container .box .content h2 {
      font-size: 2em;
      color: #fff;
      margin-bottom: 10px;
      text-transform: uppercase;
      letter-spacing: 3px;
    }
    
    .container .box .content p {
      font-size: 0.95em;
      margin-bottom: 15px;
      line-height: 1.5em;
      color: rgba(255, 255, 255, 0.8);
    }
    
    .container .box .content a {
      display: inline-block;
      font-size: 1em;
      color: #111;
      background: #fff;
      padding: 12px 30px;
      border-radius: 4px;
      text-decoration: none;
      font-weight: 700;
      margin-top: 5px;
      transition: 0.3s;
      text-transform: uppercase;
      letter-spacing: 1px;
    }
    
    .container .box .content a:hover {
      background: #ffcf4d;
      border: 1px solid rgba(255, 0, 88, 0.4);
      box-shadow: 0 1px 15px rgba(1, 1, 1, 0.2);
      transform: scale(1.05);
    }
