.mint-gear{display:block;width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.65;stroke-linecap:round;stroke-linejoin:round;pointer-events:none}
.mint-settings-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;color:inherit;cursor:pointer}

/* This file shares the reading rooms' paper, folded tabs and dark spruce ink. */
.rift-dialog[data-panel="settings"],.rift-dialog[data-panel="profile"]{
  --sheet-ink:#173f33;--sheet-muted:#426454;--sheet-edge:#87aa94;--sheet-paper:#f8faf0;--sheet-jade:#225e49;
  width:min(432px,calc(100% - 30px));padding:0;border:1px solid var(--sheet-edge);border-radius:0 7px 2px 2px;
  background:var(--sheet-paper);color:var(--sheet-ink);box-shadow:0 22px 68px #14392e48,2px 3px 0 #204e3c38;
}
.rift-dialog:is([data-panel="settings"],[data-panel="profile"])::backdrop{background:#143b2e64}
.rift-dialog:is([data-panel="settings"],[data-panel="profile"])>.rift-tab{
  width:auto;min-width:84px;padding:4px 21px 5px 10px;color:#fff9d5;background:var(--sheet-jade);letter-spacing:.12em
}
.rift-dialog:is([data-panel="settings"],[data-panel="profile"]) .rift-inner-dialog{
  padding:0;max-height:calc(100dvh - 76px);border-radius:0 6px 1px 1px;overscroll-behavior:contain;
  background:linear-gradient(145deg,#fdfff6,#f4f8ec 64%,#eaf3e5);
}
.mint-prefs-heading{
  display:flex;align-items:center;gap:14px;position:relative;min-width:0;padding:17px 52px 16px 20px;
  background:linear-gradient(102deg,#e0edda,#eff4df 62%,#f7eab344);border-bottom:1px solid #aac1aa;
}
.mint-prefs-heading::after{
  content:"";position:absolute;inset:0 0 0 52%;pointer-events:none;opacity:.13;
  background:url(/v2/assets/print/engraving.svg) right 45% / 170px auto;
  -webkit-mask-image:linear-gradient(90deg,transparent,#000);mask-image:linear-gradient(90deg,transparent,#000);
}
.mint-prefs-heading>div,.mint-prefs-heading>button{z-index:1}
.mint-portrait-well{
  display:grid;position:relative;place-items:center;flex:none;width:68px;aspect-ratio:1;
  border-radius:50%;overflow:hidden;background:#e3e8e5;
}
.mint-portrait-well .mint-profile-art{display:block;width:100%;height:100%}
.mint-profile-handle{display:block;font:500 11px/1.1 var(--mono);letter-spacing:.04em;color:var(--sheet-muted)}
.rift-dialog .mint-prefs-heading h2{margin:4px 0 0;font:650 clamp(29px,6.4vw,36px)/1 var(--display);letter-spacing:-.05em;outline:none}
.mint-sheet-close{
  position:absolute;top:12px;right:12px;display:grid;place-items:center;width:34px;height:34px;
  border:1px solid #96b29d;background:#faffefbc;color:var(--sheet-ink);border-radius:3px;font:400 25px/.8 var(--display);
}
.mint-sheet-close:is(:hover,:focus-visible){background:#fff1ae}
.mint-prefs-content{padding:14px 20px 8px}
.mint-pref-group{min-width:0;margin:0 0 13px;padding:0;border:0}
.mint-pref-group legend{
  display:table;margin:0 0 4px;padding:3px 13px 3px 7px;color:#f6ffe9;background:var(--sheet-jade);
  clip-path:polygon(0 0,calc(100% - 7px) 0,100% 7px,100% 100%,0 100%);
  font:600 10.5px/1.15 var(--mono);letter-spacing:.10em;text-transform:uppercase
}
.mint-pref-toggle{
  display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:47px;border-bottom:1px solid #bacdb9;
  cursor:pointer;font:550 15px/1.2 var(--display)
}
.mint-pref-toggle-end{display:inline-flex;align-items:center;gap:9px}
.mint-pref-value,.mint-pref-volume output{font:550 12px/1 var(--mono);font-variant-numeric:tabular-nums;color:var(--sheet-jade)}
.mint-switch{position:relative;display:block;width:38px;height:23px}
.mint-switch input{position:absolute;inset:0;width:100%;height:100%;opacity:0;margin:0;cursor:pointer}
.mint-switch i{
  display:block;width:100%;height:100%;pointer-events:none;border:1px solid #7a9985;border-radius:14px;
  background:#e4ecdd;box-shadow:inset 0 1px 2px #527c5d26;transition:background .14s ease;
}
.mint-switch i::before{content:"";position:absolute;top:4px;left:4px;width:15px;height:15px;border-radius:50%;background:#76917c;transition:transform .18s var(--ease),background .18s}
.mint-switch input:checked+i{background:#277354;border-color:#1c5b43}
.mint-switch input:checked+i::before{background:#effbdc;transform:translateX(15px);box-shadow:inset 0 1px #fff,0 1px 2px #08321c80}
.mint-switch input:focus-visible+i,.mint-motion-choices input:focus-visible+span{outline:2px solid #1e644b;outline-offset:3px}
.mint-pref-volume{margin-top:12px}
.mint-pref-volume>div{display:flex;align-items:center;justify-content:space-between;gap:12px}
.mint-pref-volume label{font:550 15px/1.2 var(--display)}
.mint-pref-volume input{
  --level:100%;display:block;appearance:none;-webkit-appearance:none;width:100%;margin:3px 0 0;height:26px;border:0;border-radius:0;
  background:transparent;accent-color:var(--sheet-jade);cursor:pointer;
}
.mint-pref-volume input::-webkit-slider-runnable-track{height:5px;border-radius:3px;background:linear-gradient(to right,#2a7456 0 var(--level),#d4e0ce var(--level) 100%)}
.mint-pref-volume input::-moz-range-track{height:5px;border-radius:3px;background:#d4e0ce}
.mint-pref-volume input::-moz-range-progress{height:5px;border-radius:3px;background:#2a7456}
.mint-pref-volume input::-webkit-slider-thumb{appearance:none;-webkit-appearance:none;width:17px;height:17px;margin-top:-6px;border:2px solid #28664d;border-radius:5px;background:#f4e08a;box-shadow:inset 0 1px #fff7ce,0 1px 0 #547d5d60}
.mint-pref-volume input::-moz-range-thumb{width:14px;height:14px;border:2px solid #28664d;border-radius:5px;background:#f4e08a}
.mint-pref-volume input:focus-visible{outline:none}
.mint-pref-volume input:focus-visible::-webkit-slider-thumb{outline:2px solid #295c47;outline-offset:3px}
.mint-pref-volume input:focus-visible::-moz-range-thumb{outline:2px solid #295c47;outline-offset:3px}
.mint-motion-choices{
  display:grid;grid-template-columns:1fr 1fr;gap:3px;margin-top:9px;padding:3px;
  border:1px solid #a4bca7;border-radius:5px;background:#e4eddd;
}
.mint-motion-choices label{position:relative;text-align:center}
.mint-motion-choices input{position:absolute;inset:0;width:100%;height:100%;margin:0;opacity:0;cursor:pointer}
.mint-motion-choices span{display:grid;place-items:center;min-height:32px;border:1px solid transparent;border-radius:3px;font:500 13px var(--mono);pointer-events:none}
.mint-motion-choices input:checked+span{background:#fff9da;border-color:#9dab83;color:#234837;box-shadow:0 1px 1px #426c4a26}
.rift-dialog .mint-motion-note{margin:7px 0 0;font:450 11.5px/1.4 var(--mono);color:var(--sheet-muted)}
.mint-prefs-foot{display:flex;align-items:center;justify-content:space-between;gap:10px;padding:10px 20px;border-top:1px solid #b8cbb4;background:#eaf1df}
.mint-prefs-foot>span{font:500 11px/1.35 var(--mono);color:var(--sheet-muted)}
.mint-sheet-done{
  display:flex;align-items:center;justify-content:center;gap:12px;min-height:33px;padding:3px 5px 3px 14px;
  background:#fffbe6;border:1.3px solid #48694e;border-radius:999px;color:var(--sheet-ink);font:600 13px/1 var(--display);
}
.mint-sheet-done>span{display:grid;place-items:center;height:23px;aspect-ratio:1;background:#f0da79;border-radius:50%;font-size:15px}
.mint-sheet-done svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.mint-sheet-done:is(:hover,:focus-visible){background:#fff2ae}
.mint-profile-body{padding:15px 20px 19px}
.mint-profile-body .rift-dl{font:450 13px/1.35 var(--mono);grid-template-columns:minmax(66px,.8fr) minmax(0,2fr);gap:8px 13px}
.mint-profile-body .rift-dl dt{text-align:left;color:var(--sheet-muted)}
.mint-profile-body .rift-ident{border-block:1px solid #b4cbb8;background:#e4efdf}
.mint-profile-actions{justify-content:flex-start;gap:8px}
.mint-profile-actions .mint-settings-button{background:#fff4bd;border-color:#718f76}
@media(max-width:600px){
  .mint-sheet-close{width:38px;height:38px}.mint-motion-choices span{min-height:38px}
  .mint-sheet-done{min-height:39px}.mint-pref-volume input{height:32px}
}
@media(max-width:360px),(max-height:590px){
  .mint-prefs-heading{padding:11px 48px 11px 14px;gap:10px}.mint-portrait-well{width:54px}
  .mint-prefs-content{padding:10px 14px 4px}.mint-pref-group{margin-bottom:10px}
  .mint-pref-toggle{min-height:40px}.mint-prefs-foot{padding:8px 14px}
}
@media(forced-colors:active){
  .mint-switch i,.mint-switch i::before,.mint-motion-choices input:checked+span{forced-color-adjust:none;border:1px solid ButtonText}
  .mint-switch input+i{background:Canvas}.mint-switch i::before{background:ButtonText}
  .mint-switch input:checked+i,.mint-motion-choices input:checked+span{background:Highlight;color:HighlightText}
  .mint-switch input:checked+i::before{background:HighlightText}
  .mint-pref-volume input{appearance:auto;-webkit-appearance:auto}
  .mint-pref-volume input:focus-visible{outline:2px solid Highlight;outline-offset:2px}
}
