/* Portal Media Site - Coral White Clean Style */

:root {
    --coral: #e2432a;
    --coral2: #d63520;
    --coral-light: #f0583d;
    --coral-pale: #fff0ee;
    --coral-pale2: #fde8e5;
    --rose-grad: linear-gradient(135deg, #e2432a 0%, #e8614d 50%, #d94f3a 100%);
    --bg-page: #f5f5f5;
    --bg-white: #ffffff;
    --bg-off: #fafafa;
    --bg-light: #f8f8f8;
    --border-main: #e8e8e8;
    --border-light: #f0f0f0;
    --txt-dark: #1a1a1a;
    --txt-body: #333333;
    --txt-sub: #666666;
    --txt-mute: #999999;
    --txt-link: #e2432a;
    --txt-white: #ffffff;
    --shadow-card: 0 1px 4px rgba(0,0,0,0.08);
    --shadow-nav: 0 2px 8px rgba(226,67,42,0.2);
    --r1: 2px;
    --r2: 4px;
    --r3: 6px;
    --r4: 8px;
    --trans: all 0.2s ease;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'SimSun', sans-serif;
    background: var(--bg-page);
    color: var(--txt-body);
    line-height: 1.6;
    font-size: 14px;
    overflow-x: hidden;
}

/* ===== HEADER ===== */
.prt-header {
    background: var(--bg-white);
    border-bottom: 1px solid var(--border-main);
    padding: 0.55rem 0;
    box-shadow: var(--shadow-card);
}

.prt-header-row {
    display: flex;
    align-items: center;
    justify-content: center;
}

.prt-brand {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: nowrap;
    justify-content: center;
}

.prt-logo-link {
    text-decoration: none;
    display: inline-block;
}

.prt-site-title {
    font-size: 24px;
    font-weight: 900;
    color: var(--coral);
    letter-spacing: 0.3px;
    font-style: normal;
    text-decoration: none;
    border-bottom: none;
    display: inline-block;
    line-height: 1;
}

.prt-domain-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 4px 14px;
    background: var(--coral-pale);
    border: 1px solid rgba(226,67,42,0.25);
    border-radius: var(--r2);
}

.prt-domain-lbl {
    font-size: 10px;
    font-weight: 700;
    color: var(--coral);
    text-transform: uppercase;
    letter-spacing: 0.6px;
    white-space: nowrap;
}

.prt-domain-val {
    font-size: 17px;
    font-weight: 700;
    color: var(--coral2);
    font-family: 'Courier New', 'Lucida Console', monospace;
    letter-spacing: 0.2px;
}

/* ===== NAV BAR ===== */
.prt-nav-bar {
    background: var(--rose-grad);
    box-shadow: var(--shadow-nav);
}

.prt-nav-panel {
    background: transparent;
    overflow: hidden;
    margin-bottom: 0;
    border: none;
}

.prt-nav-strip {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid rgba(255,255,255,0.12);
}

.prt-nav-strip:last-child {
    border-bottom: none;
}

.prt-zone-lbl {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255,255,255,0.75);
    white-space: nowrap;
    width: 10%;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 5px;
    flex-shrink: 0;
    background: rgba(0,0,0,0.08);
}

.prt-zone-anchors {
    width: 90%;
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    padding: 8px 10px;
    align-items: center;
}

.prt-zone-anchors a {
    display: inline-block;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    padding: 4px 5px;
    border-radius: var(--r1);
    transition: var(--trans);
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    white-space: nowrap;
    text-align: center;
    font-size: 13px;
    width: calc((100% - 28px) / 8);
    flex-shrink: 0;
    flex-grow: 0;
}

.prt-zone-anchors a:hover {
    background: rgba(255,255,255,0.28);
    color: var(--txt-white);
    border-color: rgba(255,255,255,0.4);
}

.prt-zone-anchors a.active {
    background: var(--txt-white);
    color: var(--coral);
    border-color: transparent;
    font-weight: 700;
}

/* ===== LAYOUT ===== */
.prt-wrap {
    max-width: 1080px;
    margin: 0 auto;
    padding: 0 14px;
}

.prt-blk {
    padding: 7px 0;
}

/* ===== SEARCH ===== */
.prt-searchbox {
    background: var(--bg-white);
    border-radius: var(--r3);
    padding: 10px 12px;
    margin-bottom: 7px;
    border: 1px solid var(--border-main);
    box-shadow: var(--shadow-card);
}

.prt-searchbox form {
    display: flex;
    gap: 6px;
    flex-wrap: nowrap;
    align-items: center;
}

.prt-searchbox input[type="text"] {
    flex: 1;
    min-width: 100px;
    padding: 8px 12px;
    border: 1px solid var(--border-main);
    border-radius: var(--r2);
    background: var(--bg-light);
    color: var(--txt-body);
    font-size: 13px;
    transition: var(--trans);
    outline: none;
}

.prt-searchbox input[type="text"]:focus {
    border-color: var(--coral);
    background: var(--bg-white);
    box-shadow: 0 0 0 2px rgba(226,67,42,0.1);
}

.prt-searchbox input[type="text"]::placeholder {
    color: var(--txt-mute);
}

.prt-searchbox button {
    padding: 8px 14px;
    border: none;
    border-radius: var(--r2);
    background: var(--rose-grad);
    color: var(--txt-white);
    font-weight: 600;
    font-size: 12px;
    cursor: pointer;
    transition: var(--trans);
    white-space: nowrap;
    flex-shrink: 0;
}

.prt-searchbox button:hover {
    filter: brightness(1.08);
    box-shadow: 0 2px 8px rgba(226,67,42,0.3);
}

/* ===== HOT TAGS ===== */
.prt-hottags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    list-style: none;
    padding: 10px 12px;
    background: var(--bg-white);
    border-radius: var(--r3);
    margin-bottom: 7px;
    border: 1px solid var(--border-main);
    box-shadow: var(--shadow-card);
}

.prt-taglink {
    padding: 4px 12px;
    background: var(--bg-light);
    border-radius: var(--r2);
    color: var(--txt-sub);
    text-decoration: none;
    font-size: 12px;
    transition: var(--trans);
    border: 1px solid var(--border-main);
}

.prt-taglink:hover {
    background: var(--coral-pale);
    color: var(--coral);
    border-color: rgba(226,67,42,0.3);
}

/* ===== SECTION ===== */
.prt-section {
    margin-bottom: 12px;
}

.prt-sec-head {
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 2px solid var(--border-main);
    position: relative;
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.prt-sec-head::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 36px;
    height: 2px;
    background: var(--coral);
}

.prt-sec-ttl {
    font-size: 17px;
    font-weight: 700;
    margin: 0;
    color: var(--txt-dark);
}

.prt-sec-ttl a {
    color: var(--txt-dark);
    text-decoration: none;
    transition: var(--trans);
}

.prt-sec-ttl a:hover {
    color: var(--coral);
}

/* ===== MEDIA GRID ===== */
.prt-filmgrid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    list-style: none;
    padding: 0;
}

.prt-filmgrid li {
    position: relative;
}

.prt-filmcover {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: var(--r3);
    aspect-ratio: 600 / 350;
    background: var(--bg-light);
    border: 1px solid var(--border-main);
    box-shadow: var(--shadow-card);
    transition: box-shadow 0.22s ease, border-color 0.22s ease;
}

.prt-filmcover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.38s ease;
    display: block;
}

.prt-filmcover:hover {
    box-shadow: 0 4px 16px rgba(226,67,42,0.18);
    border-color: rgba(226,67,42,0.35);
}

.prt-filmcover:hover img {
    transform: scale(1.06);
}

.prt-filmcover::after {
    content: '▶';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    color: var(--txt-white);
    font-size: 22px;
    opacity: 0;
    transition: opacity 0.22s ease, transform 0.22s ease;
    pointer-events: none;
    text-shadow: 0 2px 8px rgba(0,0,0,0.6);
    z-index: 2;
}

.prt-filmcover:hover::after {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.prt-filmcover::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.55) 0%, transparent 55%);
    opacity: 0;
    transition: opacity 0.22s ease;
    z-index: 1;
    pointer-events: none;
}

.prt-filmcover:hover::before {
    opacity: 1;
}

.prt-filmtitle {
    padding: 6px 0 2px;
}

.prt-filmtitle h5 {
    font-size: 12px;
    font-weight: 400;
    margin: 0;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.5;
    color: var(--txt-sub);
}

.prt-filmtitle h5 a {
    color: inherit;
    text-decoration: none;
    transition: var(--trans);
}

.prt-filmtitle h5 a:hover {
    color: var(--coral);
}

/* ===== DETAIL PAGE ===== */
.prt-dtbar {
    line-height: 1.7;
    text-align: center;
    padding: 14px 16px;
    font-size: 16px;
    margin: 10px 0;
    word-break: break-all;
    background: var(--bg-white);
    border-radius: var(--r4);
    border: 1px solid var(--border-main);
    border-top: 3px solid var(--coral);
    box-shadow: var(--shadow-card);
}

.prt-dtbar a {
    color: var(--coral);
    text-decoration: none;
    font-weight: 700;
    margin-right: 8px;
}

.prt-dtbar b {
    color: var(--txt-dark);
}

.prt-infocard {
    font-size: 14px;
    line-height: 1.9;
    padding: 18px 20px;
    background: var(--bg-white);
    border-radius: var(--r4);
    margin: 8px 0;
    border: 1px solid var(--border-main);
    color: var(--txt-sub);
    box-shadow: var(--shadow-card);
}

/* ===== CAPTURES ===== */
.prt-capblock {
    margin: 10px 0;
}

.prt-capblock picture,
.prt-capblock picture img {
    display: block;
    width: 100%;
    border-radius: var(--r3);
}

/* ===== DOWNLOAD BUTTONS ===== */
.prt-actrow {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    padding: 14px;
    margin: 10px 0;
    flex-wrap: wrap;
}

.prt-actbtn {
    display: inline-block;
    padding: 10px 22px;
    border-radius: var(--r2);
    background: var(--rose-grad);
    color: var(--txt-white);
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    border: none;
    cursor: pointer;
    transition: var(--trans);
    letter-spacing: 0.2px;
    box-shadow: 0 2px 8px rgba(226,67,42,0.25);
}

.prt-actbtn:hover {
    filter: brightness(1.08);
    box-shadow: 0 4px 14px rgba(226,67,42,0.38);
    transform: translateY(-1px);
}

/* ===== CLIENT LINKS ===== */
.prt-pclink, .prt-moblink {
    text-align: center;
    padding: 10px;
}

.prt-pclink a, .prt-moblink a {
    color: var(--coral);
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: var(--trans);
}

.prt-pclink a:hover, .prt-moblink a:hover {
    color: var(--coral2);
    text-decoration: underline;
}

/* ===== SHARE ===== */
.prt-sharebar {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    background: var(--bg-white);
    border-radius: var(--r4);
    border: 1px solid var(--border-main);
    margin: 8px 0;
    flex-wrap: nowrap;
    box-shadow: var(--shadow-card);
}

.prt-urlbox {
    display: flex;
    align-items: center;
    gap: 7px;
    flex: 1;
    min-width: 0;
    padding: 7px 10px;
    background: var(--bg-light);
    border-radius: var(--r2);
    border: 1px solid var(--border-main);
    overflow: hidden;
}

.prt-urllabel {
    font-size: 10px;
    font-weight: 700;
    color: var(--coral);
    white-space: nowrap;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.prt-urlval {
    font-size: 11px;
    color: var(--txt-mute);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    flex: 1;
    min-width: 0;
    font-family: 'Courier New', monospace;
}

.prt-copybtn {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 7px 14px;
    background: var(--bg-light);
    color: var(--txt-sub);
    border: 1px solid var(--border-main);
    border-radius: var(--r2);
    cursor: pointer;
    font-size: 12px;
    transition: var(--trans);
    white-space: nowrap;
    flex-shrink: 0;
    font-weight: 500;
}

.prt-copybtn:hover {
    background: var(--coral);
    color: var(--txt-white);
    border-color: var(--coral);
}

.prt-ico { font-size: 13px; }

/* ===== PAGINATION ===== */
.prt-pager {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    justify-content: center;
    padding: 16px 0;
}

.prt-pgbtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 13px;
    border-radius: var(--r2);
    font-size: 13px;
    transition: var(--trans);
    min-width: 34px;
    text-align: center;
    text-decoration: none;
}

.prt-pgnum {
    background: var(--bg-white);
    color: var(--txt-sub);
    border: 1px solid var(--border-main);
}

.prt-pgnum:hover {
    background: var(--coral-pale);
    border-color: rgba(226,67,42,0.35);
    color: var(--coral);
}

.prt-pgcur {
    background: var(--rose-grad);
    color: var(--txt-white);
    border: 1px solid transparent;
    cursor: default;
    font-weight: 700;
}

/* ===== FOOTER ===== */
.prt-flinks-sec { margin-bottom: 7px; }

.prt-flink-box {
    padding: 10px 12px;
    background: var(--bg-white);
    border-radius: var(--r3);
    border: 1px solid var(--border-main);
    box-shadow: var(--shadow-card);
}

.prt-flink-box dl { margin: 0; }
.prt-flink-box dd { display: inline-block; margin: 3px 4px; }

.prt-flink-box a {
    color: var(--txt-mute);
    text-decoration: none;
    transition: var(--trans);
    font-size: 13px;
}

.prt-flink-box a:hover { color: var(--coral); }

.prt-footer {
    padding: 16px 0;
    text-align: center;
    border-top: 1px solid var(--border-main);
    margin-top: 12px;
    background: var(--bg-white);
}

.prt-footer p {
    margin: 4px 0;
    color: var(--txt-mute);
    font-size: 12px;
}

.prt-footer a {
    color: var(--txt-mute);
    text-decoration: none;
    transition: var(--trans);
}

.prt-footer a:hover { color: var(--coral); }

/* ===== VISIBILITY ===== */
.vis-pc { display: block; }
.vis-mob { display: block; }

@media (max-width: 768px) { .vis-pc { display: none !important; } }
@media (min-width: 769px) { .vis-mob { display: none !important; } }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .prt-wrap { padding: 0 8px; }
    .prt-brand { gap: 10px; }
    .prt-site-title { font-size: 19px; }
    .prt-domain-val { font-size: 15px; }
    .prt-domain-lbl { font-size: 9px; }
    .prt-domain-wrap { padding: 3px 10px; gap: 6px; }
    .prt-blk { padding: 5px 0; }

    .prt-filmgrid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
    .prt-filmtitle h5 { font-size: 11px; }
    .prt-sec-ttl { font-size: 15px; }
    .prt-section { margin-bottom: 10px; }

    .prt-nav-strip .prt-zone-lbl {
        width: 15%;
        font-size: 10px;
        padding: 7px 3px;
    }
    .prt-nav-strip .prt-zone-anchors {
        width: 85%;
        gap: 3px;
        padding: 7px 5px;
    }
    .prt-nav-strip .prt-zone-anchors a {
        font-size: 12px;
        padding: 4px 2px;
        width: calc((100% - 9px) / 4);
        flex-shrink: 0;
        flex-grow: 0;
    }

    .prt-searchbox { padding: 8px 10px; }
    .prt-searchbox input[type="text"] { min-width: 80px; font-size: 12px; padding: 7px 10px; }
    .prt-searchbox button { padding: 7px 10px; font-size: 11px; }

    .prt-actrow { padding: 10px 8px; gap: 8px; }
    .prt-actbtn { padding: 9px 16px; font-size: 12px; }

    .prt-sharebar { padding: 8px 10px; gap: 7px; }
    .prt-copybtn { padding: 6px 10px; font-size: 11px; }

    .prt-dtbar { font-size: 14px; padding: 12px 12px; }
    .prt-infocard { padding: 13px 14px; font-size: 13px; }

    .prt-pager { gap: 4px; padding: 12px 0; }
    .prt-pgbtn { padding: 5px 10px; font-size: 12px; min-width: 30px; }

    .prt-hottags { gap: 5px; padding: 8px 10px; }
    .prt-taglink { padding: 3px 10px; font-size: 11px; }
}

@media (max-width: 480px) {
    .prt-site-title { font-size: 17px; }
    .prt-domain-val { font-size: 14px; }

    .prt-nav-strip .prt-zone-lbl { font-size: 10px; width: 15%; padding: 6px 2px; }
    .prt-nav-strip .prt-zone-anchors { width: 85%; gap: 3px; padding: 6px 3px; }
    .prt-nav-strip .prt-zone-anchors a { font-size: 12px; padding: 3px 1px; width: calc((100% - 9px) / 4); }

    .prt-filmgrid { grid-template-columns: repeat(2, 1fr); gap: 7px; }
    .prt-filmtitle h5 { font-size: 11px; }
    .prt-actbtn { padding: 8px 12px; font-size: 11px; }
}

/* Clearfix */
.cf::after { content: ""; display: table; clear: both; }
img[data-original] { background: var(--bg-light); }
