/* My Kingdom Keys RC5.5.1 — Declare Governing Key + Learn First */

.declare-front-door{padding-bottom:24px}
.declare-hero-card{
    position:relative;overflow:hidden;min-height:470px;display:flex;flex-direction:column;
    justify-content:space-between;padding:20px;border-radius:0 0 30px 30px;margin:-2px -2px 16px;
    border:1px solid rgba(48,58,45,.09);box-shadow:0 16px 34px rgba(48,42,31,.08)
}
.declare-hero-card::before,.declare-hero-card::after{
    content:"";position:absolute;border-radius:50%;pointer-events:none;opacity:.34
}
.declare-hero-card::before{width:220px;height:220px;top:-90px;right:-80px;background:rgba(255,255,255,.72)}
.declare-hero-card::after{width:170px;height:170px;left:-70px;bottom:-70px;background:rgba(255,255,255,.42)}
.declare-hero-card.pillar-i-am{background:linear-gradient(155deg,#dad8e9 0%,#efede7 52%,#dfe5dc 100%)}
.declare-hero-card.pillar-i-shall{background:linear-gradient(155deg,#d7e6d1 0%,#f1eee3 55%,#dce7d8 100%)}
.declare-hero-card.pillar-i-will-not{background:linear-gradient(155deg,#ead9d8 0%,#f1eade 55%,#e6ded7 100%)}
.declare-hero-top,.declare-hero-word,.declare-hero-actions,.declare-swipe-cue{position:relative;z-index:1}
.declare-hero-top{display:flex;justify-content:space-between;gap:14px;align-items:flex-start}
.declare-today-label{display:block;margin-bottom:3px;font-size:.79rem;line-height:1.3;letter-spacing:.1em;font-weight:950;color:#626a5f}
.declare-pillar{display:block;font-size:1.02rem;line-height:1.2;letter-spacing:.04em;color:#344033}
.declare-hero-top>small{max-width:46%;text-align:right;font-size:.78rem;line-height:1.35;font-weight:750;color:#6d7369}
.declare-hero-word{margin:34px 0 27px}
.declare-hero-word>span{display:block;margin-bottom:9px;font-size:.78rem;letter-spacing:.11em;font-weight:950;color:#697266}
.declare-hero-word h1{margin:0;max-width:720px;font-family:Georgia,'Times New Roman',serif;font-size:clamp(2rem,8vw,3.35rem);line-height:1.08;letter-spacing:-.025em;color:#263026}
.declare-hero-word p{margin:15px 0 0;font-size:1rem;line-height:1.4;font-weight:850;color:#596258}
.declare-hero-actions{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:9px}
.declare-hero-actions form{margin:0}
.declare-primary,.declare-learn{min-height:52px;border-radius:15px;border:0;font-size:.96rem;line-height:1.2;font-weight:950;cursor:pointer}
.declare-primary{width:100%;padding:0 18px;background:#344735;color:#fff;letter-spacing:.02em}
.declare-primary.done{background:#61705d}
.declare-learn{min-width:100px;padding:0 15px;background:rgba(255,255,255,.65);color:#344035;border:1px solid rgba(52,64,53,.12)}
.declare-swipe-cue{display:flex;justify-content:space-between;align-items:center;margin-top:10px;padding:9px 2px 0;color:#5f675e;text-decoration:none;font-size:.84rem;line-height:1.4;font-weight:750}

.declare-recall-due{display:grid;grid-template-columns:40px 1fr 18px;gap:10px;align-items:center;margin:10px 0 18px;padding:12px 13px;border-radius:16px;background:#f7eee2;border:1px solid rgba(91,68,49,.11);color:#4c463c;text-decoration:none}
.declare-recall-due>span{width:40px;height:40px;display:grid;place-items:center;border-radius:12px;background:#e9ddcd;font-size:1.1rem}
.declare-recall-due strong{display:block;font-size:.94rem;line-height:1.3}
.declare-recall-due small{display:block;margin-top:2px;font-size:.81rem;line-height:1.35;color:#746c61}

.declare-now,.declare-explore{margin:22px 0}
.declare-section-head{margin-bottom:11px}
.declare-section-head>span{display:block;margin-bottom:3px;font-size:.79rem;line-height:1.3;letter-spacing:.09em;font-weight:950;color:#757064}
.declare-section-head h2{margin:0;font-size:1.34rem;line-height:1.2;color:#303930}
.declare-pressure-strip{display:flex;gap:7px;overflow-x:auto;padding:2px 0 9px;scrollbar-width:thin;scroll-snap-type:x proximity}
.declare-pressure-strip a{flex:0 0 auto;scroll-snap-align:start;padding:8px 11px;border-radius:999px;background:#eee8dc;color:#576056;text-decoration:none;font-size:.88rem;line-height:1.2;font-weight:850}
.declare-need-word{display:grid;grid-template-columns:44px 1fr 18px;gap:11px;align-items:center;padding:14px;border-radius:18px;background:#40513a;color:#fff;text-decoration:none;box-shadow:0 9px 22px rgba(45,61,42,.13)}
.declare-need-word>span{width:44px;height:44px;display:grid;place-items:center;border-radius:14px;background:rgba(255,255,255,.12)}
.declare-need-word small{display:block;font-size:.76rem;line-height:1.3;letter-spacing:.07em;font-weight:900;opacity:.8}
.declare-need-word strong{display:block;margin-top:1px;font-size:1.08rem;line-height:1.25}
.declare-need-word em{display:block;margin-top:3px;font-size:.84rem;line-height:1.35;font-style:normal;opacity:.84}

.declare-pillar-tabs{display:grid;grid-template-columns:repeat(4,1fr);gap:5px;margin-bottom:11px}
.declare-pillar-tabs button{min-width:0;min-height:43px;padding:7px 4px;border-radius:12px;border:1px solid #ddd6c9;background:#f8f3e9;color:#6a6d65;font-size:.78rem;line-height:1.12;font-weight:950;cursor:pointer}
.declare-pillar-tabs button.active{background:#3f4d3a;border-color:#3f4d3a;color:#fff}
.declare-pillar-panel{display:none}
.declare-pillar-panel.active{display:block}
.declare-card-rail{display:flex;gap:11px;overflow-x:auto;scroll-snap-type:x mandatory;padding:2px 4px 13px 1px;scrollbar-width:thin}
.declare-browse-card{flex:0 0 min(84vw,330px);scroll-snap-align:start;box-sizing:border-box;min-height:330px;display:flex;flex-direction:column;padding:16px;border-radius:20px;border:1px solid rgba(55,62,52,.1);box-shadow:0 8px 22px rgba(52,44,34,.05)}
.declare-browse-card.pillar-i-am{background:#e8e5ef}
.declare-browse-card.pillar-i-shall{background:#e3ebe0}
.declare-browse-card.pillar-i-will-not{background:#eee1df}
.declare-browse-card.pillar-god-did{background:#efe6cf}
.declare-browse-meta{display:flex;justify-content:space-between;gap:8px;align-items:flex-start}
.declare-browse-meta span{font-size:.79rem;letter-spacing:.06em;font-weight:950;color:#4e584c}
.declare-browse-meta small{max-width:55%;text-align:right;font-size:.72rem;line-height:1.35;color:#76786f}
.declare-browse-card h3{margin:28px 0 10px;font-family:Georgia,'Times New Roman',serif;font-size:1.45rem;line-height:1.18;color:#30372e}
.declare-browse-card>p{margin:auto 0 14px;font-size:.93rem;line-height:1.45;font-weight:750;color:#64695f}
.declare-browse-actions{display:grid;grid-template-columns:1fr 1fr;gap:7px;margin-top:auto}
.declare-browse-actions form{margin:0}
.declare-browse-actions button{width:100%;min-height:43px;border-radius:12px;border:1px solid rgba(52,62,51,.13);background:rgba(255,255,255,.62);color:#394337;font-size:.83rem;font-weight:950;cursor:pointer}
.declare-browse-actions button.done{background:#465944;color:#fff}
.god-did-browse-card .god-did-summary{margin:10px 0;font-weight:500;line-height:1.5}
.god-did-reference{display:block;margin-top:auto;font-size:.82rem;line-height:1.4;font-weight:850;color:#6c624f}
.remember-action{display:block;margin-top:12px;min-height:43px;box-sizing:border-box;padding:12px;border-radius:12px;text-align:center;background:#7b6847;color:#fff;text-decoration:none;font-size:.84rem;line-height:1.2;font-weight:950}
.declare-empty-card{flex:0 0 85%;padding:20px;border-radius:18px;background:#f6f1e7;color:#656b62;font-size:.94rem}
.declare-rail-hint{margin:-3px 0 10px;text-align:center;color:#898477;font-size:.78rem;line-height:1.3;font-weight:750}
.declare-browse-all{display:grid;grid-template-columns:38px 1fr 18px;align-items:center;gap:9px;padding:12px 13px;border-radius:15px;background:#f3eee4;color:#4e574c;text-decoration:none;border:1px solid #ded7ca}
.declare-browse-all>span{width:38px;height:38px;display:grid;place-items:center;border-radius:11px;background:#e5e7dd}
.declare-browse-all strong{font-size:.92rem;line-height:1.3}

.declare-grow-door{margin:26px 0 12px;padding:20px;border-radius:24px;background:linear-gradient(150deg,#2f3f30,#53624c);color:#fff}
.declare-grow-copy>span{display:block;margin-bottom:5px;font-size:.77rem;letter-spacing:.09em;font-weight:950;opacity:.72}
.declare-grow-copy h2{margin:0 0 7px;font-family:Georgia,'Times New Roman',serif;font-size:1.65rem;line-height:1.15}
.declare-grow-copy p{margin:0;font-size:.93rem;line-height:1.55;opacity:.86}
.declare-grow-door>a{display:flex;justify-content:space-between;align-items:center;min-height:48px;margin-top:15px;padding:0 14px;border-radius:14px;background:#f2eadb;color:#334031;text-decoration:none;font-size:.9rem;font-weight:950}
.declare-install{width:100%;min-height:46px;margin-top:10px;border-radius:14px;border:1px solid #ddd5c8;background:#f7f2e8;color:#555d52;font-size:.9rem;font-weight:850}

html[data-contrast="high"] .declare-hero-card,
html[data-contrast="high"] .declare-browse-card,
html[data-contrast="high"] .declare-browse-all,
html[data-contrast="high"] .declare-recall-due{background:#fff!important;color:#111!important;border-color:#333!important}
html[data-contrast="high"] .declare-grow-door,
html[data-contrast="high"] .declare-need-word{background:#111!important;color:#fff!important}

@media(min-width:700px){
    .declare-hero-card{min-height:520px;padding:28px}
    .declare-browse-card{flex-basis:360px}
}
@media(max-width:390px){
    .declare-pillar-tabs button{font-size:.71rem}
    .declare-hero-actions{grid-template-columns:1fr}
    .declare-learn{width:100%}
}


/* RC5.5.1 governing Scripture */
.declare-governing-key{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:7px;
    padding:7px 10px 9px;
    text-align:center;
    color:#6c6f66;
    font-size:.72rem;
    line-height:1.3;
    letter-spacing:.06em;
}
.declare-governing-key span{
    font-weight:950;
}
.declare-governing-key strong{
    font-weight:800;
    color:#4a5449;
}
.declare-hero-actions{
    grid-template-columns:auto minmax(0,1fr);
}
.declare-hero-actions .declare-learn{
    min-width:112px;
}
.declare-hero-actions .declare-primary{
    width:100%;
}
@media(max-width:390px){
    .declare-governing-key{font-size:.68rem}
    .declare-hero-actions{grid-template-columns:1fr}
}
