<html><head><meta name="color-scheme" content="light dark"></head><body><pre style="word-wrap: break-word; white-space: pre-wrap;">:root {
    --primary-color: #1a237e;
    --secondary-color: #0d47a1;
    --accent-color: #ffd700;
    --text-color: #1a237e;
    --background-color: #e3f2fd;
    --card-background: #ffffff;
    --shadow-color: rgba(0,0,0,0.15);
    --transition-timing: cubic-bezier(0.4, 0, 0.2, 1);
  }

  html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-family: 'Assistant', sans-serif !important;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: var(--text-color);
    box-sizing: border-box;
  }

  .game-container {
    display: flex;
    flex-direction: column;
    height: 100vh;
    position: relative;
  }

  .game-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 250;
    background: linear-gradient(145deg, var(--card-background), var(--background-color));
    border-radius: 0 0 24px 24px;
    box-shadow: 0 4px 20px var(--shadow-color);
    padding: 0.1rem 0 0.5rem 0;
    backdrop-filter: blur(10px);
  }

  .game-header-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .game-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
    text-shadow: 1px 1px 2px var(--shadow-color);
  }

  .game-stats {
    display: flex;
    gap: 1rem;
    font-size: 1rem;
  }

  .stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .stat-icon {
    font-size: 1.2rem;
  }

  .game-area {
    height: 100vh;
    min-height: 0;
    max-height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    padding: 100px 10px 10px 10px;
  }

  .game-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('pattern.png') repeat;
    opacity: 0.1;
    pointer-events: none;
  }

  .player-area {
    width: 100%;
    max-width: 1200px;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  .player-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.9);
    border-radius: 12px;
    box-shadow: 0 4px 12px var(--shadow-color);
    margin-top: 1vh;
  }

  .player-name {
    font-weight: 600;
    font-size: 1.2rem;
  }

  .player-score {
    display: flex;
    align-items: center;
    gap: 0.5rem;
  }

  .score-value {
    font-weight: 700;
    color: var(--primary-color);
  }

  .cards-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    flex-wrap: wrap;
    min-height: 0;
    max-width: 100vw;
  }

  .card {
    flex-shrink: 1;
    min-width: 42px;
    min-height: 70px;
    max-width: 42px;
    max-height: 70px;
    font-size: 0.9rem;
    background: linear-gradient(145deg, var(--card-background), var(--background-color));
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    box-shadow: 0 8px 24px var(--shadow-color);
    transition: all 0.3s var(--transition-timing);
    cursor: pointer;
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0.5rem;
    user-select: none;
    position: relative;
    overflow: hidden;
  }

  .card-player-hand {
    min-width: 90px;
    min-height: 130px;
    max-width: 90px;
    max-height: 130px;
  }

  .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255,255,255,0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
  }

  .card:hover::before {
    transform: translateX(100%);
  }

  .card:hover {
    transform: translateY(-12px) scale(1.05);
    z-index: 10;
    box-shadow: 0 12px 32px rgba(26,35,126,0.2);
  }

  .card.hidden {
    background: url('card.webp?ver=1.1') center center/cover no-repeat;
    color: transparent;
    border-color: var(--primary-color);
  }

  .center-area {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    margin: 0;
    position: relative;
    z-index: 2;
	margin-top: 8vh;
  }

  .card-center {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
  }

  .played-card {
    width: 153px;
    height: 220px;
    border: 3px solid var(--accent-color);
    background: url(card-placeholder.webp?ver=1.1);
    background-size: cover;
    border-radius: 16px;
    box-shadow: 0 0 32px rgba(255, 215, 0, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    color: var(--text-color);
    text-align: center;
    padding: 1.1rem 0;
    position: relative;
    overflow: hidden;
    animation: cardPlay 0.5s var(--transition-timing);
    font-weight: 600;
  }

  .played-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent, rgba(255,215,0,0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s;
  }

  .played-card:hover::before {
    transform: translateX(100%);
  }

  .card-label {
    position: absolute;
    top: -1.5rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255,255,255,0.9);
    padding: 0.3rem 1rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 2px 8px var(--shadow-color);
    white-space: nowrap;
  }

  .timer-bar {
    width: 100%;
    max-width: 320px;
    margin: 0.4em auto 0 auto;
    position: relative;
    height: 32px;
  }

  .timer-bar-inner {
    width: 100%;
    height: 32px;
    background: rgba(255,255,255,0.25);
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 8px var(--shadow-color);
  }

  .timer-bar-fill {
    height: 100%;
    background: var(--primary-color);
    transition: width 0.3s;
    width: 100%;
    position: absolute;
    left: 0; top: 0;
    z-index: 1;
  }

  #timer-bar-text {
    position: absolute;
    left: 50%;
    top: 50%;
    z-index: 2;
    transform: translate(-50%, -50%);
    color: #FFF;
    font-weight: bold;
    font-size: 1.2em;
    letter-spacing: 1px;
    pointer-events: none;
    user-select: none;
  }

  .timer-bar-fill-warning {
    background: linear-gradient(90deg, #c62828, #ff9800) !important;
  }

  .modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 1000;
    justify-content: center;
    align-items: center;
    transition: all 0.3s var(--transition-timing);
    backdrop-filter: blur(5px);
  }

  .modal-content {
    background: linear-gradient(145deg, var(--card-background), var(--background-color));
    padding: 2rem;
    border-radius: 24px;
    text-align: center;
    color: var(--text-color);
    box-shadow: 0 8px 32px var(--shadow-color);
    transform: scale(0.9);
    opacity: 0;
    transition: all 0.3s var(--transition-timing);
    max-width: 70%;
    width: 500px;
  }

  .modal[style*="display: flex"] .modal-content {
    transform: scale(1);
    opacity: 1;
  }

  .modal-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
  }

  .modal-message {
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
  }

  .modal-button {
    background: linear-gradient(145deg, var(--primary-color), var(--secondary-color));
    color: white;
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 8px;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s var(--transition-timing);
    box-shadow: 0 4px 12px var(--shadow-color);
  }

  .modal-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px var(--shadow-color);
  }

  @keyframes cardPlay {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
  }

  @media (max-width: 768px) {
    .game-header-content {
      padding: 0 1rem;
    }

    .timer-bar {
        width: 50%;
    }

    .game-info {
        width: 50%;
    }

    .center-area {
      gap: 1rem;
	    margin-top: 4vh;
    }

    .played-card {
      width: 90px;
      height: 125px;
      font-size: 1rem;
    }

    .card {
      max-width: 70px;
      max-height: 100px;
      font-size: 0.8rem;
      margin:-0.8rem;
    }

    .game-area {
      height: 100vh;
      padding: 67px 4px 4px 4px;
    }
  }

  .player-name-input {
    width: 80%;
    padding: 0.8rem;
    margin: 1rem 0;
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    font-size: 1.1rem;
    font-family: 'Assistant', sans-serif;
    text-align: center;
    transition: all 0.3s var(--transition-timing);
  }

  .player-name-input:focus {
    outline: none;
    border-color: var(--accent-color);
    box-shadow: 0 0 0 3px rgba(255, 215, 0, 0.2);
  }

  .turn-indicator-container {
    text-align: center;
    margin: 0;
    padding: 0.5rem 1rem;
    background: rgba(255,255,255,0.9);
    border-radius: 12px;
    box-shadow: 0 4px 12px var(--shadow-color);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    transition: all 0.3s var(--transition-timing);
	margin: 3vh 0 3vh 0;
  }

  #turn-indicator {
    display: inline-block;
    transition: transform 0.3s var(--transition-timing);
  }

  #turn-indicator:hover {
    transform: scale(1.05);
  }

  @media (max-width: 768px) {
    .turn-indicator-container {
      font-size: 1rem;
      padding: 0.4rem 0.8rem;
	  margin: 3vh 0 3vh 0;
    }
	div#player2-hand {
		display: none;
	}
  }

  .stop-timer-button {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--primary-color);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px var(--shadow-color);
    transition: all 0.3s var(--transition-timing);
    position: relative;
    margin: 0 8px;
  }
  
  .stop-timer-button::before {
    content: '';
    width: 12px;
    height: 12px;
    background: white;
    border-radius: 2px;
    transition: all 0.3s var(--transition-timing);
  }
  
  .stop-timer-button.resume-timer::before {
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 6px 0 6px 12px;
    border-color: transparent transparent transparent white;
    background: transparent;
    border-radius: 0;
  }
  
  .stop-timer-button:hover {
    transform: scale(1.1);
    background: var(--secondary-color);
  }
  
  .stop-timer-button:active {
    transform: scale(0.95);
  }
  
  @media (max-width: 768px) {
    .stop-timer-button {
      width: 28px;
      height: 28px;
    }
    
    .stop-timer-button::before {
      width: 10px;
      height: 10px;
    }
    
    .stop-timer-button.resume-timer::before {
      border-width: 5px 0 5px 10px;
    }
  }

  .cards-container .card:nth-child(1) {
    transform: rotate(2deg)!important;
  }
  .cards-container .card:nth-child(2) {
    transform: rotate(2deg)!important;
  }
  .cards-container .card:nth-child(3) {
    transform: rotate(-2deg)!important;
  }
  .cards-container .card:first-child {
    transform: rotate(6deg) translateY(5%)!important;
  }
  .cards-container .card:last-child {
    transform: rotate(-6deg) translateY(5%)!important;
  }

  
  @keyframes fadeInUp {
    0% {
      opacity: 0;
      transform: translateY(50px);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  }
  
  .fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
  }

  .cards-container .card {
    border: 2px solid #000;
    box-shadow: 0px 8px 10px #00000020;
  }

  .pause-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 200;
    background: rgba(0,0,0,0.15);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none; /* ×œ× ×—×•×¡× ××ª ×”×›×¤×ª×•×¨ ×©×œ ×”×˜×™×™×ž×¨ */
  }
  
  .pause-message {
    color: rgba(26,35,126,0.85);
    font-weight: bold;
    background: #FFF;
    padding: 2rem 1rem;
    border-radius: 24px;
    box-shadow: 0 4px 32px #0008;
    letter-spacing: 0.1em;
    pointer-events: auto;
  }

  .card:focus {
    transform: translateY(-14px) !important;
    transition: all 200ms ease-in;
  }

  .timer-bar-text-warning {
    color: #155fcc!important;
  }

  .stacked-cards {
    position: relative;
    width: 176px;
    height: 280px;
    margin: 0 auto;
  }
  .stacked-cards .played-card {
    position: absolute;
    left: 0;
    top: 0;
    width: 170px;
    height: 240px;
    transition: box-shadow 0.3s, filter 0.3s, opacity 0.3s;
  }
  .stacked-cards .bottom-card {
    z-index: 1;
    filter: blur(1.5px) brightness(0.95);
    opacity: 0.85;
  }
  .stacked-cards .top-card {
    z-index: 2;
    box-shadow: 0 8px 32px #0004;
  }
  @media (max-width: 768px) {
    .stacked-cards {
      width: 126px;
      height: 180px;
    }
    .stacked-cards .played-card {
      width: 122px;
      height: 140px;
    }
  }</pre></body></html>