@import url("https://fonts.googleapis.com/css2?family=Lora:wght@400;500;600;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Lora:wght@400;500;600;700&display=swap");
.button-glow { display: inline-flex; position: relative; align-items: center; justify-content: center; gap: 0.5rem; box-sizing: border-box; padding: 0.9rem 2.5rem; color: white; background: transparent; text-decoration: none; letter-spacing: 0.08em; font-family: "Lora", serif; font-size: 0.95rem; border: 1px solid rgba(91, 221, 170, 0.5); border-radius: 5px; overflow: hidden; transition: all 0.4s ease; }

.button-glow svg { width: 16px; height: 16px; }

.button-glow::before { position: absolute; top: 0; left: -100%; width: 100%; height: 100%; background: linear-gradient(90deg, transparent, rgba(91, 221, 170, 0.15), transparent); content: ""; transition: left 0.5s ease; }

.button-glow:hover { color: white; border-color: #5bddaa; box-shadow: 0 0 20px rgba(91, 221, 170, 0.2); }

.button-glow:hover::before { left: 100%; }

.button-glow.button-glow-light { color: #1a1a2e; border-color: rgba(59, 191, 101, 0.4); }

.button-glow.button-glow-light::before { background: linear-gradient(90deg, transparent, rgba(59, 191, 101, 0.12), transparent); }

.button-glow.button-glow-light:hover { color: #1a1a2e; border-color: #3bbf65; box-shadow: 0 0 20px rgba(59, 191, 101, 0.15); }

.button-gradient-primary, .trpg-button-primary, .trpg-button-danger, .button-gradient-primary-dark { display: inline-flex; align-items: center; gap: 0.5rem; box-sizing: border-box; padding: 0.9rem 2rem; color: white; background: linear-gradient(135deg, #3bbf65 0%, #5fce82 100%); text-decoration: none; letter-spacing: 0.06em; font-family: "Lora", serif; font-size: 0.95rem; font-weight: 500; border: none; border-radius: 5px; cursor: pointer; transition: all 0.35s ease; }

.button-gradient-primary svg, .trpg-button-primary svg, .trpg-button-danger svg, .button-gradient-primary-dark svg { width: 18px; height: 18px; transition: transform 0.3s ease; }

.button-gradient-primary:hover, .trpg-button-primary:hover, .trpg-button-danger:hover, .button-gradient-primary-dark:hover { color: white; background: linear-gradient(135deg, #3bbf65 0%, #5bddaa 100%); box-shadow: 0 8px 32px rgba(59, 191, 101, 0.35), 0 0 60px rgba(59, 191, 101, 0.15); transform: translateY(-2px); }

.button-gradient-primary:hover svg:last-child, .trpg-button-primary:hover svg:last-child, .trpg-button-danger:hover svg:last-child, .button-gradient-primary-dark:hover svg:last-child { transform: translateX(4px); }

.button-gradient-primary:active, .trpg-button-primary:active, .trpg-button-danger:active, .button-gradient-primary-dark:active { box-shadow: 0 4px 16px rgba(59, 191, 101, 0.3); transform: translateY(0); }

.button-gradient-primary-dark { background: linear-gradient(135deg, rgba(59, 191, 101, 0.9) 0%, rgba(59, 191, 101, 0.7) 100%); }

.button-gradient-primary-dark:hover { background: linear-gradient(135deg, #3bbf65 0%, rgba(91, 221, 170, 0.9) 100%); }

@keyframes shake-horizontal { 0%, 100% { transform: translateX(0); }
  20% { transform: translateX(-6px); }
  40% { transform: translateX(6px); }
  60% { transform: translateX(-4px); }
  80% { transform: translateX(4px); } }

@keyframes fade-in-up { from { opacity: 0;
    transform: translateY(20px); }
  to { opacity: 1;
    transform: translateY(0); } }

@keyframes scale-in { from { opacity: 0;
    transform: scale(0.5); }
  to { opacity: 1;
    transform: scale(1); } }

@keyframes card-appear { from { opacity: 0;
    transform: translateY(20px) scale(0.98); }
  to { opacity: 1;
    transform: translateY(0) scale(1); } }

@keyframes error-appear { from { opacity: 0;
    transform: translateY(-4px); }
  to { opacity: 1;
    transform: translateY(0); } }

.trpg-info-list, .trpg-info-text { color: #555; line-height: 1.8; font-size: 0.9rem; }

.trpg-version-badge { display: inline-block; margin-top: 0.75rem; padding: 0.2rem 0.9rem; color: #888; background: rgba(26, 71, 42, 0.06); letter-spacing: 0.05em; font-family: "Consolas", "Monaco", "Courier New", monospace; font-size: 0.75rem; border-radius: 20px; }

.trpg-page { max-width: 1100px; margin: 0 auto; padding: 0 1.5rem 4rem; }

.trpg-hero::before { background: radial-gradient(ellipse at center, rgba(26, 71, 42, 0.06) 0%, transparent 70%); }

.trpg-card-icon { display: block; margin-bottom: 0.75rem; text-align: center; font-size: 2rem; }

.trpg-active-card { background: rgba(255, 255, 255, 0.82); backdrop-filter: saturate(180%) blur(20px); border: 1px solid rgba(255, 255, 255, 0.6); border-radius: 24px; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.6); padding: 2rem; border-radius: 6px; max-width: 480px; margin: 0 auto; text-align: center; animation: card-appear 0.5s ease both; }

@media (max-width: 768px) { .trpg-active-card { padding: 1.75rem 1.5rem; } }

@media (max-width: 576px) { .trpg-active-card { padding: 1.5rem 1rem; } }

.trpg-card-text { margin: 0 0 0.75rem; color: #555; font-size: 0.95rem; }

.trpg-room-code { margin: 0 0 1rem; color: #1a472a; letter-spacing: 0.1em; font-family: "Consolas", "Monaco", "Courier New", monospace; font-size: 1.3rem; font-weight: 700; }

.trpg-button-primary, .trpg-button-danger { justify-content: center; padding: 0.75rem 2rem; }

.trpg-button-primary:disabled, .trpg-button-danger:disabled { opacity: 0.5; cursor: not-allowed; }

.trpg-button-full { display: flex; width: 100%; }

.trpg-button-danger { background: linear-gradient(135deg, #e74c3c 0%, #ed7669 100%); }

.trpg-button-danger:hover { background: linear-gradient(135deg, #e74c3c 0%, #df2e1b 100%); box-shadow: 0 8px 32px rgba(231, 76, 60, 0.25), 0 0 40px rgba(231, 76, 60, 0.1); }

.trpg-button-danger:active { box-shadow: 0 4px 16px rgba(231, 76, 60, 0.2); }

.trpg-button-group { display: flex; justify-content: center; gap: 0.75rem; }

.trpg-warning-card { background: rgba(255, 255, 255, 0.82); backdrop-filter: saturate(180%) blur(20px); border: 1px solid rgba(255, 255, 255, 0.6); border-radius: 24px; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.6); padding: 2rem; border-radius: 6px; max-width: 520px; margin: 0 auto 2rem; text-align: center; animation: card-appear 0.5s ease both; }

@media (max-width: 768px) { .trpg-warning-card { padding: 1.75rem 1.5rem; } }

@media (max-width: 576px) { .trpg-warning-card { padding: 1.5rem 1rem; } }

.trpg-warning-title { margin: 0 0 0.5rem; color: #1a1a2e; font-size: 0.95rem; font-weight: 700; }

.trpg-warning-text { margin: 0; color: #888; line-height: 1.8; font-size: 0.85rem; }

.trpg-action-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; animation: fade-in-up 0.5s ease both; }

@media (max-width: 768px) { .trpg-action-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; } }

.trpg-action-card { background: rgba(255, 255, 255, 0.82); backdrop-filter: saturate(180%) blur(20px); border: 1px solid rgba(255, 255, 255, 0.6); border-radius: 24px; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.6); padding: 2rem; border-radius: 6px; display: flex; flex-direction: column; transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.3s cubic-bezier(0.22, 1, 0.36, 1); animation: card-appear 0.5s ease both; }

@media (max-width: 768px) { .trpg-action-card { padding: 1.75rem 1.5rem; } }

@media (max-width: 576px) { .trpg-action-card { padding: 1.5rem 1rem; } }

.trpg-action-card:nth-child(2) { animation-delay: 0.1s; }

.trpg-action-card:hover { box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08), 0 2px 8px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.6); transform: translateY(-3px); }

.trpg-card-title { color: #1a1a2e; font-family: "Lora", serif; font-size: 1.15rem; font-weight: 700; margin: 0 0 0.5rem; }

.trpg-card-description { color: #888; font-size: 0.85rem; flex-grow: 1; margin: 0 0 1.5rem; }

.trpg-input-group { display: flex; }

.trpg-room-code-input { flex: 1; padding: 0.75rem 1rem; color: #1a1a2e; background-color: rgba(249, 250, 251, 0.8); text-align: center; text-transform: uppercase; letter-spacing: 0.1em; font-family: "Consolas", "Monaco", "Courier New", monospace; font-size: 1.05rem; border: 1px solid rgba(0, 0, 0, 0.08); border-right: none; border-radius: 5px 0 0 5px; outline: none; transition: all 0.25s ease; }

.trpg-room-code-input::placeholder { color: #888; text-transform: none; letter-spacing: normal; }

.trpg-room-code-input:hover { background-color: rgba(255, 255, 255, 0.95); border-color: rgba(0, 0, 0, 0.15); }

.trpg-room-code-input:focus { background-color: #fff; border-color: rgba(59, 191, 101, 0.5); box-shadow: 0 0 0 3px rgba(59, 191, 101, 0.1); }

.trpg-input-group .trpg-button-primary, .trpg-input-group .trpg-button-danger { flex-shrink: 0; border-radius: 0 5px 5px 0; }

.trpg-error-text { margin-top: 0.5rem; color: #e74c3c; font-size: 0.82rem; animation: error-appear 0.3s ease both; }

.trpg-notice-card { background: rgba(255, 255, 255, 0.82); backdrop-filter: saturate(180%) blur(20px); border: 1px solid rgba(255, 255, 255, 0.6); border-radius: 24px; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.6); padding: 2rem; border-radius: 6px; max-width: 480px; margin: 0 auto; text-align: center; animation: card-appear 0.5s ease both; }

@media (max-width: 768px) { .trpg-notice-card { padding: 1.75rem 1.5rem; } }

@media (max-width: 576px) { .trpg-notice-card { padding: 1.5rem 1rem; } }

.trpg-notice-text { margin: 0; color: #888; font-size: 0.95rem; }

.trpg-info-section { margin-top: 2.5rem; animation: fade-in-up 0.5s ease 0.2s both; }

.trpg-info-card { background: rgba(255, 255, 255, 0.82); backdrop-filter: saturate(180%) blur(20px); border: 1px solid rgba(255, 255, 255, 0.6); border-radius: 24px; box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06), 0 1px 4px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.6); padding: 2rem; border-radius: 6px; }

@media (max-width: 768px) { .trpg-info-card { padding: 1.75rem 1.5rem; } }

@media (max-width: 576px) { .trpg-info-card { padding: 1.5rem 1rem; } }

.trpg-info-title { color: #1a1a2e; font-family: "Lora", serif; font-size: 1.15rem; font-weight: 700; margin: 0 0 1rem; }

.trpg-info-subtitle { color: #1a1a2e; font-family: "Lora", serif; font-size: 0.95rem; font-weight: 700; margin: 1.5rem 0 0.5rem; }

.trpg-info-text { margin: 0 0 0.5rem; }

.trpg-info-list { margin: 0; padding-left: 1.5rem; }

.trpg-info-list li + li { margin-top: 0.25rem; }

@media (max-width: 768px) { .trpg-page { padding: 0 1rem 3rem; } }

@media (max-width: 576px) { .trpg-button-group { flex-direction: column; } .trpg-room-code { font-size: 1.1rem; } }
