#testdiv {width:600px; margin:0px auto; border:1px solid #ccc; padding:20px 25px 12px; background:#fff}

/* 弹窗容器 */
.tbox {
    display: none; z-index: 900;
    padding: 0 !important;
    margin: 0 !important;
    position: fixed;
}
.tinner {
    padding: 0;
    border-radius: 14px;
    background: #fff url(images/preload.gif) no-repeat 50% 50%;
    box-shadow: 0 25px 60px rgba(30,20,60,0.22), 0 8px 24px rgba(30,20,60,0.10);
    border: none;
    overflow: hidden;
    position: relative;
}
.tmask {
    position: fixed; display: none; top: 0; left: 0;
    height: 100%; width: 100%;
    background: rgba(15,12,30,0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 800;
}

/* 拖拽手柄 - 覆盖顶部标题区域 */
.tdrag {
    position: absolute; top: 0; left: 0; right: 40px;
    height: 50px; cursor: move; z-index: 15;
    border-radius: 14px 0 0 0;
}

/* 等比缩放手柄 - 右下角 */
.tresize {
    position: absolute; right: 0; bottom: 0;
    width: 22px; height: 22px;
    cursor: se-resize; z-index: 15;
    border-radius: 0 0 14px 0;
}
.tresize::after {
    content: '';
    position: absolute; right: 5px; bottom: 5px;
    width: 8px; height: 8px;
    border-right: 2px solid rgba(0,0,0,0.15);
    border-bottom: 2px solid rgba(0,0,0,0.15);
}
.tresize:hover::after {
    border-color: rgba(99,102,241,0.5);
}

/* 关闭按钮 */
.tclose {
    position: absolute; top: 10px; right: 10px;
    width: 30px; height: 30px;
    cursor: pointer;
    background: rgba(255,255,255,0.2);
    border: none;
    border-radius: 8px;
    z-index: 20;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s;
    backdrop-filter: blur(8px);
}
.tclose::before,
.tclose::after {
    content: '';
    position: absolute;
    width: 14px; height: 2px;
    background: rgba(255,255,255,0.85);
    border-radius: 1px;
    transition: all 0.2s;
}
.tclose::before { transform: rotate(45deg); }
.tclose::after  { transform: rotate(-45deg); }
.tclose:hover {
    background: rgba(239,68,68,0.8);
    transform: scale(1.08);
}
.tclose:hover::before,
.tclose:hover::after { background: #fff; }

#error {background:#ff6969; color:#fff; text-shadow:1px 1px #cf5454; border-right:1px solid #000; border-bottom:1px solid #000; padding:0}
#error .tcontent {padding:10px 14px 11px; border:1px solid #ffb8b8; border-radius:5px}
#success {background:#2ea125; color:#fff; text-shadow:1px 1px #1b6116; border-right:1px solid #000; border-bottom:1px solid #000; padding:10; border-radius:0}
#bluemask {}
#frameless { padding: 0; }
#frameless .tcontent iframe { border-radius: 14px; display: block; }
