.ln-screen{
 --ln-bg:#fbf5e9;
 --ln-panel:#fffaf1;
 --ln-text:#49341e;
 --ln-muted:#806b50;
 --ln-border:#c8a66b55;
 position:fixed;
 inset:0;
 z-index:15000;
 display:flex;
 flex-direction:column;
 background:var(--ln-bg);
 color:var(--ln-text);
 padding-top:env(safe-area-inset-top);
 box-sizing:border-box;
 overflow:hidden;
}
[data-eris-theme="dark"] .ln-screen{
 --ln-bg:#19110c;
 --ln-panel:#2c2017;
 --ln-text:#fff2dc;
 --ln-muted:#c6b39a;
 --ln-border:#b88a504d;
}
.ln-screen *{box-sizing:border-box}
.ln-screen button{
 font:inherit;
 color:inherit;
 cursor:pointer;
}
.ln-header{
 display:flex;
 align-items:center;
 justify-content:space-between;
 padding:12px 16px;
 min-height:58px;
 font-size:20px;
}
.ln-header button{
 width:40px;
 height:40px;
 border:0;
 background:transparent;
 font-size:27px;
}
.ln-tabs{
 display:grid;
 grid-template-columns:repeat(4,minmax(0,1fr));
 padding:0 8px;
}
.ln-tabs button{
 min-height:48px;
 padding:8px 2px;
 background:transparent;
 border:0;
 border-bottom:3px solid transparent;
 color:var(--ln-muted);
 font-weight:700;
}
.ln-tabs button[aria-selected="true"]{
 color:var(--ln-text);
 border-color:var(--ln-accent);
}
.ln-content{
 flex:1;
 min-height:0;
 overflow-y:auto;
 overscroll-behavior:contain;
 padding:0 12px 16px;
}
.ln-hero{
 text-align:center;
 padding:24px 8px;
 background:radial-gradient(
 ellipse at center,
 color-mix(in srgb,var(--ln-accent) 24%,transparent),
 transparent 72%
 );
}
.ln-emblem{
 display:grid;
 place-items:center;
 width:150px;
 height:150px;
 margin:0 auto;
 font-size:94px;
 color:var(--ln-accent);
 text-shadow:0 0 24px var(--ln-accent);
}
.ln-rank-title{
 font-size:23px;
 margin:12px 0;
 letter-spacing:1px;
}
.ln-hero p,.ln-note{
 color:var(--ln-muted);
}
.ln-section{
 border:1px solid var(--ln-border);
 border-radius:20px;
 background:var(--ln-panel);
 padding:14px;
 margin-bottom:14px;
}
.ln-section h3{
 margin:0 0 16px;
 text-align:center;
 font-size:17px;
}
.ln-grid{
 display:grid;
 grid-template-columns:repeat(3,minmax(0,1fr));
 gap:10px;
}
.ln-feature{
 display:flex;
 flex-direction:column;
 align-items:center;
 justify-content:center;
 gap:10px;
 min-height:112px;
 padding:8px 3px;
 border:1px solid var(--ln-border);
 border-radius:14px;
 text-align:center;
 font-size:12px;
 overflow-wrap:anywhere;
}
.ln-feature-icon{
 font-size:38px;
 color:var(--ln-accent);
}
.ln-footer{
 flex-shrink:0;
 padding:16px 20px
 calc(16px + env(safe-area-inset-bottom));
 background:var(--ln-panel);
 border-top:1px solid var(--ln-border);
 border-radius:20px 20px 0 0;
}
.ln-progress{
 height:9px;
 border-radius:10px;
 background:var(--ln-border);
 margin:12px 0 8px;
}
.ln-footer small{
 color:var(--ln-muted);
}

/* Lidya Asaleti V2 - Privilege previews */

.ln-screen [hidden]{
 display:none!important;
}

.ln-screen .ln-feature{
 width:100%;
 background:transparent;
 color:var(--ln-text);
}

.ln-locked{
 filter:grayscale(1);
 opacity:.55;
}

.ln-count{
 font-size:13px;
 font-weight:700;
}

.ln-detail{
 position:absolute;
 inset:0;
 z-index:10;
 display:flex;
 align-items:flex-end;
 background:#0009;
}

.ln-detail-sheet{
 position:relative;
 width:100%;
 max-height:85%;
 min-height:53%;
 overflow-y:auto;
 overscroll-behavior:contain;
 background:var(--ln-panel);
 color:var(--ln-text);
 border:1px solid var(--ln-accent);
 border-radius:26px 26px 0 0;
 padding:12px 18px
 calc(24px + env(safe-area-inset-bottom));
 animation:ln-sheet-open .22s ease-out;
}

.ln-detail-handle{
 width:38px;
 height:4px;
 margin:0 auto 20px;
 border-radius:8px;
 background:var(--ln-muted);
 opacity:.5;
}

.ln-detail-close{
 position:absolute;
 top:12px;
 right:12px;
 width:36px;
 height:36px;
 border:0;
 background:transparent;
 font-size:26px!important;
}

.ln-detail-title{
 text-align:center;
 font-size:21px;
 margin:12px 25px 22px;
 overflow-wrap:anywhere;
}

.ln-detail-art{
 display:grid;
 place-items:center;
 width:100%;
 min-height:170px;
 aspect-ratio:16/9;
 border:1px solid var(--ln-border);
 border-radius:18px;
 font-size:88px;
 color:var(--ln-accent);
 background:radial-gradient(
 ellipse at center,
 color-mix(in srgb,var(--ln-accent) 22%,transparent),
 transparent 75%
 );
}

.ln-detail-nav{
 display:flex;
 align-items:center;
 justify-content:space-between;
 margin:10px 0 18px;
}

.ln-detail-nav button{
 width:44px;
 height:38px;
 border:1px solid var(--ln-border);
 border-radius:12px;
 background:transparent;
 font-size:25px;
}

.ln-detail-position{
 color:var(--ln-muted);
 font-size:12px;
}

.ln-detail-text{
 font-size:15px;
 line-height:1.7;
}

.ln-detail-status{
 border-top:1px solid var(--ln-border);
 padding-top:14px;
 color:var(--ln-muted);
 font-size:13px;
 font-weight:700;
}

@keyframes ln-sheet-open{
 from{transform:translateY(100%)}
 to{transform:translateY(0)}
}

@media(prefers-reduced-motion:reduce){
 .ln-detail-sheet{animation:none}
}

/* Lidya Asaleti V3 - Premium assets */

.ln-premium-art{
 display:block;
 width:100%;
 height:100%;
 object-fit:contain;
 pointer-events:none;
}

.ln-emblem .ln-premium-art{
 max-width:220px;
 max-height:220px;
 margin:auto;
}

.ln-feature-icon .ln-premium-art{
 width:100%;
 height:76px;
 object-fit:contain;
}

.ln-detail-art .ln-premium-art{
 width:100%;
 max-height:260px;
 object-fit:contain;
}

/* Lidya Asaleti V5 - Entrance */

.ln-entrance-overlay{
 position:fixed;
 inset:0;
 z-index:2147483647;
 background:#000;
 display:flex;
 align-items:center;
 justify-content:center;
 overflow:hidden;
}

.ln-entrance-stage{
 position:relative;
 width:min(100vw,56.25dvh);
 aspect-ratio:9/16;
 max-height:100dvh;
}

.ln-entrance-video{
 display:block;
 width:100%;
 height:100%;
 object-fit:contain;
}

.ln-entrance-name{
 position:absolute;
 bottom:12%;
 left:8%;
 right:8%;
 color:#ffe29a;
 text-align:center;
 font-size:clamp(18px,6vw,32px);
 font-weight:800;
 text-shadow:0 2px 5px #000,0 0 14px #c99b38;
 overflow:hidden;
 text-overflow:ellipsis;
 white-space:nowrap;
 pointer-events:none;
}

.ln-entrance-close{
 position:absolute;
 top:calc(env(safe-area-inset-top,0px) + 16px);
 right:16px;
 width:42px;
 height:42px;
 border-radius:50%;
 border:1px solid #d6b66b;
 background:#0009;
 color:#fff;
 font-size:28px;
 cursor:pointer;
}

.ln-preview-play{
 display:block;
 width:min(90%,320px);
 min-height:44px;
 margin:12px auto;
 padding:10px 16px;
 border:1px solid #e4bd65;
 border-radius:14px;
 background:linear-gradient(
  135deg,#fff0bb,#d6a744,#a87927
 );
 color:#352009;
 font-size:14px;
 font-weight:800;
 box-shadow:0 3px 12px #b88a3533;
 cursor:pointer;
}

.ln-preview-play:disabled{
 opacity:.55;
}

/* Lidya Asaleti V9 - Live account panel */

.ln-account-row{
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:12px;
 margin-bottom:8px;
}

.ln-current-rank{
 color:var(--ln-accent);
 font-weight:800;
}

.ln-account-points{
 font-size:22px;
 font-weight:800;
 overflow-wrap:anywhere;
}

.ln-account-expiry{
 display:block;
 font-size:11px;
}

.ln-account-expiry:empty{
 display:none;
}

.ln-progress{
 overflow:hidden;
}

.ln-progress-fill{
 height:100%;
 width:0%;
 border-radius:inherit;
 background:linear-gradient(
  90deg,#a77932,var(--ln-accent)
 );
 transition:width .3s ease;
}

.ln-account-status{
 display:block;
 line-height:1.4;
}

.ln-screen [data-account-retry]{
 width:100%;
 margin-top:8px;
 padding:9px;
 border:1px solid var(--ln-border);
 border-radius:10px;
 color:var(--ln-text);
 background:transparent;
 font-weight:700;
}

/* Lidya Asaleti V9 - Points history */

.ln-screen [data-history-open],
.ln-screen [data-history-more]{
 width:100%;
 padding:12px;
 margin-top:10px;
 border:1px solid var(--ln-accent);
 border-radius:12px;
 background:transparent;
 color:var(--ln-text);
 font-weight:700;
}

.ln-history{
 position:absolute;
 inset:0;
 z-index:30;
 display:flex;
 flex-direction:column;
 background:var(--ln-panel);
 color:var(--ln-text);
 padding-bottom:env(safe-area-inset-bottom);
}

.ln-history-list{
 flex:1;
 min-height:0;
 overflow-y:auto;
 padding:12px 16px;
}

.ln-history-row{
 display:flex;
 align-items:center;
 justify-content:space-between;
 gap:12px;
 padding:16px 0;
 border-bottom:1px solid var(--ln-border);
}

.ln-history-row small{
 display:block;
 margin-top:6px;
 font-size:11px;
 color:var(--ln-muted);
}

.ln-history-credit{
 color:var(--ln-accent);
}

.ln-history-debit{
 color:var(--ln-text);
}

.ln-history-status{
 text-align:center;
 padding:8px 16px;
 color:var(--ln-muted);
}

.ln-screen [data-history-more]{
 width:calc(100% - 32px);
 margin:8px 16px 16px;
}

/* Lidya Asaleti V10 - Membership action */

.ln-screen .ln-action-button{
 display:block;
 width:100%;
 min-height:46px;
 margin:10px 0 5px;
 padding:10px 14px;
 border:1px solid #c89b43;
 border-radius:13px;
 background:linear-gradient(
  135deg,#f5dfa0,#d5a54c,#edcc7d
 );
 color:#38240d;
 font-size:14px;
 font-weight:800;
 line-height:1.3;
 box-shadow:0 3px 10px #9b70252b;
}

.ln-screen .ln-action-button:disabled{
 opacity:.72;
 cursor:default;
}

.ln-screen .ln-action-button:not(:disabled):active{
 transform:scale(.98);
}

.ln-screen .ln-action-button:focus-visible{
 outline:2px solid var(--ln-accent);
 outline-offset:3px;
}

.ln-action-note{
 display:block;
 text-align:center;
 font-size:11px;
 line-height:1.4;
 margin-bottom:5px;
}

.ln-action-note:empty{
 display:none;
}

/* Lidya Asaleti V10 - Transaction confirmation */

.ln-confirm{
 position:absolute;
 inset:0;
 z-index:40;
 display:flex;
 align-items:center;
 justify-content:center;
 padding:16px;
 background:#0009;
 box-sizing:border-box;
}

.ln-confirm-sheet{
 position:relative;
 width:100%;
 max-width:420px;
 max-height:100%;
 overflow-y:auto;
 overscroll-behavior:contain;
 box-sizing:border-box;
 padding:20px;
 border:1px solid var(--ln-accent);
 border-radius:24px;
 background:var(--ln-panel);
 color:var(--ln-text);
 box-shadow:0 16px 50px #0005;
 animation:ln-sheet-open .22s ease-out;
}

.ln-screen .ln-confirm-close{
 position:absolute;
 top:10px;
 right:12px;
 width:34px;
 height:34px;
 border-radius:50%;
 background:transparent;
 color:var(--ln-text);
 font-size:25px;
}

.ln-confirm-emblem{
 display:flex;
 align-items:center;
 justify-content:center;
 width:110px;
 height:110px;
 margin:0 auto;
 color:var(--ln-accent);
 font-size:64px;
}

.ln-confirm-emblem img{
 width:100%;
 height:100%;
 object-fit:contain;
}

.ln-confirm-rank{
 margin:5px 0;
 text-align:center;
 font-size:24px;
 color:var(--ln-accent);
}

.ln-confirm-title{
 margin:6px 0 18px;
 text-align:center;
 font-size:15px;
 color:var(--ln-text);
}

.ln-confirm-summary{
 display:grid;
 gap:11px;
 padding:14px 0;
 border-top:1px solid var(--ln-border);
 border-bottom:1px solid var(--ln-border);
}

.ln-confirm-summary>div{
 display:flex;
 justify-content:space-between;
 align-items:center;
 gap:12px;
 font-size:13px;
}

.ln-confirm-summary span{
 color:var(--ln-muted);
}

.ln-confirm-summary strong{
 text-align:right;
 overflow-wrap:anywhere;
 color:var(--ln-text);
 font-variant-numeric:tabular-nums;
}

.ln-confirm-summary .ln-confirm-cost{
 color:var(--ln-accent);
}

.ln-confirm-description{
 margin:14px 0;
 text-align:center;
 font-size:12px;
 line-height:1.5;
 color:var(--ln-muted);
}

.ln-confirm-status{
 display:block;
 text-align:center;
 color:var(--ln-muted);
 font-size:11px;
}

.ln-screen .ln-confirm-cancel{
 width:100%;
 min-height:42px;
 margin-top:5px;
 border:1px solid var(--ln-border);
 border-radius:12px;
 background:transparent;
 color:var(--ln-text);
 font-size:13px;
 font-weight:600;
}

@media(prefers-reduced-motion:reduce){
 .ln-confirm-sheet{
  animation:none;
 }
}


/* Asalet finansal islem penceresi */
.ln-pending-symbol{
 display:flex;
 align-items:center;
 justify-content:center;
 width:76px;
 height:76px;
 margin:0 auto 12px;
 border:1px solid var(--ln-accent);
 border-radius:50%;
 color:var(--ln-accent);
 font-size:48px;
}

.ln-pending .ln-confirm-rank{
 font-size:20px;
 margin-bottom:18px;
}

.ln-pending-cost{
 color:var(--ln-accent)!important;
}

.ln-pending-status{
 margin:12px 0;
 line-height:1.5;
 overflow-wrap:anywhere;
}

.ln-confirm button:disabled{
 opacity:.5;
 cursor:not-allowed;
 pointer-events:none;
}

/* V11 - Shared nobility appearance */
.lidya-nobility-badge {
 display:inline-block;
 width:26px;
 height:26px;
 object-fit:contain;
 vertical-align:middle;
 margin-inline-start:4px;
 flex-shrink:0;
 pointer-events:none;
}

.eris-seat .lidya-nobility-badge {
 width:19px;
 height:19px;
 margin-inline-start:2px;
}

/* V11 - Royal room card decoration */
.lidya-nobility-room-card {
 position:relative;
 isolation:isolate;
}

.lidya-nobility-room-card::after {
 content:"";
 position:absolute;
 inset:0;
 z-index:-1;
 border-radius:inherit;
 background-image:var(--lidya-nobility-room-frame);
 background-size:100% 100%;
 background-position:center;
 background-repeat:no-repeat;
 pointer-events:none;
}

/* V11 - Nobility profile region background */
.lidya-nobility-profile {
 background-image:
  linear-gradient(
   color-mix(in srgb,var(--ui-panel) 65%,transparent),
   color-mix(in srgb,var(--ui-panel) 85%,transparent)
  ),
  var(--lidya-nobility-profile-bg) !important;
 background-position:center !important;
 background-size:cover !important;
 background-repeat:no-repeat !important;
}

.lidya-nobility-live-banner {
    position: fixed;
    top: calc(env(safe-area-inset-top, 0px) + 65px);
    left: 50%;
    transform: translateX(-50%);
    width: min(94vw, 460px);
    z-index: 93010 !important;
    pointer-events: none;
    isolation: isolate;
    animation: lidya-nobility-banner-in .3s ease-out;
}

.lidya-nobility-live-banner img {
    display: block;
    width: 100%;
    max-height: 150px;
    object-fit: contain;
}

.lidya-nobility-live-banner span {
    display: block;
    margin: -12px auto 0;
    padding: 7px 12px;
    width: fit-content;
    max-width: 92%;
    border-radius: 12px;
    background: #24170ee8;
    border: 1px solid #cda65d;
    color: #fff1cc;
    text-align: center;
    font-size: 12px;
    font-weight: 700;
    overflow-wrap: anywhere;
    box-shadow: 0 4px 18px #0005;
}

@keyframes lidya-nobility-banner-in {
    from { opacity: 0; translate: 0 -12px; }
    to { opacity: 1; translate: 0 0; }
}

@media (prefers-reduced-motion: reduce) {
    .lidya-nobility-live-banner {
        animation: none;
    }
}

/* LidyaChat Nobility Super Kick */
.room-v3-btn.lidya-super-kick-btn {
  background: linear-gradient(
    145deg,
    #fff0b0 0%,
    #d6ac45 48%,
    #a87720 100%
  ) !important;
  color: #291b08 !important;
  border: 1px solid #e5c36c !important;
  border-radius: 12px;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(170,120,30,.22);
}

.room-v3-btn.lidya-super-kick-btn:disabled {
  opacity: .55;
  pointer-events: none;
}


/* LIDYA KNIGHT PREMIUM BANNERS V1.7.1 */

.lidya-nobility-live-banner.lidya-knight-live-banner{
  width:min(92vw,440px);
  top:calc(env(safe-area-inset-top,0px) + 76px);
  padding:0;
  pointer-events:none;
  isolation:isolate;
  filter:drop-shadow(0 8px 14px #0005);
}

.lidya-knight-live-banner img{
  width:100%;
  height:auto;
  max-height:180px;
  object-fit:contain;
}

.lidya-knight-live-banner span{
  box-sizing:border-box;
  width:fit-content;
  max-width:94%;
  margin:4px auto 0;
  padding:9px 16px;
  border:1px solid #d7b46b;
  border-radius:12px;
  background:linear-gradient(
    145deg,#37291b,#1d150e
  );
  color:#fff3d4;
  font-size:13px;
  font-weight:750;
  line-height:1.45;
  text-align:center;
  overflow-wrap:anywhere;
  box-shadow:0 4px 14px #0004;
}

.lidya-knight-gift-banner img{
  aspect-ratio:808 / 352;
}

.lidya-knight-activation-banner img{
  aspect-ratio:2 / 1;
}

.lidya-knight-live-banner img[hidden]{
  display:none!important;
}

.lidya-knight-banner-fallback span{
  margin-top:0;
  border-width:2px;
}

@media(max-width:360px){

  .lidya-knight-live-banner img{
    max-height:145px;
  }

  .lidya-knight-live-banner span{
    font-size:12px;
    padding:7px 10px;
  }
}

@media(max-height:500px){

  .lidya-nobility-live-banner.lidya-knight-live-banner{
    top:calc(env(safe-area-inset-top,0px) + 42px);
    width:min(70vw,360px);
  }

  .lidya-knight-live-banner img{
    max-height:100px;
  }
}

@media(prefers-reduced-motion:reduce){

  .lidya-knight-live-banner{
    animation:none!important;
  }
}


/* LIDYA KNIGHT ENTRANCE V1.8.1 */

.lidya-knight-live-entrance{
  inset:auto!important;
  top:50%!important;
  left:50%!important;
  transform:translate(-50%,-50%);
  width:min(64vw,240px,26dvh);
  height:auto;
  overflow:visible;
  background:transparent;
  pointer-events:none;
  z-index:11999;
}

.lidya-knight-live-entrance .ln-entrance-stage{
  width:100%;
  max-height:48dvh;
  border-radius:18px;
  overflow:hidden;
  background:#20160e;
  border:1px solid #d8b66a;
  box-shadow:0 8px 24px #0006;
}

.lidya-knight-live-entrance .ln-entrance-name{
  bottom:8%;
  font-size:clamp(12px,3.2vw,18px);
  white-space:normal;
  overflow-wrap:anywhere;
  background:#21170cdd;
  border-radius:8px;
  padding:5px;
  z-index:2;
}

.lidya-knight-live-entrance .ln-entrance-close{
  pointer-events:auto;
  top:-12px;
  right:-12px;
  width:34px;
  height:34px;
  font-size:23px;
  z-index:3;
}

.lidya-knight-entrance-poster{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  object-fit:contain;
  pointer-events:none;
}

.ln-entrance-video[hidden]{
  display:none!important;
}

@media(prefers-reduced-motion:reduce){
  .lidya-knight-live-entrance{
    animation:none!important;
    transition:none!important;
  }
}


/* KNIGHT ORIGINAL ENTRANCE V1.13.3 */

.ln-entrance-overlay.lidya-knight-timed-entrance{
 position:fixed!important;
 inset:0!important;
 width:100%!important;
 height:100%!important;
 transform:none!important;
 background:#000!important;
 overflow:hidden!important;
 pointer-events:auto!important;
 z-index:2147483647!important;
}

.lidya-knight-timed-entrance .ln-entrance-stage{
 position:relative;
 width:min(100vw,56.25dvh)!important;
 height:auto!important;
 aspect-ratio:9/16;
 max-height:100dvh!important;
 border:0!important;
 border-radius:0!important;
 box-shadow:none!important;
 overflow:hidden;
}

.lidya-knight-timed-entrance .ln-entrance-name{
 position:absolute;
 left:12%!important;
 right:auto!important;
 top:84%!important;
 bottom:auto!important;
 width:76%!important;
 transform:translateY(-50%);
 padding:0!important;
 margin:0!important;
 background:transparent!important;
 color:#ffe29a!important;
 font-size:clamp(14px,5vw,30px);
 font-weight:800;
 text-align:center;
 white-space:nowrap!important;
 overflow:hidden;
 text-overflow:ellipsis;
 z-index:5;
}

.lidya-knight-timed-entrance .ln-entrance-name[hidden]{
 display:none!important;
}

.lidya-knight-timed-entrance .ln-entrance-close{
 top:calc(env(safe-area-inset-top,0px) + 16px)!important;
 right:16px!important;
 width:42px!important;
 height:42px!important;
}


/* KNIGHT NAME POSITION V1.13.4 */

.lidya-knight-timed-entrance .ln-entrance-name{
 position:absolute!important;

 left:50%!important;
 top:85.8%!important;

 right:auto!important;
 bottom:auto!important;

 width:70%!important;
 height:4.2%!important;

 transform:translate(-50%,-50%)!important;

 display:flex!important;
 align-items:center!important;
 justify-content:center!important;

 padding:0!important;
 margin:0!important;

 font-size:clamp(12px,4.5vw,28px);
 font-weight:800!important;
 line-height:1!important;

 text-align:center!important;
 white-space:nowrap!important;

 color:#ffe6a6!important;

 background:transparent!important;
 border:none!important;
 box-shadow:none!important;

 text-shadow:0 2px 4px #000!important;

 overflow:hidden!important;
 box-sizing:border-box!important;

 z-index:5!important;
}

.lidya-knight-timed-entrance .ln-entrance-name[hidden]{
 display:none!important;
}


/* Nobility Collection V117 Preview */

.ln-detail-art{
  position:relative;
  box-sizing:border-box;
  overflow:hidden;
  min-width:0;
  min-height:0;
  aspect-ratio:16/9;
  grid-template-columns:minmax(0,1fr);
  grid-template-rows:minmax(0,1fr);
}

.ln-detail-art .ln-premium-art{
  position:absolute;
  inset:0;
  width:100%;
  height:100%;
  max-width:100%;
  max-height:100%;
  object-fit:contain;
  box-sizing:border-box;
}


/* LIDYA KNIGHT DYNAMIC GIFT V1.19.2 */
.lidya-nobility-live-banner.lidya-knight-dynamic-gift {
  width:min(94vw,520px);
  aspect-ratio:3 / 1;
  padding:0;
  container-type:inline-size;
}
.lidya-knight-dynamic-gift .ln-dynamic-template {
  display:block;
  width:100%;
  height:100%;
  max-height:none;
  aspect-ratio:3 / 1;
  object-fit:contain;
}
.lidya-knight-dynamic-gift .ln-dynamic-sender,
.lidya-knight-dynamic-gift .ln-dynamic-label {
  position:absolute;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  box-sizing:border-box;
  color:#fff1c6;
  font-weight:800;
  font-family:Georgia,serif;
  text-shadow:0 1px 2px #000,0 0 4px #000;
  overflow:hidden;
  overflow-wrap:anywhere;
  line-height:1.05;
}
.lidya-knight-dynamic-gift .ln-dynamic-sender {
  left:36%; top:41%; width:28%; height:14%;
  font-size:clamp(9px,4vw,21px);
  font-size:clamp(9px,4cqw,21px);
}
.lidya-knight-dynamic-gift .ln-dynamic-artwork {
  position:absolute;
  left:73.5%; top:18%; width:14%; height:43%;
  object-fit:contain;
  max-height:none;
  aspect-ratio:auto;
  filter:drop-shadow(0 2px 5px #0008);
}
.lidya-knight-dynamic-gift .ln-dynamic-label {
  left:70%; top:66.8%; width:21.8%; height:10%;
  font-size:clamp(7px,2.65vw,15px);
  font-size:clamp(7px,2.8cqw,15px);
}
.lidya-knight-dynamic-gift .ln-dynamic-fallback {display:none;}
.lidya-knight-dynamic-gift.ln-dynamic-template-failed {
  aspect-ratio:auto;
}
.lidya-knight-dynamic-gift.ln-dynamic-template-failed .ln-dynamic-sender,
.lidya-knight-dynamic-gift.ln-dynamic-template-failed .ln-dynamic-label,
.lidya-knight-dynamic-gift.ln-dynamic-template-failed .ln-dynamic-artwork {display:none;}
.lidya-knight-dynamic-gift.ln-dynamic-template-failed .ln-dynamic-fallback {display:block;}
.lidya-knight-dynamic-gift img[hidden] {display:none!important;}


/* KNIGHT NOTICE STACK V1.19.3 */

body:has(.lidya-knight-dynamic-gift) #eris-notice-stack {
  top:calc(
    env(safe-area-inset-top, 0px)
    + 86px + min(31.333vw, 173.333px)
  ) !important;
}

@media(max-height:500px){
  body:has(.lidya-knight-dynamic-gift) #eris-notice-stack {
    top:calc(
      env(safe-area-inset-top, 0px)
      + 52px + min(31.333vw, 173.333px)
    ) !important;
  }
}

/* LIDYA COUNT DYNAMIC GIFT V1.20 */
.lidya-nobility-live-banner.lidya-count-dynamic-gift {
  width:min(94vw,520px);
  top:calc(env(safe-area-inset-top,0px) + 76px);
  aspect-ratio:3 / 1;
  padding:0;
  container-type:inline-size;
}
.lidya-count-dynamic-gift .ln-dynamic-template {
  display:block;
  width:100%;
  height:100%;
  max-height:none;
  aspect-ratio:3 / 1;
  object-fit:contain;
}
.lidya-count-dynamic-gift .ln-dynamic-sender,
.lidya-count-dynamic-gift .ln-dynamic-label {
  position:absolute;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  box-sizing:border-box;
  color:#fff1c6;
  font-weight:800;
  font-family:Georgia,serif;
  text-shadow:0 1px 2px #000,0 0 4px #000;
  overflow:hidden;
  overflow-wrap:anywhere;
  line-height:1.05;
}
.lidya-count-dynamic-gift .ln-dynamic-sender {
  left:36%; top:42%; width:28%; height:13%;
  font-size:clamp(9px,4vw,21px);
  font-size:clamp(9px,4cqw,21px);
}
.lidya-count-dynamic-gift .ln-dynamic-artwork {
  position:absolute;
  left:73.5%; top:18%; width:14%; height:43%;
  object-fit:contain;
  max-height:none;
  aspect-ratio:auto;
  filter:drop-shadow(0 2px 5px #0008);
}
.lidya-count-dynamic-gift .ln-dynamic-label {
  left:70%; top:67%; width:22%; height:10%;
  font-size:clamp(7px,2.65vw,15px);
  font-size:clamp(7px,2.8cqw,15px);
}
.lidya-count-dynamic-gift .ln-dynamic-fallback {display:none;}
.lidya-count-dynamic-gift.ln-dynamic-template-failed {
  aspect-ratio:auto;
}
.lidya-count-dynamic-gift.ln-dynamic-template-failed .ln-dynamic-sender,
.lidya-count-dynamic-gift.ln-dynamic-template-failed .ln-dynamic-label,
.lidya-count-dynamic-gift.ln-dynamic-template-failed .ln-dynamic-artwork {display:none;}
.lidya-count-dynamic-gift.ln-dynamic-template-failed .ln-dynamic-fallback {display:block;}
.lidya-count-dynamic-gift img[hidden] {display:none!important;}


/* COUNT NOTICE STACK V1.20 */

body:has(.lidya-count-dynamic-gift) #eris-notice-stack {
  top:calc(
    env(safe-area-inset-top, 0px)
    + 86px + min(31.333vw, 173.333px)
  ) !important;
}

@media(max-height:500px){
  body:has(.lidya-count-dynamic-gift) #eris-notice-stack {
    top:calc(
      env(safe-area-inset-top, 0px)
      + 52px + min(31.333vw, 173.333px)
    ) !important;
  }
}

@media(max-height:500px){
  .lidya-nobility-live-banner.lidya-count-dynamic-gift {
    top:calc(env(safe-area-inset-top,0px) + 42px);
    width:min(70vw,360px);
  }
}

/* COUNT ENTRANCE V1.20.5 */
/* KNIGHT ORIGINAL ENTRANCE V1.13.3 */

.ln-entrance-overlay.lidya-count-timed-entrance{
 position:fixed!important;
 inset:0!important;
 width:100%!important;
 height:100%!important;
 transform:none!important;
 background:#000!important;
 overflow:hidden!important;
 pointer-events:auto!important;
 z-index:2147483647!important;
}

.lidya-count-timed-entrance .ln-entrance-stage{
 position:relative;
 width:min(100vw,56.25dvh)!important;
 height:auto!important;
 aspect-ratio:9/16;
 max-height:100dvh!important;
 border:0!important;
 border-radius:0!important;
 box-shadow:none!important;
 overflow:hidden;
}

.lidya-count-timed-entrance .ln-entrance-name{
 position:absolute;
 left:12%!important;
 right:auto!important;
 top:84%!important;
 bottom:auto!important;
 width:76%!important;
 transform:translateY(-50%);
 padding:0!important;
 margin:0!important;
 background:transparent!important;
 color:#ffe29a!important;
 font-size:clamp(14px,5vw,30px);
 font-weight:800;
 text-align:center;
 white-space:nowrap!important;
 overflow:hidden;
 text-overflow:ellipsis;
 z-index:5;
}

.lidya-count-timed-entrance .ln-entrance-name[hidden]{
 display:none!important;
}

.lidya-count-timed-entrance .ln-entrance-close{
 top:calc(env(safe-area-inset-top,0px) + 16px)!important;
 right:16px!important;
 width:42px!important;
 height:42px!important;
}


/* KNIGHT NAME POSITION V1.13.4 */

.lidya-count-timed-entrance .ln-entrance-name{
 position:absolute!important;

 left:50%!important;
 top:85.8%!important;

 right:auto!important;
 bottom:auto!important;

 width:70%!important;
 height:4.2%!important;

 transform:translate(-50%,-50%)!important;

 display:flex!important;
 align-items:center!important;
 justify-content:center!important;

 padding:0!important;
 margin:0!important;

 font-size:clamp(12px,4.5vw,28px);
 font-weight:800!important;
 line-height:1!important;

 text-align:center!important;
 white-space:nowrap!important;

 color:#ffe6a6!important;

 background:transparent!important;
 border:none!important;
 box-shadow:none!important;

 text-shadow:0 2px 4px #000!important;

 overflow:hidden!important;
 box-sizing:border-box!important;

 z-index:5!important;
}

.lidya-count-timed-entrance .ln-entrance-name[hidden]{
 display:none!important;
}




.lidya-count-timed-entrance .ln-entrance-name {
    left:50%!important;
    top:85%!important;
    width:54%!important;
    height:4.4%!important;

    font-size:clamp(12px,4.5vw,28px);
    color:#ffe6a6!important;
}


/* COUNT ACTIVATION V1.20.6 */

.lidya-nobility-live-banner.lidya-count-activation-banner {
  display:grid;
  grid-template-columns:42% 1fr;
  align-items:center;
  width:min(94vw,460px);
  box-sizing:border-box;
  padding:6px;
  gap:6px;
  border:2px solid #e4b54f;
  border-radius:18px;
  background:linear-gradient(145deg,#65121c,#210609);
  box-shadow:0 5px 24px #0008;
}

.lidya-count-activation-banner img {
  width:100%;
  height:auto;
  max-height:none;
  border-radius:12px;
}

.ln-count-activation-panel {
  min-width:0;
  padding:8px;
  text-align:center;
  color:#ffe8aa;
}

.ln-count-activation-title {
  font-family:Georgia,serif;
  font-size:clamp(18px,5vw,28px);
  font-weight:900;
  letter-spacing:2px;
}

.ln-count-activation-name {
  margin:6px 0;
  padding:6px;
  border:1px solid #e6bc65;
  border-radius:8px;
  background:#260609;
  color:#fff0cb;
  font-size:14px;
  font-weight:800;
  overflow-wrap:anywhere;
  max-height:48px;
  overflow:hidden;
}

.ln-count-activation-action {
  font-size:12px;
  font-weight:700;
  overflow-wrap:anywhere;
}

.lidya-count-activation-banner img[hidden] {
  display:none!important;
}

.lidya-count-activation-banner.ln-count-activation-fallback {
  grid-template-columns:1fr;
}


/* DUKE ENTRANCE V1.21.3.2 */

.ln-entrance-overlay.lidya-duke-timed-entrance{
 position:fixed!important;
 inset:0!important;
 width:100%!important;
 height:100%!important;
 transform:none!important;
 background:#000!important;
 overflow:hidden!important;
 z-index:2147483647!important;
}

.lidya-duke-timed-entrance .ln-entrance-stage{
 position:relative;
 width:min(100vw,56.25dvh)!important;
 height:auto!important;
 aspect-ratio:9/16;
 max-height:100dvh!important;
 border:0!important;
 border-radius:0!important;
 box-shadow:none!important;
 overflow:hidden;
}

.lidya-duke-timed-entrance .ln-entrance-name{
 position:absolute!important;
 left:50%!important;
 top:88.2%!important;
 right:auto!important;
 bottom:auto!important;
 width:64%!important;
 height:5.6%!important;
 transform:translate(-50%,-50%)!important;
 display:flex!important;
 align-items:center!important;
 justify-content:center!important;
 padding:0!important;
 margin:0!important;
 background:transparent!important;
 color:#ffe7a6!important;
 font-size:clamp(12px,4.5vw,28px);
 font-weight:800!important;
 text-align:center!important;
 text-shadow:0 2px 4px #000!important;
 white-space:nowrap!important;
 overflow:hidden!important;
 box-sizing:border-box!important;
 z-index:5!important;
}

.lidya-duke-timed-entrance .ln-entrance-name[hidden]{
 display:none!important;
}


/* LIDYA DUKE DYNAMIC GIFT V1.21.6.2 */
.lidya-nobility-live-banner.lidya-duke-dynamic-gift {
  width:min(94vw,520px);
  top:calc(env(safe-area-inset-top,0px) + 76px);
  aspect-ratio:3 / 1;
  padding:0;
  container-type:inline-size;
}
.lidya-duke-dynamic-gift .ln-dynamic-template {
  display:block;
  width:100%;
  height:100%;
  max-height:none;
  aspect-ratio:3 / 1;
  object-fit:contain;
}
.lidya-duke-dynamic-gift .ln-dynamic-sender,
.lidya-duke-dynamic-gift .ln-dynamic-label {
  position:absolute;
  display:flex;
  align-items:center;
  justify-content:center;
  text-align:center;
  box-sizing:border-box;
  color:#fff1c6;
  font-weight:800;
  font-family:Georgia,serif;
  text-shadow:0 1px 2px #000,0 0 4px #000;
  overflow:hidden;
  overflow-wrap:anywhere;
  line-height:1.05;
}
.lidya-duke-dynamic-gift .ln-dynamic-sender {
  left:36%; top:41%; width:30%; height:16%;
  font-size:clamp(9px,4vw,21px);
  font-size:clamp(9px,4cqw,21px);
}
.lidya-duke-dynamic-gift .ln-dynamic-artwork {
  position:absolute;
  left:75%; top:18%; width:14%; height:43%;
  object-fit:contain;
  max-height:none;
  aspect-ratio:auto;
  filter:drop-shadow(0 2px 5px #0008);
}
.lidya-duke-dynamic-gift .ln-dynamic-label {
  left:72%; top:66%; width:20%; height:11%;
  font-size:clamp(7px,2.65vw,15px);
  font-size:clamp(7px,2.8cqw,15px);
}
.lidya-duke-dynamic-gift .ln-dynamic-fallback {display:none;}
.lidya-duke-dynamic-gift.ln-dynamic-template-failed {
  aspect-ratio:auto;
}
.lidya-duke-dynamic-gift.ln-dynamic-template-failed .ln-dynamic-sender,
.lidya-duke-dynamic-gift.ln-dynamic-template-failed .ln-dynamic-label,
.lidya-duke-dynamic-gift.ln-dynamic-template-failed .ln-dynamic-artwork {display:none;}
.lidya-duke-dynamic-gift.ln-dynamic-template-failed .ln-dynamic-fallback {display:block;}
.lidya-duke-dynamic-gift img[hidden] {display:none!important;}


/* DUKE NOTICE STACK V1.21.6.2 */

body:has(.lidya-duke-dynamic-gift) #eris-notice-stack {
  top:calc(
    env(safe-area-inset-top, 0px)
    + 86px + min(31.333vw, 173.333px)
  ) !important;
}

@media(max-height:500px){
  body:has(.lidya-duke-dynamic-gift) #eris-notice-stack {
    top:calc(
      env(safe-area-inset-top, 0px)
      + 52px + min(31.333vw, 173.333px)
    ) !important;
  }
}

@media(max-height:500px){
  .lidya-nobility-live-banner.lidya-duke-dynamic-gift {
    top:calc(env(safe-area-inset-top,0px) + 42px);
    width:min(70vw,360px);
  }
}


/* DUKE NOTICES V1.21.7.1 */

.lidya-nobility-live-banner.lidya-duke-notice{
  display:grid;
  grid-template-columns:42% 1fr;
  align-items:center;
  width:min(94vw,460px);
  box-sizing:border-box;
  padding:6px;
  gap:6px;
  border:2px solid #e4bd65;
  border-radius:18px;
  background:linear-gradient(
    145deg,#173d91,#061330 65%,#030a1c
  );
  box-shadow:0 5px 24px #0008,
             inset 0 0 15px #b7d1ff22;
}

.lidya-duke-notice img{
  width:100%;
  height:auto;
  max-height:none;
  border-radius:12px;
}

.ln-duke-notice-panel{
  min-width:0;
  padding:6px;
  text-align:center;
  color:#ffe8aa;
}

.ln-duke-notice-title{
  font-family:Georgia,serif;
  font-size:clamp(18px,5vw,28px);
  font-weight:900;
  letter-spacing:2px;
  text-shadow:0 2px 4px #000;
}

.ln-duke-notice-name{
  margin:6px 0;
  padding:6px;
  border:1px solid #e6bc65;
  border-radius:8px;
  background:#05163d;
  color:#fff0cb;
  font-size:14px;
  font-weight:800;
  overflow-wrap:anywhere;
  max-height:48px;
  overflow:hidden;
}

.ln-duke-notice-action{
  font-size:12px;
  font-weight:700;
  overflow-wrap:anywhere;
  color:#fff0c9;
}

.lidya-duke-notice img[hidden]{
  display:none!important;
}

.lidya-duke-notice.ln-duke-notice-fallback{
  grid-template-columns:1fr;
}

body:has(.lidya-duke-notice) #eris-notice-stack{
  top:calc(
    env(safe-area-inset-top,0px) + 240px
  )!important;
}

@media(max-height:500px){
  .lidya-nobility-live-banner.lidya-duke-notice{
    top:calc(env(safe-area-inset-top,0px) + 42px);
    width:min(70vw,360px);
  }
}


/* DUKE ACTIVATION ART V1.21.11 */

.lidya-duke-notice.lidya-duke-activation_banner{
  display:block;
  position:fixed;
  width:min(94vw,460px);
  aspect-ratio:900/655;
  padding:0;
  border:0;
  background:transparent;
  box-shadow:none;
  container-type:inline-size;
}

.lidya-duke-activation_banner img{
  display:block;
  width:100%;
  height:100%;
  max-height:none;
  object-fit:contain;
  border-radius:14px;
}

.lidya-duke-activation_banner .ln-duke-notice-panel{
  position:absolute;
  left:22%;
  top:54.5%;
  width:56%;
  height:17%;
  padding:0;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:2px;
  box-sizing:border-box;
  overflow:hidden;
}

.lidya-duke-activation_banner .ln-duke-notice-title{
  font-size:clamp(9px,3cqw,15px);
  line-height:1;
}

.lidya-duke-activation_banner .ln-duke-notice-name{
  max-width:100%;
  margin:0;
  padding:0;
  border:0;
  background:transparent;
  font-size:clamp(11px,4cqw,21px);
  line-height:1.1;
  color:#fff0be;
  text-shadow:0 2px 4px #000;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.lidya-duke-activation_banner .ln-duke-notice-action{
  font-size:clamp(8px,2.8cqw,14px);
  line-height:1.1;
  color:#fff8de;
}

.lidya-duke-activation_banner.ln-duke-notice-fallback{
  aspect-ratio:auto;
  background:#061330;
  border:1px solid #e4bd65;
}

.lidya-duke-activation_banner.ln-duke-notice-fallback
.ln-duke-notice-panel{
  position:static;
  width:100%;
  height:auto;
  padding:12px;
}

body:has(.lidya-duke-activation_banner) #eris-notice-stack{
  top:calc(
    env(safe-area-inset-top,0px)
    + 75px + min(68.42vw,334.78px)
  )!important;
}

@media(max-height:500px){
  .lidya-duke-notice.lidya-duke-activation_banner{
    top:calc(env(safe-area-inset-top,0px) + 42px);
    width:min(70vw,360px);
  }
}


/* DUKE DAILY ART V1.21.16 */

.lidya-duke-notice.lidya-duke-daily_banner{
 display:block;
 width:min(80vw,320px,52dvh);
 aspect-ratio:822/900;
 padding:0;
 border:0;
 background:transparent;
 box-shadow:none;
 container-type:inline-size;
}

.lidya-duke-daily_banner img{
 width:100%;
 height:100%;
 max-height:none;
 object-fit:contain;
 border-radius:12px;
}

.lidya-duke-daily_banner:not(.ln-duke-notice-fallback)
.ln-duke-notice-panel{
 position:absolute;
 left:28%;
 top:67.3%;
 width:44%;
 height:5%;
 padding:0;
 transform:translateY(-50%);
 display:flex;
 align-items:center;
 justify-content:center;
}

.lidya-duke-daily_banner:not(.ln-duke-notice-fallback)
.ln-duke-notice-title,
.lidya-duke-daily_banner:not(.ln-duke-notice-fallback)
.ln-duke-notice-action{
 display:none;
}

.lidya-duke-daily_banner:not(.ln-duke-notice-fallback)
.ln-duke-notice-name{
 max-width:100%;
 margin:0;
 padding:0;
 border:0;
 background:transparent;
 color:#fff0be;
 font-size:clamp(9px,4.5cqw,18px);
 white-space:nowrap;
 overflow:hidden;
 text-overflow:ellipsis;
 text-shadow:0 2px 4px #000;
}

.lidya-duke-daily_banner.ln-duke-notice-fallback{
 aspect-ratio:auto;
 background:#061330;
 border:1px solid #e4bd65;
}

body:has(.lidya-duke-daily_banner) #eris-notice-stack{
 top:calc(
   env(safe-area-inset-top,0px)
   + 75px + min(87.6vw,350.4px,56.94dvh)
 )!important;
}


/* DUKE FINAL WELCOME V1.21.23 */

.lidya-nobility-live-banner.lidya-duke-room_welcome{
 display:block;
 position:fixed;
 width:min(94vw,460px,75dvh);
 aspect-ratio:900/634;
 padding:0;
 border:0;
 background:transparent;
 box-shadow:none;
 container-type:inline-size;
}

.lidya-duke-room_welcome img{
 display:block;
 width:100%;
 height:100%;
 max-height:none;
 object-fit:contain;
 border-radius:12px;
}

.lidya-duke-room_welcome:not(.ln-duke-notice-fallback)
.ln-duke-notice-panel{
 position:absolute;
 left:25%;
 top:66%;
 width:50%;
 height:10%;
 padding:0;
 display:flex;
 align-items:center;
 justify-content:center;
 overflow:hidden;
}

.lidya-duke-room_welcome:not(.ln-duke-notice-fallback)
.ln-duke-notice-title,
.lidya-duke-room_welcome:not(.ln-duke-notice-fallback)
.ln-duke-notice-action{
 display:none;
}

.lidya-duke-room_welcome:not(.ln-duke-notice-fallback)
.ln-duke-notice-name{
 max-width:100%;
 padding:0;
 margin:0;
 border:0;
 background:transparent;
 color:#ffe9ad;
 font-size:clamp(10px,5cqw,24px);
 font-weight:900;
 white-space:nowrap;
 overflow:hidden;
 text-overflow:ellipsis;
 text-shadow:0 2px 5px #000;
}

.lidya-nobility-live-banner.lidya-duke-room_welcome.ln-duke-notice-fallback{
 aspect-ratio:auto;
 background:#061330;
 border:1px solid #e4bd65;
 padding:8px;
}

body:has(.lidya-duke-room_welcome) #eris-notice-stack{
 top:calc(
   env(safe-area-inset-top,0px)
   + 86px + min(66.22vw,324.05px,52.84dvh)
 )!important;
}


/* KING ACTIVATION V2.1 */

.lidya-nobility-live-banner.lidya-king-notice{
  display:grid;
  grid-template-columns:44% minmax(0,1fr);
  align-items:center;
  gap:8px;
  width:min(94vw,460px);
  box-sizing:border-box;
  padding:8px;
  border:2px solid #e9bf58;
  border-radius:18px;
  background:linear-gradient(
    145deg,#780e20,#35070c 55%,#180506
  );
  box-shadow:0 6px 24px #0008,
             inset 0 0 18px #ffd76b30;
}

.lidya-king-notice img{
  width:100%;
  height:auto;
  max-height:110px;
  object-fit:contain;
  border-radius:12px;
}

.ln-king-activation-panel{
  min-width:0;
  text-align:center;
  color:#fff0bd;
}

.ln-king-activation-title{
  font-family:Georgia,serif;
  font-size:clamp(18px,5vw,28px);
  font-weight:900;
  letter-spacing:3px;
  color:#ffe19a;
  text-shadow:0 2px 5px #000;
}

.ln-king-activation-name{
  margin:5px 0;
  padding:5px;
  border:1px solid #deb75b;
  border-radius:8px;
  background:#290609;
  color:#fff5d8;
  font-size:15px;
  font-weight:900;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

.ln-king-activation-action{
  font-size:12px;
  line-height:1.3;
  color:#fff0c9;
  font-weight:700;
  overflow-wrap:anywhere;
}

.lidya-king-notice img[hidden]{
  display:none!important;
}

.lidya-nobility-live-banner.ln-king-activation-fallback{
  grid-template-columns:1fr;
}

body:has(.lidya-king-notice) #eris-notice-stack{
  top:calc(env(safe-area-inset-top,0px) + 220px)!important;
}

@media(max-height:500px){
  .lidya-nobility-live-banner.lidya-king-notice{
    top:calc(env(safe-area-inset-top,0px) + 42px);
    width:min(70vw,360px);
  }
}


/* KING DYNAMIC GIFT V4.1 - Integrated 3:1 royal artwork */
.lidya-nobility-live-banner.lidya-king-dynamic-gift{
 display:block;
 width:min(94vw,520px);
 top:calc(env(safe-area-inset-top,0px) + 76px);
 aspect-ratio:3/1;
 padding:0;
 border:0;
 background:transparent;
 box-shadow:none;
 box-sizing:border-box;
 container-type:inline-size;
}
.lidya-king-dynamic-gift .ln-dynamic-template{
 display:block;
 width:100%;
 height:100%;
 max-height:none;
 aspect-ratio:3/1;
 object-fit:contain;
}
.lidya-king-dynamic-gift .ln-dynamic-sender{
 position:absolute;
 left:29%; top:40%; width:38%; height:20%;
 display:flex;
 align-items:center;
 justify-content:center;
 box-sizing:border-box;
 color:#fff1c6;
 font-family:Georgia,serif;
 font-weight:900;
 font-size:clamp(10px,4cqw,21px);
 line-height:1.05;
 text-align:center;
 overflow:hidden;
 overflow-wrap:anywhere;
 text-shadow:0 2px 4px #000;
}
.lidya-king-dynamic-gift .ln-dynamic-artwork{
 position:absolute;
 left:75%; top:17%; width:17%; height:45%;
 max-height:none;
 aspect-ratio:auto;
 object-fit:contain;
 filter:drop-shadow(0 2px 5px #0008);
}
.lidya-king-dynamic-gift .ln-dynamic-label{
 position:absolute;
 left:74%; top:65%; width:19%; height:12%;
 display:flex;
 align-items:center;
 justify-content:center;
 gap:3px;
 color:#fff1c6;
 font-family:Georgia,serif;
 font-weight:800;
 font-size:clamp(7px,2.5cqw,13px);
 line-height:1.1;
 text-shadow:0 1px 3px #000;
 overflow:hidden;
}
.ln-king-gift-name{
 min-width:0;
 overflow:hidden;
 white-space:nowrap;
 text-overflow:ellipsis;
}
.ln-king-gift-quantity{
 flex:none;
 white-space:nowrap;
 font-variant-numeric:tabular-nums;
}
.lidya-king-dynamic-gift .ln-dynamic-fallback{display:none;}
.lidya-king-dynamic-gift.ln-dynamic-template-failed{
 aspect-ratio:auto;
 background:#35070c;
 border:1px solid #e9bf58;
 border-radius:12px;
 padding:8px;
}
.lidya-king-dynamic-gift.ln-dynamic-template-failed
:is(.ln-dynamic-sender,.ln-dynamic-artwork,.ln-dynamic-label){display:none;}
.lidya-king-dynamic-gift.ln-dynamic-template-failed .ln-dynamic-fallback{
 display:block;
 margin:0 auto;
}
.lidya-king-dynamic-gift img[hidden]{display:none!important;}
body:has(.lidya-king-dynamic-gift) #eris-notice-stack{
 top:calc(env(safe-area-inset-top,0px) + 86px + min(31.333vw,173.333px))!important;
}
@media(max-height:500px){
 .lidya-nobility-live-banner.lidya-king-dynamic-gift{
  top:calc(env(safe-area-inset-top,0px) + 42px);
  width:min(70vw,360px);
 }
 body:has(.lidya-king-dynamic-gift) #eris-notice-stack{
  top:calc(env(safe-area-inset-top,0px) + 52px + min(23.333vw,120px))!important;
 }
}


/* KING NOTICES V2.4 */

.lidya-nobility-live-banner.lidya-king-daily-banner{
 background:linear-gradient(
   145deg,#70440a,#36090c 65%,#190505
 );
 border-color:#ffe19a;
}

.lidya-nobility-live-banner.lidya-king-room-welcome{
 background:linear-gradient(
   145deg,#720c20,#390709 65%,#180405
 );
 border-color:#eac15b;
}

.lidya-king-notice .ln-king-activation-name{
 text-shadow:0 1px 4px #000;
}

@media(max-height:500px){
 body:has(.lidya-king-notice) #eris-notice-stack{
   top:calc(
     env(safe-area-inset-top,0px) + 180px
   )!important;
 }
}



/* KING ACTIVATION V4.2 */

.lidya-nobility-live-banner.lidya-king-activation-banner:not(.ln-king-activation-fallback){
 display:block;
 position:fixed;
 top:calc(env(safe-area-inset-top,0px) + 76px);
 width:min(94vw,460px,85.27dvh);
 aspect-ratio:392/285;
 padding:0;
 border:0;
 background:transparent;
 box-shadow:none;
 container-type:inline-size;
}

.lidya-king-activation-banner:not(.ln-king-activation-fallback)>img{
 display:block;
 width:100%;
 height:100%;
 max-height:none;
 object-fit:contain;
 border-radius:12px;
}

.lidya-king-activation-banner:not(.ln-king-activation-fallback)
.ln-king-activation-panel{
 position:absolute;
 left:10%;
 bottom:5%;
 width:80%;
 height:27%;
 box-sizing:border-box;
 display:flex;
 flex-direction:column;
 align-items:center;
 justify-content:center;
 gap:2px;
 padding:3px 6px;
 border:1px solid #e9bf58;
 border-radius:12px;
 background:linear-gradient(145deg,#560a16f5,#180405f5);
 box-shadow:inset 0 0 12px #ffd76b35;
 overflow:hidden;
}

.lidya-king-activation-banner:not(.ln-king-activation-fallback)
.ln-king-activation-title{
 font-size:clamp(9px,3.2cqw,16px);
 line-height:1;
 letter-spacing:2px;
}

.lidya-king-activation-banner:not(.ln-king-activation-fallback)
.ln-king-activation-name{
 width:100%;
 min-width:0;
 max-width:100%;
 box-sizing:border-box;
 margin:0;
 padding:0;
 border:0;
 background:transparent;
 color:#fff1bd;
 font-family:Georgia,serif;
 font-size:clamp(12px,5cqw,23px);
 font-weight:900;
 line-height:1.1;
 white-space:nowrap;
 overflow:hidden;
 text-overflow:ellipsis;
}

.lidya-king-activation-banner:not(.ln-king-activation-fallback)
.ln-king-activation-action{
 max-width:100%;
 font-size:clamp(9px,3.1cqw,14px);
 line-height:1.2;
 color:#ffe8bd;
 text-align:center;
 overflow-wrap:anywhere;
}

.lidya-king-activation-banner.ln-king-activation-fallback{
 display:block;
 aspect-ratio:auto;
 width:min(94vw,460px);
}

body:has(.lidya-king-activation-banner:not(.ln-king-activation-fallback)) #eris-notice-stack{
 top:calc(
  env(safe-area-inset-top,0px)
  + 86px + min(68.34vw,334.44px,62dvh)
 )!important;
}

@media(max-height:500px){
 .lidya-nobility-live-banner.lidya-king-activation-banner:not(.ln-king-activation-fallback){
  top:calc(env(safe-area-inset-top,0px) + 42px);
  width:min(70vw,360px,85.27dvh);
 }

 body:has(.lidya-king-activation-banner:not(.ln-king-activation-fallback)) #eris-notice-stack{
  top:calc(
   env(safe-area-inset-top,0px)
   + 52px + min(50.89vw,261.73px,62dvh)
  )!important;
 }
}


/* KING DAILY WELCOME V4.4 */

.lidya-nobility-live-banner:is(
 .lidya-king-daily-banner,
 .lidya-king-room-welcome
):not(.ln-king-activation-fallback){
 display:block;
 position:fixed;
 top:calc(env(safe-area-inset-top,0px) + 76px);
 width:min(94vw,460px,85dvh);
 padding:0;
 border:0;
 background:transparent;
 box-shadow:none;
 container-type:inline-size;
}

.lidya-king-daily-banner:not(.ln-king-activation-fallback){
 aspect-ratio:393/276;
}

.lidya-king-room-welcome:not(.ln-king-activation-fallback){
 aspect-ratio:392/276;
}

.lidya-king-notice:is(
 .lidya-king-daily-banner,
 .lidya-king-room-welcome
):not(.ln-king-activation-fallback)>img{
 display:block;
 width:100%;
 height:100%;
 max-height:none;
 object-fit:contain;
 border-radius:12px;
}

.lidya-king-notice:is(
 .lidya-king-daily-banner,
 .lidya-king-room-welcome
):not(.ln-king-activation-fallback)
.ln-king-activation-panel{
 position:absolute;
 left:12%;
 bottom:5%;
 width:76%;
 height:25%;
 padding:3px 6px;
 box-sizing:border-box;
 display:flex;
 flex-direction:column;
 justify-content:center;
 align-items:center;
 gap:3px;
 border:1px solid #e9bf58;
 border-radius:12px;
 background:linear-gradient(
  145deg,#560a16f5,#180405f5
 );
 box-shadow:inset 0 0 12px #ffd76b35;
 overflow:hidden;
}

.lidya-king-notice:is(
 .lidya-king-daily-banner,
 .lidya-king-room-welcome
):not(.ln-king-activation-fallback)
.ln-king-activation-title{
 font-size:clamp(9px,3cqw,15px);
 line-height:1;
 letter-spacing:2px;
}

.lidya-king-notice:is(
 .lidya-king-daily-banner,
 .lidya-king-room-welcome
):not(.ln-king-activation-fallback)
.ln-king-activation-name{
 width:100%;
 min-width:0;
 max-width:100%;
 margin:0;
 padding:0;
 border:0;
 background:transparent;
 color:#fff1bd;
 font-family:Georgia,serif;
 font-size:clamp(12px,5cqw,23px);
 font-weight:900;
 line-height:1.1;
 white-space:nowrap;
 overflow:hidden;
 text-overflow:ellipsis;
}

.lidya-king-notice:is(
 .lidya-king-daily-banner,
 .lidya-king-room-welcome
):not(.ln-king-activation-fallback)
.ln-king-activation-action{
 font-size:clamp(9px,3cqw,14px);
 line-height:1.1;
 color:#ffe8bd;
 text-align:center;
}

body:has(.lidya-king-notice:is(
 .lidya-king-daily-banner,
 .lidya-king-room-welcome
):not(.ln-king-activation-fallback))
#eris-notice-stack{
 top:calc(
  env(safe-area-inset-top,0px)
  + 86px + min(66.2vw,324px,60dvh)
 )!important;
}

@media(max-height:500px){
 .lidya-nobility-live-banner:is(
  .lidya-king-daily-banner,
  .lidya-king-room-welcome
 ):not(.ln-king-activation-fallback){
  top:calc(env(safe-area-inset-top,0px) + 42px);
  width:min(70vw,360px,85dvh);
 }

 body:has(.lidya-king-notice:is(
  .lidya-king-daily-banner,
  .lidya-king-room-welcome
 ):not(.ln-king-activation-fallback))
 #eris-notice-stack{
  top:calc(
   env(safe-area-inset-top,0px)
   + 52px + min(49.3vw,254px,60dvh)
  )!important;
 }
}

/* KING ENTRANCE V2.5.3 */

.ln-entrance-overlay.lidya-king-timed-entrance{
 position:fixed!important;
 inset:0!important;
 width:100%!important;
 height:100%!important;
 transform:none!important;
 background:#000!important;
 overflow:hidden!important;
 z-index:2147483647!important;
}

.lidya-king-timed-entrance .ln-entrance-stage{
 position:relative;
 width:min(100vw,56.25dvh)!important;
 height:auto!important;
 aspect-ratio:9/16;
 max-height:100dvh!important;
 border:0!important;
 border-radius:0!important;
 box-shadow:none!important;
 overflow:hidden;
}

.lidya-king-timed-entrance .ln-entrance-name{
 position:absolute!important;
 left:50%!important;
 top:58.5%!important;
 right:auto!important;
 bottom:auto!important;
 width:78%!important;
 height:9%!important;
 transform:translate(-50%,-50%)!important;
 display:flex!important;
 align-items:center!important;
 justify-content:center!important;
 padding:0 5px!important;
 margin:0!important;
 background:transparent!important;
 color:#ffe9a3!important;
 font-family:Georgia,serif;
 font-size:clamp(14px,5.5vw,32px);
 font-weight:900!important;
 text-align:center!important;
 text-shadow:0 2px 4px #000,
             0 0 8px #d9a72c!important;
 white-space:nowrap!important;
 overflow:hidden!important;
 box-sizing:border-box!important;
 z-index:5!important;
}

.lidya-king-timed-entrance .ln-entrance-name[hidden]{
 display:none!important;
}

.lidya-king-timed-entrance
.ln-entrance-video[hidden]+.ln-entrance-name{
 top:85%!important;
 background:#150b04dd!important;
 border:1px solid #e8bd55;
 border-radius:10px;
}


/* =========================================
   ROOMS / FOLLOWED ROOM LIST CARD
   Same design language as Explore
   ========================================= */

.eris-room-list-card.lidya-nobility-room-card{
  position:relative!important;
  overflow:hidden!important;
  border-radius:18px!important;
}

.eris-room-list-card.lidya-nobility-room-card .eris-room-list-open{
  position:relative!important;
  z-index:3!important;
  display:grid!important;
  grid-template-columns:64px minmax(0,1fr) auto!important;
  align-items:center!important;
  column-gap:12px!important;
  min-height:102px!important;
  padding:10px 12px!important;
}

.eris-room-list-card.lidya-nobility-room-card .ava{
  width:58px!important;
  height:58px!important;
  min-width:58px!important;
  border-radius:50%!important;
  display:grid!important;
  place-items:center!important;
  background:linear-gradient(180deg,#f3e6c7,#e6d8b5)!important;
  border:1px solid #d6b878!important;
  box-shadow:0 2px 8px rgba(0,0,0,.08)!important;
}

.eris-room-list-card.lidya-nobility-room-card .roomText{
  min-width:0!important;
  margin:0!important;
  padding:10px 12px!important;
  border-radius:14px!important;
  background:
    linear-gradient(
      90deg,
      rgba(32,6,9,.82) 0%,
      rgba(58,10,15,.78) 55%,
      rgba(42,7,11,.64) 100%
    )!important;
  box-shadow:
    inset 0 1px 0 rgba(255,232,185,.10),
    0 2px 8px rgba(0,0,0,.08)!important;
}

.eris-room-list-card.lidya-nobility-room-card .roomText b{
  display:block!important;
  margin:0 0 4px 0!important;
  color:#fff8ef!important;
  font-size:15px!important;
  line-height:1.12!important;
  font-weight:900!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  text-shadow:0 1px 3px rgba(0,0,0,.85)!important;
}

.eris-room-list-card.lidya-nobility-room-card .roomText small,
.eris-room-list-card.lidya-nobility-room-card .room-meta,
.eris-room-list-card.lidya-nobility-room-card .room-id{
  display:block!important;
  color:#ffe0a5!important;
  font-size:10.5px!important;
  line-height:1.18!important;
  white-space:nowrap!important;
  overflow:hidden!important;
  text-overflow:ellipsis!important;
  opacity:1!important;
  text-shadow:0 1px 3px rgba(0,0,0,.85)!important;
}

/* Small devices */
@media (max-width:420px){
  #explore .room.lidya-nobility-room-card{
    grid-template-columns:58px minmax(0,1fr) 82px!important;
    column-gap:10px!important;
    padding:9px 10px!important;
  }

  #explore .room.lidya-nobility-room-card .ec-room-art,
  .eris-room-list-card.lidya-nobility-room-card .ava{
    width:54px!important;
    height:54px!important;
    min-width:54px!important;
  }

  #explore .room.lidya-nobility-room-card .ec-room-live{
    width:78px!important;
    min-width:78px!important;
    height:40px!important;
    font-size:11.5px!important;
  }

  #explore .room.lidya-nobility-room-card .roomText b,
  .eris-room-list-card.lidya-nobility-room-card .roomText b{
    font-size:14px!important;
  }

  #explore .room.lidya-nobility-room-card .roomText small,
  .eris-room-list-card.lidya-nobility-room-card .roomText small,
  .eris-room-list-card.lidya-nobility-room-card .room-meta,
  .eris-room-list-card.lidya-nobility-room-card .room-id{
    font-size:10px!important;
  }
}

/* King room local palette */
html body #erisRoomSurface.lidya-king-room-theme {
  --ui-panel:#24100e;
  --ui-raised:#3d1d16;
  --ui-button:#79451f;
  --ui-ink:#fff9ed;
  --ui-muted:#e6d0aa;
  --ui-line:#c59b50;
  --ui-gold:#e6bd70;
}

/* Empty seats only */
#erisRoomSurface.lidya-king-room-theme
#erisLiveSeats > .eris-seat.empty {
  border:1.5px solid #e7bd65!important;
  background:#240e15a6!important;
  box-shadow:0 2px 9px #0008!important;
}

#erisRoomSurface.lidya-king-room-theme
#erisLiveSeats > .eris-seat.empty:not(.locked):not(.permission-waiting)
.seat-ava {
  color:#ffe6ac!important;
  font-size:24px!important;
  text-shadow:0 1px 4px #000!important;
}

/* King room controls */
html body #erisRoomSurface.lidya-king-room-theme
:is(.eris-room-top button,
    .eris-room-quick-actions button,
    #erisRoomContributionButton,
    .eris-room-compose button:not(#erisLiveSend),
    #erisLiveInput) {
  color:#fff4d6!important;
  background-color:#351713!important;
  border-color:#d6ad62!important;
}

html body #erisRoomSurface.lidya-king-room-theme
#erisLiveInput::placeholder {
  color:#e8d6b9!important;
  opacity:1!important;
}

/* VIP sound preference */
html body #erisRoomSurface.lidya-king-room-theme
.vp-sound-toggle {
  color:#fff0cc!important;
  background:#301310!important;
  border:1px solid #bd9147!important;
  opacity:1!important;
}

html body #erisRoomSurface.lidya-king-room-theme
.vp-sound-toggle[aria-pressed="true"] {
  color:#fff4d5!important;
  background:#72501d!important;
  border-color:#edc978!important;
}

/* Compact King daily and welcome banners */
.lidya-nobility-live-banner:is(
  .lidya-king-daily-banner,
  .lidya-king-room-welcome
):not(.ln-king-activation-fallback) {
  width:min(76vw,340px,66dvh);
}

body:has(.lidya-king-notice:is(
  .lidya-king-daily-banner,
  .lidya-king-room-welcome
):not(.ln-king-activation-fallback))
#eris-notice-stack {
  top:calc(env(safe-area-inset-top,0px)
    + 86px + min(53.6vw,240px,46.5dvh))!important;
}

@media(max-height:500px) {
  .lidya-nobility-live-banner:is(
    .lidya-king-daily-banner,
    .lidya-king-room-welcome
  ):not(.ln-king-activation-fallback) {
    width:min(65vw,320px,60dvh);
  }

  body:has(.lidya-king-notice:is(
    .lidya-king-daily-banner,
    .lidya-king-room-welcome
  ):not(.ln-king-activation-fallback))
  #eris-notice-stack {
    top:calc(env(safe-area-inset-top,0px)
      + 52px + min(45.8vw,226px,42.3dvh))!important;
  }
}

/* Preserve original avatar positioning */
#lidyaHomeRoomsV1 .lidya-nobility-room-card
.lhr-frame,
#lidyaHomeRoomsV1 .lidya-nobility-room-card
.lhr-live-dot,
#lidyaHomeRoomsV1 .lidya-nobility-room-card
.lhr-follow-mark,
#lidyaHomeRoomsV1 .lidya-nobility-room-card
.lhr-lock {
  position:absolute!important;
}

/* KING PREMIUM V5 - DEDICATED ART CARDS */
#lidyaHomeRoomsV1 .lhr-card.lidya-nobility-room-card {
  position:relative!important;isolation:isolate!important;box-sizing:border-box!important;
  display:block!important;flex:0 0 104px!important;width:104px!important;min-width:104px!important;max-width:104px!important;
  height:129px!important;min-height:129px!important;max-height:129px!important;
  padding:0!important;border:0!important;border-radius:0!important;background:transparent!important;
  box-shadow:none!important;overflow:hidden!important;
}
#lidyaHomeRoomsV1 .lhr-card.lidya-nobility-room-card::before {content:none!important;display:none!important;}
#lidyaHomeRoomsV1 .lhr-card.lidya-nobility-room-card::after {
  content:""!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;
  border-radius:0!important;background: url('./assets/lidya-nobility/king/king-home-card.png') center/100% 100% no-repeat!important;
  box-shadow:none!important;z-index:-1!important;pointer-events:none!important;
}
#lidyaHomeRoomsV1 .lhr-card.lidya-nobility-room-card .lhr-avatar {
  position:absolute!important;top:25%!important;left:50%!important;right:auto!important;bottom:auto!important;
  transform:translateX(-50%)!important;width:42px!important;height:42px!important;box-sizing:border-box!important;
  display:grid!important;place-items:center!important;border:1px solid #e9bf64!important;border-radius:50%!important;
  background:#36100d!important;box-shadow:0 2px 5px #0008!important;z-index:1!important;overflow:visible!important;
}
#lidyaHomeRoomsV1 .lhr-card.lidya-nobility-room-card .lhr-avatar img {width:100%!important;height:100%!important;object-fit:cover!important;border-radius:50%!important;}
#lidyaHomeRoomsV1 .lhr-card.lidya-nobility-room-card .lhr-frame {position:absolute!important;inset:-5px!important;background-size:100% 100%!important;z-index:2!important;pointer-events:none!important;}
#lidyaHomeRoomsV1 .lhr-card.lidya-nobility-room-card .lhr-live-dot {position:absolute!important;right:-1px!important;bottom:0!important;width:10px!important;height:10px!important;box-sizing:border-box!important;border:1.5px solid #ffe5ab!important;z-index:3!important;}
#lidyaHomeRoomsV1 .lhr-card.lidya-nobility-room-card :is(.lhr-name,.lhr-count) {
  position:absolute!important;left:13%!important;right:13%!important;width:auto!important;bottom:auto!important;
  margin:0!important;padding:0!important;display:block!important;text-align:center!important;
  background:none!important;border:0!important;box-shadow:none!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
  text-shadow:0 1px 2px #000!important;z-index:3!important;opacity:1!important;
}
#lidyaHomeRoomsV1 .lhr-card.lidya-nobility-room-card .lhr-name {top:67%!important;color:#fff7e7!important;font-size:11.5px!important;line-height:14px!important;font-weight:800!important;}
#lidyaHomeRoomsV1 .lhr-card.lidya-nobility-room-card .lhr-count {top:78%!important;color:#f6d38b!important;font-size:10px!important;line-height:12px!important;font-weight:700!important;}
#lidyaHomeRoomsV1 .lhr-card.lidya-nobility-room-card :is(.lhr-follow-mark,.lhr-lock) {position:absolute!important;top:18%!important;z-index:4!important;color:#ffe3a2!important;text-shadow:0 1px 3px #000!important;}
#lidyaHomeRoomsV1 .lhr-card.lidya-nobility-room-card .lhr-follow-mark {left:12%!important;}
#lidyaHomeRoomsV1 .lhr-card.lidya-nobility-room-card .lhr-lock {right:12%!important;}
/* Landscape: dedicate the full width to the banner, keep the crown and bottom gem clear. */
#explore .room.card.lidya-nobility-room-card {
  position:relative!important;isolation:isolate!important;box-sizing:border-box!important;
  display:grid!important;grid-template-columns:38px minmax(0,1fr) auto!important;
  align-items:center!important;gap:8px!important;width:100%!important;max-width:100%!important;min-width:0!important;
  height:auto!important;min-height:120px!important;padding:42px 19px 22px!important;
  border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:hidden!important;text-align:left!important;
}
#explore .room.card.lidya-nobility-room-card::before {content:none!important;display:none!important;}
#explore .room.card.lidya-nobility-room-card::after {
  content:""!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;
  border-radius:0!important;background:url('./assets/lidya-nobility/king/king-explore-card.png') center/100% 100% no-repeat!important;
  box-shadow:none!important;z-index:-1!important;pointer-events:none!important;
}
#explore .room.card.lidya-nobility-room-card .ec-room-art {
  position:relative!important;display:grid!important;place-items:center!important;box-sizing:border-box!important;
  width:38px!important;height:38px!important;min-width:38px!important;margin:0!important;padding:0!important;
  border:1px solid #e3b45e!important;border-radius:50%!important;background:linear-gradient(145deg,#fff1cf,#d9ac60)!important;color:#442611!important;box-shadow:0 2px 5px #0005!important;
}
#explore .room.card.lidya-nobility-room-card .ec-room-art svg {width:19px!important;height:19px!important;}
#explore .room.card.lidya-nobility-room-card .roomText {
  position:relative!important;display:flex!important;flex-direction:column!important;justify-content:center!important;gap:2px!important;
  min-width:0!important;max-width:100%!important;width:auto!important;margin:0!important;padding:0!important;
  border:0!important;border-radius:0!important;background:none!important;box-shadow:none!important;
}
#explore .room.card.lidya-nobility-room-card .roomText b {
  display:block!important;margin:0!important;padding:0!important;color:#fff8e9!important;font-size:13px!important;line-height:16px!important;
  font-weight:800!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;text-shadow:0 1px 2px #000!important;
}
#explore .room.card.lidya-nobility-room-card .roomText small {
  display:block!important;margin:0!important;padding:0!important;color:#f8d992!important;font-size:10px!important;line-height:13px!important;
  font-weight:500!important;white-space:normal!important;overflow-wrap:anywhere!important;opacity:1!important;background:none!important;text-shadow:0 1px 2px #000!important;
}
#explore .room.card.lidya-nobility-room-card .ec-room-live {
  position:relative!important;display:inline-grid!important;place-items:center!important;box-sizing:border-box!important;
  min-width:0!important;width:auto!important;height:auto!important;margin:0!important;padding:5px 7px!important;
  border:1px solid #e7bf69!important;border-radius:8px!important;background:linear-gradient(145deg,#fff2d4,#e5bf76)!important;color:#49270e!important;
  font-size:9px!important;line-height:12px!important;font-weight:850!important;letter-spacing:.04em!important;white-space:nowrap!important;box-shadow:0 2px 4px #0005!important;
}
@media(max-width:360px){
  #explore .room.card.lidya-nobility-room-card {grid-template-columns:32px minmax(0,1fr) auto!important;gap:6px!important;padding-inline:15px!important;}
  #explore .room.card.lidya-nobility-room-card .ec-room-art {width:32px!important;height:32px!important;min-width:32px!important;}
  #explore .room.card.lidya-nobility-room-card .ec-room-live {padding:4px 5px!important;font-size:8.5px!important;}
}
@media(min-width:600px){
  #explore .room.card.lidya-nobility-room-card {min-height:142px!important;grid-template-columns:50px minmax(0,1fr) auto!important;padding:48px 5% 25px!important;gap:13px!important;}
  #explore .room.card.lidya-nobility-room-card .ec-room-art {width:50px!important;height:50px!important;min-width:50px!important;}
  #explore .room.card.lidya-nobility-room-card .roomText b {font-size:15px!important;line-height:19px!important;}
  #explore .room.card.lidya-nobility-room-card .roomText small {font-size:12px!important;line-height:15px!important;}
}

/* KING PREMIUM V5 - DAILY BANNER ART (daily only) */
.lidya-nobility-live-banner.lidya-king-notice.lidya-king-daily-banner:not(.ln-king-activation-fallback) {
  width:min(88vw,360px,72dvh)!important;
  aspect-ratio:1280/721!important;
  max-height:none!important;box-sizing:border-box!important;container-type:inline-size!important;
  pointer-events:none;
}
.lidya-nobility-live-banner.lidya-king-notice.lidya-king-daily-banner:not(.ln-king-activation-fallback)>img {
  display:block!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;object-fit:contain;border-radius:10px;
}
.lidya-nobility-live-banner.lidya-king-notice.lidya-king-daily-banner:not(.ln-king-activation-fallback) .ln-king-activation-panel {
  position:absolute!important;left:29%!important;right:29%!important;
  top:59.5%!important;bottom:auto!important;width:42%!important;height:8%!important;
  margin:0!important;padding:0 2px!important;box-sizing:border-box!important;
  display:flex!important;align-items:center!important;justify-content:center!important;gap:0!important;
  border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;overflow:hidden!important;
}
/* The artwork contains these two labels. Keep the DOM labels accessible. */
.lidya-nobility-live-banner.lidya-king-notice.lidya-king-daily-banner:not(.ln-king-activation-fallback) :is(.ln-king-activation-title,.ln-king-activation-action) {
  position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;
  overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;
}
.lidya-nobility-live-banner.lidya-king-notice.lidya-king-daily-banner:not(.ln-king-activation-fallback) .ln-king-activation-name {
  display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;
  margin:0!important;padding:0!important;border:0!important;background:transparent!important;
  font-family:Georgia,serif!important;font-size:clamp(7px,3.8cqw,15px)!important;
  font-weight:800!important;line-height:1.05!important;color:#fff1bd!important;text-align:center!important;
  text-shadow:0 1px 2px #000!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important;
}
body:has(.lidya-nobility-live-banner.lidya-king-notice.lidya-king-daily-banner:not(.ln-king-activation-fallback)) #eris-notice-stack {
  top:calc(env(safe-area-inset-top,0px) + 86px + min(49.57vw,202.8px,40.56dvh))!important;
}
@media(max-height:500px) {
  .lidya-nobility-live-banner.lidya-king-notice.lidya-king-daily-banner:not(.ln-king-activation-fallback) {width:min(72vw,340px,60dvh)!important;}
  body:has(.lidya-nobility-live-banner.lidya-king-notice.lidya-king-daily-banner:not(.ln-king-activation-fallback)) #eris-notice-stack {
    top:calc(env(safe-area-inset-top,0px) + 52px + min(40.56vw,191.6px,33.8dvh))!important;
  }
}


/* KING V5.1 SOCIAL PORTRAITS */

.lidya-social-royal-portrait {
 position:relative!important;
 isolation:isolate;
 overflow:visible!important;
 flex-shrink:0;
 background:transparent!important;
}

.lidya-social-royal-portrait>img:not(.lidya-social-royal-frame) {
 position:absolute!important;
 top:50%!important;
 left:50%!important;
 transform:translate(-50%,-50%);
 width:78%!important;
 height:78%!important;
 border-radius:50%!important;
 object-fit:cover!important;
 z-index:1;
}

.lidya-social-royal-portrait>img.lidya-social-royal-frame {
 position:absolute!important;
 inset:0!important;
 width:100%!important;
 height:100%!important;
 max-width:none!important;
 object-fit:contain!important;
 pointer-events:none;
 z-index:2;
}


/* KING V5.1D PORTRAITS */

.lidya-social-royal-portrait>img.lidya-social-royal-frame {
 border-radius:0!important;
 margin:0!important;
 padding:0!important;
}

.eris-story-face.lidya-social-royal-portrait {
 border-color:transparent!important;
 background:transparent!important;
}
