/* ---- the make family's looks (Layout/ToolLooks.cs) ------------------------------------------------------------
   What each look is made of is in looks.css; this sheet gives each of its tools its colour and its own touches.
   Guided build is a route of numbered stops over a contour map; Batch actions a spreadsheet run along a conveyor;
   the social studio a phone, a profile card and a posting calendar; Convert an in-tray, an arrow and an out-tray of
   file tags; the Unreal studio an engine viewport in steel and hazard orange; the Game designer graph paper and a
   notepad with a d-pad. Urls here resolve from /looks/. */

.look--guided { --look-hue: 160; --look-turn: 14; --look-c2: hsl(174 66% 40%); }
.look--batch { --look-hue: 205; --look-turn: 30; }
.look--social { --look-hue: 335; --look-turn: 25; }
.look--convert { --look-hue: 272; --look-turn: 45; }
.look--unreal { --look-hue: 22; --look-turn: 20; }
.look--game-designer { --look-hue: 96; --look-turn: -40; }


/* ==== guided build: one idea walked along a route ==================================================================== */

/* The panel's groups are stops on one trail: a dashed line down the left, a numbered waypoint at each group's head. */
.tool.look--guided .tool__controls { position: relative; counter-reset: guided-stop; }
.tool.look--guided .tool__controls::before {
    content: ""; position: absolute; left: 1.47rem; top: 1.9rem; bottom: 2.6rem; width: 0; pointer-events: none;
    border-left: 2px dashed color-mix(in srgb, var(--look-c) 55%, transparent);
}
.tool.look--guided .tool__controls > .tool-sec { padding-left: 3.1rem; }
.tool.look--guided .tool__controls > .tool-sec--toned::before { left: 3.1rem; }
.tool.look--guided .tool__controls > .tool-sec > .tool-sec__head::before {
    counter-increment: guided-stop; content: counter(guided-stop);
    position: absolute; left: .78rem; top: 1rem; z-index: 1;
    display: grid; place-items: center; width: 1.5rem; height: 1.5rem; border-radius: 50%;
    background: linear-gradient(140deg, var(--look-c), var(--look-c2)); color: #042a1d;
    font-size: .74rem; font-weight: 800; font-variant-numeric: tabular-nums; line-height: 1;
    box-shadow: 0 0 0 4px var(--rl-surface), 0 0 14px hsl(var(--look-hue) 80% 45% / .45);
}
.tool.look--guided .tool__controls > .tool-sec--fold > .tool-sec__head::before { top: .8rem; }
.tool.look--guided .tool-sec__ico.ui-ico { border-radius: 50%; background: var(--look-soft); color: color-mix(in srgb, var(--look-c) 70%, var(--rl-text)); }

/* The stage is the map the route crosses: contour lines, no dot grid. */
.tool.look--guided .tool__stage {
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 600' fill='none' stroke='%234de5b2' stroke-width='1.6'%3E%3Cpath stroke-opacity='.16' d='M300 62c138-8 262 74 266 212 6 148-100 270-258 276C150 556 28 446 30 302 32 162 148 70 300 62z'/%3E%3Cpath stroke-opacity='.2' d='M300 120c96-6 186 52 190 150 4 104-70 196-182 200-118 4-206-74-206-176 0-100 88-168 198-174z'/%3E%3Cpath stroke-opacity='.24' d='M300 170c70-4 136 40 138 108 2 76-52 140-134 144-86 4-150-52-150-128 0-72 64-120 146-124z'/%3E%3Cpath stroke-opacity='.28' d='M302 222c46-2 86 26 88 68 2 48-34 88-86 90-54 2-94-32-94-80 0-46 40-76 92-78z'/%3E%3Cpath stroke-opacity='.32' d='M304 268c22 0 40 12 40 30 0 22-16 38-40 38-26 0-44-14-44-36 0-18 20-32 44-32z'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 600 600' fill='none' stroke='%234de5b2' stroke-width='2'%3E%3Cpath stroke-opacity='.14' d='M290 90c120-10 220 60 224 180 6 130-90 230-226 236C160 512 70 420 72 300 74 180 160 100 290 90z'/%3E%3Cpath stroke-opacity='.18' d='M296 180c62-4 120 32 122 92 2 66-46 124-118 126-76 2-130-44-130-110 0-62 54-104 126-108z'/%3E%3Cpath stroke-opacity='.24' d='M300 262c24 0 42 14 42 34 0 22-18 40-42 40-26 0-44-16-44-38 0-20 20-36 44-36z'/%3E%3C/svg%3E"),
        radial-gradient(70% 60% at 50% 45%, var(--look-soft), transparent 70%);
    background-size: 46rem 46rem, 26rem 26rem, 100% 100%;
    background-position: right -14rem bottom -16rem, left -9rem top -8rem, center;
    background-repeat: no-repeat;
}

/* The run button sets off along the route. */
.tool.look--guided .tool__actions .btn--primary { border-radius: 999px; }
.tool.look--guided .tool__actions .btn--primary:not(:disabled) { color: #032419; text-shadow: none; }
.tool.look--guided .tool__actions .btn--primary::after {
    content: "\2192" / ""; display: inline-block; margin-left: .5rem; font-weight: 700;
    transition: transform var(--rl-dur) var(--rl-ease);
}
.tool.look--guided .tool__actions .btn--primary:not(:disabled):hover::after { transform: translateX(4px); }


/* ==== batch actions: a sheet of rows fed along a conveyor ============================================================ */

/* The stage is a spreadsheet: a row-number gutter, ruled rows, faint columns, a header band. */
.tool.look--batch .tool__stage {
    border-radius: 8px;
    background-image:
        linear-gradient(180deg, color-mix(in srgb, var(--look-c) 14%, transparent) 0 2.2rem, color-mix(in srgb, var(--look-c) 40%, transparent) 2.2rem calc(2.2rem + 1px), transparent calc(2.2rem + 1px)),
        linear-gradient(90deg, color-mix(in srgb, var(--look-c) 9%, transparent) 0 2.6rem, color-mix(in srgb, var(--look-c) 34%, transparent) 2.6rem calc(2.6rem + 1px), transparent calc(2.6rem + 1px)),
        repeating-linear-gradient(180deg, transparent 0 calc(2rem - 1px), color-mix(in srgb, var(--look-c) 13%, transparent) calc(2rem - 1px) 2rem),
        repeating-linear-gradient(90deg, transparent 0 calc(10rem - 1px), color-mix(in srgb, var(--look-c) 9%, transparent) calc(10rem - 1px) 10rem);
    background-position: 0 0, 0 0, 0 2.2rem, 2.6rem 0;
    background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%;
    background-repeat: no-repeat, no-repeat, repeat-y, repeat-x;
}

/* A conveyor runs along the stage's foot: rollers, and slats that move. */
.tool.look--batch .tool__stage::after {
    content: ""; flex: none; height: 1.15rem; margin: auto -1rem -1rem;
    border-top: 1px solid color-mix(in srgb, var(--look-c) 45%, transparent);
    background-color: color-mix(in srgb, var(--look-c) 10%, var(--rl-surface-sunken));
    background-image:
        radial-gradient(circle, color-mix(in srgb, var(--look-c) 70%, transparent) 0 .2rem, color-mix(in srgb, var(--look-c) 30%, transparent) .21rem .34rem, transparent .36rem),
        repeating-linear-gradient(90deg, color-mix(in srgb, var(--look-c) 22%, transparent) 0 .9rem, transparent .9rem 1.8rem);
    background-size: 1.8rem 100%, 100% 100%;
    background-position: 0 50%, 0 0;
    animation: batch-belt 3s linear infinite;
}
@keyframes batch-belt { to { background-position: 0 50%, 1.8rem 0; } }

/* The file field is a hopper the sheet drops into. */
.tool.look--batch .field input[type=file] {
    width: 100%; box-sizing: border-box; padding: .85rem .9rem;
    border: 1.5px dashed color-mix(in srgb, var(--look-c) 55%, var(--rl-border)); border-radius: 10px;
    background: repeating-linear-gradient(-45deg, transparent 0 10px, var(--look-soft) 10px 20px), var(--rl-surface-sunken);
    color: var(--rl-text-muted); cursor: pointer;
}
.tool.look--batch .field input[type=file]::file-selector-button {
    margin-right: .8rem; padding: .4rem .85rem; border: 0; border-radius: 7px; font: inherit; font-weight: 600; cursor: pointer;
    background: linear-gradient(135deg, var(--look-c), var(--look-c2)); color: #fff;
}
.tool.look--batch .field input[type=file]:focus-visible { outline: 2px solid var(--look-c); outline-offset: 2px; }

/* Column names read as a sheet's header cells. */
.tool.look--batch .tool-sec__hint code {
    padding: .05rem .35rem; border: 1px solid var(--look-line); border-radius: 4px;
    background: var(--look-soft); color: color-mix(in srgb, var(--look-c) 60%, var(--rl-text)); font-size: .78rem;
}
/* The template and example downloads wear a sheet glyph. */
.tool.look--batch .tool-sec .card__actions .btn--small { display: inline-flex; align-items: center; gap: .4rem; }
.tool.look--batch .tool-sec .card__actions .btn--small::before {
    content: ""; width: .95rem; height: .95rem; flex: none; background: var(--look-c);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='black' stroke-width='1.7'%3E%3Crect x='2.5' y='3' width='15' height='14' rx='2'/%3E%3Cpath d='M2.5 7.5h15M2.5 12h15M7.5 3v14'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='black' stroke-width='1.7'%3E%3Crect x='2.5' y='3' width='15' height='14' rx='2'/%3E%3Cpath d='M2.5 7.5h15M2.5 12h15M7.5 3v14'/%3E%3C/svg%3E") center / contain no-repeat;
}
.tool.look--batch .tool__stage td.td--num { color: color-mix(in srgb, var(--look-c) 70%, var(--rl-text)); font-family: var(--rl-font-mono, ui-monospace, monospace); }
.tool.look--batch .tool__panel, .tool.look--batch .tool__actions { border-radius: 8px; }
.tool.look--batch .tool__actions .btn--primary:not(:disabled) {
    background: linear-gradient(135deg, hsl(205 78% 44%), hsl(235 66% 50%));
}


/* ==== social studio: a phone, a profile card, a posting calendar ===================================================== */

/* The three pages' switch, lit in the studio's colours. */
.app__content.look--social .ui-seg.social__tabs {
    padding: 3px; border-color: var(--look-line); background: color-mix(in srgb, var(--look-c) 7%, var(--rl-surface-sunken));
}
.app__content.look--social .ui-seg .social__tab.active {
    background: linear-gradient(135deg, var(--look-c), var(--look-c2)); color: #fff;
    box-shadow: 0 4px 14px -4px hsl(var(--look-hue) 80% 50% / .6);
}
.app__content.look--social .ui-seg .social__tab.active svg { color: #fff; }

/* The studio's cards take its colours for their hairline and icon. */
.app__content.look--social .ui-card.ui-tone--1 { --tone: var(--look-c); }
.app__content.look--social .ui-card.ui-tone--3 { --tone: var(--look-c2); }

/* Networks are picked as tags, not a row of bare boxes. */
.app__content.look--social .social__checks { gap: .4rem; }
.app__content.look--social .social__checks .check {
    display: inline-flex; align-items: center; gap: .4rem; padding: .28rem .7rem .28rem .5rem;
    border: 1px solid var(--rl-border); border-radius: 999px; background: var(--rl-surface-raised);
    font-size: .84rem; cursor: pointer; transition: border-color var(--rl-dur), background-color var(--rl-dur);
}
.app__content.look--social .social__checks .check:hover { border-color: var(--look-line); }
.app__content.look--social .social__checks .check:has(input:checked) {
    border-color: color-mix(in srgb, var(--look-c) 70%, transparent);
    background: color-mix(in srgb, var(--look-c) 14%, var(--rl-surface)); color: var(--rl-text);
}
.app__content.look--social .social__checks .check input { accent-color: var(--look-c); margin: 0; }
.app__content.look--social .social__color input[type="color"] { border-radius: 50%; overflow: hidden; }

/* Accounts: the form is a profile card — a cover band and an avatar over its corner. */
.app__content.look--social .ui-split__main > .ui-card { position: relative; }
.app__content.look--social .ui-split__main > .ui-card::before {
    content: ""; flex: none; height: 4.6rem; margin: -1rem -1.1rem .1rem; border-radius: inherit;
    border-bottom-left-radius: 0; border-bottom-right-radius: 0;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 120 60' fill='white'%3E%3Cpath opacity='.16' d='M18 22c0-4 5-6 8-2 3-4 8-2 8 2 0 5-8 10-8 10s-8-5-8-10z'/%3E%3Cpath opacity='.1' d='M78 36c0-3 4-4.5 6-1.5 2-3 6-1.5 6 1.5 0 4-6 7.5-6 7.5s-6-3.5-6-7.5z'/%3E%3Ccircle opacity='.18' cx='60' cy='14' r='2.5'/%3E%3Ccircle opacity='.12' cx='104' cy='18' r='2'/%3E%3C/svg%3E") 0 0 / 15rem auto repeat,
        radial-gradient(60% 140% at 85% 0%, hsl(calc(var(--look-hue) + var(--look-turn)) 85% 60% / .55), transparent 70%),
        linear-gradient(120deg, hsl(var(--look-hue) 70% 42%), hsl(calc(var(--look-hue) - 30) 60% 30%));
}
.app__content.look--social .ui-split__main > .ui-card::after {
    content: ""; position: absolute; top: 2.3rem; right: 1.4rem; width: 4rem; height: 4rem; border-radius: 50%;
    border: 4px solid var(--rl-surface); box-shadow: 0 6px 18px -6px rgb(0 0 0 / .45);
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 40 40' fill='white' fill-opacity='.9'%3E%3Ccircle cx='20' cy='15' r='7'/%3E%3Cpath d='M7 34c1-8 6-12 13-12s12 4 13 12z'/%3E%3C/svg%3E") center / 70% no-repeat,
        linear-gradient(140deg, var(--look-c), var(--look-c2));
}
.app__content.look--social .ui-split__main > .ui-card > .ui-card__head { padding-right: 5.5rem; }

/* Accounts beside it each wear an avatar. */
.app__content.look--social .social__pick { display: flex; align-items: center; gap: .65rem; border-radius: 10px; }
.app__content.look--social .social__pick::before {
    content: ""; flex: none; width: 2rem; height: 2rem; border-radius: 50%;
    background: linear-gradient(140deg, var(--look-c), var(--look-c2));
    box-shadow: inset 0 0 0 2px rgb(255 255 255 / .25);
}
.app__content.look--social .social__pick.is-on { background: color-mix(in srgb, var(--look-c) 12%, transparent); }

/* An empty list shows the studio's own art in place of the plain icon. */
.app__content.look--social .ui-empty { border-color: var(--look-line); background: color-mix(in srgb, var(--look-c) 4%, transparent); }
.app__content.look--social .ui-empty__ico {
    width: 3.4rem; height: 3.4rem; border: 0; border-radius: 14px;
    background: url(social/spot.svg) center / cover no-repeat;
}
.app__content.look--social .ui-empty__ico svg { display: none; }

/* Queue: the posts card opens on a week of the calendar with posts pencilled in, and the posts hang off a timeline. */
.app__content.look--social .admin.social:not(.tool) > .ui-card::before {
    content: ""; flex: none; height: 3.6rem; margin: 0 0 .1rem; border-radius: 10px;
    border: 1px solid var(--look-line);
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 10' preserveAspectRatio='none'%3E%3Crect width='140' height='10' rx='5' fill='%23e54d8c'/%3E%3C/svg%3E") 18.6% 70% / 9% .6rem no-repeat,
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 10' preserveAspectRatio='none'%3E%3Crect width='140' height='10' rx='5' fill='%23de3535'/%3E%3C/svg%3E") 50% 52% / 9% .6rem no-repeat,
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 10' preserveAspectRatio='none'%3E%3Crect width='140' height='10' rx='5' fill='%23f391ba'/%3E%3C/svg%3E") 50% 84% / 6% .6rem no-repeat,
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 140 10' preserveAspectRatio='none'%3E%3Crect width='140' height='10' rx='5' fill='%23e54d8c'/%3E%3C/svg%3E") 81.4% 70% / 9% .6rem no-repeat,
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-14 -13 28 23'%3E%3Cpath fill='%23e54d8c' d='M0 9C-14 0-13-12-6-12c3.5 0 6 3 6 5 0-2 2.5-5 6-5 7 0 8 12-6 21z'/%3E%3C/svg%3E") 97.4% 68% / 1rem auto no-repeat,
        linear-gradient(180deg, color-mix(in srgb, var(--look-c) 24%, transparent) 0 1rem, var(--look-line) 1rem calc(1rem + 1px), transparent calc(1rem + 1px)),
        repeating-linear-gradient(90deg, transparent 0 calc(100% / 7 - 1px), var(--look-line) calc(100% / 7 - 1px) calc(100% / 7)),
        color-mix(in srgb, var(--look-c) 5%, var(--rl-surface-sunken));
}
.app__content.look--social .social__post { position: relative; padding-left: 1.9rem; }
.app__content.look--social .social__post::before {
    content: ""; position: absolute; left: .32rem; top: 1.15rem; width: .7rem; height: .7rem; border-radius: 50%;
    background: var(--look-c); box-shadow: 0 0 0 3px color-mix(in srgb, var(--look-c) 25%, transparent);
}
.app__content.look--social .social__post::after {
    content: ""; position: absolute; left: .64rem; top: 2.1rem; bottom: -.2rem; width: 2px; background: var(--look-line);
}
.app__content.look--social .social__post:last-child::after { display: none; }

/* Compose: the stage is a phone, the post landing on its screen. */
.tool.look--social .tool__stage {
    justify-self: center; width: min(100%, 25rem); box-sizing: border-box;
    min-height: min(38rem, calc(100dvh - 6rem)); padding: 2.7rem 1.1rem 1.4rem;
    --phone-bezel: color-mix(in srgb, var(--rl-text) 16%, color-mix(in srgb, var(--look-c) 14%, #121216));
    border: 10px solid var(--phone-bezel); border-radius: 2.8rem;
    background-color: color-mix(in srgb, var(--look-c) 5%, var(--rl-surface));
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 160 160' fill='%23e54d8c'%3E%3Cpath opacity='.1' d='M24 30c0-5 6-7.5 10-2.5 4-5 10-2.5 10 2.5 0 6.5-10 12.5-10 12.5S24 36.5 24 30z'/%3E%3Cpath opacity='.07' d='M110 104c0-3.5 4.5-5.5 7-2 2.5-3.5 7-1.5 7 2 0 4.5-7 9-7 9s-7-4.5-7-9z'/%3E%3Ccircle opacity='.12' cx='128' cy='34' r='3'/%3E%3Ccircle opacity='.1' cx='52' cy='122' r='2.5'/%3E%3C/svg%3E"),
        linear-gradient(180deg, var(--look-soft), transparent 40%);
    background-size: 10rem 10rem, 100% 100%;
    box-shadow: 0 0 0 1px var(--look-line), 0 30px 60px -24px hsl(var(--look-hue) 70% 30% / .55), 0 0 90px -20px hsl(var(--look-hue) 80% 55% / .35);
}
.tool.look--social .tool__stage::before {
    content: ""; position: absolute; top: .7rem; left: 50%; width: 5.6rem; height: 1.3rem; border-radius: 999px;
    transform: translateX(-50%); background: var(--phone-bezel);
}
.tool.look--social .tool__stage .field textarea, .tool.look--social .tool__stage .field input { border-radius: 12px; }
.tool.look--social .tool__stage .tool__emptyArt { width: min(13rem, 70%); }


/* ==== convert: in-tray, arrow, out-tray ============================================================================== */

.app__content.look--convert .convert__body { align-items: flex-start; }
.app__content.look--convert .convert__body > .ui-split__side { order: 2; }
.app__content.look--convert .convert__body::after {
    content: ""; order: 1; flex: none; align-self: flex-start; width: 3rem; height: 3rem; margin: 3.4rem -.35rem 0;
    border-radius: 50%; z-index: 1;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h13M13 6l6 6-6 6'/%3E%3C/svg%3E") 50% 50% / 1.35rem no-repeat,
        linear-gradient(135deg, var(--look-c), var(--look-c2));
    box-shadow: 0 0 0 5px var(--rl-bg, var(--rl-surface-sunken)), 0 10px 26px -8px hsl(var(--look-hue) 80% 45% / .7);
    animation: convert-nudge 2.6s ease-in-out infinite;
}
@keyframes convert-nudge { 50% { background-position: 62% 50%, 0 0; } }
@media (max-width: 900px) { .app__content.look--convert .convert__body::after { display: none; } }

/* The two trays take the tool's two colours. */
.app__content.look--convert .convert__body .ui-card.ui-tone--1 { --tone: var(--look-c); }
.app__content.look--convert .convert__body .ui-card.ui-tone--2 { --tone: var(--look-c2); }

/* The in-tray: the file field is a drop zone. */
.app__content.look--convert .convert__body .ui-split__main .file-or-library {
    padding: 1rem; border: 1.5px dashed color-mix(in srgb, var(--look-c) 50%, var(--rl-border)); border-radius: 14px;
    background:
        radial-gradient(circle at 1px 1px, color-mix(in srgb, var(--look-c) 30%, transparent) 1px, transparent 1.4px) 0 0 / 14px 14px,
        color-mix(in srgb, var(--look-c) 5%, var(--rl-surface-sunken));
}
.app__content.look--convert .convert__body input[type=file]::file-selector-button {
    margin-right: .8rem; padding: .4rem .85rem; border: 0; border-radius: 7px; font: inherit; font-weight: 600; cursor: pointer;
    background: linear-gradient(135deg, var(--look-c), var(--look-c2)); color: #fff;
}

/* Formats are file tags: a dog-eared page each, the chosen one filled. */
.app__content.look--convert .convert__choices { gap: .55rem; }
.app__content.look--convert .convert__choice {
    position: relative; min-width: 5.4rem; padding: 1.55rem .85rem .55rem .75rem;
    border-color: color-mix(in srgb, var(--look-c) 30%, var(--rl-border)); border-radius: 6px 13px 6px 6px;
    background:
        linear-gradient(90deg, color-mix(in srgb, var(--look-c) 40%, transparent) 0 1.4rem, transparent 1.4rem) .75rem .7rem / 1.4rem 3px no-repeat,
        linear-gradient(90deg, color-mix(in srgb, var(--look-c) 22%, transparent) 0 2.4rem, transparent 2.4rem) .75rem 1rem / 2.4rem 3px no-repeat,
        var(--rl-surface-raised);
    transition: transform var(--rl-dur) var(--rl-ease), border-color var(--rl-dur), background-color var(--rl-dur);
}
.app__content.look--convert .convert__choice::before {
    content: ""; position: absolute; top: -1px; right: -1px; width: .85rem; height: .85rem; border-bottom-left-radius: 4px;
    background: linear-gradient(225deg, var(--rl-surface) 0 50%, color-mix(in srgb, var(--look-c) 40%, var(--rl-surface-raised)) 50%);
}
.app__content.look--convert .convert__choice:not(:disabled):hover { transform: translateY(-2px); border-color: var(--look-c); }
.app__content.look--convert .convert__choice .vault__name { font-variant-caps: all-small-caps; letter-spacing: .04em; font-size: 1.02rem; }
.app__content.look--convert .convert__choice.is-on {
    border-color: transparent; color: #fff; box-shadow: var(--rl-ring), 0 8px 20px -10px hsl(var(--look-hue) 80% 40% / .8);
    background:
        linear-gradient(90deg, rgb(255 255 255 / .55) 0 1.4rem, transparent 1.4rem) .75rem .7rem / 1.4rem 3px no-repeat,
        linear-gradient(90deg, rgb(255 255 255 / .3) 0 2.4rem, transparent 2.4rem) .75rem 1rem / 2.4rem 3px no-repeat,
        linear-gradient(135deg, var(--look-c), var(--look-c2));
}
.app__content.look--convert .convert__choice.is-on .vault__meta { color: rgb(255 255 255 / .8); }
.app__content.look--convert .convert__choice.is-on::before {
    background: linear-gradient(225deg, var(--rl-surface) 0 50%, hsl(var(--look-hue) 70% 78%) 50%);
}
.app__content.look--convert .ui-formfoot .btn--primary:not(:disabled) {
    display: inline-flex; align-items: center; gap: .4rem; border-color: transparent; color: #fff;
    background: linear-gradient(135deg, var(--look-c), var(--look-c2));
}
.app__content.look--convert .ui-formfoot .btn--primary svg { width: 1rem; height: 1rem; }

/* The out-tray: its empty state shows the tool's art, a converted picture sits on a checkerboard. */
.app__content.look--convert .convert__body .ui-split__side .ui-card {
    background-image: linear-gradient(180deg, var(--look-soft), transparent 8rem);
}
.app__content.look--convert .convert__body .ui-empty { border-color: var(--look-line); }
.app__content.look--convert .convert__body .ui-split__side .ui-empty__ico {
    width: 3.4rem; height: 3.4rem; border: 0; border-radius: 14px; background: url(convert/spot.svg) center / cover no-repeat;
}
.app__content.look--convert .convert__body .ui-split__side .ui-empty__ico svg { display: none; }
.app__content.look--convert .convert__preview {
    background: repeating-conic-gradient(color-mix(in srgb, var(--rl-text) 9%, var(--rl-surface)) 0 25%, var(--rl-surface) 0 50%) 0 0 / 16px 16px;
    border: 1px solid var(--look-line);
}


/* The two Unreal pages carry a button on the banner's right (each links to the other), so their art steps left of it
   rather than sitting under the button. */
.hero--look.look--unreal .hero__motif, .hero--look.look--game-designer .hero__motif { right: 11rem; }
@media (max-width: 720px) {
    .hero--look.look--unreal .hero__motif, .hero--look.look--game-designer .hero__motif { right: 0; opacity: .5; }
}

/* ==== unreal studio: an engine viewport in steel and hazard orange =================================================== */

.hero--look.look--unreal .hero__art {
    background:
        radial-gradient(55% 150% at 90% 0%, hsl(22 90% 55% / .34), transparent 62%),
        radial-gradient(35% 120% at 0% 120%, hsl(42 80% 50% / .2), transparent 66%),
        linear-gradient(118deg, #1d2026, #0c0d10);
}
.hero--look.look--unreal .hero__icon { border-radius: 6px; color: #1b0d02; }

.tool.look--unreal .tool__panel, .tool.look--unreal .tool__stage, .tool.look--unreal .tool__actions { border-radius: 4px; }
.tool.look--unreal .tool__panel { border-top-width: 1px; border-top-color: var(--rl-border); }
.tool.look--unreal .tool__panel::before {
    content: ""; position: absolute; top: -1px; left: -1px; right: -1px; height: 6px; border-radius: 4px 4px 0 0;
    background: repeating-linear-gradient(-45deg, var(--look-c) 0 9px, #17181c 9px 18px);
}
.tool.look--unreal .tool-sec__title { text-transform: uppercase; letter-spacing: .1em; font-size: .78rem; }
.tool.look--unreal .tool-sec--lead { padding-top: 1.25rem; }
.tool.look--unreal .field input, .tool.look--unreal .field textarea { border-radius: 3px; }
.tool.look--unreal .tool-chips .btn--primary, .tool.look--unreal .tool__actions .btn--primary { border-radius: 3px; letter-spacing: .02em; }
.tool.look--unreal .tool-chips .btn--primary:not(:disabled), .tool.look--unreal .tool__actions .btn--primary:not(:disabled) {
    border-color: transparent; color: #1b0d02; text-shadow: none;
    background: linear-gradient(135deg, var(--look-c), var(--look-c2));
    box-shadow: 0 6px 18px -8px hsl(22 90% 50% / .7);
}
.tool.look--unreal .ui-h3 { text-transform: uppercase; letter-spacing: .1em; font-size: .74rem; color: var(--rl-text-muted); }

/* Kits read as an asset browser: a cube beside each name. */
.tool.look--unreal .unreal-kit { display: flex; align-items: center; gap: .55rem; border-radius: 3px; }
.tool.look--unreal .unreal-kit::before {
    content: ""; flex: none; width: 1rem; height: 1rem; background: var(--look-c);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round'%3E%3Cpath d='M10 2l7 4v8l-7 4-7-4V6z'/%3E%3Cpath d='M3 6l7 4 7-4M10 10v8'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round'%3E%3Cpath d='M10 2l7 4v8l-7 4-7-4V6z'/%3E%3Cpath d='M3 6l7 4 7-4M10 10v8'/%3E%3C/svg%3E") center / contain no-repeat;
}
.tool.look--unreal .unreal-kit > span { margin-right: auto; }
.tool.look--unreal .unreal-products .is-current { border-color: var(--look-c); box-shadow: inset 3px 0 0 var(--look-c); }

/* The stage is the editor's viewport: a fine grid, a coarse grid, two axis lines. */
.tool.look--unreal .tool__stage {
    background-color: color-mix(in srgb, var(--rl-text) 6%, var(--rl-surface-sunken));
    background-image:
        linear-gradient(90deg, transparent calc(12% - 1px), color-mix(in srgb, var(--look-c2) 45%, transparent) calc(12% - 1px) calc(12% + 1px), transparent calc(12% + 1px)),
        linear-gradient(180deg, transparent calc(86% - 1px), color-mix(in srgb, var(--look-c) 50%, transparent) calc(86% - 1px) calc(86% + 1px), transparent calc(86% + 1px)),
        linear-gradient(90deg, color-mix(in srgb, var(--rl-text) 10%, transparent) 1px, transparent 1px),
        linear-gradient(180deg, color-mix(in srgb, var(--rl-text) 10%, transparent) 1px, transparent 1px),
        linear-gradient(90deg, color-mix(in srgb, var(--rl-text) 4.5%, transparent) 1px, transparent 1px),
        linear-gradient(180deg, color-mix(in srgb, var(--rl-text) 4.5%, transparent) 1px, transparent 1px);
    background-size: 100% 100%, 100% 100%, 96px 96px, 96px 96px, 24px 24px, 24px 24px;
    background-position: 0 0, 0 0, -1px -1px, -1px -1px, -1px -1px, -1px -1px;
    box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--rl-text) 6%, transparent), inset 0 0 60px rgb(0 0 0 / .18);
}
/* Each piece's view has the corner brackets of a viewport. */
.tool.look--unreal .unreal-slot__view {
    border-radius: 3px;
    background:
        linear-gradient(var(--look-c), var(--look-c)) 0 0 / 14px 2px no-repeat, linear-gradient(var(--look-c), var(--look-c)) 0 0 / 2px 14px no-repeat,
        linear-gradient(var(--look-c), var(--look-c)) 100% 0 / 14px 2px no-repeat, linear-gradient(var(--look-c), var(--look-c)) 100% 0 / 2px 14px no-repeat,
        linear-gradient(var(--look-c), var(--look-c)) 0 100% / 14px 2px no-repeat, linear-gradient(var(--look-c), var(--look-c)) 0 100% / 2px 14px no-repeat,
        linear-gradient(var(--look-c), var(--look-c)) 100% 100% / 14px 2px no-repeat, linear-gradient(var(--look-c), var(--look-c)) 100% 100% / 2px 14px no-repeat,
        radial-gradient(70% 60% at 50% 40%, color-mix(in srgb, var(--rl-text) 6%, var(--rl-surface)), var(--rl-surface-sunken));
}


/* ==== game designer: graph paper, a notepad and a d-pad ============================================================== */

.tool.look--game-designer .tool__actions .btn--primary:not(:disabled),
.tool.look--game-designer .tool-chips .btn--primary:not(:disabled) {
    border-color: transparent; color: #142a03; text-shadow: none;
    background: linear-gradient(135deg, var(--look-c), var(--look-c2));
    box-shadow: 0 6px 18px -8px hsl(96 80% 40% / .7);
}

/* The section wears a d-pad where an icon would be. */
.tool.look--game-designer .tool-sec--lead > .tool-sec__head::before {
    content: ""; flex: none; width: 1.7rem; height: 1.7rem; border-radius: .45rem;
    background:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23142a03' d='M8 3.5h4V8h4.5v4H12v4.5H8V12H3.5V8H8z'/%3E%3Ccircle cx='10' cy='10' r='1.2' fill='%238ae54d'/%3E%3C/svg%3E") center / 78% no-repeat,
        linear-gradient(140deg, var(--look-c), var(--look-c2));
}

/* The idea is written on a ruled pad with a margin. */
.tool.look--game-designer .tool-sec--lead textarea {
    padding: .5rem .8rem .5rem 2.6rem; line-height: 1.6rem;
    background-color: var(--rl-surface);
    background-image:
        linear-gradient(90deg, transparent 1.9rem, color-mix(in srgb, var(--look-c2) 60%, transparent) 1.9rem calc(1.9rem + 1.5px), transparent calc(1.9rem + 1.5px)),
        repeating-linear-gradient(180deg, transparent 0 calc(1.6rem - 1px), color-mix(in srgb, var(--look-c) 26%, transparent) calc(1.6rem - 1px) 1.6rem);
    background-position: 0 0, 0 .5rem;
    background-attachment: local;
}

/* The stage is graph paper with a level sketched in its corner. */
.tool.look--game-designer .tool__stage {
    background-color: color-mix(in srgb, var(--look-c) 4%, var(--rl-surface-sunken));
    background-image:
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 400 280' fill='none' stroke='%237cc94a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cg stroke-opacity='.32'%3E%3Cpath d='M20 30h110v34M130 84v26H20V30'/%3E%3Cpath d='M200 20h150v100H250M226 120h-26V20'/%3E%3Cpath d='M76 170H60v90h140v-90H100'/%3E%3Cpath d='M270 160h110v100H270v-40M270 196v-36'/%3E%3Cpath d='M130 74h70M75 110v60M325 120v40M200 215h70'/%3E%3C/g%3E%3Cpath stroke-opacity='.55' stroke-dasharray='2 7' d='M60 70C90 70 150 76 230 66s60 26 76 64-20 64 6 96'/%3E%3Cpath stroke-opacity='.65' d='M318 216l14 14M332 216l-14 14'/%3E%3Ccircle cx='60' cy='70' r='6' stroke-opacity='.65'/%3E%3Ccircle cx='150' cy='214' r='4' stroke-opacity='.45'/%3E%3Ccircle cx='170' cy='230' r='4' stroke-opacity='.45'/%3E%3C/svg%3E"),
        linear-gradient(90deg, color-mix(in srgb, var(--look-c) 17%, transparent) 1px, transparent 1px),
        linear-gradient(180deg, color-mix(in srgb, var(--look-c) 17%, transparent) 1px, transparent 1px),
        linear-gradient(90deg, color-mix(in srgb, var(--look-c) 7%, transparent) 1px, transparent 1px),
        linear-gradient(180deg, color-mix(in srgb, var(--look-c) 7%, transparent) 1px, transparent 1px);
    background-size: 18rem auto, 80px 80px, 80px 80px, 16px 16px, 16px 16px;
    background-position: right 1.25rem top 1.25rem, -1px -1px, -1px -1px, -1px -1px, -1px -1px;
    background-repeat: no-repeat, repeat, repeat, repeat, repeat;
}
.tool.look--game-designer .designer__asset .ui-row__lead.ui-ico {
    border-radius: .45rem; background: color-mix(in srgb, var(--look-c) 16%, var(--rl-surface)); color: color-mix(in srgb, var(--look-c) 60%, var(--rl-text));
}
.tool.look--game-designer .tool__stage .ui-list > li + li { border-top-style: dashed; }


@media (prefers-reduced-motion: reduce) {
    .tool.look--batch .tool__stage::after, .app__content.look--convert .convert__body::after { animation: none; }
}
