@wsl233/dsh-gomoku 0.4.0 → 0.4.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/ui/gomoku.css CHANGED
@@ -1951,3 +1951,1109 @@
1951
1951
  .gk-an-variant-body { flex-direction: column; }
1952
1952
  .gk-an-variant-body canvas { width: 100%; max-width: 240px; }
1953
1953
  }
1954
+
1955
+ /* ============================================================
1956
+ Visual refresh: 棋谱纸 / 朱砂 · 松烟 · 靛青
1957
+ Scope: visual + motion only. Interaction structure untouched.
1958
+ ============================================================ */
1959
+
1960
+ .gk-app {
1961
+ --gk-ink: #2a2118;
1962
+ --gk-ink-soft: #5b4f42;
1963
+ --gk-muted: #7d6f5f;
1964
+ --gk-line: #dfd2bf;
1965
+ --gk-line-soft: #ece3d5;
1966
+ --gk-paper: #fbf6ec;
1967
+ --gk-paper-2: #f6efdf;
1968
+ --gk-board: #e8cb9d;
1969
+ --gk-board-line: #8a5a2b;
1970
+ --gk-accent: #b23a1f;
1971
+ --gk-accent-soft: #f2dfd6;
1972
+ --gk-accent-deep: #862a15;
1973
+ --gk-sans: "Segoe UI", "Microsoft YaHei", "PingFang SC", "Noto Sans SC", sans-serif;
1974
+ --gk-serif: "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", SimSun, serif;
1975
+ --gk-orange: var(--gk-accent);
1976
+ --gk-orange-strong: var(--gk-accent-deep);
1977
+ --gk-orange-deep: var(--gk-accent-deep);
1978
+ --gk-orange-soft: var(--gk-accent-soft);
1979
+ --gk-orange-line: var(--gk-line);
1980
+ color: var(--gk-ink);
1981
+ background-color: var(--gk-paper);
1982
+ background-image: radial-gradient(rgba(60, 42, 24, 0.045) 0.55px, transparent 0.7px);
1983
+ background-size: 5px 5px;
1984
+ font-family: "Segoe UI", "PingFang SC", "Microsoft YaHei", system-ui, sans-serif;
1985
+ transition: background-color 220ms ease, color 220ms ease;
1986
+ }
1987
+
1988
+ .gk-app[data-theme="pine"] {
1989
+ --gk-accent: #2f6b57;
1990
+ --gk-accent-soft: #e0ede7;
1991
+ --gk-accent-deep: #1e4a3b;
1992
+ --gk-board: #d8cab0;
1993
+ --gk-board-line: #5f6f52;
1994
+ }
1995
+
1996
+ .gk-app[data-theme="indigo"] {
1997
+ --gk-accent: #3f5a8a;
1998
+ --gk-accent-soft: #e3e8f1;
1999
+ --gk-accent-deep: #2a3f65;
2000
+ --gk-board: #d9cdb8;
2001
+ --gk-board-line: #4d5a72;
2002
+ }
2003
+
2004
+ .gk-app .gk-brand-mark {
2005
+ width: 34px;
2006
+ height: 34px;
2007
+ color: var(--gk-ink);
2008
+ }
2009
+ .gk-app .gk-brand-mark svg {
2010
+ width: 32px;
2011
+ height: 32px;
2012
+ }
2013
+
2014
+ .gk-app .gk-brand h1 {
2015
+ font-family: "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", SimSun, serif;
2016
+ font-size: 26px;
2017
+ font-weight: 600;
2018
+ letter-spacing: 0.08em;
2019
+ }
2020
+ .gk-app .gk-brand-sub {
2021
+ color: var(--gk-muted);
2022
+ font-size: 9px;
2023
+ font-weight: 600;
2024
+ letter-spacing: 0.3em;
2025
+ }
2026
+ .gk-app .gk-preview-badge {
2027
+ padding: 2px 6px;
2028
+ border: 1px solid var(--gk-line);
2029
+ border-radius: 3px;
2030
+ color: var(--gk-muted);
2031
+ font-size: 9.5px;
2032
+ letter-spacing: 0.06em;
2033
+ }
2034
+
2035
+ .gk-app .gk-header {
2036
+ align-items: center;
2037
+ gap: 16px;
2038
+ padding-bottom: 12px;
2039
+ border-bottom: 1px solid var(--gk-line);
2040
+ }
2041
+
2042
+ /* theme swatches */
2043
+ .gk-app .gk-themes {
2044
+ display: inline-flex;
2045
+ align-items: center;
2046
+ gap: 9px;
2047
+ padding: 2px 0;
2048
+ }
2049
+ .gk-app .gk-theme {
2050
+ width: 15px;
2051
+ height: 15px;
2052
+ padding: 0;
2053
+ border: 1px solid rgba(42, 33, 24, 0.18);
2054
+ border-radius: 50%;
2055
+ cursor: pointer;
2056
+ box-shadow: none;
2057
+ transition: transform 160ms ease, box-shadow 160ms ease;
2058
+ }
2059
+ .gk-app .gk-theme.is-vermilion { background: #b23a1f; }
2060
+ .gk-app .gk-theme.is-pine { background: #2f6b57; }
2061
+ .gk-app .gk-theme.is-indigo { background: #3f5a8a; }
2062
+ .gk-app .gk-theme[aria-pressed="true"] {
2063
+ box-shadow: 0 0 0 2px var(--gk-paper), 0 0 0 3px var(--gk-ink);
2064
+ }
2065
+ .gk-app .gk-theme:hover { transform: scale(1.14); }
2066
+ .gk-app .gk-theme:active { transform: scale(0.9); }
2067
+
2068
+ /* toolbar: no capsule, no white card */
2069
+ .gk-app .gk-toolbar {
2070
+ gap: 3px;
2071
+ padding: 0;
2072
+ border: 0;
2073
+ border-radius: 0;
2074
+ background: transparent;
2075
+ box-shadow: none;
2076
+ margin-left: auto;
2077
+ }
2078
+ .gk-app .gk-winrate {
2079
+ height: 32px;
2080
+ margin: 0 4px 0 0;
2081
+ padding: 0 10px 0 2px;
2082
+ border: 0;
2083
+ border-radius: 0;
2084
+ background: transparent;
2085
+ box-shadow: none;
2086
+ color: var(--gk-ink-soft);
2087
+ font-size: 12px;
2088
+ gap: 6px;
2089
+ }
2090
+ .gk-app .gk-winrate-dot {
2091
+ width: 7px;
2092
+ height: 7px;
2093
+ }
2094
+ .gk-app .gk-winrate-dot.is-black { background: var(--gk-ink); }
2095
+ .gk-app .gk-winrate-dot.is-white { background: #fffdf8; border-color: #9d8d78; }
2096
+ .gk-app .gk-winrate-sep { color: var(--gk-line); }
2097
+ .gk-app .gk-toolbar-divider {
2098
+ width: 1px;
2099
+ height: 22px;
2100
+ margin: 0 5px;
2101
+ background: var(--gk-line);
2102
+ }
2103
+ .gk-app .gk-tool {
2104
+ width: 38px;
2105
+ height: 38px;
2106
+ border: 0;
2107
+ border-radius: 50%;
2108
+ background: transparent;
2109
+ color: var(--gk-ink-soft);
2110
+ box-shadow: none;
2111
+ transition: background-color 160ms ease, color 160ms ease, transform 120ms ease;
2112
+ }
2113
+ .gk-app .gk-tool:hover {
2114
+ background: var(--gk-accent-soft);
2115
+ color: var(--gk-accent-deep);
2116
+ }
2117
+ .gk-app .gk-tool:active { transform: scale(0.94); }
2118
+ .gk-app .gk-tool.is-active {
2119
+ background: var(--gk-accent);
2120
+ color: #fffdf8;
2121
+ }
2122
+ .gk-app .gk-tool:disabled {
2123
+ color: #b5a795;
2124
+ opacity: 1;
2125
+ }
2126
+ .gk-app .gk-tool[hidden] { display: none; }
2127
+
2128
+ /* board: one felt surface, no card-on-card */
2129
+ .gk-app .gk-stage {
2130
+ grid-template-columns: 96px minmax(0, 1fr) 96px;
2131
+ column-gap: 18px;
2132
+ row-gap: 10px;
2133
+ padding-top: 22px;
2134
+ }
2135
+ .gk-app .gk-board-wrap {
2136
+ max-width: 620px;
2137
+ padding: 0;
2138
+ border: 0;
2139
+ border-radius: 0;
2140
+ background: transparent;
2141
+ box-shadow: none;
2142
+ }
2143
+ .gk-app .gk-board {
2144
+ max-width: min(620px, 66vh);
2145
+ border-radius: 4px;
2146
+ background: var(--gk-board);
2147
+ box-shadow:
2148
+ 0 0 0 1px rgba(52, 34, 18, 0.22),
2149
+ 0 18px 48px rgba(70, 44, 18, 0.11);
2150
+ }
2151
+ .gk-app .gk-board:focus-visible {
2152
+ outline: 2px solid var(--gk-accent-deep);
2153
+ outline-offset: 3px;
2154
+ }
2155
+
2156
+ /* seats */
2157
+ .gk-app .gk-avatar {
2158
+ width: 54px;
2159
+ height: 54px;
2160
+ color: var(--gk-accent);
2161
+ }
2162
+ .gk-app .gk-opponent-wrap .gk-avatar {
2163
+ width: 74px;
2164
+ height: 74px;
2165
+ }
2166
+ .gk-app .gk-avatar-ring { stroke: currentColor; }
2167
+ .gk-app .gk-avatar-glyph {
2168
+ color: var(--gk-ink);
2169
+ font-size: 20px;
2170
+ font-weight: 600;
2171
+ }
2172
+ .gk-app .gk-plus {
2173
+ right: 2px;
2174
+ bottom: 2px;
2175
+ width: 20px;
2176
+ height: 20px;
2177
+ border: 2px solid var(--gk-paper);
2178
+ background: var(--gk-accent);
2179
+ color: #fffdf8;
2180
+ box-shadow: none;
2181
+ }
2182
+ .gk-app .gk-you-stone {
2183
+ right: 4px;
2184
+ bottom: 4px;
2185
+ border: 2px solid var(--gk-paper);
2186
+ box-shadow: none;
2187
+ }
2188
+ .gk-app .gk-player-label {
2189
+ max-width: 120px;
2190
+ padding: 2px 0 0;
2191
+ border: 0;
2192
+ border-radius: 0;
2193
+ background: transparent;
2194
+ box-shadow: none;
2195
+ color: var(--gk-muted);
2196
+ font-size: 11.5px;
2197
+ letter-spacing: 0.08em;
2198
+ }
2199
+ .gk-app .gk-player-label strong {
2200
+ color: var(--gk-accent-deep);
2201
+ font-weight: 600;
2202
+ }
2203
+ .gk-app .gk-opponent-wrap {
2204
+ transform: none;
2205
+ justify-self: center;
2206
+ }
2207
+ .gk-app .gk-you-wrap {
2208
+ transform: none;
2209
+ padding-bottom: 0;
2210
+ }
2211
+ .gk-app .gk-is-opponent .gk-player-label { text-align: center; }
2212
+
2213
+ /* status: turn is information, not a pill */
2214
+ .gk-app .gk-statusbar {
2215
+ gap: 8px;
2216
+ min-height: 26px;
2217
+ color: var(--gk-ink-soft);
2218
+ font-size: 12.5px;
2219
+ letter-spacing: 0.01em;
2220
+ }
2221
+ .gk-app .gk-status-dot {
2222
+ width: 6px;
2223
+ height: 6px;
2224
+ background: var(--gk-accent);
2225
+ box-shadow: none;
2226
+ }
2227
+ .gk-app .gk-status-sep { color: var(--gk-line); }
2228
+ .gk-app .gk-mode-pill {
2229
+ padding: 0;
2230
+ border: 0;
2231
+ border-radius: 0;
2232
+ background: transparent;
2233
+ color: var(--gk-muted);
2234
+ font-size: 11.5px;
2235
+ letter-spacing: 0.06em;
2236
+ }
2237
+ .gk-app .gk-hint-line {
2238
+ margin-top: 2px;
2239
+ color: var(--gk-muted);
2240
+ font-size: 12px;
2241
+ }
2242
+
2243
+ /* toast: a dark ink chip over the felt */
2244
+ .gk-app .gk-toast {
2245
+ top: 14px;
2246
+ gap: 7px;
2247
+ padding: 5px 11px;
2248
+ border: 0;
2249
+ border-radius: 4px;
2250
+ background: rgba(42, 33, 24, 0.92);
2251
+ color: #f8f1e5;
2252
+ box-shadow: 0 6px 18px rgba(42, 33, 24, 0.18);
2253
+ font-size: 11.5px;
2254
+ letter-spacing: 0.02em;
2255
+ }
2256
+ .gk-app .gk-spinner {
2257
+ width: 12px;
2258
+ height: 12px;
2259
+ border: 1.5px solid rgba(248, 241, 229, 0.28);
2260
+ border-top-color: #f8f1e5;
2261
+ }
2262
+
2263
+ /* menu */
2264
+ .gk-app .gk-menu {
2265
+ width: 300px;
2266
+ padding: 10px;
2267
+ border: 1px solid var(--gk-line);
2268
+ border-radius: 10px;
2269
+ background: var(--gk-paper);
2270
+ box-shadow: 0 18px 46px rgba(54, 32, 12, 0.16);
2271
+ animation: gk-sheet 150ms cubic-bezier(.22,.61,.36,1);
2272
+ }
2273
+ .gk-app .gk-menu-title {
2274
+ color: var(--gk-muted);
2275
+ font-size: 10.5px;
2276
+ letter-spacing: 0.12em;
2277
+ }
2278
+ .gk-app .gk-menu-row {
2279
+ border-radius: 6px;
2280
+ padding: 8px;
2281
+ }
2282
+ .gk-app .gk-menu-row:hover { background: var(--gk-accent-soft); }
2283
+ .gk-app .gk-menu-thumb {
2284
+ width: 32px;
2285
+ height: 32px;
2286
+ border: 1px solid var(--gk-line);
2287
+ border-radius: 50%;
2288
+ background: var(--gk-paper-2);
2289
+ }
2290
+ .gk-app .gk-menu-thumb.is-fish { background: var(--gk-paper-2); border-color: var(--gk-line); }
2291
+ .gk-app .gk-menu-thumb svg { width: 19px; height: 19px; color: var(--gk-accent-deep); }
2292
+ .gk-app .gk-menu-name { font-size: 13px; color: var(--gk-ink); }
2293
+ .gk-app .gk-menu-hint { font-size: 11.5px; color: var(--gk-muted); }
2294
+ .gk-app .gk-menu-note { color: var(--gk-muted); font-size: 11px; }
2295
+
2296
+ /* dialogs: paper, rule, one shadow */
2297
+ .gk-app .gk-modal {
2298
+ background: rgba(38, 29, 20, 0.34);
2299
+ backdrop-filter: blur(2px);
2300
+ }
2301
+ .gk-app .gk-dialog {
2302
+ padding: 22px;
2303
+ border: 1px solid var(--gk-line);
2304
+ border-radius: 12px;
2305
+ background: var(--gk-paper);
2306
+ box-shadow: 0 28px 70px rgba(40, 26, 12, 0.3);
2307
+ animation: gk-dialog 180ms cubic-bezier(.22,.61,.36,1);
2308
+ }
2309
+ .gk-app .gk-dialog-title {
2310
+ font-family: "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", SimSun, serif;
2311
+ font-weight: 600;
2312
+ letter-spacing: 0.04em;
2313
+ }
2314
+ .gk-app .gk-link-box {
2315
+ border: 1px solid var(--gk-line);
2316
+ border-radius: 5px;
2317
+ background: var(--gk-paper-2);
2318
+ box-shadow: none;
2319
+ }
2320
+ .gk-app .gk-link-input {
2321
+ color: var(--gk-ink-soft);
2322
+ font-size: 11.5px;
2323
+ }
2324
+ .gk-app .gk-link-input:focus-visible {
2325
+ outline: 2px solid var(--gk-accent-deep);
2326
+ outline-offset: 2px;
2327
+ }
2328
+ .gk-app .gk-icon-btn {
2329
+ width: 30px;
2330
+ height: 30px;
2331
+ border: 1px solid var(--gk-line);
2332
+ border-radius: 4px;
2333
+ background: var(--gk-paper);
2334
+ color: var(--gk-accent-deep);
2335
+ }
2336
+ .gk-app .gk-icon-btn:hover { background: var(--gk-accent-soft); }
2337
+ .gk-app .gk-qr-slot {
2338
+ border: 1px solid var(--gk-line);
2339
+ border-radius: 6px;
2340
+ background: var(--gk-paper-2);
2341
+ }
2342
+ .gk-app .gk-btn {
2343
+ padding: 7px 13px;
2344
+ border: 1px solid var(--gk-line);
2345
+ border-radius: 4px;
2346
+ background: var(--gk-paper-2);
2347
+ color: var(--gk-ink);
2348
+ font-size: 12px;
2349
+ transition: background-color 160ms ease, border-color 160ms ease, color 160ms ease;
2350
+ }
2351
+ .gk-app .gk-btn:hover { background: var(--gk-accent-soft); border-color: var(--gk-accent); }
2352
+ .gk-app .gk-btn.is-primary {
2353
+ border-color: var(--gk-accent-deep);
2354
+ background: var(--gk-accent-deep);
2355
+ color: #fffdf8;
2356
+ }
2357
+ .gk-app .gk-btn.is-primary:hover { background: var(--gk-accent); border-color: var(--gk-accent); }
2358
+ .gk-app .gk-code-input {
2359
+ border: 1px solid var(--gk-line);
2360
+ border-radius: 4px;
2361
+ background: var(--gk-paper-2);
2362
+ color: var(--gk-ink);
2363
+ font: 11px/1.5 Consolas, "Courier New", monospace;
2364
+ }
2365
+ .gk-app .gk-code-input:focus-visible { outline: 2px solid var(--gk-accent-deep); outline-offset: 2px; }
2366
+ .gk-app .gk-dialog-close { color: var(--gk-muted); }
2367
+ .gk-app .gk-dialog-close:hover { background: var(--gk-accent-soft); color: var(--gk-accent-deep); }
2368
+
2369
+ .gk-app :focus-visible {
2370
+ outline: 2px solid var(--gk-accent-deep);
2371
+ outline-offset: 3px;
2372
+ }
2373
+
2374
+ /* motion: page settle, sheet, status */
2375
+ @keyframes gk-sheet {
2376
+ from { opacity: 0; transform: translateY(-5px); }
2377
+ to { opacity: 1; transform: translateY(0); }
2378
+ }
2379
+ .gk-app .gk-header { animation: gk-settle 320ms cubic-bezier(.22,.61,.36,1) both; }
2380
+ .gk-app .gk-stage { animation: gk-settle 380ms 40ms cubic-bezier(.22,.61,.36,1) both; }
2381
+ @keyframes gk-settle {
2382
+ from { opacity: 0; transform: translateY(6px); }
2383
+ to { opacity: 1; transform: translateY(0); }
2384
+ }
2385
+ .gk-app .gk-theme,
2386
+ .gk-app .gk-tool,
2387
+ .gk-app .gk-btn,
2388
+ .gk-app .gk-icon-btn,
2389
+ .gk-app .gk-menu-row,
2390
+ .gk-app .gk-winrate,
2391
+ .gk-app .gk-mode-pill {
2392
+ transition-property: background-color, border-color, color, opacity, transform;
2393
+ transition-duration: 160ms;
2394
+ transition-timing-function: ease;
2395
+ }
2396
+
2397
+ /* narrow: seats become one row under the board */
2398
+ @container (max-width: 860px) {
2399
+ .gk-stage {
2400
+ grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
2401
+ grid-template-areas:
2402
+ "board board"
2403
+ "you opponent"
2404
+ "status status"
2405
+ "hint hint";
2406
+ row-gap: 8px;
2407
+ padding-top: 16px;
2408
+ }
2409
+ .gk-board-wrap { width: 100%; max-width: min(560px, 100%); }
2410
+ .gk-opponent-wrap { justify-self: end; align-self: start; padding-top: 2px; }
2411
+ .gk-you-wrap { justify-self: start; align-self: start; padding-top: 2px; }
2412
+ .gk-statusbar { margin-top: 4px; }
2413
+ }
2414
+
2415
+ @media (max-width: 900px) {
2416
+ .gk-header {
2417
+ display: grid;
2418
+ grid-template-columns: minmax(0, 1fr) auto;
2419
+ grid-template-areas:
2420
+ "brand themes"
2421
+ "toolbar toolbar";
2422
+ gap: 10px;
2423
+ }
2424
+ .gk-brand { grid-area: brand; }
2425
+ .gk-themes { grid-area: themes; justify-self: end; }
2426
+ .gk-toolbar {
2427
+ grid-area: toolbar;
2428
+ width: 100%;
2429
+ margin-left: 0;
2430
+ padding-top: 9px;
2431
+ border-top: 1px solid var(--gk-line);
2432
+ justify-content: flex-start;
2433
+ flex-wrap: wrap;
2434
+ row-gap: 4px;
2435
+ }
2436
+ }
2437
+
2438
+ @media (max-width: 620px) {
2439
+ .gk-app .gk-brand h1 { font-size: 22px; }
2440
+ .gk-app .gk-brand-sub { letter-spacing: 0.22em; }
2441
+ .gk-app .gk-avatar { width: 46px; height: 46px; }
2442
+ .gk-app .gk-opponent-wrap .gk-avatar { width: 60px; height: 60px; }
2443
+ .gk-app .gk-avatar-glyph { font-size: 18px; }
2444
+ .gk-app .gk-plus { width: 18px; height: 18px; }
2445
+ .gk-app .gk-tool { width: 36px; height: 36px; }
2446
+ .gk-app .gk-winrate { height: 30px; font-size: 11.5px; }
2447
+ .gk-app .gk-toolbar { gap: 1px; }
2448
+ .gk-app .gk-statusbar { font-size: 12px; flex-wrap: wrap; row-gap: 3px; }
2449
+ .gk-app .gk-hint-line { font-size: 11.5px; }
2450
+ }
2451
+
2452
+ @media (max-width: 440px) {
2453
+ .gk-app .gk-brand h1 { font-size: 20px; }
2454
+ .gk-app .gk-brand-mark { width: 28px; height: 28px; }
2455
+ .gk-app .gk-brand-mark svg { width: 26px; height: 26px; }
2456
+ .gk-app .gk-themes { gap: 7px; }
2457
+ .gk-app .gk-theme { width: 13px; height: 13px; }
2458
+ .gk-app .gk-winrate { padding-right: 2px; gap: 4px; }
2459
+ .gk-app .gk-toolbar-divider { display: none; }
2460
+ }
2461
+
2462
+ @media (prefers-reduced-motion: reduce) {
2463
+ .gk-app .gk-header,
2464
+ .gk-app .gk-stage { animation: none !important; }
2465
+ .gk-app .gk-toast,
2466
+ .gk-app .gk-menu,
2467
+ .gk-app .gk-dialog { transition: none !important; }
2468
+ }
2469
+
2470
+ /* stage should hug its content; no flex filler gap */
2471
+ .gk-app .gk-stage {
2472
+ flex: 0 0 auto;
2473
+ }
2474
+ .gk-app .gk-avatar,
2475
+ .gk-app .gk-board,
2476
+ .gk-app .gk-brand-sub,
2477
+ .gk-app .gk-player-label strong,
2478
+ .gk-app .gk-status-dot,
2479
+ .gk-app .gk-winrate-dot {
2480
+ transition: color 220ms ease, background-color 220ms ease, border-color 220ms ease;
2481
+ }
2482
+
2483
+ @container (max-width: 860px) {
2484
+ .gk-app .gk-stage {
2485
+ display: grid;
2486
+ }
2487
+ .gk-app .gk-you-wrap,
2488
+ .gk-app .gk-opponent-wrap {
2489
+ order: 0;
2490
+ margin: 0;
2491
+ }
2492
+ .gk-app .gk-statusbar,
2493
+ .gk-app .gk-hint-line {
2494
+ order: 0;
2495
+ }
2496
+ }
2497
+
2498
+ @media (max-width: 900px) {
2499
+ .gk-app .gk-stage {
2500
+ display: grid;
2501
+ grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
2502
+ grid-template-areas:
2503
+ "board board"
2504
+ "you opponent"
2505
+ "status status"
2506
+ "hint hint";
2507
+ row-gap: 8px;
2508
+ padding-top: 16px;
2509
+ }
2510
+ .gk-app .gk-you-wrap,
2511
+ .gk-app .gk-opponent-wrap {
2512
+ order: 0;
2513
+ margin: 0;
2514
+ padding-top: 2px;
2515
+ align-self: start;
2516
+ }
2517
+ .gk-app .gk-you-wrap { justify-self: start; }
2518
+ .gk-app .gk-opponent-wrap { justify-self: end; }
2519
+ .gk-app .gk-statusbar,
2520
+ .gk-app .gk-hint-line { order: 0; }
2521
+ }
2522
+
2523
+ .gk-app.is-panel-narrow .gk-stage {
2524
+ display: grid;
2525
+ grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
2526
+ grid-template-areas:
2527
+ "board board"
2528
+ "you opponent"
2529
+ "status status"
2530
+ "hint hint";
2531
+ row-gap: 8px;
2532
+ padding-top: 16px;
2533
+ }
2534
+ .gk-app.is-panel-narrow .gk-you-wrap,
2535
+ .gk-app.is-panel-narrow .gk-opponent-wrap {
2536
+ order: 0;
2537
+ margin: 0;
2538
+ padding-top: 2px;
2539
+ align-self: start;
2540
+ }
2541
+ .gk-app.is-panel-narrow .gk-you-wrap { justify-self: start; }
2542
+ .gk-app.is-panel-narrow .gk-opponent-wrap { justify-self: end; }
2543
+ .gk-app.is-panel-narrow .gk-statusbar,
2544
+ .gk-app.is-panel-narrow .gk-hint-line { order: 0; }
2545
+
2546
+ @media (prefers-reduced-motion: reduce) {
2547
+ .gk-app .gk-spinner {
2548
+ animation: gk-spin 1.8s linear infinite !important;
2549
+ animation-duration: 1.8s !important;
2550
+ animation-iteration-count: infinite !important;
2551
+ }
2552
+ }
2553
+
2554
+ /* theme swatch hit area: 24px button, 12px dot */
2555
+ .gk-app .gk-theme {
2556
+ position: relative;
2557
+ width: 24px;
2558
+ height: 24px;
2559
+ border: 0;
2560
+ border-radius: 50%;
2561
+ background: transparent;
2562
+ box-shadow: none;
2563
+ }
2564
+ .gk-app .gk-theme::before {
2565
+ content: "";
2566
+ position: absolute;
2567
+ inset: 6px;
2568
+ border: 1px solid rgba(42, 33, 24, 0.2);
2569
+ border-radius: 50%;
2570
+ }
2571
+ .gk-app .gk-theme.is-vermilion::before { background: #b23a1f; }
2572
+ .gk-app .gk-theme.is-pine::before { background: #2f6b57; }
2573
+ .gk-app .gk-theme.is-indigo::before { background: #3f5a8a; }
2574
+ .gk-app .gk-theme[aria-pressed="true"] {
2575
+ box-shadow: none;
2576
+ }
2577
+ .gk-app .gk-theme[aria-pressed="true"]::before {
2578
+ box-shadow: 0 0 0 2px var(--gk-paper), 0 0 0 3px var(--gk-ink);
2579
+ }
2580
+
2581
+ .gk-app .gk-dialog h2 {
2582
+ font-family: "Songti SC", "Noto Serif CJK SC", "Source Han Serif SC", SimSun, serif;
2583
+ font-size: 21px;
2584
+ font-weight: 600;
2585
+ letter-spacing: 0.04em;
2586
+ }
2587
+ .gk-app .gk-dialog p,
2588
+ .gk-app .gk-dialog-note {
2589
+ color: var(--gk-muted);
2590
+ font-size: 12px;
2591
+ line-height: 1.7;
2592
+ }
2593
+
2594
+ /* chips / secondary surfaces follow the theme */
2595
+ .gk-app .gk-sub { gap: 6px; padding: 2px 8px 9px 50px; }
2596
+ .gk-app .gk-chip {
2597
+ padding: 5px 10px;
2598
+ border: 1px solid var(--gk-line);
2599
+ border-radius: 3px;
2600
+ background: var(--gk-paper-2);
2601
+ background-image: none;
2602
+ color: var(--gk-accent-deep);
2603
+ box-shadow: none;
2604
+ font-size: 11.5px;
2605
+ }
2606
+ .gk-app .gk-chip:hover { background: var(--gk-accent-soft); border-color: var(--gk-accent); }
2607
+ .gk-app .gk-chip.is-active {
2608
+ border-color: var(--gk-accent-deep);
2609
+ background: var(--gk-accent-deep);
2610
+ background-image: none;
2611
+ color: #fffdf8;
2612
+ box-shadow: none;
2613
+ }
2614
+ .gk-app .gk-chip:focus-visible { outline-color: var(--gk-accent-deep); }
2615
+ .gk-app .gk-levels { border-top: 1px solid var(--gk-line); }
2616
+ .gk-app .gk-levels-label { color: var(--gk-muted); }
2617
+ .gk-app .gk-chip.is-mini { padding: 3px 8px; font-size: 10.5px; }
2618
+
2619
+ .gk-app .gk-dslog {
2620
+ border: 1px solid var(--gk-line);
2621
+ border-radius: 6px;
2622
+ background: var(--gk-paper-2);
2623
+ color: var(--gk-ink-soft);
2624
+ }
2625
+ .gk-app .gk-dslog-toggle { color: var(--gk-accent-deep); font-weight: 600; }
2626
+ .gk-app .gk-dslog-toggle:hover { color: var(--gk-accent); }
2627
+ .gk-app .gk-dslog-pre {
2628
+ border: 1px solid var(--gk-line);
2629
+ border-radius: 4px;
2630
+ background: var(--gk-paper);
2631
+ color: var(--gk-ink-soft);
2632
+ }
2633
+ .gk-app .gk-code-input[readonly] { background: var(--gk-paper-2); }
2634
+
2635
+ .gk-app .gk-reviewbar {
2636
+ border: 1px solid var(--gk-line);
2637
+ border-radius: 6px;
2638
+ background: rgba(251, 246, 236, 0.97);
2639
+ box-shadow: 0 8px 24px rgba(42, 33, 24, 0.1);
2640
+ }
2641
+ .gk-app .gk-review-step,
2642
+ .gk-app .gk-review-close {
2643
+ border-radius: 3px;
2644
+ border-color: var(--gk-line);
2645
+ background: var(--gk-paper-2);
2646
+ color: var(--gk-ink);
2647
+ }
2648
+ .gk-app .gk-review-step:hover,
2649
+ .gk-app .gk-review-close:hover { background: var(--gk-accent-soft); }
2650
+ .gk-app .gk-review-pos { color: var(--gk-ink-soft); }
2651
+
2652
+ .gk-app.is-fullscreen { background: var(--gk-paper); }
2653
+
2654
+ .gk-app .gk-statusbar { font-size: 13px; }
2655
+ .gk-app .gk-opponent.is-selected .gk-plus { display: none; }
2656
+
2657
+ @media (prefers-reduced-motion: reduce) {
2658
+ .gk-app .gk-menu,
2659
+ .gk-app .gk-dialog,
2660
+ .gk-app .gk-toast {
2661
+ animation: none !important;
2662
+ }
2663
+ }
2664
+
2665
+ .gk-app .gk-btn.is-primary {
2666
+ border-color: var(--gk-accent-deep);
2667
+ background: var(--gk-accent-deep);
2668
+ background-image: none;
2669
+ color: #fffdf8;
2670
+ box-shadow: none;
2671
+ }
2672
+ .gk-app .gk-btn.is-primary:hover { background: var(--gk-accent); border-color: var(--gk-accent); }
2673
+ .gk-app .gk-btn.is-danger { color: var(--gk-accent-deep); border-color: var(--gk-line); }
2674
+ .gk-app .gk-btn.is-danger:hover { background: var(--gk-accent-soft); border-color: var(--gk-accent); }
2675
+ .gk-app .gk-qr-slot {
2676
+ border: 1px solid var(--gk-line);
2677
+ border-radius: 6px;
2678
+ background: var(--gk-paper-2);
2679
+ background-image: none;
2680
+ }
2681
+
2682
+ /* seats: equal size, diagonal on wide screens, inline on narrow */
2683
+ .gk-app .gk-avatar,
2684
+ .gk-app .gk-avatar.is-you,
2685
+ .gk-app .gk-avatar.is-generic,
2686
+ .gk-app .gk-avatar.is-fish,
2687
+ .gk-app .gk-avatar.is-local,
2688
+ .gk-app .gk-avatar.is-lan {
2689
+ width: 74px !important;
2690
+ height: 74px !important;
2691
+ }
2692
+ @media (max-width: 900px) {
2693
+ .gk-app .gk-avatar,
2694
+ .gk-app .gk-avatar.is-you,
2695
+ .gk-app .gk-avatar.is-generic,
2696
+ .gk-app .gk-avatar.is-fish,
2697
+ .gk-app .gk-avatar.is-local,
2698
+ .gk-app .gk-avatar.is-lan { width: 64px !important; height: 64px !important; }
2699
+ }
2700
+ @media (max-width: 640px) {
2701
+ .gk-app .gk-avatar,
2702
+ .gk-app .gk-avatar.is-you,
2703
+ .gk-app .gk-avatar.is-generic,
2704
+ .gk-app .gk-avatar.is-fish,
2705
+ .gk-app .gk-avatar.is-local,
2706
+ .gk-app .gk-avatar.is-lan { width: 52px !important; height: 52px !important; }
2707
+ }
2708
+
2709
+ @media (min-width: 701px) {
2710
+ .gk-app .gk-stage,
2711
+ .gk-app.is-panel-narrow .gk-stage {
2712
+ display: block;
2713
+ position: relative;
2714
+ padding: 22px 0 8px;
2715
+ flex: 0 0 auto;
2716
+ }
2717
+ .gk-app .gk-board-wrap,
2718
+ .gk-app.is-panel-narrow .gk-board-wrap {
2719
+ width: 100%;
2720
+ max-width: none;
2721
+ margin: 0;
2722
+ display: flex;
2723
+ justify-content: center;
2724
+ }
2725
+ .gk-app .gk-board,
2726
+ .gk-app.is-panel-narrow .gk-board {
2727
+ max-width: min(560px, calc(100% - 180px));
2728
+ }
2729
+ .gk-app .gk-you-wrap,
2730
+ .gk-app.is-panel-narrow .gk-you-wrap {
2731
+ position: absolute;
2732
+ left: 0;
2733
+ bottom: 0;
2734
+ margin: 0;
2735
+ align-self: auto;
2736
+ justify-self: auto;
2737
+ }
2738
+ .gk-app .gk-opponent-wrap,
2739
+ .gk-app.is-panel-narrow .gk-opponent-wrap {
2740
+ position: absolute;
2741
+ right: 0;
2742
+ top: 0;
2743
+ margin: 0;
2744
+ align-self: auto;
2745
+ justify-self: auto;
2746
+ }
2747
+ .gk-app .gk-statusbar,
2748
+ .gk-app.is-panel-narrow .gk-statusbar {
2749
+ position: relative;
2750
+ margin: 14px auto 0;
2751
+ justify-content: center;
2752
+ }
2753
+ .gk-app .gk-hint-line,
2754
+ .gk-app.is-panel-narrow .gk-hint-line {
2755
+ margin: 6px auto 0;
2756
+ text-align: center;
2757
+ }
2758
+ }
2759
+
2760
+ @media (max-width: 700px) {
2761
+ .gk-app .gk-stage,
2762
+ .gk-app.is-panel-narrow .gk-stage,
2763
+ .gk-app.is-panel-tiny .gk-stage {
2764
+ display: grid;
2765
+ grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
2766
+ grid-template-areas:
2767
+ "board board"
2768
+ "you opponent"
2769
+ "status status"
2770
+ "hint hint";
2771
+ column-gap: 10px;
2772
+ row-gap: 4px;
2773
+ padding-top: 16px;
2774
+ }
2775
+ .gk-app .gk-board-wrap { grid-area: board; width: 100%; display: flex; justify-content: center; }
2776
+ .gk-app .gk-you-wrap { grid-area: you; position: static; align-self: start; justify-self: start; margin: 0; }
2777
+ .gk-app .gk-opponent-wrap { grid-area: opponent; position: static; align-self: start; justify-self: end; margin: 0; }
2778
+ .gk-app .gk-statusbar { grid-area: status; position: static; margin: 4px 0 0; justify-content: flex-start; }
2779
+ .gk-app .gk-hint-line { grid-area: hint; margin: 2px 0 0; text-align: left; }
2780
+ }
2781
+ /* ===== 算法设置弹层 ===== */
2782
+ .gk-algo-pop {
2783
+ position: absolute;
2784
+ top: 60px;
2785
+ right: 18px;
2786
+ z-index: 6;
2787
+ width: min(300px, calc(100% - 28px));
2788
+ padding: 12px 14px;
2789
+ border: 1px solid var(--gk-line);
2790
+ border-radius: 8px;
2791
+ background: var(--gk-paper);
2792
+ box-shadow: 0 10px 28px rgba(58, 40, 24, .14);
2793
+ }
2794
+ .gk-algo-pop[hidden] { display: none; }
2795
+ .gk-algo-title {
2796
+ margin-bottom: 8px;
2797
+ font-family: var(--gk-serif);
2798
+ font-size: 16px;
2799
+ color: var(--gk-ink);
2800
+ }
2801
+ .gk-algo-row {
2802
+ display: grid;
2803
+ grid-template-columns: 64px minmax(0, 1fr) 44px;
2804
+ align-items: center;
2805
+ gap: 8px;
2806
+ min-height: 30px;
2807
+ margin: 4px 0;
2808
+ font-size: 12px;
2809
+ color: var(--gk-ink-soft);
2810
+ }
2811
+ .gk-algo-row select {
2812
+ grid-column: 2 / 4;
2813
+ height: 28px;
2814
+ border: 1px solid var(--gk-line);
2815
+ border-radius: 4px;
2816
+ background: var(--gk-paper-2);
2817
+ color: var(--gk-ink);
2818
+ font: inherit;
2819
+ }
2820
+ .gk-algo-row input[type="range"] { width: 100%; accent-color: var(--gk-accent); }
2821
+ .gk-algo-row output { text-align: right; font-variant-numeric: tabular-nums; color: var(--gk-ink); }
2822
+ .gk-algo-pop .gk-btn { width: 100%; margin-top: 10px; }
2823
+ @media (max-width: 900px) {
2824
+ .gk-algo-pop { top: 104px; }
2825
+ }
2826
+ @media (max-width: 560px) {
2827
+ .gk-algo-pop { top: 128px; right: 8px; }
2828
+ }
2829
+
2830
+ /* ===== 算法设置 · 棋谱纸面板 ===== */
2831
+ .gk-app .gk-algo-pop {
2832
+ width: min(340px, calc(100% - 24px));
2833
+ padding: 16px 18px 14px;
2834
+ border-radius: 10px;
2835
+ background: var(--gk-paper);
2836
+ box-shadow: 0 18px 44px rgba(58, 40, 24, .18);
2837
+ }
2838
+ .gk-app .gk-algo-head {
2839
+ display: flex;
2840
+ align-items: baseline;
2841
+ justify-content: space-between;
2842
+ gap: 12px;
2843
+ padding-bottom: 10px;
2844
+ margin-bottom: 2px;
2845
+ border-bottom: 1px solid var(--gk-line);
2846
+ }
2847
+ .gk-app .gk-algo-title {
2848
+ font-family: var(--gk-serif);
2849
+ font-size: 18px;
2850
+ font-weight: 600;
2851
+ letter-spacing: .02em;
2852
+ }
2853
+ .gk-app .gk-algo-sub {
2854
+ font-size: 10.5px;
2855
+ color: var(--gk-muted);
2856
+ letter-spacing: .08em;
2857
+ white-space: nowrap;
2858
+ }
2859
+ .gk-app .gk-algo-seg {
2860
+ display: grid;
2861
+ grid-template-columns: repeat(4, minmax(0, 1fr));
2862
+ gap: 2px;
2863
+ margin: 0 0 10px;
2864
+ border-bottom: 1px solid var(--gk-line);
2865
+ }
2866
+ .gk-app .gk-algo-seg-btn {
2867
+ position: relative;
2868
+ appearance: none;
2869
+ border: 0;
2870
+ background: transparent;
2871
+ padding: 9px 2px 11px;
2872
+ color: var(--gk-muted);
2873
+ font: 12px/1.2 var(--gk-sans);
2874
+ cursor: pointer;
2875
+ transition: color .18s ease;
2876
+ }
2877
+ .gk-app .gk-algo-seg-btn::after {
2878
+ content: '';
2879
+ position: absolute;
2880
+ left: 50%;
2881
+ bottom: 0;
2882
+ width: 0;
2883
+ height: 2px;
2884
+ background: var(--gk-accent-deep);
2885
+ transform: translateX(-50%);
2886
+ transition: width .22s cubic-bezier(.2, .7, .2, 1);
2887
+ }
2888
+ .gk-app .gk-algo-seg-btn:hover { color: var(--gk-ink); }
2889
+ .gk-app .gk-algo-seg-btn:hover::after { width: 64%; }
2890
+ .gk-app .gk-algo-seg-btn.is-active { color: var(--gk-accent-deep); font-weight: 600; }
2891
+ .gk-app .gk-algo-seg-btn.is-active::after { width: calc(100% - 14px); }
2892
+ .gk-app .gk-algo-row {
2893
+ grid-template-columns: 62px minmax(0, 1fr) 62px;
2894
+ gap: 10px;
2895
+ min-height: 32px;
2896
+ margin: 5px 0;
2897
+ font-size: 11.5px;
2898
+ color: var(--gk-ink-soft);
2899
+ }
2900
+ .gk-app .gk-algo-row input[type="range"] { height: 18px; margin: 0; }
2901
+ .gk-app .gk-algo-row output {
2902
+ font-size: 10.5px;
2903
+ color: var(--gk-ink);
2904
+ white-space: nowrap;
2905
+ }
2906
+ .gk-app .gk-algo-note {
2907
+ margin: 8px 0 0;
2908
+ font-size: 10.5px;
2909
+ line-height: 1.6;
2910
+ color: var(--gk-muted);
2911
+ }
2912
+ .gk-app .gk-algo-pop .gk-btn { margin-top: 12px; }
2913
+
2914
+ /* ===== 无边框按钮:中线向两侧展开 ===== */
2915
+ .gk-app .gk-chip {
2916
+ position: relative;
2917
+ border: 0;
2918
+ border-radius: 0;
2919
+ background: transparent;
2920
+ padding: 7px 10px;
2921
+ color: var(--gk-ink-soft);
2922
+ }
2923
+ .gk-app .gk-chip::after {
2924
+ content: '';
2925
+ position: absolute;
2926
+ left: 50%;
2927
+ bottom: 2px;
2928
+ width: 0;
2929
+ height: 1.5px;
2930
+ background: currentColor;
2931
+ transform: translateX(-50%);
2932
+ transition: width .22s cubic-bezier(.2, .7, .2, 1);
2933
+ }
2934
+ .gk-app .gk-chip:hover { background: transparent; color: var(--gk-ink); border-color: transparent; }
2935
+ .gk-app .gk-chip:hover::after { width: calc(100% - 18px); }
2936
+ .gk-app .gk-chip.is-active {
2937
+ background: transparent;
2938
+ color: var(--gk-accent-deep);
2939
+ border-color: transparent;
2940
+ font-weight: 600;
2941
+ }
2942
+ .gk-app .gk-chip.is-active::after { width: calc(100% - 18px); }
2943
+
2944
+ .gk-app .gk-menu-name { position: relative; display: inline-block; }
2945
+ .gk-app .gk-menu-name::after {
2946
+ content: '';
2947
+ position: absolute;
2948
+ left: 50%;
2949
+ bottom: -3px;
2950
+ width: 0;
2951
+ height: 1px;
2952
+ background: currentColor;
2953
+ transform: translateX(-50%);
2954
+ transition: width .22s cubic-bezier(.2, .7, .2, 1);
2955
+ }
2956
+ .gk-app .gk-menu-row:hover .gk-menu-name::after { width: 100%; }
2957
+
2958
+ /* ===== 立即落子 ===== */
2959
+ .gk-app .gk-toast-stop {
2960
+ pointer-events: auto;
2961
+ margin-left: 8px;
2962
+ padding: 2px 3px;
2963
+ border: 0;
2964
+ border-bottom: 1px solid rgba(251, 246, 236, .55);
2965
+ background: transparent;
2966
+ color: var(--gk-paper);
2967
+ font: 11.5px/1.2 var(--gk-sans);
2968
+ cursor: pointer;
2969
+ }
2970
+ .gk-app .gk-toast-stop:hover { border-bottom-color: var(--gk-paper); }
2971
+
2972
+ /* ===== 算法图标 ===== */
2973
+ .gk-app .gk-avatar-glyph.is-icon { display: grid; place-items: center; color: var(--gk-accent-deep); }
2974
+ .gk-app .gk-avatar-glyph.is-icon svg { width: 26px; height: 26px; }
2975
+ .gk-app .gk-menu-thumb.is-algo { color: var(--gk-accent-deep); }
2976
+ .gk-app .gk-menu-thumb.is-algo svg { width: 18px; height: 18px; }
2977
+
2978
+ /* ===== 现代滑杆 ===== */
2979
+ .gk-app .gk-algo-row input[type="range"] {
2980
+ -webkit-appearance: none;
2981
+ appearance: none;
2982
+ width: 100%;
2983
+ height: 22px;
2984
+ margin: 0;
2985
+ background: transparent;
2986
+ cursor: pointer;
2987
+ --gk-fill: 50%;
2988
+ }
2989
+ .gk-app .gk-algo-row input[type="range"]::-webkit-slider-runnable-track {
2990
+ height: 4px;
2991
+ border-radius: 999px;
2992
+ background: linear-gradient(
2993
+ to right,
2994
+ var(--gk-accent) 0,
2995
+ var(--gk-accent) var(--gk-fill),
2996
+ var(--gk-line) var(--gk-fill),
2997
+ var(--gk-line) 100%
2998
+ );
2999
+ }
3000
+ .gk-app .gk-algo-row input[type="range"]::-webkit-slider-thumb {
3001
+ -webkit-appearance: none;
3002
+ appearance: none;
3003
+ width: 15px;
3004
+ height: 15px;
3005
+ margin-top: -5.5px;
3006
+ border-radius: 50%;
3007
+ border: 2px solid var(--gk-accent);
3008
+ background: var(--gk-paper);
3009
+ box-shadow: 0 1px 2px rgba(58, 40, 24, .16);
3010
+ transition: transform .16s ease, box-shadow .16s ease;
3011
+ }
3012
+ .gk-app .gk-algo-row input[type="range"]:hover::-webkit-slider-thumb {
3013
+ transform: scale(1.12);
3014
+ box-shadow: 0 2px 5px rgba(58, 40, 24, .2);
3015
+ }
3016
+ .gk-app .gk-algo-row input[type="range"]:active::-webkit-slider-thumb {
3017
+ transform: scale(1.02);
3018
+ }
3019
+ .gk-app .gk-algo-row input[type="range"]::-moz-range-track {
3020
+ height: 4px;
3021
+ border-radius: 999px;
3022
+ background: var(--gk-line);
3023
+ }
3024
+ .gk-app .gk-algo-row input[type="range"]::-moz-range-progress {
3025
+ height: 4px;
3026
+ border-radius: 999px;
3027
+ background: var(--gk-accent);
3028
+ }
3029
+ .gk-app .gk-algo-row input[type="range"]::-moz-range-thumb {
3030
+ width: 13px;
3031
+ height: 13px;
3032
+ border-radius: 50%;
3033
+ border: 2px solid var(--gk-accent);
3034
+ background: var(--gk-paper);
3035
+ box-shadow: 0 1px 2px rgba(58, 40, 24, .16);
3036
+ }
3037
+ .gk-app .gk-algo-row input[type="range"]:focus-visible {
3038
+ outline: 2px solid var(--gk-accent-deep);
3039
+ outline-offset: 3px;
3040
+ border-radius: 999px;
3041
+ }
3042
+ .gk-app .gk-algo-row output {
3043
+ font-variant-numeric: tabular-nums;
3044
+ letter-spacing: .01em;
3045
+ }
3046
+
3047
+ /* 预设难度固定参数:滑杆禁用并灰显 */
3048
+ .gk-app .gk-algo-row.is-locked > span,
3049
+ .gk-app .gk-algo-row.is-locked > output {
3050
+ color: var(--gk-muted);
3051
+ }
3052
+ .gk-app .gk-algo-row.is-locked input[type="range"] {
3053
+ opacity: .38;
3054
+ cursor: not-allowed;
3055
+ }
3056
+ .gk-app .gk-algo-pop .gk-btn[disabled] {
3057
+ opacity: .5;
3058
+ cursor: default;
3059
+ }