/* Professional Red Theme - Video CMS Template */

:root {
    --clr-main: #c62828;
    --clr-main-dk: #b71c1c;
    --clr-main-lt: #e53935;
    --clr-accent: #ef9a9a;
    --clr-accent2: #ffebee;
    --clr-text: #212121;
    --clr-text-sec: #555f6e;
    --clr-text-muted: #8a9ab0;
    --clr-bg: #f8f4f4;
    --clr-bg-card: #ffffff;
    --clr-border: #e8d0d0;
    --clr-border-lt: #f5e8e8;
    --shadow-xs: 0 1px 3px rgba(198,40,40,0.08);
    --shadow-sm: 0 2px 8px rgba(198,40,40,0.10);
    --shadow-md: 0 4px 16px rgba(198,40,40,0.13);
    --grad-main: linear-gradient(135deg, #c62828 0%, #e53935 100%);
    --grad-accent: linear-gradient(135deg, #e53935 0%, #ef9a9a 100%);
    --rd: 6px;
    --rd-sm: 4px;
    --tr: all 0.25s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    background: var(--clr-bg);
    color: var(--clr-text);
    line-height: 1.6;
    font-size: 14px;
    overflow-x: hidden;
}

/* ===== SITE HEADER ===== */
.site-header {
    background: var(--clr-bg-card);
    border-bottom: 3px solid var(--clr-main);
    padding: 12px 0;
    box-shadow: var(--shadow-sm);
}

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

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

.brand-logo {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: var(--tr);
}

.brand-logo:hover {
    opacity: 0.85;
}

.brand-logo::before {
    content: '';
    display: inline-block;
    width: 6px;
    height: 32px;
    background: var(--grad-main);
    border-radius: 3px;
    flex-shrink: 0;
}

.brand-name {
    font-size: 26px;
    font-weight: 800;
    color: var(--clr-main-dk);
    letter-spacing: 1px;
}

.domain-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 14px;
    background: var(--clr-accent2);
    border: 1px solid var(--clr-accent);
    border-radius: 20px;
}

.domain-tag {
    font-size: 11px;
    font-weight: 700;
    color: var(--clr-main);
    background: var(--clr-main);
    color: #fff;
    padding: 1px 6px;
    border-radius: 10px;
}

.domain-addr {
    font-size: 15px;
    font-weight: 700;
    color: var(--clr-main);
    font-family: 'Courier New', monospace;
}

/* ===== LAYOUT ===== */
.container {
    max-width: 1060px;
    margin: 0 auto;
    padding: 0 14px;
}

.content {
    padding: 12px 0;
}

/* ===== NAVIGATION GRID ===== */
.nav-wrapper {
    background: var(--clr-bg-card);
    border: 1px solid var(--clr-border);
    border-radius: var(--rd);
    overflow: hidden;
    margin-bottom: 12px;
    box-shadow: var(--shadow-xs);
}

.nav-section {
    display: flex;
    align-items: stretch;
    border-bottom: 1px solid var(--clr-border-lt);
}

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

.nav-section-label {
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    background: var(--grad-main);
    white-space: nowrap;
    width: 9%;
    min-width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px 4px;
    flex-shrink: 0;
    text-align: center;
    writing-mode: horizontal-tb;
    letter-spacing: 0.5px;
}

.nav-section-links {
    width: 91%;
    display: flex;
    flex-wrap: nowrap;
    padding: 6px 8px;
    align-items: center;
    gap: 5px;
}

.nav-section-links a {
    display: inline-block;
    color: var(--clr-text-sec);
    text-decoration: none;
    padding: 5px 0;
    border-radius: var(--rd-sm);
    transition: var(--tr);
    background: var(--clr-bg);
    border: 1px solid var(--clr-border-lt);
    white-space: nowrap;
    text-align: center;
    font-size: 13px;
    width: calc((100% - 35px) / 8);
    flex-shrink: 0;
    flex-grow: 0;
}

.nav-section-links a:hover {
    background: var(--clr-main-lt);
    color: #fff;
    border-color: var(--clr-main-lt);
}

.nav-section-links a.active {
    background: var(--clr-main);
    color: #fff;
    border-color: var(--clr-main);
    font-weight: 600;
}

/* ===== SEARCH BOX ===== */
.search-wrap {
    background: var(--clr-bg-card);
    border-radius: var(--rd);
    padding: 12px 14px;
    margin-bottom: 12px;
    border: 1px solid var(--clr-border);
    box-shadow: var(--shadow-xs);
}

.search-wrap form {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    align-items: center;
}

.search-wrap input[type="text"] {
    flex: 1;
    min-width: 160px;
    padding: 9px 13px;
    border: 1px solid var(--clr-border);
    border-radius: var(--rd-sm);
    background: var(--clr-bg);
    color: var(--clr-text);
    font-size: 13px;
    transition: var(--tr);
    outline: none;
    font-family: inherit;
}

.search-wrap input[type="text"]:focus {
    border-color: var(--clr-main);
    background: #fff;
    box-shadow: 0 0 0 3px rgba(198,40,40,0.1);
}

.search-wrap input[type="text"]::placeholder {
    color: var(--clr-text-muted);
}

.search-wrap button {
    padding: 9px 16px;
    border: none;
    border-radius: var(--rd-sm);
    background: var(--grad-main);
    color: #fff;
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: var(--tr);
    white-space: nowrap;
    flex-shrink: 0;
    font-family: inherit;
}

.search-wrap button:hover {
    background: var(--clr-main-dk);
    box-shadow: var(--shadow-sm);
}

/* ===== HOT TAGS ===== */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    list-style: none;
    padding: 12px 14px;
    background: var(--clr-bg-card);
    border-radius: var(--rd);
    margin-bottom: 12px;
    border: 1px solid var(--clr-border);
    box-shadow: var(--shadow-xs);
}

.tag-item {
    padding: 4px 12px;
    background: var(--clr-accent2);
    border-radius: 14px;
    color: var(--clr-main);
    text-decoration: none;
    font-size: 12px;
    transition: var(--tr);
    border: 1px solid #ffcdd2;
}

.tag-item:hover {
    background: var(--clr-main);
    color: #fff;
    border-color: var(--clr-main);
}

/* ===== SECTION TITLES ===== */
.section-block {
    margin-bottom: 20px;
}

.section-head {
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--clr-border-lt);
    position: relative;
    display: flex;
    align-items: center;
    gap: 8px;
}

.section-head::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 56px;
    height: 2px;
    background: var(--grad-main);
}

.section-title {
    font-size: 18px;
    font-weight: 700;
    margin: 0;
    color: var(--clr-text);
}

.section-title a {
    color: var(--clr-text);
    text-decoration: none;
    transition: var(--tr);
}

.section-title a:hover {
    color: var(--clr-main);
}

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

.film-grid li {
    position: relative;
}

.film-thumb {
    display: block;
    position: relative;
    overflow: hidden;
    border-radius: var(--rd);
    aspect-ratio: 16 / 9;
    background: var(--clr-bg);
    border: 1px solid var(--clr-border);
    box-shadow: var(--shadow-xs);
    transition: var(--tr);
}

.film-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.film-thumb:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--clr-accent);
}

.film-thumb:hover img {
    transform: scale(1.06);
}

.film-thumb::before {
    content: '▶';
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: rgba(255,255,255,0.9);
    background: rgba(198,40,40,0.35);
    opacity: 0;
    transition: opacity 0.25s ease;
    z-index: 1;
}

.film-thumb:hover::before {
    opacity: 1;
}

.film-meta {
    padding: 8px 2px;
}

.film-meta h5 {
    margin: 0;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
}

.film-meta h5 a {
    color: var(--clr-text-sec);
    text-decoration: none;
    transition: var(--tr);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.film-meta h5 a:hover {
    color: var(--clr-main);
}

/* ===== VIDEO PLAYER ===== */
.video-container {
    width: 100%;
    height: 640px;
    max-height: 640px;
    margin-bottom: 18px;
    background: #000;
    border-radius: var(--rd);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    position: relative;
}

.video-container iframe,
.video-container video,
.video-container #video-container {
    width: 100%;
    height: 100%;
    border: none;
}

.MacPlayer {
    background: #000;
    border-radius: var(--rd);
    overflow: hidden;
    margin-bottom: 14px;
    box-shadow: var(--shadow-md);
}

/* ===== TORRENT CAPTURE ===== */
.torrent-capture-grid {
    width: 100%;
}

.torrent-capture-grid picture {
    display: block;
    width: 100%;
}

.torrent-capture-grid img,
.torrent-capture-grid .img_item img {
    width: 100%;
    height: auto;
    border-radius: var(--rd-sm);
    border: 1px solid var(--clr-border);
    display: block;
}

.torrent-capture-grid .img_item {
    width: 100%;
}

/* ===== DOWNLOAD BUTTONS ===== */
.action-btns {
    text-align: center;
    padding: 16px;
    background: var(--clr-bg-card);
    border-radius: var(--rd);
    margin: 14px 0;
    border: 1px solid var(--clr-border);
    box-shadow: var(--shadow-xs);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
    gap: 10px;
}

.btn-action {
    display: inline-block;
    padding: 10px 22px;
    background: var(--grad-main);
    color: #fff;
    text-decoration: none;
    border-radius: var(--rd-sm);
    font-weight: 600;
    font-size: 14px;
    transition: var(--tr);
    border: 2px solid transparent;
    white-space: nowrap;
    flex-shrink: 0;
    cursor: pointer;
    font-family: inherit;
}

.btn-action:hover {
    background: var(--clr-main-dk);
    box-shadow: var(--shadow-sm);
}

/* ===== SHARE SECTION ===== */
.share-section {
    background: var(--clr-bg-card);
    border-radius: var(--rd);
    padding: 16px 18px;
    margin: 16px 0;
    border: 1px solid var(--clr-border);
    box-shadow: var(--shadow-xs);
    display: flex;
    align-items: center;
    gap: 12px;
}

.share-url-display {
    background: var(--clr-bg);
    border: 1px solid var(--clr-border);
    border-radius: var(--rd-sm);
    padding: 10px 13px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.share-label {
    font-weight: 700;
    font-size: 12px;
    color: var(--clr-main);
    white-space: nowrap;
    flex-shrink: 0;
    background: var(--clr-accent2);
    padding: 2px 8px;
    border-radius: 10px;
    border: 1px solid #ffcdd2;
}

.share-url {
    font-size: 12px;
    color: var(--clr-text-sec);
    font-family: 'Courier New', monospace;
    word-break: break-all;
    flex: 1;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
}

.share-copy-btn {
    padding: 10px 20px;
    background: var(--grad-main);
    color: #fff;
    border: 2px solid transparent;
    border-radius: var(--rd-sm);
    font-weight: 600;
    font-size: 13px;
    cursor: pointer;
    transition: var(--tr);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    white-space: nowrap;
    flex-shrink: 0;
    font-family: inherit;
}

.share-copy-btn:hover {
    background: var(--clr-main-dk);
    box-shadow: var(--shadow-sm);
}

.share-icon {
    font-size: 16px;
}

/* ===== PAGINATION ===== */
.page_info_div {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
    flex-wrap: wrap;
    padding: 18px 0;
}

.a_page_info,
.page_info_focus {
    display: inline-block;
    padding: 7px 13px;
    border-radius: var(--rd-sm);
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: var(--tr);
    min-width: 36px;
    text-align: center;
}

.a_page_info {
    background: var(--clr-bg-card);
    color: var(--clr-text);
    border: 1px solid var(--clr-border);
}

.a_page_info:hover {
    background: var(--clr-main);
    border-color: var(--clr-main);
    color: #fff;
}

.page_info_focus {
    background: var(--grad-main);
    color: #fff;
    border: 1px solid var(--clr-main);
    cursor: default;
}

/* ===== FOOTER ===== */
.site-footer {
    padding: 22px 0;
    text-align: center;
    border-top: 1px solid var(--clr-border);
    margin-top: 28px;
    background: var(--clr-bg-card);
}

.site-footer p {
    margin: 6px 0;
    color: var(--clr-text-muted);
    font-size: 12px;
}

.site-footer a {
    color: var(--clr-text-muted);
    text-decoration: none;
    transition: var(--tr);
}

.site-footer a:hover {
    color: var(--clr-main);
}

.friendly-links {
    padding: 12px 14px;
    background: var(--clr-bg-card);
    border-radius: var(--rd);
    border: 1px solid var(--clr-border);
}

.friendly-links dl {
    margin: 0;
}

.friendly-links dd {
    display: inline-block;
    margin: 3px 4px;
}

.friendly-links a {
    color: var(--clr-main-lt);
    text-decoration: none;
    font-size: 13px;
    transition: var(--tr);
}

.friendly-links a:hover {
    color: var(--clr-main-dk);
    text-decoration: underline;
}

/* Backward-compat aliases used in PHP templates */
.header { background: var(--clr-bg-card); border-bottom: 3px solid var(--clr-main); padding: 12px 0; box-shadow: var(--shadow-sm); }
.header-content { display: flex; justify-content: center; align-items: center; }
.site-branding { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; justify-content: center; }
.logo { text-decoration: none; display: inline-flex; align-items: center; gap: 10px; transition: var(--tr); }
.logo:hover { opacity: 0.85; }
.logo::before { content: ''; display: inline-block; width: 6px; height: 32px; background: var(--grad-main); border-radius: 3px; flex-shrink: 0; }
.site-name { font-size: 26px; font-weight: 800; color: var(--clr-main-dk); letter-spacing: 1px; }
.domain-info { display: inline-flex; align-items: center; gap: 6px; padding: 5px 14px; background: var(--clr-accent2); border: 1px solid var(--clr-accent); border-radius: 20px; }
.domain-label { font-size: 11px; font-weight: 700; color: #fff; background: var(--clr-main); padding: 1px 6px; border-radius: 10px; }
.domain-url { font-size: 15px; font-weight: 700; color: var(--clr-main); font-family: 'Courier New', monospace; }

.nav-container { background: var(--clr-bg-card); border: 1px solid var(--clr-border); border-radius: var(--rd); overflow: hidden; margin-bottom: 12px; box-shadow: var(--shadow-xs); }
.nav-row { display: flex; align-items: stretch; border-bottom: 1px solid var(--clr-border-lt); }
.nav-row:last-child { border-bottom: none; }
.nav-row .nav-label { font-size: 12px; font-weight: 700; color: #fff; background: var(--grad-main); white-space: nowrap; width: 9%; min-width: 60px; display: flex; align-items: center; justify-content: center; padding: 8px 4px; flex-shrink: 0; text-align: center; }
.nav-row .nav-links { width: 91%; display: flex; flex-wrap: nowrap; padding: 6px 8px; align-items: center; gap: 5px; }
.nav-row .nav-links a { display: inline-block; color: var(--clr-text-sec); text-decoration: none; padding: 5px 0; border-radius: var(--rd-sm); transition: var(--tr); background: var(--clr-bg); border: 1px solid var(--clr-border-lt); white-space: nowrap; text-align: center; font-size: 13px; width: calc((100% - 35px) / 8); flex-shrink: 0; flex-grow: 0; }
.nav-row .nav-links a:hover { background: var(--clr-main-lt); color: #fff; border-color: var(--clr-main-lt); }
.nav-row .nav-links a.active { background: var(--clr-main); color: #fff; border-color: var(--clr-main); font-weight: 600; }

.seach { background: var(--clr-bg-card); border-radius: var(--rd); padding: 12px 14px; margin-bottom: 12px; border: 1px solid var(--clr-border); box-shadow: var(--shadow-xs); }
.seach form { display: flex; gap: 8px; flex-wrap: nowrap; align-items: center; }
.seach input[type="text"] { flex: 1; min-width: 160px; padding: 9px 13px; border: 1px solid var(--clr-border); border-radius: var(--rd-sm); background: var(--clr-bg); color: var(--clr-text); font-size: 13px; transition: var(--tr); outline: none; font-family: inherit; }
.seach input[type="text"]:focus { border-color: var(--clr-main); background: #fff; box-shadow: 0 0 0 3px rgba(198,40,40,0.1); }
.seach input[type="text"]::placeholder { color: var(--clr-text-muted); }
.seach button { padding: 9px 16px; border: none; border-radius: var(--rd-sm); background: var(--grad-main); color: #fff; font-weight: 600; font-size: 13px; cursor: pointer; transition: var(--tr); white-space: nowrap; flex-shrink: 0; font-family: inherit; }
.seach button:hover { background: var(--clr-main-dk); box-shadow: var(--shadow-sm); }

.grid-container { display: flex; flex-wrap: wrap; gap: 7px; list-style: none; padding: 12px 14px; background: var(--clr-bg-card); border-radius: var(--rd); margin-bottom: 12px; border: 1px solid var(--clr-border); box-shadow: var(--shadow-xs); }
.grid-item { padding: 4px 12px; background: var(--clr-accent2); border-radius: 14px; color: var(--clr-main); text-decoration: none; font-size: 12px; transition: var(--tr); border: 1px solid #ffcdd2; }
.grid-item:hover { background: var(--clr-main); color: #fff; border-color: var(--clr-main); }

.mhlleset { margin-bottom: 20px; }
.mhlleset-main { }
.mhlleset-heading { margin-bottom: 12px; padding-bottom: 10px; border-bottom: 2px solid var(--clr-border-lt); position: relative; }
.mhlleset-heading::after { content: ''; position: absolute; bottom: -2px; left: 0; width: 56px; height: 2px; background: var(--grad-main); }
.mhlleset-title { font-size: 18px; font-weight: 700; margin: 0; color: var(--clr-text); }
.mhlleset-title a { color: var(--clr-text); text-decoration: none; transition: var(--tr); }
.mhlleset-title a:hover { color: var(--clr-main); }

.thumbnail2-group { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; list-style: none; padding: 0; }
.thumbnail2-group li { position: relative; }
.thumbnail2 { display: block; position: relative; overflow: hidden; border-radius: var(--rd); aspect-ratio: 16 / 9; background: var(--clr-bg); border: 1px solid var(--clr-border); box-shadow: var(--shadow-xs); transition: var(--tr); }
.thumbnail2 img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.thumbnail2:hover { box-shadow: var(--shadow-md); border-color: var(--clr-accent); }
.thumbnail2:hover img { transform: scale(1.06); }
.thumbnail2::before { content: '▶'; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 28px; color: rgba(255,255,255,0.9); background: rgba(198,40,40,0.35); opacity: 0; transition: opacity 0.25s ease; z-index: 1; }
.thumbnail2:hover::before { opacity: 1; }

.video-info { padding: 8px 2px; }
.video-info h5 { margin: 0; font-size: 13px; font-weight: 500; line-height: 1.4; }
.video-info h5 a { color: var(--clr-text-sec); text-decoration: none; transition: var(--tr); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.video-info h5 a:hover { color: var(--clr-main); }

.download { text-align: center; padding: 16px; background: var(--clr-bg-card); border-radius: var(--rd); margin: 14px 0; border: 1px solid var(--clr-border); box-shadow: var(--shadow-xs); display: flex; justify-content: center; align-items: center; flex-wrap: nowrap; gap: 10px; }
.down_btn { display: inline-block; padding: 10px 22px; background: var(--grad-main); color: #fff; text-decoration: none; border-radius: var(--rd-sm); font-weight: 600; font-size: 14px; transition: var(--tr); border: 2px solid transparent; white-space: nowrap; flex-shrink: 0; cursor: pointer; font-family: inherit; }
.down_btn:hover { background: var(--clr-main-dk); box-shadow: var(--shadow-sm); }

.footer { padding: 22px 0; text-align: center; border-top: 1px solid var(--clr-border); margin-top: 28px; background: var(--clr-bg-card); }
.footer p { margin: 6px 0; color: var(--clr-text-muted); font-size: 12px; }
.footer a { color: var(--clr-text-muted); text-decoration: none; transition: var(--tr); }
.footer a:hover { color: var(--clr-main); }
.txtguanggao2 { padding: 12px 14px; background: var(--clr-bg-card); border-radius: var(--rd); border: 1px solid var(--clr-border); }
.txtguanggao2 dl { margin: 0; }
.txtguanggao2 dd { display: inline-block; margin: 3px 4px; }
.txtguanggao2 a { color: var(--clr-main-lt); text-decoration: none; font-size: 13px; transition: var(--tr); }
.txtguanggao2 a:hover { color: var(--clr-main-dk); text-decoration: underline; }

/* ===== HIDE UTILITIES ===== */
.hide_mobile { display: block; }
.hide_pc { display: block; }

@media (min-width: 769px) {
    .hide_pc { display: none !important; }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .container { padding: 0 8px; }
    .header, .site-header { padding: 10px 0; }
    .brand-wrap, .site-branding { gap: 10px; }
    .brand-name, .site-name { font-size: 20px; }
    .domain-badge, .domain-info { padding: 4px 10px; }
    .domain-addr, .domain-url { font-size: 13px; }
    .content { padding: 8px 0; }

    .nav-row .nav-label,
    .nav-section-label { width: 13%; min-width: 36px; font-size: 10px; padding: 6px 2px; }
    .nav-row .nav-links,
    .nav-section-links { width: 87%; flex-wrap: wrap; gap: 4px; padding: 6px 5px; }
    .nav-row .nav-links a,
    .nav-section-links a { width: calc((100% - 12px) / 4); font-size: 13px; padding: 5px 0; }

    .thumbnail2-group { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .film-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .video-info h5, .film-meta h5 { font-size: 12px; }
    .mhlleset { margin-bottom: 14px; }
    .mhlleset-title { font-size: 16px; }

    .video-container { height: 56.25vw; max-height: 380px; margin-bottom: 12px; }
    .down_btn, .btn-action { padding: 9px 14px; font-size: 12px; }
    .download, .action-btns { padding: 12px 8px; gap: 8px; }

    .share-section { padding: 10px 12px; gap: 8px; }
    .share-url-display { padding: 8px 10px; }
    .share-label { font-size: 11px; }
    .share-url { font-size: 11px; }
    .share-copy-btn { padding: 9px 12px; font-size: 12px; }
    .share-icon { font-size: 15px; }

    .page_info_div { padding: 13px 0; gap: 4px; }
    .a_page_info, .page_info_focus { padding: 6px 11px; font-size: 12px; min-width: 32px; }
    .footer, .site-footer { padding: 18px 0; margin-top: 18px; }

    .hide_mobile { display: none !important; }
}

@media (max-width: 480px) {
    .brand-name, .site-name { font-size: 18px; }
    .nav-row .nav-label, .nav-section-label { width: 14%; min-width: 32px; font-size: 9px; padding: 5px 2px; }
    .nav-row .nav-links, .nav-section-links { width: 86%; gap: 3px; padding: 5px 4px; }
    .nav-row .nav-links a, .nav-section-links a { font-size: 12px; padding: 4px 0; width: calc((100% - 9px) / 4); }
    .seach input[type="text"], .search-wrap input[type="text"] { min-width: 80px; padding: 8px 10px; font-size: 12px; }
    .seach button, .search-wrap button { padding: 8px 8px; font-size: 11px; }
    .mhlleset-title { font-size: 15px; }
    .down_btn, .btn-action { padding: 8px 10px; font-size: 11px; }
    .download, .action-btns { gap: 5px; padding: 10px 4px; }
    .share-section { padding: 8px 8px; gap: 6px; }
    .share-copy-btn { padding: 8px 9px; font-size: 11px; }
}

/* ===== MISC ===== */
img[data-original] { background: var(--clr-bg); }
.clearfix::after { content: ""; display: table; clear: both; }

#ddab { }
.pd5 { }
.p_c { }
.first { }