/* --- Game-specific buttons & lists --- */
.game-select-button {
    background: #ffffff;
    padding: 20px;
    border-radius: 16px;
    border: 1px solid #dee2e6;
    text-align: left;
    color: #495057;
    font-family: 'Roboto', sans-serif;
    cursor: pointer;
    transition: all 0.2s ease-out;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.game-select-button:hover:not(:disabled) {
    transform: translateY(-4px) scale(1.02);
    border-color: #007bff;
    box-shadow: 0 8px 30px rgba(0, 123, 255, 0.15);
}
.game-select-button h3 {
    margin: 0 0 8px 0;
    font-family: 'JetBrains Mono', monospace;
    color: #0056b3;
    font-size: 1.2em;
}
.game-select-button p {
    margin: 0;
    font-size: 0.95em;
    color: #495057;
}

/* --- Imposter Classic Game Styles --- */
.vote-skip-btn {
    padding: 10px 20px 10px 20px;
    background: linear-gradient(90deg, #6c757d 0%, #495057 100%);
    color: #fff;
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.09em;
    border: none;
    border-bottom: 3px solid #343a40;
    margin-bottom: 8px;
    margin-top: 3px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    font-weight: bold;
    letter-spacing: 0.045em;
    word-break: break-word;
    transition: background-color 0.25s ease-out, transform 0.2s ease-out, box-shadow 0.25s ease-out;
    animation: playerJoinAnimation 0.4s ease-out backwards;
    will-change: transform, background-color, box-shadow;
}
.vote-skip-btn:hover:not(:disabled) {
    background: linear-gradient(90deg, #007bff 0%, #0056b3 100%);
    color: #fff;
    transform: scale(1.03);
    border-bottom-color: #004085;
}
.vote-skip-btn:active {
    transform: scale(0.97);
    background: linear-gradient(90deg, #0056b3 0%, #004085 100%);
}

#skip-vote-progress {
    width: 100%;
    height: 17px;
    margin: 7px 0 2px 0;
    border-radius: 10px;
    background: #e9ecef;
    box-shadow: 0 1px 5px rgba(0,0,0,0.05) inset;
    position: relative;
    overflow: hidden;
}
#skip-vote-progress-bar {
    display: block;
    height: 100%;
    border-radius: 10px;
    background: linear-gradient(90deg, #007bff 30%, #fd7e14 100%);
    transition: width 0.42s cubic-bezier(0.49,0.17,0.25,1.13);
}
#skip-vote-message {
    min-height: 1.2em;
    font-size: 0.99em;
    color: #0056b3;
    text-shadow: none;
    margin-top: 3px;
    letter-spacing: 0.06em;
}
#skip-word-vote-container {
    margin: 20px 0 20px 0;
    display: none;
    flex-direction: column;
    align-items: center;
}

#word-preview-container {
    padding: 10px 10px;
    background: #e9ecef;
    border-radius: 9px;
    min-height: 25px;
    font-style: italic;
    color: #495057;
    border: 1.4px solid #ced4da;
}
#text-word-preview {
    font-weight: bold;
    color: #007bff;
}

#impostor-peek-list {
    margin-top: 18px;
    padding: 17px 9px 11px 9px;
    background: #fff5e6;
    border-radius: 10px;
    border: 1.7px solid #fd7e14;
    color: #d9534f;
    font-size: 1.12em;
    box-shadow: 0 4px 12px rgba(253, 126, 20, 0.2);
    font-family: 'JetBrains Mono', 'Roboto', monospace;
    display: none;
    min-width: 180px;
    max-width: 330px;
    text-align: center;
    letter-spacing: 0.04em;
}
#impostor-peek-list.active {
    display: block;
    animation: impostorPeekFadeIn 0.6s cubic-bezier(0.55,0.08,0.13,1.03);
}
#impostor-peek-list .impostor-name {
    color: #c9302c;
    font-weight: bold;
    background: none;
    padding: 1px 0.5em;
    margin: 0 2.5px;
    letter-spacing: 0.07em;
    font-size: 1.07em;
    text-shadow: none;
}

#discussion-starter-indicator {
    animation: starterFlashIn 0.7s cubic-bezier(.32,1.6,.5,1.06);
}

#play-again-section {
    width: 100%;
    max-width: 380px;
    margin-top: 25px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    animation: playAgainAppear 0.5s ease-out 0.3s both;
}

#reveal-info-container {
    background: #e9ecef !important;
    border: 1px solid #007bff !important;
    border-radius: 8px !important;
    padding: 15px !important;
    color: #212529;
    font-size: 1.05em;
    line-height: 1.6;
    text-align: center;
}
#reveal-info-container strong {
    color: #0056b3;
    font-weight: 600;
    text-shadow: none;
}

#timer-display {
    font-size: 56px;
    font-weight: bold;
    margin: 15px 0;
    color: #007bff;
    background: linear-gradient(89deg, #007bff 43%, #fd7e14 120%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: 'JetBrains Mono', 'Roboto', monospace;
    text-shadow: 0 4px 15px rgba(0, 123, 255, 0.2);
}

/* --- Imposter mit Fragen Game Styles --- */
#list-questions-in-category li {
    display: block;
    text-align: left;
}
#list-questions-in-category .question-pair-agent,
#list-questions-in-category .question-pair-imposter {
    display: block;
    margin-bottom: 5px;
    font-size: 0.9em;
}
#list-questions-in-category .question-pair-agent {
    color: #0056b3;
}
#list-questions-in-category .question-pair-imposter {
    color: #d9534f;
}
#list-questions-in-category .list-item-controls {
    margin-top: 10px;
    justify-content: flex-end;
}

.answer-reveal-container {
    width: 100%;
    max-width: 380px;
    margin-bottom: 20px;
}
.answer-reveal-container p {
    color: #495057;
    text-align: left;
}
.answer-reveal-container h3 {
    color: #0056b3;
    text-align: left;
    margin-bottom: 20px;
}

#list-player-answers {
    list-style: none;
    padding: 0;
    width: 100%;
    max-height: 50vh;
    overflow-y: auto;
}
#list-player-answers li {
    background: #ffffff;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 10px;
    text-align: left;
    border: 1.7px solid #dee2e6;
}
#list-player-answers .answer-player-name {
    font-weight: bold;
    color: #007bff;
    display: block;
    margin-bottom: 8px;
    font-family: 'JetBrains Mono', monospace;
}
#list-player-answers .answer-text {
    color: #212529;
    font-size: 1.1em;
    word-break: break-word;
}

/* --- Settings Screen Styles --- */
#screen-settings p {
    display: none;
}
#screen-settings label {
    color: #212529;
}
.settings-game-group {
    border: 1px solid #cdd5e0;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 20px;
    background: #ffffff;
    width: 100%;
    max-width: 420px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
.settings-game-group h3 {
    margin-top: 0;
    margin-bottom: 15px;
    color: #0056b3;
    font-family: 'JetBrains Mono', monospace;
    text-align: left;
    border-bottom: 1px solid #dee2e6;
    padding-bottom: 10px;
    font-size: 1.1em;
}
.settings-game-group .form-group div {
    color: #6c757d;
    font-size: 13px;
    margin-top: 5px;
}

/* --- Explanation Screens --- */
.scrollable-content {
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    border-radius: 12px;
    padding: 15px 20px;
    text-align: left;
    overflow-y: auto;
    width: 100%;
    margin-bottom: 20px;
    flex-grow: 1;
    line-height: 1.6;
}
.scrollable-content h3 {
    color: #0056b3;
    margin-top: 15px;
    margin-bottom: 10px;
    font-family: 'JetBrains Mono', 'Roboto', sans-serif;
}
.scrollable-content h4 {
    color: #007bff;
    margin-top: 20px;
    margin-bottom: 8px;
    font-family: 'JetBrains Mono', 'Roboto', sans-serif;
}
.scrollable-content p,
.scrollable-content ol,
.scrollable-content ul {
    color: #495057;
    font-size: 0.95em;
    line-height: 1.6;
    margin-bottom: 10px;
}
.scrollable-content ol,
.scrollable-content ul {
    padding-left: 20px;
}
.scrollable-content li {
    margin-bottom: 5px;
    transition: color 0.2s ease-out;
}
.scrollable-content li:hover {
    color: #0056b3;
}
.scrollable-content strong {
    color: #d9534f;
    font-weight: 600;
    text-shadow: none;
    line-height: 1.6;
    text-align: center;
}
.scrollable-content ul ul {
    margin-top: 5px;
    margin-bottom: 5px;
    line-height: 1.6;
    text-align: center;
}

/* --- Tabu Game Styles --- */
.team-assignment-container {
    display: flex;
    justify-content: space-around;
    width: 100%;
    gap: 20px;
    margin-bottom: 20px;
}
.team-column {
    width: 45%;
    background-color: #ffffff;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}
.team-column h3 {
    text-align: center;
    color: #0056b3;
    margin-top: 0;
    margin-bottom: 15px;
    border-bottom: 2px solid #007bff;
    padding-bottom: 10px;
}
#screen-tabu-team-assignment .team-list {
    list-style-type: none;
    padding: 0;
    min-height: 150px;
    background-color: #f8f9fa;
    border-radius: 5px;
    padding: 10px;
}
#screen-tabu-team-assignment .team-list li {
    background-color: #ffffff !important;
    color: #212529 !important;
    border: 1px solid #dee2e6;
    padding: 12px 15px;
    margin-bottom: 8px;
    border-radius: 5px;
    cursor: grab;
    transition: background-color 0.2s, box-shadow 0.2s;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 500;
}
.team-list li:last-child {
    margin-bottom: 0;
}
.team-list li.dragging {
    opacity: 0.5;
}

.sortable-ghost {
    opacity: 0.4;
    background-color: #adb5bd;
}

.sortable-chosen {
    background-color: #0056b3;
    color: #fff;
    font-weight: bold;
}

#screen-tabu-game {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    overflow-y: auto;
}
#tabu-game-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: auto;
    min-height: 100%;
    width: 100%;
}
#tabu-game-main-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 20px;
    padding-bottom: 0;
}
#tabu-game-controls {
    margin-top: 15px;
    padding: 0 20px 20px 20px;
}

.tabu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 20px;
    background-color: #ffffff;
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}
.team-score {
    font-size: 1.2em;
    font-weight: 700;
    color: #212529;
}
#tabu-timer-display {
    font-size: 2.5em;
    font-family: 'JetBrains Mono', monospace;
    color: #007bff;
}

#tabu-turn-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin: 0;
    text-align: center;
}
#tabu-turn-info h3 {
    margin: 0;
    font-size: 1.8em;
    color: #0056b3;
}
#tabu-turn-info p {
    color: #495057;
    margin-top: 5px;
}
#tabu-card-container {
    width: 100%;
    margin: 15px 0;
}
.tabu-card {
    background-color: #ffffff;
    border: 5px solid #007bff;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    color: #212529;
    box-shadow: 0 10px 25px rgba(0, 123, 255, 0.15);
}
.tabu-card h3 {
    font-size: 2em;
    font-family: 'JetBrains Mono', 'Roboto', sans-serif;
    color: #191d29;
    margin: 0 0 18px 0;
    letter-spacing: 0.02em;
    font-weight: 700;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    line-height: 1.25;
}
.tabu-card ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    font-size: 1.4em;
    line-height: 1.6;
}

#tabu-in-game-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 15px;
    width: 100%;
    margin-top: 20px;
    grid-template-areas:
        "correct violation"
        "skip skip";
}
#btn-tabu-correct { grid-area: correct; }
#btn-tabu-violation { grid-area: violation; }
#btn-tabu-skip { grid-area: skip; }

.tabu-game-btn {
    border-radius: 18px;
    font-size: 1.8em;
    font-weight: 700;
    flex-grow: 1;
    margin: 0 8px;
    border: 2px solid transparent;
    transition: transform 0.1s ease, background-color 0.2s ease;
    color: #1a1e2c;
}
.tabu-game-btn.correct {
    background: linear-gradient(145deg, #32ff7e, #20c997);
    box-shadow: 0 4px 15px rgba(46, 213, 115, 0.3);
}
.tabu-game-btn.correct:active {
    background: #218838;
}
.tabu-game-btn.skip {
    background: #007bff;
    color: #ffffff;
    border: 2px solid transparent;
}
.tabu-game-btn.skip:hover:not(:disabled) {
    background: #0056b3;
    border-color: transparent;
}
.tabu-game-btn.skip:active {
    background: #004085;
}
.tabu-game-btn.violation {
    background: #dc3545;
    box-shadow: 0 4px 15px rgba(232, 65, 24, 0.3);
}
.tabu-game-btn.violation:active {
    background: linear-gradient(145deg, #c0392b, #d35400);
    transform: translateY(2px);
}

#tabu-end-game-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 15px;
}
#tabu-end-game-container h2 {
    font-size: 2em;
    color: #fed462;
    margin-bottom: 25px;
}
#tabu-end-game-container .action-button,
#tabu-end-game-container .nav-button-secondary {
    margin-top: 20px;
}

#list-tabu-cards-in-category li {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    column-gap: 15px;
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    padding: 12px 15px;
    border-radius: 12px;
}
.tabu-card-entry strong {
    font-size: 1.2em;
    color: #0056b3;
    margin-bottom: 8px;
    display: block;
}
.tabu-card-entry small {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    color: #495057;
    font-size: 0.95em;
    line-height: 1.4;
}
.tabu-word-tag {
    background-color: #e9ecef;
    color: #495057;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.9em;
    font-weight: 500;
}
#list-tabu-cards-in-category .delete-word {
    position: static;
    transform: none;
    flex-shrink: 0;
    margin-left: 0;
}

/* --- Wer bin ich? Game Styles --- */
#wbi-timer-display {
    font-family: 'JetBrains Mono', monospace;
    font-size: 3.5rem;
    font-weight: 700;
    margin: 15px 0 20px 0;
    color: #fed462;
    text-shadow: 0 0 10px #fed46288;
}
.wbi-player-list {
    list-style-type: none;
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 15px;
}
.wbi-player-item {
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    color: #212529;
    font-weight: 500;
    border-radius: 8px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}
.wbi-player-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
    border-color: #007bff;
}
.player-char-icon-small {
    width: 30px;
    height: 40px;
    border-radius: 6px;
    object-fit: contain;
    border: 1px solid #4a5270;
}
.pulsing-hint {
    animation: subtlePulse 2s infinite alternate;
    color: #fed462;
}

/* Legal Page Specifics (in case it uses game styles) */
.legal-container {
      max-width: 410px;
      margin: 30px auto 18px auto;
      background: rgba(18,21,33,0.99);
      border-radius: 22px;
      box-shadow: 0 8px 40px 0 rgba(3,32,38, 0.44);
      border: 2px solid #23284e;
      padding: 28px 14px 16px 14px;
      font-size: 1.08em;
}
.legal-section {
    margin-bottom: 2.1em;
    text-align: left;
}
.legal-container a { color: #19ffd2; }
.legal-back-btn {
    margin-top: 28px;
    display: block;
    width: 100%;
    background: linear-gradient(90deg, #0af6d5 20%, #e0006c 120%);
    color: #fff;
    border: none;
    border-radius: 14px;
    font-size: 1.1em;
    font-weight: 600;
    padding: 16px 0;
    box-shadow: 0 5px 24px #19ffd247;
    letter-spacing: 0.06em;
    text-align: center;
    transition: background .19s;
    cursor: pointer;
    font-family: 'JetBrains Mono', 'Roboto', sans-serif;
}
.legal-back-btn:hover {
    background: linear-gradient(90deg, #fed462 30%, #19ffd2 130%);
    color: #181c28;
}
@media (max-width: 530px) {
    .legal-container { margin: 7vw 0 11vw 0; }
    .legal-container h2 { font-size: 1em; }
}

/* --- Screen-specific scrolling --- */
#screen-settings,
#screen-discussion-timer,
#screen-tabu-game {
    overflow-y: auto;
    padding-bottom: 25px;
}

/* Tabu game screen needs specific layout */
#screen-tabu-game {
    justify-content: space-between;
}

/* Role Display Layout */
#role-display-container {
    margin-bottom: 17px;
    width: 100%;
    max-width: 355px;
}

/* Summary Box for Reveal Info */
.role-info.summary-box {
    display: block;
    font-size: 1em;
    letter-spacing: normal;
    text-align: center;
    padding: 20px 10px;
    color: #f1f6fa;
}
.role-info.summary-box .summary-title {
    font-weight: bold;
    font-size: 1.5em;
    letter-spacing: 0.07em;
    color: #ff3270;
    margin-bottom: 15px;
}
.role-info.summary-box .summary-details {
    font-size: 1.1em;
    color: #fed462;
    margin-bottom: 25px;
    line-height: 1.5;
}
.role-info.summary-box .summary-buttons {
    display: flex;
    flex-direction: column;
    gap: 11px;
    align-items: center;
}

/* --- Wer bin ich? Game Round Styles --- */
#screen-wbi-game-round #wbi-timer-display {
    font-family: 'JetBrains Mono', monospace;
    font-size: 3.5rem;
    font-weight: 700;
    margin: 15px 0 20px 0;
    color: #0056b3;
    text-shadow: none;
}

#screen-wbi-game-round .wbi-player-list {
    list-style-type: none;
    padding-left: 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-top: 15px;
}

#screen-wbi-game-round .wbi-player-item {
    background-color: #ffffff !important;
    border: 1px solid #dee2e6 !important;
    color: #212529 !important;
    font-weight: 500;
    border-radius: 8px;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s, border-color 0.2s;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

#screen-wbi-game-round .wbi-player-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2) !important;
    border-color: #007bff !important;
}

#screen-wbi-game-round .player-char-icon-small {
    width: 30px;
    height: 40px;
    border-radius: 6px;
    object-fit: contain;
    border: 1px solid #dee2e6;
}

#screen-tabu-game {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    overflow-y: auto;
}
#tabu-game-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: auto;
    min-height: 100%;
    width: 100%;
}
#tabu-game-main-area {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    padding: 20px;
    padding-bottom: 0;
}
#tabu-game-controls {
    margin-top: 15px;
    padding: 0 20px 20px 20px;
}

.tabu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-bottom: 20px;
    background-color: #ffffff;
    padding: 10px 20px;
    border-radius: 8px;
    border: 1px solid #dee2e6;
}
.team-score {
    font-size: 1.2em;
    font-weight: 700;
    color: #212529;
}
#tabu-timer-display {
    font-size: 2.5em;
    font-family: 'JetBrains Mono', monospace;
    color: #007bff;
}

#tabu-turn-info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    margin: 0;
    text-align: center;
}
#tabu-turn-info h3 {
    margin: 0;
    font-size: 1.8em;
    color: #0056b3;
}
#tabu-turn-info p {
    color: #495057;
    margin-top: 5px;
}
#tabu-card-container {
    width: 100%;
    margin: 15px 0;
}
.tabu-card {
    background-color: #ffffff;
    border: 5px solid #007bff;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    color: #212529;
    box-shadow: 0 10px 25px rgba(0, 123, 255, 0.15);
}
.tabu-card h3 {
    font-size: 2em;
    font-family: 'JetBrains Mono', 'Roboto', sans-serif;
    color: #191d29;
    margin: 0 0 18px 0;
    letter-spacing: 0.02em;
    font-weight: 700;
    overflow-wrap: break-word;
    word-break: break-word;
    hyphens: auto;
    line-height: 1.25;
}
.tabu-card ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    font-size: 1.4em;
    line-height: 1.6;
}

#tabu-in-game-buttons {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    gap: 15px;
    width: 100%;
    margin-top: 20px;
    grid-template-areas:
        "correct violation"
        "skip skip";
}
#btn-tabu-correct { grid-area: correct; }
#btn-tabu-violation { grid-area: violation; }
#btn-tabu-skip { grid-area: skip; }

.tabu-game-btn {
    border-radius: 18px;
    font-size: 1.8em;
    font-weight: 700;
    flex-grow: 1;
    margin: 0 8px;
    border: 2px solid transparent;
    transition: transform 0.1s ease, background-color 0.2s ease;
    color: #1a1e2c;
}
.tabu-game-btn.correct {
    background: linear-gradient(145deg, #32ff7e, #20c997);
    box-shadow: 0 4px 15px rgba(46, 213, 115, 0.3);
}
.tabu-game-btn.correct:active {
    background: #218838;
}
.tabu-game-btn.skip {
    background: #007bff;
    color: #ffffff;
    border: 2px solid transparent;
}
.tabu-game-btn.skip:hover:not(:disabled) {
    background: #0056b3;
    border-color: transparent;
}
.tabu-game-btn.skip:active {
    background: #004085;
}
.tabu-game-btn.violation {
    background: #dc3545;
    box-shadow: 0 4px 15px rgba(232, 65, 24, 0.3);
}
.tabu-game-btn.violation:active {
    background: linear-gradient(145deg, #c0392b, #d35400);
    transform: translateY(2px);
}

#tabu-end-game-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 15px;
}
#tabu-end-game-container h2 {
    font-size: 2em;
    color: #fed462;
    margin-bottom: 25px;
}
#tabu-end-game-container .action-button,
#tabu-end-game-container .nav-button-secondary {
    margin-top: 20px;
}

#list-tabu-cards-in-category li {
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: center;
    column-gap: 15px;
    background-color: #ffffff;
    border: 1px solid #dee2e6;
    padding: 12px 15px;
    border-radius: 12px;
}
.tabu-card-entry strong {
    font-size: 1.2em;
    color: #0056b3;
    margin-bottom: 8px;
    display: block;
}
.tabu-card-entry small {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    color: #495057;
    font-size: 0.95em;
    line-height: 1.4;
}
.tabu-word-tag {
    background-color: #e9ecef;
    color: #495057;
    padding: 3px 8px;
    border-radius: 6px;
    font-size: 0.9em;
    font-weight: 500;
}
#list-tabu-cards-in-category .delete-word {
    position: static;
    transform: none;
    flex-shrink: 0;
    margin-left: 0;
}

.wbi-player-item.is-revealed {
    background-color: #3a5a78;
}

.clickable-screen {
    cursor: pointer;
}

.click-instruction {
    margin-top: 40px;
    font-size: 1em;
    color: #81e7fa88;
    letter-spacing: 0.05em;
    animation: pulse 2.5s infinite;
} 