:root {
    --ink: #17223a;
    --muted: #65708a;
    --surface: #ffffff;
    --background: #f3f6fb;
    --line: #dfe6f2;
    --blue: #1266d4;
    --cyan: #14a3c7;
    --green: #1f9d68;
    --orange: #ef7d22;
    --purple: #7a55d8;
    --red: #dc4a56;
    --navy: #07172d;
    --shadow: 0 14px 40px rgba(31, 46, 81, .11);
    --shadow-strong: 0 24px 60px rgba(31, 46, 81, .16);
    --radius: 24px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 96px; }
body { margin: 0; font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif; color: var(--ink); background: var(--background); line-height: 1.6; }
a { color: inherit; }
img { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
button { color: inherit; }
.shell { width: min(1180px, calc(100% - 32px)); margin-inline: auto; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(255,255,255,.96); backdrop-filter: blur(14px); border-bottom: 1px solid rgba(223,230,242,.92); }
.nav-wrap { min-height: 78px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; min-width: 230px; }
.brand-icon { width: 48px; height: 48px; border-radius: 15px; object-fit: cover; box-shadow: 0 10px 24px rgba(7,23,45,.25); }
.brand strong, .brand small { display: block; }
.brand strong { font-size: 1.08rem; letter-spacing: -.02em; }
.brand small { color: var(--muted); font-size: .78rem; }
.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a { text-decoration: none; padding: 10px 13px; border-radius: 12px; font-weight: 750; font-size: .94rem; }
.main-nav a:hover, .main-nav a.active { background: #eaf2ff; color: var(--blue); }
.main-nav .channel-button { color: white; background: var(--blue); padding-inline: 18px; margin-left: 6px; }
.main-nav .channel-button:hover { background: #0d56b5; color: white; }
.menu-toggle { display: none; border: 0; padding: 10px 14px; border-radius: 12px; font-weight: 800; color: var(--ink); background: #eaf2ff; }

.hero { padding: 34px 0 22px; }
.hero-split-card { display: grid; grid-template-columns: minmax(380px, 43%) 1fr; gap: clamp(24px, 4vw, 48px); align-items: stretch; padding: clamp(22px, 3vw, 34px); border-radius: 32px; background: linear-gradient(135deg, #ffffff, #edf4fc); box-shadow: var(--shadow-strong); border: 1px solid rgba(223,230,242,.8); }
.hero-small-image { border-radius: 24px; overflow: hidden; min-height: 360px; background: var(--navy); align-self: center; }
.hero-small-image img { width: 100%; height: 100%; min-height: 360px; object-fit: cover; object-position: center; }
.hero-copy-dark { display: flex; flex-direction: column; justify-content: center; padding: 12px 8px 12px 0; color: var(--ink); }
.eyebrow { display: inline-flex; width: fit-content; align-items: center; gap: 8px; padding: 7px 12px; border-radius: 999px; background: rgba(255,255,255,.18); font-weight: 850; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.dark-eyebrow { color: #0e549e; background: #e5f0ff; }
.hero-copy-dark h1 { margin: 14px 0 12px; font-size: clamp(1.75rem, 2.8vw, 2.75rem); line-height: .98; letter-spacing: -.055em; color: var(--ink); }
.hero-copy-dark p { margin: 0; max-width: 760px; font-size: clamp(.98rem, 1.35vw, 1.1rem); color: #43506a; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 26px; }

.btn { display: inline-flex; justify-content: center; align-items: center; gap: 8px; min-height: 46px; padding: 10px 18px; border-radius: 14px; border: 0; text-decoration: none; font-weight: 850; cursor: pointer; transition: transform .15s ease, background .15s ease; }
.btn:hover { transform: translateY(-1px); }
.btn-light { color: var(--blue); background: white; }
.btn-ghost { color: white; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.3); }
.btn-primary { color: white; background: var(--blue); }
.btn-primary:hover { background: #0d56b5; }
.btn-soft { color: var(--blue); background: #e5f0ff; }
.btn-danger { color: white; background: var(--red); }
.btn-danger:hover { background: #bd3340; }
.btn-small { min-height: 36px; padding: 7px 11px; border-radius: 10px; font-size: .82rem; background: #edf2f8; color: var(--ink); }
.btn-small.btn-danger { background: #ffe3e6; color: #9b2d38; }
.text-link { color: var(--blue); font-weight: 850; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

.section { padding: 38px 0; }
.section-tight-top { padding-top: 18px; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 24px; margin-bottom: 22px; }
.section-head h2, .page-head h1 { margin: 6px 0 0; font-size: clamp(2rem, 4vw, 3.3rem); line-height: 1.05; letter-spacing: -.04em; }
.section-head p, .page-head p { color: var(--muted); margin: 8px 0 0; max-width: 780px; }
.page-head { padding: 56px 0 20px; }
.community-head { background: linear-gradient(180deg, #edf5ff 0%, rgba(244,247,251,0) 100%); }
.badge { display: inline-flex; padding: 5px 9px; border-radius: 999px; font-size: .75rem; font-weight: 900; background: #eaf2ff; color: var(--blue); }
.badge-green { color: #12613f; background: #dff5e8; }
.badge-orange { color: #9a4d0a; background: #fff0df; }
.badge-purple { color: #5637a8; background: #eee8ff; }
.badge-red { color: #9b2d38; background: #ffe3e6; }

.tile-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tile { min-height: 270px; padding: 25px; border-radius: var(--radius); color: white; text-decoration: none; display: flex; flex-direction: column; box-shadow: var(--shadow); transition: transform .18s ease, box-shadow .18s ease; }
.tile:hover { transform: translateY(-5px); box-shadow: 0 20px 46px rgba(31,46,81,.16); }
.tile-icon { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; background: rgba(255,255,255,.16); font-size: 1.24rem; font-weight: 900; }
.tile h3 { margin: auto 0 8px; font-size: 1.48rem; line-height: 1.08; }
.tile p { margin: 0; color: rgba(255,255,255,.92); }
.tile-link { margin-top: 18px; font-weight: 900; }
.tile-green { background: linear-gradient(145deg, #148755, #28ae73); }
.tile-blue { background: linear-gradient(145deg, #115bbf, #2b8ce1); }
.tile-purple { background: linear-gradient(145deg, #6541bf, #8b65e2); }
.tile-orange { background: linear-gradient(145deg, #df6518, #f4942f); }
.tile-red { background: linear-gradient(145deg, #be3947, #e65d68); }

.tile-grid-images { align-items: stretch; }
.image-tile { display: flex; flex-direction: column; min-height: 100%; overflow: hidden; text-decoration: none; color: var(--ink); border-radius: 28px; background: white; box-shadow: var(--shadow); border: 1px solid var(--line); transition: transform .18s ease, box-shadow .18s ease; }
.image-tile:hover { transform: translateY(-5px); box-shadow: 0 20px 46px rgba(31,46,81,.16); }
.image-tile-media { padding: 16px 16px 0; }
.image-tile-media img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 24px; }
.image-tile-body { display: flex; flex-direction: column; flex: 1; padding: 18px 20px 22px; }
.image-tile-body h3 { margin: 0 0 8px; font-size: 1.48rem; line-height: 1.08; }
.image-tile-body p { margin: 0; color: var(--muted); }
.image-tile .tile-link { margin-top: auto; padding-top: 18px; }
.image-tile-green .tile-link { color: #148755; }
.image-tile-blue .tile-link { color: #115bbf; }
.image-tile-purple .tile-link { color: #6541bf; }
.image-tile-orange .tile-link { color: #df6518; }

.app-promo { display: grid; grid-template-columns: 150px 1fr auto; gap: 28px; align-items: center; padding: clamp(24px, 4vw, 38px); border-radius: 28px; color: white; background: linear-gradient(145deg, #07172d, #123b6b); box-shadow: var(--shadow-strong); }
.app-promo img { width: 150px; height: 150px; border-radius: 34px; object-fit: cover; box-shadow: 0 18px 38px rgba(0,0,0,.28); }
.app-promo h2 { margin: 5px 0 7px; font-size: clamp(1.8rem, 3vw, 2.7rem); line-height: 1.05; }
.app-promo p { margin: 0; color: #c7d7e9; max-width: 690px; }
.app-promo .badge { color: #8d4606; background: #fff0df; }
.app-promo-actions { display: grid; gap: 10px; min-width: 190px; }
.app-promo-actions .btn { width: 100%; }

.info-panel { padding: clamp(28px, 5vw, 52px); border-radius: 30px; background: var(--surface); box-shadow: var(--shadow); }
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: center; }
.zello-intro-grid { display: grid; grid-template-columns: minmax(240px, 340px) 1fr; gap: clamp(30px, 5vw, 58px); align-items: center; }
.round-community-image { border-radius: 50%; overflow: hidden; aspect-ratio: 1; background: white; box-shadow: 0 18px 45px rgba(7,23,45,.16); }
.round-community-image img { width: 100%; height: 100%; object-fit: cover; }
.zello-intro-grid h2 { margin: 12px 0 10px; font-size: clamp(2rem, 3.5vw, 3.1rem); line-height: 1.05; letter-spacing: -.04em; }
.zello-intro-grid > div > p { color: var(--muted); font-size: 1.04rem; }
.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 24px; }
.mini-card { padding: 18px; border: 1px solid var(--line); border-radius: 20px; background: #fafdff; }
.mini-card strong { display: block; margin: 8px 0 4px; }
.mini-card span:last-child { color: var(--muted); font-size: .9rem; }
.mini-icon { font-size: 1.65rem; }
.fact-list { display: grid; gap: 14px; }
.fact-list > div { display: grid; grid-template-columns: 48px 1fr; gap: 14px; align-items: start; padding: 18px; border: 1px solid var(--line); border-radius: 18px; background: #fafdff; }
.fact-list > div > span { font-size: 1.6rem; }
.fact-list p { margin: 0; }

.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.card { overflow: hidden; border-radius: 24px; background: var(--surface); box-shadow: var(--shadow); }
.card-top { min-height: 150px; display: grid; place-items: center; color: white; font-weight: 950; }
.category-card-top { align-content: center; gap: 10px; padding: 22px; }
.category-card-top img { width: 62px; height: 62px; object-fit: contain; }
.category-card-top span { font-size: 1rem; line-height: 1.15; text-align: center; }
.card-image { width: 100%; height: 210px; object-fit: cover; }
.card-body { padding: 24px; }
.card-body h3 { margin: 8px 0; font-size: 1.35rem; line-height: 1.15; }
.card-body p { color: var(--muted); }
.meta { color: var(--muted); font-size: .82rem; font-weight: 750; }

.featured-member { display: grid; grid-template-columns: minmax(260px, 34%) 1fr; background: white; border-radius: 30px; overflow: hidden; box-shadow: var(--shadow); }
.featured-member-photo { min-height: 430px; background: #dde7f2; }
.featured-member-photo img { width: 100%; height: 100%; min-height: 430px; object-fit: cover; object-position: center 30%; }
.avatar-placeholder { width: 100%; min-height: 430px; display: grid; place-items: center; font-size: 7rem; font-weight: 950; color: white; background: linear-gradient(145deg, var(--blue), var(--purple)); }
.featured-member-copy { padding: clamp(28px, 5vw, 54px); }
.featured-member-copy h3 { margin: 10px 0; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.05; }
.member-facts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 24px; }
.member-facts > div { padding: 14px; border-radius: 16px; background: #f3f7fc; }
.member-facts span, .member-facts strong { display: block; }
.member-facts span { color: var(--muted); font-size: .78rem; }
.member-head { display: flex; gap: 16px; align-items: center; }
.member-head h3 { margin: 4px 0 0; }
.member-avatar { width: 82px; height: 82px; border-radius: 24px; object-fit: cover; background: #e5eef8; display: grid; place-items: center; font-size: 2rem; font-weight: 900; }
.member-meta { color: var(--muted); font-weight: 750; }

.cta { display: flex; justify-content: space-between; align-items: center; gap: 30px; padding: clamp(28px, 5vw, 48px); color: white; border-radius: 28px; background: linear-gradient(125deg, #0a2c5c, #1266d4 56%, #ef7d22); box-shadow: var(--shadow-strong); }
.cta h2 { margin: 0; font-size: clamp(2rem, 4vw, 3.3rem); }
.cta p { margin: 7px 0 0; color: rgba(255,255,255,.9); }

.form-panel, .admin-editor { padding: clamp(22px, 4vw, 34px); border-radius: 24px; background: white; box-shadow: var(--shadow); border: 1px solid var(--line); }
.form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.field { min-width: 0; }
.field-full { grid-column: 1 / -1; }
.field label:not(.check) { display: block; margin-bottom: 6px; font-weight: 800; }
.field input, .field textarea, .field select, .callsign-search-wrap input, .compact-form select { width: 100%; border: 1px solid #cbd6e5; border-radius: 13px; padding: 11px 13px; color: var(--ink); background: white; outline: none; }
.field input:focus, .field textarea:focus, .field select:focus, .callsign-search-wrap input:focus { border-color: var(--blue); box-shadow: 0 0 0 4px rgba(18,102,212,.1); }
.field textarea { min-height: 130px; resize: vertical; }
.field textarea.editor-large { min-height: 260px; }
.field small { display: block; margin-top: 6px; color: var(--muted); }
.check { display: flex; gap: 10px; align-items: flex-start; font-weight: 650; }
.check input { width: 18px; height: 18px; flex: 0 0 auto; margin-top: 3px; }
.current-image { display: flex; align-items: center; gap: 18px; margin-top: 12px; padding: 12px; border: 1px solid var(--line); border-radius: 16px; }
.current-image img { width: 140px; height: 90px; object-fit: cover; border-radius: 12px; }
.empty-state, .notice { padding: 22px; border-radius: 18px; background: white; border: 1px solid var(--line); color: var(--muted); }
.notice-blue { color: #184a83; background: #edf5ff; border-color: #cfe3ff; }

.filter-row { display: flex; flex-wrap: wrap; gap: 9px; margin-bottom: 24px; }
.filter-row a { padding: 8px 13px; border-radius: 999px; text-decoration: none; font-weight: 800; color: var(--muted); background: white; border: 1px solid var(--line); }
.filter-row a.active, .filter-row a:hover { color: white; background: var(--blue); border-color: var(--blue); }
.article { padding: 54px 0; }
.article-box { max-width: 900px; margin-inline: auto; padding: clamp(28px, 5vw, 54px); border-radius: 30px; background: white; box-shadow: var(--shadow); }
.article-box h1 { margin: 14px 0 22px; font-size: clamp(2.2rem, 5vw, 4.3rem); line-height: 1; letter-spacing: -.05em; }
.article-content { font-size: 1.06rem; line-height: 1.85; color: #35415a; }
.article-image { width: 100%; max-height: 520px; object-fit: cover; border-radius: 22px; margin-bottom: 26px; }

.community-jump-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.jump-card { min-height: 150px; padding: 20px; color: white; border-radius: 20px; text-decoration: none; display: flex; flex-direction: column; }
.jump-card strong { margin-top: auto; font-size: 1.25rem; }
.jump-card small { color: rgba(255,255,255,.88); }
.jump-blue { background: linear-gradient(145deg,#115bbf,#2b8ce1); }
.jump-green { background: linear-gradient(145deg,#148755,#28ae73); }
.jump-purple { background: linear-gradient(145deg,#6541bf,#8b65e2); }
.jump-orange { background: linear-gradient(145deg,#df6518,#f4942f); }
.community-card-grid, .rules-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.content-card { padding: 25px; border-radius: 23px; color: white; box-shadow: var(--shadow); }
.content-card h3 { font-size: 1.4rem; margin: 0 0 8px; }
.content-card p { color: rgba(255,255,255,.9); }
.content-card-icon { display: grid; place-items: center; width: 58px; height: 58px; border-radius: 18px; background: rgba(255,255,255,.16); font-weight: 950; }
.content-card-green { background: linear-gradient(145deg,#148755,#28ae73); }
.content-card-blue { background: linear-gradient(145deg,#115bbf,#2b8ce1); }
.content-card-orange { background: linear-gradient(145deg,#df6518,#f4942f); }
.rules-grid > div { padding: 20px; border-radius: 20px; background: white; box-shadow: var(--shadow); }
.colorful-facts > div { color: white; border: 0; box-shadow: var(--shadow); }
.colorful-facts > div:nth-child(1) { background: linear-gradient(145deg,#115bbf,#2b8ce1); }
.colorful-facts > div:nth-child(2) { background: linear-gradient(145deg,#6541bf,#8b65e2); }
.colorful-facts > div:nth-child(3) { background: linear-gradient(145deg,#148755,#28ae73); }
.colorful-facts > div p { color: rgba(255,255,255,.94); }
.colorful-rules > div { color: white; border: 0; }
.colorful-rules > div:nth-child(1) { background: linear-gradient(145deg,#148755,#28ae73); }
.colorful-rules > div:nth-child(2) { background: linear-gradient(145deg,#115bbf,#2b8ce1); }
.colorful-rules > div:nth-child(3) { background: linear-gradient(145deg,#df6518,#f4942f); }
.colorful-rules > div:nth-child(4) { background: linear-gradient(145deg,#6541bf,#8b65e2); }
.colorful-rules > div p { margin: 0; color: rgba(255,255,255,.94); }
.colorful-rules > div > span { display: none; }
.colorful-callsign { background: linear-gradient(135deg,#f5f0ff,#eef6ff); border: 1px solid #ded5fa; }
.colorful-callsign > div:first-child { padding: 24px; border-radius: 22px; background: white; box-shadow: 0 12px 30px rgba(45,54,90,.08); }
.step-list-compact > div { padding: 18px; color: white; }
.step-list-compact > div:nth-child(1) { background: linear-gradient(145deg,#6541bf,#8b65e2); }
.step-list-compact > div:nth-child(2) { background: linear-gradient(145deg,#115bbf,#2b8ce1); }
.step-list-compact > div:nth-child(3) { background: linear-gradient(145deg,#148755,#28ae73); }
.step-list-compact > div::before { display: none; }
.step-list-compact p { margin: 0; color: rgba(255,255,255,.95); }
.callsign-intro { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; }
.step-list { display: grid; gap: 12px; counter-reset: step; }
.step-list > div { padding: 16px 18px 16px 58px; position: relative; border-radius: 16px; background: #f3f7fc; }
.step-list > div::before { counter-increment: step; content: counter(step); position: absolute; left: 16px; top: 14px; width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; color: white; background: var(--purple); font-weight: 900; }
.callsign-list-head { margin-top: 34px; align-items: center; }
.callsign-search-wrap { min-width: 300px; }
.callsign-search-wrap label { display: block; margin-bottom: 5px; font-weight: 800; font-size: .85rem; }
.callsign-stats { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 14px; }
.callsign-stats span { padding: 7px 11px; border-radius: 999px; background: white; border: 1px solid var(--line); font-weight: 750; font-size: .82rem; }
.callsign-table-wrap, .admin-table-wrap { overflow-x: auto; border-radius: 20px; background: white; box-shadow: var(--shadow); }
.call-table, .admin-table { width: 100%; border-collapse: collapse; }
.call-table th, .call-table td, .admin-table th, .admin-table td { padding: 14px 16px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.call-table th, .admin-table th { font-size: .78rem; text-transform: uppercase; letter-spacing: .05em; color: var(--muted); background: #f7f9fc; }
.callsign-status, .status { display: inline-flex; padding: 5px 9px; border-radius: 999px; font-size: .76rem; font-weight: 900; white-space: nowrap; }
.callsign-status-active, .status-approved, .status-published, .status-active { color: #12613f; background: #dff5e8; }
.callsign-status-reserved, .status-pending, .status-draft, .status-reserved { color: #8a5b00; background: #fff2c8; }
.callsign-status-memorial, .status-memorial { color: #5a6070; background: #e8ebf0; }
.callsign-status-blocked, .status-rejected, .status-disabled, .status-blocked { color: #9b2d38; background: #ffe3e6; }
.license-section { background: linear-gradient(180deg,rgba(255,239,221,.7),rgba(244,247,251,0)); }
.license-layout { display: grid; grid-template-columns: 1.25fr .75fr; gap: 30px; align-items: center; }
.license-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.license-gallery img { width: 100%; border-radius: 20px; box-shadow: var(--shadow); }
.license-info { display: grid; gap: 16px; }
.price-card { padding: 24px; border-radius: 22px; color: white; background: linear-gradient(145deg,#df6518,#f4942f); box-shadow: var(--shadow); }
.price-card strong { font-size: 1.8rem; }
.price-divider { margin: 10px 0; opacity: .8; font-weight: 900; }
.faq-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-top: 24px; }
.faq-card { padding: 22px; border-radius: 20px; background: white; border: 1px solid var(--line); }
.faq-card h3 { margin-top: 0; }
.faq-warning { border-color: #ffd0d5; background: #fff6f7; }

.site-footer { margin-top: 36px; padding: 44px 0 22px; color: #d8e2f0; background: var(--navy); }
.footer-grid { display: flex; justify-content: space-between; gap: 30px; }
.footer-grid p { margin: 5px 0; color: #9fb0c8; }
.footer-grid nav { display: flex; flex-wrap: wrap; gap: 16px; align-items: start; }
.footer-grid a { text-decoration: none; }
.footer-grid a:hover { color: white; }
.visitor-counter strong { color: white; }
.copyright { margin-top: 28px; padding-top: 18px; border-top: 1px solid rgba(255,255,255,.12); color: #8295b1; font-size: .84rem; }
.flashes { padding-top: 16px; }
.flash { padding: 12px 15px; margin-bottom: 10px; border-radius: 13px; font-weight: 750; }
.flash-success { color: #12613f; background: #dff5e8; }
.flash-error { color: #9b2d38; background: #ffe3e6; }

/* Admin */
.admin-layout { min-height: 100vh; display: grid; grid-template-columns: 260px 1fr; background: #eef2f8; }
.admin-side { position: sticky; top: 0; height: 100vh; display: flex; flex-direction: column; padding: 22px 16px; color: #dbe6f3; background: var(--navy); overflow-y: auto; }
.admin-brand { display: flex; align-items: center; gap: 12px; padding: 4px 8px 18px; color: white; text-decoration: none; }
.admin-brand img { width: 48px; height: 48px; border-radius: 14px; }
.admin-brand strong, .admin-brand small { display: block; }
.admin-brand small { color: #8fa3bf; }
.admin-user { margin: 0 8px 16px; padding: 10px 12px; border-radius: 12px; font-size: .82rem; color: #aebed3; background: rgba(255,255,255,.06); }
.admin-side nav { display: grid; gap: 5px; }
.admin-side nav a, .admin-side-bottom a { padding: 10px 12px; border-radius: 11px; color: #c2d0e2; text-decoration: none; font-weight: 750; }
.admin-side nav a:hover, .admin-side nav a.active { color: white; background: rgba(255,255,255,.11); }
.admin-side-bottom { display: grid; gap: 5px; margin-top: auto; padding-top: 20px; }
.admin-main { min-width: 0; padding: clamp(22px, 4vw, 46px); }
.admin-page-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin-bottom: 24px; }
.admin-page-head h1 { margin: 0; font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1; letter-spacing: -.04em; }
.admin-page-head p { color: var(--muted); margin: 8px 0 0; }
.admin-dashboard .tile { min-height: 220px; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 22px; }
.stat-card { padding: 22px; border-radius: 20px; background: white; box-shadow: var(--shadow); }
.stat-card span, .stat-card small { display: block; color: var(--muted); }
.stat-card strong { display: block; margin: 4px 0; font-size: 2.2rem; line-height: 1; }
.admin-editor { margin-bottom: 24px; }
details.admin-editor { padding: 0; overflow: hidden; }
details.admin-editor > summary { padding: 18px 22px; cursor: pointer; font-weight: 900; background: #f8fafc; }
details.admin-editor[open] > summary { border-bottom: 1px solid var(--line); }
details.admin-editor > form { padding: 22px; }
.admin-stack { display: grid; gap: 16px; }
.permission-box { border: 1px solid var(--line); border-radius: 18px; padding: 18px; }
.permission-box legend { padding: 0 8px; font-weight: 900; }
.permission-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.actions form { margin: 0; }
.compact-form { display: flex; gap: 6px; align-items: center; }
.compact-form select { width: auto; min-width: 130px; padding: 7px 9px; }
.danger-form { padding: 0 22px 22px; }
.icon-button { width: 30px; height: 30px; border: 0; border-radius: 9px; color: #9b2d38; background: #ffe3e6; cursor: pointer; font-size: 1.2rem; }
.admin-table-wrap { margin-top: 20px; }
.admin-table td { max-width: 520px; }
.login-page { min-height: 100vh; display: grid; place-items: center; padding: 20px; background: radial-gradient(circle at top,#17477f,#07172d 65%); }
.login-card { width: min(430px,100%); padding: 34px; border-radius: 28px; background: white; box-shadow: 0 28px 80px rgba(0,0,0,.35); }
.login-card h1 { margin: 18px 0 4px; }
.login-card > p { color: var(--muted); }
.login-logo { width: 82px; height: 82px; border-radius: 24px; }

@media (max-width: 1000px) {
    .tile-grid, .admin-dashboard { grid-template-columns: repeat(2, 1fr); }
    .cards { grid-template-columns: repeat(2, 1fr); }
    .mini-grid { grid-template-columns: 1fr; }
    .community-jump-grid { grid-template-columns: repeat(2, 1fr); }
    .community-card-grid, .rules-grid { grid-template-columns: 1fr 1fr; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .admin-layout { grid-template-columns: 220px 1fr; }
}

@media (max-width: 820px) {
    .menu-toggle { display: block; }
    .main-nav { display: none; position: absolute; left: 16px; right: 16px; top: 70px; padding: 12px; flex-direction: column; align-items: stretch; border: 1px solid var(--line); border-radius: 18px; background: white; box-shadow: var(--shadow); }
    .main-nav.open { display: flex; }
    .main-nav .channel-button { margin-left: 0; text-align: center; }
    .hero-split-card { grid-template-columns: 1fr; }
    .hero-small-image { width: min(100%, 430px); min-height: 230px; }
    .hero-copy-dark { padding: 0; }
    .zello-intro-grid, .split, .featured-member, .callsign-intro, .license-layout, .app-promo { grid-template-columns: 1fr; }
    .app-promo img { width: 120px; height: 120px; }
    .app-promo-actions { width: 100%; }
    .round-community-image { width: min(330px, 100%); margin-inline: auto; }
    .featured-member-photo, .featured-member-photo img, .avatar-placeholder { min-height: 360px; }
    .member-facts { grid-template-columns: 1fr; }
    .cta, .section-head, .admin-page-head, .footer-grid { align-items: flex-start; flex-direction: column; }
    .license-gallery { grid-template-columns: 1fr; }
    .faq-grid { grid-template-columns: 1fr; }
    .admin-layout { display: block; }
    .admin-side { position: relative; height: auto; }
    .admin-side nav { grid-template-columns: repeat(2, 1fr); }
    .admin-side-bottom { grid-template-columns: repeat(2, 1fr); }
    .permission-grid { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
    .shell { width: min(100% - 22px, 1180px); }
    .brand small { display: none; }
    .brand { min-width: 0; }
    .hero { padding-top: 16px; }
    .hero-split-card { padding: 14px; border-radius: 22px; }
    .hero-small-image { min-height: 205px; border-radius: 18px; }
    .hero-small-image img { min-height: 205px; }
    .hero-copy-dark h1 { font-size: 1.85rem; }
    .app-promo { padding: 20px; border-radius: 22px; gap: 18px; }
    .tile-grid, .cards, .community-jump-grid, .community-card-grid, .rules-grid, .stats-grid { grid-template-columns: 1fr; }
    .tile { min-height: 230px; }
    .form-grid { grid-template-columns: 1fr; }
    .field-full { grid-column: auto; }
    .current-image { align-items: flex-start; flex-direction: column; }
    .callsign-search-wrap { min-width: 0; width: 100%; }
    .admin-main { padding: 18px 12px; }
    .admin-side nav { grid-template-columns: 1fr 1fr; }
    .admin-table th, .admin-table td, .call-table th, .call-table td { padding: 11px 10px; }
}

/* Backup – nur Hauptadministrator */
.backup-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.backup-card { display: flex; flex-direction: column; align-items: flex-start; margin-bottom: 0; }
.backup-card h2 { margin: 14px 0 8px; font-size: clamp(1.55rem, 3vw, 2.1rem); line-height: 1.08; }
.backup-card p { color: var(--muted); }
.backup-card form { margin-top: auto; padding-top: 18px; }
.backup-card-full { border-top: 5px solid var(--orange); }
.backup-list { width: 100%; margin: 12px 0 0; padding: 14px 18px 14px 38px; border-radius: 16px; background: #f3f7fc; }
.backup-notice { margin-top: 20px; }
@media (max-width: 760px) { .backup-grid { grid-template-columns: 1fr; } }

/* v1.7.16 – kompakter Lizenzbereich in gleich grossen Kacheln */
.license-showcase{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:18px;
  align-items:stretch;
  margin-top:24px;
}
.license-showcase-card{
  margin:0;
  min-width:0;
  min-height:390px;
  padding:18px;
  border:1px solid #dce5f0;
  border-radius:18px;
  background:#fff;
  box-shadow:0 10px 28px rgba(20,48,83,.10);
  box-sizing:border-box;
  overflow:hidden;
}
.license-photo-card{
  display:flex;
  flex-direction:column;
}
.license-photo-frame{
  height:260px;
  padding:10px;
  display:flex;
  align-items:center;
  justify-content:center;
  border:1px solid #d7e1ed;
  border-radius:14px;
  background:#f6f9fc;
  overflow:hidden;
  box-sizing:border-box;
}
.license-photo-frame img{
  display:block;
  width:100%;
  height:100%;
  max-width:100%;
  object-fit:contain;
  object-position:center;
  border-radius:10px;
  box-shadow:none;
}
.license-showcase-card figcaption{
  display:flex;
  flex-direction:column;
  gap:5px;
  margin-top:14px;
  line-height:1.4;
}
.license-showcase-card figcaption strong{
  color:#10294c;
  font-size:1.05rem;
}
.license-showcase-card figcaption span{
  color:#607087;
  font-size:.94rem;
}
.license-price-card{
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}
.license-price-content{
  display:flex;
  flex-direction:column;
  gap:8px;
}
.license-price-label{
  display:inline-flex;
  align-self:flex-start;
  padding:6px 10px;
  border-radius:999px;
  background:#eaf3ff;
  color:#1769d2;
  font-weight:800;
}
.license-price-main{
  color:#168447;
  font-size:1.65rem;
  line-height:1.1;
  margin-top:5px;
}
.license-price-alt{
  color:#10294c;
  font-size:1.3rem;
}
.license-price-card p{
  margin:0 0 4px;
  color:#4f6077;
}
.license-price-card small{
  display:block;
  margin-top:8px;
  padding:12px;
  border-radius:12px;
  background:#f2f7fd;
  color:#4f6077;
  line-height:1.45;
}
.license-card-button{
  width:100%;
  justify-content:center;
  margin-top:16px;
}
.license-order-actions .btn:not(.btn-primary){
  background:#eef5ff;
  border-color:#d4e5fb;
  color:#1769d2;
}
@media (max-width:980px){
  .license-showcase{grid-template-columns:repeat(2,minmax(0,1fr));}
  .license-price-card{grid-column:1/-1;min-height:auto;}
}
@media (max-width:640px){
  .license-showcase{grid-template-columns:1fr;gap:14px;}
  .license-showcase-card{min-height:auto;padding:14px;border-radius:15px;}
  .license-photo-frame{height:220px;}
  .license-price-card{grid-column:auto;}
}

/* Blog & Archiv – Version 1.7.17 */
.archive-callout{display:flex;align-items:center;justify-content:space-between;gap:20px;padding:18px 20px;margin-bottom:26px;border:1px solid #d7e3f4;border-radius:18px;background:#f7fbff;box-shadow:0 10px 28px rgba(7,23,45,.06)}
.archive-callout div{display:flex;flex-direction:column;gap:4px}.archive-callout strong{font-size:1.08rem}.archive-callout span{color:#52647a}
.archive-intro-grid{display:grid;grid-template-columns:minmax(230px,.7fr) minmax(300px,1.3fr);gap:20px;margin-bottom:22px}
.archive-summary-card,.archive-search{padding:22px;border:1px solid #d7e3f4;border-radius:20px;background:#fff;box-shadow:0 12px 32px rgba(7,23,45,.07)}
.archive-summary-card{display:flex;flex-direction:column;gap:6px}.archive-summary-card span{font-weight:700;color:#52647a}.archive-summary-card strong{font-size:2.4rem;color:#0b5fc7}.archive-summary-card small{color:#65768b}
.archive-search label{display:block;font-weight:800;margin-bottom:10px}.archive-search div{display:flex;gap:10px}.archive-search input{flex:1;min-width:0;padding:13px 14px;border:1px solid #c9d6e6;border-radius:12px;font:inherit}
.archive-notice{display:flex;flex-direction:column;gap:5px;padding:16px 18px;margin:0 0 22px;border-left:5px solid #f59e0b;border-radius:12px;background:#fff8e8;color:#5f470b}.archive-notice span{line-height:1.5}
.archive-card .card-body p{color:#5d6d80}.archive-author,.article-author,.article-source{font-size:.94rem;color:#65768b}
@media(max-width:760px){.archive-callout{align-items:flex-start;flex-direction:column}.archive-intro-grid{grid-template-columns:1fr}.archive-search div{flex-direction:column}}
