:root{--app-height:100dvh;--app-width:100vw;--app-top:0px;--room-chat-height:240px;--room-stage-height:360px}
*,*:before,*:after{box-sizing:border-box}img,video,canvas{max-width:100%}button,input,select,textarea{font:inherit}button{touch-action:manipulation}.view,.eph-dialog-content,.lp-body,.rel-body,.eh-sheet{overflow-wrap:anywhere;min-width:0;min-height:0}
.eris-mini-shade{padding:12px!important;max-height:var(--app-height);overflow-y:auto!important;overscroll-behavior:contain}.eris-mini-card{width:min(460px,100%)!important;max-height:calc(var(--app-height) - 24px);overflow:auto;min-width:0}.eris-mini-card.visual-vip-card{padding:7px!important;background:none!important;border-radius:0!important;box-shadow:none!important}.eris-mini-card.visual-vip-card:before{display:none!important}.eris-mini-vip .eris-mini-topbar{flex-wrap:wrap!important;gap:5px;margin:0 0 9px}.eris-mini-vip .eris-mini-topbar [data-vip-card]{max-width:80px}.eris-mini-head{min-width:0}.eris-mini-name{font-size:clamp(12px,3.7vw,17px);min-width:0}.eris-mini-stats{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:5px!important}.eris-mini-stats>div:last-child{grid-column:1/-1}.eris-mini-stats [data-received-gifts]{font-size:clamp(12px,3.4vw,18px);white-space:nowrap;overflow-wrap:normal!important;word-break:normal;flex-wrap:nowrap;gap:4px!important}.eris-mini-actions{grid-template-columns:repeat(2,minmax(0,1fr))!important}.eris-mini-actions>button:last-child{grid-column:1/-1}.eris-mini-relationship{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;min-width:0;margin-top:7px}
.rel-public{width:clamp(130px,38vw,180px)!important;height:auto!important;aspect-ratio:1024/314;position:relative!important;flex:none!important}.rel-public-status{display:block;width:100%;height:100%;position:relative!important}.rel-public .rel-public-ring{left:21.5%!important;top:50%!important;width:24%!important;height:auto!important;aspect-ratio:1;transform:translate(-50%,-50%);object-fit:contain}.rel-public .rel-avatar{right:auto!important;left:83%!important;top:50%!important;width:17%!important;height:auto!important;aspect-ratio:1;transform:translate(-50%,-50%);border-radius:50%}.rel-public .rel-avatar img{width:100%;height:100%;object-fit:cover}.eris-mini-relationship .rel-title{margin:0!important;max-width:100px;height:28px;object-fit:contain}
.rel-chat-bubble.visual-chat-bubble{background:none!important;padding:4px 7px!important;min-width:0;max-width:100%;flex:1;color:#fff;overflow-wrap:anywhere;word-break:break-word}.rel-chat-line{font-size:12px;line-height:1.45!important}.rel-chat-line b{font-size:10px}.rel-chat-line .eris-chat-text{white-space:pre-wrap;overflow-wrap:anywhere}
.rel-entrance{width:min(420px,92vw)!important;top:clamp(70px,22vh,180px)!important;max-height:25vh}.rel-entrance-art{width:100%;height:auto;object-fit:contain}.rel-entrance-name{background:none!important;box-shadow:none!important;font-size:clamp(10px,3vw,16px)!important}
.appearance-tabs{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:6px;margin-bottom:12px}.appearance-tabs button{min-width:0;font-size:11px;padding:8px 3px;white-space:normal;border:1px solid #fff3;border-radius:10px;background:#ffffff08;color:#eee}.appearance-tabs button[aria-pressed=true]{background:#754cff66;border-color:#a880ff}.appearance-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(140px,100%),1fr));gap:9px}.appearance-item{min-width:0;display:flex;flex-direction:column;align-items:center;gap:6px;padding:10px;border:1px solid #ffffff20;border-radius:14px;background:#ffffff07}.appearance-item>img{width:100%;height:100px;object-fit:contain}.appearance-item>b{font-size:12px;text-align:center}.appearance-item>small{font-size:10px;color:#b8a7ca}.appearance-item>button{margin-top:auto;width:100%;border-radius:9px;padding:8px;background:#754cff40;color:#fff;border:1px solid #a880ff55}.appearance-item[data-image-missing]:before{content:'Görsel yüklenemedi';font-size:11px;min-height:100px;display:grid;place-items:center}
.gift-preview-cell{position:relative!important;min-width:0}.gift-preview-cell .gift-preview-button{position:absolute!important;left:3px;top:3px;z-index:2;display:grid!important;place-items:center;width:30px!important;height:30px!important;min-height:30px!important;padding:5px!important;margin:0!important;border-radius:50%!important;background:#130d22e8!important;border:1px solid #f0d8a766!important;box-shadow:0 2px 5px #0006;touch-action:manipulation}.gift-preview-button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.8}.gift-preview-button:focus-visible{outline:2px solid #fff;outline-offset:2px}
#erisRoomSurface.show{height:var(--app-height)!important;top:var(--app-top)!important;bottom:auto!important}#erisRoomSurface.room-layout-v6 .eris-room-stage{top:120px!important;bottom:var(--room-chat-height)!important;padding-top:6px!important;--seat-size:clamp(32px,min(11vw,calc((var(--room-stage-height) - 110px)/4)),72px);--seat-row-gap:18px}.room-layout-v6 .eris-room-chat{height:var(--room-chat-height)!important;bottom:0!important;min-height:0}#erisRoomSurface .eris-chat-list{min-height:0;flex:1;overflow:auto;padding-bottom:6px}#erisRoomSurface .eris-room-compose{flex:none;min-height:52px;padding-bottom:max(8px,env(safe-area-inset-bottom))}.room-layout-v6 .eris-seat{max-width:var(--seat-size)!important;width:var(--seat-size)!important;height:var(--seat-size)!important}.room-layout-v6 .eris-room-stage[data-seat-count]{--seat-size:clamp(32px,min(11vw,calc((var(--room-stage-height) - 110px)/4)),72px)!important;--seat-row-gap:18px!important}
html.visual-compact #erisRoomSurface .eris-room-stage{overflow:auto!important}html.visual-compact .eris-mini-shade{align-items:start!important}#chat.eris-floating-dm .chatSheet{min-height:0!important;max-height:calc(var(--app-height) - 24px)!important;height:min(640px,calc(var(--app-height) - 24px))!important}.dm-gift-sheet>section{max-height:calc(var(--app-height) - 24px)!important}.eph-dialog,.lp-panel,.eris-admin-panel,.eris-vip-dialog,.eh-sheet{max-height:var(--app-height)!important}.eris-vip-overlay{padding:0!important}.eris-vip-dialog{width:100%!important;height:var(--app-height);border-radius:0!important}.eris-vip-content{min-height:0!important}
@media(max-width:340px){.eris-mini-actions button{font-size:10px!important}.appearance-tabs{grid-template-columns:repeat(2,minmax(0,1fr))}.rel-chat-line{font-size:11px}.gift-preview-cell .gift-preview-button{width:28px!important;height:28px!important;min-height:28px!important}}

#erisRoomSurface.room-layout-v6 .rel-chat-line .eris-chat-text{display:inline!important;background:none!important;padding:0!important}.eris-mini-shade .rel-public{max-width:100%}.egp-cats,.dm-gift-categories{display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr));overflow:visible!important}.egp-cats button,.dm-gift-categories button{white-space:normal!important;min-width:0!important;font-size:10px!important}.egp-qty,.dm-gift-quantities{flex-wrap:wrap;overflow:visible!important}

.eris-mini-vip .eris-mini-topbar{display:grid!important;grid-template-columns:minmax(0,1fr) repeat(3,28px);gap:4px!important}.eris-mini-vip .eris-mini-topbar [data-vip-card]{width:70px!important;height:25px!important;max-width:100%!important}.eris-mini-vip .eris-mini-topbar>.eris-mini-icon{width:28px!important;height:28px!important;font-size:17px!important}.eris-mini-relationship{flex-wrap:nowrap!important}.eris-mini-relationship .rel-public{width:min(58%,145px)!important}.eris-mini-relationship .rel-title{width:34%!important;max-width:85px!important;flex:none}.eris-mini-vip .eris-mini-stats{margin:9px 0!important}.eris-mini-vip .eris-mini-stats>div{padding:6px 3px!important}
@media(max-height:650px){.eris-mini-vip .eris-mini-actions button{min-height:32px!important;padding:5px!important}.eris-mini-vip .eris-mini-block{min-height:28px!important;padding:5px!important}.eris-mini-vip .eris-mini-head{gap:6px}.eris-mini-vip .eris-mini-portrait{width:44px;height:44px}.eris-mini-vip .eris-mini-frame{width:56px;height:56px}.eris-mini-vip .eris-mini-topbar{margin-bottom:6px!important}}

/* Profile reference: keep the equipped ring inside the status circle and align partner/title together. */
.eris-profile-relationship{display:flex;align-items:center;justify-content:flex-start;gap:8px;min-width:0;max-width:100%;margin-top:8px}.eris-profile-relationship .rel-public{margin:0!important;width:min(58%,180px)!important}.eris-profile-relationship .rel-title{width:34%!important;max-width:110px;height:30px;object-fit:contain;flex:none}.profile .stats>div{min-width:0}.profile [data-received-gifts]{font-size:clamp(10px,3vw,16px);white-space:nowrap;overflow-wrap:normal!important;word-break:normal;flex-wrap:nowrap!important}
