/* Read-only APK castle 31-35 progression facts, not upgrade actions. */
#rk-castle-interior #rk-castle-apk-late-levels{display:flex;flex-direction:column;gap:10px;margin:14px 0;padding:10px 8px;border:1px solid #b99e6e;border-radius:7px;background:linear-gradient(150deg,#273f53,#142638)}
#rk-castle-apk-late-levels h3{margin:0;color:#ffdfab;font:bold 16px/1.4 Tahoma;border-bottom:1px solid #977951;padding-bottom:9px}
#rk-castle-apk-late-levels .rk-castle-late-note,#rk-castle-apk-late-levels .rk-castle-late-loading{font:12px/1.7 Tahoma;color:#efdcbb;margin:0}
#rk-castle-apk-late-levels .rk-castle-late-entries{display:flex;flex-direction:column;gap:9px}
#rk-castle-apk-late-levels .rk-castle-late-level{border:1px solid #968059;background:linear-gradient(#1e344b,#0e2436);border-radius:5px;padding:8px;display:flex;flex-direction:column;gap:7px}
#rk-castle-apk-late-levels .rk-castle-late-heading{display:flex;align-items:center;gap:10px}
#rk-castle-apk-late-levels .rk-castle-late-heading strong{color:#f7d9a7;font:700 16px Tahoma}
#rk-castle-apk-late-levels .rk-castle-late-heading small{font:10px Tahoma;flex:1;color:#ddcfb2}
#rk-castle-apk-late-levels .rk-castle-late-heading img{width:64px;height:53px;object-fit:contain}
#rk-castle-apk-late-levels .rk-castle-late-resources{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:5px}
#rk-castle-apk-late-levels .rk-castle-late-resource{display:grid;grid-template-columns:24px minmax(0,1fr);gap:0 5px;align-items:center;min-width:0;padding:5px;background:#0d2436;border:1px solid #78684c;border-radius:4px}
#rk-castle-apk-late-levels .rk-castle-late-resource img{width:22px;height:22px;grid-row:1/3;object-fit:contain}
#rk-castle-apk-late-levels .rk-castle-late-resource span{font:11px Tahoma}
#rk-castle-apk-late-levels .rk-castle-late-resource strong{font:700 12px Tahoma;color:#f5dfac;white-space:nowrap}
#rk-castle-apk-late-levels .rk-castle-late-special{margin:0;color:#f9d0a1;font:700 12px/1.6 Tahoma;display:flex;align-items:center;gap:6px}
#rk-castle-apk-late-levels .rk-castle-late-special img{width:27px;height:27px;object-fit:contain;flex:0 0 27px}
#rk-castle-apk-late-levels .rk-castle-late-prereqs{margin:0;color:#dfd0af;font:11px/1.6 Tahoma;word-break:break-word}
#rk-castle-apk-late-levels .rk-castle-late-disabled{color:#e2b3ac;font:11px/1.6 Tahoma}
@media(max-width:355px){#rk-castle-apk-late-levels .rk-castle-late-resources{grid-template-columns:1fr 1fr}#rk-castle-apk-late-levels .rk-castle-late-resource strong{font-size:10px}}
