.entry-modal{position:fixed;inset:0;z-index:9999;background:rgba(4,4,10,.94);backdrop-filter:blur(18px);display:none;flex-direction:column}
.entry-modal.open{display:flex}
.entry-modal__bar{height:72px;display:flex;align-items:center;justify-content:space-between;gap:.85rem;padding:0 clamp(16px,4vw,34px);border-bottom:1px solid rgba(255,255,255,.12);background:rgba(8,8,18,.92)}
.entry-modal__title{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:900;letter-spacing:.01em;color:#f7f2ff;line-height:1.2;padding-right:.25rem}
.entry-modal__actions{display:flex;align-items:center;gap:.62rem;flex:0 0 auto}
.entry-modal__btn{width:46px;height:46px;min-width:46px;padding:0;border:1px solid rgba(167,139,250,.34);background:rgba(255,255,255,.045);color:#e8e2ff;border-radius:50%;font:inherit;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;justify-content:center;line-height:1;transition:border-color .16s ease,background .16s ease,transform .16s ease;color .16s ease}
.entry-modal__btn:hover{border-color:rgba(167,139,250,.72);background:rgba(124,58,237,.18);transform:translateY(-1px)}
.entry-modal__share svg{width:20px;height:20px;display:block}

.entry-modal__core{font-size:1.35rem;font-weight:900;color:#d8d1ff}
.entry-modal__core.is-active{color:#ffd94d;border-color:rgba(255,217,77,.46);background:rgba(255,217,77,.11)}
.entry-modal__core[hidden]{display:none!important}
.entry-modal__close{font-size:1.25rem}
.entry-modal iframe{width:100%;height:calc(100vh - 72px);border:0;background:#080812}
.entry-modal__swipehint{position:absolute;left:50%;bottom:18px;transform:translateX(-50%);z-index:3;pointer-events:none;padding:8px 12px;border-radius:999px;background:rgba(8,8,18,.74);border:1px solid rgba(167,139,250,.26);color:#d9d3ff;font-size:.78rem;letter-spacing:.04em;opacity:0;transition:opacity .22s ease;box-shadow:0 12px 34px rgba(0,0,0,.32)}
.entry-modal__swipehint.is-visible{opacity:1}
body.modal-open{overflow:hidden}
@media(max-width:700px){.entry-modal__bar{height:62px}.entry-modal iframe{height:calc(100vh - 62px)}.entry-modal__title{font-size:.86rem}.entry-modal__btn{width:42px;height:42px;min-width:42px}.entry-modal__share svg{width:18px;height:18px}}
.share-toast{
  position:fixed;
  left:50%;
  bottom:max(22px,env(safe-area-inset-bottom));
  transform:translateX(-50%) translateY(18px);
  opacity:0;
  pointer-events:none;
  z-index:99999;
  padding:.75rem 1rem;
  border-radius:999px;
  border:1px solid rgba(0,224,255,.3);
  background:rgba(5,8,18,.92);
  color:#eaf8ff;
  font-size:.85rem;
  font-weight:700;
  box-shadow:0 18px 42px rgba(0,0,0,.36);
  transition:opacity .2s ease,transform .2s ease;
}
.share-toast.is-visible{opacity:1;transform:translateX(-50%) translateY(0);}
