.op{
  --op-text:#0b1020;
  --op-muted:#334155;
  --shadow:0 10px 22px rgba(2,6,23,.20), 0 2px 8px rgba(2,6,23,.12);
  font-family: system-ui, -apple-system, Segoe UI, Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif;
  color:var(--op-text);
}


.op-layer{
  position: fixed;
  z-index: 999;       
  top: 0; right: 0; bottom: 0; left: 0;

  background: linear-gradient(135deg,#e6f2ff 0%, #cfe6ff 100%);
}


.op-box-wrapper{
  display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex;
  height: 100%; width: 100%;
  padding: 12px 8px; position: relative;
}
.op-box{
  display: -webkit-box; display: -webkit-flex; display: -ms-flexbox; display: flex;
  margin: auto;
  -webkit-flex-flow: column wrap; -ms-flex-flow: column wrap; flex-flow: column wrap;
  position: relative;
  -webkit-box-pack: center; -webkit-justify-content: center; -ms-flex-pack: center; justify-content: center;
  max-width: 420px; width: 100%;
}

.op *{ box-sizing:border-box }


.op-card{
  width:100%;
  border-radius:16px;
  background:#fff;
  border:1px solid rgba(2,6,23,.06);
  box-shadow: var(--shadow);
  padding:14px;
  color: var(--op-text);
  max-height: calc(100svh - 24px);
  overflow:auto;
}


.op-title{ font-weight:800; font-size:clamp(19px,5vw,23px); line-height:1.22; letter-spacing:.1px; color:var(--op-text) }
.op-title a{ color:var(--op-text); text-decoration: underline; text-decoration-color: rgba(17,24,39,.35) }
.op-pill{
  display:inline-block; padding:.22rem .54rem; margin-left:.42rem;
  background:linear-gradient(90deg,#3b82f6,#06b6d4);
  color:#fff; border-radius:999px; font-weight:800; font-size:.78em; vertical-align:middle
}
.op-sub{ margin-top:6px; font-size:14px; color:var(--op-muted) }

.op-features{ margin:12px 0 0 0; display:grid; gap:7px; grid-template-columns:1fr }
.op-feature{ display:flex; gap:8px; align-items:flex-start; font-size:15px; line-height:1.4 }
.op-ico{
  width:16px; height:16px;
  background-image:url('./layer-list.png');
  background-size:contain; background-repeat:no-repeat;
  margin-top:3px; flex:0 0 auto;
}


.op-coupon[hidden]{ display:none !important }
.op-coupon{
  margin-top:12px; display:flex; flex-wrap:wrap; gap:8px; align-items:center;
  padding:10px; border-radius:12px;
  border:1px dashed rgba(245,158,11,.55);
  background: rgba(245,158,11,.10);
}
.op-coupon-label{ font-weight:800; letter-spacing:.02em }
.op-coupon-code{
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
  font-weight:800; font-size:15px;
  padding:.32rem .68rem; border-radius:10px;
  background:#fff; border:1px solid rgba(2,6,23,.10); color:#111827
}
.op-coupon small{ color:#334155 }


.op-cta{ margin-top:12px; display:flex }
.op-btn{
  appearance:none; border:none; text-decoration:none; cursor:pointer;
  padding:14px 18px; min-height:46px; border-radius:12px; font-weight:800; font-size:15px;
  width:100%; text-align:center;
  box-shadow:0 12px 22px rgba(0,0,0,.40);
  transition: transform .08s ease, box-shadow .2s ease, background .2s ease;
}
.op-btn-primary{ background:linear-gradient(90deg,#ef4444,#dc2626); color:#fff; text-align:center }
.op-btn-primary:hover{ transform: translateY(-1px) }


.op-badges{ margin-top:10px; display:flex; gap:8px; flex-wrap:wrap; align-items:center }
.op-badge{
  font-weight:700; font-size:12px; padding:6px 10px; border-radius:999px;
  background:rgba(59,130,246,.10); border:1px solid rgba(59,130,246,.25); color:#0b1020
}
.op-note{ margin-top:10px; color:#475569; font-size:12px }


@media screen and (max-width: 480px) and (orientation: portrait){
  .op-box{ max-width:none; width:100vw; height:100dvh; margin:0; }
  .op-box-wrapper{ height:100dvh; padding:0; }
  .op-card{ height:100dvh; max-height:100dvh; border-radius:0; padding:16px 14px; overflow:auto; }
}
@media screen and (max-width: 896px) and (orientation: landscape){
  .op-box{ max-width:none; width:100vw; height:100svh; margin:0; }
  .op-box-wrapper{ height:100svh; padding:0; }
  .op-card{ height:100svh; max-height:100svh; border-radius:0; }
}
