:root {
    --card-bg: rgba(255, 255, 255, 0.88);
    --accent-color: #8fa3b0;
    --main-pink: #f9dce2;
    --text-main: #444444;
    --text-sub: #777777;
    --tag-bg: #f0f4f8;
    --highlight: palevioletred;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'Meiryo', 'Noto Sans TC', sans-serif;
    margin: 0;
    padding: 20px 13px;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    background: linear-gradient(to top left,
            rgba(255, 214, 232, 0.7),
            rgba(207, 232, 243, 0.7),
            rgba(217, 206, 242, 0.4),
            rgba(249, 230, 212, 0.7));
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    color: var(--text-main);
    line-height: 1.6;
}

.container {
    width: 100%;
    max-width: 550px;
    animation: fadeIn 0.8s ease-out;
}



section {
    background: var(--card-bg);
    backdrop-filter: blur(8px);
    border-radius: 24px;
    padding: 25px;
    margin-bottom: 25px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

h2 {
    font-size: 1.3rem;
    color: var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
    padding-bottom: 5px;
    margin-bottom: 20px;
    display: inline-block;
}

h3 {
    font-size: 1rem;
    margin: 15px 0 10px 0;
    color: var(--text-main);
    display: flex;
    align-items: center;
}

h3::before {
    content: "●";
    color: var(--accent-color);
    margin-right: 8px;
    font-size: 0.8rem;
}

p {
    font-size: 14px;
    margin-bottom: 10px;
}

a {
    text-decoration: none;
    color: var(--highlight);
    transition: 0.3s;
}

a:hover {
    opacity: 0.7;
}

.small {
    font-size: 11px;
    color: #999;
}

del {
    color: #bbb;
}

/* 個人資訊 */
.profile-header {
    text-align: center;
}

.avatar {
    width: 110px;
    height: 110px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

h1 {
    font-size: 1.7rem;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.subtitle {
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.sns {
    width: 18px;
    height: 18px;
    border-radius: 4px;
    vertical-align: middle;
    margin-right: 0px;
    margin-bottom: 2px;
}

/* 內容區塊 */
.info-block {
    margin-bottom: 25px;
}

.tag-group {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin: 10px 0;
}

.tag {
    background: var(--tag-bg);
    padding: 5px 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

.content-img {
    width: 85%;
    border-radius: 15px;
    display: block;
    margin: 15px auto;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: 0.3s;
}

.content-img:hover {
    transform: scale(1.02);
}

/* Idol Card 專屬版型 */
.idol-card {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    padding: 15px;
    margin-top: 15px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    gap: 15px;
}

@media (min-width: 480px) {
    .idol-card {
        align-items: center;
    }
}

.idol-card img {
    width: 100%;
    max-width: 50%;
    border-radius: 12px;
    object-fit: cover;
    margin: 0 5px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.idol-info {
    flex: 1;
}

.idol-title {
    font-weight: 700;
    color: var(--accent-color);
    margin-bottom: 12px;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 6px;
    border-bottom: 2px dashed rgba(143, 163, 176, 0.3);
    padding-bottom: 8px;
}

.idol-group {
    background: rgba(255, 255, 255, 0.4);
    padding: 10px 14px;
    border-radius: 10px;
    margin-bottom: 10px;
    border: rgba(128, 128, 128, 0.05) 0.5px solid;
    border-left: 3px solid rgba(255, 214, 232, 0.7);

    border-bottom: 3px solid rgba(255, 214, 232, 0.7);
}

.idol-group:last-child {
    margin-bottom: 0;
}

.idol-group-title {
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--text-sub);
}

/* Live 經歷 */
.live-list {
    list-style: none;
}

.live-item {
    display: flex;
    flex-direction: column;
    padding: 12px 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    transition: 0.2s;
}

.live-item:hover {
    background: rgba(255, 192, 203, 0.2);
}

.event-name {
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 4px;
    letter-spacing: 0.02em;
}

.event-meta {
    display: flex;
    justify-content: space-between;
    width: 100%;
    align-items: center;
}

.location {
    font-size: 0.75rem;
    color: var(--accent-color);
}

.date {
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
    color: var(--text-sub);
}

.incoming-section {
    margin-top: 25px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.4);
    border: 1px dashed var(--accent-color);
    border-radius: 15px;
}

/* 興趣分類區塊 */
.hobby-card {
    background: rgba(255, 255, 255, 0.5);
    padding: 15px;
    border-radius: 15px;
    margin-top: 15px;
    border: rgba(128, 128, 128, 0.493) 0.5px solid;
    border-left: 4px solid var(--accent-color);
}

.hobby-card:hover {
    transform: scale(1.005);
}

.list-text {
    font-size: 0.9rem;
    padding-left: 10px;
    border-left: 1px solid #ddd;
    margin: 10px 0;
}

.links {
    text-align: center;
    margin-top: 10px;
    padding-bottom: 30px;
}

.links a {
    margin: 0 15px;
    font-weight: bold;
    font-size: 1rem;
}

#scintro {
    font-size: 0.95rem;
}

/* RWD */
@media (max-width: 400px) {


    .event-name {
        flex: 1;
        margin-bottom: 0;
        padding-right: 15px;
    }

    .event-meta {
        width: auto;
    }

    .date {
        margin-left: 15px;
    }

    p {
        font-size: 12px !important;
    }

    #scintro {
        font-size: 0.85rem;
    }
}

.idol-img-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 10px 0;
}

.pink {
    color: #FF699E;
}

#yorushika .tag,
#anime .tag {
    font-size: 11px;
}