#settings-landing[hidden], a[href="#settings-landing"][hidden] { display: none !important; }
#landingAppearance { grid-column: 1/-1; min-width: 0; padding: 22px; border: 1px solid var(--border, #dbe3ec); border-radius: 14px; }
#landingAppearance h3 { margin: 0 0 8px; }
#landingAppearance [hidden] { display: none; }
.landing-theme-options { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 14px; margin: 18px 0; padding: 0; border: 0; }
.landing-theme-options legend { font-weight: 600; margin-bottom: 12px; }
#landingAppearance .landing-theme-option { display: flex; flex-direction: column; gap: 12px; padding: 10px; border: 2px solid #dbe3ec; border-radius: 12px; min-width: 0; }
.landing-theme-choice { display: grid; gap: 10px; min-width: 0; cursor: pointer; }
#landingAppearance [data-theme-preview] { margin-top: auto; width: 100%; }
#landingAppearance .landing-theme-option.is-selected { border-color: #2463ac; box-shadow: 0 0 0 1px #2463ac; }
#landingAppearance .landing-theme-option:focus-within { outline: 2px solid #2463ac; outline-offset: 3px; }
#landingAppearance .landing-theme-option input { width: auto; accent-color: #2463ac; }
#landingAppearance .landing-theme-option small { line-height: 1.5; }
.landing-theme-thumbnail { display: block; width: 100%; height: 160px; object-fit: cover; object-position: top; border: 1px solid #d7dfe8; border-radius: 7px; background: #edf1f5; }
.landing-theme-preview-dialog { box-sizing: border-box; width: min(1050px, calc(100vw - 24px)); max-width: calc(100vw - 24px); max-height: calc(100dvh - 24px); padding: 0; border: 1px solid #cdd8e7; border-radius: 16px; }
.landing-theme-preview-dialog::backdrop { background: #13243f99; }
.landing-theme-preview-card { display: flex; flex-direction: column; min-height: 0; max-height: calc(100dvh - 28px); }
.landing-theme-preview-card header { display: flex; justify-content: space-between; align-items: flex-start; gap: 18px; padding: 18px 22px; border-bottom: 1px solid #dbe3ed; }
.landing-theme-preview-card h2 { margin: 0 0 7px; }
.landing-theme-preview-card header p, .landing-theme-preview-card footer p { margin: 0; color: #61738c; line-height: 1.5; font-size: .9rem; }
.landing-theme-preview-image { min-height: 0; overflow: auto; background: #e6ecf3; overscroll-behavior: contain; }
.landing-theme-preview-image img { display: block; width: 100%; height: auto; max-width: 100%; }
.landing-theme-preview-card footer { display: flex; gap: 18px; justify-content: space-between; align-items: center; flex-shrink: 0; padding: 16px 22px; border-top: 1px solid #dbe3ed; background: #fff; }
.landing-theme-preview-card footer > div { display: flex; flex: 0 0 auto; gap: 10px; }
.landing-appearance-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
[data-theme-access] { margin: 24px 0; padding: 14px 18px; background: #f5efe4; border-left: 3px solid #ac8b50; color: #4f4129; line-height: 1.6; }
[data-sport-performance-access] { background: #fff0ed; border-left-color: #d83c30; color: #68261f; }
@media (max-width: 1000px) { .landing-theme-options { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 420px) { #landingAppearance { padding: 16px; } .landing-theme-options { grid-template-columns: 1fr; } }
@media (max-width: 600px) { .landing-theme-preview-card header { padding: 14px; } .landing-theme-preview-card footer { padding: 12px 14px; flex-direction: column; gap: 10px; align-items: stretch; } .landing-theme-preview-card footer > div { width: 100%; } .landing-theme-preview-card footer button { flex: 1; } }
