.mobile-preview-stage{display:contents}
@media(max-width:700px){
  .compact-studio main{height:var(--studio-height,650px);padding:0!important;overflow:hidden}
  .compact-studio .workspace{display:flex;flex-direction:column;height:100%;overflow:hidden;border-radius:14px}
  .compact-studio .preview-panel{order:0;flex:0 0 clamp(146px,calc(var(--studio-height,650px)*.4),255px);width:100%;min-height:0;padding:7px 12px 4px!important;border:0;border-bottom:1px solid #dfdacf;overflow:hidden}
  .compact-studio .preview-panel>.side-tabs{flex:none;min-height:29px;margin:0 auto 3px;gap:3px}
  .compact-studio .preview-panel>.side-tabs button{font-size:10px;padding:7px 12px}
  .compact-studio .mobile-preview-stage{display:block;flex:1;min-height:0;width:100%;position:relative;overflow:hidden;border-radius:5px}
  .compact-studio .preview-panel .pendant-scene{position:absolute;width:var(--compact-scene-width,220px);max-width:none;aspect-ratio:1122/1402;left:50%;top:50%;transform:translate(-50%,-55%);margin:0;border-radius:0}
  .compact-studio .preview-panel>.view-tabs{flex:none;min-height:27px;margin:2px auto 0;gap:8px}
  .compact-studio .preview-panel>.view-tabs button{min-height:27px;padding:5px 12px;font-size:10px}
  .compact-studio .preview-top,.compact-studio .dimension,.compact-studio .preview-caption,.compact-studio .specs,.compact-studio .proof-note,.compact-studio .preview-return{display:none!important}
  .compact-studio .editor{order:1;flex:1;min-height:0;overflow-y:auto;padding:14px 16px 20px!important;-webkit-overflow-scrolling:touch}
  .compact-studio .section-heading{margin-bottom:10px;gap:8px}.compact-studio h2{font-size:20px}.compact-studio .step{font-size:9px}.compact-studio .text-button{font-size:10px}
  .compact-studio textarea{height:78px;min-height:78px;max-height:78px;padding:10px 12px;resize:none;font-size:16px;line-height:1.45;overflow-y:auto;scroll-margin:8px}
  .compact-studio .message-meta{font-size:9px;margin-top:7px}.compact-studio .separator{margin:18px 0}.compact-studio .control{margin-bottom:18px}.compact-studio .fit-note{margin:10px 0;font-size:10px}
  .compact-studio .front-intro{display:none}.compact-studio .song-field{font-size:16px;padding:10px 12px;scroll-margin:8px}.compact-studio #front-controls>label{margin-top:10px}
  .compact-studio #use-design{margin-top:12px;min-height:46px}
}
@media(max-width:700px){.compact-studio.small-editor .preview-panel{flex-basis:170px}.compact-studio.small-editor .preview-panel>.view-tabs{display:none}}
@media(max-width:700px){
  .compact-studio .preview-panel .pendant-scene{mask-image:linear-gradient(to right,transparent,#000 7%,#000 93%,transparent),linear-gradient(to bottom,transparent,#000 5%,#000 95%,transparent);mask-composite:intersect;-webkit-mask-composite:source-in}
  .compact-studio h2{font-size:18px;line-height:1.15;letter-spacing:-.3px}
  .compact-studio .section-heading{margin-bottom:8px}
  .compact-studio #front-controls>label{font-size:12px;margin-top:8px}
}

@media(max-width:800px){.embed main{padding:0!important}.embed .workspace{display:flex;flex-direction:column;border-radius:12px;overflow:visible}.embed .preview-panel{order:0;display:flex;flex-direction:column;align-items:center;height:240px;min-height:0;width:100%;padding:6px 12px!important}.embed .builder-preview-nav>.side-tabs{margin:0 auto 3px}.embed .builder-preview-nav>.side-tabs button{font-size:11px;padding:6px 12px}.embed .pendant-scene{width:210px!important;margin:0 auto!important;max-height:170px;flex:1;min-height:0}.embed .view-tabs{margin:5px auto!important}.embed .view-tabs button{font-size:11px;padding:5px 12px}.embed .preview-top,.embed .dimension,.embed .preview-caption,.embed .specs,.embed .proof-note{display:none!important}.embed .editor{order:1;overflow:visible;padding:16px!important}.embed textarea{height:94px;min-height:94px;padding:12px;font:16px/1.45 Arial,sans-serif}.embed .song-field{font:16px Arial,sans-serif;padding:12px}.embed .section-heading h2{font-size:22px}.embed .preview-return{display:none}.embed.typing main,.embed.typing .workspace{height:var(--editor-height);overflow:hidden}.embed.typing .preview-panel{flex:none;height:var(--typing-preview-height,200px)}.embed.typing .editor{flex:1;min-height:0;overflow-y:auto;overscroll-behavior:contain;scroll-padding:12px}.embed.typing textarea{height:76px;min-height:76px}.embed .separator{margin:20px 0}.embed .empty-preview{display:none!important}html,body.embed{overflow-x:hidden}.embed .pendant-scene{touch-action:pan-y pinch-zoom}}


@media (max-width: 800px) {
 .embed .preview-panel { height: 362px; padding: 6px 12px !important; }
 .embed .builder-preview-image { position: relative; display: block; width: 100%; flex: 1; min-height: 0; overflow: hidden; }
 .embed .preview-panel .pendant-scene { position: absolute; left: 50%; top: 50%; transform: translate(-50%,-56%); width: min(100%, 320px) !important; height: auto; max-width: none; max-height: none; margin: 0 !important; }
 .embed .preview-panel.artwork .pendant-scene { transform: translate(-50%,-50%); }
 .embed.typing .preview-panel { height: clamp(248px, calc(var(--editor-height, 550px) - 112px), 362px); }
 .embed.typing .preview-panel > .view-tabs { display: none; }
}

@media (max-width:800px) {
 .embed .preview-panel:not(.artwork) #preview text.engraved-art {
  fill: #4c310e !important;
  stroke: #fff4d9 !important;
  stroke-width: .028;
 }
 .embed .preview-panel[data-finish="silver"]:not(.artwork) #preview text.engraved-art {
  fill: #343937 !important;
  stroke: #fff !important;
 }
 .embed .preview-panel[data-finish="black"]:not(.artwork) #preview text.engraved-art {
  fill: #fff !important;
  stroke: #1d201f !important;
 }
}
