/* Prince screen + Hall of Leaders, rebuilt against videos 95296/95297 with original extracted artwork. */
#game.rk-fixed-shell #rk-persona-page{position:absolute;inset:93px 0 92px;z-index:62;display:flex;flex-direction:column;overflow:hidden;direction:rtl;background:#0a0d13;color:#e9d7b0;font:13px/1.4 Tahoma,Arial,sans-serif}
#game #rk-persona-page[hidden]{display:none!important}
#rk-persona-page .rk-persona-header{height:51px;min-height:51px;display:flex;align-items:center;gap:10px;background:linear-gradient(115deg,#05080a,#181918 60%,#090d12);border-bottom:2px solid #9b8050;padding:0 12px 0 7px;box-shadow:0 2px 5px #000b}
#rk-persona-page .rk-persona-heading{font:19px/1.2 Tahoma,Arial;color:#f3dfb5;flex:1}
#rk-persona-page .rk-persona-back{border:0;background:transparent;color:#eccc75;font:bold 35px Arial;min-width:42px;height:44px;transform:scaleX(-1);cursor:pointer}
#rk-persona-page .rk-persona-help{width:32px;height:32px;background:#c5af70;color:#0d1620;border-radius:4px;font:bold 23px Arial;border:2px solid #5a4b31;cursor:pointer}
#rk-persona-page .rk-persona-scroll{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;-webkit-overflow-scrolling:touch;background:radial-gradient(ellipse at center 33%,#303037 0%,#13151b 48%,#0a0d12 86%);scrollbar-width:thin}
#rk-persona-page .rk-persona-view{min-height:100%;display:flex;flex-direction:column;gap:7px;padding:8px}
#rk-persona-page .rk-persona-bottom{display:flex;align-items:center;justify-content:space-around;min-height:81px;height:81px;flex:0 0 81px;background:linear-gradient(#151a1c,#05090b);border-top:2px solid #a68b5f;gap:3px;padding:4px 5px}
#rk-persona-page .rk-persona-bottom-btn{flex:1;min-width:0;border:none;background:transparent;color:#ebd8a9;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-height:68px;cursor:pointer;font:11px Tahoma}
#rk-persona-page .rk-persona-bottom-btn img{width:41px;height:41px;object-fit:contain;filter:drop-shadow(0 2px 2px #000)}
#rk-persona-page .rk-persona-bottom-btn.active{color:#ffefbe;background:linear-gradient(#40341c99,#171c2244)}
#rk-persona-page .rk-persona-notice{position:absolute;z-index:5;bottom:85px;left:8px;right:8px;background:#253746ed;border:1px solid #c29d60;border-radius:7px;color:#f8ddb6;padding:12px;font:13px/1.6 Tahoma;text-align:center}
#rk-persona-page .rk-persona-notice[hidden],#rk-persona-page .rk-persona-confirm[hidden]{display:none}
#rk-persona-page .rk-persona-confirm{position:absolute;z-index:8;left:10px;right:10px;top:50%;transform:translateY(-50%);border:2px solid #c0a16a;border-radius:8px;background:linear-gradient(#293943,#101d2a);box-shadow:0 0 0 900px #03060abe,0 6px 25px #000;display:grid;grid-template-columns:1fr 1fr;gap:9px;padding:18px;direction:rtl}
#rk-persona-page .rk-persona-confirm p{grid-column:1/-1;margin:0 0 10px;font:15px/1.8 Tahoma;color:#ffe3a6;text-align:center}
#rk-persona-page .rk-persona-confirm button{border:1px solid #ab8a54;border-radius:5px;padding:10px;background:linear-gradient(#684b2a,#352418);color:#fff0cc;font:14px Tahoma;touch-action:manipulation}
#rk-persona-page .rk-persona-confirm .rk-persona-confirm-submit{background:linear-gradient(#ac7c39,#6f491d)}
#rk-persona-page .rk-prince-ident{display:flex;align-items:center;justify-content:center;gap:13px;min-height:82px;padding:5px 10px;color:#f9eac1;background:linear-gradient(90deg,transparent,#151b23a8,transparent)}
#rk-persona-page .rk-prince-avatar{width:60px;height:60px;object-fit:cover;border:3px solid #c7a96e;border-radius:7px}
#rk-persona-page .rk-prince-ident>div{display:flex;flex-direction:column;gap:9px;min-width:0}
#rk-persona-page .rk-prince-ident strong{font:16px Tahoma}
#rk-persona-page .rk-prince-ident span{font:12px Tahoma;color:#d6bd83}
#rk-persona-page .rk-prince-stage{height:clamp(290px,43svh,405px);position:relative;background:radial-gradient(ellipse at 50% 40%,#3339409c,transparent 70%);flex-shrink:0;overflow:hidden;border-bottom:1px solid #393f49}
#rk-persona-page .rk-prince-fullbody{position:absolute;left:50%;top:0;transform:translateX(-50%);width:auto;height:100%;max-width:86%;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 5px 13px #000a);pointer-events:none}
#rk-persona-page .rk-prince-slot{position:absolute;--y:calc(10% + var(--slot-index)*21%);top:var(--y);width:57px;height:57px;z-index:2;border:3px solid #666b72;border-radius:50%;background:radial-gradient(circle,#3b4246,#111218);color:#7c8186;font-size:33px;display:grid;place-items:center;box-shadow:0 2px 7px #000b;touch-action:manipulation}
#rk-persona-page .rk-prince-slot.left{left:4px}
#rk-persona-page .rk-prince-slot.right{right:4px}
#rk-persona-page .rk-prince-slot:last-of-type{border-color:#a17c50;color:#ad7e4c}
#rk-persona-page .rk-prince-stage-rank{position:absolute;left:50%;bottom:4px;transform:translateX(-50%);color:#e2c482;background:#141b24bb;padding:4px 10px;border-radius:15px;white-space:nowrap}
#rk-persona-page .rk-prince-meters{display:flex;flex-direction:column;gap:7px;padding:5px 0 9px}
#rk-persona-page .rk-persona-meter{height:29px;display:flex;align-items:center;padding:0 5px;background:#14171b;border:2px solid #77756f;position:relative;border-radius:3px;overflow:hidden;box-shadow:inset 0 1px 4px #000}
#rk-persona-page .rk-persona-meter i{position:absolute;inset:4px 5px;background:linear-gradient(90deg,#3d93a5,#8bd5d4);opacity:.8}
#rk-persona-page .rk-persona-meter.secondary i{background:linear-gradient(90deg,#186d28,#43bf6c)}
#rk-persona-page .rk-persona-meter small{position:relative;z-index:1;flex:1;color:#f5e8d3;text-align:center;text-shadow:0 2px 3px #000;font:12px Tahoma}
#rk-persona-page .rk-section-title{font:18px Tahoma;color:#e3c485;border-bottom:1px solid #977c52;padding:12px 5px 8px;margin:4px 0}
#rk-persona-page .rk-persona-row{display:flex;justify-content:space-between;align-items:center;gap:8px;padding:12px 9px;border-bottom:1px solid #505159;background:#101821c4}
#rk-persona-page .rk-persona-row b{font-weight:500;color:#dac8a4}
#rk-persona-page .rk-persona-row span{color:#f8e5bd}
#rk-persona-page .rk-persona-empty{padding:14px 9px;text-align:center;color:#d0c5b5;font:13px/1.8 Tahoma;border:1px solid #3b4952;background:#14202b9e;border-radius:6px}
#rk-persona-page .rk-persona-gold-btn{border:2px solid #d5bb7e;border-radius:4px;background:linear-gradient(125deg,#ac8d55,#4a3214,#ba9249);color:#fff1c8;padding:11px;font:15px Tahoma;min-height:43px;cursor:pointer;touch-action:manipulation}
#rk-persona-page .rk-persona-gold-btn:disabled{filter:grayscale(.9);opacity:.65;cursor:default}
#rk-persona-page .rk-persona-tree{display:flex;align-items:center;gap:9px;flex-wrap:wrap;padding:10px;border:1px solid #806746;background:linear-gradient(#273340,#0c1c29);border-radius:5px}
#rk-persona-page .rk-persona-tree-root{width:42px;height:42px;object-fit:contain}
#rk-persona-page .rk-persona-tree strong{color:#f7dd95}
#rk-persona-page .rk-persona-tree-nodes{flex:1 0 100%;display:flex;flex-wrap:wrap;gap:7px}
#rk-persona-page .rk-persona-tree-nodes span{border:1px solid #786642;border-radius:30px;background:#1c2734;color:#e8ca9a;padding:8px}
#rk-persona-page .rk-persona-tree small{font:10px/1.7 Tahoma;color:#baa98d}
#rk-persona-page .rk-persona-leader-note{font:12px/1.8 Tahoma;color:#d3b891;margin:8px 2px}
#rk-persona-page .rk-persona-hero-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:5px;direction:rtl}
#rk-persona-page .rk-persona-hero-card{height:clamp(165px,36vw,230px);position:relative;min-width:0;overflow:hidden;border:2px ridge #77747a;background:radial-gradient(ellipse at 50% 35%,#43454b,#161d27 76%);border-radius:2px;touch-action:manipulation;cursor:pointer;padding:0}
#rk-persona-page .rk-persona-hero-art{width:100%;height:calc(100% - 31px);object-fit:contain;object-position:center bottom;filter:drop-shadow(0 3px 3px #000)}
#rk-persona-page .rk-persona-hero-card:not(.owned) .rk-persona-hero-art{filter:grayscale(.4) brightness(.65)}
#rk-persona-page .rk-persona-hero-grade{position:absolute;top:6px;right:5px;display:grid;place-items:center;width:26px;height:26px;transform:rotate(45deg);border:2px solid #8754a3;background:#1e1b2c;color:#dcbedf;font:bold 17px Arial}
#rk-persona-page .rk-persona-hero-grade:first-letter{transform:rotate(-45deg)}
#rk-persona-page .rk-persona-hero-name{position:absolute;bottom:0;right:0;left:0;text-align:center;background:linear-gradient(#05070abb,#141d28);border-top:1px solid #a58253;color:#f5e0af;padding:4px 0;white-space:nowrap;font:12px Tahoma;overflow:hidden;text-overflow:ellipsis}
#rk-persona-page .rk-persona-hero-level{position:absolute;bottom:32px;right:4px;border:1px solid #ab935c;border-radius:30px;background:#1a1c1dcc;color:#f8e2b3;font:10px Tahoma;padding:3px 6px}
#rk-persona-page .rk-persona-primary{position:absolute;top:1px;left:2px;color:#fff3b3;background:#6b541fa8;font:9px Tahoma;padding:4px}
#rk-persona-page .rk-persona-hall-actions{display:flex;gap:10px;position:sticky;bottom:0;padding:8px 5px 5px;background:#090d12e8;margin-top:auto}
#rk-persona-page .rk-persona-hall-actions button{flex:1}
#rk-persona-page .rk-persona-hero-display{height:clamp(265px,40svh,410px);overflow:hidden;position:relative;background:radial-gradient(circle at 50% 40%,#41424d,#121620 62%,#080d13);border-bottom:2px solid #9b8150;flex-shrink:0}
#rk-persona-page .rk-persona-hero-large{width:100%;height:100%;object-fit:contain;object-position:center bottom;filter:drop-shadow(0 5px 9px #000)}
#rk-persona-page .rk-persona-prev,#rk-persona-page .rk-persona-next{position:absolute;top:55%;width:32px;height:40px;background:#070b0ecc;border:0;color:#efcb74;font:bold 25px Arial;touch-action:manipulation}
#rk-persona-page .rk-persona-prev{right:4px}
#rk-persona-page .rk-persona-next{left:4px}
#rk-persona-page .rk-persona-display-name{position:absolute;left:0;right:0;top:7px;text-align:center;color:#e7c98b;text-shadow:0 2px #000;font:17px Tahoma}
#rk-persona-page .rk-persona-display-power{position:absolute;bottom:4px;left:50%;transform:translateX(-50%);background:#121d27db;color:#f1d495;border:1px solid #988159;padding:6px 15px;border-radius:3px;white-space:nowrap}
#rk-persona-page .rk-persona-detail-tabs{display:flex;gap:5px}
#rk-persona-page .rk-persona-detail-tab{flex:1;border:1px solid #a18a61;background:#172634;color:#d5be91;padding:9px 4px;font:13px Tahoma;border-radius:2px;touch-action:manipulation}
#rk-persona-page .rk-persona-detail-tab.active{background:linear-gradient(#926b3c,#47321e);color:#fff1cb}
#rk-persona-page .rk-persona-hero-actions{display:flex;flex-direction:column;gap:9px;padding:10px 5px;margin-top:auto;background:linear-gradient(#1d2834,#090f16);border:1px solid #4e4940}
#rk-persona-page .rk-persona-price{color:#e6c88e;font:12px/1.6 Tahoma;text-align:center;margin:0}
#rk-persona-page .rk-persona-gear-line button{border:1px solid #a38555;background:#36424a;color:#f7d9a1;padding:6px;min-width:60px}
#game.rk-persona-open #rk-apk-right-actions,#game.rk-persona-open #rk-apk-more,#game.rk-persona-open #rk-guidance-ribbon,#game.rk-persona-open #rk-city-outside-timers,#game.rk-persona-open .fab{display:none!important}
body:has(#game.rk-persona-open) #rok-audio-holder{display:none!important}
@media(max-width:355px){#rk-persona-page .rk-persona-hero-grid{gap:3px}#rk-persona-page .rk-persona-hero-card{height:159px}#rk-persona-page .rk-prince-slot{width:49px;height:49px;font-size:26px}#rk-persona-page .rk-persona-bottom-btn img{width:32px;height:32px}}
@media(max-height:640px){#game.rk-fixed-shell #rk-persona-page{bottom:80px}#rk-persona-page .rk-prince-stage{height:330px}}

/* Keep the action strip on-screen, like the APK, even when the character is tall. */
#rk-persona-page .rk-persona-hero-actions{position:absolute;z-index:5;left:8px;right:8px;bottom:81px;margin:0;box-shadow:0 -8px 12px #080c13aa}
#rk-persona-page .rk-persona-scroll:has(.rk-persona-hero-actions){padding-bottom:145px}

/* Original APK 20-leader hall: B x4, A x12, S x4; card art from heropalace sprites. */
#rk-persona-page .rk-reference-hero-filters{display:flex;position:sticky;z-index:5;top:0;gap:5px;padding:5px 0 9px;background:#0b0e14eb}
#rk-persona-page .rk-reference-filter{flex:1;min-width:0;border:1px solid #917951;background:linear-gradient(#263443,#111d2d);color:#ddc7a2;border-radius:5px;padding:9px 2px;font:bold 12px Tahoma;touch-action:manipulation}
#rk-persona-page .rk-reference-filter.active{border-color:#dfbf79;background:linear-gradient(#ad813c,#65441e);color:#fff1cb}
#rk-persona-page .rk-persona-hero-card.rk-reference-hero-card{background:radial-gradient(ellipse at center,#353342,#111523);border-color:#8b6c83}
#rk-persona-page .rk-persona-hero-card.rk-reference-hero-card.rarity-B{border-color:#8495bd}
#rk-persona-page .rk-persona-hero-card.rk-reference-hero-card.rarity-A{border-color:#b389d1}
#rk-persona-page .rk-persona-hero-card.rk-reference-hero-card.rarity-S{border-color:#daab5f}
#rk-persona-page .rk-reference-hero-card .rk-persona-hero-art{width:100%;height:calc(100% - 25px);object-fit:fill;opacity:1;filter:drop-shadow(0 3px 4px #000c)}
#rk-persona-page .rk-reference-hero-card .rk-persona-hero-grade{transform:none;width:26px;height:26px;border:1px solid #d6c693;border-radius:50%;font:bold 17px Arial;color:#ffedc2;background:radial-gradient(circle,#453d47,#150f1a)}
#rk-persona-page .rk-reference-hero-card.rarity-S .rk-persona-hero-grade{background:radial-gradient(circle,#b99142,#513717)}
#rk-persona-page .rk-reference-hero-card .rk-persona-reference-number{position:absolute;top:4px;left:5px;color:#f3dbaa;background:#090e16bc;border:1px solid #867456;border-radius:3px;padding:2px 5px;font:10px Tahoma}
#rk-persona-page .rk-reference-hero-card .rk-persona-hero-name{font:12px Tahoma;bottom:0}
#rk-persona-page .rk-legacy-heroes{margin-bottom:18px}
#rk-persona-page .rk-persona-hero-card.legacy .rk-persona-hero-grade{transform:none;width:34px;font-size:10px}
#rk-persona-page .rk-persona-hero-large{object-fit:contain;object-position:center bottom}
@media(max-width:360px){#rk-persona-page .rk-reference-filter{font-size:11px}}

/* APK hero shard wallet and tap targets. */
#rk-persona-page .rk-reference-shards-help{color:#d9bc87;text-align:center;font:11px/1.5 Tahoma;display:block}
#rk-persona-page .rk-reference-hero-card.owned{background:radial-gradient(ellipse at center,#56452e,#12141e);border-color:#ecbe65}
#rk-persona-page .rk-reference-hero-card .rk-persona-hero-level{font-size:10px;padding:3px 5px;max-width:92%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#rk-persona-page .rk-persona-hero-actions button:disabled{opacity:.55;filter:grayscale(.7);cursor:not-allowed}

#rk-persona-page .rk-persona-skill-item{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:10px 8px;background:linear-gradient(95deg,#1d2b38,#0b121c);border:1px solid #93744e;border-radius:5px;color:#eddbb6}
#rk-persona-page .rk-persona-skill-item>div{display:flex;flex-direction:column;gap:3px}
#rk-persona-page .rk-persona-skill-item b{font-size:12px}
#rk-persona-page .rk-persona-skill-item small{color:#b7a17d;font-size:10px}
#rk-persona-page .rk-persona-skill-item span{font-size:10px;color:#d8b679;max-width:40%;text-align:center}
#rk-persona-page .rk-persona-hero-actions{max-height:38%;overflow:auto;overscroll-behavior:contain}

#rk-persona-page .rk-persona-skill-item.unlocked{border-color:#d2b474;background:linear-gradient(95deg,#344b3a,#1a2326)}

#rk-persona-page .rk-persona-skill-icon{width:43px;height:43px;flex:0 0 43px;object-fit:contain;border:1px solid #bba05f;border-radius:5px;background:#101721;padding:2px}
#rk-persona-page .rk-persona-skill-item>div{flex:1;min-width:0}
/* Original APK recruit point shop — read-only random draws, transactional one-shard sales. */
#rk-persona-page .rk-recruit-shop-balances{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin:5px 0}
#rk-persona-page .rk-recruit-shop-balance{background:linear-gradient(125deg,#364454,#14202b);border:1px solid #c09f66;border-radius:7px;color:#f8dda5;padding:14px 8px;text-align:center;font:bold 12px/1.8 Tahoma}
#rk-persona-page .rk-recruit-shop-list{display:flex;flex-direction:column;gap:6px;padding:3px 0 14px}
#rk-persona-page .rk-recruit-shop-offer{display:flex;align-items:center;gap:9px;border:1px solid #88704c;background:linear-gradient(90deg,#283644,#101924);border-radius:6px;padding:7px;min-height:87px}
#rk-persona-page .rk-recruit-shop-icon{width:57px;height:71px;flex:0 0 57px;object-fit:fill;border:1px solid #98805d;border-radius:4px}
#rk-persona-page .rk-recruit-shop-offer-info{display:flex;min-width:0;flex:1;flex-direction:column;gap:8px;color:#ead9b2;font:12px/1.6 Tahoma}
#rk-persona-page .rk-recruit-shop-offer-info strong{font-size:13px}
#rk-persona-page .rk-recruit-shop-offer-info span{font-size:11px;color:#cdb685}
#rk-persona-page .rk-recruit-shop-buy{border:2px solid #a98452;border-radius:6px;background:linear-gradient(#a9783c,#63411b);color:#fff0bc;font:bold 13px Tahoma;min-width:64px;padding:9px 6px;touch-action:manipulation}
#rk-persona-page .rk-recruit-shop-buy:disabled{opacity:.55;filter:grayscale(0.9)}
#rk-persona-page .rk-recruit-mode-grid{display:grid;grid-template-columns:1fr 1fr;gap:7px}
#rk-persona-page .rk-recruit-mode{border:1px solid #94815e;border-radius:7px;background:linear-gradient(#30383e,#121923);padding:11px 7px;display:flex;flex-direction:column;gap:9px;color:#e6d3a9;text-align:center}
#rk-persona-page .rk-recruit-mode strong{font-size:13px}
#rk-persona-page .rk-recruit-mode span{font-size:11px;line-height:1.6;flex:1}
#rk-persona-page .rk-persona-hall-actions{flex-wrap:wrap}
#rk-persona-page .rk-persona-hall-actions button{flex:1 1 28%;font-size:12px}
@media(max-width:360px){#rk-persona-page .rk-recruit-shop-icon{width:49px;height:64px;flex-basis:49px}#rk-persona-page .rk-recruit-shop-buy{min-width:51px;font-size:11px;padding:8px 4px}#rk-persona-page .rk-recruit-shop-balances{gap:4px}}

#rk-persona-page .rk-hero-appointment-controls{display:flex;flex-direction:column;gap:6px;border-top:1px solid #806747;padding:10px 3px 0}
#rk-persona-page .rk-hero-appointment-controls>.rk-recruit-shop-buy{width:100%;font-weight:500;font-size:12px}
#rk-persona-page .rk-hero-appointment-heading{text-align:center;color:#f7e1a8;font:14px Tahoma;margin-bottom:4px}

#rk-persona-page .rk-skill-source-button{display:block;margin:10px auto;min-height:44px;width:100%;max-width:440px}
#rk-persona-page .rk-skill-source-panel{display:flex;flex-direction:column;gap:9px;margin:4px 0 12px}
#rk-persona-page .rk-skill-source-heading{color:#f6d9a3;font:15px Tahoma;text-align:center}
#rk-persona-page .rk-skill-source-card{border:1px solid #99815b;border-radius:7px;background:linear-gradient(105deg,#1f3441,#0f1a23);padding:10px 8px;color:#e6d9bb;display:flex;flex-direction:column;gap:7px}
#rk-persona-page .rk-skill-source-card>strong{font-size:14px}
#rk-persona-page .rk-skill-source-section{color:#e4ae67;font:12px Tahoma}
#rk-persona-page .rk-skill-source-card .rk-persona-row{margin:0;padding:5px 4px;font-size:11px}

/* Own-city hero mission history: eight latest, mobile friendly, no PVP changes. */
#rk-persona-page .rk-persona-mission-card{display:flex;flex-direction:column;gap:8px;
 border:1px solid #a98b54;background:linear-gradient(110deg,#1c3642,#132332);
 border-radius:8px;margin:8px 0;padding:12px 10px;color:#ebdab5;font:12px/1.5 Tahoma}
#rk-persona-page .rk-persona-mission-top{display:flex;gap:10px;align-items:center;justify-content:space-between}
#rk-persona-page .rk-persona-mission-top b{font-size:13px}
#rk-persona-page .rk-persona-mission-top span{color:#f2c776;border:1px solid #aa8752;
 border-radius:6px;padding:4px 6px;font-size:11px;white-space:nowrap}
#rk-persona-page .rk-persona-mission-card small{color:#cbb995;font-size:11px}
#rk-persona-page .rk-persona-detail-tabs button{min-width:0;flex:1;font-size:12px}

/* Exact client-APK possible loot previews (NOT weighted odds). */
#rk-persona-page .rk-recruit-preview-items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
 gap:8px;margin:10px 0 16px;padding:0 2px}
#rk-persona-page .rk-recruit-preview-item{min-width:0;border:1px solid #8c7352;
 border-radius:8px;background:linear-gradient(135deg,#2c3847,#0d1722);
 display:flex;align-items:center;flex-direction:column;gap:7px;padding:9px 4px;color:#e3d4b5}
#rk-persona-page .rk-recruit-preview-icon{width:61px;height:61px;max-width:100%;
 object-fit:contain;border-radius:5px;background:rgba(9,15,21,.6)}
#rk-persona-page .rk-recruit-preview-item span{font-size:11px;line-height:1.45;text-align:center;
 overflow-wrap:anywhere;min-height:29px}
@media(max-width:360px){#rk-persona-page .rk-recruit-preview-items{gap:5px}
 #rk-persona-page .rk-recruit-preview-icon{width:51px;height:51px}
 #rk-persona-page .rk-recruit-preview-item span{font-size:10px}}

/* Original APK 8 fortress camps and 120 challenge rewards. No fabricated combat. */
#rk-persona-page .rk-reference-camp-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
#rk-persona-page .rk-reference-camp-card{border:1px solid #8c7350;border-radius:8px;
 padding:11px 7px;background:linear-gradient(140deg,#32434b,#12202c);
 display:flex;flex-direction:column;align-items:center;gap:7px;min-width:0;color:#f5d9a1;text-align:center}
#rk-persona-page .rk-reference-camp-flag{font-size:31px;line-height:1}
#rk-persona-page .rk-reference-camp-card strong{font-size:13px}
#rk-persona-page .rk-reference-camp-card small{font-size:11px;color:#c8b58f}
#rk-persona-page .rk-fortress-small-prize{display:flex;align-items:center;gap:5px;font-size:11px;color:#ead5ad}
#rk-persona-page .rk-fortress-small-prize img{width:27px;height:27px;object-fit:contain}
#rk-persona-page .rk-fortress-selector{display:flex;align-items:center;gap:10px;margin:10px 0;flex-wrap:wrap;color:#edd4a6;font-size:13px}
#rk-persona-page .rk-fortress-selector select{flex:1;min-height:44px;min-width:150px;
 background:#152939;color:#f4dca9;border:1px solid #b49161;border-radius:6px;padding:8px}
#rk-persona-page .rk-fortress-task-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}
#rk-persona-page .rk-fortress-task-card{display:flex;flex-direction:column;gap:8px;min-width:0;
 border:1px solid #92754b;border-radius:7px;padding:10px 8px;
 background:linear-gradient(120deg,#233846,#101b29);color:#f1dbb3}
#rk-persona-page .rk-fortress-task-card>strong{font-size:14px}
#rk-persona-page .rk-fortress-task-card>span{font-size:12px}
#rk-persona-page .rk-fortress-task-card>small{color:#bbac8b;font-size:11px}
#rk-persona-page .rk-fortress-reward-row{display:flex;flex-direction:column;gap:6px;flex:1}
#rk-persona-page .rk-fortress-reward{display:flex;align-items:center;gap:6px;font-size:11px;overflow-wrap:anywhere}
#rk-persona-page .rk-fortress-reward img{width:32px;height:32px;object-fit:contain;flex:0 0 32px}
#rk-persona-page .rk-fortress-task-card button{font-size:11px;padding:7px 3px;width:100%}
@media(max-width:360px){#rk-persona-page .rk-fortress-task-grid{gap:5px}
 #rk-persona-page .rk-fortress-task-card{padding:7px 5px}
 #rk-persona-page .rk-fortress-task-card>span{font-size:11px}}

#rk-persona-page img.rk-reference-camp-flag{width:70px;height:77px;max-width:90%;object-fit:contain;
 border:0;border-radius:0;background:none;display:block;flex:0 0 auto}

/* Server-confirmed fortress-win progress, never calculated from browser actions. */
#rk-persona-page .rk-fortress-progress-label{color:#e9cd91;font-weight:700}
#rk-persona-page .rk-fortress-progress-track{height:9px;width:100%;border:1px solid #ac8e58;
 background:#0b1b28;border-radius:6px;overflow:hidden}
#rk-persona-page .rk-fortress-progress-fill{height:100%;background:linear-gradient(90deg,#9c6c30,#e8c46a);border-radius:5px}
#rk-persona-page .rk-fortress-completed{color:#e8ce89;line-height:1.45}

/* Fortress preflight: only authentic city/hero balances, NO march dispatch. */
#rk-persona-page button.rk-fortress-prepare{min-height:43px;border:1px solid #c9a15b;
 background:linear-gradient(#735930,#3d2c18);color:#f8eac8;border-radius:7px;
 padding:8px 10px;font-weight:700;font-size:12px;cursor:pointer;width:100%}
#rk-persona-page .rk-fortress-form{display:flex;flex-direction:column;gap:10px;
 background:#182b3b;border:1px solid #806b4c;border-radius:9px;padding:12px;margin:9px 0}
#rk-persona-page .rk-fortress-form label{display:flex;flex-direction:column;gap:5px;
 color:#f2dab0;font-size:13px}
#rk-persona-page .rk-fortress-form select,
#rk-persona-page .rk-fortress-form input{box-sizing:border-box;max-width:100%;width:100%;
 min-height:43px;background:#0d1e2b;border:1px solid #a98b60;border-radius:5px;
 padding:7px 10px;color:#fff1c9;font:inherit}
#rk-persona-page .rk-fortress-form-army{display:flex;flex-direction:column;gap:8px}
#rk-persona-page .rk-fortress-form-unit{display:grid!important;grid-template-columns:minmax(0,1fr) 84px;
 gap:6px;align-items:center;min-width:0}
#rk-persona-page .rk-fortress-form-unit input{max-width:84px}
#rk-persona-page .rk-fortress-form-warning{border-right:3px solid #d0a25c;
 padding:6px 8px;background:#2e2b26;color:#f4dbaf;margin:0;font-size:12px}
#rk-persona-page .rk-fortress-form-good{border-right:3px solid #a9c6a3;
 padding:6px 8px;color:#e5f0df;font-size:12px}
#rk-persona-page .rk-fortress-form-flag{display:block;margin:5px auto;width:78px;height:88px;object-fit:contain}
#rk-persona-page .rk-fortress-source-cost{font-size:12px;line-height:1.8;color:#ead6b5;border:1px solid #8f764e;border-radius:6px;padding:9px;background:#233646}

/* Original APK newground/Ground terrain surface. The dynamic original tile layout
   and hero-world point positions are not available in this reference APK. */
#rk-persona-page .rk-hero-ground-shell{width:100%;min-width:0;box-sizing:border-box;
 border:1px solid #a58e65;border-radius:8px;background:#141b1b;overflow:hidden;margin:10px 0}
#rk-persona-page .rk-hero-ground-toolbar{display:flex;justify-content:space-between;
 gap:8px;align-items:center;padding:7px 9px;color:#f6dfac;font-size:12px;
 background:linear-gradient(180deg,#4a3a24,#21201a)}
#rk-persona-page .rk-hero-ground-tools{display:flex;gap:4px}
#rk-persona-page button.rk-hero-ground-tool{min-width:38px;min-height:38px;box-sizing:border-box;
 border:1px solid #aa936d;background:#30291d;color:#f3e1b8;border-radius:6px;
 font-size:19px;line-height:1;touch-action:manipulation}
#rk-persona-page .rk-hero-ground-view{position:relative;overflow:hidden;
 height:260px;width:100%;max-width:100%;background:#7b8c54;touch-action:none;
 cursor:grab;user-select:none;outline-offset:-3px}
#rk-persona-page .rk-hero-ground-view:active{cursor:grabbing}
#rk-persona-page .rk-hero-ground-plane{position:absolute;left:50%;top:50%;
 width:1400px;height:1400px;margin-left:-700px;margin-top:-700px;
 background:#7b8c54 url('/assets/hero-world-map-20261014/Ground.webp') repeat;
 background-size:512px 512px;transform-origin:center center;will-change:transform}
#rk-persona-page .rk-hero-ground-shell>.rk-persona-leader-note{padding:8px 11px;
 margin:0;background:#242a24;font-size:11px;line-height:1.65}
@media (min-width:600px){#rk-persona-page .rk-hero-ground-view{height:350px}}

/* Source-native point ID lookup; never creates world markers or battles. */
#rk-persona-page .rk-hero-point-lookup{display:grid;grid-template-columns:minmax(0,1fr) auto;
 gap:8px;align-items:end;margin:8px 0 12px;padding:8px;background:#1b2d31;
 border:1px solid #8d7549;border-radius:7px;min-width:0}
#rk-persona-page .rk-hero-point-lookup label{min-width:0;color:#f0d6a9;
 font-size:12px;display:flex;flex-direction:column;gap:4px}
#rk-persona-page .rk-hero-point-lookup input{box-sizing:border-box;width:100%;min-width:0;
 min-height:42px;color:#f8ebcb;background:#10212a;border:1px solid #9b8050;
 border-radius:5px;padding:7px;font-size:15px}
#rk-persona-page .rk-hero-point-lookup button{min-height:42px;white-space:normal;
 max-width:132px}
@media(max-width:350px){#rk-persona-page .rk-hero-point-lookup{grid-template-columns:minmax(0,1fr) 95px}}

#rk-persona-page .rk-world-native-grid-coords{display:inline-block;direction:ltr;unicode-bidi:isolate;margin-inline:4px;font-variant-numeric:tabular-nums;white-space:nowrap;color:#f5db9f}

/* Full-coverage periodic terrain canvas for long drags at 0.7×–2.8×. */
#rk-persona-page .rk-hero-ground-plane{width:2600px;height:2600px;margin-left:-1300px;margin-top:-1300px}

/* Exact original APK terrain sprites, independent from unverified tile positions. */
#rk-persona-page .rk-hero-tile-gallery{margin:10px 0;min-width:0;width:100%;
 box-sizing:border-box;border:1px solid #8c7653;border-radius:7px;
 padding:8px;background:#1b292d}
#rk-persona-page .rk-hero-tile-toggle{width:100%;min-height:42px;
 color:#f2dfbc;border:1px solid #b19460;background:linear-gradient(#62512f,#2d261c);
 border-radius:5px;font-weight:700}
#rk-persona-page .rk-hero-tile-content[hidden]{display:none}
#rk-persona-page .rk-hero-tile-content{min-width:0;padding:8px 0 1px}
#rk-persona-page .rk-hero-tile-group-heading{margin:12px 0 7px;
 color:#f5dfb7;font-size:12px}
#rk-persona-page .rk-hero-tile-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));
 gap:6px;min-width:0;box-sizing:border-box}
#rk-persona-page .rk-hero-tile-card{display:flex;flex-direction:column;min-width:0;
 align-items:center;justify-content:center;gap:2px;padding:5px 3px;
 background:linear-gradient(#31473e,#192d2a);border:1px solid #7f8c73;
 color:#e8d4ac;border-radius:5px;min-height:102px;cursor:pointer;box-sizing:border-box;
 overflow:hidden;font-size:10px}
#rk-persona-page .rk-hero-tile-card[aria-pressed="true"]{outline:2px solid #e6c477;outline-offset:-3px}
#rk-persona-page .rk-hero-tile-card span{display:block;max-width:100%;overflow-wrap:anywhere;
 text-align:center}
#rk-persona-page .rk-hero-tile-card small{font-size:9px;direction:ltr;
 unicode-bidi:isolate;white-space:nowrap}
#rk-persona-page .rk-hero-tile-thumb{width:100%;height:65px;object-fit:contain;
 image-rendering:auto;pointer-events:none}
#rk-persona-page .rk-hero-tile-detail{display:flex;flex-direction:column;gap:5px;
 padding:9px;margin-top:8px;color:#f0dfbf;background:#263b38;
 border:1px solid #978764;border-radius:5px}
#rk-persona-page .rk-hero-tile-detail strong{text-align:center;font-size:13px}
#rk-persona-page .rk-hero-tile-detail small{font-size:11px;direction:ltr;text-align:center}
#rk-persona-page .rk-hero-tile-preview-backdrop{height:220px;display:flex;
 align-items:center;justify-content:center;box-sizing:border-box;min-width:0;
 overflow:hidden;background:#849b75 url('/assets/hero-world-map-20261014/Ground.webp') repeat;
 background-size:256px 256px;border-radius:4px}
#rk-persona-page .rk-hero-tile-preview{max-width:100%;max-height:100%;
 object-fit:contain}
@media(min-width:600px){#rk-persona-page .rk-hero-tile-grid{grid-template-columns:repeat(4,minmax(0,1fr))}}
