.d9-app-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    width: 100%;
}
.d9-app-card {
    overflow: hidden;
    border: 1px solid #e3e3df;
    border-radius: 16px;
    background: #fff;
    color: #202020;
    min-width: 0;
}
.d9-app-poster {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1;
    object-fit: contain;
}
.d9-app-body {
    display: flex;
    flex-direction: column;
    gap: 18px;
    padding: 24px 20px;
}
.d9-app-body .d9-app-format {
    margin: 0;
    color: #666;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
}
.d9-app-body h4 {
    margin: 0 0 6px;
    font-size: 22px;
    line-height: 1.2;
    letter-spacing: -.03em;
}
.d9-app-download {
    width: 100%;
}
.d9-app-help {
    align-self: center;
    font-size: 13px;
    text-decoration: underline;
    text-underline-offset: 4px;
}
.d9-app-pending {
    display: flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 12px;
    border: 1px solid #deded8;
    border-radius: 7px;
    background: #f4f4f2;
    color: #626262;
    font-size: 14px;
}
@media (max-width: 1000px) {
    .d9-app-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 560px) {
    .d9-app-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
}

.d9-downloader { display: grid; gap: 6px; padding: 14px; border: 1px solid #e3e3df; border-radius: 12px; background: #fafaf8; color: #202020; min-width: 0; }
.d9-downloader-label { font-size: 11px; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; }
.d9-code-row { display: flex; align-items: center; gap: 8px; min-width: 0; }
.d9-downloader .d9-download-code { width: 100%; min-width: 0; flex: 1; margin: 0; padding: 4px 0; background: transparent; border: 0; border-radius: 0; color: #202020; font: 700 26px/1.3 Arial, sans-serif; letter-spacing: .02em; cursor: text; }
.d9-code-copy { flex: 0 0 auto; min-height: 44px; padding: 8px 12px; border: 1px solid #d4d4cd; border-radius: 8px; background: #fff; color: #202020; font: 600 13px/1.3 Arial, sans-serif; cursor: pointer; }
.d9-code-copy[hidden] { display: none; }
.d9-code-copy:hover { border-color: #b8460d; background: #fff4eb; }
.d9-short-link { font-size: 13px; text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.d9-copy-status { font-size: 12px; line-height: 1.4; }
.d9-copy-status:empty { display: none; }
.d9-downloader :focus-visible { outline: 3px solid #a63d0a; outline-offset: 3px; }
.d9-official-player { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); overflow: hidden; border: 1px solid #e3d8ce; border-radius: 22px; background: #fff; box-shadow: 0 12px 35px #2b1d0b08; margin: 0 0 42px; }
.d9-official-art { display: flex; align-items: center; min-width: 0; background: #fff; }
.d9-official-art img { display: block; width: 100%; height: auto; }
.d9-official-body { display: flex; flex-direction: column; gap: 18px; padding: 32px; min-width: 0; }
.d9-official-body h3 { margin: 0; font-size: clamp(28px,3vw,40px); line-height: 1.1; }
.d9-official-body .d9-official-badge { align-self: flex-start; margin: 0; padding: 6px 10px; border-radius: 6px; background: #fff0e4; color: #963608; font-size: 11px; font-weight: 700; letter-spacing: .1em; }
.d9-official-body .d9-official-description { margin: 0; font-size: 16px; line-height: 1.6; color: #4f4f4f; }
.d9-official-body .d9-official-note { margin: 0; font-size: 13px; color: #626262; }
.d9-other-apps-title { margin: 0 0 24px; font-size: 26px; }
@media(max-width:760px) { .d9-official-player { grid-template-columns: 1fr; } .d9-official-body { padding: 24px; } }
@media(min-width:761px) and (max-width:1000px) { .d9-official-body { padding: 24px; } }
