    .page-title {
      font-size: 64px;
      font-family: Arial, Helvetica, sans-serif;
      cursor: default;
      word-spacing: -8px;
    }

    .page-title .inserted {
      display: inline-block;
      max-width: 1em;
      overflow: hidden;
      color: var(--text-muted);
      transition: max-width 200ms ease;
    }

    .page-title:hover .inserted {
      max-width: 0;
    }

    :root {
      --bg: #b762ff;
      --card-bg: #0042ff;
      --border: #000000;
      --accent: #FFD644;
      --accent-bg: #0042ff;
      --accent-border: #000000;
      --button-color: #e3ee46;
      --text: #FFFFFF;
      --text-muted: #cdd5ff;
      --text-muted2: #acb8ff;
    }

    * { box-sizing: border-box; }
    
    .highlighted {
      background-color: rgb(104, 167, 255)
    }
    body {
      margin: 0;
      min-height: 100vh;
      font-family: Arial, sans-serif;
      
      background: var(--bg);
      color: var(--text);
      padding: 32px 16px;
    }

    .container {
      max-width: 960px;
      margin: 0 auto;
    }

    h1 {
      margin: 0 0 8px;
      font-weight: 700;
      letter-spacing: -0.02em;
    }

    .subtitle {
      margin: 24px 0 24px;
      color: var(--text-muted);
      font-size: 24px;
      font-family: Arial, Helvetica, sans-serif;
    }

    .movie-select {
      width: 100%;
      padding: 12px 16px;
      font-size: 16px;
      border: 3px solid var(--border);
      border-radius: 10px;
      background: var(--card-bg);
      margin-bottom: 24px;
      cursor: pointer;
    }

    .tree-container {
      background: var(--card-bg);
      border: 3px solid var(--border);
      padding: 24px;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
    }

    .level-label {
      display: inline-block;
      padding: 6px 12px;
      background: var(--accent-bg);
      color: var(--accent);
      border-radius: 8px;
      font-weight: 600;
      font-size: 13px;
      margin-bottom: 12px;
    }

    .tree-grid {
      display: flex;
      flex-direction: column;
      flex-wrap: nowrap;
      gap: 8px;
      margin-bottom: 0;
    }

    .node {
      background: var(--bg);
      border: 3px solid #000000;
      border-radius: 0;
      padding: 6px 18px;
      font-size: 16px;
      font-weight: 400;
      line-height: 1.6;
      color: black;
      transition: transform 100ms ease, box-shadow 100ms ease;
      cursor: default;
      width: 100%;
      flex-shrink: 0;
      box-shadow: 4px 4px 0 #000000;
    }

    .node.width-half,
    .node.width-quarter {
      width: 100%;
    }

    .node.clickable {
      cursor: pointer;
      background: #c5cfff;
    }

    .node.clickable:hover {
      transform: translate(2px, 2px);
      box-shadow: 2px 2px 0 #000000;
    }

    .node.clickable:active {
      transform: translate(4px, 4px);
      box-shadow: none;
    }

    .node.leaf {
      background: var(--bg);
    }

    .node p {
      margin: 0;
    }

    .hint {
      font-size: 16px;
      color: var(--text-muted);
      margin-top: 16px;
      margin: 28px 0 0 0;
    }

.guess-container {
      display: flex;
      flex-direction: row;
      gap: 8px;
      margin-bottom: 24px;
      align-items: stretch;
      flex-wrap: nowrap;
    }

    .guess-container .autocomplete-container {
      flex: 1;
      min-width: 0;
    }

    .guess-input {
      width: 100%;
      padding: 12px 16px;
      font-size: 20px;
      border: 3px solid #000000;
      border-radius: 0;
      background: var(--bg);
      color: var(--text);
      font-family: Arial, Helvetica, sans-serif;
    }

    .guess-input::placeholder {
      color: var(--text-muted);
    }

    .guess-input:focus {
      outline: none;
    }

    .guess-btn {
      padding: 6px 18px;
      background: var(--button-color);
      color: black;
      border: 3px solid #000000;
      border-radius: 0;
      font-size: 16px;
      font-weight: 600;
      cursor: pointer;
      transition: transform 100ms ease, box-shadow 100ms ease;
      box-shadow: 4px 4px 0 #000000;
    }

    .guess-btn:hover {
      transform: translate(2px, 2px);
      box-shadow: 2px 2px 0 #000000;
    }

    .guess-btn:active {
      transform: translate(4px, 4px);
      box-shadow: none;
    }


    .giveup-btn:hover {
      /* background: var(--bg);
      color: var(--text);
      border-color: #000000; */
      transform: translate(2px, 2px);
      box-shadow: 2px 2px 0 #000000;
    }

    .feedback {
      padding: 12px 16px;
      border-radius: 10px;
      margin-bottom: 16px;
      font-size: 14px;
    }

    .feedback.wrong {
      background: #3A1020;
      color: #FF8A8A;
      border: 3px solid #000000;
    }

    .feedback.correct {
      background: #0042ff;
      color: #FFFFFF;
      border: 3px solid #000000;
    }

    .win-message {
      text-align: center;
      padding: 32px;
      background: #0042ff;
      border: 3px solid #000000;
      border-radius: 0;
      margin-bottom: 24px;
    }

    .win-message h2 {
      color: #FFD644;
      margin: 0 0 8px;
      font-size: 28px;
    }

    .win-message p {
      color: rgba(255, 255, 255, 0.8);
      margin: 0 0 16px;
    }

    .play-again-btn {
      padding: 5px 12px;
      background: #FFD644;
      color: #0B1026;
      border: none;
      border-radius: 10px;
      font-size: 16px;
      font-weight: 600;
      cursor: pointer;
    }

    .movie-select {
      display: none;
    }

    .guess-count {
      font-size: 14px;
      color: var(--text-muted);
      margin-bottom: 16px;
    }

    .hint-counter {
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 4px 0;
      font-size: 14px;
      color: black;
      margin-bottom: 8px;
    }

    .hint-counter .eye-icon {
      font-size: 16px;
    }

    .autocomplete-container {
      position: relative;
      flex: 1;
      width: 100%;
    }

    .autocomplete-dropdown {
      position: absolute;
      top: 100%;
      left: 0;
      right: 0;
      background: var(--card-bg);
      border: 3px solid var(--border);
      border-top: none;
      border-radius: 0 0 10px 10px;
      max-height: 300px;
      overflow-y: auto;
      z-index: 1000;
      display: none;
    }

    .autocomplete-dropdown.show {
      display: block;
    }

    .autocomplete-item {
      padding: 12px 16px;
      cursor: pointer;
      color: var(--text);
      border-bottom: 3px solid var(--border);
      transition: background 150ms;
    }

    .autocomplete-item:last-child {
      border-bottom: none;
    }

    .autocomplete-item:hover,
    .autocomplete-item.selected {
      background: var(--accent-bg);
    }

    .autocomplete-item mark {
      background: transparent;
      color: var(--accent);
      font-weight: 600;
    }

    .movie-photo {
      width: 100%;
      max-width: 300px;
      height: auto;
      border-radius: 8px;
      margin: 16px 0;
    }

    .title-box {
      display: inline;
      color: var(--accent);
      font-size: inherit;
      font-weight: inherit;
    }

    .title-doublebox {
      display: inline-block;
      position: relative;
      padding: 8px 18px 6px;
      margin: 0 10px 10px 4px;
      border: 4px solid rgb(237, 237, 0);
      background: transparent;
      color: var(--accent);
      font-size: inherit;
      font-weight: 900;
      line-height: 1.2;
      letter-spacing: 0.03em;
      box-shadow: 14px 14px 0 0 var(--accent-bg);
    }

    .mode-select {
      width: 100%;
      padding: 12px 16px;
      font-size: 16px;
      border: 3px solid var(--border);
      border-radius: 10px;
      background: var(--card-bg);
      color: rgb(136, 187, 255);
      margin-bottom: 16px;
      cursor: pointer;
    }

    .mode-select:focus {
      outline: none;
      border-color: var(--accent);
      box-shadow: none;
    }

    .mode-select:focus-visible {
      outline: none;
    }

    /* Tutorial button */
    .tutorial-btn {
      position: fixed;
      bottom: 24px;
      right: 24px;
      width: 48px;
      height: 48px;
      border-radius: 50%;
      border: 3px solid #000;
      background: var(--accent);
      color: #000;
      font-size: 24px;
      font-weight: 700;
      cursor: pointer;
      box-shadow: 3px 3px 0 #000;
      z-index: 999;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: transform 100ms ease, box-shadow 100ms ease;
      font-family: Arial, sans-serif;
    }
    .tutorial-btn:hover {
      transform: translate(1px, 1px);
      box-shadow: 2px 2px 0 #000;
    }
    .tutorial-btn:active {
      transform: translate(3px, 3px);
      box-shadow: none;
    }

    /* Tutorial modal */
    .tutorial-overlay {
      display: none;
      position: fixed;
      inset: 0;
      background: rgba(0, 0, 0, 0.45);
      backdrop-filter: blur(3px);
      align-items: center;
      justify-content: center;
      z-index: 1001;
    }
    .tutorial-modal {
      background: var(--card-bg);
      border: 3px solid #000;
      padding: 28px 24px 24px;
      max-width: 520px;
      width: 90%;
      position: relative;
      box-shadow: 8px 8px 0 #000;
    }
    .tutorial-modal .close-btn {
      position: absolute;
      top: 8px;
      right: 12px;
      background: transparent;
      border: none;
      color: var(--accent);
      font-size: 24px;
      font-weight: 700;
      cursor: pointer;
      padding: 4px 8px;
    }
    .tutorial-modal h2 {
      margin: 0 0 6px;
      font-size: 28px;
      color: var(--accent);
      font-family: Arial, sans-serif;
    }
    .tutorial-modal .tutorial-text {
      color: #93AADB;
      font-size: 15px;
      margin: 0 0 20px;
      line-height: 1.5;
    }

    /* Demo area */
    .tutorial-demo {
      position: relative;
      display: flex;
      flex-direction: column;
      gap: 8px;
    }

    /* Touch circle pop */
    .touch-circle {
      position: absolute;
      width: 48px;
      height: 48px;
      border-radius: 50%;
      background: rgba(150, 150, 150, 0.4);
      transform: translate(-50%, -50%) scale(0);
      pointer-events: none;
      z-index: 10;
    }
    .touch-circle.animate {
      animation: touchPop 400ms ease-out forwards;
    }
    @keyframes touchPop {
      0% { transform: translate(-50%, -50%) scale(0); opacity: 1; }
      60% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.5; }
      100% { transform: translate(-50%, -50%) scale(1.5); opacity: 0; }
    }