.alfacity-story-widget {
max-width: 980px;
margin: 30px auto;
padding: 24px;
background: #11141a;
color: #f1f5f9;
border: 1px solid #1e2633;
border-radius: 20px;
box-shadow: 0 20px 50px rgba(0, 0, 0, 0.45);
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
box-sizing: border-box;
}
.alfacity-story-widget * {
box-sizing: border-box;
} .asw-header-bar {
display: flex;
align-items: center;
justify-content: space-between;
gap: 20px;
padding-bottom: 20px;
margin-bottom: 24px;
border-bottom: 1px solid #1e2633;
flex-wrap: wrap;
}
.asw-title-wrap {
flex: 1;
min-width: 240px;
}
.asw-main-heading {
margin: 0 0 6px 0;
font-size: 24px;
font-weight: 800;
color: #ffffff;
letter-spacing: -0.5px;
display: flex;
align-items: center;
gap: 8px;
}
.asw-sub-heading {
margin: 0;
font-size: 14px;
color: #94a3b8;
line-height: 1.4;
} .asw-frame-selector {
display: flex;
align-items: center;
gap: 12px;
}
.asw-selector-label {
font-size: 13px;
font-weight: 600;
color: #cbd5e1;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.asw-frame-buttons {
display: flex;
gap: 8px;
background: #1a202c;
padding: 4px;
border-radius: 12px;
border: 1px solid #2d3748;
}
.asw-frame-btn {
display: inline-flex;
align-items: center;
gap: 8px;
padding: 8px 16px;
background: transparent;
color: #94a3b8;
border: none;
border-radius: 8px;
font-size: 13px;
font-weight: 700;
cursor: pointer;
transition: all 0.2s ease;
}
.asw-frame-btn:hover {
color: #ffffff;
background: rgba(255, 255, 255, 0.05);
}
.asw-frame-btn.active {
background: #FF3101;
color: #ffffff;
box-shadow: 0 2px 10px rgba(255, 49, 1, 0.35);
}
.asw-frame-dot {
width: 8px;
height: 8px;
border-radius: 50%;
background: currentColor;
opacity: 0.8;
} .asw-workspace-layout {
display: grid;
grid-template-columns: minmax(320px, 420px) 1fr;
gap: 30px;
align-items: start;
}
@media (max-width: 860px) {
.asw-workspace-layout {
grid-template-columns: 1fr;
gap: 24px;
}
} .asw-canvas-card {
display: flex;
justify-content: center;
}
.asw-canvas-container {
position: relative;
width: 100%;
max-width: 400px;
aspect-ratio: 1080 / 1930;
background: transparent;
border-radius: 20px;
overflow: hidden;
filter: drop-shadow(0 16px 36px rgba(0, 0, 0, 0.55));
touch-action: none;
user-select: none;
cursor: grab;
}
.asw-canvas-container:active {
cursor: grabbing;
}
#asw-canvas {
width: 100%;
height: 100%;
display: block;
pointer-events: none;
} .asw-dropzone-overlay {
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
display: flex;
align-items: center;
justify-content: center;
padding: 24px;
background: rgba(9, 11, 14, 0.65);
backdrop-filter: blur(4px);
cursor: pointer;
transition: background 0.2s ease;
z-index: 10;
}
.asw-dropzone-overlay:hover {
background: rgba(9, 11, 14, 0.45);
}
.asw-drop-content {
text-align: center;
max-width: 280px;
pointer-events: none;
}
.asw-drop-icon {
width: 72px;
height: 72px;
margin: 0 auto 16px;
border-radius: 50%;
background: rgba(255, 49, 1, 0.12);
border: 2px dashed #FF3101;
display: flex;
align-items: center;
justify-content: center;
color: #FF3101;
transition: transform 0.2s ease;
}
.asw-dropzone-overlay:hover .asw-drop-icon {
transform: scale(1.08);
}
.asw-drop-title {
margin: 0 0 6px 0;
font-size: 18px;
font-weight: 800;
color: #ffffff;
}
.asw-drop-desc {
margin: 0 0 16px 0;
font-size: 13px;
color: #94a3b8;
line-height: 1.4;
}
.asw-btn-upload-trigger {
background: #FF3101;
color: #ffffff;
border: none;
padding: 10px 20px;
border-radius: 10px;
font-size: 14px;
font-weight: 700;
box-shadow: 0 4px 14px rgba(255, 49, 1, 0.4);
} .asw-canvas-hint {
position: absolute;
bottom: 12px;
left: 50%;
transform: translateX(-50%);
background: rgba(0, 0, 0, 0.75);
backdrop-filter: blur(6px);
color: #cbd5e1;
font-size: 11px;
font-weight: 600;
padding: 5px 12px;
border-radius: 20px;
pointer-events: none;
border: 1px solid rgba(255, 255, 255, 0.1);
transition: opacity 0.3s;
z-index: 5;
display: none;
white-space: nowrap;
} .asw-controls-column {
display: flex;
flex-direction: column;
gap: 20px;
}
.asw-control-box {
background: #161b24;
border: 1px solid #232b3a;
border-radius: 16px;
padding: 20px;
}
.asw-box-header {
display: flex;
align-items: center;
justify-content: space-between;
margin-bottom: 16px;
}
.asw-box-title {
font-size: 15px;
font-weight: 700;
color: #ffffff;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.asw-link-btn {
background: none;
border: none;
color: #FF3101;
font-size: 13px;
font-weight: 600;
cursor: pointer;
padding: 4px 8px;
border-radius: 6px;
transition: background 0.2s;
}
.asw-link-btn:hover {
background: rgba(255, 49, 1, 0.1);
} .asw-btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 8px;
padding: 12px 20px;
border-radius: 10px;
font-size: 14px;
font-weight: 700;
cursor: pointer;
border: none;
transition: all 0.2s ease;
text-decoration: none;
}
.asw-btn-block {
width: 100%;
}
.asw-btn-primary {
background: #FF3101;
color: #ffffff;
box-shadow: 0 4px 14px rgba(255, 49, 1, 0.35);
}
.asw-btn-primary:hover {
background: #e02b00;
transform: translateY(-1px);
box-shadow: 0 6px 18px rgba(255, 49, 1, 0.45);
} .asw-slider-group {
margin-bottom: 20px;
}
.asw-slider-label {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 10px;
font-size: 13px;
font-weight: 600;
color: #cbd5e1;
}
.asw-slider-badge {
background: #242d3d;
color: #f8fafc;
padding: 2px 8px;
border-radius: 6px;
font-size: 11px;
font-weight: 700;
}
.asw-slider-row {
display: flex;
align-items: center;
gap: 12px;
}
.asw-mini-btn {
width: 32px;
height: 32px;
border-radius: 8px;
border: 1px solid #2e384d;
background: #1f2735;
color: #cbd5e1;
font-size: 16px;
font-weight: 700;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.15s;
}
.asw-mini-btn:hover {
background: #2b364a;
color: #ffffff;
border-color: #3b4761;
}
.asw-range {
flex: 1;
-webkit-appearance: none;
appearance: none;
height: 6px;
border-radius: 3px;
background: #2e384d;
outline: none;
}
.asw-range::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 20px;
height: 20px;
border-radius: 50%;
background: #FF3101;
cursor: pointer;
box-shadow: 0 0 8px rgba(255, 49, 1, 0.6);
transition: transform 0.1s;
}
.asw-range::-webkit-slider-thumb:hover {
transform: scale(1.15);
}
.asw-range::-moz-range-thumb {
width: 20px;
height: 20px;
border-radius: 50%;
background: #FF3101;
cursor: pointer;
border: none;
box-shadow: 0 0 8px rgba(255, 49, 1, 0.6);
} .asw-btn-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 10px;
margin-bottom: 16px;
}
.asw-action-btn {
display: inline-flex;
align-items: center;
justify-content: center;
gap: 6px;
padding: 10px 12px;
background: #1e2634;
color: #cbd5e1;
border: 1px solid #2d384d;
border-radius: 8px;
font-size: 12.5px;
font-weight: 600;
cursor: pointer;
transition: all 0.2s ease;
}
.asw-action-btn:hover {
background: #273244;
color: #ffffff;
border-color: #404f6b;
transform: translateY(-1px);
} .asw-nudge-box {
background: #121620;
border: 1px solid #1f2737;
border-radius: 12px;
padding: 14px;
margin-bottom: 16px;
text-align: center;
}
.asw-nudge-label {
display: block;
font-size: 12px;
font-weight: 700;
color: #94a3b8;
text-transform: uppercase;
letter-spacing: 0.5px;
margin-bottom: 10px;
}
.asw-nudge-matrix {
display: inline-flex;
flex-direction: column;
align-items: center;
gap: 6px;
}
.asw-nudge-middle {
display: flex;
align-items: center;
gap: 6px;
}
.asw-nudge-btn {
width: 38px;
height: 38px;
border-radius: 8px;
background: #1e2634;
color: #e2e8f0;
border: 1px solid #2d384d;
font-size: 14px;
font-weight: 700;
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
transition: all 0.15s ease;
}
.asw-nudge-btn:hover {
background: #FF3101;
color: #ffffff;
border-color: #FF3101;
box-shadow: 0 0 10px rgba(255, 49, 1, 0.4);
transform: scale(1.05);
}
.asw-nudge-reset {
background: #263143;
color: #f1f5f9;
} .asw-info-banner {
display: flex;
align-items: flex-start;
gap: 8px;
background: rgba(255, 49, 1, 0.08);
border: 1px solid rgba(255, 49, 1, 0.25);
padding: 10px 12px;
border-radius: 8px;
font-size: 11.5px;
color: #cbd5e1;
line-height: 1.4;
}
.asw-info-icon {
font-size: 13px;
flex-shrink: 0;
margin-top: 1px;
} .asw-export-box {
background: #141923;
border-color: #263143;
}
.asw-btn-download {
background: linear-gradient(135deg, #FF3101 0%, #e02800 100%);
color: #ffffff;
padding: 16px 24px;
font-size: 16px;
font-weight: 800;
border-radius: 12px;
box-shadow: 0 8px 24px rgba(255, 49, 1, 0.4);
margin-bottom: 10px;
}
.asw-btn-download:hover:not(:disabled) {
background: linear-gradient(135deg, #ff4920 0%, #eb2f04 100%);
transform: translateY(-2px);
box-shadow: 0 12px 28px rgba(255, 49, 1, 0.5);
}
.asw-btn-download:disabled {
opacity: 0.45;
cursor: not-allowed;
box-shadow: none;
transform: none;
}
.asw-btn-share {
background: #1e2634;
color: #ffffff;
border: 1px solid #2d3748;
padding: 12px 20px;
margin-bottom: 10px;
}
.asw-btn-share:hover {
background: #283346;
border-color: #4a5568;
}
.asw-export-note {
margin: 0;
font-size: 11.5px;
color: #64748b;
text-align: center;
line-height: 1.4;
}