/* Match news.php: system type, thin borders, dense cards */
.dl-hero {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 12px;
    align-items: start;
    margin-bottom: 20px;
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 8px;
    overflow: visible;
}
.dl-hero .nx-hero-body { padding: 14px 16px 16px; }
.dl-hero .nx-hero-title {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin: 6px 0 8px;
    color: #0f0f0f;
}
@media (min-width: 768px) {
    .dl-hero .nx-hero-title { font-size: 26px; }
}
.dl-hero .nx-hero-dek {
    font-size: 13px;
    color: #505050;
    line-height: 1.5;
    margin: 0 0 8px;
}
.dl-mark {
    width: 72px;
    height: 72px;
    border-radius: 8px;
    border: 1px solid #e8e8e8;
    margin: 14px 14px 0 0;
    background: #fff;
}
.nx-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #065f46;
    line-height: 1;
}
.nx-meta {
    font-size: 13px;
    color: #374151;
    font-weight: 500;
    margin: 0;
    line-height: 1.5;
}
.dl-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    vertical-align: middle;
    line-height: 0;
}
.dl-logo svg,
.dl-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.dl-logo--img {
    overflow: hidden;
    border-radius: 50%;
    background: #0b0b0b;
}
.dl-brand {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    vertical-align: middle;
}
.dl-step-logo {
    display: flex;
    gap: 6px;
    align-items: flex-start;
    justify-content: flex-start;
    padding-top: 2px;
    min-width: 32px;
    width: max-content;
}
.dl-step-note {
    margin: 4px 0 0;
    font-size: 12px;
    color: #767676;
    font-weight: 500;
    line-height: 1.45;
}
.nx-section-nav button .dl-logo,
.nx-section-nav button svg { margin: 0; }
.dl-install {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 12px;
    background: #065f46;
    color: #fff;
    border: 0;
    border-radius: 6px;
    padding: 10px 18px;
    min-height: 44px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
}
.dl-install-arrow {
    display: block;
    width: 10px;
    height: 12px;
    flex-shrink: 0;
    animation: dlArrowBounce 1.1s ease-in-out infinite;
}
@keyframes dlArrowBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(3px); }
}
@media (prefers-reduced-motion: reduce) {
    .dl-install-arrow { animation: none; }
}
.dl-install[hidden] { display: none !important; }
#dl-how {
    scroll-margin-top: calc(var(--main-header-height, 72px) + 12px);
}
.dl-ok {
    border: 1px solid #bbf7d0;
    background: #f0fdf4;
    color: #166534;
    padding: 10px 12px;
    margin-bottom: 16px;
    font-size: 13px;
}
.nx-section-nav {
    display: flex;
    gap: 4px;
    flex-wrap: wrap;
    margin-bottom: 12px;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}
.nx-section-nav button {
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 8px 12px;
    border-radius: 999px;
    color: #505050;
    background: #f5f5f5;
    min-height: 36px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 0;
    cursor: pointer;
}
.nx-section-nav button[aria-selected="true"] {
    background: #065f46;
    color: #fff;
}
.nx-label {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #0f0f0f;
    border-top: 2px solid #0f0f0f;
    padding-top: 10px;
    margin: 20px 0 10px;
}
.dl-panel .nx-hero-dek {
    font-size: 14px;
    color: #505050;
    margin: 0 0 10px;
    line-height: 1.7;
    overflow: visible;
    white-space: normal;
}
.dl-steps {
    display: block;
    margin: 0 0 8px;
    padding: 0;
    list-style: none;
    border: 1px solid #e8e8e8;
}
.dl-steps .nx-trend-item {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 12px;
    padding: 12px 14px;
    border-bottom: 1px solid #f0f0f0;
    align-items: start;
    min-height: 52px;
}
.dl-steps .nx-trend-item:last-child { border-bottom: none; }
.dl-steps .nx-trend-num {
    font-size: 22px;
    font-weight: 700;
    color: #065f46;
    line-height: 1;
    padding-top: 2px;
    min-width: 28px;
}
.dl-steps .nx-trend-title {
    font-size: 14px;
    font-weight: 600;
    line-height: 1.5;
    margin: 0;
    overflow: visible;
    white-space: normal;
}
.dl-steps .nx-trend-title .dl-brand { font-weight: 600; }
.dl-step-note {
    overflow: visible;
    white-space: normal;
}
#trPwaDownloadPage,
#trPwaDownloadPage .nx-hero-main,
#trPwaDownloadPage .nx-content {
    overflow: visible;
}
.dl-share {
    display: inline-flex;
    vertical-align: -2px;
    color: #065f46;
    margin-left: 4px;
}
.dl-store { margin-bottom: 24px; }
.dl-store .nx-latest-grid {
    display: grid;
    grid-template-columns: 1fr;
    border: 1px solid #e8e8e8;
}
@media (min-width: 640px) {
    .dl-store .nx-latest-grid { grid-template-columns: repeat(2, 1fr); }
}
.dl-store .nx-latest-item {
    display: block;
    padding: 12px 14px;
    border-bottom: 1px solid #f0f0f0;
}
@media (min-width: 640px) {
    .dl-store .nx-latest-item:first-child { border-right: 1px solid #f0f0f0; }
}
.dl-store .nx-latest-item:hover { background: #fafafa; }
.dl-store .nx-latest-title {
    font-size: 13px;
    font-weight: 600;
    margin: 4px 0 0;
}

html.ja-dark .dl-hero,
html.ja-dark .dl-steps,
html.ja-dark .dl-store .nx-latest-grid {
    background: #1a1a1a;
    border-color: #2a2a2a;
}
html.ja-dark .dl-hero .nx-hero-title,
html.ja-dark .nx-label,
html.ja-dark .dl-steps .nx-trend-title,
html.ja-dark .dl-store .nx-latest-title { color: #f3f3f3; }
html.ja-dark .dl-hero .nx-hero-dek,
html.ja-dark .dl-panel .nx-hero-dek,
html.ja-dark .dl-step-note,
html.ja-dark .nx-meta { color: #c4c4c4; }
html.ja-dark .dl-mark,
html.ja-dark .nx-section-nav,
html.ja-dark .dl-steps .nx-trend-item,
html.ja-dark .dl-store .nx-latest-item { border-color: #2a2a2a; }
html.ja-dark .nx-section-nav button { background: #1a1a1a; color: #d4d4d4; }
html.ja-dark .nx-section-nav button[aria-selected="true"] { background: #065f46; color: #fff; }
html.ja-dark .dl-ok { background: #14532d; border-color: #166534; color: #bbf7d0; }
html.ja-dark .nx-label { border-top-color: #f3f3f3; }
html.ja-dark .dl-store .nx-latest-item:hover { background: #1c1c1c; }
