:root {
    --edge-colors: #ff1493, #ff6048, #f6ef3a, #00f59b, #16c7ff, #5962ff, #d719ff, #ff1493;
    --edge-flow-distance: 240px;
    --edge-size: 5.6px;
    --edge-radius: 24px;
    --edge-speed: 1s;
    --line-speed: 3s;
    --orange: #ff9738;
    --violet: #6c55ee;
    --panel: #202022;
    --panel-light: #29292c;
    --dock: #282338;
    --muted: #aaa8af;
    --text: #f7f5f8;
}

@property --edge-angle {
    syntax: "<angle>";
    inherits: false;
    initial-value: 0deg;
}

* { box-sizing: border-box; }

html {
    color-scheme: dark;
    background: #050506;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    min-height: 100vh;
    font-family: "Manrope", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 50% -20%, rgba(73, 62, 122, .24), transparent 38rem),
        #050506;
}

button, input { font: inherit; }
button { color: inherit; }
img { display: block; width: 100%; }

.edge-frame {
    position: relative;
    width: min(100%, 430px);
    min-height: 100vh;
    margin: 0 auto;
    background: #080809;
}

.edge-frame::before,
.edge-frame::after {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 50%;
    width: min(100%, 430px);
    padding: var(--edge-size);
    border-radius: var(--edge-radius);
    background:
        linear-gradient(90deg, var(--edge-colors)) top left / var(--edge-flow-distance) var(--edge-size) repeat-x,
        linear-gradient(180deg, var(--edge-colors)) top right / var(--edge-size) var(--edge-flow-distance) repeat-y,
        linear-gradient(270deg, var(--edge-colors)) bottom right / var(--edge-flow-distance) var(--edge-size) repeat-x,
        linear-gradient(0deg, var(--edge-colors)) bottom left / var(--edge-size) var(--edge-flow-distance) repeat-y;
    content: "";
    pointer-events: none;
    transform: translateX(-50%);
    animation: edge-flow var(--line-speed) linear infinite;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}
.edge-frame::before,
.edge-frame::after { display: none; }

.edge-line-canvas {
    position: fixed;
    z-index: 36;
    top: 0;
    bottom: 0;
    left: 50%;
    display: block;
    width: min(100%, 430px);
    height: 100vh;
    height: 100dvh;
    pointer-events: none;
    transform: translateX(-50%);
}
.edge-frame[data-edge-type="icon"] .edge-line-canvas { display: none; }
.edge-frame::before {
    z-index: 34;
    opacity: .58;
    filter: blur(15px) saturate(1.25);
}
.edge-frame::after { z-index: 35; }

.edge-app {
    width: 100%;
    min-height: 100vh;
    padding: 24px 28px 150px;
    overflow: hidden;
    border-radius: var(--edge-radius);
    background: #080809;
}

@keyframes edge-flow {
    from { background-position: 0 0, 100% 0, 100% 100%, 0 100%; }
    to { background-position: var(--edge-flow-distance) 0, 100% var(--edge-flow-distance), calc(100% - var(--edge-flow-distance)) 100%, 0 calc(100% - var(--edge-flow-distance)); }
}

@keyframes motif-flow {
    0%, 100% { opacity: .58; transform: translate(-50%, -50%) scale(.82); }
    42% { opacity: 1; transform: translate(-50%, -50%) scale(1.18); }
}

.edge-motifs {
    position: fixed;
    z-index: 36;
    top: 0;
    bottom: 0;
    left: 50%;
    display: none;
    width: min(100%, 430px);
    pointer-events: none;
    transform: translateX(-50%);
}

.edge-frame[data-edge-type="icon"]::before,
.edge-frame[data-edge-type="icon"]::after { display: none; }
.edge-frame[data-edge-type="icon"] .edge-motifs { display: block; }
.edge-motif {
    position: absolute;
    color: hsl(calc(var(--motif-index) * 8deg) 100% 50%);
    font-size: max(18px, calc(var(--edge-size) * 3.2));
    font-weight: 800;
    font-family: "Material Symbols Rounded";
    font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 20;
    line-height: 1;
    transform: translate(-50%, -50%);
    text-shadow: 0 0 4px currentColor;
    will-change: transform, opacity;
}
.edge-frame[data-edge-type="icon"][data-direction="normal"] .edge-motif {
    animation: motif-flow var(--edge-speed) ease-in-out infinite;
    animation-delay: calc(var(--motif-index) * var(--edge-speed) / -18);
}
.edge-frame[data-edge-type="icon"][data-direction="reverse"] .edge-motif {
    animation: motif-flow var(--edge-speed) ease-in-out infinite;
    animation-delay: calc((57 - var(--motif-index)) * var(--edge-speed) / -18);
}
.edge-frame[data-edge-type="icon"][data-direction="alternate"] .edge-motif {
    animation: motif-flow var(--edge-speed) ease-in-out infinite alternate;
    animation-delay: calc(var(--motif-index) * var(--edge-speed) / -18);
}
.edge-motif:nth-child(-n+15) { top: 4px; left: calc((var(--motif-index) - 1) * 7.1429%); }
.edge-motif:nth-child(n+16):nth-child(-n+28) { top: calc((var(--motif-index) - 15) * 7.1429%); right: -5px; }
.edge-motif:nth-child(n+29):nth-child(-n+43) { bottom: -7px; left: calc((43 - var(--motif-index)) * 7.1429%); }
.edge-motif:nth-child(n+44) { top: calc((57 - var(--motif-index)) * 7.1429%); left: 5px; }

.edge-frame[data-direction="reverse"]::before,
.edge-frame[data-direction="reverse"]::after { animation-direction: reverse; }
.edge-frame[data-direction="alternate"]::before,
.edge-frame[data-direction="alternate"]::after { animation-direction: alternate; }

.app-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 10px 12px;
    margin: 0 auto 28px;
    max-width: 1180px;
}

.header-copy { display: contents; }

.eyebrow,
.section-kicker,
.preview-copy > span {
    display: block;
    margin-bottom: 5px;
    color: var(--orange);
    font-size: .69rem;
    font-weight: 800;
    letter-spacing: .15em;
}

.app-header h1,
.view-intro h2 {
    margin: 0;
    font-size: clamp(1.85rem, 4vw, 3.1rem);
    line-height: 1.05;
    letter-spacing: 0;
}
.app-header h1 { grid-column: 1; grid-row: 1; min-width: 0; font-size: 1.45rem; white-space: nowrap; }
.edge-frame[data-view-name="style"] .app-header h1 {
    width: fit-content;
    color: transparent;
    background: linear-gradient(90deg, #7059ff, #d750c1 52%, #ff8e3c);
    background-clip: text;
    -webkit-background-clip: text;
}
.header-copy p {
    grid-column: 1 / -1;
    grid-row: 2;
    margin: 0;
    color: #96949b;
    font-size: .88rem;
    line-height: 1.45;
}
.header-copy p[hidden] { display: none; }

.header-actions { grid-column: 2; grid-row: 1; display: flex; align-items: center; gap: 8px; }
.header-actions button,
.section-heading button,
.preview-copy button,
.dialog-close {
    border: 0;
    cursor: pointer;
}

.edge-display-ad {
    min-height: 100px;
    margin: 0 0 30px;
    overflow: hidden;
    border: 1px solid #303034;
    border-radius: 16px;
    background: var(--panel);
}
.ad-slot.ad-top { min-height: 280px; }
.ad-slot.ad-mid { min-height: 250px; }
.ad-slot > div[id^="gpt-ad-"] { min-height: inherit; }
.edge-display-ad .ad-placeholder,
.edge-display-ad > div[id^="gpt-ad-"] {
    display: grid;
    place-items: center;
    width: 100%;
    min-height: 100px;
}
.edge-display-ad .ad-placeholder {
    color: #737179;
    font-size: .64rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.reset-button {
    min-height: 48px;
    padding: 0 19px;
    border: 2px solid #55555a !important;
    border-radius: 24px;
    background: #242426;
    font-weight: 700;
}

.settings-button {
    display: grid;
    place-items: center;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    color: #fff;
    font-size: 1.55rem;
    text-decoration: none;
}
.settings-button { background: #222225; }

.app-view { display: none; max-width: 1180px; margin: 0 auto; animation: view-in .3s ease both; }
.app-view.is-active { display: block; }
@keyframes view-in { from { opacity: 0; transform: translateY(8px); } }

.control-section,
.media-section { margin: 0 0 38px; }
.border-type-section { margin-top: -14px; }
.control-section h2,
.section-heading h2,
.view-intro h2 { margin: 0 0 18px; font-size: clamp(1.35rem, 2.5vw, 2rem); letter-spacing: 0; }

.color-grid,
.type-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
}

.color-choice,
.type-choice,
.type-more {
    position: relative;
    display: grid;
    place-items: center;
    min-height: 92px;
    border: 1px solid transparent;
    border-radius: 22px;
    background: var(--panel);
    cursor: pointer;
}
.color-choice.is-selected {
    border-color: var(--orange);
    background: #303034;
    box-shadow: inset 0 0 0 1px var(--orange), 0 0 18px rgba(255, 151, 56, .22);
}
.color-choice.is-selected::after {
    position: absolute;
    top: 7px;
    right: 7px;
    display: grid;
    place-items: center;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    color: #151516;
    background: var(--orange);
    content: "✓";
    font-size: .75rem;
    font-weight: 800;
}
.color-choice .swatch { transition: transform .18s ease, filter .18s ease; }
.color-choice.is-selected .swatch { transform: scale(1.16); filter: drop-shadow(0 0 8px rgba(255, 255, 255, .3)); }
.type-choice.is-selected { border-color: transparent; box-shadow: none; }
.type-choice.is-extra { display: none; }
.type-grid.is-expanded .type-choice.is-extra { display: grid; }
.swatch { width: 45px; aspect-ratio: 1; border-radius: 50%; }
.swatch-aurora { background: conic-gradient(#00e7ff, #4361ee, #d800ff, #ff3d00, #00ff7b, #00e7ff); }
.swatch-blue { background: linear-gradient(135deg, #00d4ff, #3858ff, #8724ff); }
.swatch-mint { background: linear-gradient(135deg, #00f5a0, #00d9f5); }
.swatch-solar { background: linear-gradient(135deg, #ffcc00, #ff5622, #ff006e); }
.swatch-candy { background: linear-gradient(135deg, #ff3cac, #784ba0, #2b86c5); }

.type-choice span,
.type-more span {
    color: #a4a3a7;
    font-family: "Material Symbols Rounded";
    font-size: 2rem;
    font-variation-settings: "FILL" 1, "wght" 400, "GRAD" 0, "opsz" 40;
}
.type-choice.is-selected span { color: #fff; }
.type-choice small { color: var(--muted); font-size: .74rem; }

.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.section-heading h2 { margin-bottom: 0; }
.section-heading button,
.section-heading a { padding: 8px 0; color: var(--orange); background: transparent; font-weight: 800; text-decoration: none; }

.media-rail {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: minmax(150px, 24%);
    gap: 16px;
    overflow-x: auto;
    padding: 3px 3px 12px;
    scrollbar-width: none;
    scroll-snap-type: x proximity;
}
.media-rail::-webkit-scrollbar { display: none; }

.content-ad-card {
    min-width: 0;
    overflow: hidden;
    border: 1px solid #303034;
    border-radius: 16px;
    background: var(--panel);
    scroll-snap-align: start;
}
.content-ad-card .ad-placeholder,
.content-ad-card > div[id^="gpt-ad-"] {
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    min-height: inherit;
}
.content-ad-card .ad-placeholder {
    color: #737179;
    font-size: .64rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}
.style-list-ad { min-height: 220px; }
.edge-list-ad { min-height: 270px; }
.explore-list-ad { min-height: 174px; }
.wallpaper-list-ad { min-height: 150px; }
.live-list-ad { min-height: 340px; }

.edge-article-ad,
.edge-multiplex-ad {
    margin: 0 0 38px;
    overflow: hidden;
    border: 1px solid #303034;
    border-radius: 16px;
    background: var(--panel);
}
.edge-article-ad .ad-placeholder,
.edge-article-ad > div[id^="gpt-ad-"] {
    display: block;
    width: 100%;
    min-height: 120px;
}
.edge-multiplex-ad .ad-placeholder,
.edge-multiplex-ad > div[id^="gpt-ad-"] {
    display: block;
    width: 100%;
    min-height: 220px;
}
.edge-article-ad .ad-placeholder,
.edge-multiplex-ad .ad-placeholder {
    display: grid;
    place-items: center;
    color: #737179;
    font-size: .64rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.media-card,
.portrait-card,
.explore-card,
.wallpaper-card,
.live-card {
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 20px;
    background: var(--panel);
    color: inherit;
    cursor: pointer;
    scroll-snap-align: start;
    text-decoration: none;
}

.media-card img { height: 210px; object-fit: cover; }
.media-card > span { display: block; padding: 11px 8px 3px; color: #e5e2e8; font-size: .83rem; white-space: nowrap; }

.direction-panel,
.settings-panel,
.daily-drop {
    padding: 22px;
    border-radius: 24px;
    background: var(--panel);
}
.direction-panel { display: grid; gap: 8px; }
.direction-panel label {
    display: grid;
    grid-template-columns: 28px 1fr auto;
    align-items: center;
    gap: 14px;
    min-height: 52px;
    cursor: pointer;
}
.direction-panel label span { color: #ef64ad; font-size: 1.45rem; }
.direction-panel input { width: 20px; height: 20px; accent-color: var(--orange); grid-column: 3; grid-row: 1; }

.settings-panel { display: grid; gap: 20px; }
.settings-panel h2 { margin-bottom: 0; }
.settings-panel label { display: grid; grid-template-columns: minmax(130px, .4fr) 1fr; align-items: center; gap: 18px; font-weight: 600; }
.settings-panel input { width: 100%; accent-color: #e453b5; }

.view-intro { margin-bottom: 26px; }
.view-intro p { max-width: 540px; margin: -8px 0 0; color: var(--muted); }

.portrait-grid,
.wallpaper-grid,
.explore-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}
.portrait-card img { aspect-ratio: 3 / 4; object-fit: cover; }
.portrait-card span { display: block; padding: 12px; text-align: left; font-size: .8rem; }
.wallpaper-card img { aspect-ratio: 3 / 4; object-fit: cover; transition: transform .35s ease; }
.wallpaper-card:hover img,
.explore-card:hover img { transform: scale(1.04); }
.explore-card { position: relative; }
.explore-card img { aspect-ratio: 9 / 14; object-fit: cover; transition: transform .35s ease; }
.explore-section { margin-bottom: 38px; }
.explore-section .section-heading { margin-bottom: 14px; }

.daily-drop { margin-bottom: 38px; background: linear-gradient(135deg, #242426, #171719); }
.daily-drop h2 { margin: 0; font-size: 1.65rem; }
.daily-drop p { margin: 20px 0 0; color: var(--orange); }
.drop-swatches { display: flex; gap: 34px; margin-top: 24px; }
.drop-swatches i { width: 62px; aspect-ratio: 1; border-radius: 50%; background: conic-gradient(#ff0bd5, #49dbff, #9b64ff, #ff0bd5); }
.drop-swatches i:nth-child(2) { background: conic-gradient(#0b8b25, #85ff5a, #159a34); }
.drop-swatches i:nth-child(3) { background: conic-gradient(red, #ff0, #0f0, #0ff, blue, #f0f, red); }

.live-group { margin-bottom: 42px; }
.live-rail { grid-auto-columns: minmax(170px, 24%); }
.live-card { position: relative; }
.live-card img { aspect-ratio: 9 / 14; object-fit: cover; }
.play-icon {
    position: absolute;
    inset: 50% auto auto 50%;
    display: grid;
    place-items: center;
    width: 48px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: rgba(4, 5, 11, .78);
    transform: translate(-50%, -50%);
}
.live-rail.is-expanded { grid-auto-flow: row; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: visible; }

.edge-nav {
    position: fixed;
    z-index: 30;
    left: 50%;
    bottom: var(--edge-size);
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    width: calc(min(100%, 430px) - (var(--edge-size) * 2));
    min-height: 82px;
    padding: 8px 14px max(8px, env(safe-area-inset-bottom));
    border-radius: 0 0 max(0px, calc(var(--edge-radius) - var(--edge-size))) max(0px, calc(var(--edge-radius) - var(--edge-size)));
    background: var(--dock);
    transform: translateX(-50%);
    box-shadow: 0 -12px 30px rgba(0, 0, 0, .3);
}
.nav-item {
    position: relative;
    display: grid;
    place-items: center;
    gap: 2px;
    min-width: 0;
    border: 0;
    background: transparent;
    color: #aaa8b0;
    cursor: pointer;
    text-decoration: none;
}
.nav-item span { font-size: 1.65rem; line-height: 1; }
.nav-item small { font-size: .76rem; }
.nav-item.is-active { color: #fff; }
.nav-item.is-active::before {
    display: none;
}
.nav-item.is-active span {
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--orange);
    box-shadow: 0 6px 16px rgba(255, 151, 56, .28);
}
.nav-item.is-active small { font-weight: 700; }

.preview-dialog {
    position: fixed;
    width: min(100%, 430px);
    max-width: none;
    height: 100vh;
    height: 100dvh;
    max-height: none;
    padding: 0;
    overflow: hidden;
    border: 0;
    border-radius: 0;
    color: var(--text);
    background: #050506;
    box-shadow: 0 0 70px #000;
}
.preview-dialog::backdrop { background: #050506; }
.preview-dialog::after {
    position: absolute;
    z-index: 5;
    inset: 0;
    padding: var(--edge-size);
    background:
        linear-gradient(90deg, var(--edge-colors)) top left / var(--edge-flow-distance) var(--edge-size) repeat-x,
        linear-gradient(180deg, var(--edge-colors)) top right / var(--edge-size) var(--edge-flow-distance) repeat-y,
        linear-gradient(270deg, var(--edge-colors)) bottom right / var(--edge-flow-distance) var(--edge-size) repeat-x,
        linear-gradient(0deg, var(--edge-colors)) bottom left / var(--edge-size) var(--edge-flow-distance) repeat-y;
    content: "";
    pointer-events: none;
    animation: edge-flow var(--line-speed) linear infinite;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
}
.preview-dialog.is-preview-off::after { display: none; }
.preview-media { position: absolute; inset: 0; display: grid; place-items: center; background: #000; }
.preview-media img,
.preview-media video { width: 100%; height: 100%; object-fit: cover; }
.detail-toolbar {
    position: absolute;
    z-index: 4;
    top: max(24px, env(safe-area-inset-top, 0px));
    left: 22px;
    right: 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.dialog-close {
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    padding: 0;
    border-radius: 50%;
    color: #fff;
    background: rgba(0, 0, 0, .35);
    font-size: 2.4rem;
    line-height: 1;
    backdrop-filter: blur(8px);
}
.preview-toggle { display: flex; align-items: center; gap: 10px; font-size: 1.05rem; font-weight: 800; cursor: pointer; text-shadow: 0 2px 8px #000; }
.preview-toggle input { position: absolute; opacity: 0; pointer-events: none; }
.preview-toggle span { width: 30px; height: 30px; border: 3px solid #fff; border-radius: 5px; }
.preview-toggle input:checked + span { background: var(--orange); box-shadow: inset 0 0 0 5px rgba(0, 0, 0, .35); }
.preview-copy {
    position: absolute;
    z-index: 3;
    right: 0;
    bottom: 0;
    left: 0;
    display: grid;
    place-items: center;
    min-height: 35vh;
    padding: 70px 24px max(46px, calc(26px + env(safe-area-inset-bottom, 0px)));
    background: linear-gradient(to bottom, transparent, rgba(0, 0, 0, .74) 28%, rgba(0, 0, 0, .96));
    text-align: center;
}
.preview-copy h2 { margin: 0 0 18px; font-size: 1.75rem; text-shadow: 0 2px 12px #000; }
.preview-copy button { min-width: 190px; min-height: 58px; padding: 0 24px; border-radius: 12px; background: #536eae; color: #fff; font-size: 1.05rem; font-weight: 800; }
.preview-ad {
    width: min(100%, 360px);
    min-height: 90px;
    margin: 0 0 18px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 12px;
    background: rgba(20, 20, 22, .88);
}
.preview-ad .ad-placeholder,
.preview-ad > div[id^="gpt-ad-"] { display: grid; place-items: center; width: 100%; min-height: 90px; }
.preview-ad .ad-placeholder { color: #8f8c95; font-size: .64rem; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

.detail-page { padding-bottom: 70px; }
.wallpaper-detail { overflow: hidden; border: 1px solid #303034; border-radius: 20px; background: var(--panel); }
.detail-media { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: #000; }
.detail-media img,
.detail-media video { display: block; width: 100%; height: 100%; object-fit: cover; }
.detail-copy { padding: 24px; }
.detail-copy h1 { margin: 7px 0 10px; font-size: 1.65rem; letter-spacing: 0; }
.detail-copy p { margin: 0 0 20px; color: #b4b2b9; line-height: 1.65; }
.detail-save {
    display: grid;
    place-items: center;
    min-height: 56px;
    border-radius: 12px;
    color: #fff;
    background: #536eae;
    font-weight: 800;
    text-decoration: none;
}
.detail-related { margin-top: 38px; }
.detail-related .wallpaper-card { position: relative; }

.seo-section {
    margin: 46px 0 0;
    padding-top: 36px;
    border-top: 1px solid #2b2b2f;
}
.seo-section h2,
.seo-section h3 { letter-spacing: 0; }
.seo-section h2 { margin: 0 0 16px; font-size: 1.55rem; line-height: 1.25; }
.seo-section h3 { margin: 30px 0 12px; font-size: 1.1rem; }
.seo-section p,
.setup-steps { color: #bbb9c0; font-size: .93rem; line-height: 1.7; }
.setup-steps { display: grid; gap: 14px; margin: 18px 0; padding-left: 22px; }
.setup-steps strong { color: #fff; }
.setup-note { padding: 15px 16px; border-left: 3px solid var(--orange); background: #18181a; }
.faq-section details { border-bottom: 1px solid #2b2b2f; }
.faq-section summary { padding: 18px 28px 18px 0; font-weight: 700; line-height: 1.45; cursor: pointer; }
.faq-section details p { margin: 0; padding: 0 0 18px; }
.edge-footer { margin-top: 42px; padding: 26px 0 10px; border-top: 1px solid #2b2b2f; color: var(--muted); text-align: center; }
.edge-footer nav { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 22px; }
.edge-footer a,
.info-topbar a,
.content-copy a { color: #ffad63; }
.edge-footer p { margin: 18px 0 0; font-size: .78rem; }

.content-app { padding-bottom: 60px; overflow: visible; }
.info-topbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 42px; }
.info-topbar a { text-decoration: none; font-weight: 700; }
.info-brand { color: #fff; font-size: 1.05rem; font-weight: 800; }
.content-copy h1 { margin: 0 0 16px; font-size: 2rem; line-height: 1.15; letter-spacing: 0; }
.content-copy > p:first-of-type { color: #d0ced4; font-size: 1.05rem; line-height: 1.7; }
.content-copy section { margin-top: 38px; }
.content-copy h2 { margin: 0 0 12px; font-size: 1.3rem; letter-spacing: 0; }
.content-copy p { color: #b4b2b9; line-height: 1.75; }
.contact-list { display: grid; gap: 0; margin-top: 28px; }
.contact-item { padding: 24px 0; border-top: 1px solid #2b2b2f; }
.contact-item h2 { margin-bottom: 8px; }
.contact-item p { margin: 0; }

.edge-app { padding: 20px 18px 140px; }
.app-header { margin-bottom: 24px; }
.eyebrow { display: none; }
.header-actions { gap: 8px; }
.reset-button { min-height: 42px; padding: 0 14px; }
.settings-button { width: 46px; height: 46px; font-size: 1.25rem; }
.color-grid { grid-template-columns: repeat(5, minmax(54px, 1fr)); gap: 8px; overflow-x: auto; }
.color-choice, .type-choice, .type-more { min-height: 76px; border-radius: 18px; }
.swatch { width: 36px; }
.type-grid { grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 5px; }
.media-rail { grid-auto-columns: 42%; }
.media-card img { height: 180px; }
.portrait-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.wallpaper-grid, .explore-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.wallpaper-card, .explore-card, .portrait-card, .media-card, .live-card { border-radius: 16px; }
.settings-panel label { grid-template-columns: 1fr; gap: 8px; }
.live-rail { grid-auto-columns: 62%; }
.live-rail.is-expanded { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.edge-nav { min-height: 76px; }
.nav-item small { font-size: .66rem; }
.nav-item span { font-size: 1.35rem; }

@media (max-width: 349px) {
    .app-header { gap: 8px; }
    .app-header h1 { font-size: 1.1rem; }
    .reset-button { min-height: 40px; padding: 0 10px; font-size: .82rem; }
    .settings-button { width: 40px; height: 40px; font-size: 1.05rem; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; scroll-behavior: auto !important; }
}