/* ゲーム診断ツール専用スタイル。ブログテーマの配色とは意図的に分けています。 */

body.gdc-front {
    margin: 0;
    background: #14141c;
    color: #f0f0f5;
    font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
    line-height: 1.7;
}

.gdc-header {
    background: #1f1f2b;
    border-bottom: 1px solid #33334a;
    padding: 16px 24px;
}
.gdc-header-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.gdc-logo {
    color: #ff6b9d;
    font-weight: bold;
    font-size: 1.2rem;
    text-decoration: none;
}
.gdc-nav a {
    color: #f0f0f5;
    text-decoration: none;
    margin-left: 16px;
}

.gdc-disclosure {
    background: #ffe9a8;
    color: #4a3b00;
    text-align: center;
    font-size: 0.78rem;
    padding: 6px 12px;
    line-height: 1.5;
}

.gdc-main {
    max-width: 1000px;
    margin: 0 auto;
    padding: 32px 24px 80px;
}
.gdc-page-title {
    font-size: 1.6rem;
    margin-bottom: 24px;
}

.gdc-game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}
.gdc-game-card {
    display: block;
    background: #1f1f2b;
    border-radius: 8px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s ease;
}
.gdc-game-card:hover {
    transform: translateY(-4px);
}
.gdc-game-thumb img {
    width: 100%;
    height: 260px;
    object-fit: cover;
    display: block;
}
.gdc-game-thumb-placeholder {
    width: 100%;
    height: 260px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #33334a;
    color: #888;
}
.gdc-game-card-body {
    padding: 12px;
}
.gdc-game-title {
    font-size: 1rem;
    margin: 0 0 4px;
}
.gdc-game-brand {
    font-size: 0.85rem;
    color: #aaa;
    margin: 0;
}
.gdc-game-release-date {
    font-size: 0.8rem;
    color: #888;
    margin: 0 0 2px;
}

.gdc-single .gdc-game-detail-thumb img {
    width: 100%;
    max-width: 500px;
    border-radius: 8px;
    display: block;
    margin-bottom: 20px;
}
.gdc-game-detail-title {
    font-size: 1.5rem;
    margin-bottom: 8px;
}
.gdc-badge-played {
    display: inline-block;
    background: #ff6b9d;
    color: #1f1f2b;
    font-size: 0.8rem;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 999px;
    margin-bottom: 16px;
}

.gdc-meta-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 24px;
    background: #f7f7f5;
    border-radius: 8px;
    overflow: hidden;
}
.gdc-meta-table th,
.gdc-meta-table td {
    text-align: left;
    padding: 10px 14px;
    border-bottom: 1px solid #e0e0dc;
    color: #222;
    font-weight: normal;
}
.gdc-meta-table th {
    width: 140px;
    background: #e9e9e4;
    color: #333;
}
.gdc-meta-table td {
    background: #fbfbf9;
}
.gdc-meta-table tr:last-child th,
.gdc-meta-table tr:last-child td {
    border-bottom: none;
}

.gdc-sales-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.gdc-sales-button {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #ff6b9d;
    color: #1f1f2b;
    font-weight: bold;
    text-decoration: none;
    padding: 12px 20px;
    border-radius: 6px;
    transition: opacity 0.15s ease;
}
.gdc-sales-button:hover {
    opacity: 0.85;
}
.gdc-sales-button img {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

.gdc-footer {
    text-align: center;
    padding: 24px;
    color: #666;
    font-size: 0.85rem;
}

/* 診断ウィジェット */
#gdc-quiz-widget {
    margin-bottom: 40px;
}
.gdc-quiz-box {
    background: #1f1f2b;
    border: 1px solid #33334a;
    border-radius: 10px;
    padding: 28px;
    text-align: center;
}
.gdc-quiz-title {
    font-size: 1.3rem;
    margin: 0 0 12px;
}
.gdc-quiz-lead {
    color: #ccc;
    margin: 0 0 20px;
}
.gdc-quiz-loading,
.gdc-quiz-error {
    text-align: center;
    color: #ccc;
    padding: 20px;
}
.gdc-quiz-button {
    background: #ff6b9d;
    color: #1f1f2b;
    font-weight: bold;
    border: none;
    padding: 12px 28px;
    border-radius: 999px;
    font-size: 1rem;
    cursor: pointer;
    transition: opacity 0.15s ease;
}
.gdc-quiz-button:hover {
    opacity: 0.85;
}
.gdc-quiz-progress {
    color: #aaa;
    font-size: 0.85rem;
    margin: 0 0 8px;
}
.gdc-quiz-progress-bar {
    background: #33334a;
    height: 6px;
    border-radius: 999px;
    overflow: hidden;
    margin-bottom: 24px;
}
.gdc-quiz-progress-bar-inner {
    background: #ff6b9d;
    height: 100%;
    transition: width 0.2s ease;
}
.gdc-quiz-question-text {
    font-size: 1.2rem;
    margin: 0 0 24px;
    line-height: 1.6;
}
.gdc-quiz-answer-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
}
.gdc-quiz-no-btn {
    background: #33334a;
    color: #f0f0f5;
}
.gdc-quiz-result-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
    margin: 20px 0 28px;
    text-align: left;
}
.gdc-quiz-result-card {
    background: #14141c;
    border-radius: 8px;
    overflow: hidden;
    padding-bottom: 12px;
}
.gdc-quiz-result-thumb {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}
.gdc-quiz-result-title {
    display: block;
    color: #f0f0f5;
    text-decoration: none;
    font-weight: bold;
    padding: 10px 12px 4px;
}
.gdc-quiz-result-genre {
    color: #999;
    font-size: 0.8rem;
    padding: 0 12px;
    margin: 0 0 10px;
}
.gdc-quiz-result-links {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0 12px;
}
.gdc-quiz-result-link-btn {
    background: #ff6b9d;
    color: #1f1f2b;
    font-size: 0.8rem;
    font-weight: bold;
    text-decoration: none;
    padding: 6px 12px;
    border-radius: 999px;
}
.gdc-quiz-retry-btn {
    margin-top: 8px;
}

/* 検索ボックス */
.gdc-search-form {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
}
.gdc-search-input {
    flex: 1;
    padding: 10px 14px;
    border-radius: 999px;
    border: 1px solid #33334a;
    background: #1f1f2b;
    color: #f0f0f5;
}
.gdc-search-submit {
    padding: 10px 20px;
}

/* タクソノミーリンク(詳細ページの表内) */
.gdc-tax-link {
    color: #ff6b9d;
    text-decoration: none;
}
.gdc-tax-link:hover {
    text-decoration: underline;
}

/* 管理人評価・レーダーチャート */
.gdc-rating-block {
    margin: 16px 0 24px;
    text-align: center;
}
.gdc-rating-heading {
    font-size: 1rem;
    color: #ccc;
    margin-bottom: 4px;
}
.gdc-radar-chart {
    width: 100%;
    max-width: 320px;
}
.gdc-radar-grid {
    fill: none;
    stroke: #33334a;
    stroke-width: 1;
}
.gdc-radar-axis {
    stroke: #33334a;
    stroke-width: 1;
}
.gdc-radar-label {
    fill: #ccc;
    font-size: 12px;
}
.gdc-radar-data {
    fill: rgba(255, 107, 157, 0.35);
    stroke: #ff6b9d;
    stroke-width: 2;
}

/* タグ一覧ページ */
.gdc-tag-section {
    margin-bottom: 32px;
}
.gdc-tag-section-title {
    font-size: 1.1rem;
    border-bottom: 1px solid #33334a;
    padding-bottom: 8px;
    margin-bottom: 12px;
}
.gdc-tag-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.gdc-tag-chip {
    background: #1f1f2b;
    color: #f0f0f5;
    text-decoration: none;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.85rem;
}
.gdc-tag-chip:hover {
    background: #33334a;
}
.gdc-tag-chip-count {
    color: #888;
    font-size: 0.75rem;
    margin-left: 2px;
}

/* 更新履歴ページ */
.gdc-update-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.gdc-update-item {
    display: flex;
    gap: 16px;
    padding: 12px 0;
    border-bottom: 1px solid #33334a;
}
.gdc-update-date {
    color: #888;
    font-size: 0.85rem;
    flex-shrink: 0;
    width: 110px;
}
.gdc-update-title {
    color: #f0f0f5;
    text-decoration: none;
}
.gdc-update-title:hover {
    text-decoration: underline;
}
