.main { position: relative; }
.web-addon-chevron { margin-left: auto; color: #8f8f96; font-size: 18px; transition: transform .18s; }
.web-addon-chevron.open { transform: rotate(180deg); }
.web-addon-submenu[hidden] { display: none; }
.web-personalization-addon { position: absolute; z-index: 40; inset: 82px 0 0; min-height: calc(100vh - 82px); overflow: auto; background: #0c0c0d; text-align: left; }
.web-personalization-addon[hidden] { display: none; }
.web-theme-addon-content { display: grid; gap: 18px; padding: 24px 30px 34px; }
.web-theme-addon-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 22px; }
.web-theme-addon-header h1 { margin: 4px 0 6px; color: #f4f4f5; font-size: 28px; line-height: 1.1; }
.web-theme-addon-header > div:first-child > p:last-child { max-width: 720px; margin: 0; color: #a7a7af; line-height: 1.45; }
.web-theme-addon-kicker { display: flex; align-items: center; gap: 7px; margin: 0; color: #ff6fe2; font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.web-theme-addon-kicker svg, .web-theme-addon-actions svg, .web-theme-addon-selected svg, .web-theme-addon-add-visual svg { width: 18px; height: 18px; }
.web-theme-addon-published { min-width: 210px; padding: 13px 16px; border: 1px solid #38d08347; border-radius: 12px; background: #1774481a; }
.web-theme-addon-published span, .web-theme-addon-published strong { display: block; }
.web-theme-addon-published span { margin-bottom: 4px; color: #75cfa2; font-size: 11px; font-weight: 700; text-transform: uppercase; }
.web-theme-addon-published strong { color: #f4f4f5; font-size: 15px; }
.web-theme-addon-specs { display: grid; gap: 3px; padding: 13px 16px; border: 1px solid #34343a; border-radius: 12px; background: linear-gradient(135deg,#ff2bd614,#4c379314); }
.web-theme-addon-specs strong { color: #f2f2f4; font-size: 13px; }
.web-theme-addon-specs span { color: #96969e; font-size: 12px; line-height: 1.4; }
.web-theme-addon-gallery { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(270px,310px); gap: 14px; padding: 3px 2px 12px; overflow-x: auto; scroll-snap-type: x proximity; scrollbar-color: #4c4c54 #1a1a1d; }
.web-theme-addon-card { min-width: 0; padding: 0; overflow: hidden; scroll-snap-align: start; border: 1px solid #38383e; border-radius: 16px; background: #19191c; color: #f4f4f6; font: inherit; text-align: left; cursor: pointer; transition: border-color .18s,transform .18s,box-shadow .18s; }
.web-theme-addon-card:hover { transform: translateY(-2px); border-color: #616169; box-shadow: 0 12px 28px #0003; }
.web-theme-addon-card.selected { border-color: #ff2bd6; box-shadow: 0 0 0 2px #ff2bd626,0 12px 30px #ff2bd617; }
.web-theme-addon-image { position: relative; display: block; height: 160px; background-position: center; background-size: cover; }
.web-theme-addon-image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg,transparent 38%,#0404069e); }
.web-theme-addon-image.original { background: radial-gradient(circle at 24% 30%,#ff2bd647,transparent 34%),radial-gradient(circle at 80% 70%,#5935bc4d,transparent 36%),#09090b; }
.web-theme-addon-image.original::before { content: "GAMESROCK"; position: absolute; inset: 0; display: grid; place-items: center; color: #ffffffdb; font-size: 19px; font-weight: 900; letter-spacing: .2em; }
.web-theme-addon-selected,.web-theme-addon-live { position: absolute; z-index: 1; top: 10px; display: flex; align-items: center; gap: 5px; padding: 5px 8px; border-radius: 999px; font-size: 10px; font-weight: 800; }
.web-theme-addon-selected { left: 10px; background: #ff2bd6; color: #140110; }
.web-theme-addon-selected svg { width: 14px; height: 14px; }
.web-theme-addon-live { right: 10px; background: #107c47eb; color: #eafff3; }
.web-theme-addon-copy { display: block; min-height: 78px; padding: 13px 14px 14px; }
.web-theme-addon-copy strong,.web-theme-addon-copy small { display: block; }
.web-theme-addon-copy strong { margin-bottom: 5px; color: #f4f4f6; font-size: 15px; }
.web-theme-addon-copy small { color: #92929a; font-size: 11px; line-height: 1.4; }
.web-theme-addon-add { border-style: dashed; }
.web-theme-addon-add-visual { display: grid; height: 160px; place-content: center; justify-items: center; gap: 9px; background: linear-gradient(135deg,#ff2bd614,#3671d714); color: #ff77e4; }
.web-theme-addon-add-visual svg { width: 36px; height: 36px; }
.web-theme-addon-add-visual strong { color: #e6e6e9; font-size: 14px; }
.web-theme-addon-controls { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 14px; }
.web-theme-addon-control { display: grid; gap: 12px; min-width: 0; padding: 16px; border: 1px solid #34343a; border-radius: 14px; background: #171719; }
.web-theme-addon-control-title { display: flex; align-items: flex-start; justify-content: space-between; gap: 14px; }
.web-theme-addon-control-title > span { min-width: 0; }
.web-theme-addon-control-title strong,.web-theme-addon-control-title small { display: block; }
.web-theme-addon-control-title strong { margin-bottom: 4px; color: #f2f2f4; font-size: 14px; }
.web-theme-addon-control-title small { color: #92929a; font-size: 11px; line-height: 1.4; }
.web-theme-addon-control-title output { min-width: 52px; padding: 6px 8px; border-radius: 8px; background: #ff2bd61a; color: #ff7ce5; font-size: 13px; font-weight: 800; text-align: center; }
.web-theme-addon-opacity input[type="range"] { width: 100%; accent-color: #ff2bd6; cursor: pointer; }
.web-theme-addon-range-labels { display: flex; justify-content: space-between; color: #85858d; }
.web-theme-addon-banner input { width: 100%; min-height: 40px; box-sizing: border-box; padding: 9px 11px; border: 1px solid #404047; border-radius: 9px; outline: none; background: #0f0f11; color: #f4f4f5; font: inherit; }
.web-theme-addon-banner input:focus { border-color: #ff2bd6; box-shadow: 0 0 0 3px #ff2bd619; }
.web-theme-addon-banner-preview { min-height: 18px; overflow: hidden; color: #ff78e4; font-size: 12px; font-weight: 700; letter-spacing: .04em; text-overflow: ellipsis; white-space: nowrap; }
.web-theme-addon-message { min-height: 34px; margin: -5px 0 0; padding: 9px 13px; border-radius: 8px; color: #9999a1; font-size: 12px; }
.web-theme-addon-message:empty { visibility: hidden; }
.web-theme-addon-message.success { background: #17744826; color: #83ddb0; }
.web-theme-addon-message.error { background: #a62b3729; color: #ff9ca5; }
.web-theme-addon-actions { display: grid; grid-template-columns: minmax(180px,1fr) auto auto; align-items: center; gap: 10px; padding: 14px 16px; border: 1px solid #34343a; border-radius: 13px; background: #171719; }
.web-theme-addon-actions > div span,.web-theme-addon-actions > div strong { display: block; }
.web-theme-addon-actions > div span { margin-bottom: 3px; color: #8e8e96; font-size: 10px; text-transform: uppercase; }
.web-theme-addon-actions > div strong { color: #f4f4f5; font-size: 14px; }
.web-theme-addon-actions button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; min-height: 40px; }
@media (max-width:820px) { .web-theme-addon-header { align-items: stretch; flex-direction: column; } .web-theme-addon-published { min-width: 0; } .web-theme-addon-controls { grid-template-columns:1fr; } .web-theme-addon-actions { grid-template-columns:1fr 1fr; } .web-theme-addon-actions > div { grid-column:1/-1; } }
@media (max-width:750px) { .web-personalization-addon { inset:82px 0 0; } .web-addon-submenu { padding-left:0; } .web-theme-addon-content { padding:18px 16px 28px; } }
@media (max-width:560px) { .web-theme-addon-gallery { grid-auto-columns:minmax(245px,86vw); } .web-theme-addon-image,.web-theme-addon-add-visual { height:138px; } .web-theme-addon-actions { grid-template-columns:1fr; } .web-theme-addon-actions > div { grid-column:auto; } .web-theme-addon-actions button { width:100%; } }
