/* Muze Photo Notes 0.32.10 — anchored, consent-first framed photo memories. */
.muze-profile-widget[data-widget-type="polaroid-board"]{border-color:rgba(100,222,211,.2);background:linear-gradient(150deg,rgba(17,27,40,.98),rgba(8,13,21,.98));box-shadow:0 16px 40px rgba(0,0,0,.3),inset 0 1px rgba(255,255,255,.035)}
.muze-profile-widget[data-widget-type="polaroid-board"]>.muze-profile-widget__header{margin-bottom:10px}.muze-profile-widget[data-widget-type="polaroid-board"]>.muze-profile-widget__header>span{border-color:rgba(95,221,210,.3);background:linear-gradient(145deg,rgba(33,108,111,.38),rgba(60,70,119,.44));box-shadow:0 7px 20px rgba(0,0,0,.18)}
.muze-polaroids{--mp-line:rgba(150,178,207,.2);--mp-muted:#91a2b8;position:relative;isolation:isolate;color:#eef7ff;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}.muze-polaroids *{box-sizing:border-box}.muze-polaroids button,.muze-polaroids input,.muze-polaroids select{font:inherit}.muze-polaroids button{cursor:pointer}.muze-polaroids svg{width:17px;height:17px;flex:0 0 auto}
.muze-polaroid-head{display:flex;align-items:center;gap:9px;padding:0 0 10px;border-bottom:1px solid rgba(151,174,207,.1)}.muze-polaroid-head__mark{display:grid;place-items:center;width:34px;height:34px;border:1px solid rgba(78,225,208,.32);border-radius:10px;color:#61e6d7;background:linear-gradient(145deg,rgba(55,206,190,.13),rgba(73,91,151,.12));box-shadow:0 7px 18px rgba(0,0,0,.16)}.muze-polaroid-head>div:nth-child(2){display:grid;gap:2px;min-width:0}.muze-polaroid-head p,.muze-polaroid-head strong{margin:0}.muze-polaroid-head p{color:#9badc0;font-size:9px;letter-spacing:.08em;text-transform:uppercase}.muze-polaroid-head strong{font-size:14px}.muze-polaroid-head__actions{display:flex;align-items:center;gap:5px;margin-left:auto}.muze-polaroid-control{display:inline-flex;align-items:center;gap:5px;min-height:30px;padding:5px 8px;border:1px solid rgba(135,183,202,.2);border-radius:8px;background:linear-gradient(145deg,rgba(40,55,70,.8),rgba(20,29,42,.9));box-shadow:0 4px 12px rgba(0,0,0,.16);color:#dff5f5;font-size:9px;font-weight:800}.muze-polaroid-control:hover,.muze-polaroid-control:focus-visible{border-color:#5bded3;background:linear-gradient(145deg,rgba(33,91,97,.82),rgba(35,48,76,.92));outline:none}
.muze-polaroid-tray{display:grid;grid-template-columns:54px minmax(0,1fr) auto;align-items:center;gap:11px;margin-top:10px;padding:10px;border:1px solid rgba(132,185,202,.16);border-radius:13px;background:linear-gradient(150deg,rgba(28,42,57,.9),rgba(12,19,29,.94));box-shadow:0 9px 25px rgba(0,0,0,.2)}.muze-polaroid-tray>div:nth-child(2){display:grid;gap:3px;min-width:0}.muze-polaroid-tray strong{font-size:12px}.muze-polaroid-tray span{color:var(--mp-muted);font-size:10px;line-height:1.35}.muze-polaroid-tray.is-closed{opacity:.72}.muze-polaroid-tray__stack{position:relative;width:48px;height:46px}.muze-polaroid-tray__stack i,.muze-polaroid-tray__stack b{position:absolute;width:35px;height:41px;border:4px solid #eef0eb;border-bottom-width:10px;background:#344050;box-shadow:0 5px 12px rgba(0,0,0,.3)}.muze-polaroid-tray__stack i{left:3px;top:3px;transform:rotate(-8deg)}.muze-polaroid-tray__stack b{left:10px;top:1px;transform:rotate(7deg);background:linear-gradient(145deg,#283747,#111923)}.muze-polaroid-add{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:32px;padding:6px 10px;border:1px solid rgba(82,220,208,.34);border-radius:9px;background:linear-gradient(145deg,rgba(26,91,96,.82),rgba(46,61,97,.9));box-shadow:0 5px 14px rgba(0,0,0,.2);color:#f3fffd!important;font-size:10px;font-weight:800;text-decoration:none!important}.muze-polaroid-add:hover,.muze-polaroid-add:focus-visible{border-color:#70f1e2;transform:translateY(-1px);outline:none}
.muze-polaroid-board-preview{display:flex;align-items:center;justify-content:center;gap:14px;min-height:82px;margin-top:8px;padding:11px;border:1px dashed rgba(142,165,194,.24);border-radius:12px;background:rgba(7,12,20,.28);text-align:left}.muze-polaroid-board-preview>p{max-width:310px;margin:0;color:#8290a4;font-size:10px;line-height:1.5}.muze-polaroid-sample{display:grid;width:58px;height:67px;padding:5px 5px 10px;background:#f6f3eb;box-shadow:0 8px 18px rgba(0,0,0,.36);transform:rotate(-5deg)}.muze-polaroid-sample i{background:linear-gradient(145deg,#28394a,#111923)}.muze-polaroid-sample b{align-self:end;color:#3c3934;font:700 6px/1.1 "Segoe Print",cursive;text-align:center}.muze-polaroid-status{min-height:17px;margin:7px 0 0;color:#69e3d4;font-size:10px}.muze-polaroid-status.is-error{color:#ff8bab}.muze-polaroids.is-busy{cursor:progress}.muze-polaroids.is-busy button{pointer-events:none;opacity:.66}
.muze-polaroid-page-layer{position:absolute;inset:0;z-index:31;pointer-events:none;overflow:visible}.is-polaroid-placing .muze-profile__content-grid{cursor:crosshair;outline:2px dashed rgba(93,233,215,.45);outline-offset:-5px}.muze-polaroid{position:absolute;left:var(--polaroid-x);top:var(--polaroid-y);width:184px;padding:9px 9px 12px;color:#35322e;background:linear-gradient(155deg,#fff,#eeeae1);border:1px solid rgba(50,46,42,.14);box-shadow:0 13px 28px rgba(0,0,0,.38),inset 0 1px #fff;transform:rotate(var(--polaroid-turn));transform-origin:center;pointer-events:auto;transition:transform .16s ease,box-shadow .16s ease}.muze-polaroid.size-small{width:138px}.muze-polaroid.size-large{width:224px}.muze-polaroid:hover,.muze-polaroid:focus-within{z-index:999!important;box-shadow:0 19px 40px rgba(0,0,0,.48);transform:rotate(0) translateY(-2px);outline:none}.muze-polaroid.is-dragging{opacity:.94;cursor:grabbing;transition:none}.muze-polaroid::before{content:"";position:absolute;top:-7px;left:50%;width:48px;height:16px;background:rgba(248,213,92,.88);box-shadow:0 2px 5px rgba(0,0,0,.16);transform:translateX(-50%) rotate(-3deg)}.muze-polaroid__photo{aspect-ratio:1/1;overflow:hidden;background:#1a222c;box-shadow:inset 0 0 0 1px rgba(0,0,0,.18)}.muze-polaroid__photo img{display:block;width:100%;height:100%;object-fit:cover}.muze-polaroid>p{min-height:26px;margin:9px 3px 4px;color:#39342f;font:700 13px/1.22 "Segoe Print","Bradley Hand",cursive;text-align:center;overflow-wrap:anywhere}.muze-polaroid>footer{display:flex;align-items:center;justify-content:space-between;gap:5px;margin:5px 2px 0;color:#706a62;font-size:7px}.muze-polaroid>footer small{display:inline-flex;align-items:center;gap:3px;text-transform:uppercase}.muze-polaroid>footer svg{width:9px;height:9px}.muze-polaroid__tools{position:absolute;top:7px;right:7px;display:flex;flex-wrap:wrap;justify-content:flex-end;gap:3px;max-width:calc(100% - 14px);opacity:0;transition:opacity .15s ease}.muze-polaroid:hover .muze-polaroid__tools,.muze-polaroid:focus-within .muze-polaroid__tools{opacity:1}.muze-polaroid__tools button{min-height:25px;padding:4px 6px;border:1px solid rgba(17,28,38,.22);border-radius:7px;background:rgba(246,249,247,.9);box-shadow:0 4px 10px rgba(0,0,0,.16);color:#25313a;font-size:7px;font-weight:850}.muze-polaroid__tools .muze-polaroid__drag{display:grid;place-items:center;width:27px;padding:0;touch-action:none}.muze-polaroid__drag svg{width:13px;height:13px}
.muze-polaroid-editor,.muze-polaroid-manager{--mp-line:rgba(151,174,207,.22);position:fixed!important;inset:0!important;z-index:999999!important;display:grid;place-items:center;padding:16px;background:rgba(3,7,13,.45);backdrop-filter:blur(8px);color:#eef6ff;font-family:Inter,ui-sans-serif,system-ui,-apple-system,"Segoe UI",sans-serif}.muze-polaroid-editor[hidden],.muze-polaroid-manager[hidden]{display:none!important}.muze-polaroid-editor form,.muze-polaroid-manager>div{width:min(600px,calc(100vw - 26px));max-height:calc(100dvh - 28px);overflow:auto;border:1px solid rgba(91,221,207,.28);border-radius:18px;background:linear-gradient(145deg,#15202e,#0b111b);box-shadow:0 28px 80px rgba(0,0,0,.62);scrollbar-width:thin;scrollbar-color:#4b6076 #0b111b}.muze-polaroid-manager>div{width:min(860px,calc(100vw - 26px))}.muze-polaroid-editor form>header,.muze-polaroid-manager>div>header{display:flex;align-items:center;gap:10px;padding:14px 16px;border-bottom:1px solid var(--mp-line)}.muze-polaroid-editor header>div,.muze-polaroid-manager header>div{display:grid;gap:2px}.muze-polaroid-editor header p,.muze-polaroid-editor header strong,.muze-polaroid-manager header p,.muze-polaroid-manager header strong{margin:0}.muze-polaroid-editor header p,.muze-polaroid-manager header p{color:#72dfd3;font-size:9px;letter-spacing:.12em;text-transform:uppercase}.muze-polaroid-editor header button,.muze-polaroid-manager header button{display:grid;place-items:center;width:31px;min-width:31px;height:31px;margin-left:auto;padding:0;border:1px solid var(--mp-line);border-radius:9px;background:#1b2736;color:#dce7f4}.muze-polaroid-editor__preview{display:grid;width:220px;margin:15px auto;padding:10px 10px 14px;background:linear-gradient(155deg,#fff,#eeeae1);box-shadow:0 18px 42px rgba(0,0,0,.42)}.muze-polaroid-editor__preview>div{display:grid;place-items:center;aspect-ratio:1/1;overflow:hidden;background:linear-gradient(145deg,#263747,#111923);color:#8fa1b4}.muze-polaroid-editor__preview img{width:100%;height:100%;object-fit:cover}.muze-polaroid-editor__preview span svg{width:34px;height:34px}.muze-polaroid-editor__preview>p{min-height:28px;margin:10px 4px 0;color:#37332f;font:700 14px/1.2 "Segoe Print",cursive;text-align:center;overflow-wrap:anywhere}.muze-polaroid-editor form>label,.muze-polaroid-editor form>fieldset{display:grid;gap:7px;margin:11px 16px}.muze-polaroid-editor label>span{display:flex;justify-content:space-between;gap:10px;color:#cbd6e5;font-size:10px}.muze-polaroid-editor label>span b{color:#8292a7;font-size:8px;font-weight:650}.muze-polaroid-editor input[type="text"],.muze-polaroid-editor input[type="file"],.muze-polaroid-manager input,.muze-polaroid-manager select{width:100%;padding:9px;border:1px solid #34445a;border-radius:9px;background:#0b1119;color:#f2f7ff}.muze-polaroid-editor input:focus,.muze-polaroid-manager input:focus,.muze-polaroid-manager select:focus{border-color:#58dfd0;outline:2px solid rgba(88,223,208,.2)}.muze-polaroid-editor fieldset{padding:10px;border:1px solid var(--mp-line);border-radius:10px}.muze-polaroid-editor fieldset legend{padding:0 5px;color:#aebdd0;font-size:9px}.muze-polaroid-editor fieldset label{display:flex;align-items:flex-start;gap:8px;padding:6px}.muze-polaroid-editor fieldset label span{display:grid;gap:2px}.muze-polaroid-editor fieldset small{color:#8696aa;font-size:8px}.muze-polaroid-editor form>footer,.muze-polaroid-manager form>footer{display:flex;justify-content:flex-end;gap:7px;padding:13px 16px;border-top:1px solid var(--mp-line)}.muze-polaroid-button{display:inline-flex;align-items:center;justify-content:center;gap:5px;min-height:32px;padding:6px 10px;border:1px solid #36485e;border-radius:8px;background:#192636;color:#e7f1ff;font-size:9px;font-weight:800}.muze-polaroid-button.is-primary{border-color:rgba(82,228,210,.55);background:linear-gradient(145deg,#1b4c50,#193144);color:#f3fffd}.muze-polaroid-button:hover,.muze-polaroid-button:focus-visible{border-color:#64e8d8;outline:none}
.muze-polaroid-manager nav{display:flex;gap:5px;padding:10px 14px;overflow:auto;border-bottom:1px solid var(--mp-line)}.muze-polaroid-manager nav button,.muze-polaroid-manager__list button{width:auto;min-width:0;min-height:28px;padding:5px 8px;border:1px solid #35455a;border-radius:7px;background:#182535;color:#dce8f8;font-size:8px;font-weight:800}.muze-polaroid-manager nav button[aria-pressed="true"]{border-color:#58dfd0;background:#1a3c43;color:#efffff}.muze-polaroid-manager__list{display:grid;gap:8px;padding:13px 14px}.muze-polaroid-manager__list article{display:grid;grid-template-columns:62px minmax(0,1fr) auto;align-items:center;gap:11px;padding:10px;border:1px solid var(--mp-line);border-radius:11px;background:#111a27}.muze-polaroid-manager__list article>img{width:62px;height:62px;border:5px solid #f5f2e9;border-bottom-width:12px;object-fit:cover;transform:rotate(-2deg)}.muze-polaroid-manager__list article>div:nth-child(2){display:grid;gap:3px;min-width:0}.muze-polaroid-manager__list p,.muze-polaroid-manager__list strong,.muze-polaroid-manager__list small{margin:0}.muze-polaroid-manager__list p{color:#dce5f1;font-size:10px;overflow-wrap:anywhere}.muze-polaroid-manager__list small{color:#8493a7;font-size:8px}.muze-polaroid-manager__list article>div:last-child{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:4px}.muze-polaroid-manager__empty{padding:30px;text-align:center;color:#8d9caf}.muze-polaroid-manager details{margin:10px 14px 14px;border:1px solid var(--mp-line);border-radius:11px;background:#0e1621}.muze-polaroid-manager summary{display:flex;align-items:center;gap:5px;padding:10px;cursor:pointer;font-size:9px;font-weight:800}.muze-polaroid-manager form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px;padding:10px}.muze-polaroid-manager form>label{display:grid;gap:5px;color:#aebbd0;font-size:9px}.muze-polaroid-manager form>input[type="hidden"]{display:none}.muze-polaroid-manager form>footer{grid-column:1/-1;margin:0 -10px -10px}
.muze-polaroids.is-compact .muze-polaroid-head{padding-bottom:6px;border-bottom:0}.muze-polaroids.is-compact .muze-polaroid-head p{display:none}.muze-polaroids.is-compact .muze-polaroid-head__mark{width:30px;height:30px}.muze-polaroids.is-compact .muze-polaroid-tray{grid-template-columns:34px minmax(0,1fr) auto;gap:8px;margin-top:4px;padding:7px 8px}.muze-polaroids.is-compact .muze-polaroid-tray__stack{width:32px;height:30px}.muze-polaroids.is-compact .muze-polaroid-tray__stack i,.muze-polaroids.is-compact .muze-polaroid-tray__stack b{width:24px;height:29px;border-width:3px;border-bottom-width:7px}.muze-polaroids.is-compact .muze-polaroid-tray>div:nth-child(2)>span,.muze-polaroids.is-compact .muze-polaroid-board-preview,.muze-polaroids.is-compact .muze-polaroid-status{display:none}.muze-polaroids.is-compact .muze-polaroid-add{min-height:29px;padding:5px 8px;font-size:9px}
@media(max-width:700px){.muze-polaroid-page-layer{position:relative;inset:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:10px}.muze-polaroid,.muze-polaroid.size-small,.muze-polaroid.size-large{position:relative;left:auto;top:auto;width:100%;transform:rotate(var(--polaroid-turn))}.muze-polaroid__drag{display:none!important}.muze-polaroid-manager__list article{grid-template-columns:54px minmax(0,1fr)}.muze-polaroid-manager__list article>div:last-child{grid-column:1/-1;justify-content:flex-start}.muze-polaroid-manager form{grid-template-columns:1fr}.muze-polaroid-editor,.muze-polaroid-manager{padding:7px}.muze-polaroid-editor form,.muze-polaroid-manager>div{max-height:calc(100dvh - 14px)}}
@media(max-width:520px){.muze-polaroid-head__actions .muze-polaroid-control span{display:none}.muze-polaroid-control{width:30px;padding:0;justify-content:center}.muze-polaroid-tray{grid-template-columns:42px minmax(0,1fr)}.muze-polaroid-add{grid-column:1/-1;width:100%}.muze-polaroids.is-compact .muze-polaroid-tray{grid-template-columns:30px minmax(0,1fr) auto}.muze-polaroids.is-compact .muze-polaroid-add{grid-column:auto;width:auto}.muze-polaroids.is-compact .muze-polaroid-add span{display:none}.muze-polaroid-page-layer{grid-template-columns:1fr}.muze-polaroid-editor__preview{width:190px}}
.muze-polaroid{box-sizing:border-box}
@media(max-width:700px){.muze-polaroid,.muze-polaroid.size-small,.muze-polaroid.size-large{width:calc(100% - 26px);justify-self:center}}
@media(prefers-reduced-motion:reduce){.muze-polaroids *{scroll-behavior:auto!important;transition:none!important;animation:none!important}}

/* 0.34.8 — reliable, visible Photo Note placement choices. */
.muze-photo-note-placement{position:fixed;z-index:1000000;left:50%;bottom:max(18px,env(safe-area-inset-bottom));translate:-50% 0;display:flex;align-items:center;gap:18px;width:min(840px,calc(100vw - 28px));padding:14px 16px;border:1px solid rgba(102,235,219,.42);border-radius:18px;background:linear-gradient(135deg,rgba(14,28,42,.98),rgba(10,16,28,.98));box-shadow:0 24px 70px rgba(0,0,0,.58),inset 0 1px rgba(255,255,255,.06);color:#f3fbff;font-family:Inter,ui-sans-serif,system-ui,sans-serif}.muze-photo-note-placement[hidden]{display:none!important}.muze-photo-note-placement>div:first-child{display:grid;gap:3px;min-width:170px;margin-right:auto}.muze-photo-note-placement strong{font-size:14px}.muze-photo-note-placement span{color:#aab9cb;font-size:11px;line-height:1.35}.muze-photo-note-placement>div:last-child{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:8px}.muze-photo-note-placement button{min-height:42px;padding:9px 13px;border:1px solid rgba(91,227,212,.38);border-radius:11px;background:linear-gradient(145deg,rgba(33,105,105,.76),rgba(31,55,82,.9));color:#f4fffd;font:750 12px/1.2 Inter,ui-sans-serif,system-ui,sans-serif;cursor:pointer}.muze-photo-note-placement button:hover,.muze-photo-note-placement button:focus-visible{border-color:#6aefdf;box-shadow:0 0 0 3px rgba(106,239,223,.14);outline:none}.muze-photo-note-placement button.is-quiet{border-color:rgba(162,178,199,.24);background:rgba(255,255,255,.055);color:#c8d2df}.muze-photo-note-placement button:disabled{cursor:wait;opacity:.55}
@media(max-width:700px){.muze-photo-note-placement{left:10px;right:10px;bottom:max(10px,env(safe-area-inset-bottom));translate:0 0;display:grid;width:auto;gap:11px;padding:12px;border-radius:15px}.muze-photo-note-placement>div:first-child{margin:0}.muze-photo-note-placement>div:last-child{display:grid;grid-template-columns:repeat(2,minmax(0,1fr))}.muze-photo-note-placement button{width:100%;min-height:46px;padding-inline:9px}}
@media(max-width:420px){.muze-photo-note-placement span{display:none}.muze-photo-note-placement button{font-size:11px}}

/* Feedback remains visible while compact, composing, and choosing a position. */
.muze-polaroids.is-compact .muze-polaroid-status:not(:empty){display:block;padding:9px 10px;border:1px solid rgba(102,235,219,.24);border-radius:9px;background:rgba(20,68,66,.28);color:#b7fff1;font:600 12px/1.45 Inter,ui-sans-serif,system-ui,sans-serif}
.muze-photo-note-feedback{margin:0;color:#b7fff1;font:600 12px/1.45 Inter,ui-sans-serif,system-ui,sans-serif;overflow-wrap:anywhere}
.muze-photo-note-feedback:empty{display:none}
.muze-polaroid-editor form>.muze-photo-note-feedback{margin:12px 16px;padding:10px 12px;border:1px solid rgba(102,235,219,.25);border-radius:10px;background:rgba(20,68,66,.25)}
.muze-polaroids.is-compact .muze-polaroid-status.is-error,.muze-photo-note-feedback.is-error{color:#ffc3d3;border-color:rgba(255,139,171,.4)}
.muze-photo-note-placement{box-sizing:border-box;max-height:calc(100dvh - 20px);overflow-y:auto}
.is-polaroid-placing .muze-profile__content-grid::before{display:none!important}
.muze-photo-note-unavailable{display:grid;place-items:center;width:62px;min-height:62px;padding:6px;border:1px dashed #5b6e86;border-radius:8px;background:#172232;color:#c1cede;text-align:center;font:600 10px/1.3 Inter,system-ui,sans-serif}
.muze-polaroid-manager__list .muze-photo-note-availability{color:#edcfa7;font-size:10px;line-height:1.4}

/* 0.32.10 — write first, semantic placement, clean frames and widget-based controls. */
.muze-photo-note-anchor-host{position:relative;isolation:isolate}.muze-profile__sidebar.muze-photo-note-anchor-host{position:sticky}.muze-polaroid-page-layer[data-photo-note-anchor]{position:absolute;inset:0;display:block;margin:0;overflow:visible;pointer-events:none}.is-polaroid-placing .muze-profile__content-grid{cursor:crosshair;outline:2px dashed rgba(93,233,215,.55);outline-offset:5px}.is-polaroid-placing .muze-profile__content-grid::before{content:"Tap once to place and save your Photo Note";position:fixed;z-index:100000;left:50%;bottom:22px;translate:-50% 0;max-width:min(560px,calc(100vw - 28px));padding:10px 14px;border:1px solid rgba(102,235,219,.45);border-radius:999px;background:rgba(8,17,27,.94);box-shadow:0 16px 40px rgba(0,0,0,.42);color:#eafffc;font:750 11px/1.35 Inter,ui-sans-serif,system-ui,sans-serif;text-align:center;pointer-events:none}
.muze-polaroid.is-selected{box-shadow:0 0 0 3px rgba(89,225,211,.75),0 19px 42px rgba(0,0,0,.52)}.muze-polaroid__tools{opacity:1;top:6px;right:6px}.muze-polaroid__tools button:not(.muze-polaroid__drag){display:none!important}.muze-polaroid__drag{border-color:rgba(20,34,40,.3)!important;background:rgba(248,251,248,.9)!important;color:#26343b!important}
.muze-photo-note-tools{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;gap:12px;margin-top:9px;padding:11px 12px;border:1px solid rgba(100,226,211,.18);border-radius:12px;background:linear-gradient(145deg,rgba(24,37,51,.9),rgba(10,17,26,.94));box-shadow:0 10px 24px rgba(0,0,0,.18)}.muze-photo-note-tools[hidden]{display:none!important}.muze-photo-note-tools>div:first-child{display:grid;gap:2px;min-width:0}.muze-photo-note-tools p,.muze-photo-note-tools strong,.muze-photo-note-tools span{margin:0}.muze-photo-note-tools p{color:#62ddcf;font-size:8px;font-weight:850;letter-spacing:.12em;text-transform:uppercase}.muze-photo-note-tools strong{font-size:11px}.muze-photo-note-tools span{color:#8fa0b4;font-size:9px}.muze-photo-note-tools>div:last-child{display:flex;flex-wrap:wrap;justify-content:flex-end;gap:5px}.muze-photo-note-tools button{width:auto!important;min-width:0!important;min-height:28px!important;padding:5px 8px!important;border:1px solid #35485c!important;border-radius:8px!important;background:#182638!important;box-shadow:none!important;color:#deebf7!important;font:800 9px/1 Inter,ui-sans-serif,system-ui,sans-serif!important}.muze-photo-note-tools button:hover,.muze-photo-note-tools button:focus-visible{border-color:#62dfd0!important;background:#203649!important;outline:none!important}
@media(max-width:700px){.muze-profile__sidebar.muze-photo-note-anchor-host{position:relative}.muze-polaroid-page-layer,.muze-polaroid-page-layer[data-photo-note-anchor]{position:absolute;inset:0;display:block;margin:0;overflow:visible}.muze-polaroid,.muze-polaroid.size-small,.muze-polaroid.size-large{position:absolute;left:var(--polaroid-x);top:var(--polaroid-y);width:clamp(126px,40vw,174px);transform:rotate(var(--polaroid-turn))}.muze-polaroid__drag{display:grid!important}.muze-photo-note-tools{grid-template-columns:1fr}.muze-photo-note-tools>div:last-child{justify-content:flex-start}.is-polaroid-placing .muze-profile__content-grid::before{bottom:12px;border-radius:13px}}
.muze-photo-style-picker{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:7px}.muze-photo-style-picker label{display:grid!important;place-items:center;padding:9px 6px!important;border:1px solid rgba(140,169,201,.22);border-radius:10px;background:#111b28;color:#dce8f5;font-weight:750;cursor:pointer}.muze-photo-style-picker input{position:absolute;opacity:0;pointer-events:none}.muze-photo-style-picker label:has(input:checked){border-color:#5be3d4;box-shadow:0 0 0 2px rgba(91,227,212,.14)}.muze-polaroid.photo-style-classic::before,.muze-polaroid-editor__preview[data-photo-style="classic"]::before{display:none}.muze-polaroid.photo-style-pin::before,.muze-polaroid-editor__preview[data-photo-style="pin"]::before{left:50%;top:-7px;width:14px;height:14px;border-radius:50%;background:radial-gradient(circle at 35% 30%,#ffe3ed 0 20%,#e92869 26% 62%,#7d1036 67%);transform:translateX(-50%);box-shadow:0 4px 5px rgba(55,18,29,.38)}.muze-polaroid.photo-style-film,.muze-polaroid-editor__preview[data-photo-style="film"]{padding:12px 12px 18px;background:#151515;color:#f4f4f4;border-color:#353535}.muze-polaroid.photo-style-film>p,.muze-polaroid-editor__preview[data-photo-style="film"]>p{color:#f4f4f4}.muze-polaroid.photo-style-film::before,.muze-polaroid-editor__preview[data-photo-style="film"]::before{display:none}.muze-profile-widget[data-widget-type="polaroid-board"]{min-height:0}.muze-profile-widget[data-widget-type="polaroid-board"] .muze-profile-widget__body{padding-bottom:4px}@media(max-width:520px){.muze-photo-style-picker{grid-template-columns:repeat(2,minmax(0,1fr))}}

/* Mobile movement belongs in the paper frame, leaving the entire photo visible. */
.muze-polaroid__drag>span{display:none}
@media(max-width:700px),(pointer:coarse){
  .muze-polaroid.has-move-control>footer{min-height:44px;padding-right:46px;flex-wrap:wrap;align-content:center;gap:3px;overflow-wrap:anywhere}
  .muze-polaroid.has-move-control>footer>span{min-width:0;max-width:100%}
  .muze-polaroid.has-move-control .muze-polaroid__tools{top:auto!important;right:9px!important;bottom:12px;max-width:44px;gap:0}
  .muze-polaroid__tools .muze-polaroid__drag{position:relative;display:grid!important;place-items:center!important;width:44px!important;min-width:44px!important;max-width:44px!important;height:44px!important;min-height:44px!important;margin:0!important;padding:0!important;border:0!important;border-radius:12px!important;background:transparent!important;box-shadow:none!important;color:#35424a!important;line-height:1!important;touch-action:none!important;-webkit-user-select:none!important;user-select:none!important;cursor:grab}
  .muze-polaroid__drag::before{content:"";position:absolute;inset:7px;border:1px solid rgba(45,64,71,.2);border-radius:9px;background:linear-gradient(145deg,#fff,#e7eae5);box-shadow:0 2px 5px rgba(31,45,51,.1),inset 0 1px rgba(255,255,255,.8);transition:background .16s ease,box-shadow .16s ease}
  .muze-polaroid__drag svg{position:relative;z-index:1;width:15px!important;height:15px!important;min-width:15px!important;max-width:15px!important;flex:0 0 15px}
  .muze-polaroid__drag>span{display:none!important}
  .muze-polaroid__drag:hover::before,.muze-polaroid__drag:focus-visible::before{border-color:#3d948b;background:linear-gradient(145deg,#f5fffc,#c9e9e2);box-shadow:0 0 0 2px rgba(61,148,139,.17)}
  .muze-polaroid__drag:focus-visible{outline:2px solid #287e75!important;outline-offset:-3px}
  .muze-polaroid.photo-style-film .muze-polaroid__drag{color:#d5eee9!important}
  .muze-polaroid.photo-style-film .muze-polaroid__drag::before{border-color:rgba(151,202,192,.32);background:linear-gradient(145deg,#33433f,#202c2b);box-shadow:0 2px 5px rgba(0,0,0,.2)}
  .muze-polaroid.is-dragging{will-change:left,top;transition:none!important}
  .muze-polaroid.is-dragging .muze-polaroid__drag{cursor:grabbing}
}

/* Keep saved notes and their Move controls inside narrow profile columns. */
.muze-polaroid-page-layer>.muze-polaroid,.muze-polaroid-page-layer>.muze-polaroid:hover,.muze-polaroid-page-layer>.muze-polaroid:focus-within{box-sizing:border-box;transform:rotate(var(--profile-note-fit-turn,var(--polaroid-turn)));transition:box-shadow .16s ease}
.muze-polaroid-page-layer>.muze-polaroid.is-local-preview{outline:2px dashed #73dcd1;outline-offset:3px;pointer-events:none}
.muze-polaroid-page-layer>.muze-polaroid.is-pending-marker{pointer-events:none;border-color:rgba(99,205,197,.48);background:linear-gradient(155deg,#f8fffd,#e2edeb)}
.muze-polaroid__photo--review{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:14px;border:1px dashed rgba(48,139,132,.5);border-radius:8px;background:radial-gradient(circle at 25% 15%,rgba(93,218,203,.22),transparent 55%),linear-gradient(145deg,#d6ece9,#bad9d6);color:#21564f;text-align:center}
.muze-polaroid__photo--review span{font-size:32px;line-height:1}.muze-polaroid__photo--review strong{font:750 12px/1.35 Inter,ui-sans-serif,system-ui,sans-serif}
.is-polaroid-placing .muze-profile__content-grid::before{content:"Tap where your Photo Note goes"}

/* One tap commits the spot; review-held cards remain removable without exposing media. */
.is-polaroid-placing .muze-profile__content-grid{outline:none!important;cursor:crosshair}
.muze-polaroid-page-layer>.muze-polaroid.is-local-preview{outline:none;box-shadow:0 16px 38px rgba(0,0,0,.43),0 0 0 2px rgba(111,229,210,.38);pointer-events:none}
.muze-polaroid-page-layer>.muze-polaroid.is-pending-marker{pointer-events:auto;border:1px solid rgba(81,158,151,.38);box-shadow:0 16px 38px rgba(0,0,0,.38),inset 0 1px rgba(255,255,255,.78)}

/* Keep the move affordance discoverable on desktop and usable by touch. */
.muze-polaroid.has-move-control .muze-polaroid__tools{opacity:1;z-index:4}
.muze-polaroid.has-move-control .muze-polaroid__drag{display:inline-flex;align-items:center;justify-content:center;gap:4px;width:auto;min-width:46px;height:30px;padding:0 7px;border:1px solid rgba(25,43,47,.32);border-radius:9px;background:linear-gradient(145deg,rgba(250,255,253,.96),rgba(216,239,233,.93));box-shadow:0 5px 14px rgba(0,0,0,.2);color:#16363a;font:800 9px/1 Inter,ui-sans-serif,system-ui,sans-serif;cursor:grab;touch-action:none;user-select:none}
.muze-polaroid.has-move-control .muze-polaroid__drag:active,.muze-polaroid__pending-move:active{cursor:grabbing}
.muze-polaroid__pending-move{cursor:grab;touch-action:none;user-select:none}
@media(pointer:coarse){.muze-polaroid.has-move-control .muze-polaroid__drag,.muze-polaroid__pending-move{min-width:44px;min-height:44px}}
.muze-polaroid__photo--review{border:0;background:radial-gradient(circle at 24% 17%,rgba(93,218,203,.22),transparent 54%),linear-gradient(145deg,#d4e9e5,#bedad7)}
.muze-polaroid__pending-remove{display:block;width:100%;min-height:38px;margin-top:8px;border:1px solid rgba(38,108,104,.35);border-radius:9px;background:linear-gradient(145deg,#e8f3ef,#cadfda);color:#234e4a;font:800 11px/1 Inter,ui-sans-serif,system-ui,sans-serif;cursor:pointer}
.muze-polaroid__pending-remove:hover,.muze-polaroid__pending-remove:focus-visible{border-color:#338d83;background:linear-gradient(145deg,#f4fffb,#d9eee7);outline:2px solid rgba(51,141,131,.24);outline-offset:2px}

/* A Photo Note is allowed to cross the edge of its post without being cropped. */
.muze-profile__post.muze-photo-note-anchor-host{overflow:visible;isolation:auto;z-index:2}
.muze-profile__post.muze-photo-note-anchor-host:focus-within,.muze-profile__post.muze-photo-note-anchor-host:has(.muze-polaroid.is-dragging){z-index:8}
.muze-polaroid__pending-actions{display:flex;align-items:center;gap:7px;margin-top:8px}
.muze-polaroid__pending-actions .muze-polaroid__pending-remove{flex:1;min-width:0;min-height:44px;margin:0}
.muze-polaroid__pending-move{display:grid;place-items:center;flex:0 0 44px;width:44px;height:44px;padding:0;border:1px solid rgba(38,108,104,.44);border-radius:10px;background:linear-gradient(145deg,#f7fffc,#cae4dd);box-shadow:inset 0 1px #fff,0 3px 9px rgba(31,86,79,.15);color:#245950;cursor:grab;touch-action:none;-webkit-user-select:none;user-select:none}
.muze-polaroid__pending-move svg{width:19px;height:19px}
.muze-polaroid__pending-move:hover,.muze-polaroid__pending-move:focus-visible{border-color:#338d83;background:linear-gradient(145deg,#fff,#d8f1e8);outline:2px solid rgba(51,141,131,.24);outline-offset:2px}
.muze-polaroid.is-dragging .muze-polaroid__pending-move{cursor:grabbing}

/* Dialogs live outside the widget: contain their icons and retain usable touch targets. */
.muze-polaroid-editor *,.muze-polaroid-manager *{box-sizing:border-box}
.muze-polaroid-editor header button svg,.muze-polaroid-manager header button svg,
.muze-polaroid-manager summary svg,.muze-polaroid-button svg{width:18px!important;height:18px!important;min-width:18px;max-width:18px;flex:0 0 18px}
.muze-polaroid-manager summary{font-size:12px;min-height:44px}
.muze-polaroid-manager nav button,.muze-polaroid-manager__list button{min-height:36px!important;font-size:11px!important;border:1px solid #405269!important;background:#1b293c!important;color:#e5eefb!important}
.muze-polaroid-manager nav button[aria-pressed="true"]{border-color:#58dfd0!important;background:#1a454a!important;color:#efffff!important}
.muze-polaroid-manager__list button:focus-visible,.muze-polaroid-manager nav button:focus-visible{outline:2px solid #64e8d8;outline-offset:2px}
.muze-polaroid-manager__list p{font-size:12px}
.muze-polaroid-manager__list small{font-size:10px;line-height:1.4}
@media(max-width:700px){.muze-polaroid-manager nav button,.muze-polaroid-manager__list button{min-height:44px!important}.muze-polaroid-manager__list article>div:last-child{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));width:100%}.muze-polaroid-manager header button,.muze-polaroid-editor header button{min-width:44px;min-height:44px}}

/* Keep Photo Note controls quiet within the paper frame, with room to tap. */
.muze-polaroid__pending-actions{gap:4px;margin-top:5px}
.muze-polaroid__pending-actions .muze-polaroid__pending-move{flex:0 0 32px;width:32px;height:32px;min-width:32px;min-height:32px;border-radius:8px}
.muze-polaroid__pending-actions .muze-polaroid__pending-move svg{width:15px;height:15px}
.muze-polaroid__pending-actions .muze-polaroid__pending-remove{flex:0 0 auto;width:auto;min-width:0;min-height:32px;padding:0 9px;border-radius:8px;font-size:9px}
.muze-polaroid.has-move-control .muze-polaroid__drag{width:30px;min-width:30px;height:30px;padding:0}
.muze-polaroid__pending-actions button:focus-visible,.muze-polaroid.has-move-control .muze-polaroid__drag:focus-visible{outline:2px solid #287e75;outline-offset:2px}
@media(max-width:700px),(pointer:coarse){
  .muze-polaroid.has-move-control>footer{min-height:36px;padding-right:36px}
  .muze-polaroid.has-move-control .muze-polaroid__tools{right:6px!important;bottom:7px;max-width:36px}
  .muze-polaroid__tools .muze-polaroid__drag{width:36px!important;min-width:36px!important;max-width:36px!important;height:36px!important;min-height:36px!important}
  .muze-polaroid__drag::before{inset:4px}
  .muze-polaroid__pending-actions .muze-polaroid__pending-move{flex-basis:36px;width:36px;min-width:36px;min-height:36px;height:36px}
  .muze-polaroid__pending-actions .muze-polaroid__pending-remove{min-height:36px}
}

/* A quiet, accessible options menu stays on the Photo Note itself. */
.muze-polaroid.has-report-menu > footer{padding-right:74px}
.muze-polaroid.has-report-menu .muze-polaroid__tools{max-width:76px;gap:4px;align-items:center;flex-wrap:nowrap}
.muze-polaroid__tools .muze-polaroid__menu-toggle{display:grid!important;place-items:center;width:32px;min-width:32px;height:32px;min-height:32px;padding:0;border:1px solid rgba(25,43,47,.32);border-radius:9px;background:linear-gradient(145deg,rgba(250,255,253,.97),rgba(216,239,233,.94));box-shadow:0 5px 14px rgba(0,0,0,.2);color:#16363a;cursor:pointer}
.muze-polaroid__menu-toggle svg{width:18px;height:18px}
.muze-polaroid__tools .muze-polaroid__menu-toggle:hover,.muze-polaroid__tools .muze-polaroid__menu-toggle[aria-expanded="true"]{border-color:#3d948b;background:linear-gradient(145deg,#f5fffc,#c9e9e2)}
.muze-polaroid__tools .muze-polaroid__menu-toggle:focus-visible,.muze-polaroid__menu button:focus-visible{outline:2px solid #287e75;outline-offset:2px}
.muze-polaroid__menu[hidden]{display:none!important}
.muze-polaroid__menu{position:absolute;right:0;bottom:calc(100% + 8px);z-index:5;width:max-content;min-width:160px;padding:5px;border:1px solid rgba(29,61,62,.24);border-radius:11px;background:#fffdfa;box-shadow:0 14px 32px rgba(11,28,31,.32),inset 0 1px #fff}
.muze-polaroid__tools .muze-polaroid__menu button{display:block!important;width:100%;min-height:40px;padding:9px 11px;border:0;border-radius:7px;background:transparent;box-shadow:none;color:#25433f;font:750 11px/1.25 Inter,ui-sans-serif,system-ui,sans-serif;text-align:left;white-space:nowrap;cursor:pointer}
.muze-polaroid__menu button:hover{background:#e7f4ef}
@media(max-width:700px),(pointer:coarse){
  .muze-polaroid.has-report-menu > footer{padding-right:78px}
  .muze-polaroid.has-report-menu .muze-polaroid__tools{max-width:78px!important}
  .muze-polaroid__tools .muze-polaroid__menu-toggle{width:36px;min-width:36px;height:36px;min-height:36px}
  .muze-polaroid__tools .muze-polaroid__menu button{min-height:44px}
}
.muze-polaroid-manager__auto-note{grid-column:1/-1;padding:12px 13px;border:1px solid rgba(82,228,210,.26);border-radius:10px;background:linear-gradient(135deg,rgba(32,89,86,.36),rgba(20,41,58,.72));color:#dcf7f2;font:600 12px/1.5 Inter,ui-sans-serif,system-ui,sans-serif}
