
    @import url(light.css) (prefers-color-scheme: light);
    @import url(dark.css) (prefers-color-scheme: dark);

    :root {
      --md-ref-typeface-brand: 'Google Sans Flex', sans-serif;
      --md-ref-typeface-plain: 'Google Sans Flex', sans-serif;

      font-family: var(--md-ref-typeface-plain);
      font-size: 15px;

      background: var(--md-sys-color-background);
      color: var(--md-sys-color-on-background);
    }

    body {
      margin: 0;
      padding: 0;
      min-height: 100vh;
    }

    .topnav a {
      color: var(--md-sys-color-on-background);
    }

    
    * {
      box-sizing: border-box;
    }

    a {
      color: var(--md-sys-color-primary);
      text-decoration: none;
      transition: color 0.15s ease;
    }

    a:hover {
      text-decoration: underline;
    }

    .nav-link {
      font-weight: 500;
      color: var(--md-sys-color-on-surface);
      padding: 6px 12px;
      border-radius: 8px;
      text-decoration: none;
      transition: all 0.2s ease;
    }

    .nav-link:hover {
      background: var(--md-sys-color-surface-variant);
      text-decoration: none;
    }

    .flex {
      display: flex;
    }
    .flexr {
      display: flex;
    }
    .flexw {
      display: flex;
      flex-wrap: wrap;
    }
    .col {
      flex-direction: column;
    }
    .row {
      flex-direction: row;
    }
    .grid {
      display: grid;
    }

    .jcc {
      justify-content: center;
    }
    .jcsb {
      justify-content: space-between;
    }
    .jcse {
      justify-content: space-evenly;
    }
    .jce {
      justify-content: flex-end;
    }
    .aic {
      align-items: center;
    }
    .aistart {
      align-items: flex-start;
    }

    .g4 {
      gap: 4px;
    }
    .g8 {
      gap: 8px;
    }
    .g12 {
      gap: 12px;
    }
    .g16 {
      gap: 16px;
    }
    .g20 {
      gap: 20px;
    }
    .g24 {
      gap: 24px;
    }
    .g32 {
      gap: 32px;
    }

    .p4 {
      padding: 4px;
    }
    .p8 {
      padding: 8px;
    }
    .p12 {
      padding: 12px;
    }
    .p16 {
      padding: 16px;
    }
    .p20 {
      padding: 20px;
    }
    .p24 {
      padding: 24px;
    }
    .p32 {
      padding: 32px;
    }

    .mt8 {
      margin-top: 8px;
    }
    .mt12 {
      margin-top: 12px;
    }
    .mt16 {
      margin-top: 16px;
    }
    .mt20 {
      margin-top: 20px;
    }
    .mt24 {
      margin-top: 24px;
    }
    .mt32 {
      margin-top: 32px;
    }
    .mt48 {
      margin-top: 48px;
    }

    .mb8 {
      margin-bottom: 8px;
    }
    .mb12 {
      margin-bottom: 12px;
    }
    .mb16 {
      margin-bottom: 16px;
    }
    .mb20 {
      margin-bottom: 20px;
    }
    .mb24 {
      margin-bottom: 24px;
    }
    .mb32 {
      margin-bottom: 32px;
    }

    .tac {
      text-align: center;
    }
    .tal {
      text-align: left;
    }
    .tar {
      text-align: right;
    }
    .w100 {
      width: 100%;
    }

    .br4 {
      border-radius: 4px;
    }
    .br8 {
      border-radius: 8px;
    }
    .br12 {
      border-radius: 12px;
    }
    .br16 {
      border-radius: 16px;
    }
    .br50 {
      border-radius: 50%;
    }

    .shadow {
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    }
    .shadow-lg {
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    }

    .card {
      background: var(--md-sys-color-surface);
      border: 1px solid var(--md-sys-color-outline-variant);
      border-radius: 16px;
      overflow: hidden;
      transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
    }

    .card-interactive:hover {
      transform: translateY(-2px);
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
      cursor: pointer;
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      gap: 8px;
      padding: 10px 20px;
      border-radius: 24px;
      font-weight: 600;
      font-size: 15px;
      cursor: pointer;
      border: none;
      text-decoration: none;
      transition: all 0.2s ease;
    }

    .btn-primary {
      background: var(--md-sys-color-primary);
      color: var(--md-sys-color-on-primary);
    }

    .btn-primary:hover {
      filter: brightness(1.1);
      box-shadow: 0 4px 12px rgba(98, 0, 234, 0.3);
      text-decoration: none;
    }

    .btn-secondary {
      background: var(--md-sys-color-secondary-container);
      color: var(--md-sys-color-on-secondary-container);
    }

    .btn-secondary:hover {
      filter: brightness(0.95);
      text-decoration: none;
    }

    .btn-outline {
      background: transparent;
      border: 2px solid var(--md-sys-color-outline);
      color: var(--md-sys-color-on-surface);
    }

    .btn-outline:hover {
      border-color: var(--md-sys-color-primary);
      color: var(--md-sys-color-primary);
      text-decoration: none;
    }

    .hp-bar-container {
      height: 18px;
      width: 100%;
      background: var(--md-sys-color-surface-variant);
      border-radius: 10px;
      overflow: hidden;
      position: relative;
    }

    .hp-bar-fill {
      height: 100%;
      background: linear-gradient(90deg, #ff5252, #ff1744);
      border-radius: 10px;
      transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .hp-bar-fill.healthy {
      background: linear-gradient(90deg, #00c853, #69f0ae);
    }

    .streak-badge {
      display: inline-flex;
      align-items: center;
      gap: 4px;
      padding: 4px 10px;
      border-radius: 12px;
      font-weight: 700;
      background: linear-gradient(135deg, #ff6d00, #ffab00);
      color: #fff;
      text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
      animation: pulse 1.5s infinite;
    }

    @keyframes pulse {
      0% {
        transform: scale(1);
      }
      50% {
        transform: scale(1.05);
      }
      100% {
        transform: scale(1);
      }
    }

    .monster-avatar {
      font-size: 5rem;
      line-height: 1;
      filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.15));
      transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    .monster-hit {
      animation: shake 0.4s ease-in-out;
    }

    @keyframes shake {
      0%,
      100% {
        transform: translateX(0);
      }
      20%,
      60% {
        transform: translateX(-12px) rotate(-4deg);
      }
      40%,
      80% {
        transform: translateX(12px) rotate(4deg);
      }
    }

    .text-muted {
      color: var(--md-sys-color-outline);
    }

    .badge {
      display: inline-block;
      padding: 3px 8px;
      border-radius: 6px;
      font-size: 12px;
      font-weight: 600;
    }

    @media (width < 840px) {
      .flexr {
        flex-direction: column;
      }
      .lteMedium {
        display: flex;
      }
      .gtMedium {
        display: none;
      }
    }

    @media (width >= 840px) {
      .lteMedium {
        display: none;
      }
      .gtMedium {
        display: flex;
      }
    }

    
    .display-large {
      font-size: 48px;
      font-weight: 800;
      line-height: 56px;
      letter-spacing: -0.5px;
    }
    .display-medium {
      font-size: 36px;
      font-weight: 700;
      line-height: 44px;
    }
    .headline-large {
      font-size: 32px;
      font-weight: 700;
      line-height: 40px;
    }
    .headline-medium {
      font-size: 24px;
      font-weight: 600;
      line-height: 32px;
    }
    .headline-small {
      font-size: 20px;
      font-weight: 600;
      line-height: 28px;
    }
    .title-large {
      font-size: 20px;
      font-weight: 500;
      line-height: 26px;
    }
    .title-medium {
      font-size: 16px;
      font-weight: 500;
      line-height: 24px;
    }
    .body-large {
      font-size: 16px;
      line-height: 24px;
    }
    .body-medium {
      font-size: 14px;
      line-height: 20px;
    }
  
  
  