/* static/css/profile.css */

/* レイアウト */
.profile-wrapper {
    margin-top: 40px;
    margin-bottom: 60px;
}

.profile-layout {
    display: flex;
    gap: 30px;
}

.specs-grid{
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    background: var(--cover-color);
    padding: 10px 15px;
    border-radius: 5px;
}

.pc-spec-visibility-setting {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
}

.pc-spec-visibility-setting input {
    width: auto;
}

.pc-spec-privacy-setting {
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: .8rem;
}

.pc-spec-privacy-setting .form-hint {
    margin-top: 4px;
    color: #aaa;
    font-size: .72rem;
    line-height: 1.45;
}

.public-pc-specs {
    margin-top: 20px;
}

.public-pc-specs-title {
    margin-bottom: 15px;
    font-weight: bold;
}
.spec-item label{
    display: block;
    font-size: 0.85rem;
    color: #aaa;
}
.spec-value{
    font-size: .95rem;
    color: var(--white);
}

@media (max-width: 900px) {
    .profile-layout {
        flex-direction: column;
    }
}

/* サイドバー */
.profile-sidebar {
    width: 30%;
    flex-shrink: 0;
}

@media (max-width: 900px) {
    .profile-sidebar {
        width: 100%;
    }
}

/* メインコンテンツ */
.profile-content {
    flex-grow: 1;
    min-width: 0;
    /* Flexboxの子要素でtruncateを効かせるため */
}

/* カード共通スタイル */
.profile-card {
    background: var(--frame-color);
    margin-bottom: 20px;
    overflow: hidden;
}

.card-header {
    background: rgba(0, 0, 0, 0.2);
    padding: 15px 20px;
    border-bottom: 1px solid var(--frame-color);
}

.card-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: bold;
    color: #fff;
}

.card-body {
    padding: 20px;
}

/* アバター */
.avatar-section {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

.avatar-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    background: #333;
}

.user-profile-header {
    text-align: center;
    margin-bottom: 20px;
}

.user-profile-header h2 {
    font-size: 1.5rem;
    color: #fff;
    margin-top: 15px;
}

/* フォーム */
.profile-form {
    margin-bottom: 10px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group .form-label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.9rem;
    font-weight: bold;
    color: #ccc;
}

.form-group input[type="text"] {
    width: 100%;
    background: #242c38;
    box-shadow: inset 0 0 6px 2px #171a2070;
    border: none;
    padding: 10px;
    resize: none;
    font-size: .9rem;
    border-radius: 2px;
    transition: ease all .4s;
}

.form-group input[type="text"]:focus {
    outline: none;
    box-shadow: inset 0 0 6px 2px #4eaaeb8f;
}

.form-group input[type="file"] {
    width: 100%;
    color: #ccc;
    font-size: .7rem;
}

.form-group input[type="file"]::file-selector-button {
    background-color: #333;
    color: #fff;
    border: 1px solid #444;
    padding: 5px 10px;
    margin-right: 10px;
    cursor: pointer;
}

.form-group input[type="file"]::file-selector-button:hover {
    background-color: #444;
}

.form-group .email-group {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.form-group .email-group a {
    font-size: 0.7rem;
    color: var(--gray);
}

.form-group .email-group a:hover {
    text-decoration: underline;
}

.other-actions {
    text-align: center;
}

.other-actions a {
    font-size: 0.7rem;
    color: var(--gray);
}

.other-actions a:hover {
    text-decoration: underline;
}

.error-msg {
    color: #ff6b6b;
    font-size: 0.8rem;
    margin-top: 5px;
}

.form-actions {
    margin-top: 20px;
}

.form-actions button {
    width: 100%;
    display: block;
    background: var(--rime);
    color: #111;
    font-weight: bold;
    font-size: .9rem;
    text-align: center;
    padding: 15px;
    line-height: 1;
    border-radius: 2px;
    transition: ease all .4s;
}

.form-actions button:hover {
    opacity: .7;
}

/* 統計情報 */
.stat-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-item:last-child {
    border-bottom: none;
}

.stat-value {
    font-weight: bold;
    font-size: 1.1rem;
}

.stat-value.highlight {
    color: var(--green);
}

/* タブナビゲーション */
.user-tabs {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 30px;
    background: var(--frame-color-sub);
}

.user-tab-btn {
    background: none;
    border: none;
    color: #888;
    font-size: 0.8rem;
    font-weight: 600;
    padding: 10px 20px;
    cursor: pointer;
    transition: color 0.3s, border-bottom 0.3s;
    position: relative;
}

.user-tab-btn:hover {
    color: var(--white);
}

.user-tab-btn.active {
    background: var(--cover-color);
}

@media screen and (max-width:768px){
    .user-tab-btn{
        font-size: .7rem;
    }

}
/* コンテンツセクション */
.content-section {
    display: none; /* デフォルトは非表示。JSで制御 */
    margin-bottom: 40px;
}

.section-title {
    font-size: 1.2rem;
    border-bottom: 2px solid var(--frame-color);
    padding-bottom: 10px;
    margin-bottom: 20px;
    color: #fff;
}

.empty-msg {
    color: #888;
    font-style: italic;
}

/* レビューリスト */

.review-item {
    background: var(--frame-color-sub);
    padding: 20px;
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    transition: background 0.3s, transform 0.2s;
    text-decoration: none;
    color: inherit;
}

.review-item.playlist-item {
    cursor: pointer;
}

.review-item.playlist-item:hover {
    background: var(--frame-color);
}

.review-item.playlist-item:active {
    transform: scale(0.98);
}

.review-item:last-child {
    margin-bottom: 0;
}

.review-item-image {
    width: 80px;
}

.review-item-image a {
    transition: ease all .4s;
}

.review-item-image a:hover {
    opacity: .7;
}

.review-item-inner {
    width: calc(100% - 100px);
}

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

.review-game-title {
    margin: 0;
    font-size: 1.1rem;
    width: calc(100% - 180px);
    color: #fff;
    transition: color 0.3s;
}

.playlist-item:hover .playlist-title {
    color: var(--rime);
}

.review-game-title a {
    color: #fff;
}
.playlist-date{
    font-size: .7rem;
    color: #999;
    width: 160px;
}
.review-date {
    font-size: .7rem;
    color: #999;
    text-align: right;
    width: 160px;
}

.review-date span {
    display: block;
}

.review-body {
    display: none;
}

.review-body .review-inner {
    border-bottom: 1px solid #ffffff0a;
    padding: 10px 0;
}

.review-body .review-inner.active {
    border-bottom: none;
}

.review-body .review-inner:last-child {
    border-bottom: none;
}

.review-body .review-inner .title {
    font-weight: bold;
    font-size: .9rem;
}

.review-body .review-inner .score {
    display: flex;
    align-items: center;
    margin: 5px 0;
}

.review-body .review-inner .score img {
    width: 14px;
    height: 14px;
}

.review-body .review-inner .contents {
    font-size: .8rem;
    opacity: .85;
}

.review-body .review-inner .contents a.recommended-game {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px;
    background: var(--cover-color);
    color: #fff;
    margin-top: 10px;
}

.review-body .review-inner .contents a.recommended-game .image {
    width: 60px;
}

.review-body .review-inner .contents a.recommended-game .game-title {
    font-size: .8rem;
}
.review-body .review-inner .contents .translation-toggle-btn{
    font-size: 0.7rem;
    cursor: pointer;
    text-decoration: underline;
    opacity: 0.8;
    transition: opacity 0.2s;
    user-select: none;
    display: inline-block;
    font-weight: normal;
    margin-top: 10px;
}

.review-body .review-inner .custom-title {
    font-size: .8rem;
    font-weight: bold;
    margin-bottom: 3px;
}

.review-body-btn {
    text-align: center;
    padding: 10px;
    position: relative;
}

.review-body-btn::after {
    content: "";
    border: 5px solid transparent;
    border-top: 5px solid #fff;
    z-index: -1;
    position: relative;
    margin-left: 10px;
    top: 11px;
}

.review-body-btn:hover {
    cursor: pointer;
}

.personalized-game-review{
    margin-top: 40px;
}
.personalized-game-review .game-list{
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 20px;
}

.personalized-game-review .game-list .game-item{
    min-width: 0;
}

.personalized-game-review .game-image img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
}

.personalized-game-review .game-list .game-item .game-title{
    font-size: .8rem;
    color: #fff;
    margin-top: 8px;
    min-height: 2.8em;
}

.personalized-game-review .review-prompt-action {
    display: block;
    margin-top: 8px;
    padding: 7px 8px;
    border-radius: 2px;
    background: var(--rime);
    color: #111;
    font-size: .72rem;
    font-weight: 600;
    text-align: center;
}

@media screen and (max-width: 768px) {
    .personalized-game-review .game-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }
}


/* レビューのフッター */
.review-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 5px;
}

.helpful-count {
    font-size: 0.7rem;
    color: var(--gray);
}

.review-actions {
    display: flex;
    gap: 10px;
}

.review-actions a {
    font-size: 0.7rem;
    color: var(--gray);
}

.review-actions a:hover {
    text-decoration: underline;
}

.pwc-wrapper {
    max-width: 560px;
    width: calc(100% - 20px);
    padding: 10px;
    margin: 40px auto;
    background: var(--frame-color);
}

.pwc-wrapper .change-text {
    font-size: .9rem;
    margin: 20px auto;
}

.pwc-wrapper .change-text span {
    display: block;
    color: #888;
    font-size: .8rem;
}

.pwc-wrapper ul,
.pwc-wrapper .helptext{
    margin: 0 auto;
    margin-bottom: 20px;
    font-size: .75rem;
    color: #888;
}

.pwc-wrapper form p {
    width: 100%;
}

.pwc-wrapper form input {
    background: #242c38;
    box-shadow: inset 0 0 6px 2px #171a2070;
    border: none;
    padding: 10px;
    resize: none;
    font-size: .9rem;
    width: 100%;
    transition: ease all .4s;
}

.pwc-wrapper form button {
    background: var(--rime);
    color: #111;
    text-align: center;
    padding: 10px 20px;
    font-size: .9rem;
    font-weight: bold;
    line-height: 1;
    margin-top: 20px;
    border-radius: 2px;
    margin-left: 10px;
}

/* 認証コード入力用スタイル */
.verification-code-container {
    display: flex;
    gap: 15px;
    justify-content: space-between;
    width: 100%;
    padding: 20px;
    background: var(--cover-color);
}

.verification-code-container:hover{
    cursor: text;
}

.pwc-wrapper form input.verification-input {
    flex: 1;
    width: calc( 100% / 6 );
    font-size: 2rem;
    text-align: center;
    border: none;
    border-bottom: 1px solid #ffffff5e;
    border-radius: 0;
    background-color: transparent !important;
    color: #c9d1d9;
    padding: 0;
    box-shadow: none;
    transition: border-color 0.3s;
}

.pwc-wrapper form input.verification-input:focus{
    border-bottom-color: #54baec;
}

/* Tutorial Trigger Icon */
.tutorial-trigger-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: #666;
    color: #fff;
    font-size: 12px;
    margin-left: 10px;
    cursor: pointer;
    vertical-align: middle;
    position: relative;
    top: -2px;
    padding-top: 2px;
    transition: all 0.3s;
}

.tutorial-trigger-icon:hover {
    background-color: var(--rime);
}

.tutorial-trigger-icon::after {
    content: attr(data-tooltip);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 10px;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    pointer-events: none;
    margin-bottom: 5px;
}

.tutorial-trigger-icon:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Tutorial Overlay & Highlight */
.tutorial-overlay {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9998;
    background: transparent;
    pointer-events: auto;
}

.tutorial-highlight-box {
    position: absolute;
    z-index: 9999;
    border-radius: 4px;
    box-shadow: 0 0 0 9999px rgba(0, 0, 0, 0.85);
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.25, 1, 0.5, 1);
    border: 2px solid var(--rime);
}

.tutorial-modal {
    position: absolute;
    z-index: 10000;
    background: #fff;
    color: #333;
    padding: 20px;
    border-radius: 8px;
    width: 380px;
    max-width: 90vw;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(10px);
    pointer-events: auto;
}

.tutorial-modal.visible {
    opacity: 1;
    transform: translateY(0);
}

.tutorial-modal::before {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border-style: solid;
}

/* Arrow positioning */
.tutorial-modal.arrow-top::before {
    top: -10px;
    left: 20px;
    border-width: 0 10px 10px 10px;
    border-color: transparent transparent #fff transparent;
}
.tutorial-modal.arrow-bottom::before {
    bottom: -10px;
    left: 20px;
    border-width: 10px 10px 0 10px;
    border-color: #fff transparent transparent transparent;
}
.tutorial-modal.arrow-left::before {
    left: -10px;
    top: 20px;
    border-width: 10px 10px 10px 0;
    border-color: transparent #fff transparent transparent;
}
.tutorial-modal.arrow-right::before {
    right: -10px;
    top: 20px;
    border-width: 10px 0 10px 10px;
    border-color: transparent transparent transparent #fff;
}

.tutorial-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
    border-bottom: 1px solid #eee;
    padding-bottom: 10px;
}

.tutorial-title-area {
    display: flex;
    flex-direction: column;
}

.tutorial-step-major {
    font-size: 0.75rem;
    color: var(--rime);
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 2px;
}

.tutorial-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #333;
}

.tutorial-close {
    cursor: pointer;
    font-size: 1.2rem;
    color: #999;
    line-height: 1;
    padding: 5px;
}

.tutorial-close:hover {
    color: #333;
}

.tutorial-body {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: #555;
    min-height: 60px;
}

.tutorial-steps-indicator {
    display: flex;
    gap: 5px;
    margin-bottom: 15px;
}

.tutorial-steps-dot {
    height: 4px;
    flex: 1;
    background: #eee;
    border-radius: 2px;
    transition: background 0.3s;
}

.tutorial-steps-dot.active {
    background: var(--rime);
}

.tutorial-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.tutorial-progress-container {
    height: 4px;
    background: #f0f0f0;
    border-radius: 2px;
    width: 60px;
    overflow: hidden;
}

.tutorial-progress-bar {
    height: 100%;
    background: var(--rime);
    width: 0%;
    transition: width linear;
}

.tutorial-controls {
    display: flex;
    gap: 10px;
}

.tutorial-btn {
    padding: 6px 15px;
    border-radius: 4px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s;
    border: 1px solid #ddd;
    background: #fff;
    color: #555;
}

.tutorial-btn:hover {
    background: #f9f9f9;
    color: #333;
}

.tutorial-btn.primary {
    background: var(--rime);
    color: #111;
    border-color: var(--rime);
}

.tutorial-btn.primary:hover {
    background: #a5c200;
}

.tutorial-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

@media screen and (max-width: 768px) {
    .tutorial-modal {
        width: 90vw !important;
        max-width: 90vw;
    }
    
    .tutorial-modal.arrow-left::before,
    .tutorial-modal.arrow-right::before,
    .tutorial-modal.arrow-top::before,
    .tutorial-modal.arrow-bottom::before {
        display: none;
    }
}

/* バグレポート一覧 (マイページ・公開プロフィール共通) */

.bug-list-item {
    background: var(--frame-color-sub);
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.bug-item-image {
    width: 80px;
    flex-shrink: 0;
}

.bug-item-image a {
    display: block;
    transition: ease all .4s;
}

.bug-item-image a:hover {
    opacity: .7;
}

.bug-item-image img {
    width: 80px;
    height: auto;
    display: block;
    border-radius: 2px;
    object-fit: cover;
}

.bug-item-inner {
    flex-grow: 1;
    min-width: 0;
}

.bug-list-item:last-child {
    margin-bottom: 0;
}

.bug-list-item .bug-item-header {
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.bug-list-item .bug-item-header .bug-header-title {
    margin: 0;
    font-size: 1.1rem;
    width: calc(100% - 220px);
}

.bug-list-item .bug-item-header .bug-header-title {
    color: #fff;
}

.bug-list-item .bug-item-header .bug-meta {
    font-size: .7rem;
    color: #999;
    text-align: right;
    width: 200px;
}
.bug-list-item .bug-item-header .bug-meta span{
    display: block;
}
.bug-list-item .bug-game-title {
    font-size: .8rem;
    opacity: .85;
    margin-bottom: 3px;
}
.bug-list-item .bug-thread-title{
    color: #fff;
    font-size: 1.1rem;
    font-weight: bold;
    display: block;
}
.bug-list-item .bug-thread-title .translation-toggle-btn{
    font-size: 0.7rem;
    cursor: pointer;
    text-decoration: underline;
    opacity: 0.8;
    transition: opacity 0.2s;
    user-select: none;
    display: inline-block;
    font-weight: normal;
}


.bug-read-btn {
    cursor: pointer;
    font-size: 0.9rem;
}

.bug-body-contents {
    font-size: .8rem;
    opacity: .85;
    padding: 10px 0;
}
.bug-body-contents .translation-toggle-btn{
    font-size: 0.7rem;
    cursor: pointer;
    text-decoration: underline;
    opacity: 0.8;
    transition: opacity 0.2s;
    user-select: none;
    margin-top: 10px;
    display: inline-block;
    font-weight: normal;
}

.bug-detail-link-wrap {
    text-align: right;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 10px;
}
.bug-detail-link-wrap a{
    font-size: 0.7rem;
    color: var(--gray);
}
.bug-detail-link-wrap a:hover{
    text-decoration: underline;
}

/* バグレポート 頻度・重要度タグ */
.bug-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.bug-tag-item {
    display: flex;
    align-items: center;
    font-size: 0.75rem;
    color: #aaa;
}

.bug-tag-item span {
    font-size: 0.7rem;
    padding: 2px 6px;
    margin-left: 5px;
    background-color: #0b8b25;
    color: #fff;
    border-radius: 2px;
}

.bug-tag-item span.middle {
    background-color: #ed9227;
}

.bug-tag-item span.caution {
    background-color: #af0e0e;
}

/* バグレポート 投稿画像 */
.bug-report-image {
    margin-top: 12px;
}

.bug-report-image a {
    display: inline-block;
}

.bug-report-image img {
    max-width: 100%;
    max-height: 300px;
    object-fit: contain;
    border: 1px solid #444;
    border-radius: 4px;
}

.bug-report-video {
    display: block;
    width: min(100%, 720px);
    max-height: 720px;
    margin-top: 12px;
    background: #000;
    border: 1px solid #444;
    border-radius: 4px;
}

a.bug-detail-link {
    color: var(--rime);
    text-decoration: none;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.bug-comment .bug-list-item .bug-detail{
    font-size: .8rem;
    opacity: .85;
    padding: 10px 0;
}
.bug-comment .bug-list-item .bug-detail .translation-toggle-btn{
    font-size: 0.7rem;
    cursor: pointer;
    text-decoration: underline;
    opacity: 0.8;
    transition: opacity 0.2s;
    user-select: none;
    margin-top: 10px;
    display: inline-block;
    font-weight: normal;
}

/* ページネーション */
.pagination {
    margin-top: 30px;
    display: flex;
    justify-content: flex-end;
}
.pagination .step-links {
    display: inline-flex;
    align-items: center;
}
.pagination .step-links a {
    margin: 0 10px;
    font-size: 1.1rem;
    line-height: 1;
    color: #fff;
    letter-spacing: 1px;
    transition: ease all .3s;
}
.pagination .step-links a:hover {
    opacity: .7;
}
.pagination .step-links .current {
    width: 30px;
    height: 30px;
    background: var(--rime);
    color: #111;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 5px;
    font-size: 1.1rem;
    line-height: 1;
}
@media screen and (max-width:768px){
    .card-body{
        padding: 10px;
    }
    .review-item{
        display: block;
        padding: 10px;
    }
    .review-item-inner{
        width: 100%;
    }
    .review-header{
        display: block;
    }
    .review-item-image{
        margin: 0 auto;
    }
    .review-game-title{
        width: 100%;
        margin: 10px auto;
    }
    .review-date{
        width: 100%;
        text-align: left;
    }
    .helpful-count,
    .review-actions a,
    .bug-detail-link-wrap a,
    .activity-detail-link-wrap a{
        font-size: .8rem;
    }
    .bug-list-item,
    .activity-list-item{
        padding: 10px;
        display: block;
    }
    .bug-item-image,
    .activity-item-image{
        margin: 0 auto 10px;
    }
    .bug-list-item .bug-item-header,
    .activity-list-item .activity-item-header{
        display: block;
    }
    .bug-list-item .bug-item-header .bug-header-title,
    .activity-list-item .activity-item-header .activity-header-title{
        width: 100%;
        margin: 10px auto;
    }
    .bug-list-item .bug-item-header .bug-meta,
    .activity-list-item .activity-item-header .activity-meta{
        width: 100%;
        text-align: left;
    }
}


/* アクティビティリスト (リクエスト・提案共通) */
.activity-list-item {
    background: var(--frame-color-sub);
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    gap: 20px;
}

.activity-list-item:last-child {
    margin-bottom: 0;
}

.activity-item-image {
    width: 80px;
    flex-shrink: 0;
}

.activity-item-image a {
    display: block;
    transition: ease all .4s;
}

.activity-item-image a:hover {
    opacity: .7;
}

.activity-item-image img {
    width: 80px;
    height: auto;
    display: block;
    border-radius: 2px;
    object-fit: cover;
}

.activity-item-inner {
    flex-grow: 1;
    min-width: 0;
}

.activity-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.activity-header-title {
    margin: 0;
    font-size: 1.1rem;
    width: calc(100% - 220px);
    color: #fff;
}

.activity-main-title {
    font-size: 1.1rem;
    font-weight: bold;
    color: #fff;
}

.activity-main-title a {
    color: #fff;
}

.activity-sub-title {
    font-size: 0.8rem;
    opacity: 0.8;
    margin-top: 3px;
}

.activity-meta {
    font-size: .7rem;
    color: #999;
    text-align: right;
    width: 200px;
}

.activity-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 8px;
}

.activity-tag-item {
    display: flex;
    align-items: center;
    font-size: 0.75rem;
    color: #aaa;
}

.activity-tag-item span {
    font-size: 0.7rem;
    padding: 2px 6px;
    margin-left: 5px;
    background-color: var(--rime);
    color: #111;
    border-radius: 2px;
}

.activity-detail-link-wrap {
    text-align: right;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 10px;
    margin-top: 10px;
}

.activity-detail-link-wrap a {
    font-size: 0.7rem;
    color: var(--gray);
}

.activity-detail-link-wrap a:hover {
    text-decoration: underline;
}
.request-detail-list{
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px auto 0;
}
.request-detail-list .title{
    font-size: .8rem;
    font-weight: bold;
}
.request-detail-list ol {
    display: flex;
    flex-wrap: wrap;
}
.request-detail-list ol li {
    display: inline-block;
    border-radius: 2px;
    font-size: 0.75rem;
    position: relative;
    padding: 3px 8px;
    background: #1c1f25;
    margin-right: 10px;
}
.request-detail-genre-tag:last-child{
    margin-right: 0;
}

/* ステータスバッジ */
.status-badge {
    display: block;
    padding: 2px 10px;
    font-size: 0.7rem;
    border-radius: 2px;
    font-weight: bold;
    border: 1px solid transparent;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: 70px;
    text-align: center;
    position: relative;
    left: 100%;
    transform: translateX(-100%);
    margin-bottom: 5px;
}

.status-badge.open {
    background: rgba(34, 173, 91, 0.15);
    color: #22ad5b;
    border: 1px solid rgba(34, 173, 91, 0.3);
}

.status-badge.closed {
    background: rgba(219, 0, 77, 0.15);
    color: #ff6b8a;
    border: 1px solid rgba(219, 0, 77, 0.3);
}
.status-badge.prop{
    background: rgba(183, 214, 0, 0.2);
    color: var(--rime);
    border-color: var(--rime);
    width: 120px;
}

/* Eメール通知設定 */
.notification-settings-list {
    background: var(--cover-color);
    padding: 10px 15px;
    border-radius: 5px;
}

.notification-setting-item {
    margin-bottom: 10px;
}

.notification-setting-item:last-child {
    margin-bottom: 0;
}

.btn-push-notification {
    width: 100%;
    padding: 0.5rem 1rem;
    border: 1px solid #555;
    border-radius: 4px;
    background: transparent;
    color: #555;
    text-align: center;
    opacity: 1;
    cursor: pointer;
}

.btn-push-notification.enabled,
.btn-push-notification:disabled {
    cursor: default;
    opacity: 1;
}

.checkbox-label-custom {
    display: flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.85rem;
    color: #ccc;
    gap: 10px;
}

.checkbox-label-custom input[type="checkbox"] {
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.checkbox-label-custom span {
    line-height: 1.4;
    width: calc(100% - 26px);
}
