/* Release #831 (27 Nov 2026) — premium login + inner theme.
   Approved colours only: magenta #b40059, bright blue #1765ED/#1235FF,
   gold #ffc42d/#c49b36, white, plus the deep blue #112a68 already used
   on member covers. No template/layout change: this sheet only
   restyles backgrounds, cards, inputs, buttons and the new SVG icon
   surfaces. 16px floor everywhere; 44px+ touch targets; motion is
   200-300ms and fully removed under prefers-reduced-motion.
   Loaded last on the app shells (no ?v= pin yet — the release
   coordinator pins it). Mobile <=900px navigation pattern untouched. */

/* ---------- Icon primitives (sprite: assets/premium-ui-icons.svg) ---------- */
.hk-ui-icon{width:20px;height:20px;flex:0 0 auto;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.hk-empty-art{display:block;width:120px;height:90px;margin:0 auto 12px}
.hk-empty-wrap{text-align:center}
.hk-card-icon{width:26px;height:26px;margin-right:8px;vertical-align:-6px;color:#b40059}

/* ---------- Premium login (/account, body.gc-auth-page) ----------
   #832: the two body-background rules below carry html+class+attr
   specificity and !important because community-shell.css pins
   html body.community-unified-theme[data-page]{background:#f5f2ed!important}
   — without this the premium backgrounds never render (browser
   verification of #831 caught the plain background on /account).
   #834: that was not enough. approved-production-theme.css (loaded
   BEFORE this sheet) pins
   body.community-unified-theme:not([data-page="fellowship"])
     :not([data-page="prayer"]):not([data-page="forum"])
     {background:#f6f9ff!important}
   at specificity (0,4,1) — body element + 1 class + three :not()
   attribute arguments. The #832 login selector scored (0,3,2) and
   LOST to it, so /account still rendered pale in a real browser
   (computed background rgb(246,249,255), image none — proven
   27 Nov 2026 in headless Chrome against the exact served files;
   the body classes were intact, the cascade was the defect).
   The login selector below now also carries .hk-premium-inner
   (static on every app shell, including account.html), scoring
   (0,4,2) — the same winning pattern as the inner-area wash rule
   further down — so the dark premium gradient is what a signed-out
   visitor sees on first paint and after JS runs. The release-834
   suite recomputes the full cascade from the real files and fails
   if any sheet ever outranks this rule again. */
html body.community-unified-theme.hk-premium-inner.gc-auth-page[data-page]{background-color:#112a68!important;background-image:radial-gradient(ellipse 70% 45% at 85% 0%,rgba(255,196,45,.28),transparent 60%),radial-gradient(ellipse 60% 50% at 0% 100%,rgba(180,0,89,.35),transparent 65%),linear-gradient(135deg,#112a68 0%,#1235FF 52%,#b40059 130%),url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 120 120'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='.07' stroke-width='2'%3E%3Cpath d='M28 18h8v14h14v8H36v14h-8V40H14v-8h14zM88 72h6v10h10v6H94v10h-6V88H78v-6h10z'/%3E%3Ccircle cx='92' cy='26' r='10'/%3E%3Ccircle cx='24' cy='92' r='7'/%3E%3C/g%3E%3C/svg%3E")!important;background-attachment:fixed!important;color:#16324f}
body.gc-auth-page .top{background:linear-gradient(90deg,#112a68,#1235FF 60%,#b40059)!important;border-bottom:1px solid rgba(255,196,45,.45)}
body.gc-auth-page .account-panel,body.gc-auth-page #page-root>.card{background:rgba(255,255,255,.94)!important;-webkit-backdrop-filter:blur(14px) saturate(150%);backdrop-filter:blur(14px) saturate(150%);border:1px solid rgba(255,196,45,.6)!important;border-radius:24px!important;box-shadow:0 24px 60px rgba(6,27,87,.38),0 4px 16px rgba(180,0,89,.14)!important}
.gc-auth-welcome .eyebrow{color:#b40059}
.gc-auth-welcome h1{color:#112a68}
.gc-auth-page .account-tabs{background:#eef3ff;border:1px solid #d9e3f7}
.gc-auth-page .account-tabs .btn{min-height:44px}
.gc-auth-page .account-tabs .btn[aria-pressed=true]{color:#b40059}
.gc-auth-page .account-form label{color:#16324f}
.gc-auth-page .account-form input:not([type=checkbox]){min-height:48px;border:1px solid #b9c8e8!important;border-radius:12px;background:#ffffff!important;transition:border-color .2s ease,box-shadow .2s ease}
.gc-auth-page .account-form input:not([type=checkbox]):focus{border-color:#1765ED!important;box-shadow:0 0 0 3px rgba(23,101,237,.22)}
.gc-auth-page input[type=checkbox]{accent-color:#b40059}
.gc-auth-page .btn.primary{background:linear-gradient(90deg,#b40059,#1235FF)!important;color:#ffffff!important;border-color:#b40059!important;border-radius:12px;min-height:48px;box-shadow:0 8px 22px rgba(180,0,89,.28);transition:transform .2s ease,box-shadow .2s ease}
.gc-auth-page .btn.primary:hover{box-shadow:0 10px 26px rgba(180,0,89,.36)}
.gc-auth-page .btn.primary:active{transform:scale(.98)}
.gc-auth-page .social-signin-buttons .btn{min-height:48px;border-radius:12px;border:1px solid #d9e3f7;background:#ffffff;transition:border-color .2s ease,box-shadow .2s ease}
.gc-auth-page .social-signin-buttons .btn:hover{border-color:#ffc42d;box-shadow:0 6px 18px rgba(17,42,104,.12)}
.gc-auth-page .password-toggle{color:#b40059;min-height:44px}
.gc-auth-motto{color:#b40059;border-top:1px solid rgba(255,196,45,.5)}
.gc-auth-page button:focus-visible,.gc-auth-page a:focus-visible,.gc-auth-page input:focus-visible{outline:3px solid #c49b36;outline-offset:3px}

/* ---------- Inner area after login (subtle premium wash) ---------- */
html body.community-unified-theme.hk-premium-inner[data-page]:not(.gc-auth-page){background-color:#f7f9ff!important;background-image:radial-gradient(ellipse 55% 320px at 100% 0%,rgba(255,196,45,.10),transparent 60%),radial-gradient(ellipse 55% 320px at 0% 0%,rgba(23,101,237,.08),transparent 60%),linear-gradient(180deg,#ffffff 0%,#f7f9ff 340px)!important}
body.hk-premium-inner:not(.gc-auth-page) .card{box-shadow:0 2px 10px rgba(17,42,104,.06),0 10px 28px rgba(17,42,104,.05)}
body.hk-premium-inner:not(.gc-auth-page) .directory-card{box-shadow:0 2px 10px rgba(17,42,104,.06),0 10px 28px rgba(17,42,104,.05)}
body.hk-premium-inner .card h2 .hk-ui-icon{color:#b40059}

/* ---------- Post options sheet icons ---------- */
.gc-sheet-row{min-height:48px}
.gc-sheet-icon{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;flex:0 0 28px}
.gc-sheet-icon .hk-ui-icon{width:22px;height:22px}
.gc-sheet-row-more{display:inline-flex;align-items:center;margin-left:auto}
.gc-sheet-row-more .hk-ui-icon{width:20px;height:20px}

/* ---------- Video play, design-card grip, comment cancel ---------- */
.hk-video-play{display:flex;align-items:center;justify-content:center;transition:transform .25s ease,box-shadow .25s ease}
.hk-video-play:hover{transform:translate(-50%,-50%) scale(1.06)}
.hk-video-play .hk-ui-icon{width:30px;height:30px;margin-left:4px}
.dc-move-grip{display:inline-flex;align-items:center;gap:6px;padding:0 14px}
.dc-move-grip .hk-ui-icon{width:18px;height:18px}
.gc-comment-reply-cancel{min-width:44px;min-height:44px;display:inline-flex;align-items:center;justify-content:center;border-radius:50%}
.gc-comment-reply-cancel .hk-ui-icon{width:18px;height:18px}

/* ---------- Post timestamp globe ---------- */
.post-timestamp{display:inline-flex;align-items:center;gap:4px}
.post-timestamp .hk-ui-icon{width:16px;height:16px}

/* ---------- Prayer category badge + empties ---------- */
body[data-page="prayer"] .pr-head-badge .hk-ui-icon{width:24px;height:24px}
body[data-page="prayer"] .pr-empty-wrap{padding:10px 0 2px}
body[data-page="prayer"] .pr-empty-wrap .pr-empty{margin:0}

/* ---------- Empty states ---------- */
.feed-empty{text-align:center}
.feed-empty .hk-empty-art{width:132px;height:99px}
.directory-empty .hk-empty-art{width:108px;height:81px}
.gc-messages-empty .hk-empty-art{width:132px;height:99px}
.chat-empty-wrap{text-align:center;margin:auto;padding:12px}
.fc-empty-wrap{text-align:center;padding:8px 0}
.fc-empty-wrap .hk-empty-art{width:96px;height:72px}
.fc-empty-wrap p{margin:0}

/* ---------- Covers: original decorative pattern (gradient base kept) ---------- */
.entity-cover{position:relative;min-height:120px}
.entity-pattern{position:absolute;inset:0;width:100%;height:100%;display:block}
.entity-cover>small{position:relative;z-index:1}
.member-cover-pattern{position:absolute;inset:0;width:100%;height:100%;display:block}

/* ---------- Destiny & Purpose hero band ---------- */
.pd-hero-band{display:block;width:100%;height:56px;margin-top:22px;border-radius:12px}

/* ---------- Voice / video call buttons ---------- */
.call-actions{display:inline-flex;gap:8px;align-items:center}
.call-actions .btn{min-width:48px;min-height:48px;display:inline-flex;align-items:center;justify-content:center;padding:0 12px}
.call-actions .hk-ui-icon{width:22px;height:22px}
.call-symbol{display:inline-flex;align-items:center;justify-content:center}
.call-symbol .hk-ui-icon{width:44px;height:44px}

/* ---------- Motion: micro-interactions only, off when reduced ---------- */
@media(prefers-reduced-motion:reduce){
 .hk-video-play,.gc-auth-page .btn.primary,.gc-auth-page .account-form input:not([type=checkbox]),.gc-auth-page .social-signin-buttons .btn{transition:none!important}
 .hk-video-play:hover{transform:translate(-50%,-50%)}
 .gc-auth-page .btn.primary:active{transform:none}
}
/* Post pictures (Release #831): full-width under the post text,
   lazy-loaded by the card; width/height attributes reserve the
   space so the card never jumps. */
.post-media{margin:12px 0 0}
.post-media img{display:block;width:100%;height:auto;border-radius:12px}
