
body { line-height: 20px; }

/* ヘッダ（ロゴ 24px / tagline は マルミーニャ / em は --text）と
   .panel-head の字面は theme.css の定義そのまま。ここでは上書きしない */

/* ── Page wrapper ────────────────────────────────────────────── */
.page {
    max-width: 960px;
    margin: 0 auto;
    padding: 24px 20px;
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 20px;
}

/* ── Left column ─────────────────────────────────────────────── */
.col-left {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ── Right column ────────────────────────────────────────────── */
.col-right {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* ── Icon block ──────────────────────────────────────────────── */
.icon-wrap {
    display: flex;
    justify-content: center;
    padding: 12px;
    border-bottom: 1px solid var(--border2);
}

.profile-icon {
    box-sizing: content-box;   /* 中身が 160px（TENOKUN_ICON 32x32 の 5 倍） */
    width: 160px;
    height: 160px;
    border: 1px solid var(--border);
    display: block;
    object-fit: cover;
}

/* ── Status chip ─────────────────────────────────────────────── */
.status-row {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-bottom: 1px solid var(--border2);
    font-size: 12px;
    line-height: 16px;
    color: var(--sub);
}
.status-dot {
    width: 7px;
    height: 7px;
    background: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
    animation: pulse 2s step-end infinite;
}
@keyframes pulse {
    0%,100% { opacity: 1; }
    50%      { opacity: 0.2; }
}

/* ── Tag list（テーマより大きいサイズで使用） ─────────────────── */
.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}
.tag {
    font-size: 12px;
}

/* ── Info table ──────────────────────────────────────────────── */
.info-table {
    width: 100%;
    border-collapse: collapse;
}
.info-table tr {
    border-bottom: 1px solid var(--border2);
}
.info-table tr:last-child {
    border-bottom: none;
}
.info-table td {
    padding: 5px 0;
    vertical-align: top;
    font-size: 12px;
}
.info-table .key {
    font-family: var(--font-heading);
    font-size: 8px;
    line-height: 8px;
    padding-top: 11px;   /* 20px の行の中で 8px の字を縦中央に置く */
    color: var(--accent);
    letter-spacing: 1px;
    white-space: nowrap;
    padding-right: 10px;
    min-width: 80px;
}
.info-table .val {
    color: var(--text);
    font-size: 12px;
    line-height: 20px;
}
.info-table .val-ja {
    color: var(--sub);
    font-size: 12px;
    line-height: 20px;
    margin-top: 2px;
}

/* ── LIKES の見出し ─────────────────────────────────────────── */
.like-head {
    font-size: 12px;
    line-height: 16px;
    letter-spacing: 2px;
    color: var(--accent);
    margin-bottom: 8px;
}

/* ── Section divider ──────────────────────────────────────────── */
.divider {
    border: none;
    border-top: 1px solid var(--border2);
    margin: 10px 0;
}

/* ── Bio text ────────────────────────────────────────────────── */
.bio-en {
    font-size: 12px;
    color: var(--text);
    line-height: 20px;
}
.bio-ja {
    font-size: 12px;
    color: var(--sub);
    line-height: 20px;
    margin-top: 8px;
}

/* ── Like list ───────────────────────────────────────────────── */
.like-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3px 12px;
}
.like-item {
    font-size: 12px;
    color: var(--sub);
    display: flex;
    align-items: center;
    gap: 5px;
}
.like-item::before {
    content: '\25B8';
    color: var(--accent);
    flex-shrink: 0;
}

/* ── Comment block ───────────────────────────────────────────── */
.comment-box {
    border-left: 3px solid var(--accent);
    padding: 8px 10px;
    background: var(--bg);
    font-size: 12px;
    line-height: 16px;
    color: var(--text);
}
.comment-box .ja {
    font-size: 12px;
    line-height: 16px;
    color: var(--sub);
    margin-top: 4px;
}

/* ── Blink cursor ─────────────────────────────────────────────── */
.cursor {
    display: inline-block;
    width: 8px;
    height: 12px;
    background: var(--accent);
    vertical-align: middle;
    margin-left: 2px;
    animation: blink 1s step-end infinite;
}
@keyframes blink {
    0%,100% { opacity: 1; }
    50%      { opacity: 0; }
}

/* ── Footer ──────────────────────────────────────────────────── */
footer {
    border-top: 1px solid var(--border);
    padding: 8px 20px;
    font-size: 12px;
    line-height: 16px;
    color: var(--muted);
    letter-spacing: 1px;
    display: flex;
    justify-content: space-between;
}

/* ── Responsive ──────────────────────────────────────────────── */
@media (max-width: 680px) {
    .page {
        grid-template-columns: 1fr;
    }
}
