.main-box{position:relative;width:520px;aspect-ratio:702/496;margin:0 54px;overflow:hidden;flex-shrink:0;color:#333;font-family:Microsoft YaHei,PingFang SC,sans-serif}.main-box .certificate-bg{display:block;width:100%;height:100%;object-fit:contain}.main-box .portrait,.main-box .statement,.main-box .field-value{position:absolute}.main-box .portrait{left:17.38%;top:37.1%;width:19.66%;height:32.26%;object-fit:cover}.main-box .statement{left:45.87%;top:calc(16.6% - 5px);width:49.4%;padding-right:12px;max-height:34%;overflow:hidden;color:#3d3d3d;font-family:Nowar Rounded CN,Microsoft YaHei,PingFang SC,sans-serif;font-size:14.6px;font-weight:500;line-height:21px;white-space:pre-wrap;word-break:break-all}.main-box .field-value{overflow:hidden;color:#4a4a4a;font-size:13.5px;line-height:22px;text-align:center;white-space:nowrap;text-overflow:ellipsis}.main-box .holder-name{left:23.08%;top:calc(73.99% - 6px);width:13.39%}.main-box .gender{left:23.08%;top:calc(83.27% - 6px);width:13.39%}.main-box .validity,.main-box .issue-date,.main-box .issuer{left:60.4%;width:33.6%;text-align:left}.main-box .validity{top:calc(69.76% - 8px)}.main-box .issue-date{top:calc(77.02% - 8px)}.main-box .issuer{top:calc(84.27% - 8px)}.main-box{position:relative;width:520px;aspect-ratio:702/496;margin:0 54px;overflow:hidden;flex-shrink:0;font-family:Microsoft YaHei,PingFang SC,sans-serif}.main-box .award-bg{display:block;width:100%;height:100%;object-fit:contain}.main-box .recipient,.main-box .congratulation,.main-box .award-title,.main-box .encouragement{position:absolute;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.main-box .recipient,.main-box .congratulation,.main-box .encouragement{color:#292929;font-size:17px;font-weight:600;line-height:1.4}.main-box .award-title{left:24%;width:54%;color:#ea3b02;font-size:33px;font-weight:700;line-height:1.2;text-align:center;letter-spacing:0;overflow:visible;padding-bottom:26px}.main-box.style-one .recipient{top:calc(35.9% - 4px);left:16.7%;width:31%}.main-box.style-one .congratulation{top:calc(45.7% - 4px);left:16.7%;width:48%}.main-box.style-one .award-title{top:calc(54.3% - 4px)}.main-box.style-one .encouragement{top:calc(80% - 4px);left:16.7%;width:42%}.main-box.style-two .recipient{top:calc(38.5% - 2px);left:16.8%;width:32%}.main-box.style-two .congratulation{top:calc(46.6% - 2px);left:16.8%;width:50%}.main-box.style-two .award-title{top:calc(55.2% - 2px);left:calc(24% - 10px);color:#ff4b00}.main-box.style-two .encouragement{top:calc(72.4% - 8px);left:calc(35.7% - 10px);width:32%;text-align:center}.main-box{position:relative;width:520px;margin:0 54px;overflow:hidden;flex-shrink:0;color:#4a4749;font-family:SimSun,Songti SC,serif}.main-box .graduation-bg{display:block;width:100%;height:100%;object-fit:contain}.main-box .paper-mask,.main-box .student-body,.main-box .student-portrait,.main-box .registration-number,.main-box .honor-student-name{position:absolute}.main-box.style-one{aspect-ratio:1404/1000}.main-box.style-one .student-body-mask{top:25.8%;left:58.8%;width:34.5%;height:32.5%}.main-box.style-one .student-body{top:24.2%;left:59.5%;width:33.2%;font-size:9.4px;line-height:1.85;white-space:nowrap}.main-box.style-one .student-portrait{top:56%;left:18.52%;width:11.4%;height:22.4%;object-fit:cover}.main-box.style-one .student-dx{position:absolute;top:22%;left:22%;width:128px;height:36px}.main-box.style-one .student-dx-wudaokou{top:23%;left:13%;width:40%;height:8%}.main-box.style-one .student-yz{position:absolute;top:60.5%;right:11.4%;width:88px;height:88px}.main-box.style-one .registration-mask{top:73.5%;left:31.4%}.main-box.style-one .registration-number{top:74.2%;left:31.6%;width:26%;overflow:hidden;font-size:9px;line-height:1.4;white-space:nowrap;text-overflow:ellipsis}.main-box.style-two{aspect-ratio:702/524}.main-box.style-two .honor-student-name{top:52.4%;right:36.6%;width:17%;overflow:hidden;color:#4a4749;font-size:2.8px;font-family:Songti SC,SimSun,STSong,serif;line-height:1.4;text-align:right;white-space:nowrap;text-overflow:ellipsis}.flex{display:flex}.align-center{align-items:center}.page-container{padding:47px 47px 47px 66px;margin:17px auto 0;width:fit-content;justify-content:center;align-items:flex-start}.page-container .left-box,.page-container .right-box-sticky{position:sticky;top:176px;z-index:10}.page-container .tpl-menu{width:200px;padding:16px;background-color:#fff;border-radius:18px;box-shadow:0 0 5px #0000001a}.page-container .tpl-menu .tpl-name{padding:12px;background:#ececff;border-radius:12px}.page-container .tpl-menu .icon{width:32px;height:32px;margin-right:6px;object-fit:contain}.page-container .tpl-menu .title{font-weight:500;font-size:18px;line-height:20px;background:linear-gradient(88deg,#6825db,#5066d4);background-clip:text;-webkit-background-clip:text;-webkit-text-fill-color:transparent}.page-container .tpl-menu .tpl-item{height:37px;padding-left:12px;margin-top:16px;color:#1a1a1a;font-size:18px;line-height:37px;border-radius:8px;cursor:pointer}.page-container .tpl-menu .tpl-item.active{color:#fff;background:linear-gradient(215deg,#a679f4 7.14%,#778cf5)}.page-container .stay-tuned-img{width:200px;height:145px;margin-top:22px;background-color:#fff;border-radius:18px;box-shadow:0 0 5px #0000001a}
/* 页面骨架 */
.page-container{padding:47px 47px 47px 66px;margin:17px auto 0;width:fit-content;max-width:100%;box-sizing:border-box;justify-content:center;align-items:flex-start;gap:0}
.page-container .left-box,.page-container .right-box-sticky{position:sticky;top:176px;z-index:10}
.right-box-sticky{width:300px;background:#fff;border-radius:18px;box-shadow:0 0 5px #0000001a;padding:24px 22px;box-sizing:border-box;margin-left:54px}
.right-box-sticky h2{font-size:16px;font-weight:700;text-align:center;margin:0 0 18px}
.pv-col{margin:0 54px}
.pv-holder{width:520px;transform-origin:top left}
.pv-toggle{display:none}
.photo-wm{position:absolute;inset:0;pointer-events:none;z-index:10;background-repeat:repeat;background-size:116.6px 116.6px;display:none}
.portrait-wrap{overflow:hidden}
.pv-holder .award-preview,.pv-holder .graduation-preview,.pv-holder .certificate-preview{display:none}
.field-row{display:flex;align-items:center;gap:10px;margin-bottom:14px}
.field-row label{width:70px;flex:none;font-size:14px;color:#333}
.field-row input,.field-row textarea{flex:1;min-width:0;height:36px;border:none;background:#f5f5fa;border-radius:6px;padding:0 10px;font-size:13px;color:#555;outline:none;box-sizing:border-box}
.field-row textarea{height:88px;padding:8px 10px;resize:vertical;line-height:1.5}
.img-upload{flex:1;height:64px;border:1px dashed #c8d0f8;border-radius:6px;background:#fbfbff;color:#8f9bf5;font-size:13px;display:flex;align-items:center;justify-content:center;cursor:pointer}
.btns{margin-top:26px;display:flex;flex-direction:column;gap:12px}
.btn-line{height:40px;border:1px dashed #c8d0f8;border-radius:8px;background:#fff;color:#8f9bf5;font-size:14px;cursor:pointer}
.btn-dl{height:40px;border:none;border-radius:8px;color:#fff;font-size:14px;cursor:pointer;background:linear-gradient(215deg,#a679f4 7.14%,#778cf5)}
.stay-tuned{width:200px;height:145px;margin-top:22px;background:#fff;border-radius:18px;box-shadow:0 0 5px #0000001a;display:flex;align-items:center;justify-content:center;overflow:hidden}
.stay-tuned img{width:100%;height:100%;object-fit:contain}
@media(max-width:1100px){.page-container{padding:20px 16px;flex-wrap:wrap}.right-box-sticky{margin:20px 0 0;width:100%;position:static}}
@media(max-width:820px){.page-container{padding:10px;display:block}.pv-col{margin:0;display:flex;justify-content:center}.right-box-sticky{position:static;margin-top:12px}.left-box{position:static}.tpl-menu{display:flex;flex-wrap:wrap;gap:8px}.tpl-menu .tpl-item{margin-top:0;height:34px;line-height:34px;font-size:15px;padding:0 12px}.tpl-name{width:100%;margin-bottom:8px}.stay-tuned{display:none}}
.page-container .left-box{width:200px;flex:none}
.page-container .tpl-menu{box-sizing:border-box}
.tpl-menu .tpl-item{white-space:nowrap;overflow:hidden}
@media(max-width:820px){
 .page-container{padding:8px 8px 0;display:block}
 .page-container .left-box{width:100%;position:static;margin:0 0 8px}
 .page-container .tpl-menu{display:flex;flex-wrap:nowrap;overflow-x:auto;gap:8px;width:100%;padding:10px 10px 12px;scrollbar-width:none}
 .page-container .tpl-menu::-webkit-scrollbar{display:none}
 .page-container .tpl-menu .tpl-name{display:none}
 .page-container .tpl-menu .tpl-item{margin:0;flex:none;height:30px;line-height:30px;font-size:13px;padding:0 12px;border-radius:15px;background:#f3f4fa;color:#333}
 .page-container .tpl-menu .tpl-item.active{background:linear-gradient(215deg,#a679f4,#778cf5);color:#fff}
 .pv-col{width:100%;margin:0;display:flex;justify-content:center;overflow:hidden}
 .right-box-sticky{width:auto;margin:10px 0 0;padding:16px 14px}
 .right-box-sticky .btns{flex-direction:row}
 .right-box-sticky .btns>*{flex:1}
}
@media(max-width:820px){.pv-holder .main-box{margin-left:0;margin-right:0}}
