/* TEMP/web/css/portal.css */
.portal-header {
    height: 220px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-bottom: 1px solid #ccc;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding: 20px 40px;
    position: relative;}
.header-logo {
    position: absolute;
    bottom: 10px;
    right: 10px;
    height: 80px;
    width: auto;}
.header-search {
    flex: 1;
    max-width: 600px;}
.search-input {
    width: 100%;
    padding: 10px 20px;
    border: 1px solid #bdc3c7;
    border-radius: 20px;
    font-size: 0.95rem;
    background: rgba(255,255,255,0.9);
    outline: none;}
.header-nav {
    display: flex;
    gap: 12px;
    position: absolute; top: 20px; right: 40px;}
.nav-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: #333;
    color: white;
    cursor: pointer;
    font-size: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.1s;}
.nav-btn-create { background: #28a745; }
.nav-btn:hover { transform: scale(1.1); }
.portal-main {
    max-width: 1200px;
    display: flex; 
    gap: 40px;
    margin: 0 auto;
    padding: 30px 40px;}
.top-section { flex: 1; }
.top-title {
    font-size: 1.1rem;
    margin-bottom: 15px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 8px;}
.top-list { margin-bottom: 10px; }
.top-more {
    font-size: 0.85rem;
    color: #3498db;
    text-decoration: none;}
/* ... */
.page-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 30px 40px;}
.list-items {
    display: flex;
    flex-direction: column;
    gap: 10px;}
.list-item {
    background: #fff;
    border: 1px solid #ecf0f1;
    border-radius: 8px;
    padding: 14px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: box-shadow 0.15s;}
.list-item:hover { box-shadow: 0 3px 12px rgba(0,0,0,0.07); }
.list-item-left {
    display: flex;
    align-items: center;
    gap: 14px;}
.list-icon-box {
    width: 36px;
    height: 36px;
    border-radius: 6px;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    flex-shrink: 0;}
.list-favicon {
    width: 24px;
    height: 24px;
    object-fit: contain;}
.list-title {
    font-size: 1rem;
    font-weight: 600;
    color: #2c3e50;
    text-decoration: none;}
.list-title:hover { color: #3498db; }
.list-subtitle {
    font-size: 0.8rem;
    color: #95a5a6;
    margin-top: 2px;}
.list-author {
    font-size: 0.8rem;
    margin-top: 2px;}
.list-author a {
    color: #7f8c8d;
    text-decoration: none;}
.list-author a:hover {
    text-decoration: underline;}
.list-item-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;}
.list-date {
    font-size: 0.8rem;
    color: #bdc3c7;}
.list-badge {
    font-size: 0.78rem;
    color: #555;
    background: #f1f3f4;
    padding: 3px 10px;
    border-radius: 20px;
    cursor: help;}
.list-badge b { color: #2c3e50; }
.list-empty {
    text-align: center;
    color: #bdc3c7;
    padding: 60px 0;}
@media (max-width: 900px) {
    .portal-header {
        flex-direction: column;
        height: auto;
        align-items: stretch;
        padding: 15px 20px;
        gap: 12px;}
    .header-nav    { position: static; }
    .header-search { position: static; max-width: 100%; }
    .header-logo   { height: 60px; }
    .portal-main   { flex-direction: column; padding: 20px; }
    .page-main { padding: 20px; }
    .list-item { flex-direction: column; align-items: flex-start; gap: 10px; }
    .list-item-right { width: 100%; border-top: 1px solid #f0f0f0; padding-top: 8px; justify-content: flex-end; } }