:root{--navy:#14274d;--navy2:#213e72;--ink:#16243c;--muted:#66758c;--line:#dce3ef;--bg:#f4f7fb;--paper:#fff;--amber:#e99a25;--amber2:#fff2d9;--green:#25a55b;--red:#c94343}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:-apple-system,BlinkMacSystemFont,"PingFang TC","Noto Sans TC",sans-serif;font-size:15px;line-height:1.55}button,input,textarea,select{font:inherit}button{cursor:pointer}a{color:var(--navy2)}.site-header{background:var(--navy);color:white;min-height:68px}.header-inner{max-width:980px;margin:auto;display:flex;align-items:center;gap:12px;padding:14px 18px}.brand-mark{width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:linear-gradient(135deg,#ffc864,#d8800f);color:#14274d;font-size:21px;font-weight:900}.header-inner strong{display:block;font-size:17px;letter-spacing:.03em}.header-inner small{display:block;color:#c7d1e7;font-size:11px}.app-shell{max-width:980px;margin:0 auto;padding:20px 16px 80px}.hero{background:linear-gradient(135deg,#14274d,#28467b);color:white;border-radius:24px;padding:25px 22px;position:relative;overflow:hidden;margin-bottom:18px}.hero:after{content:"";position:absolute;width:190px;height:190px;border-radius:50%;right:-60px;top:-90px;background:rgba(255,193,94,.18)}.hero h1{font-size:28px;line-height:1.25;margin:8px 0}.hero p{margin:0;color:#e5ebf9;max-width:600px}.eyebrow{font-size:12px;font-weight:800;letter-spacing:.08em;color:#a86a0b;text-transform:uppercase}.hero .eyebrow{color:#ffd68b}.card{background:var(--paper);border:1px solid var(--line);border-radius:20px;padding:20px;margin-bottom:14px;box-shadow:0 8px 22px rgba(26,53,99,.04)}.card h2,.card h3{margin:0 0 10px}.card h2{font-size:21px}.card h3{font-size:17px}.subtle{color:var(--muted)}.small{font-size:13px}.muted-box{background:#f6f8fc;border:1px dashed #cdd7e5;border-radius:15px;padding:20px;color:var(--muted);text-align:center}.status{display:inline-flex;align-items:center;border-radius:999px;padding:3px 11px;font-size:12px;font-weight:800;background:#e7f5ec;color:#197a44}.status.pending{background:#fff1d9;color:#a36006}.status.error{background:#fdecec;color:#a32727}.btn{border:0;border-radius:13px;padding:12px 17px;min-height:46px;font-weight:800;background:var(--navy);color:white;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;gap:8px}.btn:hover{filter:brightness(1.08)}.btn:disabled{opacity:.5;cursor:not-allowed}.btn.amber{background:linear-gradient(135deg,#f5b94d,#e48b17);color:#13223e}.btn.green{background:var(--green)}.btn.outline{background:white;color:var(--navy);border:1px solid #9dacc4}.btn.quiet{background:#eef2f8;color:var(--navy)}.btn.full{width:100%}.btn-row{display:flex;flex-wrap:wrap;gap:9px}.field{display:block;margin:0 0 15px;font-weight:700}.field span{display:block;margin-bottom:6px}.field input,.field textarea,.field select,.select{display:block;width:100%;border:1px solid #bac7d9;border-radius:12px;background:white;color:var(--ink);padding:11px 12px;min-height:45px;outline:none}.field input:focus,.field textarea:focus,.field select:focus,.select:focus{border-color:#d18a1d;box-shadow:0 0 0 3px rgba(233,154,37,.18)}.field textarea{min-height:92px;resize:vertical}.grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.grid.three{grid-template-columns:repeat(3,minmax(0,1fr))}.stats strong{display:block;font-size:24px;color:var(--navy)}.stats span{color:var(--muted);font-size:12px}.nav{display:flex;gap:7px;overflow:auto;margin:0 0 16px;padding-bottom:6px;scrollbar-width:thin}.nav button{white-space:nowrap;background:white;border:1px solid var(--line);border-radius:999px;padding:9px 14px;color:var(--navy);font-weight:750}.nav button.active{background:var(--navy);border-color:var(--navy);color:white}.step-list{display:grid;gap:9px}.step{display:flex;align-items:center;justify-content:space-between;gap:8px;background:#f7f9fc;border:1px solid var(--line);border-radius:14px;padding:13px}.step strong{font-size:15px}.step small{display:block;color:var(--muted)}.media-image,.media-video{display:block;width:100%;max-height:330px;object-fit:cover;border-radius:14px;background:#dfe6f1}.media-placeholder{height:160px;border-radius:14px;background:linear-gradient(140deg,#f6ead7,#dfe8f9);display:grid;place-items:center;color:#475a7b;font-weight:700}.media-video{max-height:270px}.price{font-size:32px;font-weight:900;color:#bb6c0e;line-height:1.2}.qr{width:210px;height:210px;max-width:100%;display:block;margin:16px auto;background:white;border:9px solid white;box-shadow:0 0 0 1px var(--line);border-radius:8px}.qr-placeholder{height:210px;width:210px;max-width:100%;margin:15px auto;background:#f4f7fb;border:2px dashed #bcc7d9;border-radius:14px;display:grid;place-items:center;text-align:center;color:var(--muted)}.link-line{word-break:break-all;background:#f5f7fa;border-radius:12px;padding:12px;font-size:13px}.list{display:grid;gap:9px}.list-item{background:#f8fafd;border:1px solid var(--line);border-radius:13px;padding:12px 14px}.list-item strong{display:block}.list-item small{color:var(--muted)}.poster-preview{aspect-ratio:2/3;background:linear-gradient(145deg,#132753,#365c93);border-radius:14px;display:flex;flex-direction:column;justify-content:space-between;padding:18px;color:white;overflow:hidden}.poster-preview img{width:100%;height:60%;object-fit:cover;border-radius:8px}.poster-preview .mini-qr{width:45px;height:45px;background:white;border-radius:4px;margin-left:auto}.poster-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.line-cta{background:#eaf7ef;border-color:#a7d8b7}.notice{padding:12px 14px;border-radius:12px;background:#e9f2fc;border:1px solid #b9d1ed;color:#1b4b81;margin-bottom:14px}.warning{background:#fff5e6;border-color:#f1ce8d;color:#885000}.errorbox{background:#ffeded;border-color:#f1b5b5;color:#a32727}.tag{display:inline-block;border-radius:999px;background:var(--amber2);color:#955507;padding:4px 10px;font-size:12px;font-weight:800}.toast{position:fixed;left:50%;bottom:20px;transform:translateX(-50%);background:#102246;color:white;padding:11px 17px;border-radius:12px;box-shadow:0 10px 30px #0003;max-width:min(90vw,500px);display:none;z-index:99}.toast.show{display:block}.section-head{display:flex;align-items:center;justify-content:space-between;gap:12px;margin:20px 0 12px}.section-head h2{margin:0;font-size:22px}.danger{color:var(--red)}.loading{padding:40px;text-align:center;color:var(--muted)}.divider{height:1px;background:var(--line);margin:18px 0}.footer-note{font-size:12px;color:var(--muted);margin-top:25px;text-align:center}
@media(min-width:760px){.hero{padding:32px}.app-shell{padding-top:26px}.desktop-two{display:grid;grid-template-columns:1.2fr .8fr;gap:15px}.desktop-two>.card{margin-bottom:0}}
@media(max-width:620px){.grid,.grid.three{grid-template-columns:1fr}.poster-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.card{padding:17px}.hero h1{font-size:25px}.app-shell{padding:14px 12px 75px}.header-inner{padding:12px}.price{font-size:29px}}
.member-page .header-inner,.member-page .app-shell{max-width:430px}
.member-page .app-shell{padding:14px 12px 75px}
.member-page .header-inner{padding:12px}
.member-page .hero{padding:25px 22px}
.member-page .hero h1{font-size:25px}
.member-page .card{padding:17px}
.member-page .grid,.member-page .grid.three{grid-template-columns:1fr}
.member-page .desktop-two{display:block}
.member-page .price{font-size:29px}
.member-page .verify-card{margin-top:24px;text-align:center;padding:25px 20px 30px}
.member-page .verify-card h1{font-size:24px;line-height:1.3;margin:8px 0}
.member-page .verify-art{display:block;width:170px;height:140px;margin:16px auto}
.member-page .verify-steps{text-align:left;display:grid;gap:18px;margin-top:20px}
.member-page .verify-step{color:#8b97a8}
.member-page .verify-step.active{color:#193559;font-weight:800}
.member-page .verify-step.done{color:#2f7852}
.member-page .verify-step-head{display:flex;justify-content:space-between;gap:10px;font-size:13px;margin-bottom:6px}
.member-page .verify-step-head span:last-child{white-space:nowrap;font-size:12px}
.member-page .verify-track{height:8px;border-radius:8px;background:#e7ebef;overflow:hidden}
.member-page .verify-track span{display:block;width:0;height:100%;background:linear-gradient(90deg,#74ab87,#e9b95d);border-radius:8px}
.member-page .verify-step.done .verify-track span{width:100%}
.member-page .verify-step.active .verify-track span{width:90%;animation:verify-loading 1s ease-in-out infinite alternate}
@keyframes verify-loading{from{width:18%}to{width:90%}}
@media(prefers-reduced-motion:reduce){.member-page .verify-step.active .verify-track span{animation:none;width:55%}}
.admin-shell{max-width:1280px}.admin-layout{display:grid;grid-template-columns:220px minmax(0,1fr);gap:22px;align-items:start}.admin-sidebar{position:sticky;top:16px;display:flex;flex-direction:column;max-height:calc(100dvh - 32px);min-height:0;overflow:hidden;background:white;border:1px solid var(--line);border-radius:18px;padding:12px}.admin-nav{min-height:0;overflow-y:auto;overflow-x:hidden;overscroll-behavior:contain;scrollbar-width:thin}.admin-nav-section{display:grid;gap:4px;padding:7px 0;border-top:1px solid var(--line)}.admin-nav-section:first-child{border-top:0;padding-top:0}.admin-nav-label{padding:7px 12px 3px;color:var(--muted);font-size:12px;font-weight:800}.admin-nav-items{display:grid;gap:4px;padding-left:9px}.admin-nav-items[hidden]{display:none}.admin-nav a,.admin-nav button{width:100%;text-align:left;border:0;background:transparent;color:var(--navy);border-radius:10px;padding:10px 12px;font-weight:700}.admin-nav a{text-decoration:none;text-align:center}.admin-nav button.active{background:var(--navy);color:white}.admin-nav button.admin-nav-category{display:flex;align-items:center;justify-content:space-between;background:#edf2f9;font-weight:800}.admin-nav button:focus-visible,.sidebar-toggle:focus-visible{outline:3px solid #d18a1d;outline-offset:2px}.admin-sidebar.collapsed{width:150px}.admin-sidebar.collapsed .admin-nav{display:none}.admin-layout:has(.admin-sidebar.collapsed){grid-template-columns:150px minmax(0,1fr)}.sidebar-toggle{width:100%;margin-bottom:8px;flex:none}.admin-content{min-width:0}.search-row{display:flex;align-items:end;gap:10px}.search-row .field{flex:1}.pager{margin-top:14px}.text-link{border:0;background:none;color:var(--navy2);text-decoration:underline;padding:0}.admin-content .list-item .btn-row{margin-top:10px}
@media(max-width:760px){.admin-layout,.admin-layout:has(.admin-sidebar.collapsed){display:block}.admin-sidebar{position:static;max-height:min(65dvh,500px);margin-bottom:16px}.admin-sidebar.collapsed{width:auto}.admin-content .search-row{display:block}.admin-nav button{min-height:44px}}

.gateway-grid .card{margin-bottom:0;min-width:0}
.member-page .app-shell{padding-bottom:calc(112px + env(safe-area-inset-bottom,0px))}
.member-page .bottom-nav{position:fixed;left:50%;bottom:0;transform:translateX(-50%);width:min(100%,430px);display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:4px;padding:8px 8px calc(8px + env(safe-area-inset-bottom,0px));background:#fff;border:1px solid var(--line);border-bottom:0;border-radius:18px 18px 0 0;box-shadow:0 -8px 24px rgba(20,39,77,.12);z-index:50}
.member-page .bottom-nav button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;min-width:0;min-height:58px;padding:5px 2px;border:0;border-radius:13px;background:transparent;color:#53647c;font-size:11px;font-weight:750;line-height:1.2;white-space:nowrap}
.member-page .bottom-nav button.active{background:#e9f2fc;color:var(--navy)}
.member-page .bottom-nav button:focus-visible,.member-page .back-to-task:focus-visible{outline:3px solid #d18a1d;outline-offset:2px}
.member-page .back-to-task{display:inline-flex;align-items:center;min-height:44px;margin:0 0 13px;padding:8px 12px;border:1px solid var(--line);border-radius:12px;background:#fff;color:var(--navy);font-weight:800}
.dashboard-stage-grid .card{margin-bottom:14px}
.flip-clock{display:flex;align-items:start;gap:8px;flex-wrap:wrap;margin-top:17px}
.flip-unit{display:grid;justify-items:center;gap:5px;min-width:58px;perspective:260px}
.flip-face{position:relative;display:grid;place-items:center;min-width:58px;height:64px;padding:0 7px;border-radius:10px;background:linear-gradient(#1b335d 0 49%,#101f3d 50%);box-shadow:0 4px 0 #09162d,0 10px 18px #14274d25;color:#fff;font-size:30px;font-weight:900;font-variant-numeric:tabular-nums;line-height:1}
.flip-face:after{content:"";position:absolute;top:50%;left:3px;right:3px;border-top:1px solid #ffffff30}
.flip-face.turn{animation:flip-turn .48s cubic-bezier(.2,.7,.25,1)}
.flip-unit small{color:var(--muted);font-weight:800}
.flip-clock-status{align-self:center;color:var(--muted);font-size:12px}
@keyframes flip-turn{0%{transform:rotateX(-75deg);filter:brightness(.65)}55%{transform:rotateX(12deg)}100%{transform:rotateX(0);filter:brightness(1)}}
.member-table-wrap{overflow-x:auto;border:1px solid var(--line);border-radius:13px}
.member-table{width:100%;border-collapse:collapse;min-width:760px;text-align:left}
.member-table th,.member-table td{padding:12px 13px;border-bottom:1px solid var(--line);vertical-align:middle}
.member-table th{background:#eef2f8;color:var(--navy);font-size:13px;white-space:nowrap}
.member-table tbody tr:last-child td{border-bottom:0}
.member-table tbody tr:hover{background:#f7f9fc}
.member-table td:first-child{font-weight:900;white-space:nowrap}
.member-table .member-uid{max-width:240px;overflow-wrap:anywhere;font-size:12px;color:var(--muted)}
.member-table .empty-cell{text-align:center;color:var(--muted)}
.member-table .btn{min-height:38px;padding:7px 11px;white-space:nowrap}
.order-table{min-width:980px}
.order-table td:first-child small{display:block;font-size:11px;font-weight:500;color:var(--muted);overflow-wrap:anywhere;max-width:190px}
.order-table .status{white-space:nowrap}
.order-table .btn-row{flex-wrap:nowrap}
.order-filter{max-width:230px}
.admin-refresh-status{display:flex;align-items:center;gap:8px;min-height:22px;margin:0 0 10px;color:var(--muted);font-size:12px}
.admin-refresh-status.warning{padding:8px 10px;color:#885000}
.member-detail-head{margin-top:18px}
@media(prefers-reduced-motion:reduce){.flip-face.turn{animation:none}}
.dashboard-stats,.dashboard-alerts{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.dashboard-stats>div,.dashboard-alerts>button{min-width:0;padding:15px;border:1px solid var(--line);border-radius:14px;background:#f7f9fc;text-align:left}
.dashboard-stats strong,.dashboard-alerts strong{display:block;color:var(--navy);font-size:27px;line-height:1.2}
.dashboard-stats span,.dashboard-alerts span{display:block;font-weight:750;margin-top:4px}
.dashboard-stats small{display:block;color:var(--muted);font-size:11px}
.dashboard-alerts>button:hover{background:#e9f2fc}
.dashboard-alerts>button:focus-visible,.schedule-edit-row input:focus-visible{outline:3px solid #d18a1d;outline-offset:2px}
.schedule-axis{display:flex;justify-content:space-between;color:var(--muted);font-size:12px;margin:18px 0 3px}
.schedule-edit-row{border:1px solid var(--line);border-radius:15px;padding:16px;margin-bottom:13px;background:#f9fbfe}
.schedule-edit-row>strong{display:block;margin-bottom:11px}
.schedule-bar{height:16px;background:#e2e9f2;border-radius:999px;position:relative;overflow:hidden}
.schedule-bar span{position:absolute;top:0;bottom:0;left:var(--start);right:calc(100% - var(--end));border-radius:999px;background:linear-gradient(90deg,#f1b94b,#244b85)}
.schedule-sliders{display:grid;grid-template-columns:1fr;gap:9px;margin:12px 0 15px}
.schedule-sliders label{font-size:12px;font-weight:750;color:var(--navy)}
.schedule-sliders input{display:block;width:100%;margin-top:3px;accent-color:#244b85;cursor:grab}
.schedule-sliders input:active{cursor:grabbing}
@media(max-width:900px){.dashboard-stats,.dashboard-alerts{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:560px){.dashboard-stage-grid,.dashboard-stats,.dashboard-alerts,.schedule-sliders{grid-template-columns:1fr}}
/* Five-stage editing context in the admin pages. */
.stage-pick{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:9px}
.stage-pick-button{min-width:0;min-height:88px;padding:10px;border:1px solid #bbc9d9;border-radius:14px;background:#f8fafd;color:var(--navy);text-align:left;cursor:pointer}
.stage-pick-button strong,.stage-pick-button span,.stage-pick-button small{display:block;overflow-wrap:anywhere}
.stage-pick-button strong{font-size:14px}.stage-pick-button span{font-size:12px;line-height:1.35}.stage-pick-button small{margin-top:5px;color:var(--muted)}
.stage-pick-button.selected{background:var(--navy);border-color:var(--navy);color:white}
.stage-pick-button.selected small{color:#dce7fa}
.stage-pick-button:disabled{opacity:.42;cursor:not-allowed;background:#e8ebef;color:#586271}
.stage-pick-button:focus-visible{outline:3px solid #d18a1d;outline-offset:2px}
@media(max-width:780px){.stage-pick{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Member-facing posters keep their uploaded aspect ratio and full content. */
.member-page .media-image{height:auto;max-height:none;object-fit:contain}
.member-page .poster-preview{aspect-ratio:auto;display:block;padding:0;background:#f8fafd;color:var(--ink);border:1px solid var(--line)}
.member-page .poster-preview img{display:block;width:100%;height:auto;max-height:none;object-fit:contain;border-radius:13px 13px 0 0}
.member-page .poster-preview>div:last-child{padding:12px}
.member-page .poster-preview small{display:block;color:var(--muted)}

/* Brand artwork replaces the former triangle placeholder in both headers. */
.header-inner .brand-mark{display:block;flex:none;width:38px;height:38px;border-radius:8px;object-fit:contain;background:#000;color:transparent;font-size:0}

/* One full-size promotion poster per swipe; its download action travels with it. */
.member-page .poster-carousel{overflow:hidden}
.member-page .poster-carousel-track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;scroll-behavior:smooth;overscroll-behavior-x:contain;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.member-page .poster-carousel-track::-webkit-scrollbar{display:none}
.member-page .poster-carousel-track:focus-visible{outline:3px solid #d18a1d;outline-offset:-3px;border-radius:12px}
.member-page .poster-slide{flex:0 0 100%;min-width:0;scroll-snap-align:start;padding:0 1px 4px}
.member-page .poster-slide-image{display:block;width:100%;height:auto;max-height:none;object-fit:contain;background:#f8fafd;border:1px solid var(--line);border-radius:12px;box-shadow:0 7px 18px rgba(16,34,70,.12)}
.member-page .poster-slide-info{padding:12px 2px 9px}
.member-page .poster-slide-info strong,.member-page .poster-slide-info small{display:block}
.member-page .poster-slide-info small{color:var(--muted)}
.member-page .poster-carousel-controls{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:12px}
.member-page .poster-carousel-controls button{min-width:52px}
.member-page .poster-carousel-controls span{font-weight:800;color:var(--navy)}
@media(prefers-reduced-motion:reduce){.member-page .poster-carousel-track{scroll-behavior:auto}}

/* Admin poster editor: the QR overlay uses the same relative coordinates as the download. */
.poster-admin-list{display:grid;gap:12px}
.poster-admin-item{display:grid;grid-template-columns:82px minmax(0,1fr) auto;align-items:center;gap:14px;padding:12px;border:1px solid var(--line);border-radius:14px;background:#f8fafd}
.poster-admin-thumb{width:82px;height:112px;display:grid;place-items:center;border-radius:9px;overflow:hidden;background:#e9eef7;color:var(--muted);text-align:center;font-size:12px}
.poster-admin-thumb img{width:100%;height:100%;object-fit:contain}
.poster-admin-info{min-width:0}
.poster-admin-info strong,.poster-admin-info small{display:block;overflow-wrap:anywhere}
.poster-admin-info small{color:var(--muted)}
.poster-admin-item .btn.danger{color:var(--red);border-color:#e3b3b3}
.poster-admin-item .poster-edit-form{grid-column:1/-1;border-top:1px solid var(--line);padding-top:16px}
@media(max-width:700px){.poster-admin-item{grid-template-columns:70px minmax(0,1fr)}.poster-admin-thumb{width:70px;height:96px}.poster-admin-item>.btn-row{grid-column:1/-1}}
.poster-editor{display:grid;grid-template-columns:minmax(0,1fr) minmax(230px,320px);gap:24px;align-items:start}
.poster-editor-fields{min-width:0}
.poster-qr-controls{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.poster-preview-wrap{min-width:0}
.poster-preview-wrap>strong{display:block;margin-bottom:8px}
.poster-preview-wrap>small{display:block;margin-top:8px}
.poster-canvas{position:relative;width:100%;overflow:hidden;border-radius:10px;background:#172c51;box-shadow:0 0 0 1px #c6d1e0}
.poster-source{display:block;width:100%;height:auto}
.poster-source-empty{aspect-ratio:1080/1600;display:flex;flex-direction:column;justify-content:space-between;padding:12%;color:white;background:linear-gradient(140deg,#132751,#345a96)}
.poster-source-empty strong{font-size:20px;overflow-wrap:anywhere}.poster-source-empty span{color:#ffd18a}
.poster-qr-marker{position:absolute;left:var(--qr-x);top:var(--qr-y);width:var(--qr-size);aspect-ratio:1;cursor:grab;touch-action:none;background:white;box-shadow:0 1px 8px #0008;user-select:none}
.poster-qr-marker:active{cursor:grabbing}.poster-qr-marker svg{display:block;width:100%;height:100%}
@media(max-width:800px){.poster-editor{grid-template-columns:1fr}.poster-preview-wrap{max-width:320px}}

/* Activity gallery: compact horizontal editing, full vertical reading. */
.gallery-strip{display:flex;gap:12px;overflow-x:auto;max-width:100%;padding:8px 2px 14px;scroll-snap-type:x proximity}
.gallery-item{flex:0 0 132px;min-width:0;padding:7px;border:1px solid var(--line);border-radius:12px;background:#f8fafd;cursor:grab;scroll-snap-align:start}
.gallery-item.dragging{opacity:.45;cursor:grabbing}
.gallery-thumb{height:158px;display:flex;align-items:center;justify-content:center;background:#edf2f8;border-radius:8px;overflow:hidden}
.gallery-thumb img{display:block;width:100%;height:100%;object-fit:contain}
.gallery-item-actions{display:flex;align-items:center;justify-content:space-between;gap:3px;margin-top:6px}
.gallery-number{font-weight:800;color:var(--navy);padding-left:4px}
.gallery-move{min-width:30px;padding:4px!important;line-height:1.2}
.gallery-delete{display:block;width:100%;margin-top:5px;padding:5px;border:1px solid #d7a9a9;border-radius:7px;background:#fff7f7;color:#9a2626;font-weight:750;cursor:pointer}
.gallery-delete:hover{background:#ffe9e9}
.gallery-delete:focus-visible{outline:3px solid #d18a1d;outline-offset:2px}
#save-image-order{margin:4px 0 18px}
.sales-images{display:flex;flex-direction:column;gap:12px}
.sales-images .media-image{display:block;width:100%;height:auto;max-height:none;object-fit:contain}
