/* Time Attack Quiz Front Styles */

.taq-container {
    max-width: 700px;
    margin: 0 auto;
    background: #fff;
    border-radius: 20px;
    border: 3px solid #333;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    font-family: 'Noto Sans JP', sans-serif;
    overflow: hidden;
}

/* スタート画面 */
.taq-start {
    position: relative;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 50px 30px;
    overflow: hidden;
    border-radius: 17px 17px 0 0;
}

/* 背景画像 */
.taq-start::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: -20px;
    bottom: -20px;
    background-image: var(--bg-image);
    background-size: cover;
    background-position: center;
    background-color: #667eea;
    z-index: 0;
}

/* オーバーレイ */
.taq-start::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
}

/* コンテンツ */
.taq-start-content {
    position: relative;
    z-index: 2;
    text-align: center;
}

/* タイトル枠 */
.taq-start-frame {
    display: inline-block;
    padding: 18px 40px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    margin-bottom: 20px;
}

.taq-title {
    font-size: 1.8em;
    font-weight: 900;
    color: #fff;
    text-shadow: 
        -2px -2px 0 #000,
        2px -2px 0 #000,
        -2px 2px 0 #000,
        2px 2px 0 #000,
        -2px 0 0 #000,
        2px 0 0 #000,
        0 -2px 0 #000,
        0 2px 0 #000;
    letter-spacing: 0.03em;
    line-height: 1.4;
}

.taq-description {
    font-size: 1em;
    color: #fff;
    text-shadow: 
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;
    margin-bottom: 12px;
}

.taq-info {
    margin-bottom: 20px;
    font-size: 1em;
    color: #fff;
    text-shadow: 
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;
}

.taq-info p {
    margin: 5px 0;
}

/* ランキング参加オプション */
.taq-ranking-option {
    margin-bottom: 25px;
}

.taq-ranking-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    text-shadow: 
        -1px -1px 0 #000,
        1px -1px 0 #000,
        -1px 1px 0 #000,
        1px 1px 0 #000;
    cursor: pointer;
}

.taq-ranking-checkbox input {
    width: 18px;
    height: 18px;
}

.taq-name-input {
    margin-top: 12px;
}

.taq-name-input input {
    padding: 10px 15px;
    border: 2px solid rgba(255,255,255,0.5);
    border-radius: 8px;
    background: rgba(255,255,255,0.9);
    font-size: 1em;
    width: 200px;
}

.taq-start-btn {
    display: inline-block;
    padding: 16px 55px;
    font-size: 1.1em;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 
        0 5px 20px rgba(102, 126, 234, 0.5),
        0 0 0 3px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.taq-start-btn:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 25px rgba(102, 126, 234, 0.6),
        0 0 0 3px rgba(255, 255, 255, 0.4);
}

/* ====== 加工タイプ ====== */

/* ブラー */
.taq-start.effect-blur::before {
    filter: blur(6px);
}

/* ドット */
.taq-start.effect-dot::before {
    filter: blur(2px);
}
.taq-start.effect-dot::after {
    background: 
        radial-gradient(circle, rgba(0,0,0,0.4) 1px, transparent 1px) !important;
    background-size: 4px 4px !important;
}

/* なし */
.taq-start.effect-none::before {
    filter: none;
}

/* ====== オーバーレイ色 ====== */

/* 暗め */
.taq-start.overlay-dark::after {
    background: rgba(0, 0, 0, 0.35);
}

/* 紫系 */
.taq-start.overlay-purple::after {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.6) 0%, rgba(118, 75, 162, 0.6) 100%);
}

/* ピンク系 */
.taq-start.overlay-pink::after {
    background: linear-gradient(135deg, rgba(232, 67, 147, 0.55) 0%, rgba(253, 121, 168, 0.5) 100%);
}

/* ブルー系 */
.taq-start.overlay-blue::after {
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.55) 0%, rgba(41, 128, 185, 0.5) 100%);
}

/* グリーン系 */
.taq-start.overlay-green::after {
    background: linear-gradient(135deg, rgba(39, 174, 96, 0.55) 0%, rgba(46, 204, 113, 0.5) 100%);
}

/* ネイビー系 */
.taq-start.overlay-navy::after {
    background: linear-gradient(135deg, rgba(44, 62, 80, 0.65) 0%, rgba(52, 73, 94, 0.55) 100%);
}

/* クイズ画面 */
.taq-quiz {
    padding: 20px;
    background: #fafafa;
    color: #333;
}

.taq-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.taq-progress {
    font-size: 1.1em;
    font-weight: 600;
    color: #333;
}

.taq-timer {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 1.2em;
    font-weight: bold;
}

.taq-timer.warning {
    background: #e74c3c;
    animation: pulse 0.5s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* タイマーバー */
.taq-timer-bar {
    height: 8px;
    background: rgba(255,255,255,0.3);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 25px;
}

.taq-timer-fill {
    height: 100%;
    background: #2ecc71;
    border-radius: 4px;
    transition: width 1s linear, background 0.3s;
    width: 100%;
}

.taq-timer-fill.warning {
    background: #e74c3c;
}

/* 問題画像 */
.taq-question-image {
    text-align: center;
    margin-bottom: 12px;
}

.taq-question-image img {
    width: 55% !important;
    max-width: 350px !important;
    aspect-ratio: 4/3 !important;
    object-fit: cover !important;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

@media (max-width: 480px) {
    .taq-question-image img {
        width: 50% !important;
        max-width: 280px !important;
    }
}

/* 問題文 */
.taq-question-text {
    font-size: 1.4em;
    font-weight: 600;
    text-align: center;
    margin-bottom: 15px;
    line-height: 1.4;
    min-height: 30px;
}

/* 選択肢 */
.taq-choices {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.taq-choice {
    background: #fff;
    border: 2px solid #ddd;
    color: #333;
    padding: 20px;
    font-size: 1.1em;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

/* 画像付き選択肢 */
.taq-choice.has-image {
    padding: 8px;
    min-height: auto;
    height: auto !important;
}

.taq-choice .choice-image {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 8px;
}

.taq-choice.has-image .choice-text {
    font-size: 0.9em;
    margin-top: 4px;
}

/* PCのみhover効果 */
@media (hover: hover) {
    .taq-choice:hover {
        background: #f8f9ff;
        border-color: #667eea;
        transform: translateY(-2px);
    }
}

.taq-choice:active {
    transform: scale(0.98);
}

.taq-choice.correct {
    background: #2ecc71;
    border-color: #2ecc71;
    color: #fff;
}

.taq-choice.incorrect {
    background: #e74c3c;
    border-color: #e74c3c;
    color: #fff;
}

.taq-choice.disabled {
    pointer-events: none;
    opacity: 0.7;
}

/* 順番タップモード */
.taq-choices.order-mode {
    position: relative;
}

.order-progress {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
    min-height: 30px;
}

.order-num-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    background: #2ecc71;
    color: #fff;
    border-radius: 50%;
    font-weight: bold;
    font-size: 0.9em;
}

.taq-choice.order-choice.selected {
    pointer-events: none;
}

.taq-choice.order-choice.selected.correct {
    background: #2ecc71;
    border-color: #2ecc71;
    color: #fff;
}

.taq-choice.order-choice.selected.incorrect {
    background: #e74c3c;
    border-color: #e74c3c;
    color: #fff;
}

.correct-order {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 24px;
    height: 24px;
    background: #667eea;
    color: #fff;
    border-radius: 50%;
    font-size: 0.8em;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
}

.taq-choice.order-choice {
    position: relative;
}

/* フィードバック */
.taq-feedback {
    text-align: center;
    font-size: 2em;
    font-weight: bold;
    margin-top: 25px;
    min-height: 50px;
}

.taq-feedback.correct {
    color: #2ecc71;
}

.taq-feedback.incorrect {
    color: #e74c3c;
}

/* 結果画面 */
.taq-result {
    text-align: center;
    padding: 40px 20px;
}

.taq-result-title {
    font-size: 1.5em;
    margin-bottom: 20px;
    opacity: 0.9;
}

.taq-result-rank {
    font-size: 5em;
    font-weight: bold;
    margin-bottom: 10px;
    text-shadow: 3px 3px 6px rgba(0,0,0,0.3);
}

.taq-result-rank.rank-S { color: #ffd700; }
.taq-result-rank.rank-A { color: #ff6b6b; }
.taq-result-rank.rank-B { color: #4ecdc4; }
.taq-result-rank.rank-C { color: #95e1d3; }
.taq-result-rank.rank-D { color: #dfe6e9; }
.taq-result-rank.rank-E { color: #b2bec3; }

.taq-result-score {
    font-size: 1.8em;
    margin-bottom: 25px;
}

.taq-result-message {
    font-size: 1.2em;
    line-height: 1.6;
    margin-bottom: 35px;
    padding: 20px;
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
}

/* 結果ボタン */
.taq-result-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.taq-share-x {
    background: #000;
    color: #fff;
    border: none;
    padding: 15px 35px;
    border-radius: 30px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background 0.2s;
}

.taq-share-x:hover {
    background: #333;
}

.taq-share-fb {
    background: #1877f2;
    color: #fff;
    border: none;
    padding: 15px 35px;
    border-radius: 30px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background 0.2s;
}

.taq-share-fb:hover {
    background: #166fe5;
}

.taq-retry {
    background: #fff;
    color: #667eea;
    border: none;
    padding: 15px 35px;
    border-radius: 30px;
    font-size: 1.1em;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s;
}

.taq-retry:hover {
    transform: translateY(-2px);
}

/* レスポンシブ */
@media (max-width: 600px) {
    .taq-container {
        border-radius: 15px;
        border-width: 2px;
    }
    
    .taq-start {
        min-height: 300px;
        padding: 35px 20px;
        border-radius: 13px 13px 0 0;
    }
    
    .taq-start-frame {
        padding: 12px 20px;
    }
    
    .taq-title {
        font-size: 1.4em;
    }
    
    .taq-start-btn {
        padding: 14px 45px;
        font-size: 1em;
    }
    
    .taq-quiz {
        padding: 8px 4px;
    }
    
    .taq-header {
        margin-bottom: 8px;
        padding: 0 6px;
    }
    
    .taq-progress {
        font-size: 1em;
    }
    
    .taq-timer {
        padding: 5px 12px;
        font-size: 1em;
    }
    
    .taq-timer-bar {
        height: 6px;
        margin-bottom: 10px;
        margin-left: 6px;
        margin-right: 6px;
    }
    
    /* 問題画像 - スマホでも大きく */
    .taq-question-image img {
        width: 85% !important;
        max-width: none !important;
    }
    
    .taq-question-image {
        margin-bottom: 8px;
    }
    
    /* 問題文 */
    .taq-question-text {
        font-size: 1.1em;
        margin-bottom: 10px;
        padding: 0 6px;
    }
    
    /* 選択肢2列固定 */
    .taq-choices {
        grid-template-columns: 1fr 1fr;
        gap: 4px;
    }
    
    /* 選択肢：外枠固定、文字自動縮小 */
    .taq-choice {
        padding: 12px 8px;
        font-size: 0.85em;
        min-height: 50px;
        height: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        line-height: 1.2;
        overflow: hidden;
        word-break: break-word;
    }
    
    /* 画像付き選択肢は高さ自動・aspect-ratio維持 */
    .taq-choice.has-image {
        height: auto !important;
        min-height: auto !important;
        padding: 1px;
        overflow: visible;
        border-width: 1px;
    }
    
    .taq-choice.has-image .choice-image {
        width: 100%;
        aspect-ratio: 4/3;
        object-fit: cover;
    }
    
    .taq-choice.has-image .choice-text {
        font-size: 0.8em;
        margin-top: 2px;
    }
    
    /* フィードバックを小さく */
    .taq-feedback {
        font-size: 1.4em;
        margin-top: 12px;
        min-height: 35px;
    }
    
    .taq-result-rank {
        font-size: 4em;
    }
}

/* タップハイライト除去（iOS対策） */
.taq-choice {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
}

.taq-choice:focus {
    outline: none;
}

/* 選択後のリセット用 - 削除（不要） */

/* ニックネーム入力 */
.taq-ranking-option {
    margin: 25px 0;
}

.taq-ranking-checkbox {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    cursor: pointer;
    font-size: 1em;
}

.taq-ranking-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.taq-name-input {
    margin-top: 15px;
}

.taq-name-input input {
    width: 200px;
    max-width: 100%;
    padding: 12px 15px;
    font-size: 1em;
    border: none;
    border-radius: 8px;
    text-align: center;
}

.taq-name-input input:focus {
    outline: 2px solid rgba(255,255,255,0.5);
}

/* ハイスコア表示 */
.taq-high-score {
    color: #ffd700;
    font-size: 0.8em;
    animation: pulse-gold 1s infinite;
}

.taq-error {
    color: #ff6b6b;
    font-size: 0.8em;
}

@keyframes pulse-gold {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* ランキング表示 */
.taq-ranking-container {
    max-width: 600px;
    margin: 0 auto;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 10px;
    font-family: sans-serif;
}

.taq-ranking-title {
    font-size: 1.5em;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
    color: #333;
}

.taq-ranking-period {
    text-align: center;
    color: #666;
    font-size: 0.9em;
    margin-bottom: 20px;
}

.taq-ranking-empty {
    text-align: center;
    color: #888;
    padding: 30px;
}

.taq-ranking-table {
    width: 100%;
    border-collapse: collapse;
}

.taq-ranking-table th,
.taq-ranking-table td {
    padding: 12px 8px;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
}

.taq-ranking-table th {
    background: #667eea;
    color: #fff;
    font-weight: 600;
}

.taq-ranking-table th:first-child {
    border-radius: 8px 0 0 0;
}

.taq-ranking-table th:last-child {
    border-radius: 0 8px 0 0;
}

.taq-ranking-table tbody tr:hover {
    background: #f0f0f0;
}

.taq-ranking-table .rank-col {
    width: 15%;
    font-weight: bold;
}

.taq-ranking-table .name-col {
    width: 35%;
    text-align: left;
}

.taq-ranking-table .score-col {
    width: 25%;
    font-weight: bold;
    color: #667eea;
}

.taq-ranking-table .detail-col {
    width: 25%;
    color: #666;
    font-size: 0.9em;
}

.taq-ranking-table tr.top-1 {
    background: #fff9e6;
}

.taq-ranking-table tr.top-2 {
    background: #f5f5f5;
}

.taq-ranking-table tr.top-3 {
    background: #fef3e6;
}

@media (max-width: 480px) {
    .taq-ranking-table th,
    .taq-ranking-table td {
        padding: 10px 5px;
        font-size: 0.9em;
    }
}

/* ========================================
   カラーテーマ
   ======================================== */

/* スタンダード（standard）- 紫系（デフォルト） */
.taq-container.theme-standard {
    background: #fff;
}
.theme-standard .taq-start-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.5), 0 0 0 3px rgba(255, 255, 255, 0.3);
}
.theme-standard .taq-timer {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

/* ロマンティック（romantic）- ピンク系 */
.taq-container.theme-romantic {
    background: #fff;
}
.theme-romantic .taq-timer-fill {
    background: #e84393;
}
.theme-romantic .taq-timer-fill.warning {
    background: #ff6b6b;
}
@media (hover: hover) {
    .theme-romantic .taq-choice:hover {
        background: rgba(232, 67, 147, 0.1);
        border-color: #e84393;
    }
}
.theme-romantic .taq-start-btn {
    background: linear-gradient(135deg, #e84393 0%, #fd79a8 100%);
    box-shadow: 0 5px 20px rgba(232, 67, 147, 0.5), 0 0 0 3px rgba(255, 255, 255, 0.3);
}
.theme-romantic .taq-timer {
    background: linear-gradient(135deg, #e84393 0%, #fd79a8 100%);
}

/* ビジネス（business）- ネイビー×ゴールド */
.taq-container.theme-business {
    background: #fff;
}
.theme-business .taq-timer-fill {
    background: #c9a227;
}
@media (hover: hover) {
    .theme-business .taq-choice:hover {
        background: rgba(201, 162, 39, 0.1);
        border-color: #c9a227;
    }
}
.theme-business .taq-start-btn {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    box-shadow: 0 5px 20px rgba(44, 62, 80, 0.5), 0 0 0 3px rgba(255, 255, 255, 0.3);
}
.theme-business .taq-timer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

/* シンプル（simple）- モノトーン */
.taq-container.theme-simple {
    background: #fff;
}
.theme-simple .taq-timer-fill {
    background: #333;
}
@media (hover: hover) {
    .theme-simple .taq-choice:hover {
        background: rgba(51, 51, 51, 0.1);
        border-color: #333;
    }
}
.theme-simple .taq-start-btn {
    background: linear-gradient(135deg, #333333 0%, #666666 100%);
    box-shadow: 0 5px 20px rgba(51, 51, 51, 0.5), 0 0 0 3px rgba(255, 255, 255, 0.3);
}
.theme-simple .taq-timer {
    background: linear-gradient(135deg, #333333 0%, #666666 100%);
}

/* パステル（pastel）- 淡い紫×青 */
.taq-container.theme-pastel {
    background: #fff;
}
.theme-pastel .taq-timer-fill {
    background: #a29bfe;
}
@media (hover: hover) {
    .theme-pastel .taq-choice:hover {
        background: rgba(162, 155, 254, 0.1);
        border-color: #a29bfe;
    }
}
.theme-pastel .taq-start-btn {
    background: linear-gradient(135deg, #a29bfe 0%, #74b9ff 100%);
    box-shadow: 0 5px 20px rgba(162, 155, 254, 0.5), 0 0 0 3px rgba(255, 255, 255, 0.3);
}
.theme-pastel .taq-timer {
    background: linear-gradient(135deg, #a29bfe 0%, #74b9ff 100%);
}

/* ナチュラル（natural）- グリーン系 */
.taq-container.theme-natural {
    background: #fff;
}
.theme-natural .taq-timer-fill {
    background: #27ae60;
}
@media (hover: hover) {
    .theme-natural .taq-choice:hover {
        background: rgba(39, 174, 96, 0.1);
        border-color: #27ae60;
    }
}
.theme-natural .taq-start-btn {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    box-shadow: 0 5px 20px rgba(39, 174, 96, 0.5), 0 0 0 3px rgba(255, 255, 255, 0.3);
}
.theme-natural .taq-timer {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
}

/* 統計表示 */
.taq-community-stats {
    margin-top: 30px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.03);
    border-radius: 12px;
}

.taq-stats-title {
    font-size: 1.2em;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: center;
}

.taq-stats-participants {
    text-align: center;
    margin-bottom: 15px;
    font-size: 0.95em;
}

.taq-stats-subtitle {
    font-size: 0.9em;
    font-weight: bold;
    margin-bottom: 10px;
    color: #666;
}

.taq-rank-distribution {
    margin-top: 15px;
}

.taq-rank-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.taq-rank-label {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    font-weight: bold;
    font-size: 0.85em;
    color: #fff;
}

.taq-rank-label.rank-S { background: linear-gradient(135deg, #FFD700, #FFA500); }
.taq-rank-label.rank-A { background: linear-gradient(135deg, #ff6b6b, #ee5a5a); }
.taq-rank-label.rank-B { background: linear-gradient(135deg, #4ecdc4, #44a08d); }
.taq-rank-label.rank-C { background: linear-gradient(135deg, #667eea, #764ba2); }
.taq-rank-label.rank-D { background: linear-gradient(135deg, #a8a8a8, #888888); }
.taq-rank-label.rank-E { background: linear-gradient(135deg, #666666, #444444); }

.taq-rank-bar-bg {
    flex: 1;
    height: 16px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    overflow: hidden;
}

.taq-rank-bar-fill {
    height: 100%;
    border-radius: 8px;
    transition: width 0.5s ease;
}

.taq-rank-bar-fill.rank-S { background: linear-gradient(90deg, #FFD700, #FFA500); }
.taq-rank-bar-fill.rank-A { background: linear-gradient(90deg, #ff6b6b, #ee5a5a); }
.taq-rank-bar-fill.rank-B { background: linear-gradient(90deg, #4ecdc4, #44a08d); }
.taq-rank-bar-fill.rank-C { background: linear-gradient(90deg, #667eea, #764ba2); }
.taq-rank-bar-fill.rank-D { background: linear-gradient(90deg, #a8a8a8, #888888); }
.taq-rank-bar-fill.rank-E { background: linear-gradient(90deg, #666666, #444444); }

.taq-rank-pct {
    width: 45px;
    text-align: right;
    font-size: 0.85em;
    color: #666;
}
