@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');
@import url('https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0/css/all.min.css');

/* tc-scoped:tc-wp-tool-root */

.tc-wp-tool-root{
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  display: flow-root;
  isolation: isolate;
  position: relative;
}.wpc-scope-112 .tc-wp-tool-root img, .wpc-scope-112 .tc-wp-tool-root video, .wpc-scope-112 .tc-wp-tool-root svg, .wpc-scope-112 .tc-wp-tool-root iframe{
  max-width: 100%;
  height: auto;
}.wpc-scope-112 .tc-wp-tool-root *, .wpc-scope-112 .tc-wp-tool-root *::before, .wpc-scope-112 .tc-wp-tool-root *::after{ box-sizing: border-box; }.wpc-scope-112 .tc-wp-tool-root{
      --bg: #0d0d0d;
      --card: #1a1a1a;
      --border: #f59e0b;
      --text: #fff;
      --text-dim: #aaa;
      --accent: #f59e0b;
      --correct: #00cc66;
      --wrong: #ff4444;
    }.wpc-scope-112 .tc-wp-tool-root .game-body{
      margin: 0;
      min-height: 100vh;
      font-family: system-ui, -apple-system, sans-serif;
      background: var(--bg);
      color: var(--text);
      -webkit-tap-highlight-color: transparent;
    }.wpc-scope-112 .tc-wp-tool-root .app-wrapper{ 
      position: relative; 
      min-height: 100vh; 
      padding: 1rem; 
    }.wpc-scope-112 .tc-wp-tool-root .hidden{ display: none !important; }.wpc-scope-112 .tc-wp-tool-root .screen-wrapper{
      position: absolute;
      inset: 0;
      z-index: 10;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      padding: 1rem;
      background: var(--bg);
    }.wpc-scope-112 .tc-wp-tool-root .game-title{
      margin: 0 0 0.25rem 0;
      font-size: clamp(1.5rem, 5vw, 2.25rem);
      font-weight: 800;
      color: var(--accent);
      text-align: center;
    }.wpc-scope-112 .tc-wp-tool-root .game-subtitle{
      margin: 0 0 1.5rem 0;
      font-size: 0.95rem;
      color: var(--text-dim);
      text-align: center;
    }.wpc-scope-112 .tc-wp-tool-root .options-card{
      width: 100%;
      max-width: 380px;
      padding: 1.75rem;
      background: var(--card);
      border: 3px solid var(--border);
      border-radius: 12px;
      box-shadow: 4px 4px 0 rgba(0,0,0,0.4);
    }.wpc-scope-112 .tc-wp-tool-root .options-heading{
      margin: 0 0 1.25rem 0;
      font-size: 1.25rem;
      font-weight: 800;
      color: var(--text);
      text-align: center;
    }.wpc-scope-112 .tc-wp-tool-root .option-group{
      margin-bottom: 1.25rem;
    }.wpc-scope-112 .tc-wp-tool-root .option-label{
      display: block;
      margin-bottom: 0.5rem;
      font-size: 0.9rem;
      font-weight: 700;
      color: var(--accent);
    }.wpc-scope-112 .tc-wp-tool-root .option-buttons{
      display: flex;
      gap: 0.75rem;
      flex-wrap: wrap;
    }.wpc-scope-112 .tc-wp-tool-root .option-btn{
      min-width: 64px;
      padding: 0.6rem 1.25rem;
      font-size: 1rem;
      font-weight: 700;
      background: transparent;
      color: var(--text);
      border: 3px solid var(--border);
      border-radius: 8px;
      cursor: pointer;
      transition: background 0.15s, color 0.15s;
    }.wpc-scope-112 .tc-wp-tool-root .option-btn:hover{
      background: rgba(245, 158, 11, 0.15);
    }.wpc-scope-112 .tc-wp-tool-root .option-btn.active{
      background: var(--accent);
      color: var(--bg);
    }.wpc-scope-112 .tc-wp-tool-root .checkbox-wrap{
      display: flex;
      align-items: center;
      gap: 0.5rem;
      cursor: pointer;
      color: var(--text);
      font-weight: 600;
    }.wpc-scope-112 .tc-wp-tool-root .option-checkbox{
      width: 20px;
      height: 20px;
      accent-color: var(--accent);
    }.wpc-scope-112 .tc-wp-tool-root .btn-start{
      width: 100%;
      margin-top: 1rem;
      padding: 1rem 1.5rem;
      font-size: 1.15rem;
      font-weight: 800;
      background: var(--accent);
      color: var(--bg);
      border: 3px solid #1a1a1a;
      border-radius: 8px;
      cursor: pointer;
      box-shadow: 4px 4px 0 rgba(0,0,0,0.4);
      transition: transform 0.1s, box-shadow 0.1s;
    }.wpc-scope-112 .tc-wp-tool-root .btn-start:hover{
      transform: translate(2px, 2px);
      box-shadow: 2px 2px 0 rgba(0,0,0,0.4);
    }.wpc-scope-112 .tc-wp-tool-root .game-screen-wrapper{ justify-content: flex-start; padding-top: 2rem; }.wpc-scope-112 .tc-wp-tool-root .game-header{
      display: flex;
      justify-content: space-between;
      align-items: center;
      width: 100%;
      max-width: 560px;
      margin-bottom: 1rem;
    }.wpc-scope-112 .tc-wp-tool-root .question-num, .wpc-scope-112 .tc-wp-tool-root .timer-display, .wpc-scope-112 .tc-wp-tool-root .score-display{
      font-size: 0.95rem;
      font-weight: 700;
      color: var(--accent);
    }.wpc-scope-112 .tc-wp-tool-root .game-prompt{
      margin: 0 0 1rem 0;
      font-size: 1.2rem;
      font-weight: 800;
      color: var(--text);
      text-align: center;
    }.wpc-scope-112 .tc-wp-tool-root .game-photo-wrap{
      width: 100%;
      max-width: 320px;
      aspect-ratio: 3/4;
      margin: 0 auto 1.5rem;
      background: var(--card);
      border: 3px solid var(--border);
      border-radius: 12px;
      overflow: hidden;
      position: relative;
    }.wpc-scope-112 .tc-wp-tool-root .person-photo{
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block;
    }.wpc-scope-112 .tc-wp-tool-root .person-photo.hidden{ display: none; }.wpc-scope-112 .tc-wp-tool-root .person-placeholder{
      position: absolute;
      inset: 0;
      display: flex;
      align-items: center;
      justify-content: center;
      background: linear-gradient(180deg, #2a2a2a 0%, #1a1a1a 100%);
      font-size: 5rem;
      font-weight: 800;
      color: var(--accent);
    }.wpc-scope-112 .tc-wp-tool-root .person-placeholder.hidden{ display: none; }.wpc-scope-112 .tc-wp-tool-root .options-grid{
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 0.75rem;
      width: 100%;
      max-width: 400px;
      margin: 0 auto;
    }.wpc-scope-112 .tc-wp-tool-root .option-country{
      padding: 1rem;
      font-size: 0.95rem;
      font-weight: 800;
      text-align: center;
      background: var(--card);
      color: var(--text);
      border: 3px solid var(--border);
      border-radius: 10px;
      cursor: pointer;
      transition: background 0.15s, color 0.15s;
    }.wpc-scope-112 .tc-wp-tool-root .option-country:hover{
      background: rgba(245, 158, 11, 0.2);
    }.wpc-scope-112 .tc-wp-tool-root .option-country.correct{
      background: var(--correct);
      color: #fff;
      border-color: var(--correct);
    }.wpc-scope-112 .tc-wp-tool-root .option-country.wrong{
      background: var(--wrong);
      color: #fff;
      border-color: var(--wrong);
    }.wpc-scope-112 .tc-wp-tool-root .option-country:disabled{
      cursor: default;
      opacity: 0.9;
    }.wpc-scope-112 .tc-wp-tool-root .result-card{
      width: 100%;
      max-width: 400px;
      padding: 2rem;
      background: var(--card);
      border: 3px solid var(--border);
      border-radius: 12px;
      text-align: center;
      box-shadow: 4px 4px 0 rgba(0,0,0,0.4);
    }.wpc-scope-112 .tc-wp-tool-root .result-message{
      margin: 0 0 1.25rem 0;
      font-size: 1.5rem;
      font-weight: 800;
    }.wpc-scope-112 .tc-wp-tool-root .result-message.correct{ color: var(--correct); }.wpc-scope-112 .tc-wp-tool-root .result-message.wrong{ color: var(--wrong); }.wpc-scope-112 .tc-wp-tool-root .person-detail{
      margin: 0 0 1.5rem 0;
      padding: 1rem;
      background: rgba(0,0,0,0.3);
      border-radius: 8px;
      text-align: left;
    }.wpc-scope-112 .tc-wp-tool-root .detail-name{
      margin: 0 0 0.5rem 0;
      font-size: 1.5rem;
      font-weight: 800;
      color: var(--text);
    }.wpc-scope-112 .tc-wp-tool-root .detail-genre, .wpc-scope-112 .tc-wp-tool-root .detail-country, .wpc-scope-112 .tc-wp-tool-root .detail-birth-year{
      margin: 0.25rem 0 0 0;
      font-size: 0.95rem;
      color: var(--text);
    }.wpc-scope-112 .tc-wp-tool-root .btn-next{
      padding: 0.85rem 2rem;
      font-size: 1.1rem;
      font-weight: 800;
      background: var(--accent);
      color: var(--bg);
      border: 3px solid #1a1a1a;
      border-radius: 8px;
      cursor: pointer;
      box-shadow: 4px 4px 0 rgba(0,0,0,0.4);
    }.wpc-scope-112 .tc-wp-tool-root .gameover-card{
      width: 100%;
      max-width: 380px;
      padding: 2rem;
      background: var(--card);
      border: 3px solid var(--border);
      border-radius: 12px;
      text-align: center;
      box-shadow: 4px 4px 0 rgba(0,0,0,0.4);
    }.wpc-scope-112 .tc-wp-tool-root .gameover-title{
      margin: 0 0 1rem 0;
      font-size: 1.75rem;
      font-weight: 800;
      color: var(--accent);
    }.wpc-scope-112 .tc-wp-tool-root .gameover-score{
      margin: 0 0 1.5rem 0;
      font-size: 1.15rem;
      color: var(--text);
    }.wpc-scope-112 .tc-wp-tool-root .loading-screen-wrapper{
      flex-direction: column;
      gap: 1rem;
    }.wpc-scope-112 .tc-wp-tool-root .loading-spinner{
      width: 48px;
      height: 48px;
      border: 4px solid var(--card);
      border-top-color: var(--accent);
      border-radius: 50%;
      animation: spin 0.8s linear infinite;
    }.wpc-scope-112 .tc-wp-tool-root .loading-text{
      margin: 0;
      font-size: 1rem;
      color: var(--text-dim);
    }@keyframes spin{ to { transform: rotate(360deg); } }@media (max-width: 992px){.tc-wp-tool-root .options-card, .tc-wp-tool-root .result-card, .tc-wp-tool-root .gameover-card{
        max-width: 90%;
      }.tc-wp-tool-root .game-photo-wrap{
        max-width: 280px;
      }.tc-wp-tool-root .options-grid{
        max-width: 350px;
      }}@media (max-width: 768px){.tc-wp-tool-root .app-wrapper{
        padding: 0.75rem;
      }.tc-wp-tool-root .options-card, .tc-wp-tool-root .result-card, .tc-wp-tool-root .gameover-card{
        padding: 1.5rem;
      }.tc-wp-tool-root .game-photo-wrap{
        max-width: 260px;
      }.tc-wp-tool-root .options-grid{
        max-width: 320px;
        gap: 0.6rem;
      }.tc-wp-tool-root .option-country{
        padding: 0.8rem;
        font-size: 0.9rem;
      }}@media (max-width: 600px){.tc-wp-tool-root .game-title{
        font-size: clamp(1.25rem, 6vw, 1.75rem);
      }.tc-wp-tool-root .game-subtitle{
        font-size: 0.85rem;
      }.tc-wp-tool-root .options-card, .tc-wp-tool-root .result-card, .tc-wp-tool-root .gameover-card{
        padding: 1.25rem;
      }.tc-wp-tool-root .game-photo-wrap{
        max-width: 240px;
      }.tc-wp-tool-root .options-grid{
        max-width: 300px;
        gap: 0.5rem;
      }.tc-wp-tool-root .option-country{
        padding: 0.7rem;
        font-size: 0.85rem;
      }.tc-wp-tool-root .btn-start, .tc-wp-tool-root .btn-next{
        font-size: 1rem;
      }}@media (max-width: 400px){.tc-wp-tool-root .app-wrapper{
        padding: 0.5rem;
      }.tc-wp-tool-root .game-header{
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
      }.tc-wp-tool-root .options-card, .tc-wp-tool-root .result-card, .tc-wp-tool-root .gameover-card{
        padding: 1rem;
      }.tc-wp-tool-root .game-photo-wrap{
        max-width: 220px;
      }.tc-wp-tool-root .options-grid{
        max-width: 280px;
      }.tc-wp-tool-root .option-country{
        padding: 0.6rem;
        font-size: 0.8rem;
      }.tc-wp-tool-root .game-prompt{
        font-size: 1rem;
      }.tc-wp-tool-root .btn-start, .tc-wp-tool-root .btn-next{
        padding: 0.8rem 1.2rem;
      }}@media (max-width: 375px){.tc-wp-tool-root .game-photo-wrap{
        max-width: 200px;
      }.tc-wp-tool-root .options-grid{
        max-width: 260px;
      }.tc-wp-tool-root .option-country{
        padding: 0.5rem;
        font-size: 0.75rem;
      }.tc-wp-tool-root .person-placeholder{
        font-size: 4rem;
      }.tc-wp-tool-root .detail-name{
        font-size: 1.25rem;
      }.tc-wp-tool-root .detail-genre, .tc-wp-tool-root .detail-country, .tc-wp-tool-root .detail-birth-year{
        font-size: 0.85rem;
      }}.wpc-scope-112 /* tc-layout-guard: stay in page body flow — do not overlap theme header/nav */
.tc-wp-tool-root{
  position: relative !important;
  top: auto !important;
  left: auto !important;
  right: auto !important;
  bottom: auto !important;
  margin-top: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  z-index: 0 !important;
}.wpc-scope-112 /* tc-auto: preserve HTML class hooks */
.tc-wp-tool-root .checkbox-text{}.wpc-scope-112 .tc-wp-tool-root .gameover-screen-wrapper{}.wpc-scope-112 .tc-wp-tool-root .options-screen-wrapper{}.wpc-scope-112 .tc-wp-tool-root .result-screen-wrapper{}