/* The Graphic Studio's four Looks (assets/js/graphic-looks.js draws the markup).

   Every length is the EXPORT size in CSS pixels: a Portrait graphic is a
   1080 x 1350 box. The studio scales the box to fit the screen; the PNG export
   draws it unscaled. Colours come from the --el / --c* / --rc* custom
   properties the renderer writes on the root from the cookie's element,
   rarity or the creator's theme.

   EXPORT RULES (guide-graphic-export.js copies computed styles into an SVG
   foreignObject): no ::before/::after, no mix-blend-mode, no backdrop-filter,
   no url() backgrounds (every image is an <img>), and fonts only from
   "CookieRun KR" and "Outfit". Something that breaks one of these shows in
   the editor and is missing from the PNG.

   A one-line label that can be cut short (text-overflow: ellipsis) takes its
   width from its row (flex: 1 1 0, text-align: right where it sat at the
   row's end), never from its own text. The PNG keeps every width the screen
   measured and a phone can draw the image's text a little wider, so a label
   exactly as wide as "Arena" came out "Are…". A pill whose background hugs
   its text cannot do this; the exporter draws a label that is whole on
   screen unclipped instead. tests/graphic-studio.spec.mjs checks both. */

.gl { position: relative; overflow: hidden; box-sizing: border-box; flex: none; font-family: "Outfit", system-ui, sans-serif; font-weight: 500; color: #fff; text-align: left; line-height: 1.2; letter-spacing: 0; font-variant-numeric: normal; -webkit-font-smoothing: antialiased; }
.gl * { box-sizing: border-box; }
.gl img { display: block; max-width: none; }
.gl p, .gl ul, .gl ol { margin: 0; }
/* The title is a div, never a heading: page heading rules (the light theme's
   h1-h3 ink, .th headings' shadow) would otherwise restyle the preview and,
   through the copied computed styles, the PNG. */
.gl .gl-title { margin: 0; font-family: "CookieRun KR", "Outfit", sans-serif; font-weight: 700; letter-spacing: 0; text-shadow: none; }
.gl em { font-style: normal; font-weight: 600; opacity: 0.82; }
.gl b { font-weight: 700; }

/* Shared pieces ---------------------------------------------------------------- */
.gl .gl-bg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; }
.gl .gl-bgfx { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.gl .gl-artwin { position: absolute; }
/* The hub strip's geometry (team-hub.css .th-strip-art), scaled: the art is
   170% of the window's height and placed by the cookie's own x/y/scale. */
.gl .gl-art { position: absolute; top: -5.17%; height: 170%; width: auto; transform-origin: 50% 0; }
.gl .gl-art--dark { filter: drop-shadow(0 0 2px rgba(236, 228, 255, 0.95)) drop-shadow(0 0 3px rgba(236, 228, 255, 0.7)) drop-shadow(0 0 26px rgba(var(--el), 0.9)) brightness(1.18); }
.gl .gl-gem { display: inline-block; width: 12px; height: 12px; flex: none; transform: rotate(45deg); background: linear-gradient(135deg, #fff2c8 0%, #f0cd7e 45%, #c99b46 100%); }

/* The topping wheel: the tart, then five pieces turned about the star's
   centre (the geometry of scripts/lib/baked-build-pieces.mjs). */
.gl .gl-wheel { position: relative; flex: none; aspect-ratio: 1; }
.gl .gl-wheel-tart { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: contain; }
.gl .gl-wheel-ghost { position: absolute; left: 9%; top: 9%; width: 82%; height: 82%; border-radius: 50%; border: 4px dashed rgba(255, 255, 255, 0.45); background: rgba(255, 255, 255, 0.06); }
.gl .gl-wheel-slot { position: absolute; left: 0; top: 0; width: 100%; height: 100%; transform-origin: 50% 49.4%; }
/* The wheel's own boxes take no margin, whatever a Look's text rules say: the
   Collector card's `.gl-row span` reached in and set every piece 6px below its slot. */
.gl .gl-wheel > .gl-wheel-slot,
.gl .gl-wheel > .gl-wheel-ghost { margin: 0; }
.gl .gl-wheel-slot--1 { transform: rotate(-72deg); }
.gl .gl-wheel-slot--2 { transform: rotate(-144deg); }
.gl .gl-wheel-slot--3 { transform: rotate(144deg); }
.gl .gl-wheel-slot--4 { transform: rotate(72deg); }
.gl .gl-wheel-piece { position: absolute; width: 30.6%; height: auto; transform: translate(-50%, -50%); }
.gl .gl-wheel-slot--0 .gl-wheel-piece { left: 49.8%; top: 25.8%; }
.gl .gl-wheel-slot--1 .gl-wheel-piece { left: 51.4%; top: 26%; }
.gl .gl-wheel-slot--2 .gl-wheel-piece { left: 50.7%; top: 28%; }
.gl .gl-wheel-slot--3 .gl-wheel-piece { left: 49%; top: 27.8%; }
.gl .gl-wheel-slot--4 .gl-wheel-piece { left: 48.6%; top: 26.2%; }

/* A boss disc: the stylised boss art, or its initials. */
.gl .gl-disc { position: relative; display: block; flex: none; width: 118px; height: 118px; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 50% 40%, #2a3f7a 0%, #0c1430 70%); border: 3px solid rgba(255, 255, 255, 0.8); box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5); }
.gl .gl-disc-art { position: absolute; left: -25%; top: -12%; width: 150%; height: 150%; object-fit: contain; }
.gl .gl-disc-mono { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; font: 700 40px/1 "CookieRun KR", sans-serif; color: #fff; }

/* Empty parts while editing. They never reach an export. */
.gl .gl-ghost { display: flex; align-items: center; justify-content: center; gap: 12px; border: 4px dashed rgba(255, 255, 255, 0.4); border-radius: 28px; background: rgba(255, 255, 255, 0.05); color: rgba(255, 255, 255, 0.82); font: 700 26px/1.2 "Outfit", sans-serif; text-align: center; }
.gl .gl-ghost-plus { font-size: 40px; line-height: 1; }

/* ============================ Look A: Splash ============================ */
.gl-splash { background: var(--ground); }
.gl-splash .gl-bg { filter: saturate(1.15) brightness(0.92); }
.gl-splash .gl-bg--boss { filter: saturate(1.05) brightness(0.72); }
.gl-splash .gl-bgfx--stripes { background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0 28px, rgba(255, 255, 255, 0) 28px 56px), radial-gradient(60% 50% at 40% 32%, rgba(var(--el), 0.55) 0%, rgba(var(--el), 0) 70%), linear-gradient(180deg, var(--c3) 0%, var(--plate-bot) 60%, var(--ground) 100%); }
.gl-splash .gl-bgfx--plain { background: radial-gradient(60% 45% at 40% 30%, rgba(var(--el), 0.3) 0%, rgba(var(--el), 0) 70%), var(--ground); }
.gl-splash .gl-glow { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: radial-gradient(50% 36% at 40% 30%, rgba(var(--el), 0.34) 0%, rgba(var(--el), 0) 72%); }
.gl-splash .gl-art { filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.45)); }
.gl-splash .gl-art--dark { filter: drop-shadow(0 0 2px rgba(236, 228, 255, 0.95)) drop-shadow(0 0 3px rgba(236, 228, 255, 0.7)) drop-shadow(0 0 26px rgba(var(--el), 0.9)) brightness(1.18); }
.gl-splash .gl-shade { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: linear-gradient(180deg, rgba(var(--ground-rgb), 0.35) 0%, rgba(var(--ground-rgb), 0) 14%, rgba(var(--ground-rgb), 0) 36%, rgba(var(--ground-rgb), 0.6) 50%, rgba(var(--ground-rgb), 0.93) 61%, var(--ground) 72%); }
.gl-splash .gl-top { position: absolute; left: 52px; right: 52px; top: 46px; display: flex; justify-content: space-between; align-items: flex-start; }
.gl-splash .gl-pill { display: inline-flex; align-items: center; gap: 12px; height: 56px; padding: 0 24px 0 20px; border-radius: 999px; background: rgba(var(--ground-rgb), 0.74); border: 1.5px solid rgba(255, 255, 255, 0.18); font: 700 20px/1 "Outfit", sans-serif; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.gl-splash .gl-pill--solo { position: absolute; left: 39px; top: 39px; height: 54px; padding: 0 24px; font-size: 22px; }
.gl-splash .gl-boss { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.gl-splash .gl-boss > span { font: 700 17px/1 "Outfit", sans-serif; letter-spacing: 0.08em; text-transform: uppercase; color: #fff; text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8); white-space: nowrap; }
.gl-splash .gl-head { position: absolute; left: 52px; right: 52px; top: 632px; }
.gl-splash .gl-traits { display: flex; align-items: center; gap: 22px; height: 40px; font: 700 22px/1 "Outfit", sans-serif; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.gl-splash .gl-traits span { display: inline-flex; align-items: center; gap: 10px; }
.gl-splash .gl-trait-icon { width: 38px; height: 38px; object-fit: contain; }
.gl-splash .gl-rarity { height: 40px; width: auto; }
.gl-splash .gl-title { margin-top: 12px; font-size: 122px; line-height: 1; color: #fff; white-space: nowrap; -webkit-text-stroke: 0.115em var(--deep); paint-order: stroke fill; text-shadow: 0 10px 0 rgba(0, 0, 0, 0.35), 0 0 60px rgba(var(--el), 0.55); }
.gl-splash .gl-sub { margin-top: 10px; font: 600 28px/1.2 "Outfit", sans-serif; color: rgba(255, 255, 255, 0.82); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
/* Toppings, then their stats, then the beascuit (owner's call, 2026-11-09): the
   columns keep their widths, so the beascuit keeps the room its effects need. */
.gl-splash .gl-panels { position: absolute; left: 40px; right: 40px; top: 880px; height: 280px; display: grid; grid-template-columns: 1.18fr 0.86fr 1fr; gap: 18px; }
.gl-splash .gl-panels[data-count="2"] { grid-template-columns: 1.2fr 1fr; }
.gl-splash .gl-panels[data-count="1"] { grid-template-columns: 1fr; }
.gl-splash .gl-panel { position: relative; min-width: 0; border-radius: 32px; padding: 18px 22px; background: rgba(var(--panel), 0.8); border: 1.5px solid rgba(255, 255, 255, 0.14); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 24px 40px -22px rgba(0, 0, 0, 0.7); overflow: hidden; }
.gl-splash .gl-panel.gl-ghost { border: 4px dashed rgba(255, 255, 255, 0.4); background: rgba(var(--panel), 0.6); }
.gl-splash .gl-lab { font: 700 16px/1 "Outfit", sans-serif; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); }
/* "For the toppings": the stats are the toppings', never the beascuit's. */
.gl-splash .gl-lab-note { margin-top: 6px; font: 600 14px/1.2 "Outfit", sans-serif; color: rgba(255, 255, 255, 0.62); white-space: nowrap; }
.gl-splash .gl-tp { display: flex; align-items: center; gap: 14px; margin-top: 8px; }
.gl-splash .gl-tp-wheel { width: 170px; height: 170px; filter: drop-shadow(0 10px 18px rgba(0, 0, 0, 0.5)); }
.gl-splash .gl-num { font-family: "CookieRun KR", sans-serif; font-weight: 700; font-size: 54px; line-height: 1; }
.gl-splash .gl-nm { font: 700 23px/1.15 "Outfit", sans-serif; margin-top: 4px; }
.gl-splash .gl-mix { display: flex; flex-direction: column; gap: 12px; font: 600 21px/1.15 "Outfit", sans-serif; }
.gl-splash .gl-mix b { font-family: "CookieRun KR", sans-serif; font-size: 30px; }
.gl-splash .gl-tart { display: flex; align-items: center; gap: 10px; margin-top: 10px; padding-top: 10px; border-top: 1px solid rgba(255, 255, 255, 0.16); font: 600 17px/1.2 "Outfit", sans-serif; color: rgba(255, 255, 255, 0.85); white-space: nowrap; overflow: hidden; }
.gl-splash .gl-tart-icon { width: 36px; height: 36px; object-fit: contain; border-radius: 8px; flex: none; }
.gl-splash .gl-panel--bea { display: flex; flex-direction: column; align-items: center; text-align: center; }
.gl-splash .gl-bea-img { width: 140px; height: 140px; object-fit: contain; margin-top: 4px; filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.5)); }
.gl-splash .gl-panel--bea .gl-nm { font-size: 18px; margin-top: 6px; white-space: nowrap; }
.gl-splash .gl-effects { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 10px; }
.gl-splash .gl-effect { display: inline-flex; align-items: center; gap: 8px; height: 40px; padding: 0 16px 0 8px; border-radius: 999px; background: rgba(var(--el), 0.26); border: 1.5px solid rgba(var(--el), 0.7); font: 700 19px/1 "Outfit", sans-serif; white-space: nowrap; }
.gl-splash .gl-effect-icon { width: 28px; height: 28px; object-fit: contain; }
.gl-splash .gl-effect-icon.gl-gem { width: 10px; height: 10px; margin: 0 5px; }
/* Portrait: the beascuit's art gives way when its effects need a second (or
   third, or fourth) row, so the effects always fit inside the frame. Two
   effects with long names wrap to two rows of full-size pills, which ran 26px
   past the frame's foot while the art kept its 140px. */
.gl-splash.gl-portrait .gl-panel--bea .gl-bea-img { flex: 0 1 140px; min-height: 40px; }
.gl-splash .gl-panel--bea.has-many .gl-bea-img { width: 92px; height: 92px; flex-basis: 92px; }
.gl-splash .gl-panel--bea.has-many .gl-effects { gap: 6px; }
.gl-splash .gl-panel--bea.has-many .gl-effect { height: 30px; padding: 0 11px 0 6px; font-size: 15px; gap: 6px; }
/* The element icons only: the gold diamond keeps its 10px, as with one or two effects. */
.gl-splash .gl-panel--bea.has-many .gl-effect-icon:not(.gl-gem) { width: 22px; height: 22px; }
.gl-splash .gl-prio { display: flex; flex-direction: column; gap: 14px; margin-top: 12px; }
.gl-splash .gl-prio > div { display: flex; align-items: center; gap: 14px; font: 700 26px/1 "Outfit", sans-serif; white-space: nowrap; }
.gl-splash .gl-prio b { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #fff2c8 0%, #f0cd7e 45%, #c99b46 100%); color: #2b1b05; font: 800 19px/1 "Outfit", sans-serif; flex: none; }
.gl-splash .gl-prio em { font-size: 21px; color: var(--ink); opacity: 1; }
.gl-splash .gl-panel-text { font: 700 24px/1.18 "Outfit", sans-serif; color: #fff; }
.gl-splash .gl-note { position: absolute; left: 40px; right: 40px; top: 1178px; padding: 18px 26px; border-radius: 26px; background: rgba(255, 255, 255, 0.07); border: 1.5px solid rgba(255, 255, 255, 0.12); font: 500 22px/1.38 "Outfit", sans-serif; color: rgba(255, 255, 255, 0.92); }
.gl-splash .gl-note b { color: var(--ink); }
.gl-splash .gl-note--ghost { border: 4px dashed rgba(255, 255, 255, 0.35); color: rgba(255, 255, 255, 0.7); font-weight: 700; }
.gl-splash .gl-foot { position: absolute; left: 52px; right: 52px; bottom: 26px; display: flex; align-items: center; justify-content: space-between; gap: 24px; font: 600 18px/1 "Outfit", sans-serif; color: rgba(255, 255, 255, 0.66); white-space: nowrap; }
.gl-splash .gl-logo { height: 30px; width: auto; flex: none; }

/* Splash, Square: logo top right, credit bottom left, no note. */
.gl-splash.gl-square .gl-shade { background: linear-gradient(180deg, rgba(var(--ground-rgb), 0) 0%, rgba(var(--ground-rgb), 0) 40%, rgba(var(--ground-rgb), 0.72) 54%, rgba(var(--ground-rgb), 0.95) 64%, var(--ground) 76%); }
.gl-splash.gl-square .gl-head { left: 49px; right: 49px; top: 579px; }
.gl-splash.gl-square .gl-traits { height: 39px; gap: 20px; font-size: 24px; }
.gl-splash.gl-square .gl-trait-icon { width: 39px; height: 39px; }
.gl-splash.gl-square .gl-title { margin-top: 10px; }
.gl-splash.gl-square .gl-panels { left: 34px; right: 34px; top: 785px; height: 226px; grid-template-columns: 1.15fr 0.95fr 1fr; gap: 20px; }
.gl-splash.gl-square .gl-panel,
.gl-splash.gl-story .gl-panel,
.gl-splash.gl-wide .gl-panel { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; padding: 16px 18px; text-align: center; border-radius: 30px; }
.gl-splash.gl-square .gl-tp,
.gl-splash.gl-story .gl-tp,
.gl-splash.gl-wide .gl-tp { flex-direction: column; gap: 10px; margin: 0; }
.gl-splash.gl-square .gl-tp-wheel { width: 123px; height: 123px; }
.gl-splash.gl-square .gl-bea-img { width: 113px; height: 113px; margin: 0; }
.gl-splash.gl-square .gl-lab { font-size: 20px; }
.gl-splash.gl-square .gl-lab-note,
.gl-splash.gl-wide .gl-lab-note { margin-top: -4px; font-size: 17px; }
.gl-splash.gl-square .gl-foot { position: static; }
.gl-splash.gl-square .gl-foot .gl-logo { position: absolute; right: 39px; top: 49px; height: 32px; }
.gl-splash.gl-square .gl-foot span { position: absolute; left: 39px; bottom: 22px; font-size: 21px; }

/* Splash, Story: everything between the app's controls (top 250, bottom 340). */
.gl-splash.gl-story .gl-shade { background: linear-gradient(180deg, rgba(var(--ground-rgb), 0.45) 0%, rgba(var(--ground-rgb), 0) 16%, rgba(var(--ground-rgb), 0) 34%, rgba(var(--ground-rgb), 0.78) 45%, var(--ground) 55%); }
.gl-splash.gl-story .gl-pill--solo { left: 45px; top: 275px; height: 70px; padding: 0 30px; font-size: 29px; }
.gl-splash.gl-story .gl-head { left: 51px; right: 45px; top: 799px; }
.gl-splash.gl-story .gl-traits { height: 51px; gap: 26px; font-size: 32px; }
.gl-splash.gl-story .gl-trait-icon { width: 51px; height: 51px; }
.gl-splash.gl-story .gl-title { margin-top: 14px; }
.gl-splash.gl-story .gl-panels { left: 38px; right: 38px; top: 1048px; height: 294px; grid-template-columns: 1fr 1fr; gap: 26px; }
.gl-splash.gl-story .gl-tp-wheel { width: 166px; height: 166px; }
.gl-splash.gl-story .gl-bea-img { width: 153px; height: 153px; margin: 0; }
.gl-splash.gl-story .gl-panel-text { font-size: 32px; }
.gl-splash .gl-chips-lab { position: absolute; left: 38px; right: 38px; top: 1358px; text-align: center; font: 700 20px/1.2 "Outfit", sans-serif; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.gl-splash .gl-chips { position: absolute; left: 38px; right: 38px; top: 1394px; height: 70px; display: flex; gap: 19px; justify-content: center; }
.gl-splash .gl-chip { display: inline-flex; align-items: center; gap: 16px; height: 70px; padding: 0 29px 0 12px; border-radius: 999px; background: rgba(var(--el), 0.26); border: 3px solid rgba(var(--el), 0.7); font: 700 32px/1 "Outfit", sans-serif; white-space: nowrap; }
.gl-splash .gl-chip b { width: 48px; height: 48px; border-radius: 50%; display: flex; align-items: center; justify-content: center; flex: none; background: linear-gradient(135deg, #fff2c8 0%, #f0cd7e 45%, #c99b46 100%); color: #2b1b05; font: 800 29px/1 "Outfit", sans-serif; }
.gl-splash.gl-story .gl-foot { left: 45px; right: 45px; top: 1489px; bottom: auto; font-size: 27px; }
.gl-splash.gl-story .gl-logo { height: 42px; }

/* Splash, Wide: art left, everything else in a column on the right. */
.gl-splash.gl-wide .gl-glow { background: radial-gradient(40% 55% at 26% 45%, rgba(var(--el), 0.34) 0%, rgba(var(--el), 0) 72%); }
.gl-splash.gl-wide .gl-shade { background: linear-gradient(90deg, rgba(var(--ground-rgb), 0) 0%, rgba(var(--ground-rgb), 0) 36%, rgba(var(--ground-rgb), 0.82) 52%, var(--ground) 63%); }
.gl-splash.gl-wide .gl-pill--solo { left: 1129px; top: 73px; height: 62px; padding: 0 26px; font-size: 25px; }
.gl-splash.gl-wide .gl-head { left: 1135px; right: 51px; top: 198px; }
.gl-splash.gl-wide .gl-traits { height: 45px; gap: 22px; font-size: 28px; }
.gl-splash.gl-wide .gl-trait-icon { width: 45px; height: 45px; }
.gl-splash.gl-wide .gl-title { margin-top: 12px; }
.gl-splash.gl-wide .gl-panels { left: 1124px; right: 51px; top: 424px; height: 282px; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 23px; }
.gl-splash.gl-wide .gl-tp-wheel { width: 141px; height: 141px; }
.gl-splash.gl-wide .gl-bea-img { width: 130px; height: 130px; margin: 0; }
.gl-splash.gl-wide .gl-panel-text { font-size: 28px; }
.gl-splash.gl-wide .gl-lab { font-size: 22px; }
.gl-splash.gl-wide .gl-note { left: 1129px; right: 51px; top: 740px; padding: 0; background: none; border: 0; border-radius: 0; font-size: 31px; line-height: 1.4; }
.gl-splash.gl-wide .gl-note--ghost { padding: 18px 26px; border: 4px dashed rgba(255, 255, 255, 0.35); border-radius: 26px; }
.gl-splash.gl-wide .gl-foot { left: 1129px; right: 51px; bottom: 51px; font-size: 24px; }
.gl-splash.gl-wide .gl-logo { height: 37px; }

/* ========================= Look B: Candy sheet ========================= */
.gl-candy { color: #fff; }
.gl-candy .gl-candy-ground { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0 26px, rgba(255, 255, 255, 0) 26px 52px), linear-gradient(162deg, var(--c1) 0%, var(--c2) 42%, var(--c3) 100%); }
.gl-candy .gl-candy-ground.is-plain { background: linear-gradient(162deg, var(--c1) 0%, var(--c2) 42%, var(--c3) 100%); }
.gl-candy .gl-candy-veil { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: linear-gradient(162deg, rgba(var(--el), 0.42) 0%, rgba(var(--shadow), 0.55) 100%); }
.gl-candy .gl-story-boss { position: absolute; left: 90px; top: 1530px; width: 900px; height: 720px; object-fit: contain; opacity: 0.3; }
.gl-candy .gl-plate { position: absolute; border-radius: 34px; background: linear-gradient(180deg, var(--plate-top) 0%, var(--plate-bot) 100%); border: 7px solid #fff; box-shadow: 0 11px 0 rgba(var(--shadow), 0.42); }
.gl-candy .gl-tab { position: absolute; left: 26px; top: -30px; z-index: 2; height: 54px; padding: 0 26px; border-radius: 999px; background: #fff; color: var(--cd); display: inline-flex; align-items: center; font: 700 27px/1 "CookieRun KR", sans-serif; box-shadow: 0 6px 0 rgba(var(--shadow), 0.35); white-space: nowrap; }
.gl-candy .gl-plate--title { left: 40px; right: 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 30px 0 38px; }
.gl-candy .gl-title-wrap { min-width: 0; }
.gl-candy .gl-title-wrap.is-row { display: flex; align-items: center; gap: 30px; }
.gl-candy .gl-title { font-size: 70px; line-height: 1; color: #fff; white-space: nowrap; -webkit-text-stroke: 0.17em var(--deep); paint-order: stroke fill; text-shadow: 0 7px 0 rgba(0, 0, 0, 0.3); }
.gl-candy .gl-sub { margin-top: 8px; font: 700 22px/1.2 "Outfit", sans-serif; letter-spacing: 0.12em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.gl-candy .gl-title-wrap.is-row .gl-sub { margin-top: 6px; }
.gl-candy .gl-sub--tag { text-transform: none; letter-spacing: 0; }
.gl-candy .gl-by { display: flex; align-items: center; gap: 12px; flex: none; height: 70px; padding: 0 22px 0 10px; border-radius: 999px; background: rgba(255, 255, 255, 0.14); border: 3px solid rgba(255, 255, 255, 0.55); font: 700 21px/1.1 "Outfit", sans-serif; white-space: nowrap; }
.gl-candy .gl-disc--by { width: 54px; height: 54px; border: 0; box-shadow: none; }
.gl-candy .gl-by-sub { font-weight: 600; font-size: 16px; color: rgba(255, 255, 255, 0.75); margin-top: 4px; }
.gl-candy .gl-portrait { position: absolute; overflow: hidden; border-radius: 36px; border: 8px solid #fff; box-shadow: 0 11px 0 rgba(var(--shadow), 0.42); background: radial-gradient(circle at 50% 35%, var(--pale) 0%, var(--soft) 45%, var(--mid) 100%); }
.gl-candy .gl-art { filter: drop-shadow(0 10px 16px rgba(0, 0, 0, 0.25)); }
.gl-candy .gl-traitbar { position: absolute; left: 18px; bottom: 18px; z-index: 1; display: flex; align-items: center; gap: 8px; padding: 8px 14px 8px 8px; border-radius: 999px; background: rgba(255, 255, 255, 0.92); color: var(--cd); font: 700 19px/1 "Outfit", sans-serif; box-shadow: 0 5px 0 rgba(var(--shadow), 0.25); white-space: nowrap; }
.gl-candy .gl-traitbar span { margin-left: 4px; }
.gl-candy .gl-trait-icon { width: 34px; height: 34px; object-fit: contain; }
.gl-candy .gl-plate--toppings { padding: 46px 22px 22px; }
.gl-candy .gl-tp-row { display: flex; gap: 14px; align-items: center; }
.gl-candy .gl-cd-wheel { width: 236px; height: 236px; filter: drop-shadow(0 10px 14px rgba(0, 0, 0, 0.45)); }
.gl-candy .gl-well { flex: 1; min-width: 0; padding: 16px 16px 18px; background: rgba(255, 255, 255, 0.16); border-radius: 22px; border: 2px solid rgba(255, 255, 255, 0.28); }
.gl-candy .gl-well--ghost { display: flex; align-items: center; justify-content: center; border: 4px dashed rgba(255, 255, 255, 0.45); font: 700 21px/1.2 "Outfit", sans-serif; color: rgba(255, 255, 255, 0.8); min-height: 120px; }
.gl-candy .gl-well-lab { font: 700 15px/1 "Outfit", sans-serif; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); }
.gl-candy .gl-subs { display: flex; flex-direction: column; gap: 12px; margin-top: 14px; font: 700 22px/1 "Outfit", sans-serif; white-space: nowrap; }
.gl-candy .gl-subs-line { font: 700 21px/1 "Outfit", sans-serif; white-space: nowrap; }
.gl-candy .gl-recipe { margin-top: 18px; height: 56px; border-radius: 999px; background: #fff; color: var(--cd); display: flex; align-items: center; gap: 10px; padding: 0 18px 0 8px; font: 700 21px/1 "Outfit", sans-serif; box-shadow: 0 5px 0 rgba(var(--shadow), 0.35); white-space: nowrap; overflow: hidden; }
.gl-candy .gl-recipe-icon { width: 42px; height: 42px; object-fit: contain; border-radius: 10px; flex: none; }
.gl-candy .gl-plate--bea { padding: 44px 22px 22px; display: flex; flex-direction: column; align-items: center; }
.gl-candy .gl-cd-bea { object-fit: contain; filter: drop-shadow(0 12px 16px rgba(0, 0, 0, 0.45)); flex: none; }
.gl-candy .gl-bea-side { width: 100%; display: flex; flex-direction: column; align-items: center; min-width: 0; }
.gl-candy .gl-bname { margin: 10px 0 18px; font: 700 22px/1.2 "Outfit", sans-serif; text-align: center; }
.gl-candy .gl-chip4 { width: 100%; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.gl-candy .gl-chip4 > div { height: 46px; padding: 0 8px; border-radius: 14px; background: #fff; color: var(--cd); display: flex; align-items: center; justify-content: center; gap: 8px; font: 700 20px/1 "Outfit", sans-serif; box-shadow: 0 4px 0 rgba(var(--shadow), 0.3); white-space: nowrap; overflow: hidden; }
.gl-candy .gl-chip4 > .is-empty { background: rgba(255, 255, 255, 0.2); box-shadow: none; }
.gl-candy .gl-chip4-icon { width: 28px; height: 28px; object-fit: contain; flex: none; }
.gl-candy .gl-chip4-icon.gl-gem { width: 9px; height: 9px; margin: 0 4px; }
.gl-candy .gl-plate--text { display: flex; flex-direction: column; padding: 44px 26px 20px; }
.gl-candy .gl-plate-note { flex: none; margin-bottom: 14px; font: 700 15px/1 "Outfit", sans-serif; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.gl-candy .gl-plate--text .gl-list { flex: 1; min-height: 0; overflow: hidden; }
.gl-candy .gl-list { padding: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; font: 600 22px/1.3 "Outfit", sans-serif; }
.gl-candy .gl-list li { display: flex; gap: 12px; }
.gl-candy .gl-li-gem { width: 12px; height: 12px; margin-top: 0.42em; border-radius: 4px; background: #fff; }
.gl-candy .gl-list b { color: var(--ink); }
.gl-candy .gl-plate-ghost { display: flex; align-items: center; justify-content: center; height: 100%; border: 4px dashed rgba(255, 255, 255, 0.45); border-radius: 20px; font: 700 22px/1.2 "Outfit", sans-serif; color: rgba(255, 255, 255, 0.8); }
.gl-candy .gl-ghost--plate { position: absolute; left: 22px; right: 22px; top: 46px; bottom: 22px; border-color: rgba(255, 255, 255, 0.45); }
.gl-candy .gl-foot { position: absolute; left: 40px; right: 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 34px; border-radius: 999px; background: #fff; color: var(--cd); font: 700 19px/1 "Outfit", sans-serif; box-shadow: 0 8px 0 rgba(var(--shadow), 0.3); white-space: nowrap; }
.gl-candy .gl-logo { height: 32px; width: auto; flex: none; }

.gl-candy.gl-square .gl-plate--title { padding: 0 24px 0 36px; }
.gl-candy.gl-square .gl-sub { font-size: 19px; }
.gl-candy.gl-square .gl-by { height: 64px; }
.gl-candy.gl-square .gl-disc--by { width: 48px; height: 48px; }
.gl-candy.gl-square .gl-traitbar { left: 14px; bottom: 14px; font-size: 17px; }
.gl-candy.gl-square .gl-trait-icon { width: 30px; height: 30px; }
.gl-candy.gl-square .gl-plate--toppings,
.gl-candy.gl-wide .gl-plate--toppings { display: flex; gap: 16px; align-items: flex-start; }
.gl-candy.gl-wide .gl-plate--toppings { align-items: center; padding: 46px 24px 24px; }
.gl-candy .gl-tp-side { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 14px; }
.gl-candy .gl-tp-side .gl-recipe { margin-top: 0; }
.gl-candy.gl-square .gl-well { padding: 14px 16px 16px; }
.gl-candy.gl-square .gl-subs { gap: 10px; margin-top: 12px; font-size: 21px; }
.gl-candy.gl-square .gl-recipe { height: 52px; font-size: 19px; }
.gl-candy.gl-square .gl-recipe-icon { width: 38px; height: 38px; }
.gl-candy.gl-square .gl-plate--bea { padding: 44px 18px 18px; }
.gl-candy.gl-square .gl-bname { margin: 8px 0 12px; font-size: 19px; }
.gl-candy.gl-square .gl-chip4 { gap: 8px; }
.gl-candy.gl-square .gl-chip4 > div { height: 40px; font-size: 17px; gap: 6px; }
.gl-candy.gl-square .gl-chip4-icon:not(.gl-gem) { width: 24px; height: 24px; }
.gl-candy.gl-square .gl-plate--text { padding: 44px 22px 20px; }
.gl-candy.gl-square .gl-plate--text .gl-tab { left: 20px; font-size: 23px; }

.gl-candy.gl-story .gl-plate--toppings { display: flex; flex-direction: column; align-items: center; gap: 14px; }
.gl-candy.gl-story .gl-cd-wheel { width: 250px; height: 250px; }
.gl-candy.gl-story .gl-well { width: 100%; flex: none; padding: 14px 18px; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.gl-candy.gl-story .gl-recipe { width: 100%; margin-top: 0; }

.gl-candy.gl-wide .gl-cd-wheel { width: 280px; height: 280px; }
.gl-candy.gl-wide .gl-well { padding: 16px 18px 18px; }
.gl-candy.gl-wide .gl-recipe { font-size: 19px; }
.gl-candy.gl-wide .gl-recipe-icon { width: 40px; height: 40px; }
.gl-candy .gl-plate--bea.is-row { flex-direction: row; align-items: center; gap: 24px; padding: 46px 24px 24px; }
.gl-candy .gl-plate--bea.is-row .gl-bea-side { align-items: flex-start; flex: 1; }
.gl-candy .gl-plate--bea.is-row .gl-bname { margin: 0 0 18px; font-size: 25px; text-align: left; }
.gl-candy.gl-wide .gl-chip4 > div { height: 52px; font-size: 21px; }
.gl-candy.gl-wide .gl-chip4-icon:not(.gl-gem) { width: 30px; height: 30px; }
.gl-candy.gl-wide .gl-plate--text { padding: 46px 30px 22px; }

/* ============================ Look C: Gilded ============================ */
.gl-gilded { background: #0a0b0f; color: #eceef2; }
.gl-gilded .gl-bg { left: -40px; top: -40px; width: calc(100% + 80px); object-fit: cover; opacity: 0.26; filter: blur(8px) saturate(1.2); }
.gl-gilded .gl-gd-ground { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: radial-gradient(60% 40% at 50% 26%, rgba(var(--el), 0.2) 0%, rgba(var(--el), 0) 70%), #0a0b0f; }
.gl-gilded .gl-gd-ground.is-lined { background: repeating-linear-gradient(135deg, rgba(240, 205, 126, 0.06) 0 2px, rgba(240, 205, 126, 0) 2px 46px), radial-gradient(60% 40% at 50% 26%, rgba(var(--el), 0.2) 0%, rgba(var(--el), 0) 70%), #0a0b0f; }
.gl-gilded .gl-fade { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: radial-gradient(60% 40% at 50% 30%, rgba(var(--el), 0.32) 0%, rgba(var(--el), 0) 70%), linear-gradient(180deg, rgba(10, 11, 15, 0) 0%, rgba(10, 11, 15, 0.7) 40%, #0a0b0f 58%); }
.gl-gilded .gl-fade--square { background: radial-gradient(36% 36% at 22% 40%, rgba(var(--el), 0.34) 0%, rgba(var(--el), 0) 72%), linear-gradient(180deg, rgba(10, 11, 15, 0.1) 0%, rgba(10, 11, 15, 0.78) 34%, #0a0b0f 60%); }
.gl-gilded .gl-fade--story { background: radial-gradient(56% 22% at 50% 43%, rgba(var(--el), 0.34) 0%, rgba(var(--el), 0) 72%), linear-gradient(180deg, rgba(10, 11, 15, 0.25) 0%, rgba(10, 11, 15, 0.72) 26%, #0a0b0f 50%); }
.gl-gilded .gl-fade--wide { background: radial-gradient(24% 44% at 21% 62%, rgba(var(--el), 0.34) 0%, rgba(var(--el), 0) 72%), linear-gradient(90deg, rgba(10, 11, 15, 0.3) 0%, rgba(10, 11, 15, 0.84) 42%, #0a0b0f 58%); }
.gl-gilded .gl-frame { position: absolute; left: 30px; top: 30px; right: 30px; bottom: 30px; border-radius: 28px; border: 2px solid rgba(240, 205, 126, 0.6); box-shadow: inset 0 0 0 11px rgba(240, 205, 126, 0.18); }
.gl-gilded .gl-corner { position: absolute; width: 22px; height: 22px; transform: rotate(45deg); background: linear-gradient(135deg, #fff2c8 0%, #f0cd7e 45%, #c99b46 100%); box-shadow: 0 0 0 4px #0a0b0f, 0 0 18px rgba(240, 205, 126, 0.6); }
.gl-gilded .gl-headcol { position: absolute; left: 60px; right: 60px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.gl-gilded .gl-headcol.is-left { right: auto; align-items: flex-start; text-align: left; }
.gl-gilded .gl-kicker { display: flex; align-items: center; gap: 14px; height: 20px; font: 700 20px/1 "Outfit", sans-serif; letter-spacing: 0.2em; text-transform: uppercase; color: #f0cd7e; white-space: nowrap; }
.gl-gilded .gl-kick-gem { width: 10px; height: 10px; }
.gl-gilded .gl-title { margin-top: 22px; line-height: 1.05; color: #f8f9fb; text-shadow: 0 3px 0 rgba(0, 0, 0, 0.55), 0 0 40px rgba(var(--el), 0.35); }
.gl-gilded .gl-headcol.is-left .gl-title { line-height: 1.02; }
.gl-gilded .gl-traits { display: flex; align-items: center; justify-content: center; gap: 26px; margin-top: 18px; font: 600 21px/1 "Outfit", sans-serif; color: #d4d7df; white-space: nowrap; }
.gl-gilded .gl-headcol.is-left .gl-traits { justify-content: flex-start; }
.gl-gilded .gl-traits span { display: inline-flex; align-items: center; gap: 9px; }
.gl-gilded .gl-trait-icon { width: 32px; height: 32px; object-fit: contain; }
.gl-gilded .gl-rarity-text { color: rgb(var(--rc)); font-weight: 700; }
.gl-gilded .gl-medal { position: absolute; border-radius: 50%; padding: 8px; background: linear-gradient(135deg, #fff2c8 0%, #f0cd7e 40%, #8a6424 70%, #f0cd7e 100%); box-shadow: 0 0 0 8px rgba(10, 11, 15, 0.9), 0 0 0 9px rgba(240, 205, 126, 0.35), 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 90px rgba(var(--el), 0.35); }
.gl-gilded .gl-medal-in { position: relative; width: 100%; height: 100%; border-radius: 50%; overflow: hidden; background: radial-gradient(circle at 50% 38%, rgba(var(--el), 0.85) 0%, var(--medal) 55%, var(--medal-deep) 100%); }
.gl-gilded .gl-cols { position: absolute; display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.gl-gilded .gl-col { min-width: 0; border-radius: 22px; background: rgba(20, 22, 29, 0.85); border: 1px solid rgba(240, 205, 126, 0.28); padding: 24px 26px; overflow: hidden; }
.gl-gilded .gl-col.is-abs { position: absolute; }
.gl-gilded .gl-lab { display: flex; align-items: center; gap: 10px; font: 700 15px/1 "Outfit", sans-serif; letter-spacing: 0.16em; text-transform: uppercase; color: #f0cd7e; }
.gl-gilded .gl-lab-gem { width: 8px; height: 8px; }
.gl-gilded .gl-lab-note { margin: 6px 0 0 18px; font: 500 15px/1.2 "Outfit", sans-serif; color: #9ba2b0; white-space: nowrap; }
.gl-gilded .gl-recipe { margin-top: 12px; font: 700 23px/1.3 "Outfit", sans-serif; color: #f8f9fb; }
.gl-gilded .gl-recipe span { color: #9ba2b0; font-weight: 600; }
.gl-gilded .gl-eq { display: flex; align-items: center; gap: 18px; margin-top: 14px; }
.gl-gilded .gl-gd-wheel { width: 150px; height: 150px; }
.gl-gilded .gl-gd-bea { width: 150px; height: 150px; object-fit: contain; flex: none; }
.gl-gilded .gl-eq-side { min-width: 0; }
.gl-gilded .gl-bea-name { margin-top: 12px; font: 700 20px/1.25 "Outfit", sans-serif; color: #f8f9fb; }
.gl-gilded .gl-eq-side .gl-bea-name { margin-top: 0; font-size: 18px; }
.gl-gilded .gl-gem-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.gl-gilded .gl-gem-chip { display: inline-flex; align-items: center; gap: 8px; height: 36px; padding: 0 14px 0 8px; border-radius: 999px; background: rgba(var(--el), 0.16); border: 1px solid rgba(var(--el), 0.55); font: 700 17px/1 "Outfit", sans-serif; color: #eceef2; white-space: nowrap; }
.gl-gilded .gl-gem-chip-icon { width: 24px; height: 24px; object-fit: contain; }
.gl-gilded .gl-gem-chip-icon.gl-gem { width: 8px; height: 8px; margin: 0 4px 0 6px; }
.gl-gilded .gl-ranks { margin-top: 14px; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 14px; }
.gl-gilded .gl-ranks li { display: flex; gap: 14px; align-items: flex-start; }
.gl-gilded .gl-ranks b { width: 34px; height: 34px; border-radius: 50%; flex: none; display: flex; align-items: center; justify-content: center; background: linear-gradient(180deg, #ffe39a 0%, #f6b64c 55%, #e8963a 100%); color: #2b1b05; font: 800 17px/1 "Outfit", sans-serif; }
.gl-gilded .gl-ranks strong { display: block; font: 700 22px/1.2 "Outfit", sans-serif; color: #f8f9fb; }
.gl-gilded .gl-ranks em { color: #f0cd7e; opacity: 1; }
.gl-gilded .gl-ranks small { display: block; margin-top: 3px; font: 500 16px/1.35 "Outfit", sans-serif; color: #9ba2b0; }
.gl-gilded .gl-parch { margin-top: 18px; padding: 16px 18px; border-radius: 14px; background: #fbefd6; color: #3a2a12; font: 500 18px/1.4 "Outfit", sans-serif; box-shadow: 0 3px 0 #d8c39a; }
.gl-gilded .gl-pcard { position: absolute; border-radius: 22px; background: #fbefd6; color: #3a2a12; padding: 26px 28px; box-shadow: 0 4px 0 #d8c39a, inset 0 0 0 2px rgba(201, 155, 70, 0.45); overflow: hidden; }
.gl-gilded .gl-pl { display: flex; align-items: center; gap: 10px; font: 700 15px/1 "Outfit", sans-serif; letter-spacing: 0.16em; text-transform: uppercase; color: #855400; }
.gl-gilded .gl-pl-gem { width: 8px; height: 8px; background: linear-gradient(135deg, #f2c96a, #c4862a); }
.gl-gilded .gl-pcard p { margin-top: 14px; font: 500 20px/1.45 "Outfit", sans-serif; }
.gl-gilded .gl-pcard--ghost,
.gl-gilded .gl-parch--ghost { display: flex; align-items: center; justify-content: center; background: rgba(251, 239, 214, 0.12); color: #fbefd6; border: 3px dashed rgba(251, 239, 214, 0.5); box-shadow: none; font: 700 20px/1.2 "Outfit", sans-serif; }
.gl-gilded .gl-ghost-line { margin-top: 18px; padding: 18px; border: 3px dashed rgba(240, 205, 126, 0.45); border-radius: 16px; color: #f0cd7e; font: 700 20px/1.2 "Outfit", sans-serif; text-align: center; }
.gl-gilded .gl-ghost { margin-top: 16px; padding: 22px; border-color: rgba(240, 205, 126, 0.45); color: #f0cd7e; font-size: 21px; }
.gl-gilded .gl-rule { position: absolute; left: 90px; right: 90px; height: 1px; background: linear-gradient(90deg, rgba(240, 205, 126, 0), rgba(240, 205, 126, 0.6) 30%, rgba(240, 205, 126, 0.6) 70%, rgba(240, 205, 126, 0)); }
.gl-gilded .gl-rule-gem { position: absolute; left: 50%; top: -6px; margin-left: -6px; }
.gl-gilded .gl-foot { position: absolute; left: 90px; right: 90px; display: flex; align-items: center; justify-content: space-between; gap: 24px; font: 600 17px/1 "Outfit", sans-serif; color: #9ba2b0; white-space: nowrap; }
.gl-gilded .gl-logo { height: 26px; width: auto; flex: none; }
.gl-gilded .gl-spec-row { display: flex; align-items: flex-start; gap: 28px; margin-top: 16px; }
.gl-gilded .gl-spec-art .gl-gd-wheel,
.gl-gilded .gl-spec-art .gl-gd-bea { width: 220px; height: 220px; }
.gl-gilded .gl-gd-bea--ghost { border: 3px dashed rgba(240, 205, 126, 0.4); border-radius: 50%; }
.gl-gilded .gl-cap { margin-top: 10px; text-align: center; font: 600 15px/1.25 "Outfit", sans-serif; color: #9ba2b0; }
.gl-gilded .gl-spec { flex: 1; min-width: 0; padding-top: 8px; display: flex; flex-direction: column; gap: 16px; }
.gl-gilded .gl-spec small { display: block; font: 700 13px/1 "Outfit", sans-serif; letter-spacing: 0.14em; text-transform: uppercase; color: #9ba2b0; }
.gl-gilded .gl-spec strong { display: block; margin-top: 6px; font: 700 22px/1.2 "Outfit", sans-serif; color: #f8f9fb; }
.gl-gilded .gl-spec .gl-gem-chips { margin-top: 0; }
.gl-gilded.gl-square .gl-recipe { font-size: 21px; }
.gl-gilded.gl-story .gl-recipe { font-size: 22px; }
.gl-gilded.gl-story .gl-bea-name { font-size: 19px; }

/* ========================= Look D: Collector card ========================= */
/* Just the card (owner's call, 2026-11-07): the graphic is the card box itself,
   928 x 1246, with no ground, sparkles or shadow behind it, so the PNG is
   transparent around its rounded corners. */
.gl-card { color: var(--rc-ink); }
.gl-card .gl-cardbox { position: absolute; left: 0; top: 0; width: 100%; height: 100%; border-radius: 46px; padding: 18px; background: linear-gradient(140deg, var(--rc-light) 0%, rgb(var(--rc)) 22%, #f0cd7e 48%, rgb(var(--rc)) 72%, var(--rc-light) 100%); }
.gl-card .gl-inner { position: relative; width: 100%; height: 100%; border-radius: 30px; background: linear-gradient(180deg, var(--rc-inner) 0%, var(--rc-inner-deep) 100%); overflow: hidden; }
.gl-card .gl-holo { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: linear-gradient(118deg, rgba(255, 255, 255, 0) 22%, rgba(255, 255, 255, 0.1) 34%, rgba(150, 255, 232, 0.07) 42%, rgba(255, 220, 150, 0.06) 50%, rgba(255, 255, 255, 0) 62%); pointer-events: none; }
.gl-card .gl-namebar { position: absolute; left: 28px; right: 28px; top: 24px; height: 96px; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 0 12px 0 26px; border-radius: 26px; background: linear-gradient(180deg, var(--rc-bar) 0%, var(--rc-bar2) 100%); box-shadow: inset 0 -4px 0 rgba(0, 0, 0, 0.08); }
.gl-card .gl-title { flex: 1 1 0; min-width: 0; font-size: 60px; line-height: 1.4; color: var(--rc-ink); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gl-card .gl-elem { width: 76px; height: 76px; flex: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: radial-gradient(circle at 40% 35%, #ffffff 0%, var(--pale) 50%, rgb(var(--el)) 100%); box-shadow: 0 0 0 4px var(--rc-ink); }
.gl-card .gl-elem-icon { width: 52px; height: 52px; object-fit: contain; }
.gl-card .gl-window { position: absolute; left: 28px; right: 28px; top: 136px; height: 500px; border-radius: 24px; overflow: hidden; box-shadow: 0 0 0 6px var(--rc-bar), 0 0 0 9px rgba(0, 0, 0, 0.35); }
.gl-card .gl-window-bg { position: absolute; left: 0; top: 0; width: 100%; height: 100%; object-fit: cover; }
.gl-card .gl-window-fx { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.07) 0 22px, rgba(255, 255, 255, 0) 22px 44px), radial-gradient(60% 70% at 40% 40%, rgba(var(--el), 0.6) 0%, rgba(var(--el), 0) 70%), linear-gradient(180deg, var(--c2) 0%, var(--c3) 100%); }
.gl-card .gl-window-fx.is-plain { background: radial-gradient(60% 70% at 40% 40%, rgba(var(--el), 0.45) 0%, rgba(var(--el), 0) 70%), linear-gradient(180deg, var(--rc-line) 0%, var(--rc-inner-deep) 100%); }
.gl-card .gl-art { filter: drop-shadow(0 18px 24px rgba(0, 0, 0, 0.45)); }
.gl-card .gl-window-rar { position: absolute; left: 18px; bottom: 16px; height: 46px; width: auto; filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.6)); }
.gl-card .gl-typeline { position: absolute; left: 28px; right: 28px; top: 660px; height: 62px; display: flex; align-items: center; gap: 14px; padding: 0 22px 0 12px; border-radius: 999px; background: linear-gradient(90deg, var(--rc-ink), var(--rc-line)); color: var(--rc-bar); font: 700 24px/1 "Outfit", sans-serif; letter-spacing: 0.04em; white-space: nowrap; overflow: hidden; }
.gl-card .gl-typeline-icon { width: 42px; height: 42px; object-fit: contain; flex: none; }
.gl-card .gl-typeline-ctx { flex: 1 1 0; min-width: 0; text-align: right; overflow: hidden; text-overflow: ellipsis; font-weight: 600; font-size: 19px; color: var(--rc-bar2); }
.gl-card .gl-typeline-item { flex: none; display: inline-flex; align-items: center; gap: 8px; }
.gl-card .gl-typeline-item + .gl-typeline-item { margin-left: 10px; }
.gl-card .gl-typeline-els { gap: 2px; }
.gl-card .gl-typeline-els > span { margin-left: 6px; }
.gl-card .gl-text { position: absolute; left: 28px; right: 28px; top: 744px; height: 320px; display: flex; flex-direction: column; gap: 14px; padding: 22px 26px; border-radius: 24px; background: linear-gradient(180deg, var(--rc-bar) 0%, var(--rc-text) 100%); overflow: hidden; }
.gl-card .gl-row { display: flex; align-items: center; gap: 18px; min-width: 0; }
.gl-card .gl-cc-wheel { width: 86px; height: 86px; }
.gl-card .gl-cc-bea { width: 86px; height: 86px; object-fit: contain; flex: none; }
.gl-card .gl-row b { display: block; font: 700 15px/1 "Outfit", sans-serif; letter-spacing: 0.16em; text-transform: uppercase; color: var(--rc-label); }
.gl-card .gl-row span { display: block; margin-top: 6px; font: 700 25px/1.2 "Outfit", sans-serif; color: var(--rc-ink); }
.gl-card .gl-row.gl-ghost,
.gl-card .gl-stats.gl-ghost { border-color: rgba(0, 0, 0, 0.25); color: var(--rc-label); min-height: 86px; }
.gl-card .gl-flavor { padding-top: 14px; border-top: 2px dashed rgba(0, 0, 0, 0.15); font: italic 500 20px/1.35 "Outfit", sans-serif; color: var(--rc-flavor); }
.gl-card .gl-flavor b { color: var(--rc-ink); }
.gl-card .gl-flavor--ghost { font-style: normal; font-weight: 700; color: var(--rc-label); }
/* The stats' own small label (they had none): what they are, and that they are the toppings'. */
.gl-card .gl-stats-lab { position: absolute; left: 28px; right: 28px; top: 1068px; text-align: center; font: 700 14px/1.2 "Outfit", sans-serif; letter-spacing: 0.16em; text-transform: uppercase; color: rgba(255, 255, 255, 0.78); white-space: nowrap; }
.gl-card .gl-stats { position: absolute; left: 28px; right: 28px; top: 1092px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.gl-card .gl-stats.gl-ghost { display: flex; height: 66px; }
.gl-card .gl-stats > div { height: 66px; display: flex; align-items: center; justify-content: center; gap: 12px; padding: 0 10px; border-radius: 18px; background: linear-gradient(180deg, var(--rc-bar), var(--rc-bar2)); font: 700 26px/1 "Outfit", sans-serif; color: var(--rc-ink); white-space: nowrap; overflow: hidden; }
.gl-card .gl-stats b { width: 38px; height: 38px; flex: none; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: var(--rc-ink); color: var(--rc-bar); font: 800 18px/1 "Outfit", sans-serif; }
.gl-card .gl-stats em { font-size: 21px; }
.gl-card .gl-cardfoot { position: absolute; left: 34px; right: 34px; bottom: 22px; display: flex; justify-content: space-between; align-items: center; gap: 20px; font: 600 17px/1 "Outfit", sans-serif; color: rgba(255, 255, 255, 0.75); white-space: nowrap; }
.gl-card .gl-logo { height: 24px; width: auto; flex: none; }

/* Text that may wrap takes its width from the layout, never from its own
   content. The exporter freezes each box at its measured width, and a line
   that only just fitted on screen can wrap inside the SVG and overrun the
   next line; a box sized by its container cannot. */
.gl-splash .gl-tp > div:not(.gl-wheel) { flex: 1; min-width: 0; }
.gl-splash .gl-panel-text { width: 100%; }
.gl-candy .gl-list li > span:not(.gl-gem) { flex: 1; min-width: 0; }
.gl-candy .gl-bname { width: 100%; }
.gl-gilded .gl-headcol .gl-title { width: 100%; }
.gl-gilded .gl-eq-side { flex: 1; min-width: 0; }
.gl-gilded .gl-ranks li > div { flex: 1; min-width: 0; }
.gl-card .gl-row > div:not(.gl-wheel) { flex: 1; min-width: 0; }

/* ============================ Team card ============================ */
/* The approved round 1 "Team card" board: Portrait only for now. Each column
   sets its own --el from its cookie's element. */
.gl-team { background: var(--ground); }
.gl-team .gl-tm-bg { filter: saturate(1.1) brightness(0.55); }
.gl-team .gl-bgfx--stripes { background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 28px, rgba(255, 255, 255, 0) 28px 56px), radial-gradient(60% 50% at 72% 16%, rgba(var(--el), 0.45) 0%, rgba(var(--el), 0) 70%), linear-gradient(180deg, var(--c3) 0%, var(--ground) 70%); }
.gl-team .gl-bgfx--plain { background: radial-gradient(60% 45% at 72% 16%, rgba(var(--el), 0.3) 0%, rgba(var(--el), 0) 70%), var(--ground); }
.gl-team .gl-tm-boss { position: absolute; right: -90px; top: -20px; width: 600px; height: 480px; object-fit: contain; opacity: 0.95; filter: drop-shadow(0 0 60px rgba(var(--el), 0.45)); }
.gl-team .gl-tm-shade { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: linear-gradient(180deg, rgba(var(--ground-rgb), 0.2) 0%, rgba(var(--ground-rgb), 0.55) 30%, rgba(var(--ground-rgb), 0.9) 48%, var(--ground) 64%); }
.gl-team .gl-tm-head { position: absolute; left: 56px; top: 64px; width: 700px; }
.gl-team .gl-tm-kick { display: inline-flex; align-items: center; gap: 12px; height: 50px; padding: 0 22px 0 18px; border-radius: 999px; background: rgba(var(--ground-rgb), 0.6); border: 1.5px solid rgba(var(--el), 0.4); font: 700 19px/1 "Outfit", sans-serif; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.gl-team .gl-tm-kick .gl-gem { width: 11px; height: 11px; }
.gl-team .gl-title { width: 100%; margin-top: 22px; line-height: 0.98; color: #fff; -webkit-text-stroke: 0.135em var(--deep); paint-order: stroke fill; text-shadow: 0 9px 0 rgba(0, 0, 0, 0.35), 0 0 50px rgba(var(--el), 0.5); }
.gl-team .gl-tm-by { margin-top: 18px; font: 600 23px/1.3 "Outfit", sans-serif; color: rgba(255, 255, 255, 0.8); }
.gl-team .gl-tm-treas { position: absolute; left: 56px; top: 420px; display: flex; align-items: center; gap: 14px; }
.gl-team .gl-tm-lb { margin-right: 6px; font: 700 15px/1 "Outfit", sans-serif; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); }
.gl-team .gl-tm-treasure { width: 76px; height: 84px; object-fit: contain; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.5)); }
.gl-team .gl-tm-treas--ghost { height: 70px; padding: 0 22px; border: 3px dashed rgba(255, 255, 255, 0.4); border-radius: 18px; color: rgba(255, 255, 255, 0.8); font: 700 20px/1 "Outfit", sans-serif; }
.gl-team .gl-tm-row { position: absolute; left: 34px; right: 34px; top: 528px; height: 630px; display: grid; gap: 14px; }
.gl-team .gl-tm-ck { position: relative; min-width: 0; display: flex; flex-direction: column; align-items: center; padding: 14px 12px 16px; border-radius: 28px; text-align: center; background: linear-gradient(180deg, rgba(var(--el), 0.55) 0%, rgba(var(--el), 0.16) 34%, rgba(18, 22, 40, 0.92) 62%); border: 2px solid rgba(var(--el), 0.75); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.25), 0 20px 34px -18px rgba(0, 0, 0, 0.8); }
.gl-team .gl-tm-ig { position: absolute; left: 50%; top: -14px; z-index: 2; height: 28px; padding: 0 12px; border-radius: 999px; transform: translateX(-50%); background: #eceef2; color: #111318; font: 700 13px/28px "Outfit", sans-serif; white-space: nowrap; }
.gl-team .gl-tm-pf { position: relative; flex: none; width: 140px; height: 140px; overflow: hidden; border-radius: 22px; border: 4px solid #fff; background: radial-gradient(circle at 50% 30%, rgba(var(--el), 0.62) 0%, rgba(var(--el), 0.34) 48%, rgba(14, 18, 34, 0.96) 100%); }
.gl-team .gl-tm-el { position: absolute; left: calc(50% + 36px); top: 2px; width: 46px; height: 46px; object-fit: contain; filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.6)); }
.gl-team .gl-tm-nm { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 46px; margin-top: 12px; font: 700 21px/1.1 "CookieRun KR", sans-serif; color: #fff; }
.gl-team .gl-tm-tp { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 6px; font: 600 15px/1 "Outfit", sans-serif; color: rgba(255, 255, 255, 0.78); white-space: nowrap; }
.gl-team .gl-tm-tp-icon { width: 24px; height: 24px; object-fit: contain; }
.gl-team .gl-tm-wh { width: 108px; height: 108px; margin-top: 12px; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.5)); }
.gl-team .gl-tm-wh--ghost { border: 3px dashed rgba(255, 255, 255, 0.35); border-radius: 50%; filter: none; }
.gl-team .gl-tm-rc { width: 100%; min-height: 38px; margin-top: 6px; font: 600 15px/1.25 "Outfit", sans-serif; color: rgba(255, 255, 255, 0.86); }
.gl-team .gl-tm-be { width: 86px; height: 86px; margin-top: 10px; object-fit: contain; filter: drop-shadow(0 8px 12px rgba(0, 0, 0, 0.5)); }
.gl-team .gl-tm-fx { display: inline-flex; align-items: center; gap: 6px; max-width: 100%; height: 32px; margin-top: 8px; padding: 0 12px 0 6px; overflow: hidden; border-radius: 999px; background: rgba(255, 255, 255, 0.14); font: 700 15px/1 "Outfit", sans-serif; white-space: nowrap; }
.gl-team .gl-tm-fx--long { font-size: 13px; }
.gl-team .gl-tm-fx--longer { font-size: 11.5px; }
.gl-team .gl-tm-fx-txt { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.gl-team .gl-tm-fx-icon { flex: none; width: 22px; height: 22px; object-fit: contain; }
.gl-team .gl-tm-fx-icon.gl-gem { width: 7px; height: 7px; margin: 0 5px; }
.gl-team .gl-tm-tg { width: 100%; margin-top: auto; padding: 10px; border-radius: 14px; background: rgba(0, 0, 0, 0.32); font: 600 15px/1.3 "Outfit", sans-serif; color: #fff; }
.gl-team .gl-tm-tg b { display: block; margin-bottom: 5px; font: 700 11.5px/1 "Outfit", sans-serif; letter-spacing: 0.14em; text-transform: uppercase; color: rgba(255, 255, 255, 0.62); }
.gl-team .gl-tm-ck--ghost { justify-content: center; gap: 10px; border: 3px dashed rgba(255, 255, 255, 0.4); background: rgba(255, 255, 255, 0.05); box-shadow: none; color: rgba(255, 255, 255, 0.82); font: 700 20px/1.2 "Outfit", sans-serif; }
.gl-team .gl-tm-rot { position: absolute; left: 34px; right: 34px; top: 1176px; display: flex; gap: 12px; }
.gl-team .gl-tm-rot > div { flex: 1; min-width: 0; padding: 14px 16px; border-radius: 18px; background: rgba(255, 255, 255, 0.07); border: 1.5px solid rgba(255, 255, 255, 0.12); font: 600 17px/1.3 "Outfit", sans-serif; color: rgba(255, 255, 255, 0.9); }
.gl-team .gl-tm-rot b { display: block; margin-bottom: 6px; font: 700 22px/1 "CookieRun KR", sans-serif; color: #f0cd7e; }
.gl-team .gl-tm-rot--ghost { height: 80px; align-items: center; justify-content: center; border: 3px dashed rgba(255, 255, 255, 0.35); border-radius: 18px; color: rgba(255, 255, 255, 0.75); font: 700 20px/1 "Outfit", sans-serif; }
.gl-team .gl-tm-foot { position: absolute; left: 56px; right: 56px; bottom: 26px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font: 600 17px/1 "Outfit", sans-serif; color: rgba(255, 255, 255, 0.62); white-space: nowrap; }
.gl-team .gl-logo { flex: none; width: auto; height: 26px; }

/* ============================ Tier list ============================ */
/* The approved round 1 "Tier list" board, re-flowed for every size. Each
   tier row sets --t1/--t2 from its tone; the root sets --tl-bg. */
.gl-tier { background: var(--tl-bg); color: #fff; }
.gl-tier .gl-tl-stripes { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.09) 0 26px, rgba(255, 255, 255, 0) 26px 52px); }
.gl-tier .gl-tl-title { position: absolute; left: 40px; right: 40px; height: 150px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 34px 0 40px; border-radius: 36px; background: linear-gradient(180deg, #2a1652 0%, #1b0e38 100%); border: 7px solid #fff; box-shadow: 0 10px 0 rgba(42, 22, 82, 0.4); }
.gl-tier .gl-title { flex: 1 1 0; min-width: 0; line-height: 1.05; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; -webkit-text-stroke: 0.13em #120827; paint-order: stroke fill; text-shadow: 0 6px 0 rgba(0, 0, 0, 0.3); }
.gl-tier .gl-tl-meta { flex: none; max-width: 330px; text-align: right; font: 700 20px/1.25 "Outfit", sans-serif; color: #e5d8ff; }
.gl-tier .gl-tl-meta span { display: block; margin-top: 4px; font-weight: 600; font-size: 16px; color: #b9a6e6; }
.gl-tier .gl-tl-tier { position: absolute; left: 40px; right: 40px; display: flex; align-items: stretch; border-radius: 30px; background: rgba(255, 255, 255, 0.94); border: 6px solid #fff; box-shadow: 0 9px 0 rgba(42, 22, 82, 0.3); overflow: hidden; }
.gl-tier .gl-tl-badge { flex: none; width: 150px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 8px 10px; background: linear-gradient(180deg, rgb(var(--t1)), rgb(var(--t2))); }
.gl-tier .gl-tl-badge b { font-family: "CookieRun KR", "Outfit", sans-serif; font-weight: 700; line-height: 1; color: #fff; -webkit-text-stroke: 0.125em rgba(40, 10, 20, 0.55); paint-order: stroke fill; white-space: nowrap; }
.gl-tier .gl-tl-badge span { width: 100%; font: 700 14px/1.15 "Outfit", sans-serif; letter-spacing: 0.08em; text-transform: uppercase; text-align: center; color: rgba(29, 11, 16, 0.86); }
.gl-tier .gl-tl-faces { flex: 1; min-width: 0; display: grid; align-content: start; padding: 16px; }
.gl-tier .gl-tl-fc { position: relative; }
.gl-tier .gl-tl-f { width: 100%; height: 100%; object-fit: cover; border-radius: 18%; background: #e9e3f4; }
.gl-tier .gl-tl-e { position: absolute; object-fit: contain; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.5)); }
.gl-tier .gl-tl-fc i { position: absolute; left: 6px; right: 6px; bottom: 6px; height: 26px; padding: 0 6px; border-radius: 8px; background: rgba(17, 8, 33, 0.72); color: #fff; font: 700 12.5px/26px "Outfit", sans-serif; font-style: normal; text-align: center; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gl-tier .gl-tl-more { display: flex; flex-direction: column; align-items: center; justify-content: center; border-radius: 18%; background: rgba(42, 22, 82, 0.08); box-shadow: inset 0 0 0 2px rgba(42, 22, 82, 0.18); color: #2a1652; font-family: "CookieRun KR", "Outfit", sans-serif; font-weight: 700; line-height: 1; }
.gl-tier .gl-tl-more small { display: block; margin-top: 6px; font-family: "Outfit", sans-serif; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: #5f527a; }
.gl-tier .gl-tl-ghost { grid-column: 1 / -1; display: flex; align-items: center; justify-content: center; border: 3px dashed rgba(42, 22, 82, 0.3); border-radius: 18px; color: #5f527a; font: 700 20px/1 "Outfit", sans-serif; }
.gl-tier .gl-tl-tier--ghost { align-items: center; justify-content: center; border: 4px dashed rgba(255, 255, 255, 0.7); background: rgba(255, 255, 255, 0.18); color: #fff; font: 700 26px/1 "Outfit", sans-serif; box-shadow: none; }
.gl-tier .gl-tl-why { position: absolute; left: 40px; right: 40px; padding: 26px 30px 26px 34px; border-radius: 30px; background: linear-gradient(180deg, #2a1652 0%, #1b0e38 100%); border: 6px solid #fff; box-shadow: 0 9px 0 rgba(42, 22, 82, 0.35); color: #f4ecff; }
.gl-tier .gl-tl-tab { position: absolute; left: 26px; top: -28px; display: inline-flex; align-items: center; height: 50px; padding: 0 24px; border-radius: 999px; background: #fff; color: #2a1652; font: 700 24px/1 "CookieRun KR", "Outfit", sans-serif; box-shadow: 0 5px 0 rgba(42, 22, 82, 0.3); white-space: nowrap; }
.gl-tier .gl-tl-why p { margin: 10px 0 0; font-family: "Outfit", sans-serif; font-weight: 500; line-height: 1.42; }
.gl-tier .gl-tl-why b { color: #ffd98a; }
.gl-tier .gl-tl-foot { position: absolute; left: 40px; right: 40px; height: 80px; display: flex; align-items: center; justify-content: space-between; gap: 24px; padding: 0 32px; border-radius: 999px; background: #fff; color: #2a1652; font: 700 18px/1 "Outfit", sans-serif; box-shadow: 0 8px 0 rgba(42, 22, 82, 0.3); white-space: nowrap; }
.gl-tier .gl-logo { flex: none; width: auto; height: 30px; }
.gl-tier .gl-tl-foot span { flex: 1 1 0; min-width: 0; text-align: right; overflow: hidden; text-overflow: ellipsis; }
/* A treasure is drawn as its own framed hexagon; a numbered note marker sits on
   an item's top-left corner (the element badge has the top-right). */
.gl-tier .gl-tl-fc--treasure .gl-tl-t { width: 100%; height: 100%; object-fit: contain; filter: drop-shadow(0 4px 5px rgba(42, 22, 82, 0.3)); }
.gl-tier .gl-tl-num { position: absolute; z-index: 1; display: flex; align-items: center; justify-content: center; border-radius: 999px; background: linear-gradient(180deg, #fff2c8 0%, #f0cd7e 45%, #c99b46 100%); color: #2b1b05; font-family: "CookieRun KR", "Outfit", sans-serif; font-weight: 700; line-height: 1; box-shadow: 0 0 0 3px #fff, 0 3px 6px rgba(42, 22, 82, 0.35); }
/* A full list: the tier's label sits at the top of a tall row, and its notes
   are numbered lines under its items, inside the row. */
.gl-tier.gl-full .gl-tl-badge { justify-content: flex-start; padding-top: 26px; }
.gl-tier .gl-tl-notes { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 10px; padding-top: 14px; border-top: 2px solid rgba(42, 22, 82, 0.12); }
.gl-tier .gl-tl-note { display: flex; align-items: flex-start; gap: 12px; min-width: 0; }
.gl-tier .gl-tl-nn { flex: none; display: flex; align-items: center; justify-content: center; width: 32px; height: 32px; border-radius: 999px; background: linear-gradient(180deg, #fff2c8 0%, #f0cd7e 45%, #c99b46 100%); color: #2b1b05; font: 700 17px/1 "CookieRun KR", "Outfit", sans-serif; }
.gl-tier .gl-tl-note p { flex: 1; min-width: 0; overflow: hidden; padding-top: 2px; font: 500 21px/1.3 "Outfit", sans-serif; color: #2a1652; }
.gl-tier .gl-tl-note strong { font-weight: 800; color: #1b0e38; }

/* ============================ Rotation ============================ */
/* The Team card's ground and gold, as a timeline: the spine and its time
   badges, one card per step. */
.gl-rotation { background: var(--ground); }
.gl-rotation .gl-rt-bg { filter: saturate(1.1) brightness(0.5); }
.gl-rotation .gl-bgfx--stripes { background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0 28px, rgba(255, 255, 255, 0) 28px 56px), radial-gradient(60% 50% at 72% 14%, rgba(var(--el), 0.45) 0%, rgba(var(--el), 0) 70%), linear-gradient(180deg, var(--c3) 0%, var(--ground) 70%); }
.gl-rotation .gl-bgfx--plain { background: radial-gradient(60% 45% at 72% 14%, rgba(var(--el), 0.3) 0%, rgba(var(--el), 0) 70%), var(--ground); }
.gl-rotation .gl-rt-boss { position: absolute; right: -90px; top: -20px; width: 600px; height: 480px; object-fit: contain; opacity: 0.95; filter: drop-shadow(0 0 60px rgba(var(--el), 0.45)); }
.gl-rotation.gl-wide .gl-rt-boss { left: -60px; right: auto; top: auto; bottom: -40px; width: 640px; height: 520px; opacity: 0.55; }
.gl-rotation .gl-rt-shade { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: linear-gradient(180deg, rgba(var(--ground-rgb), 0.25) 0%, rgba(var(--ground-rgb), 0.6) 26%, rgba(var(--ground-rgb), 0.9) 42%, var(--ground) 62%); }
.gl-rotation.gl-wide .gl-rt-shade { background: linear-gradient(90deg, rgba(var(--ground-rgb), 0.55) 0%, rgba(var(--ground-rgb), 0.85) 34%, var(--ground) 52%); }
.gl-rotation .gl-rt-head { position: absolute; }
.gl-rotation .gl-rt-kick { display: inline-flex; align-items: center; gap: 12px; height: 50px; padding: 0 22px 0 18px; border-radius: 999px; background: rgba(var(--ground-rgb), 0.6); border: 1.5px solid rgba(var(--el), 0.4); font: 700 19px/1 "Outfit", sans-serif; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.gl-rotation .gl-rt-kick .gl-gem { width: 11px; height: 11px; }
.gl-rotation .gl-title { width: 100%; margin-top: 20px; line-height: 0.98; color: #fff; -webkit-text-stroke: 0.135em var(--deep); paint-order: stroke fill; text-shadow: 0 9px 0 rgba(0, 0, 0, 0.35), 0 0 50px rgba(var(--el), 0.5); }
.gl-rotation .gl-rt-by { margin-top: 16px; font: 600 23px/1.3 "Outfit", sans-serif; color: rgba(255, 255, 255, 0.8); }
.gl-rotation .gl-rt-team { display: flex; align-items: center; gap: 14px; margin-top: 20px; }
.gl-rotation .gl-rt-lb { margin-right: 4px; font: 700 15px/1 "Outfit", sans-serif; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); }
.gl-rotation .gl-rt-team--ghost { height: 60px; padding: 0 22px; border: 3px dashed rgba(255, 255, 255, 0.4); border-radius: 18px; color: rgba(255, 255, 255, 0.8); font: 700 20px/1 "Outfit", sans-serif; }
.gl-rotation .gl-rt-fc, .gl-rotation .gl-rt-tf { position: relative; display: block; flex: none; }
.gl-rotation .gl-rt-f { width: 100%; height: 100%; object-fit: cover; border-radius: 22%; background: rgba(255, 255, 255, 0.12); }
.gl-rotation .gl-rt-e { position: absolute; object-fit: contain; filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.6)); }
.gl-rotation .gl-rt-spine { position: absolute; width: 6px; border-radius: 3px; background: linear-gradient(180deg, #ffe49a 0%, #f0cd7e 50%, #c99b46 100%); box-shadow: 0 0 18px rgba(240, 205, 126, 0.45); }
.gl-rotation .gl-rt-step { position: absolute; }
.gl-rotation .gl-rt-card { position: absolute; top: 0; right: 0; bottom: 0; display: flex; align-items: center; gap: 18px; padding: 10px 22px; border-radius: 24px; background: rgba(var(--ground-rgb), 0.62); border: 2px solid rgba(var(--el), 0.42); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 14px 28px -16px rgba(0, 0, 0, 0.8); }
.gl-rotation .gl-rt-who { display: flex; flex: none; gap: 10px; }
/* A step's words keep their line breaks (<br>) and wrap a word too long for the
   card. The estimate that sized them (graphic-looks.js, layoutRotationSteps)
   keeps them inside the row; nothing clips them, so no descender is cut. */
.gl-rotation .gl-rt-txt { min-width: 0; overflow-wrap: anywhere; font-family: "Outfit", sans-serif; font-weight: 600; line-height: 1.2; color: #fff; }
.gl-rotation .gl-rt-txt--ghost { font-size: 20px; font-style: italic; color: rgba(255, 255, 255, 0.5); }
.gl-rotation .gl-rt-time { position: absolute; top: 50%; transform: translateY(-50%); display: flex; align-items: center; justify-content: center; border-radius: 999px; background: linear-gradient(180deg, #fff2c8 0%, #f0cd7e 45%, #c99b46 100%); color: #2b1b05; font-family: "CookieRun KR", "Outfit", sans-serif; font-weight: 700; line-height: 1; white-space: nowrap; box-shadow: 0 0 0 4px var(--ground), 0 6px 14px rgba(0, 0, 0, 0.5); }
.gl-rotation .gl-rt-step.is-numbered .gl-rt-time { background: linear-gradient(180deg, rgba(var(--el), 0.95), rgba(var(--el), 0.7)); color: #fff; -webkit-text-stroke: 0.1em var(--deep); paint-order: stroke fill; }
.gl-rotation .gl-rt-step--ghost { display: flex; align-items: center; justify-content: center; border: 4px dashed rgba(255, 255, 255, 0.4); border-radius: 26px; background: rgba(255, 255, 255, 0.05); color: rgba(255, 255, 255, 0.82); font: 700 24px/1 "Outfit", sans-serif; }
.gl-rotation .gl-rt-why { position: absolute; padding: 22px 28px 20px 30px; border-radius: 26px; background: rgba(255, 255, 255, 0.07); border: 1.5px solid rgba(255, 255, 255, 0.16); color: rgba(255, 255, 255, 0.92); }
.gl-rotation .gl-rt-tab { position: absolute; left: 24px; top: -24px; display: inline-flex; align-items: center; height: 44px; padding: 0 20px; border-radius: 999px; background: linear-gradient(180deg, #fff2c8 0%, #f0cd7e 45%, #c99b46 100%); color: #2b1b05; font: 700 21px/1 "CookieRun KR", "Outfit", sans-serif; white-space: nowrap; }
.gl-rotation .gl-rt-why p { margin: 8px 0 0; font-family: "Outfit", sans-serif; font-weight: 500; line-height: 1.4; }
.gl-rotation .gl-rt-why b { color: #ffd98a; }
.gl-rotation .gl-rt-foot { position: absolute; left: 56px; right: 56px; display: flex; align-items: center; justify-content: space-between; gap: 20px; font: 600 17px/1 "Outfit", sans-serif; color: rgba(255, 255, 255, 0.62); white-space: nowrap; }
.gl-rotation.gl-wide .gl-rt-foot { left: 64px; right: 56px; }
.gl-rotation .gl-logo { flex: none; width: auto; height: 26px; }
.gl-rotation .gl-rt-foot span { flex: 1 1 0; min-width: 0; text-align: right; overflow: hidden; text-overflow: ellipsis; }

/* ================ Single cards: Cookie, Toppings, Beascuit ================ */
/* One Portrait layout each (renderFocusCard), in Splash's language: the cookie
   card is the art over its rarity ribbon, name and facts; the toppings and
   beascuit cards put that part on one plate under the name, the art beside it. */
.gl-focus { background: var(--ground); }
.gl-focus .gl-bg { filter: saturate(1.15) brightness(0.92); }
.gl-focus .gl-bg--boss { filter: saturate(1.05) brightness(0.72); }
.gl-focus .gl-bgfx--stripes { background: repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.06) 0 28px, rgba(255, 255, 255, 0) 28px 56px), radial-gradient(60% 50% at 50% 32%, rgba(var(--el), 0.55) 0%, rgba(var(--el), 0) 70%), linear-gradient(180deg, var(--c3) 0%, var(--plate-bot) 60%, var(--ground) 100%); }
.gl-focus .gl-bgfx--plain { background: radial-gradient(60% 45% at 50% 30%, rgba(var(--el), 0.3) 0%, rgba(var(--el), 0) 70%), var(--ground); }
.gl-focus .gl-glow { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: radial-gradient(50% 36% at 50% 30%, rgba(var(--el), 0.34) 0%, rgba(var(--el), 0) 72%); }
.gl-focus .gl-art { filter: drop-shadow(0 30px 40px rgba(0, 0, 0, 0.45)); }
.gl-focus .gl-art--dark { filter: drop-shadow(0 0 2px rgba(236, 228, 255, 0.95)) drop-shadow(0 0 3px rgba(236, 228, 255, 0.7)) drop-shadow(0 0 26px rgba(var(--el), 0.9)) brightness(1.18); }
.gl-focus .gl-shade { position: absolute; left: 0; top: 0; width: 100%; height: 100%; background: linear-gradient(180deg, rgba(var(--ground-rgb), 0.35) 0%, rgba(var(--ground-rgb), 0) 14%, rgba(var(--ground-rgb), 0) 42%, rgba(var(--ground-rgb), 0.62) 56%, rgba(var(--ground-rgb), 0.94) 68%, var(--ground) 80%); }
.gl-focus .gl-fc-pill { position: absolute; left: 52px; top: 46px; display: inline-flex; align-items: center; gap: 12px; height: 56px; padding: 0 24px 0 20px; border-radius: 999px; background: rgba(var(--ground-rgb), 0.74); border: 1.5px solid rgba(255, 255, 255, 0.18); font: 700 20px/1 "Outfit", sans-serif; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.gl-focus .gl-title { font-size: 112px; line-height: 1; color: #fff; white-space: nowrap; -webkit-text-stroke: 0.115em var(--deep); paint-order: stroke fill; text-shadow: 0 10px 0 rgba(0, 0, 0, 0.35), 0 0 60px rgba(var(--el), 0.55); }
.gl-focus .gl-sub { max-width: 100%; margin-top: 12px; font: 600 28px/1.2 "Outfit", sans-serif; color: rgba(255, 255, 255, 0.84); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.gl-focus .gl-fc-foot { position: absolute; left: 52px; right: 52px; bottom: 26px; display: flex; align-items: center; justify-content: space-between; gap: 24px; font: 600 18px/1 "Outfit", sans-serif; color: rgba(255, 255, 255, 0.66); white-space: nowrap; }
.gl-focus .gl-fc-foot span { flex: 1 1 0; min-width: 0; text-align: right; overflow: hidden; text-overflow: ellipsis; }
.gl-focus .gl-logo { height: 30px; width: auto; flex: none; }
.gl-focus .gl-fc-note { width: 100%; margin-top: 20px; padding: 20px 28px; border-radius: 26px; background: rgba(255, 255, 255, 0.07); border: 1.5px solid rgba(255, 255, 255, 0.12); font: 500 26px/1.38 "Outfit", sans-serif; color: rgba(255, 255, 255, 0.92); }
.gl-focus .gl-fc-note b { color: var(--ink); }

/* The cookie card: the stack sits on the foot and grows upward with its notes. */
.gl-focus .gl-fc-stack { position: absolute; left: 52px; right: 52px; bottom: 92px; display: flex; flex-direction: column; align-items: flex-start; }
.gl-focus .gl-fc-rarity { height: 56px; width: auto; margin-bottom: 16px; filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.5)); }
.gl-focus .gl-fc-stack .gl-title { max-width: 100%; }
.gl-focus .gl-fc-stack .gl-sub { align-self: stretch; }
.gl-focus .gl-fc-facts { display: grid; gap: 16px; width: 100%; margin-top: 26px; }
.gl-focus .gl-ghost.gl-fc-facts { display: flex; height: 120px; }
.gl-focus .gl-fc-fact { display: flex; flex-direction: column; gap: 12px; min-width: 0; padding: 18px 22px 20px; border-radius: 28px; background: rgba(var(--panel), 0.82); border: 1.5px solid rgba(255, 255, 255, 0.14); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.12), 0 24px 40px -22px rgba(0, 0, 0, 0.7); }
.gl-focus .gl-fc-lab { font: 700 16px/1 "Outfit", sans-serif; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); }
.gl-focus .gl-fc-val { display: flex; align-items: center; gap: 12px; min-width: 0; height: 48px; font: 700 30px/1.1 "Outfit", sans-serif; color: #fff; white-space: nowrap; }
.gl-focus .gl-fc-val b { flex: 1 1 0; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.gl-focus .gl-fc-ficon { width: 48px; height: 48px; object-fit: contain; flex: none; }
.gl-focus .gl-fc-icons { display: flex; gap: 8px; }
.gl-focus .gl-fc-icons .gl-fc-ficon { width: 44px; height: 44px; }

/* The toppings and beascuit cards' kicker, and the parts of their content. */
.gl-focus .gl-fc-kick { display: inline-flex; align-items: center; gap: 12px; height: 46px; padding: 0 22px 0 18px; border-radius: 999px; background: linear-gradient(180deg, #fff2c8 0%, #f0cd7e 55%, #d7a952 100%); color: #3a2405; font: 800 19px/1 "Outfit", sans-serif; letter-spacing: 0.16em; text-transform: uppercase; box-shadow: 0 10px 24px -10px rgba(0, 0, 0, 0.6); }
.gl-focus .gl-fc-kick .gl-gem { background: linear-gradient(135deg, #8a5a18 0%, #3a2405 100%); }
.gl-focus .gl-fc-ghost { flex: 1; align-self: stretch; font-size: 30px; }
.gl-focus .gl-fc-wheelbox { flex: none; }
.gl-focus .gl-fc-wheel { width: 100%; height: 100%; filter: drop-shadow(0 16px 26px rgba(0, 0, 0, 0.55)); }
.gl-focus .gl-fc-side { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 16px; }
.gl-focus .gl-fc-lab2 { font: 700 18px/1 "Outfit", sans-serif; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink); }
.gl-focus .gl-fc-row { display: flex; align-items: center; gap: 14px; min-width: 0; font: 700 28px/1.12 "Outfit", sans-serif; color: #fff; }
.gl-focus .gl-fc-row span { min-width: 0; }
.gl-focus .gl-fc-ticon { width: 60px; height: 60px; object-fit: contain; flex: none; filter: drop-shadow(0 6px 10px rgba(0, 0, 0, 0.45)); }
.gl-focus .gl-fc-count { flex: none; font-family: "CookieRun KR", sans-serif; font-size: 46px; line-height: 1; color: var(--ink); }
.gl-focus .gl-fc-row--tart { margin-top: 6px; padding-top: 18px; border-top: 1.5px solid rgba(255, 255, 255, 0.16); font-size: 26px; color: rgba(255, 255, 255, 0.92); }
.gl-focus .gl-fc-row--ghost { padding: 12px 18px; border: 3px dashed rgba(255, 255, 255, 0.35); border-radius: 18px; font-size: 24px; color: rgba(255, 255, 255, 0.72); }
.gl-focus .gl-fc-side--dense { gap: 10px; }
.gl-focus .gl-fc-side--dense .gl-fc-row { font-size: 25px; }
.gl-focus .gl-fc-side--dense .gl-fc-ticon { width: 50px; height: 50px; }
.gl-focus .gl-fc-side--dense .gl-fc-count { font-size: 38px; }
.gl-focus .gl-fc-side--dense .gl-fc-row--tart { padding-top: 12px; }
/* One topping in every slot, or one effect in every slot: drawn large. */
.gl-focus .gl-fc-solo { display: flex; align-items: center; gap: 18px; }
.gl-focus .gl-fc-solo .gl-fc-ticon { width: 92px; height: 92px; }
.gl-focus .gl-fc-solo .gl-fc-count { font-size: 96px; }
.gl-focus .gl-fc-solo-name { margin-top: -6px; font: 700 40px/1.1 "Outfit", sans-serif; color: #fff; }
.gl-focus .gl-fc-side--solo .gl-fc-effect { height: 84px; padding: 0 30px 0 16px; gap: 16px; font-size: 34px; }
.gl-focus .gl-fc-side--solo .gl-fc-eicon { width: 56px; height: 56px; }
.gl-focus .gl-fc-side--solo .gl-fc-effect b { font-size: 40px; }
.gl-focus .gl-fc-bea { flex: none; object-fit: contain; filter: drop-shadow(0 18px 28px rgba(0, 0, 0, 0.55)); }
.gl-focus .gl-fc-bname { font: 700 40px/1.12 "CookieRun KR", "Outfit", sans-serif; color: #fff; }
.gl-focus .gl-fc-effects { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.gl-focus .gl-fc-effect { display: flex; align-items: center; gap: 12px; max-width: 100%; height: 62px; padding: 0 22px 0 12px; border-radius: 999px; background: rgba(var(--el), 0.24); border: 1.5px solid rgba(var(--el), 0.7); font: 700 26px/1 "Outfit", sans-serif; white-space: nowrap; }
.gl-focus .gl-fc-effect span { min-width: 0; overflow: hidden; text-overflow: ellipsis; }
.gl-focus .gl-fc-effect b { flex: none; font-family: "CookieRun KR", sans-serif; font-size: 28px; color: var(--ink); }
.gl-focus .gl-fc-eicon { width: 40px; height: 40px; object-fit: contain; flex: none; }
.gl-focus .gl-fc-eicon.gl-gem { width: 12px; height: 12px; margin: 0 10px; }
.gl-focus .gl-fc-effect--ghost { padding: 0 22px; background: transparent; border: 3px dashed rgba(255, 255, 255, 0.35); color: rgba(255, 255, 255, 0.72); }
/* The compact toppings and beascuit cards (renderCompactCard): the whole card
   is the graphic, rounded and exported on a transparent ground. Its height is
   set by the renderer; these rules only place what is in it. */
.gl-compact { border-radius: 40px; }
.gl-compact .gl-glow { background: radial-gradient(46% 30% at 80% 14%, rgba(var(--el), 0.42) 0%, rgba(var(--el), 0) 72%); }
.gl-compact.gl-focus--lone .gl-glow { background: radial-gradient(54% 26% at 50% 10%, rgba(var(--el), 0.46) 0%, rgba(var(--el), 0) 72%); }
.gl-compact .gl-cc-artclip { position: absolute; left: 0; top: 0; width: 100%; overflow: hidden; }
.gl-compact .gl-cc-shade { position: absolute; left: 0; top: 0; width: 100%; height: 100%; }
.gl-compact .gl-cc-head { position: absolute; left: 48px; }
.gl-compact .gl-cc-head--lone { right: 48px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.gl-compact .gl-cc-kicks { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.gl-compact .gl-cc-pill { display: inline-flex; align-items: center; height: 46px; padding: 0 20px; border-radius: 999px; background: rgba(var(--ground-rgb), 0.72); border: 1.5px solid rgba(255, 255, 255, 0.18); font: 700 18px/1 "Outfit", sans-serif; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink); white-space: nowrap; }
.gl-compact .gl-cc-head .gl-title { margin-top: 18px; max-width: 100%; }
.gl-compact .gl-cc-body { position: absolute; left: 48px; right: 48px; display: flex; align-items: center; gap: 44px; }
.gl-compact .gl-cc-note { position: absolute; left: 48px; right: 48px; padding: 20px 28px; border-radius: 26px; background: rgba(255, 255, 255, 0.07); border: 1.5px solid rgba(255, 255, 255, 0.12); font: 500 26px/1.38 "Outfit", sans-serif; color: rgba(255, 255, 255, 0.92); }
.gl-compact .gl-cc-note b { color: var(--ink); }
.gl-compact .gl-cc-foot { position: absolute; left: 48px; right: 48px; bottom: 0; display: flex; align-items: center; justify-content: space-between; gap: 24px; border-top: 1.5px solid rgba(255, 255, 255, 0.1); font: 600 18px/1 "Outfit", sans-serif; color: rgba(255, 255, 255, 0.66); white-space: nowrap; }
.gl-compact .gl-cc-foot span { flex: 1 1 0; min-width: 0; text-align: right; overflow: hidden; text-overflow: ellipsis; }
.gl-compact .gl-cc-rim { position: absolute; left: 0; top: 0; width: 100%; height: 100%; border-radius: 40px; border: 2px solid rgba(var(--el), 0.5); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.05), inset 0 1px 0 rgba(255, 255, 255, 0.14); }
