/* Profile editions: color belongs to the cosmetic, not the shop interface. */

/* Nicktype: retain readable solid text where text clipping is unavailable. */
.komi-store-name-sunset-credits {color:#ffd3a9!important;letter-spacing:.04em;text-shadow:0 1px 8px #fa9d5a60}
.komi-store-name-aurora-ink {color:#b1ffed!important;letter-spacing:.015em;text-shadow:0 1px 8px #a3a0ff68}
.komi-store-name-blueprint {color:#b8ddff!important;letter-spacing:.035em;text-decoration:underline dotted #92c6ff;text-underline-offset:.26em}
.komi-store-name-sakura-letter {color:#ffc5de!important;font-family:Georgia,serif!important;font-style:italic;letter-spacing:.035em;text-shadow:0 1px 8px #ff8ebd5c}
.komi-store-name-sunset-credits {--edition-nick-ink:linear-gradient(105deg,#ffc5a0 6%,#fff3d2 31%,#ffd18c 48%,#ffb899 68%,#ffe2ae 87%)}
.komi-store-name-aurora-ink {--edition-nick-ink:linear-gradient(115deg,#9ffae7,#bae7ff 30%,#e2ceff 56%,#fff0fc 71%,#a7fee0)}
@supports (background-clip:text) {
 :is(.komi-store-name-sunset-credits,.komi-store-name-aurora-ink) {
  background-image:var(--edition-nick-ink);
  background-size:235% 100%;
  background-position:28% 50%;
  background-clip:text;
  -webkit-text-fill-color:transparent;
  text-shadow:none;
 }
 :root[data-komi-cosmetic-intensity="off"] :is(.komi-store-name-sunset-credits,.komi-store-name-aurora-ink) {
  background-image:none;-webkit-text-fill-color:currentColor
 }
}

/* Margins and film edges, not colored rectangles behind text. */
:is(.komi-store-plate-editor-note,.komi-store-plate-train-window,.komi-store-plate-projection-booth) {
 position:relative;isolation:isolate;min-width:0;
}
.komi-store-plate-editor-note {
 color:#faede0!important;
 background:
  linear-gradient(90deg,#a86d35 0 3px,transparent 3px),
  radial-gradient(ellipse at 90% -25%,#5d3a2366,transparent 62%),
  repeating-linear-gradient(0deg,#2d251f 0 16px,#48382c 16px 17px)!important;
 border:1px solid #a07a50!important;
 border-radius:5px 14px 14px 5px!important;
}
.komi-store-plate-train-window {
 color:#e5f6ff!important;
 background:
  radial-gradient(ellipse at 95% 115%,#a9732d50,transparent 65%),
  repeating-linear-gradient(112deg,transparent 0 16px,#87cae512 17px 18px,transparent 19px 31px),
  linear-gradient(125deg,#111e30,#254558)!important;
 border:1px solid #76a7ba!important;
 border-radius:14px!important;
 box-shadow:inset 0 0 0 3px #10182270;
}
.komi-store-plate-projection-booth {
 color:#ffe9ee!important;
 background:
  radial-gradient(circle,#de8695 1.4px,transparent 1.7px) left 4px top 3px / 11px 5px repeat-x,
  linear-gradient(145deg,#35202e,#211b24 75%)!important;
 border:1px solid #a65770!important;
 border-radius:9px!important;
 box-shadow:inset 0 0 0 5px #211b248a;
}
:is(.komi-store-plate-editor-note,.komi-store-plate-train-window,.komi-store-plate-projection-booth).komi-comment {
 padding-inline-start:max(12px,1rem);
}

/* Match profile, fitting room and mini swatch progress indicators. */
.komi-store-xp-projection-film {
 --edition-xp-track:#332720;
 --edition-xp-fill:repeating-linear-gradient(90deg,#ffcc80 0 8px,#7a4c26 8px 10px,#e5a65c 10px 14px,#332720 14px 16px);
 --edition-xp-edge:#795630;
}
.komi-store-xp-star-chart {
 --edition-xp-track:#272539;
 --edition-xp-fill:radial-gradient(circle,#faf0ff 1.4px,transparent 1.8px) center / 13px 7px repeat-x,
  repeating-linear-gradient(90deg,#b390f4 0 12px,#463650 12px 13px);
 --edition-xp-edge:#7464a0;
}
.komi-store-xp-rainfall-meter {
 --edition-xp-track:#12303b;
 --edition-xp-fill:repeating-linear-gradient(122deg,#aeefe8 0 4px,#67bfd9 4px 8px,#5d9bb7 8px 10px);
 --edition-xp-edge:#417b89;
}
:is(.komi-store-xp-projection-film,.komi-store-xp-star-chart,.komi-store-xp-rainfall-meter).komi-shop-xp-swatch,
:is(.komi-store-xp-projection-film,.komi-store-xp-star-chart,.komi-store-xp-rainfall-meter) progress,
#profile.komi-profile-premium-mono .profile-xp-capsule:is(.komi-store-xp-projection-film,.komi-store-xp-star-chart,.komi-store-xp-rainfall-meter) progress {
 color:var(--edition-xp-edge);
 appearance:none;
 background:var(--edition-xp-track)!important;
 border:1px solid var(--edition-xp-edge);
 border-radius:4px;
 overflow:hidden;
}
.komi-shop-xp-swatch:is(.komi-store-xp-projection-film,.komi-store-xp-star-chart,.komi-store-xp-rainfall-meter)::after {
 content:"";display:block;width:65%;height:100%;border-radius:3px;background:var(--edition-xp-fill);
}
:is(.komi-store-xp-projection-film,.komi-store-xp-star-chart,.komi-store-xp-rainfall-meter) progress::-webkit-progress-bar,
#profile.komi-profile-premium-mono .profile-xp-capsule:is(.komi-store-xp-projection-film,.komi-store-xp-star-chart,.komi-store-xp-rainfall-meter) progress::-webkit-progress-bar {
 background:var(--edition-xp-track)!important;
}
:is(.komi-store-xp-projection-film,.komi-store-xp-star-chart,.komi-store-xp-rainfall-meter) progress::-webkit-progress-value,
#profile.komi-profile-premium-mono .profile-xp-capsule:is(.komi-store-xp-projection-film,.komi-store-xp-star-chart,.komi-store-xp-rainfall-meter) progress::-webkit-progress-value {
 background:var(--edition-xp-fill)!important;
}
:is(.komi-store-xp-projection-film,.komi-store-xp-star-chart,.komi-store-xp-rainfall-meter) progress::-moz-progress-bar,
#profile.komi-profile-premium-mono .profile-xp-capsule:is(.komi-store-xp-projection-film,.komi-store-xp-star-chart,.komi-store-xp-rainfall-meter) progress::-moz-progress-bar {
 background:var(--edition-xp-fill)!important;
}
#profile.komi-profile-premium-mono .profile-xp-capsule:is(.komi-store-xp-projection-film,.komi-store-xp-star-chart,.komi-store-xp-rainfall-meter) .profile-xp-progress-track::after {
 content:none;
}

/* Same three favorite titles, three different display cases. */
.komi-store-showcase-manga-triptych {
 --edition-shelf-edge:#d1c9bc;--edition-shelf-fill:linear-gradient(135deg,#262526,#101113);
 --edition-poster-edge:#bbafa5;--edition-poster-fill:repeating-linear-gradient(135deg,#423e3d 0 2px,#2f2c2e 2px 4px);
}
.komi-store-showcase-neon-marquee {
 --edition-shelf-edge:#bfa0fa;--edition-shelf-fill:radial-gradient(ellipse at 50% 0,#563576,#171427 75%);
 --edition-poster-edge:#8bded0;--edition-poster-fill:linear-gradient(145deg,#514278,#143f45);
}
.komi-store-showcase-library-shelf {
 --edition-shelf-edge:#af8154;--edition-shelf-fill:linear-gradient(0deg,#583422 0 9%,#231a18 10%,#3d2d27);
 --edition-poster-edge:#e1b57a;--edition-poster-fill:repeating-linear-gradient(90deg,#673f31 0 8px,#563125 8px 10px);
}
:is(.komi-store-showcase-manga-triptych,.komi-store-showcase-neon-marquee,.komi-store-showcase-library-shelf) {
 border:1px solid var(--edition-shelf-edge);
 background:var(--edition-shelf-fill);
}
:is(.komi-store-showcase-manga-triptych,.komi-store-showcase-neon-marquee,.komi-store-showcase-library-shelf).komi-shop-showcase-demo {
 min-height:52px;padding:4px;box-sizing:border-box;
}
:is(.komi-store-showcase-manga-triptych,.komi-store-showcase-neon-marquee,.komi-store-showcase-library-shelf)
 :is(.komi-shop-favorite-list a,.komi-cinema-poster,i) {
 position:relative;min-width:0;border:1px solid var(--edition-poster-edge);
 background:var(--edition-poster-fill);box-sizing:border-box;
}
.komi-shop-favorite-showcase.komi-store-showcase-manga-triptych .komi-shop-favorite-list a,
.komi-shop-showcase-demo.komi-store-showcase-manga-triptych > :is(i,.komi-cinema-poster) {
 border-radius:3px;
}
.komi-store-showcase-manga-triptych :is(.komi-shop-favorite-list,.komi-cinema-poster) img {filter:grayscale(1) contrast(1.07)}
.komi-store-showcase-neon-marquee :is(.komi-shop-favorite-list a,.komi-cinema-poster,i) {
 box-shadow:inset 0 0 14px #7fd6dc39,0 0 5px #a886dc70
}
.komi-store-showcase-library-shelf :is(.komi-shop-favorite-list a,.komi-cinema-poster,i) {
 box-shadow:inset 0 -4px #724734,0 2px #171013;border-radius:4px 7px 3px 3px
}
:is(.komi-store-showcase-manga-triptych,.komi-store-showcase-neon-marquee,.komi-store-showcase-library-shelf) .komi-shop-favorite-list a:focus-visible {
 outline:2px solid #fff;outline-offset:2px
}
.komi-shop-showcase-demo:is(.komi-store-showcase-manga-triptych,.komi-store-showcase-neon-marquee,.komi-store-showcase-library-shelf) .komi-cinema-poster {
 display:grid;min-height:42px;isolation:isolate;overflow:hidden;align-items:end
}
.komi-shop-showcase-demo:is(.komi-store-showcase-manga-triptych,.komi-store-showcase-neon-marquee,.komi-store-showcase-library-shelf) .komi-cinema-poster img {
 position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-1
}
.komi-shop-showcase-demo:is(.komi-store-showcase-manga-triptych,.komi-store-showcase-neon-marquee,.komi-store-showcase-library-shelf) .komi-cinema-poster b {
 display:block;padding:4px;min-width:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;background:#0a0a10dc;color:#fff
}

/* A soft reflection on interaction, with no moving text or hit target. */
.komi-store-plate-train-window::after {
 content:"";position:absolute;inset:2px;pointer-events:none;z-index:-1;border-radius:inherit;
 background:linear-gradient(112deg,transparent 35%,#b0eaff24,transparent 65%) 0 0/200% 100% no-repeat;opacity:0
}
/* Optional activity, still distinguishable with motion disabled. */
.komi-fx-commentfx-sparkle {--edition-reaction:#ffdc91;color:#ffdc91!important;background:radial-gradient(ellipse,#68481a,#251e19)!important}
.komi-fx-commentfx-twist {--edition-reaction:#e5c0ff;color:#e5c0ff!important;background:radial-gradient(ellipse,#4a366f,#231a39)!important}
:is(.komi-fx-commentfx-sparkle,.komi-fx-commentfx-twist).komi-comment-fx-chip {
 border-color:var(--edition-reaction)
}
:is(.komi-fx-commentfx-sparkle,.komi-fx-commentfx-twist).komi-comment-fx-chip[aria-pressed=true] {
 box-shadow:0 0 0 1px var(--edition-reaction)
}
@keyframes komi-edition-title-pan {0%,100%{background-position:8% 50%}50%{background-position:92% 50%}}
@keyframes komi-edition-sakura-ink {0%,100%{text-shadow:0 1px 4px #ff8ebd60}50%{text-shadow:0 1px 9px #ff8ebd95}}
@keyframes komi-edition-reaction-star {0%,100%{transform:scale(1)}50%{transform:scale(1.16)}}
@keyframes komi-edition-reaction-swirl {0%{transform:rotate(0)}100%{transform:rotate(1turn)}}
@keyframes komi-edition-window-light {0%{opacity:0;background-position:0 0}50%{opacity:.9}100%{opacity:0;background-position:100% 0}}
@keyframes komi-edition-chip-glow {0%,100%{box-shadow:0 0 0 1px var(--edition-reaction)}50%{box-shadow:0 0 0 1px var(--edition-reaction),0 0 10px #dbbefc70}}
@media(prefers-reduced-motion:no-preference) {
 :root:not([data-komi-cosmetic-intensity="off"]) .komi-store-name-sunset-credits {animation:komi-edition-title-pan calc(7s * var(--komi-wave-speed,1)) ease-in-out infinite}
 :root:not([data-komi-cosmetic-intensity="off"]) .komi-store-name-aurora-ink {animation:komi-edition-title-pan calc(9s * var(--komi-wave-speed,1)) ease-in-out infinite reverse}
 :root:not([data-komi-cosmetic-intensity="off"]) .komi-store-name-sakura-letter {animation:komi-edition-sakura-ink calc(6s * var(--komi-wave-speed,1)) ease-in-out infinite}
 :root:not([data-komi-cosmetic-intensity="off"]) .komi-fx-commentfx-sparkle b {animation:komi-edition-reaction-star calc(3s * var(--komi-wave-speed,1)) ease-in-out infinite}
 :root:not([data-komi-cosmetic-intensity="off"]) .komi-fx-commentfx-twist b {animation:komi-edition-reaction-swirl calc(6s * var(--komi-wave-speed,1)) linear infinite}
 :root:not([data-komi-cosmetic-intensity="off"]) .komi-store-plate-train-window:is(:hover,:focus-within)::after {
  animation:komi-edition-window-light calc(2.5s * var(--komi-wave-speed,1)) ease-out
 }
 :root:not([data-komi-cosmetic-intensity="off"]) .komi-comment-fx-chip:is(.komi-fx-commentfx-sparkle,.komi-fx-commentfx-twist)[aria-pressed=true] {
  animation:komi-edition-chip-glow calc(1.6s * var(--komi-wave-speed,1)) ease-out
 }
}
@media(forced-colors:active) {
 :is(.komi-store-name-sunset-credits,.komi-store-name-aurora-ink,.komi-store-name-blueprint,.komi-store-name-sakura-letter) {
  color:CanvasText!important;background:none!important;-webkit-text-fill-color:CanvasText!important;text-shadow:none!important
 }
}
