/* Small map captions, without reducing the icon's separate button area. */
html body:has(#scene) .world-sign.compact626.waka-tag.waka-tag.waka-tag.waka-tag:not(.open):not(.tag-tight) {
 height:34px!important;min-height:34px!important;width:auto!important;
 padding:0 5px!important;gap:3px!important;border-radius:10px!important;animation:none!important;
}
html body:has(#scene) .world-sign.compact626.waka-tag.waka-tag.waka-tag.waka-tag:not(.open):not(.tag-tight) .tag-ico {
 width:20px!important;height:20px!important;min-width:20px!important;font-size:14px!important;display:grid!important;place-items:center;
}
html body:has(#scene) .world-sign.compact626.waka-tag.waka-tag.waka-tag.waka-tag:not(.open):not(.tag-tight) .tag-name {
 display:inline-block!important;opacity:1!important;padding:0!important;max-width:none!important;margin:0!important;
 font:750 11px/1.05 system-ui,sans-serif!important;color:#261c38!important;white-space:nowrap!important;transition:none!important;
}
/* Phone-sized homepage map pins retain their text, drop the pictogram, and keep a 44px hit target. */
@media(max-width:720px), (max-width:1024px) and (max-height:485px) and (orientation:landscape) and (pointer:coarse) {
 html body:has(#scene):has(#today-home)>button.world-sign.compact626.waka-tag:not([hidden]){
  box-sizing:border-box!important;width:max-content!important;min-width:44px!important;height:44px!important;min-height:44px!important;
  justify-content:center!important;align-items:center!important;padding:0 2px!important;gap:0!important;
  background:none!important;border:0!important;border-radius:12px!important;box-shadow:none!important;animation:none!important;
 }
 html body:has(#scene):has(#today-home)>button.world-sign.compact626.waka-tag::after{display:none!important}
 html body:has(#scene):has(#today-home)>button.world-sign.compact626.waka-tag>.tag-ico,
 html body:has(#scene):has(#today-home)>button.world-sign.compact626.waka-tag>.tag-name::after{display:none!important}
 html body:has(#scene):has(#today-home)>button.world-sign.compact626.waka-tag>.tag-name{
  box-sizing:border-box!important;display:inline-grid!important;place-items:center!important;
  margin:0!important;padding:3px 6px!important;min-height:24px;max-width:min(132px,38vw)!important;
  opacity:1!important;overflow:visible!important;white-space:normal!important;overflow-wrap:anywhere;text-align:center;
  font:750 11px/1.1 system-ui!important;color:#261c38!important;background:#fffdf7!important;
  border:1.5px solid var(--tag)!important;border-radius:9px!important;box-shadow:0 2px 6px #281c3e42;
 }
 html body:has(#scene):has(#today-home)>button.world-sign.compact626.waka-tag:focus-visible{
  outline:2px solid #281c3e!important;outline-offset:1px!important;box-shadow:0 0 0 4px #fff1cf!important;z-index:5!important;
 }
}
html body:has(#scene) button.dh626-room-action:not([hidden]) {
 position:fixed;z-index:44;bottom:calc(90px + env(safe-area-inset-bottom,0px));left:50%;transform:translateX(-50%);
 min-height:46px;max-width:calc(100vw - 22px);border:2px solid #e5bd76;border-radius:14px;padding:9px 15px;background:#34275e;
 color:#fff4d9;font:800 15px/1.25 system-ui;white-space:nowrap;box-shadow:0 4px 12px #26183966;
}
html body:has(#scene) button.dh626-room-action[hidden]{display:none!important}
/* Both Faith Hub actions share real layout and can never paint over each other. */
html body:has(#scene) .dh627-room-actions:not([hidden]){
 position:fixed;z-index:1200;left:max(12px,env(safe-area-inset-left));right:max(12px,env(safe-area-inset-right));
 bottom:calc(88px + env(safe-area-inset-bottom,0px));display:flex;justify-content:center;align-items:center;flex-wrap:wrap;
 gap:8px;pointer-events:none;
}
html body:has(#scene) .dh627-room-actions[hidden]{display:none!important}
html body:has(#scene):has(.dh627-room-actions:not([hidden]))>button.m551-launch{display:none!important}
html body:has(#scene) .dh627-room-actions>:is(.dh626-room-action,.m551-launch):not([hidden]){
 position:static!important;inset:auto!important;transform:none!important;margin:0!important;
 box-sizing:border-box;min-width:44px;min-height:44px;max-width:100%;padding:8px 13px!important;
 white-space:normal;overflow-wrap:anywhere;line-height:1.2!important;pointer-events:auto!important;
}
html body:has(#scene) .dh627-room-actions>.i620-actions:not([hidden]){
 position:static!important;inset:auto!important;margin:0!important;max-width:100%;pointer-events:auto!important;
}
html body:has(#scene) .dh627-room-actions>button:focus-visible{outline:3px solid #c38019!important;outline-offset:2px!important}
@media(max-width:420px){html body:has(#scene) .dh627-room-actions:not([hidden]){flex-direction:column}}
html body dialog.dh626-reader {
 position:fixed;inset:0;margin:auto;overflow:auto;width:min(690px,calc(100vw - 20px));max-height:min(760px,calc(100dvh - 24px));
 color:#242836;background:#fff9eb;border:1px solid #e3bb78;border-radius:22px;padding:clamp(15px,4vw,26px);box-shadow:0 12px 44px #272c4b50;
 font:16px/1.55 system-ui;
}
html body dialog.dh626-reader::backdrop {background:#1e263c8a}
html body dialog.dh626-reader>header {position:static;display:flex;align-items:center;justify-content:space-between;gap:8px;padding:0;margin:0 0 12px;background:none;border:0;box-shadow:none;color:#243457}
html body dialog.dh626-reader h2 {font-size:clamp(19px,5vw,29px);margin:0;padding:0;line-height:1.2}
html body dialog.dh626-reader h3 {font-size:clamp(19px,5vw,26px);margin:12px 0}
html body dialog.dh626-reader h4 {font-size:18px;color:#243457;margin:18px 0 4px}
html body dialog.dh626-reader article p {margin:9px 0 13px}
html body dialog.dh626-reader .dh626-meta {color:#534d62;font-size:13px}
html body dialog.dh626-reader nav,html body dialog.dh626-reader footer {display:flex;flex-wrap:wrap;gap:8px;background:none;padding:0}
html body dialog.dh626-reader :is(button,a) {min-height:44px;display:inline-flex;align-items:center;padding:8px 11px;border:1px solid #84728b;border-radius:10px;font:750 13px/1.2 system-ui;background:#eedff0;color:#38264a;cursor:pointer}
html body dialog.dh626-reader button[aria-pressed=true] {background:#403366;color:#fff8e8}
html body dialog.dh626-reader footer {margin-top:20px}
html body dialog.dh626-reader.dh626-reader > :is(.ui156-x.ui156-x.ui156-x,.waka-exit,.details215-close,.s144-share.s144-share) {display:none!important}
html body .dh626-faith-extra {margin-top:10px}
html body .dh626-faith-extra .ff-tile{background:#4d366d}
html body .waka-phone-modern .phone-group-head{color:#fff5de!important}
